Repository navigation
Description
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/web
Steps to reproduce
- Start NVDA on Windows and open T3 Code (desktop app or web).
- Open a pull request with several comments or reviews and go to its activity timeline. Or open an issue with several comments.
- In browse mode, press H to move to the next comment, or open the elements list (NVDA+F7) and choose Headings.
- On mobile, open the same pull request or issue with VoiceOver (rotor set to Headings) or TalkBack (heading navigation) and swipe to the next heading.
Expected behavior
Each comment and review is a heading, like on GitHub, for example "alice commented, 3 hours ago" or "bob reviewed, approved". Pressing H jumps to the next comment, Down Arrow reads its body, and the elements list shows every comment so you can go straight to one.
On mobile, the comment's author line is a header (accessibilityRole="header"), so the VoiceOver rotor and TalkBack heading navigation move from comment to comment the same way.
On web, headings sit one level below the page title. Short timeline events such as "labeled bug" or "closed this" stay plain text so they don't clutter the heading list.
Actual behavior
Heading navigation skips every comment. Each comment is wrapped in an article, and the author line ("alice commented") is a plain div/span, not a heading. The only way to find the next comment is to arrow through every line of the one before it, including code blocks and reactions. On a long pull request or issue, getting to the latest review or a specific comment takes a very long time.
- Pull request timeline:
apps/web/src/components/pullRequest/PullRequestTimelineTab.tsx, where comments are rendered. - Issue panel:
apps/web/src/components/issue/IssueDetailPanel.tsx, in the comment list.
Proposal: use a heading for each comment instead of the article wrapper. That matches GitHub and is how screen reader users already move through comment threads.
Mobile has the same problem. Nothing on either screen is marked as a header, so heading navigation finds no comments:
- Pull request activity:
apps/mobile/src/features/pull-requests/PullRequestTimeline.tsx. [Bug]: Mobile pull request view has no structure for screen readers to navigate #36668 covers the wider lack of structure on the mobile pull request screen; this issue is specifically about comment headings. - Issue comments:
IssueCommentCardinapps/mobile/src/features/issues/IssueRouteScreen.tsx. The author name and time are plainText.
Impact
Major degradation or frequent failure
Version or commit
main @ b5453de
Environment
Windows 11, NVDA, T3 Code web client. The desktop app renders the same web UI. Mobile app with iOS VoiceOver or Android TalkBack.
Workaround
Open the pull request or issue on GitHub, where each comment has a heading.
Activity
[-][Bug]: Screen readers can't jump between pull request and issue comments by heading[/-][+][Bug]: Screen readers can't jump between pull request and issue comments by heading (web and mobile)[/+]