🎨 Palette: Add keyboard focus and disabled button states#109
🎨 Palette: Add keyboard focus and disabled button states#109mapleleaflatte03 wants to merge 3 commits into
Conversation
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>
|
👋 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 New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
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>
💡 What: Added
:focus-visiblestyles to.ctaand.operator-actionelements, and addedopacityandcursor: not-allowedto disabled buttons and actions. Added a journal entry to.Jules/palette.mddetailing howpointer-events: noneinteracts poorly withcursor: not-allowedon 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 anot-allowedcursor 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