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
- Lenguaje dominante
- TypeScript
- Estrellas
- 25k
- Forks
- 6.8k
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 91
Descripción
### 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.
Guía de contribución
Línea de trabajo
Comienza con la reproducción enlazada de StackBlitz e inspecciona los estilos de ripple de Mat Checkbox y Mat Slider. Confirma la corrección comprobando que cada ripple cumple la relación de contraste WCAG AA indicada de 3:1 para contenido no textual en ambos componentes.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- angular, typescript
- Área
- accessibility, frontend
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100