From e992d9dd6f3bb2c37b2a6bccea300c61cf269545 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Wed, 4 Feb 2026 13:49:15 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Enhance=20accessibili?= =?UTF-8?q?ty=20and=20UX=20in=20Login=20and=20Chat=20views?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Added aria-hidden="true" to decorative icons in Login and Chat views. - Added visually hidden labels for email and chat inputs using the 'sr-only' class. - Linked error messages in LoginView with aria-describedby and role="alert". - Implemented aria-expanded and aria-controls for collapsible citation sections in ChatView. - Added aria-live="polite" to the loading indicator in ChatView. - Recorded accessibility learnings in .Jules/palette.md. Co-authored-by: BenjaminWie <54136562+BenjaminWie@users.noreply.github.com> --- .Jules/palette.md | 3 +++ components/ChatView.tsx | 26 ++++++++++++++++++-------- components/LoginView.tsx | 14 ++++++++++++-- 3 files changed, 33 insertions(+), 10 deletions(-) create mode 100644 .Jules/palette.md diff --git a/.Jules/palette.md b/.Jules/palette.md new file mode 100644 index 0000000..d0e4e9d --- /dev/null +++ b/.Jules/palette.md @@ -0,0 +1,3 @@ +## 2024-05-22 - [Accessibility in Forms and Collapsibles] +**Learning:** Inputs using only placeholders are inaccessible to screen readers. Always provide a `