Commit Graph

24 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
Patrick H. Lauke 4ddeff2eee
Add `aria-pressed` to all eye/toggle visibility buttons (#1443)
* Add `aria-pressed` to all eye/toggle visibility buttons

Closes #1442

* Correct custom field visibility toggle `aria-pressed` value
2022-03-27 22:42:47 +02: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
Oscar Hinton b607a4ed08
Hide password input when using key connector (#1169) 2021-11-22 18:37:28 +01:00
Thomas Rittson 3aa171a664
[macOS] Don't enable secure input when app is not in focus (#970)
* Don't engage macOS secure input if not focused

* Refactor to use focusInputOnPageLoad

* Fix style and linting

* Refactor to remove focusOnPageLoad

* Update jslib
2021-07-05 08:06:24 +10:00
Tom Rittson cf29c35e07 Don't submit form when unlocking with biometrics 2021-04-23 10:58:44 +10:00
Oscar Hinton 6dc82a8707
Change unlock biometric button to be selectable using tab (#846) 2021-04-22 20:00:05 +02:00
Kyle Spearrin 48aaf4b920
cleanup for biometrics (#489) 2020-07-23 17:24:35 -04:00
Oscar Hinton 26b023a3cb
Biometric support (#470)
* Initial work on windows hello support

* Hide login button if not enabled

* Add windows.security.credentials.ui dependency to desktop as well.

* Only enable biometric on windows.

* Add support for dynamic biometric text.

* Add untested darwin implementation

* Ensure we support biometric before showing login with windows hello / touchid.

* Ensure compatability with latest jslib

* Only require module on use.

* Add windows.security.credentials.ui to src/package.json.

* Update requirements

* Update consent messages for biometrics
2020-07-23 13:32:36 -04:00
Kyle Spearrin 0ed33a07d8 cleanup 2019-06-04 00:00:46 -04:00
Marc 89c066069c If an environment is configured, show the hostname in the lock screen (#258)
* If an environment is configured, show the hostname in the lock screen.

* Restore back src/locales/en_GB/messages.json
2019-06-03 23:56:33 -04:00
Kyle Spearrin 5506d1c5ca button roles 2019-04-03 00:04:42 -04:00
Kyle Spearrin b296dbb6de mark icons as hidden from a11y 2019-04-01 23:08:54 -04:00
Kyle Spearrin 20bc5a6870 aria-hidden on titles icons 2019-04-01 22:56:28 -04:00
Kyle Spearrin 4d46338a4b a11y titles 2019-04-01 22:43:42 -04:00
Kyle Spearrin 2c91a2004c pin locking 2019-02-13 10:06:58 -05:00
Kyle Spearrin bccb77356b lock screen message improvements 2019-01-08 00:21:28 -05:00
Kyle Spearrin 08a8d7ea51 make lock icon muted 2018-08-08 13:07:37 -04:00
Kyle Spearrin 92809488a5 dark theme tweaks 2018-05-30 22:28:04 -04:00
Kyle Spearrin 8e519f5518 toggle password on unlock page 2018-02-24 13:48:55 -05:00
Kyle Spearrin a77b16b766 lock/unlock 2018-02-09 22:47:53 -05:00