bug(typography): body-medium and body-small line heights are not accessible
- Lingua principale
- TypeScript
- Stelle
- 25k
- Fork
- 6.8k
- Merge medio
- 1g 8h
- PR unite (30g)
- 91
Descrizione
### Is this a regression?
- [ ] Yes, this behavior used to work in the previous version
### The previous version in which this bug was not present was
_No response_
### Description
To meet criterion 1.4.12 of WCAG 2.1 https://www.w3.org/WAI/WCAG21/Understanding/text-spacing.html body-medium and body-small type should have higher line heights
Current body-medium line height: 20px
Accessible body-medium line height for the same font size: 22px
Current body-small line height: 16px
Accessible body-small line height for the same font size: 18px
### Expected Behavior
Accessible line heights for default typography
### Actual Behavior
Inaccessible line heights for body-medium and body-small typography
### Environment
- Angular: 18
- Material: 3
- Browser(s): Any
- Operating System (e.g. Windows, macOS, Ubuntu): Any
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Non sono indicati file né test. Cerca body-medium e body-small nelle definizioni tipografiche predefinite, quindi verifica come sono impostate attualmente le rispettive altezze di riga. Il lavoro è completato quando body-medium usa 22px e body-small usa 18px e i controlli tipografici pertinenti hanno esito positivo.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- angular, typescript
- Ambito
- accessibility, frontend
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100