You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for <title> and <desc> elements in SVG for accessibility
When passing title and/or desc as attributes to ux_icon(), they are now embedded directly into the SVG as <title> and <desc> child elements.
Each <title> and <desc> element is given a unique id and automatically referenced via aria-labelledby, if no such attribute was already set.
This ensures compliance with accessibility best practices for inline SVG content.
See:
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/titlehttps://developer.mozilla.org/en-US/docs/Web/SVG/Element/desc
0 commit comments