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

ace-core

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ace-core

Ace by DAISY, an Accessibility Checker for EPUB

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-73.33%
Maintainers
1
Weekly downloads
 
Created
Source

Ace, by DAISY

Ace, the Accessibility Checker for EPUB, is a tool developed by the DAISY Consortium to assist with the evaluation of accessibility features of EPUB publications.

What is Ace?

Ace is a tool to run automated accessibility checks for EPUB Publications, in order to assist in the evaluation of conformance to the EPUB Accessibility specification.

It is important to keep in mind that only a limited portion of accessibility checks can be automated, and therefore Ace is just a helper tool to assist in a broader, human-driven, evaluation process.

Under the hood, Ace currently runs the aXe engine for automated testing of HTML, developped by the good folks at Deque Systems.

Getting started

  • Install Node.JS (version 6 or higher).
  • Install Ace with npm install ace-core -g

If everything went smoothly, you should now be able to run the ace command in your shell.

Usage

The following help message is displayed when running ace --help:

Ace by DAISY, an Accessibility Checker for EPUB

  Usage
    $ ace [options] <input>

  Options
    -o, --outdir  <path>   save final reports to the specified directory
    -t, --tempdir <path>   specify a custom directory to store the temporary reports

  Examples
    $ ace -o out ~/Documents/book.epub

Checking an EPUB

You can check an EPUB by running the ace command followed by the path to the EPUB document. For example:

$ ace ~/Documents/moby-dick.epub

The above command will extract the EPUB to a temporary cache directory, then run the test rules against every Content Document in the EPUB.

When ran with no further options, the tool will produce a JSON report to the standard output.

Saving the reports on disk

You can specify a directory where to store the JSON report along with a human-readable HTML report, with the --outputdir option. For example:

$ ace -o results ~/Documents/moby-dick.epub

The above command will run the test rules and store both a JSON report (report.json) and an HTML report (report.html) under the results directory of your current working directory.

What’s next?

Feel free to read the project requirements to have a better idea of where we’re heading to.

You can also review the current work plan by looking at the current milestones defined in the issue tracker.

Keywords

FAQs

Package last updated on 02 Jun 2017

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