bug(material/chips): Chips should have larger touch targets
- 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
Even though icon button defaults to 40px, the touch target is still 48px from here: https://gith
ub.com/angular/components/blob/main/src/material/button/_button-base.scss#L126.
Chips has interactive icons buttons or the chip itself is interactive, it should also have a touch target of at least 48x48px to be more accessible
### Reproduction
https://material.angular.io/components/chips/examples
### Expected Behavior
Touch targets of at least 48x48px
### Actual Behavior
Smaller touch targets than 48x48px
### Environment
- Angular:
- CDK/Material:
- Browser(s):
- Operating System (e.g. Windows, macOS, Ubuntu):
Guía de contribución
Línea de trabajo
Comienza con los ejemplos de chips en material.angular.io/components/chips/examples y compara las dimensiones de sus chips interactivos y botones de icono con el objetivo de 48px. Lee los estilos referenciados de src/material/button/_button-base.scss y, después, localiza la implementación correspondiente de chips y las pruebas; el trabajo estará terminado cuando los chips interactivos y sus iconos proporcionen objetivos táctiles de al menos 48x48px.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- angular, sass, typescript
- Área
- accessibility, frontend
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100