🎨 Palette: Add keyboard focus and disabled button states#71
🎨 Palette: Add keyboard focus and disabled button states#71mapleleaflatte03 wants to merge 2 commits into
Conversation
Added a global *:focus-visible to highlight keyboard navigation across the app, and styled :disabled elements with reduced opacity and cursor changes. Signed-off-by: Jules <jules@example.com> 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 a global *:focus-visible to highlight keyboard navigation across the app, and styled :disabled elements with reduced opacity and cursor changes. Signed-off-by: Jules <jules@example.com> Co-authored-by: mapleleaflatte03 <240846662+mapleleaflatte03@users.noreply.github.com>
💡 What:
Added global
*:focus-visibletomeridian.cssto provide a solid outline to keyboard-navigated elements. Also added styling for:disabledstates on buttons,.cta, and inputs.🎯 Why:
The application lacked basic accessibility markers for keyboard navigation and visual feedback for inactive inputs. This led to confusing interactions in operator views like Trust Ops where disabled buttons looked identical to active ones.
📸 Before/After:
Before: Tabbing through the page gave no visual indication of focus. Disabled buttons looked active.
After: Tabbing highlights the active element with a 2px blue ring. Disabled elements are 50% opacity with a
not-allowedcursor.♿ Accessibility:
Enables keyboard-only users to navigate the Trust Ops and public sites properly. Enhances visual contrast for inactive state interactions.
PR created automatically by Jules for task 16790289181990031971 started by @mapleleaflatte03