Revert "fix(list-box): use aria-disabled instead of invalid disabled attribute" (#2130)

This reverts commit e1b3ef22c9.
This commit is contained in:
Eric Liu 2025-03-19 13:05:28 -07:00 committed by GitHub
commit 199bb0eb8e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@
class:bx--list-box__menu-item--active={active}
class:bx--list-box__menu-item--highlighted={highlighted || active}
aria-selected={active}
aria-disabled={disabled ? true : undefined}
disabled={disabled ? true : undefined}
{...$$restProps}
on:click
on:mouseenter