Capítulo 43 de 43
Hides content visually while keeping it in the accessibility tree — an alternative to aria-label/aria-labelledby when you want the actual text content (not just an attribute string) announced to assistive technology.
Root: single part; anything nested inside is visually hidden but still announced by screen readers.AccessibleIcon and Dialog's hide-title-visually pattern both build on this.<button>
<GearIcon />
<VisuallyHidden.Root>Settings</VisuallyHidden.Root>
</button>
aria-label attribute.aria-label when the accessible name is naturally expressed as visible-looking text content (e.g. localized strings already rendered elsewhere) rather than a short attribute string.AccessibleIcon wraps — reach for AccessibleIcon directly for the common "label this icon" case, and VisuallyHidden directly for anything else that needs the same visual-hide-but-announce treatment (e.g. a hidden Dialog.Title).Title/Description hide-visually pattern uses this.