Support » Plugin: Fancier Author Box by ThematoSoup » How to improve accessibility for the blind (with code fix)

  • Resolved OConsultingGroup


    For a blind user who doesn’t know that the “bio” and “latest posts” are tabs, they’re likely to be confused when they click the link and don’t understand why the page isn’t changing. Here is a quick code fix, though a more experienced programmer could probably add on to this to even move the cursor focus to the bio or latest posts content as well.

    In “construct-tabs.php,” replace line 225 with this code:

    $ts_fab .= '<span style="position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden;">The following two tabs change content below.</span>';
    		$ts_fab .= '<ul class="ts-fab-list">';

    The phrase “The following two tabs change content below” is hidden from view with some basic CSS that is not reliant upon any stylesheets or special classes. I’d really appreciate it if the developer could please incorporate this into future releases.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Slobodan Manic


    Thanks for the suggestion. This makes perfect sense and will be included in next version.

    Plugin Author Slobodan Manic


    Implemented this in v1.1.2, submitting it now. Slight different implementation, without inline CSS, but huge thanks for the suggestion.

    Not a huge fan of this addition so I’ve taken it out manually.

    Any chance of putting in an option to turn it on or off?

    Thanks for the great plugin!

    Wanderlusters: I’m curious to know…why are you interested ind disabling a feature that improves the usability of your site for people who are blind, have low vision, or have print disabilities?

    Ah I’ve only just noticed that the text is supposed to be hidden. On our site we run white text on a black background so the text was very much visible. I will re-enable the text and change the css to make it black instead of white.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to improve accessibility for the blind (with code fix)’ is closed to new replies.