Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
bpk-component-aria-live-css
Advanced tools
Backpack aria-live component.
npm install bpk-component-aria-live --save-dev
import React from 'react';
import BpkAriaLive, { ARIA_LIVE_POLITENESS_SETTINGS } from 'bpk-component-aria-live';
export default () => (
<>
<BpkAriaLive>
Information about an interaction section of the page. This will be visible only to accessibility technologies.
</BpkAriaLive>
<BpkAriaLive visible politenessSetting={ARIA_LIVE_POLITENESS_SETTINGS.assertive}>
Information about an interaction section of the page. This will be visible to everybody.
</BpkAriaLive>
</>
);
Property | PropType | Required | Default Value |
---|---|---|---|
className | string | false | null |
politenessSetting | oneOf([ARIA_LIVE_POLITENESS_SETTINGS.off , ARIA_LIVE_POLITENESS_SETTINGS.polite , ARIA_LIVE_POLITENESS_SETTINGS.assertive ]) | false | ARIA_LIVE_POLITENESS_SETTINGS.polite |
visible | bool | false | false |
aria-relevant
and aria-atomic
props can also be set.
aria-relevant
determines what sort of changes should be read out. By default it is additions
but can be removals
or all
. Read more about aria-relevant
on MDN.
aria-atomic
is a boolean which determines whether changes should be read out, or the whole region should be read out. Read more about aria-atomic
on MDN.
FAQs
Backpack aria-live component.
The npm package bpk-component-aria-live-css receives a total of 9 weekly downloads. As such, bpk-component-aria-live-css popularity was classified as not popular.
We found that bpk-component-aria-live-css demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.