Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
aria-live-storybook-addon
Advanced tools
Readme
Debugging ARIA live regions is cumbersome. Validating that live regions are connected should be easy, automatic, and available right in the story.
First, install the addon.
$ yarn add aria-live-storybook-addon
Add this line to your main.js file (create this file inside your Storybook config directory if needed).
module.exports = {
addons: ['aria-live-storybook-addon'],
};
Once installed, you'll have a new Panel: Aria Live Regions
.
This panel will observe changes to aria-live=polite
and aria-live=assertive
elements in your story.
Implementation examples can be found in Storybook on Chromatic.
This addon only acklowedges the first aria-live
element of types polite
and assertive
in a story.
In practice, an application should only have one aria-live
announcer per type.
When using UI libraries like React, browsers like Chrome and Firefox might not observe text changes, only additions. This is true of this addon as well as the screen reader experience.
To ensure that users of assistive technologies are able to observe changes, be sure to clear the content of aria-live
elements.
If you are looking for implementation strategies, consider this implementation using React Hooks.
FAQs
Observe and log aria-live region changes in the addon panel
The npm package aria-live-storybook-addon receives a total of 265 weekly downloads. As such, aria-live-storybook-addon popularity was classified as not popular.
We found that aria-live-storybook-addon demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.