textbox-name-present
Textboxes have an accessible name
Checks that elements with role="textbox" expose a non-empty accessible name.
Applies to. Applies to elements carrying role="textbox" (the attribute must name that role alone, not a fallback list) that are included in the accessibility tree. An element with the matching implicit role but no role attribute is out of scope.
Expectation. The element has a non-empty accessible name from aria-label, from an aria-labelledby that resolves to non-empty text, or from title. role="textbox" is name-from-author-only, so subtree text is never accepted: text sitting inside a custom textbox widget is not reliably exposed as its name. On a labelable element (<input role="textbox">) an associated <label> counts as well.
Examples
<div role="textbox" tabindex="0" aria-label="Search the site"></div>
`aria-label` names the textbox.
<div role="textbox" tabindex="0"></div>
No accessible name from any supported mechanism.