Document button loading announcements in component docs
Los mantenedores suelen responder en 1 día
@iansan5653 ya está trabajando en esto.
Desde el 26/5/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
The documentation for buttons mentions the loading feature with minimal description:
Use the
loadingprop to show a spinner inside theButtonwhile an action is in progress. It also setsaria-disabledand preserves focus automatically. See Button loading state for accessibility details.
The linked documentation encourages consumers to implement aria-live loading messages:
Include a visually hidden, ARIA live region (using
aria-live="polite") message like "Saving profile" to communicate status. The live region must be present on page load, but the message inside the live region should only be rendered while theButtonis in a loading state.
However, Button already renders a "Loading" announcement by default, and this announcement is customizable with the loadingAnnouncement prop. The documentation fails to mention this, which can encourage consumers to write their own implementation, resulting in double announcements.
The documentation for Button and IconButton should be updated to detail this loading announcement functionality.
- Lenguaje dominante
- TypeScript
- Estrellas
- 3.9k
- Forks
- 709
- Merge medio
- 2 d 22 h
- PR fusionados (30 d)
- 79
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de primer/react
-
FilteredActionList: filter input references a missing list while loading or showing a messagePosiblemente ocupada @HadrielWonda la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
PageHeader.Title does not seem to accept id propPosiblemente ocupada @TylerJDev la tomó hace 17 días. Abiertocomponent: PageHeader react staff
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
primer/react#8474 · 1 comentario · 1 reacción · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
The padding prop seems to have no effect with PageLayout.SidebarPosiblemente ocupada @minwookshin la tomó hace 28 días. Abiertocomponent: PageLayout react staff
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
primer/react#8470 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Spinner "wobbles" on Safari (macOS Tahoe) - also I have fix for itPosiblemente ocupada @Kavi274 la tomó hace 3 días. Abiertobug component: Spinner react
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
primer/react#8423 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Low contrast in SelectAbiertowaiting for author response
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
primer/react#8172 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de primer/react
Issues similares
-
Shell: serve the home app's Cookie Policy on a hard reloadPosiblemente ocupada @2001anshkaushik la tomó hoy. Abiertofeature module:ai
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
rocketride-org/rocketride-server#2899 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
wazuh/wazuh-dashboard-plugins#9551 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
gofish-graphics/gofish-graphics#1252 ·
Los mantenedores suelen responder en 1 día
-
optimization P3 size:XS
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
josephfung/curia#2366 ·
Los mantenedores suelen responder en 1 día
-
stranded-follow-up sweep trusts any issue whose body carries the marker as the tracking issueAbiertotype:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
nightgauge/nightgauge#2688 ·
Los mantenedores suelen responder en 1 día