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"
|
[tabindex]="hasPreviousNodes() ? 0 : -1"
|
||||||
class="adf-dropdown-breadcrumb-trigger"
|
class="adf-dropdown-breadcrumb-trigger"
|
||||||
(click)="open()"
|
(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">
|
data-automation-id="dropdown-breadcrumb-trigger">
|
||||||
<mat-icon class="adf-dropdown-breadcrumb-icon" [class.adf-isRoot]="!hasPreviousNodes()">folder</mat-icon>
|
<mat-icon class="adf-dropdown-breadcrumb-icon" [class.adf-isRoot]="!hasPreviousNodes()">folder</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
@@ -660,8 +660,8 @@
|
|||||||
},
|
},
|
||||||
"BREADCRUMB": {
|
"BREADCRUMB": {
|
||||||
"ARIA-LABEL": {
|
"ARIA-LABEL": {
|
||||||
"BREADCRUMB": "Breadcrumb",
|
"BREADCRUMB": "Breadcrumb navigation",
|
||||||
"DROPDOWN": "Dropdown"
|
"DROPDOWN": "Open breadcrumb menu for {{folderName}}"
|
||||||
},
|
},
|
||||||
"HEADER": {
|
"HEADER": {
|
||||||
"SELECTED": "Selected ({{ count }})"
|
"SELECTED": "Selected ({{ count }})"
|
||||||
|
|||||||
Reference in New Issue
Block a user