diff --git a/.Jules/palette.md b/.Jules/palette.md index ec1d951..277497d 100644 --- a/.Jules/palette.md +++ b/.Jules/palette.md @@ -1,3 +1,7 @@ ## 2024-05-24 - Lightbox ARIA Attributes **Learning:** Adding `role="dialog"`, `aria-modal="true"`, and `aria-label` to custom modal/lightbox overlays ensures screen readers announce them properly instead of just falling back to reading inner content without context. Additionally, toggles that show/hide panels (like the EXIF info button) must use `aria-expanded` and link to the panel via `aria-controls` for proper screen reader communication. **Action:** When building or modifying custom overlays or toggle buttons in the future, always verify that ARIA attributes are set correctly to match the visual behavior. + +## 2024-05-25 - SVG Icon Accessibility +**Learning:** Adding `aria-hidden="true"` to decorative `` icons within interactive elements (like `

{error}

); @@ -162,27 +165,30 @@ export function MapView() { {loading && (
-