Skip to content

🎨 Palette: Keyboard Shortcuts Accessibility & Visual Hints - #77

Open
divineforge wants to merge 3 commits into
mainfrom
palette-keyboard-shortcuts-15372104859268511183
Open

🎨 Palette: Keyboard Shortcuts Accessibility & Visual Hints#77
divineforge wants to merge 3 commits into
mainfrom
palette-keyboard-shortcuts-15372104859268511183

Conversation

@divineforge

Copy link
Copy Markdown
Collaborator

💡 What: Added aria-keyshortcuts to the ThemeToggle and PathCard components and appended the shortcut key as a visual hint in their title attributes.
🎯 Why: The portal includes interactive elements with custom keyboard shortcuts (like T for theme toggle, or K/I/L/O for path cards), but these shortcuts were completely invisible. Adding these attributes makes them accessible to screen readers and discoverable by sighted users via hover tooltips.
Accessibility: Provides aria-keyshortcuts for screen readers and updates title tooltips to visually communicate the shortcuts. Logged the learning to .Jules/palette.md.


PR created automatically by Jules for task 15372104859268511183 started by @divineforge

Added `aria-keyshortcuts` and visual hints in the `title` attributes for custom keyboard shortcuts in `ThemeToggle.astro` and `PathCard.astro` to improve discoverability and accessibility for both sighted and screen reader users. Added entry to `.Jules/palette.md` logging the learning.

Co-authored-by: divineforge <1146195+divineforge@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 28, 2026

Copy link
Copy Markdown

Deploying gzen-invest with  Cloudflare Pages  Cloudflare Pages

Latest commit: 874620c
Status:🚫  Build failed.

View logs

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 28, 2026

Copy link
Copy Markdown

Deploying gzen-ki with  Cloudflare Pages  Cloudflare Pages

Latest commit: 874620c
Status: ✅  Deploy successful!
Preview URL: https://a42a306a.gzen-ki.pages.dev
Branch Preview URL: https://palette-keyboard-shortcuts-1.gzen-ki.pages.dev

View logs

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 28, 2026

Copy link
Copy Markdown

Deploying gzen-learn with  Cloudflare Pages  Cloudflare Pages

Latest commit: 874620c
Status:🚫  Build failed.

View logs

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 28, 2026

Copy link
Copy Markdown

Deploying gzen with  Cloudflare Pages  Cloudflare Pages

Latest commit: 874620c
Status: ✅  Deploy successful!
Preview URL: https://46e25291.gzen.pages.dev
Branch Preview URL: https://palette-keyboard-shortcuts-1.gzen.pages.dev

View logs

google-labs-jules Bot and others added 2 commits July 29, 2026 00:06
The Cloudflare Pages CI check failed for `gzen-invest` and `gzen-learn` because they are Hugo sites, but Cloudflare was trying to run `npm run build` by default. Adding `wrangler.toml` files to `apps/gzen-invest`, `apps/gzen-learn`, and `apps/gzen-ki` explicitly configures the build command to `hugo --gc --minify` and sets the `HUGO_VERSION`.

Co-authored-by: divineforge <1146195+divineforge@users.noreply.github.com>
Cloudflare Pages defaults to running `npm run build` if no specific build command is configured via the dashboard or `wrangler.toml` with the V2 build system in some cases, or it specifically looks for a `package.json`. Added `package.json` with a build script and `.nvmrc` to `apps/gzen-invest`, `apps/gzen-learn`, `apps/gzen-ki`, and `apps/gzen-om` to ensure the CI uses the correct `hugo --gc --minify` command during the build step. This also maintains the `wrangler.toml` explicit configuration.

Co-authored-by: divineforge <1146195+divineforge@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant