Improve accessibility on login page (#9731)

This commit is contained in:
rianadon 2021-11-08 01:29:34 -08:00 committed by GitHub
parent 729a928cfe
commit d7732ee850
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 4 deletions

View File

@ -21,7 +21,11 @@ class HaPickAuthProvider extends litLocalizeLiteMixin(LitElement) {
<p>${this.localize("ui.panel.page-authorize.pick_auth_provider")}:</p> <p>${this.localize("ui.panel.page-authorize.pick_auth_provider")}:</p>
${this.authProviders.map( ${this.authProviders.map(
(provider) => html` (provider) => html`
<paper-item .auth_provider=${provider} @click=${this._handlePick}> <paper-item
role="button"
.auth_provider=${provider}
@click=${this._handlePick}
>
<paper-item-body>${provider.name}</paper-item-body> <paper-item-body>${provider.name}</paper-item-body>
<ha-icon-next></ha-icon-next> <ha-icon-next></ha-icon-next>
</paper-item> </paper-item>

View File

@ -33,7 +33,7 @@
<body> <body>
<div class="content"> <div class="content">
<div class="header"> <div class="header">
<img src="/static/icons/favicon-192x192.png" height="52" /> <img src="/static/icons/favicon-192x192.png" height="52" alt="" />
Home Assistant Home Assistant
</div> </div>
<ha-authorize><p>Initializing</p></ha-authorize> <ha-authorize><p>Initializing</p></ha-authorize>
@ -70,4 +70,4 @@
})(); })();
</script> </script>
</body> </body>
</html> </html>

View File

@ -64,7 +64,7 @@
<body id="particles"> <body id="particles">
<div class="content"> <div class="content">
<div class="header"> <div class="header">
<img src="/static/icons/favicon-192x192.png" height="52" width="52" /> <img src="/static/icons/favicon-192x192.png" height="52" width="52" alt="" />
Home Assistant Home Assistant
</div> </div>