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