What fresh hell is THIS now? - Patrick Lauke
<span class=“icon-font” aria-label=“explanation">symbol</span>
is exactly what you want. Using the visually hidden text would cause the symbol itself to be read as gibberish.
[heydon, a11y] @heidi @rodneyrehm Whether SVG or icon font, you have two strategies, depending on your situation: 1. provide a good label for the icon or 2. bollocks to the icon because it means nothing much anyway, least of all non-visually.
I’d use SVG and use aria-label on the <svg> element itself. SVG can also have an accessible name via its <title> child element, but this is unreliable without aria-labelledby and FUCK knows how it works when <use> is involved :smile: