angular / angular/components

Click targets are too small for some controls

Aperta
#8,000 6 commenti 0 reazioni 1 assegnatario Rivendicata da @zarend Vedi su GitHub
Accessibility area: many P3 target: major
Lingua principale
TypeScript
Stelle
25k
Fork
6.8k
Merge medio
1g 8h
PR unite (30g)
91

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.