mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 09:13:33 +00:00
[PS-1222] Remove appBlurClick throughout the popup and web code (#3208)
* Remove appBlurClick throughout the popup code `appBlurClick` leads to focus being lost/reset for assistive technology users. It should not be necessary in any case - if focus does need to move after an action, explicitly set it somewhere programmatically using `focus()` rather than relying on browser heuristics * Remove now redundant blur-click directive
This commit is contained in:
@@ -26,26 +26,19 @@
|
||||
>
|
||||
<button
|
||||
appStopClick
|
||||
appBlurClick
|
||||
(click)="selectAllVaults()"
|
||||
[ngClass]="{ active: !myVaultOnly && !selectOrganizationId }"
|
||||
>
|
||||
<i class="bwi bwi-fw bwi-filter" aria-hidden="true"></i>
|
||||
{{ "allVaults" | i18n }}
|
||||
</button>
|
||||
<button
|
||||
*ngIf="!enforcePersonalOwnwership"
|
||||
appStopClick
|
||||
appBlurClick
|
||||
(click)="selectMyVault()"
|
||||
>
|
||||
<button *ngIf="!enforcePersonalOwnwership" appStopClick (click)="selectMyVault()">
|
||||
<i class="bwi bwi-fw bwi-user" aria-hidden="true"></i>
|
||||
{{ "myVault" | i18n }}
|
||||
</button>
|
||||
<button
|
||||
*ngFor="let organization of organizations"
|
||||
appStopClick
|
||||
appBlurClick
|
||||
(click)="selectOrganization(organization)"
|
||||
>
|
||||
<i
|
||||
|
||||
Reference in New Issue
Block a user