fscjCEL / protozoa

To learn about Protozoa just follow this link to the website.
https://cel.fscj.edu/protozoa
MIT License
0 stars 1 forks source link

Force focus on internal link navigation #27

Closed ianvanhoof closed 8 years ago

ianvanhoof commented 8 years ago

When using internal links (href="#navigateToThisID") it is usually to navigate to something on the same page.

We use them for a myriad of different purposes, and they all don't work with screen readers.

The problem stems from the fact that when clicked, these types of links, will update the page visually, but will not update the actual keyboard focus. So ANYBODY, challenged or not, will not have the ability to navigate to our content using a keyboard alone.

I need to force the issue each time.

I can do that using element.focus(), and YES that is going to be a P.I.T.A (pain in the angst hole), but it needs to be done.

ianvanhoof commented 8 years ago

Done