[BUG]: Learn More analysis dialog allows focus behind the overlay and ignores Escape
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- javascript, playwright, react
調査の方向性
Start with src/components/LearnModeModal.jsx and inspect its existing close behaviour and the Learn More trigger. The issue proposes adding dialog semantics, focus entry and containment, Escape handling, focus restoration, and an accessible name for the icon close button, with regression tests. Check the component’s existing test setup; done means keyboard focus stays in the dialog, Escape closes it, focus returns to Learn More, and assistive technology can identify the dialog and close button.
索引モデルが issue の本文から書いたものです。
説明
Bug Description
The Learn More dialog in the Standard Analysis banner looks modal, but keyboard focus remains on the page behind it. Pressing Tab after opening it moves to Connect PAT & Run underneath the overlay, and Escape does not close it.
In src/components/LearnModeModal.jsx, the dialog also has no dialog role or accessible name, and its icon-only close button is unnamed. The visible Close button does work; this report concerns modal keyboard behaviour, not a completely unclosable popup.
Expected: opening the dialog moves focus inside it, Tab/Shift+Tab stay within it, Escape closes it, and focus returns to Learn More when it closes.
Steps to Reproduce
- Without a PAT, explore an organisation and open Overview.
- Click Learn More in the Standard Analysis banner.
- Press Escape: the dialog remains open.
- Press Tab: focus moves to Connect PAT & Run behind the overlay.
- Inspect the accessibility tree: the overlay has no dialog role, and the top-right close icon has no accessible name.
Logs and Screenshots
The recording and screenshot use the real local app with synthetic GitHub API responses for an organisation labelled “Keyboard demo (local fixture)”. No real token was used. The modal component is unchanged from upstream main at b396d1b7f50a3341d4a5b9ff67211d95c9a5fb95.
Recording: opening Learn More, pressing Escape, then Tab:
https://github.com/user-attachments/assets/b0339c05-6560-42ad-9e8b-fb6fd88ecf9a
Screenshot after Tab: the focus outline is on Connect PAT & Run behind the dialog.
Three local Testing Library/jsdom diagnostic cases additionally reproduced missing dialog semantics, ignored Escape, focus escaping to a background control, and focus falling back to the document body after closing. These diagnose the current behaviour; no fix has been implemented yet.
Proposed contribution and coordination
I'd like to take this as my next contribution: add named dialog semantics, focus entry and containment, Escape handling, focus restoration and a name for the icon close button, with regression tests. I'd keep this scoped to LearnModeModal and its tests, preserving the current content and layout.
My PR #469 is still awaiting human review, so could a maintainer confirm whether this is a useful next task and when you'd prefer me to start under the one-issue-at-a-time guideline? Please also let me know if anyone is already working on it.
I checked existing issues and all 93 open PR file lists on 20 November; none changes LearnModeModal. Related #466 / #468 covers PAT-field labels, #363 / #364 covers page information controls, and #419 / #429 covers table headers.
AI assistance was used for the investigation, diagnostic tests and proposed approach.
Environment Details
- Windows; local Vite development build, React 18.
- Chromium-based browser via Playwright; no PAT.
- Diagnostic tests: Node 25.8.0, Vitest 4.1.10, jsdom.
- The recording uses mocked API data, not a live organisation analysis.
Impact
Medium - Feature works but has issues
Code of Conduct
- I have joined the Discord server and will post updates there
- I have searched existing issues to avoid duplicates
- 主要言語
- JavaScript
- スター
- 53
- フォーク
- 187
- 平均マージ
- 18分
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
AOSSIE-Org/OrgExplorer のほかの issue
-
[BUG]: Organization filter dropdown in AnalyticsPage renders empty list due to truthy evaluation of empty issuesData対応中かも @havyasreekuppam が 5 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
AOSSIE-Org/OrgExplorer#476 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
-
Add Pat for 5000 req/hr button not visible when pat expires対応中かも @Rajvardhan-Singh-Rathore が 6 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
AOSSIE-Org/OrgExplorer#473 · コメント 6 件 ·
メンテナーはふだん 1 日以内に返信
-
[BUG]: PAT popup input lacks label association and visibility button lacks an accessible name対応中かも @prasanm1423 が 10 日前に担当しました。 オープンbug enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
AOSSIE-Org/OrgExplorer#466 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
[FEATURE]: Set dynamic document.title based on active page route対応中かも @23241a6749 が 8 日前に担当しました。 オープンenhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
AOSSIE-Org/OrgExplorer#462 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
[BUG]: SocialShareButton logs unconditional console.warn when script is not loaded対応中かも @vivekrajputofficial29-afk が 8 日前に担当しました。 オープンbug enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 89/100
AOSSIE-Org/OrgExplorer#461 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
AOSSIE-Org/OrgExplorer の issue をすべて見る
似ている issue
-
marketing
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Kanevry/session-orchestrator#108 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
awesomemotive/all-in-one-seo-pack#3238 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
andromarces/agent-loops#2055 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 2 日以内に返信