The autoFocus prop should not be used, as it can reduce usability and accessibility for users

Rule ID: no-autofocus
Ruleset: axe-linter 1.0
User Impact: Serious
WCAG: 1.3.2, 2.4.3, 3.2.1, 1.3.4

Accessibility testing for dev teams - No experience required

Find and fix up to 80% of accessibility issues with axe DevTools Pro. Get started with your free trial today. No credit card needed.

Compliance Data & Impact

User Impact


Disabilities Affected

  • Blind
  • Low Vision
  • Deafblind


  • Not specified, or not applicable

WCAG Success Criteria

  • 1.3.2 Meaningful Sequence
  • 2.4.3 Focus Order
  • 3.2.1 On Focus
  • 1.3.4 Orientation

Section 508 Guidelines

  • Not specified, or not applicable

How to Fix the Problem

Why it Matters

Rule Description

The Algorithm (in simple terms)


Other Resources

You may also want to check out these other 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: