mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 19:26:36 +00:00
Improve settings page accessibility (#25885)
This commit is contained in:
parent
e7a04eb3d2
commit
3ab6a02994
@ -44,7 +44,7 @@ class HaNavigationList extends LitElement {
|
||||
>
|
||||
<ha-svg-icon .path=${page.iconPath}></ha-svg-icon>
|
||||
</div>
|
||||
<span>${page.name}</span>
|
||||
<span slot="headline">${page.name}</span>
|
||||
${this.hasSecondary
|
||||
? html`<span slot="supporting-text">${page.description}</span>`
|
||||
: ""}
|
||||
|
@ -64,7 +64,7 @@ class HaConfigUpdates extends SubscribeMixin(LitElement) {
|
||||
const updates = this.updateEntities;
|
||||
|
||||
return html`
|
||||
<div class="title">
|
||||
<div class="title" role="heading" aria-level="2">
|
||||
${this.hass.localize("ui.panel.config.updates.title", {
|
||||
count: this.total || this.updateEntities.length,
|
||||
})}
|
||||
|
@ -41,7 +41,7 @@ class HaConfigRepairs extends LitElement {
|
||||
const issues = this.repairsIssues;
|
||||
|
||||
return html`
|
||||
<div class="title">
|
||||
<div class="title" role="heading" aria-level="2">
|
||||
${this.hass.localize("ui.panel.config.repairs.title", {
|
||||
count: this.total || this.repairsIssues.length,
|
||||
})}
|
||||
|
Loading…
x
Reference in New Issue
Block a user