Streaming live at 10am (PST)

Giving a symbol an attribute?

I wasn’t sure what category to put this in! I’m still fairly new to webflow.

Goal: To give a symbol an attribute. I want to give a reusable image an attribute of aria-hidden=true. This way, the screen reader for accessibility wont read it out.

Problem: This image is being used in more than 10 places. It’s just a bit tedious to add the same attribute to the same image over and over again

If you convert this image to a symbol and set the data-att once it should work fine (But you should convert “all” regular" images to this symbol).

Another solution is by js - but symbols, in this case, it’s better (Its only 10 times not 1000)

1 Like

That worked! Thank you for the quick response.