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
## Accessibility: Descriptive Titles and Descriptions
485
+
486
+
.. versionadded:: NEXT\_VERSION
487
+
488
+
The `ux_icon()` function and the `<twig:ux:icon>` component now support accessible SVG metadata via the `title` and `desc` attributes.
489
+
490
+
These are automatically injected into the `<svg>` markup as child elements, and properly referenced using `aria-labelledby` for improved screen reader support.
491
+
492
+
**How it works:**
493
+
494
+
When you pass a `title` and/or `desc` attribute, they are rendered inside the `<svg>` as follows:
0 commit comments