[BUG]: Learn More analysis dialog allows focus behind the overlay and ignores Escape
Maintainers usually reply within 1 day
@vivekrajputofficial29-afk is already working on this.
Since Nov 21, 2026.
- #472 by @vivekrajputofficial29-afk — open
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript, playwright, react
- Domain
- accessibility, frontend
Research direction
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.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- JavaScript
- Stars
- 53
- Forks
- 187
- Avg merge
- 18m
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AOSSIE-Org/OrgExplorer
-
[BUG]: Organization filter dropdown in AnalyticsPage renders empty list due to truthy evaluation of empty issuesDataPossibly taken @havyasreekuppam claimed this 5 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
AOSSIE-Org/OrgExplorer#476 · 5 comments ·
Maintainers usually reply within 1 day
-
Add Pat for 5000 req/hr button not visible when pat expiresPossibly taken @Rajvardhan-Singh-Rathore claimed this 6 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
AOSSIE-Org/OrgExplorer#473 · 6 comments ·
Maintainers usually reply within 1 day
-
[BUG]: PAT popup input lacks label association and visibility button lacks an accessible namePossibly taken @prasanm1423 claimed this 10 days ago. Openbug enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
AOSSIE-Org/OrgExplorer#466 · 2 comments ·
Maintainers usually reply within 1 day
-
[FEATURE]: Set dynamic document.title based on active page routePossibly taken @23241a6749 claimed this 8 days ago. Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
AOSSIE-Org/OrgExplorer#462 · 2 comments ·
Maintainers usually reply within 1 day
-
[BUG]: SocialShareButton logs unconditional console.warn when script is not loadedPossibly taken @vivekrajputofficial29-afk claimed this 8 days ago. Openbug enhancement
Difficulty 1/5 Under an hour Newbie friendliness 89/100
AOSSIE-Org/OrgExplorer#461 · 1 comment ·
Maintainers usually reply within 1 day
All issues in AOSSIE-Org/OrgExplorer
Similar issues
-
marketing
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Kanevry/session-orchestrator#108 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
awesomemotive/all-in-one-seo-pack#3238 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
andromarces/agent-loops#2055 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days