-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
a11y(buttons): Low contrast on focused buttons #1769
Labels
Accessibility
This issue is related to accessibility (a11y)
Comments
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Nov 20, 2016
a11y improvements to the following components in high contrast mode: * `button` - Adds an outline since only the text was visible. Also inverts the tint since it was hiding the text. * `card`, `dialog`, `menu`, `snack-bar`, `tooltip` - Adds an outline. * `select` - Adds an outline and prevents the ripple from hiding the option text. * `sidenav` - Fixes the backdrop not being opaque. * `slide-toggle` - Fixes component blending in completely with the background. Fixes angular#421. Fixes angular#1769.
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Dec 1, 2016
a11y improvements to the following components in high contrast mode: * `button` - Adds an outline since only the text was visible. Also inverts the tint since it was hiding the text. * `card`, `dialog`, `menu`, `snack-bar`, `tooltip` - Adds an outline. * `select` - Adds an outline and prevents the ripple from hiding the option text. * `sidenav` - Fixes the backdrop not being opaque. * `slide-toggle` - Fixes component blending in completely with the background. Fixes angular#421. Fixes angular#1769.
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Dec 2, 2016
a11y improvements to the following components in high contrast mode: * `button` - Adds an outline since only the text was visible. Also inverts the tint since it was hiding the text. * `card`, `dialog`, `menu`, `snack-bar`, `tooltip` - Adds an outline. * `select` - Adds an outline and prevents the ripple from hiding the option text. * `sidenav` - Fixes the backdrop not being opaque. * `slide-toggle` - Fixes component blending in completely with the background. Fixes angular#421. Fixes angular#1769.
mmalerba
pushed a commit
that referenced
this issue
Dec 5, 2016
* fix: improved accessibility in high contrast mode a11y improvements to the following components in high contrast mode: * `button` - Adds an outline since only the text was visible. Also inverts the tint since it was hiding the text. * `card`, `dialog`, `menu`, `snack-bar`, `tooltip` - Adds an outline. * `select` - Adds an outline and prevents the ripple from hiding the option text. * `sidenav` - Fixes the backdrop not being opaque. * `slide-toggle` - Fixes component blending in completely with the background. Fixes #421. Fixes #1769. * Replace the "border" instances with "outline". * Move the overlay coloring to the button theme. * Move the overlay color back to the button base styles.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug, feature request, or proposal:
Bug
What is the expected behavior?
The buttons should have sufficient color contrast, both in regular mode and in high contrast mode.
What is the current behavior?
Currently, the button focus indication is a tint with 12% opacity, which is barely visible in regular mode and is completely invisible in high contrast mode. This makes it difficult to see whether a button has been focused.
CC @jelbourn
The text was updated successfully, but these errors were encountered: