User Tools

Site Tools


Submit Buttons

Submit buttons should be written as <input type="submit">. Other <button> tags inside a <form> tag must include the type="button" attribute if you do not want them treated as submit buttons for the form:

<button type="button">This doesn't submit the form</button>

Do not place instructions or additional options below the submit button. Screen reader users will not know that there is additional content they should wait to hear before submitting the form.

See Text Alternatives to Images and Icons for notes on using icons in buttons.

accessibility/forms/submit.txt · Last modified: 2023/08/07 18:03 by scl

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.