1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-06-26 10:36:19 +02:00
bitwarden-desktop/src/app/accounts
Patrick H. Lauke 0396d682b1
Change links to buttons, expose aria-pressed for toggles, add aria-expanded to send view's "Options" (#1437)
* Change links to buttons, expose `aria-pressed` for toggles

- also make existing `<a routerLink...>` type controls keyboard focusable with the addition of `tabindex="0"`

* Correctly set aria-pressed

now that I have a working build environment, could verify correct way to set this with my limited Angular knowledge

* Change more links to buttons, initial style changes

* Fix layout of <button> elements with .box-content-row

* Update jslib submodule

* Add `aria-expanded` to the send view's "Show options" expand/collapse control

* Fix position of "Edit" pencil when hovering over folders

* Update jslib

* Change sends list links to buttons

* Add `aria-pressed` to vault and send list buttons

Programmatically denote which of the buttons is currently active/shown in the right-most panel

* Fix incorrect "Options" expand/collapse button in add-edit view

Currently, that buttons lacks an accName because the "Options" text is outside of it.

* Add `aria-pressed` to the send left-hand column filters

* Simplify base, list, and vault styles

Since links are now buttons, no need to double up selectors for both types of elements. No need to double-up theming in base, as this also causes incorrect "x" in toasts.

* Remove unnecessary `position:relative`

Fixes issue with cut-off focus outlines, has no other adverse effect

* Fix styling for last child of action buttons

Old approach of making right padding smaller results in unsightly, off-center icon (noticeable when focus outline is visible). This visually remains the same, but reduces right-hand margin instead.
2022-04-30 16:09:41 +02:00
..
environment.component.html Fix "Custom environment", "Options" expand/collapse controls - wrong accessible name, state not exposed (#1441) 2022-03-27 15:04:45 +02:00
environment.component.ts Add eslint (#1369) 2022-02-24 20:50:19 +01:00
hint.component.html Change links to buttons, expose aria-pressed for toggles, add aria-expanded to send view's "Options" (#1437) 2022-04-30 16:09:41 +02:00
hint.component.ts Add eslint (#1369) 2022-02-24 20:50:19 +01:00
lock.component.html Change links to buttons, expose aria-pressed for toggles, add aria-expanded to send view's "Options" (#1437) 2022-04-30 16:09:41 +02:00
lock.component.ts Add eslint (#1369) 2022-02-24 20:50:19 +01:00
login.component.html Change links to buttons, expose aria-pressed for toggles, add aria-expanded to send view's "Options" (#1437) 2022-04-30 16:09:41 +02:00
login.component.ts Add eslint (#1369) 2022-02-24 20:50:19 +01:00
premium.component.html [Icons] Update Font Sheet (#1245) 2022-01-27 11:21:53 -06:00
premium.component.ts Add eslint (#1369) 2022-02-24 20:50:19 +01:00
register.component.html Change links to buttons, expose aria-pressed for toggles, add aria-expanded to send view's "Options" (#1437) 2022-04-30 16:09:41 +02:00
register.component.ts Add eslint (#1369) 2022-02-24 20:50:19 +01:00
remove-password.component.html [Icons] Update Font Sheet (#1245) 2022-01-27 11:21:53 -06:00
remove-password.component.ts Apply Prettier (#1202) 2021-12-20 15:47:17 +01:00
set-password.component.html Change links to buttons, expose aria-pressed for toggles, add aria-expanded to send view's "Options" (#1437) 2022-04-30 16:09:41 +02:00
set-password.component.ts Add eslint (#1369) 2022-02-24 20:50:19 +01:00
settings.component.html Username generator (#1456) 2022-03-29 15:01:57 -04:00
settings.component.ts Add eslint (#1369) 2022-02-24 20:50:19 +01:00
sso.component.html [Icons] Update Font Sheet (#1245) 2022-01-27 11:21:53 -06:00
sso.component.ts Add eslint (#1369) 2022-02-24 20:50:19 +01:00
two-factor-options.component.html Change links to buttons, expose aria-pressed for toggles, add aria-expanded to send view's "Options" (#1437) 2022-04-30 16:09:41 +02:00
two-factor-options.component.ts Add eslint (#1369) 2022-02-24 20:50:19 +01:00
two-factor.component.html Change links to buttons, expose aria-pressed for toggles, add aria-expanded to send view's "Options" (#1437) 2022-04-30 16:09:41 +02:00
two-factor.component.ts [EC-156] [BEEEP] Remove factory providers in Angular DI (#1496) 2022-04-29 17:48:44 +10:00
update-temp-password.component.html Change links to buttons, expose aria-pressed for toggles, add aria-expanded to send view's "Options" (#1437) 2022-04-30 16:09:41 +02:00
update-temp-password.component.ts Add eslint (#1369) 2022-02-24 20:50:19 +01:00
vault-timeout-input.component.html fix announcement of security header (#1292) 2022-02-03 17:58:55 +01:00
vault-timeout-input.component.ts Apply Prettier (#1202) 2021-12-20 15:47:17 +01:00