What's the "correct" way to label an image (specifically an SVG) inside a link, when there is no other link text? 🤔 Firefox's accessibility audit complains if I don't label both. Would I do like "Link to annika@xoxo.zone on Mastodon" as the <a> title and "Mastodon logo" as the svg <title> element?
@annika You can use <label for="some-element">This is the label</label> and put in anywhere actually. The warning talks about you not putting interactive elements inside the label itself, at least that's how I read it.
Add comment