From 43cbcf6448b53b5339b1fcb6fa8b20de41810641 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sat, 10 Jan 2026 20:48:40 +0000 Subject: [PATCH 1/3] feat: add keyboard shortcut for search and accessibility label - Added `/` and `Ctrl+K` keyboard shortcuts to focus search input - Added visually hidden label for search input for better accessibility - Added visual keyboard hint to search bar on desktop - Added `.sr-only` utility class --- .Jules/palette.md | 3 + index.html | 352 +++++++++++++++++++++++---------------------- js/uiController.js | 22 +++ styles.css | 40 ++++++ 4 files changed, 242 insertions(+), 175 deletions(-) create mode 100644 .Jules/palette.md diff --git a/.Jules/palette.md b/.Jules/palette.md new file mode 100644 index 0000000..68c839b --- /dev/null +++ b/.Jules/palette.md @@ -0,0 +1,3 @@ +## 2026-01-10 - Search Keyboard Shortcut & Accessibility +**Learning:** Users often rely on standard keyboard shortcuts like `/` or `Ctrl+K` for search, but visual cues are essential for discoverability. Adding a `.sr-only` label significantly improves accessibility for screen readers without altering the visual design. +**Action:** When implementing search features, always include a proper label (even if visually hidden) and consider adding standard keyboard shortcuts with visual hints for desktop users. \ No newline at end of file diff --git a/index.html b/index.html index 3966a00..8d05b1e 100644 --- a/index.html +++ b/index.html @@ -1,175 +1,177 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - -| Course Code | -SEC | -Faculty | -Faculty Info | -Schedule | -Lab Schedule | -Available | -Booked | -Capacity | -Exam Date | -Room | -
|---|
| Course Code | +SEC | +Faculty | +Faculty Info | +Schedule | +Lab Schedule | +Available | +Booked | +Capacity | +Exam Date | +Room | +
|---|