Skip to content

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

Open
mapleleaflatte03 wants to merge 2 commits into
mainfrom
palette/add-focus-disabled-styles-16790289181990031971
Open

🎨 Palette: Add keyboard focus and disabled button states#71
mapleleaflatte03 wants to merge 2 commits into
mainfrom
palette/add-focus-disabled-styles-16790289181990031971

Conversation

@mapleleaflatte03
Copy link
Copy Markdown
Owner

💡 What:
Added global *:focus-visible to meridian.css to provide a solid outline to keyboard-navigated elements. Also added styling for :disabled states 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-allowed cursor.

♿ 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

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>
@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.

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>
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