1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-09 03:53:53 +00:00

add folder name to aria labels for folder edit buttons (#13648)

This commit is contained in:
Jordan Aasen
2025-03-10 11:11:46 -07:00
committed by GitHub
parent a19bf1687e
commit efd62f1928
6 changed files with 26 additions and 4 deletions

View File

@@ -385,6 +385,15 @@
"editFolder": {
"message": "Edit folder"
},
"editFolderWithName": {
"message": "Edit folder: $FOLDERNAME$",
"placeholders": {
"foldername": {
"content": "$1",
"example": "Social"
}
}
},
"newFolder": {
"message": "New folder"
},

View File

@@ -19,7 +19,7 @@
slot="end"
type="button"
(click)="openAddEditFolderDialog(folder)"
[appA11yTitle]="'editFolder' | i18n"
[appA11yTitle]="'editFolderWithName' | i18n: folder.name"
bitIconButton="bwi-pencil-square"
class="tw-self-end"
data-testid="edit-folder-button"