自动化可访问性测试pa11y.zip
pa11y 是自动化可访问性测试工具,在命令行运行 HTML CodeSniffer 来生成程序化可访问性报告。在线演示pa11y nature.comvar 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 标签:pa11y
- 1
- 2
- 粉丝: 435
- 资源: 1万+
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于stm32f103c单片机+MPU6050+0.96英寸OLED显示屏双柄遥控器硬件(原理图+PCB)工程文件.zip
- 整理的关于少儿编程的学习路径,以及如何在小升初,初升高和大学充分的利用起来编程经验的优势
- 足球比赛结果统计表2006-2011年大约28W场比赛
- 基于PHP+mysql的社区交流系统(源代码)
- yolov5,SSD 可能使用到的一些代码
- 一键批量生成多层次文件夹结构,使用Python脚本实现嵌套文件夹批量生成
- 基于c51单片机+DS1302+DHT11温湿度模块+LCD1602显示的万年历硬件原理图+BOM+软件程源码序+仿真图.zip
- NSGA2的MATLAB代码
- Messagepassingtest_GCN_DGL.py
- Sh,Docker 运维好帮手,一招通过 sh 脚本批量快速启动和重启多个Docker 容器