WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Role="presentation"

for

From: lynn.holdsworth@gmail.com
Date: May 10, 2018 7:34AM


Yes Mallory, your approach is the one I'd use too: add a click event to anything that visually appears to be part of a block link. It does get a little bit annoying when the screenreader announces "clickable" when it comes across these pseudo-links, and perhaps increasing the padding on the original anchor is a better way to go, but it is potentially a design nightmare.

-----Original Message-----
From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of Mallory
Sent: 08 May 2018 18:11
To: WebAIM Discussion List < <EMAIL REMOVED> >
Subject: Re: [WebAIM] Role="presentation"

One could argue it's not a whole lot better when things look like links, and the keyboarder *can* tab to them, but is fooled into thinking they all go to different places (links to the same place should have ~ the same text, no?). Depending on the context, you feel kinda cheated either way.

I try to have one "canonical" link and anything nearby that needs to, say, be reachable with mouse clicks or something, gets a JS listener that clicks the link. For example an image that's meant to be clickable right under a clearly-a-link text above. I've seen people stretch the anchors' padding to cover larger areas to get the same effect, though on pages like Meetup.com when you're zoomed in it kinda backfires into "the entire visible page is clickable, and you're still not certain where it goes to exactly, because there's a whole book of text inside."

cheers,
_mallory

On Tue, May 8, 2018, at 4:39 PM, <EMAIL REMOVED> wrote:
> If there is any way not to have duplicate links that would be even
> better. Having duplicates that can't receive focus could cause
> confusion for some keyboard users who can see something that looks
> like a link, but as they tab through the application the focus moves
> right on by without stopping.
>
> -----Original Message-----
> From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of
> Kakarla Meharoon
> Sent: 08 May 2018 12:15
> To: <EMAIL REMOVED>
> Subject: [WebAIM] Role="presentation"
>
> Hi,
>
> For the duplicate link which is redundant, if we add role="
> presentation"
> and tabindex=-1 screen reader will ignore the link?
> > > archives at http://webaim.org/discussion/archives
> >
> > > archives at http://webaim.org/discussion/archives
>