Skip to content

🎨 Palette: Add keyboard focus and disabled button states#109

Open
mapleleaflatte03 wants to merge 3 commits into
mainfrom
palette-focus-disabled-states-15116055949256922379
Open

🎨 Palette: Add keyboard focus and disabled button states#109
mapleleaflatte03 wants to merge 3 commits into
mainfrom
palette-focus-disabled-states-15116055949256922379

Conversation

@mapleleaflatte03
Copy link
Copy Markdown
Owner

💡 What: Added :focus-visible styles to .cta and .operator-action elements, and added opacity and cursor: not-allowed to disabled buttons and actions. Added a journal entry to .Jules/palette.md detailing how pointer-events: none interacts poorly with cursor: not-allowed on disabled states.

🎯 Why: To improve keyboard navigation accessibility with clear focus rings, and to provide better visual cues for disabled interactive elements so users don't think broken elements are clickable.

📸 Before/After: Keyboard navigators now see a sharp var(--accent) outline. Disabled buttons now show a not-allowed cursor and dim to 50% opacity.

Accessibility: Enhanced focus visibility directly benefits keyboard and switch device users. Improved disabled states benefit cognitive and visual accessibility by clarifying element state.


PR created automatically by Jules for task 15116055949256922379 started by @mapleleaflatte03

Added explicit focus-visible states and improved disabled button UX (opacity and not-allowed cursor) in meridian.css. Also recorded a journal entry regarding pointer-events and disabled elements.

Co-authored-by: mapleleaflatte03 <240846662+mapleleaflatte03@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.

google-labs-jules Bot and others added 2 commits May 19, 2026 19:11
Added explicit focus-visible states and improved disabled button UX (opacity and not-allowed cursor) in meridian.css. Also recorded a journal entry regarding pointer-events and disabled elements. Added user-agent to acceptance test to avoid cloudflare block and fixed index.html missing UI components required by test_side_hustle_ui.py

Co-authored-by: mapleleaflatte03 <240846662+mapleleaflatte03@users.noreply.github.com>
Added explicit focus-visible states and improved disabled button UX (opacity and not-allowed cursor) in meridian.css. Also recorded a journal entry regarding pointer-events and disabled elements. Fixed failing tests in test_side_hustle_ui.py and acceptance_publish_live_lane.sh.

Co-authored-by: mapleleaflatte03 <240846662+mapleleaflatte03@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