WebAIM - Web Accessibility In Mind

E-mail List Archives

Link vs Button for "Cancel"

for

From: Renato Iwashima
Date: Jan 8, 2018 1:28PM


Hi,

I have a form that contains a submit button and a cancel link. The "cancel"
takes the user to another page thus behaves like a link.

But because it is a destructive action and is related to the form, I wonder
if it should actually be a button. If thats the case, does it mean I need
to implement JS to actually route the user to navigate to a different page?
Can I just leave it as a link?

Thanks!