Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #883986

    File: av-helper-slideshow.php

    Could this code be updated to meet accessibility standards? Instead of using “<a href=’#prev’ ….” could you use “<button …”? The accessibility issue is that these links have no destination (necessary for WCAG 2.0AA). If a destination div with ids are added, and two slideshows are used on the same page, then there are duplicate “prev” and “next” id elements.

    Code:

    protected function slide_navigation_arrows()
    		{
    			global $avia_config;
    		
    			$html  = "";
    			$html .= "<div class='avia-slideshow-arrows avia-slideshow-controls'>";
    			$html .= 	"<a href='#prev'>".__('Previous','avia_framework' )."</a>";
    			$html .= 	"<a href='#next'>".__('Next','avia_framework' )."</a>";
    			$html .= "</div>";
    
    			return $html;
    		}

    Thanks!

    #884887

    Hey lssu,

    Yes, Please feel free to request – or vote if already requested – such feature on Enfold feature request form.

    Best regards,
    Nikko

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.