screen readers - skip link accessibility - alternate solutions for dynamic pages -


i trying build our site accessible. means needs skip link screen-readers can use effectively.

the usual way build skip link intra-page anchor, wit:

<div id="skip-to-content">     <a href="#content-start" class="">skip main content</a> </div>  ...  <div class="content-body" id="#content-start"> 

this links url mysite/thispage#content-start.

unfortunately, because of way server-side implemented (which won't bother going into) hard links won't work. hitting mysite/thispage reloads page , not scroll.

rather trying negotiate back-end guys re-engineer how site built. i'd find way back-end independent.

and has supported screen-readers.

i'm pretty sure using jquery's scrollto or scrollintoview

document.queryselector('.hello').scrollintoview({    behavior: 'smooth'  }); 

will not work in screen readers.

can suggest alternate ways of linking content within page supported screen readers?

btw, angular 2 site.


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -