E-mail List Archives
Re: Link vs Button for "Cancel"
From: Renato Iwashima
Date: Jan 8, 2018 2:11PM
- Next message: Jonathan Cohn: "Re: Voice over focus v/s Keyboard focus"
- Previous message: JP Jamous: "Re: Link vs Button for "Cancel""
- Next message in Thread: Beranek, Nicholas: "Re: Link vs Button for "Cancel""
- Previous message in Thread: JP Jamous: "Re: Link vs Button for "Cancel""
- View all messages in this Thread
I thought about adding role="button" since it does visually look like a
button, but then someone mentioned to me that a button activates with space
bar while a link does not. If I add a role="button", would I have to
implement some javascript to handle space bar?
On Jan 8, 2018 12:46 PM, "JP Jamous" < <EMAIL REMOVED> > wrote:
In addition, I have found it to be an excellent UX design practice to use
role="button" if the link is styled as a button visually. I cannot count
the many times I would be interacting with a sighted user and state, "Click
on the whatever link." The user would always say, "I don't see a link,
rather a button." In some situations, it can be quite confusing.
I know this does not fall under WCAG, but I find it a best user experience
for users across the board.
- Next message: Jonathan Cohn: "Re: Voice over focus v/s Keyboard focus"
- Previous message: JP Jamous: "Re: Link vs Button for "Cancel""
- Next message in Thread: Beranek, Nicholas: "Re: Link vs Button for "Cancel""
- Previous message in Thread: JP Jamous: "Re: Link vs Button for "Cancel""
- View all messages in this Thread