#70488f:form.submit creates invalid HTML
Description
Because of #70486 we found a strange behaviour of submit buttons which are rendered from through <f:form></f:form>.
It it seems that there is a problem with empty name attributes in submit buttons.
Using a submit ViewHelper like this:
<f:form.submit value="submit now" />
Leads to a HTML:
<input type="submit" value="submit now" name="" />
Following W3C (see https://validator.w3.org/nu/#textarea) it’s ok to have a submit button without a name attribute, but it’s not ok to have an empty name attribute.
If someone wants to send an additional value, you can use the name attribute with a value, but in most of all use-cases a name attribute is not needed in the submit button.
We need to disable the rendering of empty name attributes.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.