Skip to content

🎨 Palette: Enhance copy button focus visibility and error feedback - #457

Open
ightevenmckane187 wants to merge 1 commit into
mainfrom
palette-copy-button-ux-12201474105818714398
Open

🎨 Palette: Enhance copy button focus visibility and error feedback#457
ightevenmckane187 wants to merge 1 commit into
mainfrom
palette-copy-button-ux-12201474105818714398

Conversation

@ightevenmckane187

Copy link
Copy Markdown
Collaborator

This PR enhances the copy button UX on the Sovereign Cypher-Tube landing page.

💡 What

  • Added high-contrast :focus-visible focus outlines for .copy-button elements against dark code container backgrounds.
  • Added visual styling (border-color: var(--success) and box-shadow: 0 0 8px var(--success-glow)) for .copy-button.copied.
  • Updated clipboard copy failure error handling to set copyText.textContent = 'Error!' and update aria-label to "Failed to copy command to clipboard".

🎯 Why

Low-contrast focus states hinder keyboard-only navigation. Furthermore, silent clipboard failures provide poor accessibility feedback for screen-reader users.

♿ Accessibility

  • Explicit :focus-visible ring ensures clear visibility during keyboard tabbing.
  • Dynamic aria-label updates communicate copy success and failure to screen readers.

PR created automatically by Jules for task 12201474105818714398 started by @ightevenmckane187

Enhance copy command button (#copy-curl) in src/server.ts with explicit high-contrast :focus-visible focus styles, subtle success border and glow indicators when copied, and screen-reader accessible error feedback on clipboard write failures.
@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.

@ightevenmckane187 ightevenmckane187 linked an issue Sep 9, 2026 that may be closed by this pull request
14 tasks
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.

Rollout — APK & Web (PWA) distribution components

1 participant