Accessibility Issue Caused by Missing Navigation Button Text
-
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.
Thanks,
pk
- The topic ‘Accessibility Issue Caused by Missing Navigation Button Text’ is closed to new replies.