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

Authoring practices for supporting media query prefers-contrast: more #3062

Open
jongund opened this issue Jul 23, 2024 · 1 comment
Open
Labels
question Issue asking a question

Comments

@jongund
Copy link
Contributor

jongund commented Jul 23, 2024

Most desktop and mobile operating systems have an accessibility feature for users to set a more contrast accessibility preference. When this preference is set, browsers set the prefers-contrast media query to more.

  1. When users prefer more contrast, what should authors do to respect that preference?
  2. Which WCAG requirements apply to this user preference? For example, when this preference is selected should web pages support Success Criterion 1.4.6 Contrast (Enhanced).

Related to #2991.

@jongund jongund changed the title Accessibility Bbest practices for supportingprefers-contrast: more media query Accessibility Bbest practices for supporting prefers-contrast: more media query Jul 23, 2024
@jongund jongund changed the title Accessibility Bbest practices for supporting prefers-contrast: more media query Accessibility best practices for supporting prefers-contrast: more media query Jul 23, 2024
@jongund jongund changed the title Accessibility best practices for supporting prefers-contrast: more media query Authoring best practices for supporting prefers-contrast: more media query Jul 23, 2024
@mcking65 mcking65 changed the title Authoring best practices for supporting prefers-contrast: more media query Authoring practices for supporting media query prefers-contrast: more Jul 30, 2024
@mcking65 mcking65 added the question Issue asking a question label Jul 30, 2024
@mcking65
Copy link
Contributor

@cookiecrook @scottaohara

Are you aware of any sites that use the prefers-contrast media query? macOS and Windows both have formulaic ways of responding to the corresponding accessibility setting in the OS. Do you know how the additional contrast is calculated? Could/should web pages attempt to mimic the OS behavior?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Issue asking a question
Projects
None yet
Development

No branches or pull requests

2 participants