1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 00:03:56 +00:00

fix password meter aria-valuenow

This commit is contained in:
Kyle Spearrin
2018-11-15 14:46:51 -05:00
parent ac1f8a69e1
commit afd7a0494f

View File

@@ -1,5 +1,5 @@
<div class="progress">
<div class="progress-bar {{color}}" role="progressbar" [ngStyle]="{width: (scoreWidth + '%')}" aria-valuenow="scoreWidth"
<div class="progress-bar {{color}}" role="progressbar" [ngStyle]="{width: (scoreWidth + '%')}" attr.aria-valuenow="{{scoreWidth}}"
aria-valuemin="0" aria-valuemax="100">
<ng-container *ngIf="showText && text">
{{text}}