deprecated-elements-not-used

Scrolling <marquee> content must be possible to pause, stop, or hide

automaticWCAG 2.2.2 (A)confidence: highseverity: seriousoperable

Asks, for each obsolete <marquee> element, whether the page offers a way to pause, stop, or hide its auto-scrolling content, since the element itself has none.

Applies to. Applies to any scan scope; whether it contains a <marquee> element is always an answerable question. <marquee> is an obsolete, non-standard HTML element that browsers still render as auto-scrolling text, with no built-in user mechanism to pause, stop, or hide it.

Expectation. Each <marquee> is reported as cantTell: the scrolling itself is certain, but a page can offer its own pause or stop control (a button calling the element's stop() method, for example), and then failure F16 does not apply. Whether such a control exists is for a person to check. A scope with no <marquee> passes; there is no separate not-applicable case.

Examples

pass
<p>Normal content</p>
<blink>Sale</blink>

No <marquee> anywhere, which satisfies the rule outright; there is no separate not-applicable case. <blink> is not reported, since no browser makes it blink.

can't tell
<marquee>Breaking news</marquee>

<marquee> scrolls its content and gives the user no way to pause, stop, or hide it; whether the page adds its own control is for a person to check. This rule never fails.

How to check

When this rule can’t decide, it reports cantTell and leaves the question to a person. Each question it can ask is listed here under its reason code, with the steps to answer it. A finding carries the same steps as howToCheck, in the scan’s language. See Output schema.

MARQUEE_PAUSE_MECHANISM_UNKNOWN

  1. Find the scrolling text the report names and note whether it moves for more than 5 seconds.
  2. Look near it, and elsewhere on the page, for a control to pause, stop or hide it.
  3. Press Tab to reach that control and activate it with Enter or Space.
  4. Check that the text stops moving or disappears.

Pass. A keyboard-operable control pauses, stops or hides the scrolling text (or it stops on its own within 5 seconds).

Fail. The text keeps scrolling with no way to pause, stop or hide it, which fails WCAG 2.2.2 (F16).

View source