Click targets are too small for some controls
Offen
Accessibility
area: many
P3
target: major
- Vorherrschende Sprache
- TypeScript
- Sterne
- 25k
- Forks
- 6.8k
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 91
Beschreibung
Material Design spec says that all touch targets much be at least 48x48.
mat-checkbox, mat-radio-button, and mat-slide-toggle are only 20x20 (with no label). The slider thumb is also too small.
Adding a padding to the `` element within the template would resolve this (while keeping the visuals unchanged), but would be a major breaking change for people's layouts. We need to explore a non-breaking migration path for this.
This issue is not open for PRs until we have a clear migration strategy. Other components may be too small as well and will need to be audited.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.