Skip to content

Commit 773807c

Browse files
Adriana IxbaDevtools-frontend LUCI CQ
authored andcommitted
[RPP] Fix a11y focus on tab header on bottom up button click
Bug:392651188 Change-Id: I3b1898ed63174d628bb747ea79ca0560a88e0955 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6215919 Commit-Queue: Jack Franklin <[email protected]> Reviewed-by: Jack Franklin <[email protected]> Auto-Submit: Adriana Ixba <[email protected]>
1 parent ceface7 commit 773807c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

front_end/panels/timeline/TimelineDetailsView.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,10 @@ export class TimelineDetailsView extends
153153
if (!(this.tabbedPane.visibleView instanceof BottomUpTimelineTreeView)) {
154154
return;
155155
}
156+
/**
157+
* For a11y, ensure that the header is focused.
158+
*/
159+
this.tabbedPane.focusSelectedTabHeader();
156160
const bottomUp = this.tabbedPane.visibleView;
157161
const thirdPartyNodeSelected = event.data;
158162
if (!thirdPartyNodeSelected) {

0 commit comments

Comments
 (0)