Repository navigation
Conversation
… targets to 24px The Autocomplete clear button (used by the workspace sharing user/group picker) was 20x20 and the HelpPopoverIconTrigger (outdated icon in the workspaces table) was 12x20, failing WCAG 2.5.8 Target Size (Minimum). Fixes DEQ-13
…px-large-or-leave-sufficient
This branch has not been deployed
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.
Fixes DEQ-13: two shared components render touch targets smaller than 24px, failing WCAG 2.2 SC 2.5.8 Target Size (Minimum).
Autocompleteclear buttonAutocompleteconsumersHelpPopoverIconTriggerBoth are one-class changes. The
HelpPopoverIconTriggerusesmin-h-6 min-w-6instead of a fixed size so wider custom children still fit. Icon sizes are unchanged.Proof
Red fill = clickable area, label = measured size. Captured from the dev server (
./scripts/develop.sh).axe-core
target-sizeon the live app:Audit notes
ModelSelectoreffort info 12px,UsageIndicatorsection help 14px,FileReferenceChipremove 14px,AgentChatInputbadge dismiss 20px,WorkspaceUploadPreviewremove 20px): axetarget-sizepasses for all across their Storybook stories with popovers opened. They meet the 2.5.8 spacing exception, andFileReferenceChipremove istabIndex={-1}. Left unchanged.Autocompleteclear control is arole="button"nested inside the trigger<button>(invalid nesting). Fixing it means restructuring the trigger into sibling controls, so it belongs in a separate PR.Checks
pnpm check,pnpm lint,pnpm format,tsc --noEmit