Skip to content

Requirements: Non-text Contrast #270

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

Open
alastc opened this issue Jan 27, 2025 · 1 comment
Open

Requirements: Non-text Contrast #270

alastc opened this issue Jan 27, 2025 · 1 comment

Comments

@alastc
Copy link
Contributor

alastc commented Jan 27, 2025

Guideline: Users have content that does not rely on a single sense or perception

Requirements:

  • Icons or shapes which convey meaning provide contrast with adjacent areas.
  • Indicators that controls are interactive have contrast.
  • Indicators of focus, active, and selected states provide contrast.
  • Contrasting lines to delineate areas, including gaps that show background color.
  • Lines in diagrams and charts provide a minimum thickness
  • Using patterns to differentiate as well as color
  • Associated labels by location (i.e. next to the item being labeled).
  • Associated labels by using an active legend (e.g. focus/hover on a label and it highlights the thing being labeled).
  • Provide an alternative format (e.g. providing a text or tabular alternative).

Supplemental:

  • Ensure all graphics which convey meaning have contrast, even if there is associated text (intersectional low-vis/coga need);
  • Ensuring that interactive items with a background color or border have a contrasting background/border (could be user-agent or authored styles).
  • Customizability of color scheme for diagrams/illustrations.

Links:

@Myndex
Copy link
Member

Myndex commented Mar 9, 2025

More than any other use case, the spatial characteristics of graphics directly drives contrast needs. The minimum contrast needed for a given element is dependent on it's size or thickness.

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

No branches or pull requests

2 participants