Hello,

Using buttons is mandatory for the cases where JavaScript is disabled.
That's because by default a form can be submitted only through an
input of type 'submit'. Links are usually used for redirecting to
another page, not for submitting the form.
I think that for form actions we should use inputs, not links.

Raluca.

On Mon, Oct 11, 2010 at 1:39 PM, Ecaterina Valica <[email protected]> wrote:
> Hi,
>
> Subject: [Form Buttons: Input vs. Link]
>
> In XWiki we have buttons that are created using input-submit || input-button
> || <a  and the CSS is trying to have the same style for inputs and links,
> even thought is quite difficult (native browser rules differ from case to
> case and there are inconsistencies, like
> http://jira.xwiki.org/jira/browse/XSCOLIBRI-234 ) and semantically they have
> different functions. We also have some problems when representing the
> buttons, because buttons should be 3D, having the affordance that you can
> push them, but that's another story.
>
> So I want to know if there is a special technical reason (JS related? is
> more simple to listen to <a?) why we have links and inputs for form submit
> actions, or we could use only inputs and make this a standard.
>
> Thanks,
> Caty
>
> Read more: http://www.uxbooth.com/blog/creating-usable-links-and-buttons/
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to