Is there a way to search for all the instances where property display:none
is used and add the attribute aria-hidden="true"
using JavaScript.
My site has hundreds of instances of this and i am looking for a quicker way.
Could it be something like this: (added to a function)
$(*).css( "display", "none" ).attr( "aria-hidden", "true" );
use hidden() selector to identify all display none element
DEMO