Skip to content

🎨 Palette: Add Copy Code utility and improve button accessibility#29

Open
rtech-technologies wants to merge 1 commit into
mainfrom
palette-copy-utility-contrast-9339436245711467682
Open

🎨 Palette: Add Copy Code utility and improve button accessibility#29
rtech-technologies wants to merge 1 commit into
mainfrom
palette-copy-utility-contrast-9339436245711467682

Conversation

@rtech-technologies

Copy link
Copy Markdown
Owner

💡 What: Added a hover-activated "Copy" button to technical code snippets in os2.html and increased text contrast for pending download buttons.

🎯 Why: Makes it easier for users to extract assembly logic and ensures that the "Coming Soon" status remains readable for all users, adhering to professional accessibility standards.

♿ Accessibility:

  • Increased contrast ratio for pending text from 2.8:1 to 8.5:1 (Zinc-400 on Slate-950).
  • Added descriptive ARIA labels to the new copy utility that update dynamically on success.
  • Ensured keyboard visibility via focus:opacity-100.

PR created automatically by Jules for task 9339436245711467682 started by @rtech-technologies

- Added a 'Copy to Clipboard' button to the .code-window in os2.html with success state feedback and fallback.
- Improved color contrast for .btn-pending from #475569 to #a1a1aa to meet WCAG AA standards.
- Added .jules/palette.md with critical UX and accessibility learnings.

Co-authored-by: rtech-technologies <254326487+rtech-technologies@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.

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