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.
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: