fix(a11y): make copy actions reachable by keyboard #36
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
needs-info
needs-triage
question
ready-for-agent
ready-for-human
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
flopana/OpenDevTools#36
Loading…
Add table
Add a link
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?
Part of #30
Branch:
bugfix/copy-a11yBug
Some copy actions are an
onClickon adivor aLabel. A keyboard user cannot reach them. Screen readers get no role and no name.Targets:
src/components/Code/JsonFormatterComponent.tsxsrc/components/Code/JsonSorter.tsxsrc/components/Code/TimestampConverterComp.tsxsrc/components/Generator/HashingGenComp.tsxsrc/components/Code/SemverRangeParser/RangeResults.tsxsrc/components/Code/UnicodeCharDetector.tsx(2 places)src/pages/Home.tsx(check first)UUIDGenComp.tsxandLoremIpsumGenComp.tsxalready useButton.Red test
Each copy target has role
buttonand an accessible name. Enter copies the value.Fix
Replace the
divorLabelwithonClickby the existingButtonfromsrc/components/ui/button.tsx.Merge order
Merge this branch last. See the parent issue.