Set autofocus on header items on page load

What does this MR do and why?

Set autofocus on super topbar header items on page load to allow user to jump to main panel using Tab. This MR ensures that this focus chain is maintained on any page the user visits.

References

Screenshots or screen recordings

Before After
Screen_Recording_2025-11-05_at_4.12.40_PM Screen_Recording_2025-11-05_at_4.10.24_PM

How to set up and validate locally

Visit any page within GitLab and press Tab and it should start with header area focused with first item being Skip to main content element.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #575660 (closed)

Merge request reports

Loading