bitwarden-estensione-browser/apps
Patrick H. Lauke cb7b8313a4
[PS-1198] Desktop / Browser: Accessibility - make TOTP countdown announce for assistive technology users (#2660)
* Make totp countdown `aria-hidden`, add copy of countdown as `sr-only` inside totp button, only make it conditionally "exist" on parent focus

* Make exact same changes to desktop totp

* Tweak copy button accessible name approach

instead of `aria-label`, which overrides the content of the button and, because JAWS has trouble announcing the live region in the desktop app, results in JAWS not announcing ANY countdown at all, this at least announces the current countdown number when the button receives focus in JAWS

* Add `aria-atomic="true"`

avoid JAWS/Firefox only announcing the specific digit that updates, rather than the number as a whole

* Update, run prettier, lint

* Remove orphaned jslibs

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2022-10-03 16:53:44 +02:00
..
browser [PS-1198] Desktop / Browser: Accessibility - make TOTP countdown announce for assistive technology users (#2660) 2022-10-03 16:53:44 +02:00
cli [SM-255] Forbid absolute imports in libs (#3624) 2022-09-29 16:38:50 +02:00
desktop [PS-1198] Desktop / Browser: Accessibility - make TOTP countdown announce for assistive technology users (#2660) 2022-10-03 16:53:44 +02:00
web Autosync the updated translations (#3655) 2022-09-30 03:05:53 +02:00