add sidebar button aria-expanded attribute (#5120)

This commit is contained in:
Cilibiu Bogdan
2019-10-07 12:18:39 +03:00
committed by Denys Vuika
parent e550be6c25
commit 922a85935e

View File

@@ -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'"