Support » Plugin: Slide Anything - Responsive Content / HTML Slider and Carousel » Accessibility Issue Caused by Missing Navigation Button Text

  • Resolved Pat K


    This is a really useful plugin (thanks!) but I came across a problem today when running a site through the WAVE Web Accessibility Evaluation Tool. There were accessibiolity errors being generated due to “empty buttons”. I narrowed it down to this plugin; specifically the previous / next navigation buttons.
    So I disabled the navigation arrows in the plugin settings – but that only hides the element, so the accessibility errors were still being generated. I tried a JavaScript override to dynamically add navText to the previous & next button elements and that didn’t work either. The ONLY way I could get the errors to stop was to manually edit this file: slide-anything-frontend.php line 847:
    $output .= " navText : ['Previous','Next'],\n";

    …and then use a huge negative text indent value in the theme’s stylesheet to hide the text on the front end. Unfortunately, this means I have to manually edit the file each time I run a plugin update.

    Might I suggest one of 2 things?
    1) Provide the option of button text in the dashboard plugin settings, or
    2) Add Previous & Next text to the php file and then allow text visibility to be toggled on or off.

    Otherwise this plugin is always going to generate accessibility errors going forward.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author simonpedge


    Ok, I have addressed this in the latest version of Slide Anything, version 2.3.28.

    Here’s the release notes:
    = 2.3.28 =
    * 2 small fixes. Added transparent (invisible) ‘Previous’ and ‘Next’ text to the Previous & Next arrow buttons so that accessibility errors are no longer generated with accessibility evaluation tools. Do not use the ‘window.dispatchEvent’ function call on IE11 browsers when executing a ‘resize’ event.

    Thank you for bringing this to my attention.

    Thread Starter Pat K


    Wow – thanks for the quick fix! Much appreciated!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Accessibility Issue Caused by Missing Navigation Button Text’ is closed to new replies.