Commit Graph

55 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
Thomas Rittson 4607e9d0ba
Fix alignment of box content (#2471) 2022-03-29 06:17:01 +10:00
Melanie Kanavakatini 8f76e81582
feat: add hidden char count toggle (#1780)
Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
2022-02-23 21:11:09 -06: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 df0e7d1ec0
Merge branch 'master' into patrickhlauke-issue1984 2021-12-19 14:43:37 +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 557dd8f68d View entry: add labels to readonly fields, expand aria-label for repeated toggles
Closes https://github.com/bitwarden/browser/issues/1984
2021-12-16 13:41:57 +00:00
Patrick H. Lauke c8fc7ee6fc Add basic heading markup 2021-11-02 22:41:17 +00:00
Thomas Rittson bbcbcf2b40
Fix breaking typo (#2099) 2021-10-05 08:41:21 +10:00
Patrick H. Lauke 03b60d17bb Change CRLF to LF 2021-10-01 14:55:53 +01:00
Patrick H. Lauke f359a1c2be Merge branch 'master' into patrickhlauke-a11y-patch2 2021-09-28 19:50:11 +01:00
Thomas Rittson 10734fc024
Move custom fields to separate components (#2072)
* Move add-edit custom fields to own component

* Fix linting and mistakes

* Update directive

* Removed linked fields work

* Move view custom fields to own component

* Remove unnecessary imports

* Wrap template in ng-container

* Update jslib

* Fix imports
2021-09-21 10:49:05 +10: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
Matt Gibson 2be717d0fb
Redefine cipher "share" to "move to organization" (#1903)
* Redefine cipher "share" to "move to organization"

* PR review

* update jslib
2021-06-22 15:44:06 -05:00
Oscar Hinton cdc71dd661
Password reprompt (#1784)
* Add support for password reprompt

* Rename passwordPrompt to reprompt.

* Move showPasswordDialog to paltformutils

* Fix swal2 validation error styling

* Group imports

* Update src/_locales/en/messages.json

Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
2021-05-03 20:56:38 +02:00
Thomas Rittson ced6d57f93 Hide autofill buttons for certain cipher types 2021-03-19 11:07:22 +10:00
Matt Gibson 0cd6efd67f
Move share from edit to view. Fix animations (#1497)
* Move share from edit to view. Fix animations

Editing and Sharing a cipher simultaneously results in lost edits. Move
share button to the view page to resolve this confusion.

Previous routing caused the share form to be animated again on
submition, resulting in a stuttering page load. This method correctly
animates all transitions with the concession that the share page
always takes you back to the view page. This is not necessarily the current
behavior, but it is the most likely behavior in the current scheme

* Update jslib reference
2020-12-17 11:06:31 -06:00
Kyle Spearrin b7c2c76230
finish autofill from view, other misc cleanup (#1368)
* finish autofill from view, other misc cleanup

* compare hostnames for authResult
2020-08-24 10:17:15 -04:00
eliykat d4d5ccc4a4
“Autofill” and “Autofill and Save” buttons for the browser extension Vault (#1367)
* Add autofill button to View cipher screen in Vault

* Add Autofill and Save button to View screen in Vault

* disable Vault Autofill buttons in popout

* tidy up 'autofill from vault' features as per feedback in PR #1367

Includes:
- remove duplicate code
- better handling of error and success messages
2020-08-24 09:10:15 -04:00
K. Sasa 4a35930e2d
Consistent: Replaced the clipboard icon with a clone icon to improve UX (#1344)
* Replace clone item button fa-clone to fa-files-o

* Replace copy value button fa-clipboard to fa-clone
2020-07-27 13:22:56 -04:00
Matt Smith ccd7af1a44 Modified url to display port where applicable. 2020-07-14 11:51:07 -05:00
Addison Beck 73bff85752 Changed a few disabled fields to readonly for keyboard focus 2020-07-08 14:26:32 -05:00
Addison Beck 0ad533d1a0 Addressed issue #1269 2020-07-08 10:54:47 -05:00
Hinton 954d78a46e Merge branch 'master' of https://github.com/bitwarden/browser into feature/hidden-password 2020-06-11 20:35:30 +02:00
hinton d88ed609aa Disable TOTP field, disable edit and show of hidden fields. 2020-06-03 21:25:55 +02:00
Kyle Spearrin bd6a5ceccd
fix null ref of cipher.isDeleted (#1275) 2020-06-01 10:30:39 -04:00
hinton 5e4259db38 Add support for hidden password 2020-05-24 19:59:49 +02:00
Chad Scharf 35235a9c30 [Soft delete] - fixed borders, spacing for buttons 2020-04-13 11:56:37 -04:00
Chad Scharf 4116302965 [Soft Delete] - Trash bin in browser extension 2020-04-13 10:26:11 -04:00
Vincent Salucci c57340c4f3
Implement personal item cloning capability (#1129)
* Initial pass of clone item

* Updated npm sub:pull script to include target branches

* Made requested changes

* Formatting changes

* Fixed lint warnings
2020-02-04 16:08:13 -05:00
Veit-Hendrik Schlenker ee19100af4 Enabled drag of username, password and totp in browser extension (#1044)
* enabled drag of username, password and totp in browser extension

* Start drag only on row label
2019-10-24 20:05:20 -04:00
Kyle Spearrin 60f6863e4f a11y work 2019-10-08 17:04:44 -04:00
Kyle Spearrin 1fece3079f event logging on view page 2019-07-09 13:56:17 -04:00
Kyle Spearrin 0c3c6857a5 full address part 2 2019-04-29 10:13:38 -04:00
Kyle Spearrin 3e03a4f429 dont need select copy on masked password 2019-04-01 13:27:48 -04:00
Kyle Spearrin e895dd31c8 dont use flex for password-wrapper positioning. 2019-04-01 13:19:00 -04:00
Kyle Spearrin 1acb3d1117 pre-wrap notes field 2019-03-28 16:29:20 -04:00
Kyle Spearrin 44af1ccc45 format html files 2019-02-21 16:53:57 -05:00
Kyle Spearrin 7b395ba4ff notes white-space is pre-line 2019-02-11 22:16:28 -05:00
Kyle Spearrin 4f222e7962 apply flexCopy directive 2019-01-23 16:27:12 -05:00
Kyle Spearrin ca2bba5fb6 show whitespace for hidden fields 2018-12-20 23:01:17 -05:00
Kyle Spearrin 6c22919bd9 colorized passwords 2018-12-08 14:00:18 -05:00
Kyle Spearrin f8d6c53142 show attachments belonging to org cipher as well 2018-11-16 07:45:26 -05:00
Kyle Spearrin 6e39111217 allow attachments if can access premium 2018-08-29 09:21:38 -04:00
Kyle Spearrin 50c94f587d implement notifications service 2018-08-20 17:40:39 -04:00
Kyle Spearrin 55dab2cdba move updated and password history to box footer 2018-07-30 22:12:09 -04:00
Kyle Spearrin 8737f76edc updated dates and password history 2018-07-30 10:54:38 -04:00
Kyle Spearrin 975913fee0 cant download attachments on edge 2018-07-24 23:23:44 -04:00
Kyle Spearrin f14b4b89b9 toggle card code on add/edit 2018-06-18 17:25:22 -04:00