New rule: H32 - submit-button
See original GitHub issueH32 - submit-button
The test checks, if data in a form can be submitted explicitly by using submit buttons (input type=“submit”, input type=“image”, or button type=“submit”).
Tags: wcag2a, wcag322, cat.forms, experimental
Selector
Select each node that has an form
element with action
and method
attributes
Checks
forms/submit-button
- Check if the form contains a button [one of (input type=“submit”, input type=“image”, or button type=“submit”]; Pass if true.
- Check if only
textarea
element(s) are present with no buttons; Forms don’t have input:not(hidden) or select elements; Fail if true. - Otherwise, cantTell
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (9 by maintainers)
Top Results From Across the Web
H32: Providing submit buttons | Techniques for WCAG 2.0 - W3C
Description. The objective of this technique is to provide a mechanism that allows users to explicitly request changes of context. The intended use...
Read more >Providing submit buttons (wcag/h32) - HTML-validate
WCAG 2.1 technique H32 requires each <form> element to include at least one submit button in order to allow users to interact with...
Read more >Forms submitted using buttons : Functional Accessibility Evaluator 2.3
"Page" means that the result applied to the page. For example, the rule "One main landmark on the page" is a page level...
Read more >Instructions for Form 1023-EZ (Rev. January 2023) - IRS
Most organizations seeking exemption from federal income tax under section 501(c)(3) are required to complete and submit an application. However ...
Read more ><input type="submit"> - HTML: HyperText Markup Language
A string indicating the HTTP method to use when submitting the form's data; this value overrides any method attribute given on the owning...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think this would be a noisy rule and we should close this @WilcoFiers
There is no instance where this rule can definitively determine that a violation exists.
Therefore I think this rule should be inverted. It should pass forms with a valid submit mechanism and it should pass forms that meet the implicit submission restrictions. In all other cases it should return a review item.