Update menu-item.ts

This commit is contained in:
paladox 2025-09-09 22:01:14 +01:00 committed by GitHub
parent 085c799836
commit 210ee0ce6d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -157,7 +157,7 @@ export class MenuItemEl extends menuItemBaseClass implements MenuItem {
// TODO(b/265339866): announce "button"/"link" inside of a list item. Until
// then all are "menuitem" roles for correct announcement.
const target = isAnchor && !!this.target ? this.target : nothing;
const download = isAnchor && !!this.download ? this.donwload : nothing;
const download = isAnchor && !!this.download ? this.download : nothing;
const rel = isAnchor && !!this.rel ? this.rel : nothing;
return staticHtml`
<${tag}