DQM and Experience Optimization
Showing results for 
Show  only  | Search instead for 
Did you mean: 

DQM Checkpoints and Standards

Checkpoints - Do not use "onmousedown" without "onkeydown"

Why is this important?

The onmousedown behavior is used to provide a style change on an element upon clicking on 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 onkeydown to provide a similar experience for keyboard users.

How can I resolve this issue?

Add onkeydown when you use onmousedwon

What topics do this checkpoint affect?

  • Accessibility  (WCAG 2 Level A, 2.1.1)

Can you explain how this checkpoint works?

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


Labels (1)