Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@radix-ui/react-visually-hidden
Advanced tools
The @radix-ui/react-visually-hidden package is designed to assist developers in creating accessible web applications by providing a component that visually hides content but keeps it accessible to screen readers. This is particularly useful for enhancing the accessibility of websites without compromising the design or user interface.
Visually hiding content
This feature allows developers to hide text or other elements visually while still making it accessible to screen readers. The provided code demonstrates how to wrap content within the VisuallyHidden component to achieve this effect.
import VisuallyHidden from '@radix-ui/react-visually-hidden';
function App() {
return (
<VisuallyHidden>
<p>This text is hidden visually but accessible to screen readers.</p>
</VisuallyHidden>
);
}
Similar to @radix-ui/react-visually-hidden, this package provides a simple utility to hide content visually. The main difference lies in the implementation details and possibly the API, which might be simpler or more complex depending on the version and updates.
react-visually-hidden
$ yarn add @radix-ui/react-visually-hidden
# or
$ npm install @radix-ui/react-visually-hidden
View docs here.
FAQs
Unknown package
The npm package @radix-ui/react-visually-hidden receives a total of 2,156,487 weekly downloads. As such, @radix-ui/react-visually-hidden popularity was classified as popular.
We found that @radix-ui/react-visually-hidden demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.