web: ensure img tags have alt attributes

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2023-01-06 12:44:51 +01:00
parent bec538c543
commit 001869641d
8 changed files with 8 additions and 7 deletions

View File

@ -501,6 +501,7 @@ export class FlowExecutor extends AKElement implements StageHost {
<div class="pf-c-brand ak-brand">
<img
src="${first(this.tenant?.brandingLogo, "")}"
alt="authentik Logo"
/>
</div>
</header>

View File

@ -86,7 +86,7 @@ export class AuthenticatorDuoStage extends BaseStage<
>
</div>
</ak-form-static>
<img src=${this.challenge.activationBarcode} />
<img src=${this.challenge.activationBarcode} alt=${t`Duo activation QR code`} />
<p>
${t`Alternatively, if your current device has Duo installed, click on this link:`}
</p>