WCAG 2.1: Buttons' inner background color has insufficient contrast against its adjacent background
See original GitHub issueDescribe the bug
Related to WCAG SC 1.4.11: Non-text Contrast
For active controls such as buttons and form fields: any visual information provided that is necessary for a user to identify that a control is present and how to operate it must have a minimum 3:1 contrast ratio with the adjacent colors
To Reproduce Steps to reproduce the behavior:
- Run assessment on any page
- Open details view and start an assessment
- Open the target page
- Navigate to a new URL in the same tab
- Run assessment once again
- A dialog ‘Assessment in progress’ shows up in details view window
- Observe both the
Continue previous
andStart new
buttons have a background color that isn’t having enough contrast with the adjacent background
Expected behavior
The contrast ratio between the buttons’ background and the adjacent background should be at least 3:1
Screenshots
Extension
- Accessibility Insights for Web - prod
- Browser Version: Chrome 75.0.3770.80
- Target Page: Any page
Did you search for similar existing issues?
Yes - #761
Issue Analytics
- State:
- Created 4 years ago
- Comments:19 (13 by maintainers)
Top Results From Across the Web
Understanding Success Criterion 1.4.11: Non-text Contrast | WAI
Figure 3 The contrast of the input background (white) and color adjacent to the control (dark blue #003366) is sufficient. There is also...
Read more >Getting WCAG color contrast right - UX Collective
It is also not required that a background or outline meets any contrast ratio, as long as there is a text (e.g. button...
Read more >Insufficient Color Contrast - Equalize Digital
Color contrast is important for all users. Without enough contrast between the foreground and background colors, users may find it difficult to read...
Read more >Exploring WCAG 2.1 — 1.4.11 Non-text Contrast - Knowbility
The visual presentation of the following have a contrast ratio of at least 3:1 against adjacent color(s):. User Interface Components: Visual ...
Read more >Text elements must have sufficient color contrast against the ...
Ensure all text elements have sufficient color contrast between the text in the foreground and background color behind it. Success Criterion: Ensure color ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
from the figma file, the border color is #666666 should be fine.
@ferBonnin Yes, this issue has been fixed