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

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -