mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
docs: fix accessibility of @empty block message
(cherry picked from commit 202fceed73)
This commit is contained in:
parent
38606bb99a
commit
00a996dd12
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue