WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Making a screen reader start reading in a desired spot on the screen

for

From: Aaron Cannon
Date: Aug 5, 2015 4:24PM


As a screen reader user, I would suggest not relying on the focus
being set to where you want it. In my experience, it's pretty
unreliable. Sometimes the browser and screen reader cooperate, often
they don't.

I think the best thing you can do is make it easy for screen reader
users to find the right spot. It looks like you are already doing
this by providing a heading. You might also consider an ARIA
landmark.

Aaron

On 8/5/15, Moore,Michael (HHSC) < <EMAIL REMOVED> > wrote:
> The heading will need an id and tabindex=-1 then you can use javaScript to
> set focus to the location that you want when the results are returned. Most
> screen readers won't read the heading unless the user uses a read current
> line command since focus will be on that line. A tabindex of -1 makes
> something focusable while tabindex of 0 makes the item part of the tab
> ring.
>
>