Commit Graph

25 Commits

Author SHA1 Message Date
Patrick H. Lauke 7b12868c70
[PS-497] Change `<content>` to `<main>`, make it explicitly non-focusable (#2245)
* Make <content> element explicitly non-focusable

Some browsers (Firefox, upcoming versions of Chrome https://bugs.chromium.org/p/chromium/issues/detail?id=585413) make containers with `overflow: auto` / `overflow: scroll` (and the `-x` / `-y` variants) keyboard-focusable. This leads to a very awkward experience for assistive technology users navigating through the extension window, as for every view, the entire `<content>` container receives focus (and screen readers try to announce all its content in one go) before you reach the actual first control. To counteract this behaviour, this adds an explicit `tabindex="-1"` to these elements.

* Change `<content>` to `<main>`

More semantically accurate. See https://github.com/bitwarden/browser/pull/2245#issuecomment-1104553312

* Update scss to target `main` instead of `content`

* Change the previously existing `<main>` to generic `<div>`, tweak styles accordingly

Can't have two separate `<main>` elements, especially not nested ones. The original `<main>` was really just a handy wrapper for the component, but semantically should be neutral
2022-04-29 10:06:33 +10:00
Vincent Salucci 33314869f0
[Icons] Update Font Sheet (#2272)
* [Icons] Update Font Sheet

* Prettier updates

* Updated refresh -> generate

* Updated closed folder icon

* Reverted to using a base class

* Update jslib

* Removed unused import

* Updated eye/eye-slash icon references

* Update jslib

* Updating fallback image for cipher icon

* Update jslib

* Removed duplicate icon base class

* Update jslib

* Prettier

Co-authored-by: Hinton <oscar@oscarhinton.com>
2022-01-28 04:53:06 -06:00
Oscar Hinton 8fe821b9a3
Apply Prettier (#2238) 2021-12-21 15:43:35 +01:00
Patrick H. Lauke c733f2def6 A11y: make expandable box headers actual buttons, expose state with aria-expanded
Closes https://github.com/bitwarden/browser/issues/1983
2021-12-19 17:26:57 +00:00
Patrick H. Lauke 6e050349e4 Add aria-pressed attribute to all toggleVisibility buttons
Closes https://github.com/bitwarden/browser/issues/2228
2021-12-18 20:22:11 +00:00
Patrick H. Lauke c8fc7ee6fc Add basic heading markup 2021-11-02 22:41:17 +00:00
Patrick H. Lauke 6b0167a098
Merge branch 'master' into patrickhlauke-a11y-patch2 2021-09-18 17:47:59 +01:00
addison 061708cbdd changed ngIf to hidden for send options 2021-08-18 09:19:35 -04:00
Patrick H. Lauke d528d72b4d Change links to buttons
- more semantically accurate, will expose these as buttons to assistive technologies
- note: while having block-level elements like `<div>` inside a `<button>` is an html validation error, it does not affect functionality as long as there's no more structure inside it
2021-07-31 20:50:46 +01:00
addison 39ef5d2e92 cleaned up date and time logic for Send 2021-07-15 11:10:58 -04:00
Oscar Hinton 544c7c526d
Show file picker warning in chromium on Mac 11 (#1778) 2021-04-09 00:45:42 +02:00
Thomas Rittson e60d7924a2
Merge pull request #1740 from bitwarden/send-hide-email
Hide email address in Sends
2021-03-29 07:57:17 +10:00
Thomas Rittson 1b4fd820ce Fix incorrect location of appBoxRow directive 2021-03-26 08:15:39 +10:00
Thomas Rittson 7bc9d1ece7 Move "hide email" control 2021-03-25 14:34:21 +10:00
Thomas Rittson 894d3a7c14 Add "hide email" option for Sends 2021-03-25 14:14:28 +10:00
Vincent Salucci 24d172e3b9
[Send] Added pop out banner for linux os (#1713) 2021-03-17 09:05:48 -05:00
addison b59d932a53 fixed a few send date fallback bugs 2021-03-09 17:45:38 -05:00
addison 3e1c6ac396 only show message if not already in popout 2021-03-09 10:16:31 -05:00
addison 8479e9af00 qa fixes for send date fallbacks 2021-03-09 10:03:44 -05:00
addison 0752a3a925 patched date & time inputs on safari 2021-03-08 14:58:10 -05:00
addison 290c3b3a69 code review fixes 2021-03-04 10:48:56 -05:00
addison 50b8f6955c implemented date & time fallbacks for safari and FF 2021-03-03 15:03:05 -05:00
Vincent Salucci 8cb51da4ab
[Send] Updated current access input type to text (#1648) 2021-03-01 09:42:06 -06:00
Vincent Salucci e17649d869
[Send] Enterprise policy enforcement (#1637) 2021-02-24 16:03:44 -06:00
Vincent Salucci 4853fb3e29
[Send] Add/Edit functionality (#1622)
* Update jslib (0951424 -> 1968dbf)

* [Send] Browser integration initial commit

* Update jslib (1968dbf -> 8a3b551)

* Cleaned up integration

* added radio button style support // updated warning UI/UX

* Update jslib (8a3b551 ->42348e2)
2021-02-23 15:37:55 -06:00