1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-11 10:10:25 +01:00

[PM-10761] Fix broken text for screen readers (#10490)

This commit is contained in:
Shane Melton 2024-08-13 15:51:34 -07:00 committed by GitHub
parent a13e99ebe9
commit a1d94233e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,9 +28,14 @@
{{ "securePasswordGenerated" | i18n }}
</ng-container>
<ng-container *ngIf="!newPasswordGenerated">
{{ "useGeneratorHelpTextPartOne" | i18n }}
<i class="bwi bwi-generate" aria-hidden="true"></i>
{{ "useGeneratorHelpTextPartTwo" | i18n }}
<span class="tw-sr-only">
{{ "useGeneratorHelpTextPartOne" | i18n }} {{ "useGeneratorHelpTextPartTwo" | i18n }}
</span>
<span aria-hidden="true">
{{ "useGeneratorHelpTextPartOne" | i18n }}
<i class="bwi bwi-generate" aria-hidden="true"></i>
{{ "useGeneratorHelpTextPartTwo" | i18n }}
</span>
</ng-container>
</bit-hint>
<button