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: Bryan Garaventa
Date: Aug 5, 2015 1:41PM


Hi,
Static elements should not be in the tab order like this, so if you want to make them focusable you can add tabindex="-1" instead, which does make them focusable without adding them to the tab order.

It sounds like you are reloading the page onSubmit.

If this is the case, you can make sure the heading has a unique ID, such as id="uniqueId", then add this to the page url when it reloads.
E.G domain.com/page.html#uniqueId

This will force focus to this location when the page loads.

All the best,
Bryan