mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[ACS-10321] SR: Personal Files:When navigating the breadcrumb with arrow keys, a button announced as 'dropdown' (#11262)
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -660,8 +660,8 @@
|
||||
},
|
||||
"BREADCRUMB": {
|
||||
"ARIA-LABEL": {
|
||||
"BREADCRUMB": "Breadcrumb",
|
||||
"DROPDOWN": "Dropdown"
|
||||
"BREADCRUMB": "Breadcrumb navigation",
|
||||
"DROPDOWN": "Open breadcrumb menu for {{folderName}}"
|
||||
},
|
||||
"HEADER": {
|
||||
"SELECTED": "Selected ({{ count }})"
|
||||
|
||||
Reference in New Issue
Block a user