Hacker News new | ask | show | jobs
by csande17 815 days ago
You could use the <use> element in an inline SVG to duplicate the same bitmap <image> to multiple parts of the page.
1 comments

Interesting, I'll try that later. But I guess that won't have some useful attributes on <img> like "alt"?
I found [this suggestion](https://stackoverflow.com/questions/4697100/accessibility-re...), although it's pretty old. Maybe screen readers have made improvements to this scenario in the last few years?

    <svg role="img" aria-label="[title + description]">
        <title>[title]</title>
        <desc>[long description]</desc>
        ...
    </svg>