mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
fix(list-box): use aria-disabled
instead of invalid disabled
attribute (#2125)
This commit is contained in:
parent
c67e095eaf
commit
e1b3ef22c9
2 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@
|
|||
class:bx--list-box__menu-item--active={active}
|
||||
class:bx--list-box__menu-item--highlighted={highlighted || active}
|
||||
aria-selected={active}
|
||||
disabled={disabled ? true : undefined}
|
||||
aria-disabled={disabled ? true : undefined}
|
||||
{...$$restProps}
|
||||
on:click
|
||||
on:mouseenter
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue