<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          pa11y自動化可訪問性測試

          聯(lián)合創(chuàng)作 · 2023-10-01 17:38

          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
          瀏覽 21
          點贊
          評論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報
          評論
          圖片
          表情
          推薦
          點贊
          評論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  亚州视频在线观看 | 人妻三级视频 | 免费看一级a片一级a片不人片 | 91亚洲国产成人久久精品网 | 日韩中文字幕视频在线 |