mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
add sidebar button aria-expanded attribute (#5120)
This commit is contained in:
committed by
Denys Vuika
parent
e550be6c25
commit
922a85935e
@@ -13,6 +13,7 @@
|
||||
<ng-container *ngIf="allowLeftSidebar">
|
||||
<button
|
||||
mat-icon-button
|
||||
[attr.aria-expanded]="showLeftSidebar"
|
||||
title="{{ 'ADF_VIEWER.ACTIONS.INFO' | translate }}"
|
||||
data-automation-id="adf-toolbar-left-sidebar"
|
||||
[color]="showLeftSidebar ? 'accent' : 'default'"
|
||||
@@ -105,6 +106,7 @@
|
||||
|
||||
<button
|
||||
mat-icon-button
|
||||
[attr.aria-expanded]="showRightSidebar"
|
||||
title="{{ 'ADF_VIEWER.ACTIONS.INFO' | translate }}"
|
||||
data-automation-id="adf-toolbar-sidebar"
|
||||
[color]="showRightSidebar ? 'accent' : 'default'"
|
||||
|
Reference in New Issue
Block a user