mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-17 11:11:25 +00:00
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:
parent
5103e13321
commit
1939e4328d
3 changed files with 22 additions and 12 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue