-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Rustdoc fails contrast check for a certain element. #151422
Copy link
Copy link
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.
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.
Type
Fields
Give feedbackNo fields configured for issues without a type.
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
ayutheme 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: