1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-06-30 11:15:36 +02:00
bitwarden-browser/apps/web/src
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
..
404 Move web to apps/web and bitwarden_license/bit-web 2022-06-02 11:55:37 +02:00
app [PS-1386] Browser/Desktop/Web: Accessibility - Stop username regenerator button from losing focus (#3405) 2022-12-23 01:18:18 +01:00
connectors add csp and only pass hostname to duo init (#3972) 2022-11-04 10:26:30 -04:00
images [SM-298] Migrate search icon to bit icon component (#3823) 2022-10-27 14:35:37 +02:00
locales Revert "[EC-772] Add i18n key typechecking in web (#4023)" (#4296) 2022-12-21 17:46:23 -05:00
scss [PS-1386] Browser/Desktop/Web: Accessibility - Stop username regenerator button from losing focus (#3405) 2022-12-23 01:18:18 +01:00
utils [SG-483] Trial Initiation Cleanup (#4064) 2022-12-12 15:59:40 -05:00
.nojekyll Move web to apps/web and bitwarden_license/bit-web 2022-06-02 11:55:37 +02:00
404.html Move web to apps/web and bitwarden_license/bit-web 2022-06-02 11:55:37 +02:00
app-id.json Move web to apps/web and bitwarden_license/bit-web 2022-06-02 11:55:37 +02:00
browserconfig.xml Move web to apps/web and bitwarden_license/bit-web 2022-06-02 11:55:37 +02:00
favicon.ico Move web to apps/web and bitwarden_license/bit-web 2022-06-02 11:55:37 +02:00
global.d.ts Move web to apps/web and bitwarden_license/bit-web 2022-06-02 11:55:37 +02:00
index.html Move web to apps/web and bitwarden_license/bit-web 2022-06-02 11:55:37 +02:00
main.ts Cleanup src folder for web and move ts code into src/app per angular convention (#3127) 2022-07-25 15:13:54 +02:00
manifest.json Move web to apps/web and bitwarden_license/bit-web 2022-06-02 11:55:37 +02:00
polyfills.ts [SM-266] Remove fetch, webcrypto and custom-elements polyfills (#3672) 2022-10-27 14:25:10 +02:00
theme.js Move web to apps/web and bitwarden_license/bit-web 2022-06-02 11:55:37 +02:00
version.json Move web to apps/web and bitwarden_license/bit-web 2022-06-02 11:55:37 +02:00