Support » Plugin: WordPress Share Buttons Plugin – AddThis » tabindex is wrong for accessibility

  • Resolved timbobo

    (@timbobo)


    The default action of your plugin is to set the sharing buttons to tabindex=1. This is causing our accessibility reviews with our clients to FAIL. The tabindex should be set to 0 by default, or at least give us a way to control this with the settings.

    The very first link a person using keyboard navigation should see is the “skip to content” button, and if they tab past this, they should go to the navigation. But by setting your buttons to tabindex=1, you force your buttons above all of this. We tried changing this with javascript, but the timing is clunky. We have to wait for your plugin to do its thing work, then do our fix. Most of the time the user has already hit tab in this gap of time.

    I have searched online and there are complaints about this problem going as far back as six years. So I am really hoping that there is a list a solid work around in place. Thanks in advance for any help you can provide.

    • This topic was modified 2 years, 11 months ago by timbobo.
Viewing 1 replies (of 1 total)
  • Plugin Contributor addthis_leland

    (@addthisleland)

    Hi there!

    Thanks for contacting AddThis Support 🙂

    There is a config setting that you can set to make it so that the tab-index is set to 0 and here is some documentation on how you can set this:
    http://www.addthis.com/academy/the-addthis_config-variable/

    Essentially, you will want to go under AddThis > Advanced Settings and then look for ‘addthis_config’. Here’s a video walkthrough on how you can find this config field:
    https://www.screencast.com/t/KecDp7lU5yy

    The code you’ll want to add to that addthis_config is:
    {“ui_tabindex”:”0″}

    Let me know if that works!

    Thanks,
    Leland

Viewing 1 replies (of 1 total)
  • The topic ‘tabindex is wrong for accessibility’ is closed to new replies.