Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Ana Tudor 馃惎
@anatudor@mastodon.social  路  activity timestamp 3 weeks ago

Stupid #a11y question: is it okay to have this structure?

I need a filter on the img, but not on the figcaption too, so I can't apply it on the figure.

Also can't apply it on the img because the img has a mask, which applies after filter, but I need it applied before https://bsky.app/profile/anatudor.bsky.social/post/3lmgrfcnbsc2k

#accessibility #html #code #coding #frontend #web #dev #webDevelopment #webDev#CSS

<figure>
  <div>
    <img src='my-img.jpg' alt='image description'/>
  </div>
  <figcaption>caption</figcaption>
</figure>
<figure> <div> <img src='my-img.jpg' alt='image description'/> </div> <figcaption>caption</figcaption> </figure>
<figure> <div> <img src='my-img.jpg' alt='image description'/> </div> <figcaption>caption</figcaption> </figure>
  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About 路 Code of conduct 路 Privacy 路 Users 路 Instances
Bonfire social 路 1.0.0-rc.2.1 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct