[ACS-10321] SR: Personal Files:When navigating the breadcrumb with arrow keys, a button announced as 'dropdown' (#11262)

This commit is contained in:
dominikiwanekhyland
2025-10-16 09:05:35 +02:00
committed by GitHub
parent dfc65ae45c
commit 5a8088a5ec
2 changed files with 5 additions and 3 deletions
@@ -7,7 +7,9 @@
[tabindex]="hasPreviousNodes() ? 0 : -1"
class="adf-dropdown-breadcrumb-trigger"
(click)="open()"
[attr.aria-label]="'BREADCRUMB.ARIA-LABEL.DROPDOWN' | translate"
[attr.aria-label]="'BREADCRUMB.ARIA-LABEL.DROPDOWN' | translate:{ folderName: currentNode?.name }"
[attr.aria-haspopup]="hasPreviousNodes() ? 'true' : null"
[attr.aria-expanded]="dropdown?.panelOpen || false"
data-automation-id="dropdown-breadcrumb-trigger">
<mat-icon class="adf-dropdown-breadcrumb-icon" [class.adf-isRoot]="!hasPreviousNodes()">folder</mat-icon>
</button>
+2 -2
View File
@@ -660,8 +660,8 @@
},
"BREADCRUMB": {
"ARIA-LABEL": {
"BREADCRUMB": "Breadcrumb",
"DROPDOWN": "Dropdown"
"BREADCRUMB": "Breadcrumb navigation",
"DROPDOWN": "Open breadcrumb menu for {{folderName}}"
},
"HEADER": {
"SELECTED": "Selected ({{ count }})"