forked from ReactiveX/rxjs-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ReactiveX#37 from knittingcodemonkey/a11y_initiative
fix (Component): add accessibility features
- Loading branch information
Showing
2 changed files
with
17 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,26 @@ | ||
<div class="app-fullpage"> | ||
<mat-toolbar color="accent" class="mat-elevation-z6"> | ||
<button mat-icon-button (click)="sidenav.toggle()"> | ||
<mat-icon> | ||
menu | ||
</mat-icon> | ||
</button> | ||
<span class="title"> RxJS Docs </span> | ||
</mat-toolbar> | ||
<header> | ||
<mat-toolbar color="accent" class="mat-elevation-z6"> | ||
<button mat-icon-button (click)="sidenav.toggle()" aria-label="menu"> | ||
<mat-icon> | ||
menu | ||
</mat-icon> | ||
</button> | ||
<span class="title"> RxJS Docs </span> | ||
</mat-toolbar> | ||
</header> | ||
<mat-sidenav-container> | ||
<mat-sidenav #sidenav> | ||
<mat-sidenav #sidenav role="navigation"> | ||
<mat-nav-list (click)="sidenav.toggle()"> | ||
<a *ngFor="let menu of menus" mat-list-item routerLinkActive="active" | ||
[routerLinkActiveOptions]="menu.options" | ||
<a *ngFor="let menu of menus" mat-list-item routerLinkActive="active" | ||
[routerLinkActiveOptions]="menu.options" | ||
[routerLink]="menu.link"> | ||
{{menu.title}} | ||
{{menu.title}} | ||
</a> | ||
</mat-nav-list> | ||
</mat-sidenav> | ||
<div class="body-margin"> | ||
<main class="body-margin"> | ||
<router-outlet></router-outlet> | ||
</div> | ||
</main> | ||
</mat-sidenav-container> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.title { | ||
padding: 0 16px; | ||
font-weight: 600; | ||
} |