mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs: fix accessibility of @empty block message
(cherry picked from commit 202fceed73)
This commit is contained in:
committed by
Kristiyan Kostadinov
parent
38606bb99a
commit
00a996dd12
@@ -93,7 +93,7 @@ You can optionally include an `@empty` section immediately after the `@for` bloc
|
||||
@for (item of items; track item.name) {
|
||||
<li> {{ item.name }}</li>
|
||||
} @empty {
|
||||
<li aria-hidden="true"> There are no items. </li>
|
||||
<li> There are no items. </li>
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user