#380: Ability to customize virtual keyboard via enterkeyhint

Visit on Github.

Opened May 21, 2019

こんにちはTAG!

I'm requesting a TAG review of:

  • Name: enterkeyhint handling
  • Specification URL: HTML Spec
  • Explainer (containing user needs and example code)¹: Explainer
  • GitHub issues (if you prefer feedback filed there): HTML Spec issues
  • Tests: Tested via WPT IDL tester
  • Primary contacts: @dtapuska

Further details:

We'd prefer the TAG provide feedback as (please select one):

  • open issues in our GitHub repo for each point of feedback
  • open a single issue in our GitHub repo for the entire review
  • leave review feedback as a comment in this issue and @-notify [github usernames]

Discussions

2019-10-16

Minutes

Tess: This came in in May and seems to have immediately fallen into The Abyss. I think that was my fault because I assigned it to myself.

Tess: However it also appears really straightforward and I think I'm happy to sign it off.

... Different mobile OSes/VKs will change the appearance of the enter key. E.g. it might be a search label/icon instead of enter.

... This provides a declarative way for sites to help the system pick the right label for the enter key.

... ABout the simplest thing that could work. I thought it would be a good candidate for taking something straight from The Abyss to resolved.

Kenneth: This seems pretty similar to ... Mozilla.

Peter: You put this attribute on ... each element inside the form?

Tess: Waiting for HTML standard to load...

Kenneth: We had this at Nokia, but we were looking at what type of form (element?) it is...

Peter: Looks like attribute goes on form controls. A bit weird cause enter normally submits a form.

... Should this be an attribute on the form?

Tess: Same as number keyboard..?

Peter: If the action of the form is submit, or go, or whatever the default enter key action is... you don't want to mess it up by forgetting to put the hint on one of the form fields.

Tess: Text and search within the same form suggest that we want the ability to customise...

... Maybe want to also allow it to be set on form?

Peter: Right, then you could override on different elements.

Tess: Perhaps you could raise that feedback as a github issue?

Kenneth: You could put this on any element?

Peter: According to the spec, anything that could be content editable.

... Other than that I have no issues with this... anyone else?

... Ok, Tess, go ahead and close it and I'll file my issue.