diff --git a/.jules/palette.md b/.jules/palette.md new file mode 100644 index 0000000..d0a8ebc --- /dev/null +++ b/.jules/palette.md @@ -0,0 +1,3 @@ +## 2024-09-08 - Accessible Scrollable Regions and Focus States +**Learning:** Scrollable overflow containers (like tables) require explicit keyboard support (`tabindex="0"`, `role="region"`, `aria-label`) to be accessible. Relying solely on brightness changes for focus states is insufficient for WCAG contrast guidelines. +**Action:** Always add proper ARIA labeling and tabindex to scrollable regions, and use distinct `outline` with `outline-offset` for interactive elements' focus states. diff --git a/site/src/pages/index.astro b/site/src/pages/index.astro index 2402ac3..2da5995 100644 --- a/site/src/pages/index.astro +++ b/site/src/pages/index.astro @@ -25,7 +25,7 @@ const description =
| Setting | Result |
|---|