diff --git a/src/components/ha-alert.ts b/src/components/ha-alert.ts index b6f2f52a46..aa6848a48b 100644 --- a/src/components/ha-alert.ts +++ b/src/components/ha-alert.ts @@ -46,6 +46,7 @@ class HaAlert extends LitElement { rtl: this.rtl, [this.alertType]: true, })}" + role="alert" >
diff --git a/src/components/ha-sidebar.ts b/src/components/ha-sidebar.ts index 6b9008984f..62d0e7d333 100644 --- a/src/components/ha-sidebar.ts +++ b/src/components/ha-sidebar.ts @@ -393,7 +393,7 @@ class HaSidebar extends LitElement { ) { return html` @@ -529,7 +529,7 @@ class HaSidebar extends LitElement { href="/profile" data-panel="panel" tabindex="-1" - aria-role="option" + role="option" aria-label=${this.hass.localize("panel.profile")} @mouseenter=${this._itemMouseEnter} @mouseleave=${this._itemMouseLeave} diff --git a/src/panels/config/dashboard/ha-config-navigation.ts b/src/panels/config/dashboard/ha-config-navigation.ts index 5f29dadc89..66c47ccb64 100644 --- a/src/panels/config/dashboard/ha-config-navigation.ts +++ b/src/panels/config/dashboard/ha-config-navigation.ts @@ -31,7 +31,7 @@ class HaConfigNavigation extends LitElement { : canShowPage(this.hass, page) ) ? html` - +