Hello -
To be compliant with current accessibility standards, we need images that are purely decorative to display alt=""
. The alt text must be there but the value needs to be null (i.e. alt="").
I found another thread that was getting at this, and I’ve tried the following filter but it isn’t working for me. Is there a simple way for me to do something like this so that the alt text for images show alt=""
"?
add_filter( 'cs_fallback_alt_text', function($text) {
return '';
} );