a11y: focus-visible styles missing or insufficient on custom button variants (WCAG 2.4.7) #36
Labels
No labels
accessibility
backlog
beta-feedback
bug
duplicate
enhancement
feature-request
help wanted
invalid
needs-design
needs-triage
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Circuit-Forge/kiwi#36
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Several component-scoped button styles override
button:focus-visiblewithout providing an adequate replacement:.btn-close,.recipe-title-btn,.select-all-btn,.share-btn,.chip-remove,.filter-chip— all havebackground: transparent; border: nonewith no local:focus-visibleruleAlso verify amber outline achieves 3:1 contrast against adjacent backgrounds in both light and dark mode per WCAG 1.4.11.
Fix: Add explicit
:focus-visiblestyles to all custom button classes. Minimum: 2px solid, 3px offset. Prefer 3px/3px to meet WCAG 2.2 2.4.11.Refs: HIGH-W6