3
3
< h2 > Seasoning </ h2 >
4
4
< p > Showing a non-interactive list of seasonings.</ p >
5
5
< mat-list role ="list ">
6
- < mat-list-item *ngFor ="let item of items "> {{item}} </ mat-list-item >
6
+ < mat-list-item role =" listitem " *ngFor ="let item of items "> {{item}} </ mat-list-item >
7
7
</ mat-list >
8
8
</ section >
9
9
@@ -26,7 +26,7 @@ <h2>Messages</h2>
26
26
message subject, and content of the message.
27
27
</ p >
28
28
< mat-list role ="list ">
29
- < mat-list-item *ngFor ="let message of messages ">
29
+ < mat-list-item role =" listitem " *ngFor ="let message of messages ">
30
30
< img mat-list-avatar [src] ="message.image " [alt] ="message.from ">
31
31
< h3 mat-line > {{message.from}} </ h3 >
32
32
< p mat-line > {{message.subject}} </ p >
@@ -39,8 +39,8 @@ <h3 mat-line> {{message.from}} </h3>
39
39
< section >
40
40
< h2 > Seasoning</ h2 >
41
41
< p > Showing a non-interactive list of seasonings with dense style.</ p >
42
- < mat-list dense >
43
- < mat-list-item *ngFor ="let item of items "> {{item}} </ mat-list-item >
42
+ < mat-list role =" list " dense >
43
+ < mat-list-item role =" listitem " *ngFor ="let item of items "> {{item}} </ mat-list-item >
44
44
</ mat-list >
45
45
</ section >
46
46
@@ -49,14 +49,14 @@ <h2>Folders and notes for mailbox </h2>
49
49
< p > Showing a list with two sections, "folders" and "notes".</ p >
50
50
< mat-list role ="list ">
51
51
< h3 mat-subheader > Folders</ h3 >
52
- < mat-list-item *ngFor ="let folder of folders ">
52
+ < mat-list-item role =" listitem " *ngFor ="let folder of folders ">
53
53
< mat-icon mat-list-icon > folder</ mat-icon >
54
54
< h4 mat-line > {{folder.name}}</ h4 >
55
55
< p mat-line class ="demo-secondary-text "> {{folder.updated}} </ p >
56
56
</ mat-list-item >
57
57
< mat-divider > </ mat-divider >
58
58
< h3 mat-subheader > Notes</ h3 >
59
- < mat-list-item *ngFor ="let note of notes ">
59
+ < mat-list-item role =" listitem " *ngFor ="let note of notes ">
60
60
< mat-icon mat-list-icgon > note</ mat-icon >
61
61
< h4 mat-line > {{note.name}}</ h4 >
62
62
< p mat-line class ="demo-secondary-text "> {{note.updated}} </ p >
0 commit comments