mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACS-4274] Add role heading and aria level in header template (#8192)
* [ACS-4274] Add role heading and aria level in header template * [ACS-4274] add link role * Added header tag to title
This commit is contained in:
committed by
GitHub
parent
49c6cb5ad3
commit
e59176d393
@@ -1,8 +1,6 @@
|
|||||||
<mat-toolbar
|
<mat-toolbar
|
||||||
[color]="color"
|
[color]="color"
|
||||||
[style.background-color]="color"
|
[style.background-color]="color">
|
||||||
role="heading"
|
|
||||||
aria-level="1">
|
|
||||||
<button
|
<button
|
||||||
*ngIf="showSidenavToggle && position === 'start'"
|
*ngIf="showSidenavToggle && position === 'start'"
|
||||||
id="adf-sidebar-toggle-start"
|
id="adf-sidebar-toggle-start"
|
||||||
@@ -26,7 +24,7 @@
|
|||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<span
|
<h1
|
||||||
role="link"
|
role="link"
|
||||||
[attr.aria-label]="title | translate"
|
[attr.aria-label]="title | translate"
|
||||||
[routerLink]="redirectUrl"
|
[routerLink]="redirectUrl"
|
||||||
@@ -34,7 +32,7 @@
|
|||||||
fxShow
|
fxShow
|
||||||
fxHide.lt-sm="true"
|
fxHide.lt-sm="true"
|
||||||
class="adf-app-title"
|
class="adf-app-title"
|
||||||
>{{ title }}</span>
|
>{{ title }}</h1>
|
||||||
<ng-content></ng-content>
|
<ng-content></ng-content>
|
||||||
|
|
||||||
<button
|
<button
|
||||||
|
Reference in New Issue
Block a user