diff --git a/html/dom/elements-misc.js b/html/dom/elements-misc.js
index df415aef159f7ae..b747ac6e5966cd7 100644
--- a/html/dom/elements-misc.js
+++ b/html/dom/elements-misc.js
@@ -53,6 +53,7 @@ var miscElements = {
// Global attributes should exist even on unknown elements
undefinedelement: {
+ enterKeyHint: {type: "enum", keywords: ["enter", "done", "go", "next", "previous", "search", "send"]},
inputMode: {type: "enum", keywords: ["none", "text", "tel", "url", "email", "numeric", "decimal", "search"]},
},
};
diff --git a/html/semantics/forms/attributes-common-to-form-controls/contains.json b/html/semantics/forms/attributes-common-to-form-controls/contains.json
index 357a1e6a7b8e97b..62326d33f8748ca 100644
--- a/html/semantics/forms/attributes-common-to-form-controls/contains.json
+++ b/html/semantics/forms/attributes-common-to-form-controls/contains.json
@@ -23,6 +23,10 @@
"id": "autofocusing-a-form-control-the-autofocus-attribute",
"original_id": "autofocusing-a-form-control:-the-autofocus-attribute"
},
+ {
+ "id": "input-modalities-the-enterkeyhint-attribute",
+ "original_id": "input-modalities:-the-enterkeyhint-attribute"
+ },
{
"id": "input-modalities-the-inputmode-attribute",
"original_id": "input-modalities:-the-inputmode-attribute"
@@ -31,4 +35,4 @@
"id": "autofilling-form-controls-the-autocomplete-attribute",
"original_id": "autofilling-form-controls:-the-autocomplete-attribute"
}
-]
\ No newline at end of file
+]