{"id":355902,"date":"2021-11-05T07:43:25","date_gmt":"2021-11-05T14:43:25","guid":{"rendered":"https:\/\/css-tricks.com\/?p=355902"},"modified":"2021-11-05T07:43:28","modified_gmt":"2021-11-05T14:43:28","slug":"enterkeyhint","status":"publish","type":"post","link":"https:\/\/css-tricks.com\/enterkeyhint\/","title":{"rendered":"enterkeyhint"},"content":{"rendered":"\n
I only just recently learned the The enterkeyhint<\/code> attribute on form inputs was a thing! It seems like kind of a big deal to me, as crafting HTML form markup is a decent slice of a front-end developer’s life, and this attribute could (should?<\/em>) be used on nearly every input. <\/p>\n\n\n\n\n\n\n\n
enterkeyhint<\/code> attribute changes the action key on a mobile keyboard to change the text\/affordance.<\/strong> Stefan Judis spells it out nicely in this tweet from 2020:<\/p>\n\n\n\n