mirror of
https://github.com/bitwarden/browser
synced 2025-12-23 19:53:43 +00:00
add folder name to aria labels for folder edit buttons (#13648)
This commit is contained in:
@@ -281,7 +281,7 @@ export class VaultFilterComponent implements OnInit, OnDestroy {
|
||||
},
|
||||
action: this.applyFolderFilter,
|
||||
edit: {
|
||||
text: "editFolder",
|
||||
filterName: this.i18nService.t("folder"),
|
||||
action: this.editFolder,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
*ngIf="editInfo && f.node.id"
|
||||
class="edit-button"
|
||||
(click)="onEdit(f)"
|
||||
appA11yTitle="{{ editInfo.text | i18n }}"
|
||||
appA11yTitle="{{ 'editWithName' | i18n: editInfo.filterName : f.node.name }}"
|
||||
>
|
||||
<i class="bwi bwi-pencil bwi-fw" aria-hidden="true"></i>
|
||||
</button>
|
||||
|
||||
@@ -31,7 +31,7 @@ export type VaultFilterSection = {
|
||||
};
|
||||
action: (filterNode: TreeNode<VaultFilterType>) => Promise<void>;
|
||||
edit?: {
|
||||
text: string;
|
||||
filterName: string;
|
||||
action: (filter: VaultFilterType) => void;
|
||||
};
|
||||
add?: {
|
||||
|
||||
Reference in New Issue
Block a user