Uh oh!
There was an error while loading. Please reload this page.
fix(web): make expandable section titles keyboard accessible - #42310
Conversation
The Expandable title carried role=button but was a div with no tabIndex or key handler, so trace viewer section headers could not be focused or toggled with the keyboard. Render a native button instead, following the approach of microsoft#41434. Interactive elements in the title row (download link, format toggle) move outside the button via a new titleSuffix prop, and the chevron-only variant gets a button as well. Fixes: microsoft#42263
| user-select: none; | ||
| } | ||
| .expandable-title-button { |
There was a problem hiding this comment.
I can't believe we are getting new styles and are not losing old styles. Turning button into a span style-wise should be easier than this.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Hi, I'm the Playwright bot and I took a first look at the CI failures here. 🔴 The one real failure looks caused by this PR
DetailsIgnoring the 7 flaky tests (all passed on retry — nothing to triage there), there's a single hard failure, and the diff reaches it. Caused by this PR
No pre-existing flake was proven for this test — the hard rule (same test failing where the PR can't be responsible) isn't met; it's the opposite, the test never fails elsewhere. One caveat: the triggering run ended Worth a look: re-run the job to rule out a one-off, and if it reproduces, check whether the Triaged by the Playwright bot - agent run |
08c8749
into
microsoft:mainUh oh!
There was an error while loading. Please reload this page.
Test results for "MCP"1 failed 5611 passed, 931 skipped Merge workflow run. |
Test results for "tests 1"Warning The triggering workflow run ended with status 11 flaky31837 passed, 695 skipped Merge workflow run. |
Hi, I'm the Playwright bot and I took a look at the CI failures here. 🟢 The one failure is a pre-existing flake — the PR is clear
DetailsThe latest merged reports show one hard failure and only flaky tests otherwise, so there's a single group to triage. Pre-existing flake / infra
Not a concern
One caveat: the Triaged by the Playwright bot. Triaged by the Playwright bot - agent run |
Summary
Expandabletitles weredivs withrole=buttonbut notabIndexor key handler, so trace viewer section headers (network details, attachments) could not be focused or toggled with the keyboard. They now render a native<button>, following feat(web): canonical keyboard traversal and focus rings #41434.titleSuffixprop that renders them in the title row, outside the button.Fixes#42263