diff --git a/src/compiler/compile/compiler_errors.ts b/src/compiler/compile/compiler_errors.ts index b0ffead6e0..bad3911673 100644 --- a/src/compiler/compile/compiler_errors.ts +++ b/src/compiler/compile/compiler_errors.ts @@ -66,7 +66,7 @@ export default { }, missing_contenteditable_attribute: { code: 'missing-contenteditable-attribute', - message: '\'contenteditable\' attribute is required for textContent and innerHTML two-way bindings' + message: '\'contenteditable\' attribute is required for textContent, innerHTML and innerText two-way bindings' }, dynamic_contenteditable_attribute: { code: 'dynamic-contenteditable-attribute', diff --git a/test/validator/samples/a11y-contenteditable-element-without-child/errors.json b/test/validator/samples/a11y-contenteditable-element-without-child/errors.json index 2b1cb22c75..2d803d755a 100644 --- a/test/validator/samples/a11y-contenteditable-element-without-child/errors.json +++ b/test/validator/samples/a11y-contenteditable-element-without-child/errors.json @@ -1,7 +1,7 @@ [ { "code": "missing-contenteditable-attribute", - "message": "'contenteditable' attribute is required for textContent/innerHTML/innerText two-way bindings", + "message": "'contenteditable' attribute is required for textContent, innerHTML and innerText two-way bindings", "start": { "line": 6, "column": 3