Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML: enterkeyhint attribute #68

Closed
annevk opened this issue Mar 7, 2018 · 4 comments · Fixed by #231
Closed

HTML: enterkeyhint attribute #68

annevk opened this issue Mar 7, 2018 · 4 comments · Fixed by #231
Labels
position: positive venue: WHATWG Specifications in a WHATWG Workstream

Comments

@annevk
Copy link
Contributor

annevk commented Mar 7, 2018

In whatwg/html#3538 a new attribute is proposed for all elements. It allows the page to control the visual label of the virtual keyboard enter key to some extent (it's an enum) when a visual keyboard is shown for that element (e.g., when it's editable and focused).

@bzbarsky
Copy link
Contributor

bzbarsky commented Mar 9, 2018

Note that we already support such a thing as "moz-actionhint".

In general, this seems ok to me, modulo naming...

@dbaron dbaron added the venue: WHATWG Specifications in a WHATWG Workstream label Aug 9, 2018
@domenic
Copy link
Contributor

domenic commented Aug 30, 2018

If folks want to chip in on the name, now's the time. Current plan is inputactionlabel.

@bzbarsky
Copy link
Contributor

I just asked some questions about how this is supposed to work in practice in https://bugzilla.mozilla.org/show_bug.cgi?id=1490661#c4

@sideshowbarker
Copy link

sideshowbarker commented Jun 22, 2019

This was renamed to enterkeyhint (so maybe change the issue title here?) and is now in the HTML standard:

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.

@annevk annevk changed the title HTML: inputmodeaction attribute HTML: enterkeyhint attribute Jun 24, 2019
annevk added a commit that referenced this issue Dec 4, 2019
dbaron pushed a commit that referenced this issue Dec 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
position: positive venue: WHATWG Specifications in a WHATWG Workstream
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants