hard20 pts · first answer countsaccessibilitywcag
Actions fired on mousedown
A 'Delete' button runs its action on the mousedown or touchstart event. Why does this risk failing WCAG 2.5.2 Pointer Cancellation?
button.addEventListener('mousedown', deleteItem)Discussion 0
Join free to post in the discussion.
Related questions
- Minimum contrast for body textUI/UX Designer
- Comfortable tap target size on mobileUI/UX Designer
- Contrast for large textUI/UX Designer
- Alt text for a decorative imageUI/UX Designer
- Removing focus outlinesUI/UX Designer
- Placeholder instead of a labelUI/UX Designer
- The four WCAG principlesUI/UX Designer
- WCAG conformance levelsUI/UX Designer