1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-06 05:28:51 +02:00

Use useAlertRole input added to app-callout (#1254)

* Use enforceAlert input added to app-callout to still give alerts for screen readers on important callouts

* Update input variable name

* Add brackets to pass value correctly
This commit is contained in:
Robyn MacCallum 2021-10-27 08:25:06 -04:00 committed by GitHub
parent 7cb48e3a81
commit b5231425fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@
{{'noExposedPasswords' | i18n}}
</app-callout>
<ng-container *ngIf="ciphers.length">
<app-callout type="danger" title="{{'exposedPasswordsFound' | i18n}}">
<app-callout type="danger" title="{{'exposedPasswordsFound' | i18n}}" [useAlertRole]="true">
{{'exposedPasswordsFoundDesc' | i18n : (ciphers.length | number)}}
</app-callout>
<table class="table table-hover table-list table-ciphers">