DOM props and forms

tabIndex prop

Controls an element’s participation in sequential keyboard focus. A value of 0 follows normal document order; -1 permits programmatic focus but skips sequential navigation. Prefer native interactive elements; avoid positive values that override logical order.

Formal Syntax & Structure

react syntaxreact
tabIndex={-1}

Working Example

Example Snippetreact
export default function App() { return <section tabIndex={-1} aria-label='Results'>No matching tools</section>; }
React Reference