Forms with `type=search`, `type=search2`, and `type=fulltext` are used for search which corresponds to the "search" ARIA role (see [[https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/search_role|MDN]]). Why not add `role="search"` to the form element for them?
**Context**
Of all things ARIA, InputBox currently supports only the `aria-label` attribute added in T242354:
{F41611539}
**Details**
A possible concern here is that when several elements on the page share the same [[https://www.w3.org/TR/wai-aria-1.1/#landmark_roles|landmark role]] (like `search` or `form`), it is [[https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/search_role#labeling_landmarks|advised]] that they have different `aria-label`s. Currently the main MediaWiki search functionality has no `aria-label` parameter (I checked Vector 2022, Vector, Monobook). But I'm not sure that the users of assistive technologies really need any hint that the first search landmark on MediaWiki sites is the sitewide search. According to this note on MDN,
{F41611655}
labels can be announced by screen readers together with the role. So does adding "Sitewide" to "search" really add value here?..