You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* build: enable codelyzer and most default Angular CLI TSLint rules
- do some merging of tslint:recommended and our rules
* fix(a11y): fix theme picker keyboard access
enable Codelyzer a11y rules
Relates to angular#671
* fix(component-overview): header does not show up in headings list
Fixesangular#695
* fix(stack-blitz-button): no accessible label and description is not on correct element
Fixesangular#693
* fix(example-viewer): no accessible label on View source button
Fixesangular#693
* fix(component-sidenav): apply aria-current to selected nav items & improve contrast
- use Roboto font instead of system-ui for `docs-nav-content-btn`s
- use a different background color for selected route, in addition to different text color
- increase opacity of `docs-nav-content-btn`s to meet contrast guidelines
- switch to `mat-nav-list` to get the benefits of better contrast and hover/focus styles
- plus slightly more padding for touch interfaces
Fixesangular#694. Relates to angular#671.
* fix: use header and main tags for more semantic HTML
- improves screen reader support
- footer tags were already properly used
Relates to angular#671.
* fix(component-nav): apply aria-label to navs
- so that they can be differentiated by screen readers
Relates to angular#671.
* fix(component-nav): remove aria-label that duplicates messages
- aria-expanded already covers whether the section can be toggled or not
- the button's text content already covers the accessible name
Relates to angular#671.
* fix(header-link): remove title
- the aria-label is sufficient
Relates to angular#671.
* feat(theme-picker): provide a visual preview of the theme colors via an SVG
* fix(theme-picker,version-picker): add/improve aria-labels and tooltips
Fixesangular#671
* fix: various a11y refinements
- minify theme-demo-icon.svg
- use & instead of / as it reads better on a screen reader
- prefix classes with `docs-`
- tell screen reader users when a theme has been selected
Fixesangular#671
Copy file name to clipboardExpand all lines: material.angular.io/material.angular.io/material.angular.io/material.angular.io/material.angular.io/e2e/src/app.e2e-spec.ts
Copy file name to clipboardExpand all lines: material.angular.io/material.angular.io/material.angular.io/material.angular.io/material.angular.io/package.json
+1-1
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
"start": "yarn build-themes && ng serve",
9
9
"start:jit": "yarn build-themes && ng serve --aot=false",
10
10
"start:prod": "yarn build-themes && ng serve --prod",
Copy file name to clipboardExpand all lines: material.angular.io/material.angular.io/material.angular.io/material.angular.io/material.angular.io/src/app/pages/component-sidenav/_component-sidenav-theme.scss
Copy file name to clipboardExpand all lines: material.angular.io/material.angular.io/material.angular.io/material.angular.io/material.angular.io/src/app/pages/component-sidenav/component-sidenav.html
+5-5
Original file line number
Diff line number
Diff line change
@@ -2,23 +2,23 @@
2
2
<!-- If on small screen, menu resides in drawer -->
Copy file name to clipboardExpand all lines: material.angular.io/material.angular.io/material.angular.io/material.angular.io/material.angular.io/src/app/pages/component-sidenav/component-sidenav.ts
+7-4
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@ import {HttpClientModule} from '@angular/common/http';
Copy file name to clipboardExpand all lines: material.angular.io/material.angular.io/material.angular.io/material.angular.io/material.angular.io/src/app/pages/component-viewer/component-overview.html
+2-2
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
<ng-container*ngIf="componentViewer.componentDocItem | async; let docItem">
Copy file name to clipboardExpand all lines: material.angular.io/material.angular.io/material.angular.io/material.angular.io/material.angular.io/src/app/pages/component-viewer/component-viewer.html
Copy file name to clipboardExpand all lines: material.angular.io/material.angular.io/material.angular.io/material.angular.io/material.angular.io/src/app/pages/component-viewer/component-viewer.ts
+1-1
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ export class ComponentViewer implements OnDestroy {
Copy file name to clipboardExpand all lines: material.angular.io/material.angular.io/material.angular.io/material.angular.io/material.angular.io/src/app/pages/homepage/homepage.html
+2-2
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ <h2> Material Design components for Angular</h2>
Copy file name to clipboardExpand all lines: material.angular.io/material.angular.io/material.angular.io/material.angular.io/material.angular.io/src/app/shared/doc-viewer/doc-viewer.spec.ts
Copy file name to clipboardExpand all lines: material.angular.io/material.angular.io/material.angular.io/material.angular.io/material.angular.io/src/app/shared/doc-viewer/doc-viewer.ts
Copy file name to clipboardExpand all lines: material.angular.io/material.angular.io/material.angular.io/material.angular.io/material.angular.io/src/app/shared/doc-viewer/header-link.ts
+2-6
Original file line number
Diff line number
Diff line change
@@ -17,12 +17,8 @@ import {Router} from '@angular/router';
17
17
@Component({
18
18
selector: 'header-link',
19
19
template: `
20
-
<a
21
-
title="Link to this heading"
22
-
aria-label="Link to this heading"
23
-
class="docs-markdown-a"
24
-
[attr.aria-describedby]="example"
25
-
[href]="_getFragmentUrl()">
20
+
<a aria-label="Link to this heading" class="docs-markdown-a"
Copy file name to clipboardExpand all lines: material.angular.io/material.angular.io/material.angular.io/material.angular.io/material.angular.io/src/app/shared/documentation-items/documentation-items.ts
Copy file name to clipboardExpand all lines: material.angular.io/material.angular.io/material.angular.io/material.angular.io/material.angular.io/src/app/shared/example-viewer/example-viewer.html
0 commit comments