WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: <input type="submit"> vs <button> element

for

From: Tim Harshbarger
Date: Dec 13, 2016 6:37AM


I just did a quick search because I thought I remember seeing something related to this discussion. I believe it is also valid to include type="submit" on a button element. It even possibly looks like type="submit" is the default state of the button element.

I don't think it changes any answers to the question, but it was something I hadn't been aware of until recently so I thought I would share since it seems related to this topic.