Skip to content

Commit

Permalink
[PM-10761] Fix broken text for screen readers (#10490)
Browse files Browse the repository at this point in the history
  • Loading branch information
shane-melton authored Aug 13, 2024
1 parent a13e99e commit a1d9423
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,14 @@ <h2 bitTypography="h6">
{{ "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
Expand Down

0 comments on commit a1d9423

Please sign in to comment.