1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-06-25 10:26:00 +02:00
Commit Graph

19 Commits

Author SHA1 Message Date
Patrick H. Lauke
55a9403ee3
[PS-540] Accessibility: remove appBlurClick, add aria-expanded to cog options, links to buttons, fix unsufficient focus indication (#1514) 2022-05-05 16:36:46 +02:00
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
Vincent Salucci
e84be59075
[Captcha] Implement captcha for 2fa (#1390)
* [Captcha] Implement captcha for 2fa

* Update jslib

* Added remaining items necessary for captcha // updated login to match 2fa style
2022-03-03 18:20:29 -06:00
Vincent Salucci
ec3c95d736
[Icons] Update Font Sheet (#1245)
* [Icons] Update Font Sheet

* Added import statement for styles

* updated to clone icon

* Changed save to save changes icon

* Revert to using base bwi class

* Updated import order for bwi icon styles

* Converted new account switcher ui updates

* Bump jslib

* Fix occurances where bwi-eye-slash was used instead of btw-eye-slash-2

* Move settings cog to the left side

* Updated eye/eye-slash icon references

* Update jslib

* Update jslib

* Update fallback image for cipher icon

* Update jslib

Co-authored-by: Hinton <oscar@oscarhinton.com>
2022-01-27 11:21:53 -06:00
Oscar Hinton
521feae535
Apply Prettier (#1202) 2021-12-20 15:47:17 +01:00
Thomas Rittson
b83058ecab
Apply AppInputVerbatim directive (#1170) 2021-11-24 08:03:43 +10:00
Matt Gibson
a76f8749ca
Set iframe allow on window load (#1019)
* Set webauthn allow on initial load

* Update jslib
2021-08-13 09:24:07 -05:00
Hinton
862f9a5a63 Update to use the new WebAuthn iframe 2021-03-08 19:12:56 +01:00
Hinton
907fabdd8e Remove allow from html since it's moved to js 2021-03-04 22:36:17 +01:00
Hinton
b7889b15ff Add support for WebAuthn 2021-03-04 20:19:59 +01:00
Kyle Spearrin
5506d1c5ca button roles 2019-04-03 00:04:42 -04:00
Kyle Spearrin
1c5233c7dd aria hide page content when modal shown 2019-04-02 09:15:58 -04:00
Kyle Spearrin
b296dbb6de mark icons as hidden from a11y 2019-04-01 23:08:54 -04:00
Kyle Spearrin
a1592e4545 format html files 2019-02-21 16:53:32 -05:00
Kyle Spearrin
c89b01c461 added 2fa support for org duo 2018-04-03 15:11:37 -04:00
Kyle Spearrin
c46acc78ce null check instead 2018-02-16 11:20:28 -05:00
Kyle Spearrin
3e408c4ea7 i18n placeholder support. 2fa options selection. 2018-02-02 12:01:55 -05:00
Kyle Spearrin
fd15c09406 2fa support 2018-02-01 22:59:04 -05:00
Kyle Spearrin
0328977c14 stub out 2fa component 2018-01-31 22:54:13 -05:00