t3code
t3code copied to clipboard
[Bug]: Screen readers read a pull request's number twice in the thread details panel
Before submitting
- [x] I searched existing issues and did not find a duplicate.
- [x] 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 thread with a linked open pull request whose row shows a second line under the title. That line appears when the pull request has checks, an action such as Fix, Merge or Ready, or is being watched.
- Open the thread's issues and pull requests in the thread details panel.
- In browse mode, arrow down onto the pull request row and past it.
Expected behavior
The pull request number is read once, as part of the row's button: "Pull request #38144, open: fix(web): NVDA no longer reads a blank line under the sidebar toggle".
Actual behavior
After the button, NVDA reads the number again on its own line:
Pull request #38144, open: fix(web): NVDA no longer reads a blank line under the sidebar toggle
#38144
The button's aria-label already names the number (ThreadDetailsPrRow.tsx, openAriaLabel). The visible #{number} span on the meta line under the title is not hidden from assistive technology, so screen readers read the number twice. It can be aria-hidden: the checks, watch and action controls on that line are separate controls and still read.
Impact
Cosmetic issue
Version or commit
main @ 25875c11b2
Environment
Windows 11, NVDA, browse mode. The desktop app renders the same web UI.