w3c / wcag

Web Content Accessibility Guidelines
https://w3c.github.io/wcag/guidelines/22/
Other
1.14k stars 256 forks source link

Documentation Update | Add "column" for pass/fails in documentation - Non text contrast #3987

Closed Gcamara14 closed 3 months ago

Gcamara14 commented 4 months ago

Problem:

Solution:

Benefits:

Example:

Image:

Screenshot of the non-text contrast WCAG requirement. The data tables convey examples such as link text example, but does not convey whether it passes or fails.

URL:

fstrr commented 4 months ago

We have a pull request that is waiting for approval that does something similar to what you're asking for. There's a demo page (not with the current design) where:

  1. We've split passing and failing examples into two tables.
  2. We've re-written the contents of the figcaption elements so they all start with "pass" or "fail".

Hopefully that's what you're looking for.