1
0
mirror of https://github.com/bitwarden/web synced 2025-12-06 00:03:28 +00: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

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">