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.
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.
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.
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.