github / github/erblint-github
Update svg accessible name guidance
- Lenguaje dominante
- Ruby
- Estrellas
- 66
- Forks
- 9
- Merge medio
- 9 h 26 min
- PR fusionados (30 d)
- 2
Descripción
```
1. Add a `` inside the SVG, with the alt text/name.
2. Give the `<title>` an ID.
3. Apply `aria-labelledby` to the SVG, pointing to the ID of the `<title>` inside of it.
```
This approach has maximum compatibility and should be recommended above all other approaches. Not sure if we would necessarily want to flag the other approaches as errors though... 🤔
[GitHub Staff-only link svg-alt-text](https://github.com/github/accessibility/pull/2273/files)
Guía de contribución
Línea de trabajo
Review the repository's current SVG accessible-name guidance and compare it with the linked GitHub accessibility reference. Decide how the title, ID, and aria-labelledby pattern should be recommended and how alternative approaches should be treated; done means the guidance reflects that decision.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- ruby
- Área
- accessibility, documentation
- Tipo de issue
- Documentación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100