Hiding inline SVG icons from screen readers | 456 Berea Street
A good reminder from Roger on how to hide images from an SVG sprite from assistive technology (use aria-hidden
) and how to expose them (use title
elements within the sprite).
A good reminder from Roger on how to hide images from an SVG sprite from assistive technology (use aria-hidden
) and how to expose them (use title
elements within the sprite).
The currentColor
value in CSS comes in very handy when you’ve got an SVG sprite and you want icons to inherit their colour from the surrounding text.