Crownpeak (Retired)

Do not use "onmouseup" without "onkeyup"

Why is this important?

The onmouseup behavior is used to provide a style change on an element when releasing the mouse button. We need to consider that there are users who cannot use a mouse and are using a keyboard instead. In this instance the website should have a corresponding style change onkeyup to provide a similar experience for keyboard users.

How can I resolve this issue?

Add onkeyup when you use onmouseup

What topics do this checkpoint affect?

  • Accessibility  (WCAG 2.1 Level A, 2.1.1)

Can you explain how this checkpoint works?

This checkpoint examines the entire HTML source code and reports if the onmouseup event is used without an onkeyup event


Labels (1)

Can't find what you are looking for?

Find Answers

Search our DQM Forum to find answers to questions asked by other DQM users.

Ask a Question

No luck? Ask a question. Our Product and Support teams are monitoring the Forum and typically respond within 48 hours.

Ask a Question