Intent to Ship: HTML search element

499 views
Skip to first unread message

Joey Arhar

unread,
Aug 16, 2023, 4:37:57 PM8/16/23
to blink-dev

Contact emails

jar...@chromium.org

Explainer

None

Specification

https://html.spec.whatwg.org/multipage/grouping-content.html#the-search-element

Summary

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>HTML

TAG review

None

TAG review status

Not applicable

Risks



Interoperability and Compatibility

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.



Gecko: Shipped/Shipping (https://bugzilla.mozilla.org/show_bug.cgi?id=1824121)

WebKit: Shipped/Shipping (https://github.com/WebKit/WebKit/pull/13887)

Web developers: No signals

Other signals:

Ergonomics

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.



Activation

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.



Security

This feature does not have any security or privacy implications.



WebView application risks

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.



Debuggability

The DevTools accessibility panel will show the new accessibility role associated with search elements.



Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

Yes

Is this feature fully tested by web-platform-tests?

Yes

Flag name on chrome://flags

HTMLSearchElement

Finch feature name

HTMLSearchElement

Requires code in //chrome?

False

Tracking bug

https://bugs.chromium.org/p/chromium/issues/detail?id=1294294

Availability expectation

This feature has already been implemented in firefox and webkit, so it will be available immediately.

Adoption expectation

This feature has already been implemented in firefox and webkit, so it will be available immediately.

Adoption plan

No actions are needed because this feature has already shipped in firefox and safari.

Estimated milestones

Shipping on desktop118
DevTrial on desktop118
Shipping on Android118
DevTrial on Android118
Shipping on WebView118


Anticipated spec changes

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.

Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5126108151808000

This intent message was generated by Chrome Platform Status.

Vladimir Levin

unread,
Aug 16, 2023, 11:32:01 PM8/16/23
to Joey Arhar, blink-dev
On Wed, Aug 16, 2023 at 4:37 PM Joey Arhar <jar...@chromium.org> wrote:

Contact emails

jar...@chromium.org

Explainer

None

Specification

https://html.spec.whatwg.org/multipage/grouping-content.html#the-search-element

Summary

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>HTML

TAG review

None

TAG review status

Not applicable

FYI, there has already been a (satisfied with concerns) TAG review for this: https://github.com/w3ctag/design-reviews/issues/714 

--
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.

Yoav Weiss

unread,
Aug 22, 2023, 10:29:46 AM8/22/23
to Vladimir Levin, Joey Arhar, blink-dev
LGTM1

Thanks for catching us up here! :)


Mike Taylor

unread,
Aug 22, 2023, 10:32:13 AM8/22/23
to Yoav Weiss, Vladimir Levin, Joey Arhar, blink-dev

Chris Harrelson

unread,
Aug 22, 2023, 10:42:38 AM8/22/23
to Mike Taylor, Yoav Weiss, Vladimir Levin, Joey Arhar, blink-dev
Reply all
Reply to author
Forward
0 new messages