From 57e1bb8d9d4e1d06ef650c7f07d2daf37ca71a13 Mon Sep 17 00:00:00 2001 From: dereklseitz Date: Sun, 7 Sep 2025 17:39:42 -0500 Subject: [PATCH] feat(a11y): Improve accessibility of demo cards - change outer
wrapper to
for improved semantic HTML - add "aria-labelledby" attribute to explicitly link each demo card to its title --- src/demos.njk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/demos.njk b/src/demos.njk index 480bbf5..83ddb6e 100644 --- a/src/demos.njk +++ b/src/demos.njk @@ -8,9 +8,9 @@ isLandingPage: false

A Preview of What's Comming!

{% for demo in demos.DEMOS %} -
+
-

{{ demo.title }}

+

{{ demo.title }}

{{ demo.altText }}

{{ demo.description}}

Business Problem

@@ -24,5 +24,5 @@ isLandingPage: false {% endif %} View Demo's Source Code
-
+
{% endfor %} \ No newline at end of file