diff --git a/.jules/palette.md b/.jules/palette.md new file mode 100644 index 0000000..743c617 --- /dev/null +++ b/.jules/palette.md @@ -0,0 +1,3 @@ +## 2023-10-24 - Explicit ARIA Labels for Responsive Text +**Learning:** When using responsive buttons or links where visible text is hidden on smaller screens via Tailwind classes (e.g., `hidden lg:inline`), the interactive element loses its accessible name on those viewports, causing screen reader confusion. Additionally, raw material icons inside these elements are read out if not masked. +**Action:** Always add an explicit `aria-label` attribute to the parent interactive element (` @@ -116,11 +116,11 @@

Input

Generated Output

- -
diff --git a/dashboard.html b/dashboard.html index a73dccc..a1ae9e9 100644 --- a/dashboard.html +++ b/dashboard.html @@ -147,13 +147,13 @@

Generated Ou
- -
diff --git a/glassui.html b/glassui.html index 700dc49..18f82d3 100644 --- a/glassui.html +++ b/glassui.html @@ -147,9 +147,9 @@

+ @@ -206,11 +206,11 @@

Generated Ou
- -