自动化可访问性测试 pa11y

码农软件 · 软件分类 · 测试工具 · 2019-11-22 08:57:46

软件介绍

pa11y 是自动化可访问性测试工具,在命令行运行 HTML CodeSniffer 来生成程序化可访问性报告。

在线演示

pa11y nature.com
var pa11y = require('pa11y');
pa11y(options, function (error, test, exit) {
    test('nature.com', function (error, results) {
        /* ... */
    });
});

pa11y 要求 Node.js 0.10+ 和 PhantomJS to run.

在 Mac 使用 Homebrew 安装:

$ brew install node
$ brew install phantomjs

命令行工具

Usage: pa11y [options] <url>

  Options:

    -h, --help                 output usage information
    -V, --version              output the version number
    -s, --standard <name>      the accessibility standard to use: Section508, WCAG2A, WCAG2AA (default), WCAG2AAA
    -r, --reporter <reporter>  the reporter to use: cli (default), csv, html, json
    -l, --level <level>        the level of message to fail on (exit with code 2): error, warning, notice
    -i, --ignore <ignore>      types and codes of messages to ignore separated by semi-colons
    -c, --config <path>        a JSON config file
    -p, --port <port>          the port to run PhantomJS on
    -t, --timeout <ms>         the timeout in milliseconds
    -d, --debug                output debug messages

本文地址:https://codercto.com/soft/d/19528.html

产品增长力

产品增长力

李阳 / 机械工业出版社 / 2018-4-1 / 59

本书由京东资深数据产品经理撰写,重新定义了数据与产品、业务的关系,从数据分析方法、数据价值挖掘、数据结果倒逼业务优化3个层次,以及设计、运营和优化3个维度,为产品增长提供了科学的依据和方法论,得到了PMCaff创始人阿德、GrowingIO创始人&CEO张溪梦、增长官研究院创始人范冰、腾讯高级产品经理刘涵宇等专家的高度评价。 全书内容以理论为主线,以实操为目标,萃取技术实操与管理思维中的精华......一起来看看 《产品增长力》 这本书的介绍吧!

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具