diff --git a/.jules/palette.md b/.jules/palette.md new file mode 100644 index 0000000..ebb4ffd --- /dev/null +++ b/.jules/palette.md @@ -0,0 +1,3 @@ +## 2024-04-27 - Icon-only buttons lacking ARIA labels +**Learning:** Found multiple instances where icon-only buttons (like those using `×` to denote close actions) were missing `aria-label` attributes in `src/app/page.tsx` for modals like Privacy Policy, Terms of Service, and Report Issue. This makes them inaccessible to screen readers as the entity `×` provides no semantic meaning. +**Action:** Always verify that interactive elements, especially those lacking visible descriptive text, include appropriate `aria-label` or `aria-labelledby` attributes to ensure screen reader accessibility. diff --git a/src/app/page.tsx b/src/app/page.tsx index 9201420..b04c14d 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -440,7 +440,7 @@ export default function LandingPage() { Scroll to read all sections

- +

Last updated: January 2025

@@ -502,7 +502,7 @@ export default function LandingPage() { Scroll to read all sections

- +

Last updated: January 2025

@@ -569,7 +569,7 @@ export default function LandingPage() {

Report an Issue

Help us improve OpenCitation

- +
{/* Choice Screen */}