github / github/markdown-toolbar-element
Buttons must have discernible text
- Lenguaje dominante
- JavaScript
- Estrellas
- 411
- Forks
- 60
- Merge medio
- 2 d 22 h
- PR fusionados (30 d)
- 6
Descripción
Just as we set the `role=button` for the markdown buttons:
https://github.com/github/markdown-toolbar-element/blob/731b52a7e400260a693ff745ddf3e5984a42b411/src/index.ts#L100-L102
We should also give them [discernible text][1] if it's not already set.
[1]: https://dequeuniversity.com/rules/axe/4.0/button-name?application=axeAPI
Guía de contribución
Línea de trabajo
Start in src/index.ts around lines 100-102, where the markdown buttons receive their button role, and review the linked axe button-name guidance. Ensure buttons without existing accessible names have discernible text, then verify that every markdown button meets the linked criterion.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript
- Área
- accessibility, frontend
- Tipo de issue
- Error
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100