Intent to Ship: Expose the 'autocorrect' global html attribute

23 views
Skip to first unread message

Chromestatus

unread,
3:33 AM (5 hours ago) 3:33 AM
to blin...@chromium.org, jfern...@igalia.com
Contact emails
jfern...@igalia.com

Specification
https://html.spec.whatwg.org/multipage/interaction.html#autocorrection

Summary
The HTML autocorrect attribute allows web authors to control whether autocorrection should be applied to user input in editable elements including <input>, <textarea>, and contenteditable hosts. The feature makes the 'autocorrect' attribute to be exposed to web authors.

Blink component
Blink>Editing>IME

Web Feature ID
autocorrect

Motivation
The 'autocorrect' HTML attribute has been implemented long ago, but since it's not defined in any exported IDL, websites fail to detected it as supported.

Initial public proposal
No information provided

TAG review
No information provided

TAG review status
Not applicable

Goals for experimentation
None

Risks


Interoperability and Compatibility
The feature is supported in Firefox and Safari, so I don't think there is any interoperability risk on exposing this feature. https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/autocorrect

Gecko: Shipped/Shipping (https://bugzilla.mozilla.org/show_bug.cgi?id=1927977https://www.firefox.com/en-US/firefox/136.0/releasenotes/

WebKit: Shipped/Shipping (https://webkit.org/blog/16301/webkit-features-in-safari-18-2https://webkit.org/blog/15860/release-notes-for-safari-technology-preview-203/

Web developers: No signals

Other signals:

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?

No information provided


Debuggability
No information provided

Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?
Yes
The platform support varies considerably, given that this feature depends heavily on the underlying OS capabilities for spell checking and IME functionalities.

Is this feature fully tested by web-platform-tests?
Yes
The Web Platform Tests coverage is quite limited in terms of functionality due to the high dependency on the platform's capabilities. There are a few tests to check the IDL correctness and some basic spec conformance. https://wpt.fyi/results/html/editing/editing-0/autocorrection/autocorrection.html?label=experimental&label=master&aligned https://github.com/web-platform-tests/wpt/blob/master/html/editing/editing-0/autocorrection/autocorrect-off-touch-keyboard-manual.html

Flag name on about://flags
No information provided

Finch feature name
No information provided

Non-finch justification
No information provided

Rollout plan
Will ship enabled for all users

Requires code in //chrome?
False

Tracking bug
https://issues.chromium.org/issues/40871769

Estimated milestones
Shipping on desktop151
Shipping on Android151
Shipping on WebView151
Shipping on iOS151


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

No information provided

Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/6264645053710336?gate=4718478864023552

This intent message was generated by Chrome Platform Status.

Daniel Bratell

unread,
4:00 AM (4 hours ago) 4:00 AM
to Chromestatus, blin...@chromium.org, jfern...@igalia.com

LGTM1

/Daniel

--
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 visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/6a1006d5.050a0220.38d8a1.00db.GAE%40google.com.

Yoav Weiss (@Shopify)

unread,
4:12 AM (4 hours ago) 4:12 AM
to Daniel Bratell, Chromestatus, blin...@chromium.org, jfern...@igalia.com
Reply all
Reply to author
Forward
0 new messages