← Back to release summary

Enter Key Hint

Category
User input
Type
New or changed feature
Status
Enabled by default (Chrome 77)
Intent stage
Evaluate readiness to ship

Summary

The enterkeyhint content attribute is an enumerated attribute that specifies what action label (or icon) to present for the enter key on virtual keyboards. This allows authors to customize the presentation of the enter key in order to make it more helpful for users.

Motivation

To be able to build rich applications that customize the enter key.

Standards & signals

Docs: https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-enterkeyhint-attribute

Samples: http://output.jsbin.com/mukira

Explainers: https://dtapuska.github.io/enterkeyhint/

View on chromestatus.com