fix: improve UX/a11y across webview UI components#80
Closed
fedevgonzalez wants to merge 1 commit intopablodelucca:mainfrom
Closed
fix: improve UX/a11y across webview UI components#80fedevgonzalez wants to merge 1 commit intopablodelucca:mainfrom
fedevgonzalez wants to merge 1 commit intopablodelucca:mainfrom
Conversation
- Add focus-visible outline for keyboard navigation on all buttons - Add prefers-reduced-motion media query to disable pulse animation - Replace wildcard font-family rule with scoped html/body selector - Extract TOOL_OVERLAY_LABEL_Y_OFFSET constant (was magic number -24) - Increase status dot size from 6px to 8px for better visibility - Add aria-label to close agent button for screen readers - Add CSS variable fallbacks for non-VS Code environments (e.g. var(--vscode-foreground, var(--pixel-text))) - Increase button padding for larger touch/click targets - Add Escape key to close SettingsModal - Use × (multiplication sign) consistently for close buttons - Use ✓ for checkbox checked state instead of X Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
focus-visibleoutline for keyboard navigation on all buttonsprefers-reduced-motionmedia query to disable pulse animation*font-family rule (already set onhtml, body)TOOL_OVERLAY_LABEL_Y_OFFSETconstant (was magic number-24)aria-labelto close agent button for screen readersvar(--vscode-foreground, var(--pixel-text)))×consistently for close buttons,✓for checkbox stateTest plan
focus-visibleoutline only appears on keyboard focus, not mouse clicksprefers-reduced-motion: reduce— pulse animation should be disabled🤖 Generated with Claude Code