Skip to content

🎨 Palette: Add aria-pressed to layer switch buttons - #7

Open
yipeng0428 wants to merge 1 commit into
masterfrom
palette-a11y-layer-switches-4228897472001975815
Open

yipeng0428 wants to merge 1 commit into
masterfrom
palette-a11y-layer-switches-4228897472001975815

Conversation

@yipeng0428

Copy link
Copy Markdown
Owner

Adds aria-pressed to the layer switches so that their toggle state is announced to screen readers.


PR created automatically by Jules for task 4228897472001975815 started by @yipeng0428

This commit adds `aria-pressed` states to the layer toggle buttons (`#layerSw` and `#zmLayers`) in `src/shell.html`. Screen readers are now informed of the selected state dynamically instead of solely relying on the visual `.on` CSS class.

💡 What: The UX enhancement added is updating ARIA pressed state.
🎯 Why: The user problem it solves is accessibility for screen reader users trying to understand which dial layer is currently visible.
♿ Accessibility: Ensures the selected state of the dial layer toggle buttons is conveyed programmatically.

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

Copy link
Copy Markdown

👋 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.

@kilo-code-bot

kilo-code-bot Bot commented Oct 30, 2026

Copy link
Copy Markdown

Kilo Code Review could not run — your account is out of credits.

Add credits or switch to a free model to enable reviews on this change.

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