---
source: crates/oxc_linter/src/tester.rs
expression: no_autofocus
---
  ⚠ eslint-plugin-jsx-a11y(no-autofocus): The `autofocus` attribute is found here, which can cause usability issues for sighted and non-sighted users
   ╭─[no_autofocus.tsx:1:6]
 1 │ <div autoFocus />
   ·      ─────────
   ╰────
  help: Remove `autofocus` attribute

  ⚠ eslint-plugin-jsx-a11y(no-autofocus): The `autofocus` attribute is found here, which can cause usability issues for sighted and non-sighted users
   ╭─[no_autofocus.tsx:1:6]
 1 │ <div autoFocus={true} />
   ·      ────────────────
   ╰────
  help: Remove `autofocus` attribute

  ⚠ eslint-plugin-jsx-a11y(no-autofocus): The `autofocus` attribute is found here, which can cause usability issues for sighted and non-sighted users
   ╭─[no_autofocus.tsx:1:6]
 1 │ <div autoFocus={false} />
   ·      ─────────────────
   ╰────
  help: Remove `autofocus` attribute

  ⚠ eslint-plugin-jsx-a11y(no-autofocus): The `autofocus` attribute is found here, which can cause usability issues for sighted and non-sighted users
   ╭─[no_autofocus.tsx:1:6]
 1 │ <div autoFocus={undefined} />
   ·      ─────────────────────
   ╰────
  help: Remove `autofocus` attribute

  ⚠ eslint-plugin-jsx-a11y(no-autofocus): The `autofocus` attribute is found here, which can cause usability issues for sighted and non-sighted users
   ╭─[no_autofocus.tsx:1:6]
 1 │ <div autoFocus='true' />
   ·      ────────────────
   ╰────
  help: Remove `autofocus` attribute

  ⚠ eslint-plugin-jsx-a11y(no-autofocus): The `autofocus` attribute is found here, which can cause usability issues for sighted and non-sighted users
   ╭─[no_autofocus.tsx:1:6]
 1 │ <div autoFocus='false' />
   ·      ─────────────────
   ╰────
  help: Remove `autofocus` attribute

  ⚠ eslint-plugin-jsx-a11y(no-autofocus): The `autofocus` attribute is found here, which can cause usability issues for sighted and non-sighted users
   ╭─[no_autofocus.tsx:1:8]
 1 │ <input autoFocus />
   ·        ─────────
   ╰────
  help: Remove `autofocus` attribute

  ⚠ eslint-plugin-jsx-a11y(no-autofocus): The `autofocus` attribute is found here, which can cause usability issues for sighted and non-sighted users
   ╭─[no_autofocus.tsx:1:6]
 1 │ <Foo autoFocus />
   ·      ─────────
   ╰────
  help: Remove `autofocus` attribute

  ⚠ eslint-plugin-jsx-a11y(no-autofocus): The `autofocus` attribute is found here, which can cause usability issues for sighted and non-sighted users
   ╭─[no_autofocus.tsx:1:9]
 1 │ <Button autoFocus />
   ·         ─────────
   ╰────
  help: Remove `autofocus` attribute

  ⚠ eslint-plugin-jsx-a11y(no-autofocus): The `autofocus` attribute is found here, which can cause usability issues for sighted and non-sighted users
   ╭─[no_autofocus.tsx:1:9]
 1 │ <Button autoFocus />
   ·         ─────────
   ╰────
  help: Remove `autofocus` attribute
