angular / angular/components

Accessibility issue (Mat Checkbox and Mat Slider): Ripple around checkbox or slider is not meeting sufficient color contrast ratio of 3:1 for WCAG AA compliance

Aperta
#27,755 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Accessibility area: material/checkbox area: material/slide-toggle
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

- Ripple around the Mat Checkbox and Mat Slider are not reaching the WCAG Non text contrast ratio of 3:1.
- Since the ratio is not met application is in a non complaint state for the mentioned components (Slider and Checkbox)

### Reproduction

StackBlitz link: https://stackblitz.com/edit/components-issue-cwzzkd
Steps to reproduce:
1. Open Stack Blitz url above
2. On the Preview the Mat Slider and Mat Checkbox are provided
3. Select Mat Slider to toggle
4. The Ripple around the round slider color is not meeting the non text contrast ratio for WCAG AA compliance (3:1)
5. Similarly the Ripple around the Checkbox after selecting is not meeting the non text contrast ration for WCAG AA compliance (3:1)

### Expected Behavior

1. Both the Mat Slider and Mat Checkbox ripple color need to meet the non text contrast ratio (3:1) to be compliant since it is effecting Accessibility users.

### Actual Behavior

1. Both the Mat Slider and Mat Checkbox ripple color are not meeting the non text contrast ratio (3:1).

### Environment

- Angular:
- CDK/Material:
- Browser(s):
- Operating System (e.g. Windows, macOS, Ubuntu):

Any help will take our application be more compliant for ADA and Accessibility

Thanks,
Venkat P.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia con la riproduzione StackBlitz collegata e analizza lo stile dei ripple di Mat Checkbox e Mat Slider. Conferma la correzione verificando che ogni ripple soddisfi il rapporto di contrasto WCAG AA indicato di 3:1 per i contenuti non testuali in entrambi i componenti.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
angular, typescript
Ambito
accessibility, frontend
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.