Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Intent to prototype: enterkeyhint attribute

71 views
Skip to first unread message

Makoto Kato

unread,
Jun 19, 2020, 11:38:49 AM6/19/20
to dev-platform
enterkeyhint is a HTML element attribute that is for software keyboard
layout. Software keyboard can change "ENTER" key cap to others such as
"GO", "SEND" and etc. Firefox OS has "moz_action" attribute to change
this, but this enterkeyhint is the standardized version of this.

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1490661

Link to standard:
https://html.spec.whatwg.org/dev/interaction.html#input-modalities:-the-enterkeyhint-attribute

Platform coverage: All. Except to Android, no OS API to change ENTER
key cap to others.

Preference: This is enabled/disabled via dom.forms.enterkeyhint

Devtools support: N/A. DevTools doesn't have software keyboard emulation.

Other browsers: Chrome 80 and Safari 13.1

web-platform-tests: reflection test for HTMLElement is
https://searchfox.org/mozilla-central/source/testing/web-platform/tests/html/dom/reflection-misc.html.

Restricted to secure contexts: No

-- Makoto
0 new messages