-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
As mentioned in #6, it would be a good idea to be able to override global check constants, like tappable area and contrast ratio.
For example, kGTXMinContrastRatioForAccessibleText is set to 3.0. In Apple's guidelines, it is recommended to maintain a minimum contrast ratio of 4.5:1. In the WCAG rules for contrast, a ratio of 4.5:1 must be maintained for all text except for sufficiently large text or logos.
If it was possible to override these constants to fit your need, the library would be more flexible. It also calls into question how large text should be handled, as different ratios may be required.
Different WCAG levels also require different ratios, so this may be yet-another level of configuration we could support.
mattmoncur
Metadata
Metadata
Assignees
Labels
No labels