The <search> element applies a "search" role for accessibility. It is basically the same as <div role=search>. From the HTML spec: The search element represents a part of a document or application that contains a set of form controls or other content related to performing a search or filtering operation. This could be a search of the web site or application; a way of searching or filtering search results on the current web page; or a global or Internet-wide search function.
There is minimal compat risk for this. Even if a website is erroneously already using <search> tags, there likely won't be any difference in behavior.
There are no other platform APIs this feature will be used in tandem with. The default usage of this API will not make it hard for chrome to maintain good performance.
It will not be challenging for developers to take advantage of this feature immediately. I don't think that polyfills/documentation/outreach is needed for this feature.
This feature does not have any security or privacy implications.
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
This has no risk for WebView.
The DevTools accessibility panel will show the new accessibility role associated with search elements.
Shipping on desktop | 118 |
DevTrial on desktop | 118 |
Shipping on Android | 118 |
DevTrial on Android | 118 |
Shipping on WebView | 118 |
Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).
There are no open spec issues for the search element.Contact emails
jar...@chromium.orgExplainer
NoneSpecification
https://html.spec.whatwg.org/multipage/grouping-content.html#the-search-elementSummary
The <search> element applies a "search" role for accessibility. It is basically the same as <div role=search>. From the HTML spec: The search element represents a part of a document or application that contains a set of form controls or other content related to performing a search or filtering operation. This could be a search of the web site or application; a way of searching or filtering search results on the current web page; or a global or Internet-wide search function.
Blink component
Blink>HTMLTAG review
NoneTAG review status
Not applicable
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAK6btwJnqcqZ1XXzmb1Fb_%3Db1eZJDGMDig9M3OF8ZXPxaK92AA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CADsXd2P9pddg2DpC4Ep5C83x7zP6D1pwEeDpLNTfutEg1naKtA%40mail.gmail.com.
LGTM2
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAL5BFfVm0kCgnzati0iEFyf17YZ4kRWM-N1exVJRTmiE5MKrGg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/08295ad1-b2a1-41d6-8a05-4a3382134df4%40chromium.org.