
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
@leafygreen-ui/a11y
Advanced tools
pnpm add @leafygreen-ui/a11y
yarn add @leafygreen-ui/a11y
npm install @leafygreen-ui/a11y
import { VisuallyHidden } from '@leafygreen-ui/a11y';
const Button = () => {
return (
<button>
<svg role="presentation" aria-hidden />
<VisuallyHidden>Click me</VisuallyHidden>
</button>
);
};
| Prop | Type | Description | Default |
|---|---|---|---|
children | string | Text that is announced to screen readers but is hidden from the screen. |
Hook that returns two sets of props that accessibly associate a label and its respective input element
| Parameter | Type | Description | Default |
|---|---|---|---|
id | string | id that describes the input element. |
Function that validates that either aria-label or aria-labelledby are present within props.
| Parameter | Type | Description | Default |
|---|---|---|---|
props | Record<string, any> | Object of component properties. | |
componentName | string | Name of component with props to be validated. |
Returns an emotion CSS instance for rendering styles that respect OS-level preferences for reduced motion.
Use this function to remove scale, size, and positional transitions for users with that preference set.
| Parameter | Type | Description | Default |
|---|---|---|---|
styles | string | String of styles to render within preference media query. |
FAQs
leafyGreen UI Kit A11y
The npm package @leafygreen-ui/a11y receives a total of 28,028 weekly downloads. As such, @leafygreen-ui/a11y popularity was classified as popular.
We found that @leafygreen-ui/a11y 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.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.