mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-21 16:18:28 +01:00
[PM-2871] Submenu UI elements cannot be accessed by keyboard navigation when screen reader is active (#8357)
* [PM-2871] Submenu UI elements cannot be navigated through keyboard when screen reader is active * [PM-2871] Adding an aria-hidden value to menu divider elements
This commit is contained in:
parent
7ea717aa5d
commit
f87286b1df
@ -1,4 +1,5 @@
|
||||
<div
|
||||
class="tw-my-2 tw-border-0 tw-border-t tw-border-solid tw-border-t-secondary-500"
|
||||
role="separator"
|
||||
aria-hidden="true"
|
||||
></div>
|
||||
|
@ -88,6 +88,7 @@ export class MenuTriggerForDirective implements OnDestroy {
|
||||
}
|
||||
this.destroyMenu();
|
||||
});
|
||||
this.menu.keyManager.setFirstItemActive();
|
||||
this.keyDownEventsSub =
|
||||
this.menu.keyManager &&
|
||||
this.overlayRef
|
||||
|
Loading…
Reference in New Issue
Block a user