You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Trace viewer section headers announce as buttons but cannot be focused or expanded with the keyboard #42263
The header takes focus and Enter or Space toggles the section, the same way the tab strips do since #41434 and the html-reporter chips do since #42149.
Actual behavior
Tab walks straight past every one of them, so none of these sections can be expanded without a mouse.
It carries the full button semantics, role="button" plus aria-expanded plus aria-controls, but it is a div with no tabIndex, so it never takes focus and there is no key handler either. Assistive tech is told there is a button and then it cannot be operated.
Additional context
Affects the trace viewer attachments tab (attachmentsTab.tsx:79) and every collapsible section in network details (networkResourceDetails.tsx:138), both of which pass expandOnTitleClick.
I have a fix ready that follows the same native-button approach as #41434 and #42149, with the one wrinkle that both call sites render a link or a button inside the title, which cannot be nested inside a button. Happy to send it if you want to assign this to me.
apologies if I have misread anything here, I did the digging myself and talked the design choices over with claude code. freshman in college, trying to be useful where I can :)
Environment
System:
OS: macOS 26.5.2
CPU: (10) arm64 Apple M4
Memory: 277.83 MB / 16.00 GB
Binaries:
Node: 26.0.0
npm: 11.12.1
npmPackages:
playwright monorepo at main (1.63.0-next)
Activity