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">
|
<ng-container *ngIf="allowLeftSidebar">
|
||||||
<button
|
<button
|
||||||
mat-icon-button
|
mat-icon-button
|
||||||
|
[attr.aria-expanded]="showLeftSidebar"
|
||||||
title="{{ 'ADF_VIEWER.ACTIONS.INFO' | translate }}"
|
title="{{ 'ADF_VIEWER.ACTIONS.INFO' | translate }}"
|
||||||
data-automation-id="adf-toolbar-left-sidebar"
|
data-automation-id="adf-toolbar-left-sidebar"
|
||||||
[color]="showLeftSidebar ? 'accent' : 'default'"
|
[color]="showLeftSidebar ? 'accent' : 'default'"
|
||||||
@@ -105,6 +106,7 @@
|
|||||||
|
|
||||||
<button
|
<button
|
||||||
mat-icon-button
|
mat-icon-button
|
||||||
|
[attr.aria-expanded]="showRightSidebar"
|
||||||
title="{{ 'ADF_VIEWER.ACTIONS.INFO' | translate }}"
|
title="{{ 'ADF_VIEWER.ACTIONS.INFO' | translate }}"
|
||||||
data-automation-id="adf-toolbar-sidebar"
|
data-automation-id="adf-toolbar-sidebar"
|
||||||
[color]="showRightSidebar ? 'accent' : 'default'"
|
[color]="showRightSidebar ? 'accent' : 'default'"
|
||||||
|
Reference in New Issue
Block a user