Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Document button loading announcements in component docs

オープン
#7,881 コメント 0 件 リアクション 1 件 担当者 2 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@iansan5653 がすでに取り組んでいます。

2026年5月26日 から。

  • #7882 @copilot-swe-agent による — マージされずにクローズ
  • #8123 @adierkens による — マージされずにクローズ

評価

この issue はまだ評価されていません。

説明

The documentation for buttons mentions the loading feature with minimal description:

Use the loading prop to show a spinner inside the Button while an action is in progress. It also sets aria-disabled and 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 the Button is 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

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

primer/react のほかの issue

primer/react の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。