Skip to content
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

Table caption, table headers, term definitions are almost unreadable in dark mode #2429

Closed
patrickhlauke opened this issue Feb 8, 2025 · 1 comment
Labels
editorial a change to an example, note, spelling, grammar, or is related to publishing or the repo

Comments

@patrickhlauke
Copy link
Member

patrickhlauke commented Feb 8, 2025

Describe the change

When switching to dark mode, <th> table headers are styled to use gray (#dddddd) on an off-white background (#eeeeee), making them practically unreadable (1.2:1 contrast ratio). While not as dramatic, the <caption> that precedes the tables uses gray (#555555) on black (#000000), which is also far from ideal (2.8:1 contrast ratio)

screenshot of the 'characteristics' table for the alert role

Also just spotted: term definition links use green text (#006400) which on black also has insufficient contrast (2.8:1).

screenshot of a sentence with a term definition in green on black

Link to the version of the specification or documentation you were looking at

Link to documentation: https://w3c.github.io/aria/

Does the issue exists in the editors draft (the editors draft is the most recent draft of the specification)?

Yes

@patrickhlauke patrickhlauke added the editorial a change to an example, note, spelling, grammar, or is related to publishing or the repo label Feb 8, 2025
@patrickhlauke patrickhlauke changed the title Table caption and headers are almost unreadable in dark mode Table caption, table headers, term definitions are almost unreadable in dark mode Feb 8, 2025
@pkra
Copy link
Member

pkra commented Feb 8, 2025

Duplicate of #2397, #2398, #2400 etc.

Will be fixed via #2410

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editorial a change to an example, note, spelling, grammar, or is related to publishing or the repo
Projects
None yet
Development

No branches or pull requests

2 participants