Commit Graph

23 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
Addison Beck 0682269e34
Resolved Safari Date/Time Issues In Send (#992)
* cleaned up date and time logic for Send

* updated jslib

* set up change detection for initial form values on data swap
2021-07-19 09:56:31 -04:00
Oscar Hinton 2bdd7413aa
Block save button when uploading a send (#871)
* Block save button when uploading a send

* Add overflow hidden to prevent scrollbar appearing
2021-05-04 23:36:57 +02:00
Thomas Rittson f3ae6ed1e2 Add "hide email" option for Send 2021-03-25 15:29:49 +10:00
Kyle Spearrin 0e1dab40cc
style tweaks to send add/edit page (#767)
* style tweaks to send add/edit page

* remove redundant conditional
2021-03-12 14:37:52 -05:00
addison 9aaa9a0fdb added file size to Send view 2021-03-09 14:30:30 -05:00
addison 5724875328 fixed icon redirect bug on Sends 2021-03-08 15:19:08 -05:00
addison 077b4b8de5 updated disableSend implementations 2021-02-23 10:40:44 -05:00
addison 696fddc970 label-hack change 2021-02-22 15:06:18 -05:00
addison 0918ad1425 removed a comment 2021-02-18 13:05:12 -05:00
addison ac807b6d54 bells and whistles for Send 2021-02-18 13:03:20 -05:00
addison 68044f7170 removed disable send references 2021-02-16 14:02:28 -05:00
addison 73bc46ae4a fixed bugs found creating demo video 2021-02-16 13:11:14 -05:00
addison 1290ff2c40 finished CRUD operations for Send 2021-02-16 11:52:23 -05:00
addison 12532f3cc4 Allowed editing sends 2021-02-10 14:15:10 -05:00
addison 30a7db2f20 Added support for viewing Sends' 2021-02-09 15:57:10 -05:00
addison 5a71d5fdc8 deleted more or the send component 2021-02-03 23:50:41 -05:00
addison 6e49c481f0 Send layout & search 2021-02-03 16:24:49 -05:00