WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Link vs Button for "Cancel"

for

From: Don Mauck
Date: Jan 9, 2018 8:50AM


I disagree, from a training and support standpoint, if you tell someone to find a button, that's what they would expect to find. It is fine if you visual folks want things to look a certain way, but if you want it to look like a button, then at least use a "role=button". To me, any action control would be a button. Cancel may leave a page, however, I see in many of our applications "cancel" performs a partial page refresh, thus never leaving the page. I believe that in general, buttons perform actions and links take you somewhere even if it is on the same page.
I think we need to remember that not all users will understand that when told to find a "button," it could be a link instead. No need to make things any more convoluted than necessary.