Crownpeak (Retired)

Do not use "onmouseout" without "onblur"

Why is this important?

The onmouseout behavior is used to provide a style change on an element when moving the mouse out. 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 onblur to provide a similar experience for keyboard users.

How can I resolve this issue?

Add onblur when you use onmouseout

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 onmouseout event is used without an onblur 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