?????(accessibility)???????Pa11y
???????????? ???????[ 2016/5/12 11:17:21 ] ??????????????? ??????????
????????????????
?????????????????????????豸???????????????????÷?Χ??С??????????????”(Wiki: Accessibility is a general term used to describe the degree to which a product?? device?? service?? or environment is available to as many people as possible.) ???????Щ??????????????????????????????????????????????
?????????????????“?????”???????????????????????????????
????????????????淶?????????????????????????淶???????????W3C??????“??????????????????”??WCAG 2.0????
???????????????????????????????????????????
????????????????????????????????????????????????????????????????????????????????????
???????????λ??????????????????????????????Щ???????????緢????????Э???????????????????????????????Щ????accessibility??????????????????????????????????????accessibility???????????????????Щ??????????????Ч????
???????????????Pa11y
????Pa11y????????????accessibility????????????????????????HTML_CodeSniffer????????html????????????????WCAG(WebContentAccessibilityGuideLines2.0)???????????????? Section 508???
????pa11y????????????:???????pa11y??????????????е?pa11y-webservice????????pa11y-dashboard????????????в??????????÷?????????????????pa11y-dashboard?????????
??????????????????????????????????accessibility?????????????????????????????????????????????????HTML_CodeSniffer?????????????????WCAG??Section508????????????????????pa11y???????HTML_CodeSniffer??????phantomjs????????????pa11y??????remote URL?????html?????????????????????????????檔?????????JS???????????JavaScript?????ú??????????????????????????к?????涼?????????????pa11y???????鷳??????????????????檔????????????????pa11y-webservice??????????????????????????????????????????????????????????Щ?????????????????????Ч???????????????п????UI??pa11y-dashboard???????????????????
??????????mac??????????????????????????????????
???????????????:
????$ brew install node
????$ brew install phantomjs
????$ brew install mongodb
????$ npm install -g grunt-cli
????pa11y
?????????
????npm install -g pa11y
???????:
???????????????
????pa11y www.taobao.com
??????????????
????pa11y file:///path/to/your/file.html
????pa11y-webservice
?????????
???????????
????git clone https://github.com/springernature/pa11y-webservice.git
???????????????
????npm install
????pa11y-dashboard
???????
????git clone https://github.com/springernature/pa11y-dashboard.git
????npm install
????????????????????????????
????$ cp config/development.sample.json config/development.json
????$ cp config/production.sample.json config/production.json
????$ cp config/test.sample.json config/test.json
???????????????????????
????????廷????????
????$ NODE_ENV=production node . # Run in production
????$ NODE_ENV=development node . # Run in development
????$ NODE_ENV=test node . # Run in test
?????????????????????ú???test mode?????????
????$ grunt start-test
???????????????Щ???????????
????$ grunt # Run the lint and test tasks together
????$ grunt lint # Run JSHint with the correct config
????$ grunt compile # Compile front-end assets
????$ grunt start # Run app in development mode?? restarting if files change
????$ grunt start-test # Run app in test mode?? restarting if files change
????$ grunt test # Run functional tests
????$ grunt watch # Watch for file changes and compile assets
????????dashboardЧ?????£?
????
??????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11