Prerequisites
Affected component
side-panel
Summary
Currently, when a side panel is used on a page that includes an application header, the tab order is disrupted.
Additionally, when the side panel is opened as an overlay, keyboard focus is not properly trapped within it — pressing Tab allows focus to escape to elements behind the overlay.
Version
latest
Steps to reproduce
-
Go to example https://element.siemens.io/element-examples/#/overview/si-side-panel/si-side-panel-collapsible?q=side
-
Start using keyboard tab to move focus
-
Observe tab focus order
Code reproduction example
https://stackblitz.com/run?file=src%2Fapp%2Fsi-side-panel%2Fsi-side-panel-collapsible.ts
What is the current bug behavior
Tab order first goes inside side panel and then move back to application header.
What is the expected correct behavior
Tab order should be similar order the way components are visible on browser starting from top left to right
Prerequisites
Affected component
side-panel
Summary
Currently, when a side panel is used on a page that includes an application header, the tab order is disrupted.
Additionally, when the side panel is opened as an overlay, keyboard focus is not properly trapped within it — pressing Tab allows focus to escape to elements behind the overlay.
Version
latest
Steps to reproduce
Go to example https://element.siemens.io/element-examples/#/overview/si-side-panel/si-side-panel-collapsible?q=side
Start using keyboard tab to move focus
Observe tab focus order
Code reproduction example
https://stackblitz.com/run?file=src%2Fapp%2Fsi-side-panel%2Fsi-side-panel-collapsible.ts
What is the current bug behavior
Tab order first goes inside side panel and then move back to application header.
What is the expected correct behavior
Tab order should be similar order the way components are visible on browser starting from top left to right