Add `aria-pressed` to URI toggles, remove `appBlurClick` (#2654)

This commit is contained in:
Patrick H. Lauke 2022-05-07 16:53:45 +01:00 committed by GitHub
parent 107ba56fbc
commit 5bd681a6dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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"
>
<i aria-hidden="true" class="bwi bwi-lg bwi-list"></i>
</button>

View File

@ -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"
>
<i aria-hidden="true" class="bwi bwi-lg bwi-list"></i>
</button>
@ -474,9 +474,9 @@
type="button"
class="row-btn"
appStopClick
appBlurClick
appA11yTitle="{{ 'toggleOptions' | i18n }}"
(click)="toggleUriOptions(u)"
[attr.aria-pressed]="u.showOptions === true"
>
<i class="bwi bwi-lg bwi-cog" aria-hidden="true"></i>
</button>