You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 17, 2026. It is now read-only.
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.
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,
kGTXMinContrastRatioForAccessibleTextis 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.