Skip to content

Commit 8a4b2de

Browse files
timdeschryverbrandonroberts
authored andcommitted
fix(docs-infra): ARIA roles used must conform to valid values
1 parent ec38181 commit 8a4b2de

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

projects/ngrx.io/src/404-body.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
</mat-toolbar-row>
2222
</mat-toolbar>
2323

24-
<mat-sidenav-container class="sidenav-container mat-drawer-container mat-sidenav-container" role="main">
25-
<mat-sidenav-content class="mat-drawer-content mat-sidenav-content">
26-
<section class="sidenav-content" role="content">
24+
<mat-sidenav-container class="sidenav-container mat-drawer-container mat-sidenav-container">
25+
<mat-sidenav-content class="mat-drawer-content mat-sidenav-content" role="main">
26+
<section class="sidenav-content">
2727
<aio-doc-viewer>
2828
<div class="content">
2929
<div class="nf-container l-flex-wrap flex-center">

projects/ngrx.io/src/app/app.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
<aio-search-results #searchResultsView *ngIf="showSearchResults" [searchResults]="searchResults | async" (resultSelected)="hideSearchResults()"></aio-search-results>
4141

42-
<mat-sidenav-container class="sidenav-container" [class.starting]="isStarting" [class.has-floating-toc]="hasFloatingToc" role="main">
42+
<mat-sidenav-container class="sidenav-container" [class.starting]="isStarting" [class.has-floating-toc]="hasFloatingToc">
4343

4444
<mat-sidenav [ngClass]="{'collapsed': !isSideBySide}" #sidenav class="sidenav" [mode]="mode" [opened]="isOpened" (openedChange)="updateHostClasses()">
4545
<aio-nav-menu *ngIf="!isSideBySide" [nodes]="topMenuNarrowNodes" [currentNode]="currentNodes?.TopBarNarrow" [isWide]="false"></aio-nav-menu>
@@ -50,7 +50,7 @@
5050
</div> -->
5151
</mat-sidenav>
5252

53-
<section class="sidenav-content" [id]="pageId" role="content">
53+
<section class="sidenav-content" [id]="pageId" role="main">
5454
<aio-mode-banner [mode]="deployment.mode" [version]="versionInfo"></aio-mode-banner>
5555
<aio-doc-viewer [class.no-animations]="isStarting"
5656
[doc]="currentDocument"

0 commit comments

Comments
 (0)