[Frontend] Add aria-live announcement and keyboard focus management to NotificationDropdown
メンテナーはふだん 7 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 84/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- next.js, typescript
調査の方向性
frontend/src/components/NotificationDropdown.tsxを読んでベルのトリガーとドロップダウンの開いた状態を特定し、次にfrontend/src/components/NotificationDropdown.test.tsxを確認して既存の操作テストを調べます。指定されたARIA属性とEscapeによる閉じる動作を追加し、フォーカスをトリガーに戻します。テストで、展開状態が更新され、Escapeでドロップダウンが閉じてフォーカスが戻ることを確認できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Overview
The notification menu in frontend/src/components/NotificationDropdown.tsx opens on click, but lacks aria-expanded, aria-controls, and Escape key dismissal to return focus to the bell trigger button.
Problem
- Screen reader and keyboard-only users cannot easily tell whether the dropdown is open or close it without tabbing through every item.
Proposed Changes
- Add
aria-expanded,aria-haspopup="menu", andaria-labelto the notification bell trigger inNotificationDropdown.tsx. - Listen for
Escapekey presses when open to close the dropdown and restore focus to the trigger button.
Acceptance Criteria
- Bell button exposes accurate
aria-expandedboolean state. - Pressing
Escapecloses the dropdown and returns focus to the bell button. - Tested in
frontend/src/components/NotificationDropdown.test.tsx.
- 主要言語
- TypeScript
- スター
- 18
- フォーク
- 250
- 平均マージ
- 5日 6時間
- マージ済み PR(30日)
- 82
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
LabsCrypt/flowfi のほかの issue
-
backend points: 150 testing
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 7 日以内に返信
-
backend points: 150 testing
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 7 日以内に返信
-
backend points: 150 testing
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 7 日以内に返信
-
backend points: 150 testing
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 7 日以内に返信
-
backend points: 150 testing
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 7 日以内に返信
LabsCrypt/flowfi の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Automattic/data-liberation-agent#953 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
funmary-app/funmary#399 ·
メンテナーはふだん 1 日以内に返信
-
area:curator enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
CassioDalla/Scrinalia#150 ·
メンテナーはふだん 1 日以内に返信
-
status: needs-triage v1-bug-bash
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
a2ui-project/a2ui#3533 ·
メンテナーはふだん 1 日以内に返信
-
backend enhancement priority:P3
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
geolens-io/geolens#3310 ·
メンテナーはふだん 1 日以内に返信