-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Don't clamp low contrast values to 0
Is this about a tool (you're an end user) or about a code library (you're a developer)?
This is about a tool that I maintain for other people's code libraries.
Does this relate to a problem with using a tool or implementing code? Or is this something that would help expand use and application?.
This feature request pertains tho the flexibility my tool provides its end users, which provides a paradigm shift in the color generation process to be focused on targeting contrast values.
How do you think it would be best implemented?
Recommend to remove clamping that reduces any low-contrast value to 0 (ie, values less than 7.5 appear to just drop to 0).
Have you considered other alternatives?
Alternatives don't really make sense when the objective would be to extend APCA contrast values into the lower-end values. I would like to rely on a single formula for calculating contrast across-the-board.
Additional context
Why would we not want to clamp those values to 0? While I can understand the basis for APCA is primarily for text legibility, what it offers is much broader than that alone. Text at an APCA contrast of 4 may be completely impercievable, but that degree of contrast may be very desirable for something like a subtle background (such as the various shades of gray you see on this github page).
In terms of my specific use case, the tool I maintain provides a mechanism for web appilcations to offer end-users personalization of color including the ability to increase or decrease contrast of the entire user interface. This objective aligns with future ideals for inclusivity in design; where we can acknowledge that no sighted user will see an interface in exactly the same way. However it is not only text that needs contrast adjustments; all elements of the interface may need uniform adjustment based on individual user needs, environmental settings, etc.
How would this feature effect the future standard? I don't believe this has any impact. Clamping low-contrast-values to 0 reduces the amount of measurable colors a designer can use. Having guidelines that specify exact contrast value minimums already takes care of any issue of "what can/can't be seen" regarding text. This feature would not take anything away from the purpose and obectives of APCA / WCAG contrast calculations and guidelines, but it would offer better functionality support and flexibility for designers and developers using it.