Document button loading announcements in component docs
メンテナーはふだん 1 日以内に返信
@iansan5653 がすでに取り組んでいます。
2026年5月26日 から。
評価
この issue はまだ評価されていません。
説明
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.
- 主要言語
- TypeScript
- スター
- 3.9k
- フォーク
- 709
- 平均マージ
- 2日 22時間
- マージ済み PR(30日)
- 79
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
primer/react のほかの issue
-
FilteredActionList: filter input references a missing list while loading or showing a message対応中かも @HadrielWonda が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
PageHeader.Title does not seem to accept id prop対応中かも @TylerJDev が 17 日前に担当しました。 オープンcomponent: PageHeader react staff
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
primer/react#8474 · コメント 1 件 · リアクション 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
The padding prop seems to have no effect with PageLayout.Sidebar対応中かも @minwookshin が 28 日前に担当しました。 オープンcomponent: PageLayout react staff
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
primer/react#8470 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Spinner "wobbles" on Safari (macOS Tahoe) - also I have fix for it対応中かも @Kavi274 が 3 日前に担当しました。 オープンbug component: Spinner react
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
primer/react#8423 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
waiting for author response
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
primer/react#8172 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
Shell: serve the home app's Cookie Policy on a hard reload対応中かも @2001anshkaushik が今日担当しました。 オープンfeature module:ai
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
rocketride-org/rocketride-server#2899 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
wazuh/wazuh-dashboard-plugins#9551 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
gofish-graphics/gofish-graphics#1252 ·
メンテナーはふだん 1 日以内に返信
-
optimization P3 size:XS
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
josephfung/curia#2366 ·
メンテナーはふだん 1 日以内に返信
-
type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
nightgauge/nightgauge#2688 ·
メンテナーはふだん 1 日以内に返信