Skip to content

rodebert/epubtype-to-aria

Repository files navigation

epub:type to aria-role transformator

A script to append aria doc roles based on epub:type.

Based on gist

Installation

npm install epubtype-to-aria

Usage

const epubTypeTransformer = require('epubtype-to-aria');
const html = fs.readFileSync('path/to/index.html', 'utf-8');

fs.writeFileSync('path/to/index.html', epubTypeTransformer(html), 'utf8');

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published