{ "component": "error-message", "fixtures": [ { "name": "default", "options": { "text": "Error message about full name goes here" }, "hidden": false, "html": "
" }, { "name": "translated", "options": { "visuallyHiddenText": "", "html": "Gwall: Neges gwall am yr enw llawn yn mynd yma" }, "hidden": false, "html": " " }, { "name": "id", "options": { "id": "my-error-message-id", "text": "This is an error message" }, "hidden": true, "html": " " }, { "name": "classes", "options": { "classes": "custom-class", "text": "This is an error message" }, "hidden": true, "html": " " }, { "name": "html as text", "options": { "text": "Unexpected > in body" }, "hidden": true, "html": " " }, { "name": "html", "options": { "html": "Unexpected bold text in body copy" }, "hidden": true, "html": " " }, { "name": "attributes", "options": { "text": "This is an error message", "attributes": { "data-test": "attribute", "id": "my-error-message" } }, "hidden": true, "html": " " }, { "name": "with visually hidden text", "options": { "text": "Rhowch eich enw llawn", "visuallyHiddenText": "Gwall" }, "hidden": true, "html": " " }, { "name": "visually hidden text removed", "options": { "text": "There is an error on line 42", "visuallyHiddenText": "" }, "hidden": true, "html": " " } ] }