w3c / aria-practices

WAI-ARIA Authoring Practices Guide (APG)
https://www.w3.org/wai/aria/apg/
Other
1.2k stars 334 forks source link

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

Open jongund opened 2 months ago

jongund commented 2 months ago

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.

mcking65 commented 1 month ago

@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?