Add accessible names to icon-only buttons

Abierto
#94 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
Medio día
Aptitud para principiantes
70/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
react, typescript

Línea de trabajo

Start with apps/web/src/components/Icon.tsx to see how icons render, then check PostCard.tsx, Header.tsx, BottomNav.tsx and Composer.tsx for buttons or links that contain only an icon. Done when each interactive icon has an accessible name, such as an aria-label or hidden text, and decorative icons are marked aria-hidden. The payload names no test, so check the change with the project's npm run typecheck, npm test and npm run lint scripts.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

accessibility good first issue web

Some buttons show only an icon, so screen readers announce them as just "button".

What to do

Find icon-only buttons and links (header, post actions, bottom bar, composer) and give each a clear aria-label or visible hidden text. Decorative icons should be aria-hidden.

Where to look

apps/web/src/components/Icon.tsx, PostCard.tsx, Header.tsx, BottomNav.tsx, Composer.tsx.

Done when

Every interactive icon has an accessible name, and a short list of what you changed is in the PR.

How to work on it

Fork the repo, branch from main, and follow CONTRIBUTING.md. Run npm run typecheck, npm test and npm run lint before opening a PR. Comment here if you'd like to take it, and ask if anything is unclear.


Generated by Claude Code

Lenguaje dominante
TypeScript
Estrellas
6
Forks
6
Merge medio
1 h 59 min
PR fusionados (30 d)
59

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Haseeb-MernStack/commune

Todos los issues de Haseeb-MernStack/commune

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.