1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

avoid aria-label for screen reader only text (#15119)

This commit is contained in:
Nick Krantz
2025-06-20 15:57:33 -05:00
committed by GitHub
parent a4ef61e1fc
commit 9e1ab2864c

View File

@@ -3,11 +3,10 @@
[title]="'generatorNudgeTitle' | i18n"
(onDismiss)="dismissGeneratorSpotlight(NudgeType.GeneratorNudgeStatus)"
>
<p
class="tw-text-main tw-mb-0"
bitTypography="body2"
[attr.aria-label]="'generatorNudgeBodyAria' | i18n"
>
<p class="tw-text-main tw-mb-0" bitTypography="body2">
<span class="tw-sr-only">
{{ "generatorNudgeBodyAria" | i18n }}
</span>
<span aria-hidden="true">
{{ "generatorNudgeBodyOne" | i18n }} <i class="bwi bwi-generate"></i>
{{ "generatorNudgeBodyTwo" | i18n }}