From 4d46338a4bc43a64131b501abf2425afb526d21a Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 1 Apr 2019 22:43:42 -0400 Subject: [PATCH] a11y titles --- jslib | 2 +- src/app/accounts/environment.component.html | 2 +- src/app/accounts/lock.component.html | 11 +++---- src/app/accounts/login.component.html | 4 +-- src/app/accounts/premium.component.html | 2 +- src/app/accounts/register.component.html | 8 ++--- src/app/app.module.ts | 2 ++ src/app/vault/add-edit.component.html | 31 ++++++++++--------- src/app/vault/attachments.component.html | 5 +-- src/app/vault/ciphers.component.html | 2 +- src/app/vault/collections.component.html | 3 +- src/app/vault/export.component.html | 4 +-- src/app/vault/folder-add-edit.component.html | 5 +-- src/app/vault/groupings.component.html | 17 +++++----- .../password-generator-history.component.html | 5 +-- .../vault/password-generator.component.html | 2 +- src/app/vault/password-history.component.html | 2 +- src/app/vault/share.component.html | 2 +- src/app/vault/view.component.html | 29 ++++++++--------- 19 files changed, 73 insertions(+), 65 deletions(-) diff --git a/jslib b/jslib index 2ef1b7d6..6ac67935 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 2ef1b7d65c02f7f204a0bb5a46c28aa093be274d +Subproject commit 6ac679355ddfe045e2aca9bb469d5b7e82811371 diff --git a/src/app/accounts/environment.component.html b/src/app/accounts/environment.component.html index b653e1e0..370ef3a2 100644 --- a/src/app/accounts/environment.component.html +++ b/src/app/accounts/environment.component.html @@ -54,7 +54,7 @@
- +
diff --git a/src/app/accounts/premium.component.html b/src/app/accounts/premium.component.html index 9ec4c65e..1046cffc 100644 --- a/src/app/accounts/premium.component.html +++ b/src/app/accounts/premium.component.html @@ -57,7 +57,7 @@
diff --git a/src/app/accounts/register.component.html b/src/app/accounts/register.component.html index d45abf44..02444787 100644 --- a/src/app/accounts/register.component.html +++ b/src/app/accounts/register.component.html @@ -23,8 +23,8 @@ [appAutofocus]="email !== ''" (input)="updatePasswordStrength()">
- + @@ -50,8 +50,8 @@ name="MasterPasswordRetype" class="monospaced" [(ngModel)]="confirmMasterPassword" required>
- +
diff --git a/src/app/app.module.ts b/src/app/app.module.ts index d9e6c1af..a1f3f2f6 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -30,6 +30,7 @@ import { TwoFactorComponent } from './accounts/two-factor.component'; import { IconComponent } from 'jslib/angular/components/icon.component'; import { ModalComponent } from 'jslib/angular/components/modal.component'; +import { A11yTitleDirective } from 'jslib/angular/directives/a11y-title.directive'; import { ApiActionDirective } from 'jslib/angular/directives/api-action.directive'; import { AutofocusDirective } from 'jslib/angular/directives/autofocus.directive'; import { BlurClickDirective } from 'jslib/angular/directives/blur-click.directive'; @@ -142,6 +143,7 @@ registerLocaleData(localeZhTw, 'zh-TW'); DragDropModule, ], declarations: [ + A11yTitleDirective, AddEditComponent, ApiActionDirective, AppComponent, diff --git a/src/app/vault/add-edit.component.html b/src/app/vault/add-edit.component.html index 30f56be4..064e0e83 100644 --- a/src/app/vault/add-edit.component.html +++ b/src/app/vault/add-edit.component.html @@ -32,18 +32,18 @@
+ appA11yTitle="{{'toggleVisibility' | i18n}}" (click)="togglePassword()"> + appA11yTitle="{{'generatePassword' | i18n}}" (click)="generatePassword()">
@@ -90,7 +90,7 @@
+ appA11yTitle="{{'toggleVisibility' | i18n}}" (click)="toggleCardCode()"> @@ -193,7 +193,7 @@
- +
@@ -210,8 +210,8 @@
@@ -265,7 +265,7 @@
- + @@ -284,12 +284,12 @@ falseValue="false"> -
+
@@ -338,20 +338,21 @@
+ appA11yTitle="{{'toggleVisibility' | i18n}}" (click)="togglePassword()"> @@ -37,7 +37,7 @@