Skip to content

Commit 5df31a0

Browse files
committed
chore(docs): minor a11y fix
1 parent cd2c041 commit 5df31a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: src/routes/_index/component/table/+page.marko

+3-3
Original file line numberDiff line numberDiff line change
@@ -2296,7 +2296,7 @@ import imgLandscapePic from "/src/routes/static/img/tb-landscape-pic.jpg";
22962296
</p>
22972297

22982298
<p>
2299-
The loading state should be displayed until the data is fully loaded. In addition to the loading state being set on the table, a progress bar expressive should be added to relay the loading state both visually and for screen readers. The progress bar expressive should be placed inside an a live region, such as <highlight>&lt;div role="status" aria-live="polite"&gt;&lt;/div&gt;</highlight>.
2299+
The loading state should be displayed until the data is fully loaded. In addition to the loading state being set on the table, a progress bar expressive should be added to relay the loading state both visually and for screen readers. The progress bar expressive should be placed inside an a live region, such as <highlight>&lt;div role="status"&gt;&lt;/div&gt;</highlight>.
23002300
</p>
23012301

23022302
<div class="demo">
@@ -2557,7 +2557,7 @@ import imgLandscapePic from "/src/routes/static/img/tb-landscape-pic.jpg";
25572557
</tr>
25582558
</tbody>
25592559
</table>
2560-
<div role="status" aria-live="polite">
2560+
<div role="status">
25612561
<div class="progress-bar-expressive">
25622562
<div
25632563
role="progressbar"
@@ -2714,7 +2714,7 @@ import imgLandscapePic from "/src/routes/static/img/tb-landscape-pic.jpg";
27142714
<puesdo-code-table-tr />
27152715
</tbody>
27162716
</table>
2717-
<div role="status" aria-live="polite">
2717+
<div role="status">
27182718
<div class="progress-bar-expressive">
27192719
<div
27202720
role="progressbar"

0 commit comments

Comments
 (0)