-
Notifications
You must be signed in to change notification settings - Fork 78
Switch: contrast of disabled switch label is not enough #684
Comments
Thank you for reporting this, @ursula-wieshofer. This seems like a valid request. |
@ursula-wieshofer Did you check the other input types here as well? At first glance there seem to be a couple that suffer that issue: Form field placeholders and hints: There would be automatic contrast checks in our a11y tests, but we have disabled most of them right now, as they would crash the builds of our design system. If this is something we want to tackle soon, we can go over the violations offline. |
@tomheller imho I think we should change the fonts for all these components. Thx very much for bringing this up ;) |
I'm fixing the radio, checkbox and switch labels within the #702. |
…rast color now. Due to low contrast ratios on between disabled labels on the radio, checkbox and switch we decided in dynatrace-oss#684 to use the default text color for the labels. This results in a higher contrast ratio between the label and the background, which improves readability. Fixes dynatrace-oss#684
Bug Report
Expected Behavior
When a switch is disabled, the switch itself should change the color, but not the text/ label next to the switch, as users should still be able to read this. With the current text color we don't meet our accessibility standards ;)
Possible Solution
Best solution would be to disable the switch but not the text / label. The label should be visible in our standard font color.
The text was updated successfully, but these errors were encountered: