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
|
||||
[color]="color"
|
||||
[style.background-color]="color"
|
||||
role="heading"
|
||||
aria-level="1">
|
||||
[style.background-color]="color">
|
||||
<button
|
||||
*ngIf="showSidenavToggle && position === 'start'"
|
||||
id="adf-sidebar-toggle-start"
|
||||
@@ -26,7 +24,7 @@
|
||||
/>
|
||||
</a>
|
||||
|
||||
<span
|
||||
<h1
|
||||
role="link"
|
||||
[attr.aria-label]="title | translate"
|
||||
[routerLink]="redirectUrl"
|
||||
@@ -34,7 +32,7 @@
|
||||
fxShow
|
||||
fxHide.lt-sm="true"
|
||||
class="adf-app-title"
|
||||
>{{ title }}</span>
|
||||
>{{ title }}</h1>
|
||||
<ng-content></ng-content>
|
||||
|
||||
<button
|
||||
|
Reference in New Issue
Block a user