1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-03-11 13:30:39 +01:00
bitwarden-browser/apps
Patrick H. Lauke e1aceca72b
[PS-1386] Browser/Desktop/Web: Accessibility - Stop username regenerator button from losing focus (#3405)
* Make username regenerator button same as password one

it seems that (originally?) it wanted to be disabled at first and then become active again once the generator's async call was finished...but this seems unnecessary. removing all that extraneous stuff that doesn't seem to be actually doing anything makes this work just as well as the password generator button, and doesn't end up losing/resetting focus.

* Remove the `[disabled]` attribute from regenerate buttons

* Use `aria-disabled` instead of `disabled`, make click event conditional

* Make spinner show for `aria-disabled` controls as well
2022-12-23 01:18:18 +01:00
..
browser [PS-1386] Browser/Desktop/Web: Accessibility - Stop username regenerator button from losing focus (#3405) 2022-12-23 01:18:18 +01:00
cli Revert "[EC-772] Add i18n key typechecking in web (#4023)" (#4296) 2022-12-21 17:46:23 -05:00
desktop [PS-1386] Browser/Desktop/Web: Accessibility - Stop username regenerator button from losing focus (#3405) 2022-12-23 01:18:18 +01:00
web [PS-1386] Browser/Desktop/Web: Accessibility - Stop username regenerator button from losing focus (#3405) 2022-12-23 01:18:18 +01:00