Skip to content

Commit 7dee14d

Browse files
committed
real world example
1 parent fbd08b6 commit 7dee14d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/demo-app/a11y/grid-list/grid-list-a11y.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ <h2>Grid list with header and footer</h2>
3232
<md-grid-list cols="3" rowHeight="200px">
3333
<md-grid-tile *ngFor="let dog of dogs">
3434
<md-grid-tile-header>{{dog.name}}</md-grid-tile-header>
35-
<img [alt]="dog.name" src="https://material.angularjs.org/material2_assets/ngconf/{{dog.name}}.png">
35+
<img alt="Photo of {{dog.name}}" src="https://material.angularjs.org/material2_assets/ngconf/{{dog.name}}.png">
3636
<md-grid-tile-footer>
3737
<span md-line>Human: {{dog.human}}</span>
3838
<md-icon>star_border</md-icon>

src/demo-app/a11y/grid-list/grid-list-a11y.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ export class GridListAccessibilityDemo {
2121
];
2222

2323
tiles = [
24-
{text: 'One', cols: 3, rows: 1, color: 'lightblue'},
25-
{text: 'Two', cols: 1, rows: 2, color: 'lightgreen'},
26-
{text: 'Three', cols: 1, rows: 1, color: 'lightpink'},
27-
{text: 'Four', cols: 2, rows: 1, color: '#DDBDF1'},
24+
{text: 'Cappuccino', cols: 3, rows: 1, color: 'lightblue'},
25+
{text: 'Mocha', cols: 1, rows: 2, color: 'lightgreen'},
26+
{text: 'Latte', cols: 1, rows: 1, color: 'lightpink'},
27+
{text: 'Iced coffee', cols: 2, rows: 1, color: '#DDBDF1'},
2828
];
2929

3030
fixedCols = 4;

0 commit comments

Comments
 (0)