• Hello, after doing a new PageSpeed insight test I got the following:

    Image elements have?[alt]?attributes that are redundant text.

    “Instagram post 18314187382122223”

    Wasn’t an issue before the latest update.

Viewing 1 replies (of 1 total)
  • Plugin Support Smash Balloon Louis

    (@smashballoonlouis)

    Hi @soltero,

    Thank you for contacting us! I checked with our development team and they let me know that there haven’t been any recent changes to how the alt attributes are set on images in the feed. If a post has a caption, this caption is used as the alt text, and for posts without captions, it is set to “Instagram post {postid}”. So if the previous posts in the feed had captions, this could explain the difference.

    You can also add the PHP code snippet below to the functions.php file of your site’s active theme and change the $alt_text value that is returned to manually set the alt text for all post images in the feed .

    function sbi_img_alt( $img_alt, $post ) {
    	$alt_text = __( 'Instagram Image', 'instagram-feed' );
    	return $alt_text;
    }
    add_filter( 'sbi_img_alt', 'sbi_img_alt', 10, 2 );

    Our development team is also looking into further changes we can make to improve accessibility in the future.

    I hope this helps!

    Best regards,
    Louis

Viewing 1 replies (of 1 total)
  • The topic ‘[NSFW] Accessibility Issue’ is closed to new replies.