-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(list): fix role for list-item (#8767)
- Loading branch information
1 parent
5210b3e
commit 8f7c7cf
Showing
4 changed files
with
11 additions
and
12 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
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
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
6 changes: 3 additions & 3 deletions
6
src/material-examples/list-overview/list-overview-example.html
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,5 +1,5 @@ | ||
<mat-list role="list"> | ||
<mat-list-item>Item 1</mat-list-item> | ||
<mat-list-item>Item 2</mat-list-item> | ||
<mat-list-item>Item 3</mat-list-item> | ||
<mat-list-item role="listitem">Item 1</mat-list-item> | ||
<mat-list-item role="listitem">Item 2</mat-list-item> | ||
<mat-list-item role="listitem">Item 3</mat-list-item> | ||
</mat-list> |