docs: fix accessibility of @empty block message

(cherry picked from commit 202fceed73)
This commit is contained in:
idembele70 2025-10-25 21:05:54 +02:00 committed by Kristiyan Kostadinov
parent 38606bb99a
commit 00a996dd12

View file

@ -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>
}
```