kopia lustrzana https://github.com/shoelace-style/shoelace
Fix aria state
rodzic
35d5e7950b
commit
ac31a16b8e
|
@ -1,5 +1,9 @@
|
|||
# Changelog
|
||||
|
||||
## 2.0.0-beta.16
|
||||
|
||||
- Fix incorrect `aria-selected` state in `sl-menu-item`
|
||||
|
||||
## 2.0.0-beta.15
|
||||
|
||||
- Added `image-comparer` component
|
||||
|
|
|
@ -55,9 +55,8 @@ export class MenuItem {
|
|||
'menu-item--disabled': this.disabled
|
||||
}}
|
||||
role="menuitem"
|
||||
aria-checked={this.checked}
|
||||
aria-disabled={this.disabled}
|
||||
aria-selected={this.active}
|
||||
aria-selected={this.checked}
|
||||
>
|
||||
<span part="checked-icon" class="menu-item__check">
|
||||
<sl-icon name="check2" />
|
||||
|
|
Ładowanie…
Reference in New Issue