Accessibility section of <input type='search'> should mention <search> rather than <form role='search'> #37799
Labels
Content:Accessibility
Accessibility docs
Content:HTML
Hypertext Markup Language docs
help wanted
If you know something about this topic, we would love your help!
MDN URL
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/search
What specific section or headline is this issue about?
#search_form_labels_and_accessibility
What information was incorrect, unhelpful, or incomplete?
It encourages you to use
<form role='search'>
for accessibility. It seems to me that this is no longer (and maybe was never) recommended.What did you expect to see?
It seems to me that this should instead highlight the use of the
<search>
tag, maybe even by just linking, since the article about the search tag covers everything in detail:https://developer.mozilla.org/en-US/docs/Web/HTML/Element/search#accessibility
Do you have any supporting links, references, or citations?
https://adrianroselli.com/2015/08/where-to-put-your-search-role.html
https://www.scottohara.me/blog/2023/03/24/search-element.html
Do you have anything more you want to share?
Thanks!
MDN metadata
Page report details
en-us/web/html/element/input/search
The text was updated successfully, but these errors were encountered: