Socket
Socket
Sign inDemoInstall

@react-aria/visually-hidden

Package Overview
Dependencies
11
Maintainers
2
Versions
698
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @react-aria/visually-hidden

Spectrum UI components in React


Version published
Weekly downloads
1M
increased by3.09%
Maintainers
2
Created
Weekly downloads
 

Package description

What is @react-aria/visually-hidden?

@react-aria/visually-hidden is a React component that allows you to hide content visually while keeping it accessible to screen readers. This is useful for providing additional context or instructions to users who rely on assistive technologies without displaying the content on the screen.

What are @react-aria/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 adding extra context or instructions for screen reader users.

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

Visually Hidden Elements

You can also hide entire elements visually while keeping them accessible to screen readers. This can be useful for interactive elements that should not be visible but still need to be accessible.

<VisuallyHidden><button>Click me</button></VisuallyHidden>

Other packages similar to @react-aria/visually-hidden

Readme

Source

@react-aria/visually-hidden

This package is part of react-spectrum. See the repo for more details.

FAQs

Last updated on 18 Oct 2023

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc