Right sidebar has initial focus when open upon page visit #10618
Labels
Priority:p3-medium
Normal priority
Topic:Accessibility
Type:Bug
Something isn't working
Web-only
Issue without backend dependecies
Describe the bug
We now persist the open/closed state of the right sidebar in the localStorage of the browser and restore that state on the next visit (has been implemented in #10612 ).
In that case (open sidebar upon first page load) the right sidebar has the initial focus. That's an accessibility violation.
Steps to reproduce
Expected behavior
There is no initial focus set. First TAB always jumps to the hidden button which let's the user navigate to the
<main>
content.Actual behavior
Right sidebar is initially focussed. First TAB jumps to the
X
button to close the right sidebar.The text was updated successfully, but these errors were encountered: