Thanks for the patch cypherpunks, but I don't think this can be merged.
We do kinda need an action there. The reason it's empty is because it's for the same page. Apparently browsers can cope with this, and semantically action="" is the same as just action, which is how this worked before. I think removing it would not be the best course to take as this would change (potentially, but I'm not a browser expert) the semantic meaning.
If it needs to be non-empty, perhaps action="#" is the answer we're looking for. I'll test that out when I get some time, if you have time beforehand to check then it would be appreciated.
Like i mention in the commit message of [0001-Remove-the-action-attribute-from-the-search-form.patch], search form submits are caught by an JavaScript event so the action attribute is unused. Without JavaScript the page is simply refreshed and nothing is submitted which is equal to the current behavior.
Looking at the HTML 5 specification (https://www.w3.org/TR/html5/forms.html#attr-fs-action) which we claim to be following in the doctype, you are indeed correct that the action attribute can be removed from the form element.
Tested that this is functional and that it now passes W3C validation.
Merged, thanks for your work on this. (:
Trac: Resolution: N/Ato fixed Status: needs_revision to closed