mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
fix(side-nav-menu): fix a11y warnings
- remove role attributes from SideNavMenuItem - remove "aria-haspopup" from SideNavMenu
This commit is contained in:
parent
6cb877ede1
commit
a4d68e7e00
2 changed files with 1 additions and 3 deletions
|
@ -24,7 +24,6 @@
|
|||
<li class:bx--side-nav__item="{true}" class:bx--side-nav__item--icon="{icon}">
|
||||
<button
|
||||
type="button"
|
||||
aria-haspopup="true"
|
||||
aria-expanded="{expanded}"
|
||||
class:bx--side-nav__submenu="{true}"
|
||||
{...$$restProps}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue