<marquee> elements are deprecated and must not be used

Rule ID: marquee
Ruleset: axe-core 4.8
User Impact: Serious
Guidelines: WCAG 2.1 (A), WCAG 2.0 (A), WCAG 2.2 (A), Trusted Tester, EN 301 549

Need accessibility training?

Deque University offers an extensive curriculum of self-guided online courses for every skillset and experience level.

Compliance Data & Impact

User Impact

Serious
Minor
Critical

Disabilities Affected

  • Low Vision
  • Mobility
  • Cognitive

Standard(s)

  • WCAG 2.1 (A)
  • WCAG 2.0 (A)
  • WCAG 2.2 (A)
  • Trusted Tester
  • EN 301 549

WCAG Success Criteria [WCAG 2.1 (A)]

  • 2.2.2: MUST: Pause, Stop, Hide

WCAG Success Criteria [WCAG 2.0 (A)]

  • 2.2.2: MUST: Pause, Stop, Hide

WCAG Success Criteria [WCAG 2.2 (A)]

  • 2.2.2: MUST: Pause, Stop, Hide

Trusted Tester Guidelines

  • 2.B: MUST: The user can pause, stop, or hide moving, blinking, or scrolling content.

    How to Fix the Problem

    Deprecated elements which are presentational in nature have typically been replaced by cascading style sheets (CSS), and their use may interfere with the ability of assistive technologies to properly render content.

    Remove all marquee elements, even if they are empty.

    Example of What To Remove

    The following is code for scrolling marquee text with links, followed by the rendered display output:

    <marquee behavior="scroll" direction="left"> Frisbeetarianism is the <a href="http://en.wikipedia.org/wiki/Belief">belief</a> 
    that when you <a href="http://en.wikipedia.org/wiki/Death">die</a>, your <a href="http://en.wikipedia.org/wiki/Soul">soul</a> 
    goes up on the <a href="http://en.wikipedia.org/wiki/Roof">roof</a> and gets stuck.</marquee>
    
    Frisbeetarianism is the belief that when you die, your soul goes up on the roof and gets stuck.

    Why it Matters

    The marquee element creates scrolling text that is difficult to read and click on. Beyond that, it can be distracting to viewers, especially to those with low vision, cognitive disabilities, or attention deficits.

    People with attention deficits or cognitive disabilities could become distracted by content that scrolls. If scrolling content contains links, people with limited fine motor abilities may not be able to click on the links accurately. Users with visual impairments may not be able to see the scrolling text with enough acuity to know what the content says.

    Rule Description

    <marquee> elements must not be present because they are deprecated, increase difficulty for users with limited dexterity, and are distracting for users with cognitive or attention deficits.

    The Algorithm (in simple terms)

    Ensures that the deprecated marquee element is not used.

    Resources

    Refer to the complete list of axe 4.8 rules.

    Was this information helpful?

    You have already given your feedback, thank you..

    Your response was as follows:

    Was this information helpful?
    Date/Time feedback was submitted: