WCAG 3 APCA Lc contrast calculations
- Dominant language
- JavaScript
- Stars
- 2.1k
- Forks
- 130
- PR merge metrics
- No merged PRs in 30d
Description
## Description
As the method of calculating contrast that is referenced in WCAG 2 has shown to not be very good at telling us contrast information that would be real world applicable, it would be helpful to get APCA Lc calculations included in the same tools.
## Why do you need this feature?
My organisations need to (legally) follow the guidelines in WCAG 2.x, but we would also like to have contrasts that are actually readable. We would like to also see APCA-calculations, as it is likely that WCAG 3 will in 3-4 years be the legally required standard. We also know that (even if the algorithm is in beta) APCA-calculations is probably the best option we have to try to to make colour combinations that do not exclude.
## Additional context
* Nice to have the option to decide what font size and weight the foreground colours should be calculated for, and make 16px 400/normal be the default.
* Nice to have the contrast calculation in a colour-system grid, pairing all colours in a system against each other
Contributor guide
Research direction
Start by reviewing the existing contrast-calculation tools and the colour-system grid entry points. Determine how APCA Lc would fit alongside the current WCAG 2.x calculation, including font size and weight inputs with 16px normal as the default. Done means APCA results are available and colour combinations can be compared across the system grid.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- accessibility, design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100