fix(ui-shell): fix HeaderNavMenu accessibility, undefined context (#1079)

Fixes:

* hotfix: remove toggle accessor from HeaderNavMenu

* hotfix(ui-shell): HeaderNavMenu context is possibly undefined

* fix: apply a11y navigation menubar attributes
This commit is contained in:
metonym 2022-02-10 08:11:56 -08:00 committed by GitHub
commit 1939e4328d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 12 deletions

View file

@ -13,7 +13,7 @@
</script>
<nav {...props} class:bx--header__nav="{true}" {...$$restProps}>
<ul {...props} class:bx--header__menu-bar="{true}">
<ul {...props} role="menubar" class:bx--header__menu-bar="{true}">
<slot />
</ul>
</nav>