Skip to content

Commit

Permalink
[ACS-4274] Add role heading and aria level in header template (#8192)
Browse files Browse the repository at this point in the history
* [ACS-4274] Add role heading and aria level in header template

* [ACS-4274] add link role

* Added header tag to title
  • Loading branch information
rbahirsheth authored Feb 3, 2023
1 parent 49c6cb5 commit e59176d
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -26,15 +24,15 @@
/>
</a>

<span
<h1
role="link"
[attr.aria-label]="title | translate"
[routerLink]="redirectUrl"
fxFlex="1 1 auto"
fxShow
fxHide.lt-sm="true"
class="adf-app-title"
>{{ title }}</span>
>{{ title }}</h1>
<ng-content></ng-content>

<button
Expand Down

0 comments on commit e59176d

Please sign in to comment.