-
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
bug(material-experimental/mdc-button): should have 48px touch target at default density level #22799
Labels
Comments
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
May 31, 2021
Adds some styles to ensure that the MDC-based button always has a touch target of at least 48px. Note that I decided against using MDC's built-in touch target class, because it would've added a margin on the button host node. Fixes angular#22799.
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Jun 2, 2021
Adds some styles to ensure that the MDC-based button always has a touch target of at least 48px. Note that I decided against using MDC's built-in touch target class, because it would've added a margin on the button host node. Fixes angular#22799.
andrewseguin
pushed a commit
that referenced
this issue
Jun 7, 2021
Adds some styles to ensure that the MDC-based button always has a touch target of at least 48px. Note that I decided against using MDC's built-in touch target class, because it would've added a margin on the button host node. Fixes #22799.
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Jun 9, 2021
This is a reimplementation of angular#22846 which includes a fix for RTL layouts. Adds some styles to ensure that the MDC-based button always has a touch target of at least 48px. Note that I decided against using MDC's built-in touch target class, because it would've added a margin on the button host node. Fixes angular#22799.
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Jun 9, 2021
This is a reimplementation of angular#22846 which includes a fix for RTL layouts. Adds some styles to ensure that the MDC-based button always has a touch target of at least 48px. Note that I decided against using MDC's built-in touch target class, because it would've added a margin on the button host node. Fixes angular#22799.
wagnermaciel
pushed a commit
that referenced
this issue
Jun 14, 2021
This is a reimplementation of #22846 which includes a fix for RTL layouts. Adds some styles to ensure that the MDC-based button always has a touch target of at least 48px. Note that I decided against using MDC's built-in touch target class, because it would've added a margin on the button host node. Fixes #22799.
wagnermaciel
pushed a commit
that referenced
this issue
Jun 14, 2021
This is a reimplementation of #22846 which includes a fix for RTL layouts. Adds some styles to ensure that the MDC-based button always has a touch target of at least 48px. Note that I decided against using MDC's built-in touch target class, because it would've added a margin on the button host node. Fixes #22799. (cherry picked from commit 3284496)
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.
Labels
Not all button variants currently meet this requirement. We should be able to add the
mdc-button--touch
class to achieve this: https://github.com/material-components/material-components-web/tree/master/packages/mdc-button#making-buttons-accessibleWe should do this sooner rather than later, as it will only become more difficult to land over time.
The text was updated successfully, but these errors were encountered: