diff --git a/.Jules/palette.md b/.Jules/palette.md index b82cfc3..a4a0620 100644 --- a/.Jules/palette.md +++ b/.Jules/palette.md @@ -1,3 +1,6 @@ ## 2024-04-25 - [Semantic HTML for Dashboard Cards] **Learning:** Found an accessibility issue pattern specific to this app where dashboard navigation cards were created using `
` tags with `onclick` handlers, relying on JavaScript for navigation. This breaks native keyboard navigation, screen reader support, and standard browser actions (like opening in a new tab). Also, using `alt` text identical to visible text in cards causes redundant screen reader announcements. -**Action:** Always prefer semantic HTML elements (like `` for navigation links) over `
`s with JavaScript handlers. For images in links where the link text already describes the destination, use `alt=""` for the image. Ensure interactive elements have distinct focus states using `:focus-visible`. \ No newline at end of file +**Action:** Always prefer semantic HTML elements (like `` for navigation links) over `
`s with JavaScript handlers. For images in links where the link text already describes the destination, use `alt=""` for the image. Ensure interactive elements have distinct focus states using `:focus-visible`. +## 2024-07-05 - [Add missing aria-label attributes to placeholder-reliant forms] +**Learning:** Found an accessibility issue pattern specific to this app where many forms heavily rely on `placeholder` attributes instead of visible `