Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aria-components

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aria-components

JavaScript classes to aid in accessible web development.

  • 0.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
186
decreased by-19.13%
Maintainers
1
Weekly downloads
 
Created
Source

npm version Build Status

AriaComponents

Quickly create accessible interactive components based on the W3C spec and examples

Installation

npm i aria-components

Component documentation:

Each of the above extends AriaComponent, which provides basic state management and component structure.

Help text elements

Elements used for keyboard navigation description and referenced on the element via aria-labelledby need to exist in the DOM.

The Menu and MenuBar components reference such elements. As a result, authors will need to manually add the elements to their page(s).

Examples can be found in the docs directory:

See also the Menu and Menubar components' README

Aside from the help text examples above, authors are responsible for adding all necessary aria-labelledby, aria-label and aria-describedby to the revelant elements.

Note:

This package is provided without processing; you'll likely need to run these through Babel to use them in your projects.

Contributing

npm run watch
Run Jest and watch files for changes.

npm run dev
Run Webpack in development mode and Jekyll serve the example page at http://127.0.0.1:8080/AriaComponents/

npm run build
Run Webpack in production mode. This is required prior to merging to ensure assets are ready for GitHub Pages.

Keywords

FAQs

Package last updated on 31 Dec 2019

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc