Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More

@chakra-ui/visually-hidden

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chakra-ui/visually-hidden

A React component that visually hides its content


Version published
Weekly downloads
468K
increased by5.29%
Maintainers
3
Weekly downloads
 
Created

What is @chakra-ui/visually-hidden?

@chakra-ui/visually-hidden is a utility component from the Chakra UI library that allows you to visually hide elements while keeping them accessible to screen readers. This is particularly useful for improving accessibility in web applications.

What are @chakra-ui/visually-hidden's main functionalities?

Visually Hidden Text

This feature allows you to hide text visually while keeping it accessible to screen readers. This is useful for providing additional context to screen reader users without displaying the text on the screen.

<VisuallyHidden>This text is hidden but accessible to screen readers</VisuallyHidden>

Visually Hidden Input

You can use the VisuallyHidden component to hide form elements like inputs while keeping them accessible. This is useful for hidden form fields that need to be read by screen readers.

<VisuallyHidden as="input" type="text" value="hidden input" />

Other packages similar to @chakra-ui/visually-hidden

FAQs

Package last updated on 22 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts