-
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
Rating - Ensure parts of graphical objects essential for understanding content have sufficient contrast - (2036570022) #7798
Comments
For design consideration, should we accommodate color contrast with |
Thanks, @geospatialem. Would like to explore a potential change to the yellow star color displayed for the |
Following the design exploration, we decided to update the global warning color used in the Rating component. The Warning token color has been adjusted, providing sufficient contrast with the Rating component. Link fo Figma: We're aware that this is a global change hence we identified two potential risks associated with this change: We looked at the components that are using the Warning color and found that there’s no immediate issues. We also ran a few visual impairment contrast tests between the same components using the new warning color and the danger color and found that there’s no issues as well. |
@geospatialem @SkyeSeitz @jacqueskeet Can we create a separate issue for the design improvements (e.g., read-only support, global warning color tweak)? This was originally scoped to the contrast of the existing design. Alternatively, we could repurpose this issue to focus on the improvements and add the a11y requirements to the acceptance criteria if that’s preferable. |
Good thought, Franco. Since a design re-work is needed in order to address the a11y issue, I would be in favor of repurposing this issue with a11y requirements to the acceptance criteria. |
Violation:
Ensure parts of graphical objects essential for understanding content have sufficient contrast
WCAG Reference:
Severity:
5
Media Type:
Color and Contrast
Areas for Remediation:
Issue
There are graphical objects with a color contrast ratio below 3.00:1.
Foreground: #EDD317
Background: #F8F8F8
Contrast ratio: 1.4:1
Examples include:
User Impact
Users with low vision will have difficulty identifying this content.
Code Reference
Suggestion
Ensure parts of graphical objects essential for understanding content have sufficient contrast. The required minimum contrast ratio is 3.00:1.
Common examples of qualifying objects include lines in a chart, meaningful icons, and annotations within an image.
Graphics that require particular presentation to preserve their meaning are exempt from this requirement.
To evaluate color contrast, see the Accessible Color Picker extension: https://www.accessibility.dev/
Additional Resources:
The text was updated successfully, but these errors were encountered: