New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@acot/acot-plugin-wcag

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@acot/acot-plugin-wcag

A WCAG-based rule set for acot.

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-40%
Maintainers
1
Weekly downloads
 
Created
Source

@acot/acot-plugin-wcag

A WCAG-based rule set for acot.

Install

Install via npm:

$ npm install --save-dev @acot/acot-plugin-wcag

Usage

Add @acot/wcag to the plugins field of the acot config file. then configure the rules you want to use under the rules section.

{
  "plugins": ["@acot/wcag"],
  "rules": {
    "@acot/wcag/button-has-name": "error"
  }
}

You can also enable all the recommended rules for our plugin. Add plugin:@acot/wcag/recommended in extends:

{
  "extends": ["plugin:@acot/wcag/recommended"]
}

Supported Rules

NameDescription:heavy_check_mark:
@acot/wcag/interactive-has-enough-sizeThe size of the target for pointer inputs is at least 44 by 44 CSS pixels.:heavy_check_mark:
@acot/wcag/interactive-has-nameFor all user interface components (including but not limited to: form elements, links and components generated by scripts), the name and role can be programmatically determined; states, properties, and values that can be set by the user can be programmatically set; and notification of changes to these items is available to user agents, including assistive technologies. WCAG 2.1 - 4.1.2: Name, Role, Value:heavy_check_mark:
@acot/wcag/interactive-supports-focusTBA:heavy_check_mark:

Concept

Interactive content

Some rules deal with interactive content. The definition of interactive content to be audited is as follows:

  1. 3.2.5.2.7 Interactive content compliant elements.
  2. Elements with a role attribute that conforms to the above.
  3. Focusable elements.

T.B.A

FAQs

Package last updated on 31 Oct 2020

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