Non-form HTML elements with event handlers require a role

Rule ID: no-static-element-interactions
Ruleset: axe-linter 1.0
User Impact: Serious
WCAG: 1.3.1, 2.4.6, 3.3.2, 4.1.2

Start building more accessible experiences

Axe DevTools Pro helps dev teams find and fix up to 80% of accessibility issues while coding. No experience required. Get started with your free trial today.

Compliance Data & Impact

User Impact

Serious
Minor
Critical

Disabilities Affected

  • Blind
  • Low Vision
  • Deafblind
  • Mobility
  • Cognitive

Requirement(s)

  • Not specified, or not applicable

WCAG Success Criteria

  • 1.3.1 Info and Relationships
  • 2.4.6 Headings and Labels
  • 3.3.2 Labels or Instructions
  • 4.1.2 Name, Role, Value

Section 508 Guidelines

  • Not specified, or not applicable

How to Fix the Problem

Why it Matters

Rule Description

The Algorithm (in simple terms)

Resources

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: