Support » Plugin: WP Accessibility » Skiplinks code not at very top of code

  • So strange issue here.
    The theme for the site I’m using this plugin on is forcing a page scrolling script above the ‘Skip to Content’ code.
    So this means that you have to hit TAB a number of times before getting to the ‘Skip to Content’ link.

    The page scrolling script is built with javascript and looks fairly complex so i can’t just comment it out.

    Is there a way to force this plugin to input the Skip code even higher?

    Its an old, very complex and annoying theme that I can’t change right now, so just trying to find an option for this.

    Any thoughts?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    At a guess, what you really need to be looking at is what order these scripts are being executed in. I suspect that both are being prepended in the same place, it just matters which one is executing first.

    Thread Starter aaronrobb

    (@aaronrobb)

    Hi Joe

    Thanks for the response!

    I’ll try to find if the theme’s scripts are enqueued with a certain order. If I can’t find that, would your plugin have a function i can call to force it to start above?

    Plugin Author Joe Dolson

    (@joedolson)

    Well, there’s a function you can call to render the HTML output: wpa_toolbar_html. However, I’m not sure you’d be able to insert that code above the existing inserted code without knowing where and when it’s inserted.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Skiplinks code not at very top of code’ is closed to new replies.