mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
81901: Add aria-expanded attribute to expandable items
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
value: ((expanded | async) ? 'endBackground' : 'startBackground'),
|
||||
params: {endColor: (sidebarActiveBg | async)}}">
|
||||
<a class="nav-item nav-link d-flex flex-row flex-nowrap"
|
||||
attr.aria-labelledby="sidebarName-{{section.id}}"
|
||||
[attr.aria-labelledby]="'sidebarName-' + section.id"
|
||||
[attr.aria-expanded]="expanded | async"
|
||||
[title]="('menu.section.icon.' + section.id) | translate"
|
||||
(click)="toggleSection($event)"
|
||||
(keyup.space)="$event.stopPropagation(); toggleSection($event)"
|
||||
|
Reference in New Issue
Block a user