Replies: 2 comments
-
Much of this extends to the entirety of vuetify, btw, there are many, many places where built-in opacity or use of different shades of grey make vuetify applications non-compliant to WCAG requirements. |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can override opacity using SASS Variables |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
By default, when elements such as checkboxes and buttons get focus, they either get a shade around them, or their color changes to a lighter version. Even if the contrast of the element itself is well above the minimum, the contrast of this focus indicator is not (around 1.3-1.5, depending on original color).
In order to comply to WCAG requirements, I need the contrast for focus indicators to be at least 3.0. I have been adding red borders on focus to some elements, but there are many issues with this approach.
Is there any way to override the 'focus color/opacity' in a wider context? (like, say, as a theme color option)
Examples from the documentation itself:
etc
Beta Was this translation helpful? Give feedback.
All reactions