From 5bd681a6dd4da6bfa9481017c649237605af69d9 Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Sat, 7 May 2022 16:53:45 +0100 Subject: [PATCH] Add `aria-pressed` to URI toggles, remove `appBlurClick` (#2654) --- .../src/popup/settings/excluded-domains.component.html | 2 +- apps/browser/src/popup/vault/add-edit.component.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/browser/src/popup/settings/excluded-domains.component.html b/apps/browser/src/popup/settings/excluded-domains.component.html index 8353be2e85..2d44de3d92 100644 --- a/apps/browser/src/popup/settings/excluded-domains.component.html +++ b/apps/browser/src/popup/settings/excluded-domains.component.html @@ -61,9 +61,9 @@ *ngIf="currentUris && currentUris.length" class="row-btn" appStopClick - appBlurClick appA11yTitle="{{ 'toggleCurrentUris' | i18n }}" (click)="toggleUriInput(domain)" + [attr.aria-pressed]="domain.showCurrentUris === true" > diff --git a/apps/browser/src/popup/vault/add-edit.component.html b/apps/browser/src/popup/vault/add-edit.component.html index c856083f4d..9876da114c 100644 --- a/apps/browser/src/popup/vault/add-edit.component.html +++ b/apps/browser/src/popup/vault/add-edit.component.html @@ -464,9 +464,9 @@ *ngIf="currentUris && currentUris.length" class="row-btn" appStopClick - appBlurClick appA11yTitle="{{ 'toggleCurrentUris' | i18n }}" (click)="toggleUriInput(u)" + [attr.aria-pressed]="u.showCurrentUris === true" > @@ -474,9 +474,9 @@ type="button" class="row-btn" appStopClick - appBlurClick appA11yTitle="{{ 'toggleOptions' | i18n }}" (click)="toggleUriOptions(u)" + [attr.aria-pressed]="u.showOptions === true" >