-
Notifications
You must be signed in to change notification settings - Fork 77
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
A11y: Global Styles - Light Mode Warning Yellow not hitting contrast ratio standard #3145
Comments
More information is required to proceed with this issue:
This issue will be automatically closed in three days if the information is not provided. Thanks for your understanding. |
This came up in a previous issue and because the icon / accent bar color is purely decorative - and the text content itself should convey severity - it was deemed non-actionable: #994 (comment) I'll leave this issue open if others want to chime in here. |
@macandcheese Gotcha! I'm wondering tho, if an icon isn't unimportant enough to not be legible for some users, should we be using the icon at all? It feels like it's not just an accessibility issue, the globe icons in the chips are barely legible to me and I don't have any visual impairments. It seems to me like we should reassess, since it's the only global style we have in the set. |
Yeah, maybe we could look at adjusting the yellow value (although, if the result of that is a brown-yellow, folks will likely just override it). As far as using the icon - it's already opt-in / user-overridable so it is ultimately up to the implementing design team.
What do you mean by this? |
@macandcheese Must have lost a word in editing should be "since it's the only inaccessible global style." |
Discussing it with @mitc7862 and other members of the design team, we got a lot of consensus around this direction - maintaining the yellow color theme, while keeping the warning icon as the default gray to ensure legibility - icons that are emphasizing messaging need to hit at least a 3:1 contrast ratio. Hopefully this strategy can banish the gold/brown direction for all time |
Per conversation with @rmstinson and @mitc7862 - design work / proposal to follow. |
@macandcheese Any update on the design work/proposal? |
@jcfranco not yet - needs to be done in coordination with the dark theme update to ensure any new colors work then. This should be pre v1 for sure but no immediate work has been done. |
Yeah I agree, they should be together. I think we should freeze this one and add it to the v1 priorities project. |
With the above, we believe to be adhering to the a11y success criterion. @SkyeSeitz and @ashetland verified Figma documentation provides guidance for designers. Additional research will be conducted to determine if additional documentation is needed to ensure devs do not rely on color alone, and provide additional supporting text content. |
Removing the design label as research has been conducted previously. |
@geospatialem Aaron and I were wondering if this issue is good to be closed or if something else is needed? |
@yelenakreyndel Yes, didn't comment on this sooner, but I assigned myself to determine if the documentation site needs to be modified to ensure we mention color should not be the only means to convey information on our site. Reassigned to the April milestone to tackle. |
Added a section to the the accessibility page on color considerations, anticipated in next Wednesday's doc release on Wed May 10. |
Installed and assigned for verification. |
Verified on |
Light mode warning yellow doesn't hit contrast ratio standards on a white background. Dark mode warning yellow is fine as long as it's on the prescribed background colors.
Recommend we use the dark yellow
#7D7227
we use for headlines and links on the homepage as part of the out-of-the-box yellow theme option. It's kind of ugly but it's as close to yellow as we can get without it being completely brown:Thoughts?
The text was updated successfully, but these errors were encountered: