« * K @johnhenry.ie

John Henry Donovan @johnhenry.ie

2026-07-29 23:24 UTC

Most Craft image templates fall back to asset.title when the alt field is empty. So you ship "Img 20240312 Final V2" as alt text. And it passes every automated audit going. The fallback chain I use instead, plus the Twig: johnhenry.ie/blog/2026/07... #CraftCMS #A11y #WebDev

Link: The Alt Attribute Is Never Optional | Blog | John Henry Donovan (johnhenry.ie/blog/2026/07/the-alt-attribute-is-never-option…)

3 likes, 0 reposts, 0 replies

3 Next post4 More from @johnhenry.ieBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup