WebAIM - Web Accessibility In Mind

E-mail List Archives

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

for

From: Rakesh P
Date: Dec 21, 2016 9:17PM


I second, using <button> is not an a11y problem and definitely not 3.2.2.

Thanks & Regards
Rakesh

On Thu, Dec 22, 2016 at 3:08 AM, Mallory < <EMAIL REMOVED> > wrote:

> With regards to older technologies, button would still work, however
> older
> IE had the default button type not as submit or wouldn't actually submit
> a form but instead the text inside the button (as if it were an input
> with
> a value).
> Using the input type=submit is safer if you've got real old IE to worry
> about.
>
> It shouldn't be flagged as an a11y problem, but a known-legacy-UA
> problem.
>
> _mallory
>
> On Tue, Dec 13, 2016, at 05:30 PM, Angela French wrote:
> > I think what my vendor (Siteimprove) was trying to tell me was that old
> > technologies wouldn't recognize the <button> element, thus one should go
> > with <input>
> >
> > Angela French
> >
> >