-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug][a11y]: SideNav: State of active SideNavItem lacks 3 to 1 contrast ratio. #3350
Comments
@pfulton this is scheduled for Core Tokens at some point, right? |
@Westbrook Yes! @jenndiaz has it in progress right now. |
I did reach out to design about this while working on the migration of the SideNav component. As of now it is a know issue that they have intentionally not addressed yet. Here is the full response. |
@jenndiaz Could you make an issue for this in Spectrum CSS so it can be tracked over there? Also, could you re-link the full response? That link doesn't seem to work. |
@najikahalsema I apologize, you all are not in the channel with the thread where design explained this. Here is a quoted copy of it.
|
@najikahalsema to check the status of the progress! |
This is still an issue that needs to be addressed in S2, so we can keep this issue open... |
Code of conduct
Impacted component(s)
SideNav, SideNavItem
Expected behavior
The selected SideNavItem color MUST have at least a 3 to 1 luminosity contrast ratio with either the inner or outer adjacent background.
Actual behavior
The selected SideNavItem color does not have at least a 3 to 1 luminosity contrast ratio with either the inner or outer adjacent background.
Color and contrast ratio details:
Selected state color: #EEEEEE
Adjacent background color: #FAFAFA
The contrast ratio is: 1.1:1
This is a failure of WCAG Success Criteria: 1.4.11 Non-text Contrast (Level AA) – WCAG 2.1
WCAG Understanding document: https://www.w3.org/WAI/WCAG21/Understanding/non-text-contrast
Screenshots
What browsers are you seeing the problem in?
No response
How can we reproduce this issue?
Sample code that illustrates the problem
No response
Logs taken while reproducing problem
No response
The text was updated successfully, but these errors were encountered: