-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Closed
Labels
A-a11yArea: Anything to do with accessibilityArea: Anything to do with accessibilityA-rustdoc-uiArea: Rustdoc UI (generated HTML)Area: Rustdoc UI (generated HTML)C-bugCategory: This is a bug.Category: This is a bug.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.T-rustdoc-frontendRelevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.
Description
Issue Synopsis
The Since <version> at the start of the docs page has a contrast ratio of 3.1:1 with the background on the dark theme, which fails both AA and AAA specifications for WCAG 2.
The colors for the ayu theme pass WCAG Level AA, but fail Level AAA with a contrast ratio of 4.69:1. The light theme fails both AA and AAA specifications with a contrast ratio of 3.94:1.
Useful Links:
- WCAG Contrast Guidelines: https://www.w3.org/TR/WCAG22/#contrast-minimum
- WebAIM Contrast checker: https://webaim.org/resources/contrastchecker/
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-a11yArea: Anything to do with accessibilityArea: Anything to do with accessibilityA-rustdoc-uiArea: Rustdoc UI (generated HTML)Area: Rustdoc UI (generated HTML)C-bugCategory: This is a bug.Category: This is a bug.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.T-rustdoc-frontendRelevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.