微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Accessible If you want to run the tests in your page:If you have something to say or contribute, please:

程序名称:Accessible If you want to run the tests in your page:If you have something to say or contribute, please:

授权协议: 未知

操作系统: 未知

开发语言:

Accessible If you want to run the tests in your page:If you have something to say or contribute, please: 介绍

What is this ?

  • This plugin aims to be a collection of snippets that improve accessibility for websites.
  • It also includes a set of “recommendations” coded as tests to improve accessibilty (even beyond javascript).
  • These recommendations can be tested against a page, and get a summary of the results.

How to use it ?

  • First add a call to jquery.js (duh!).
  • Add jquery.accessible.js. This contains the engine for rules/fixes and a set of predefined ones.
  • Right after this, you are ready to run the fixes by calling jQuery.accessible(). You can pass in a hash to specify, with the id and true or false, which ones to run.
    IMPORTANT: don’t call this function inside document.ready, call it right
    away instead.

If you want to run the tests in your page:

  • Add jquery.accessible.validator.js after jquery.accessible.js.
  • Call jQuery.accessible.runTests(). (right away too)
  • You can optionally indicate where to output the results, with a selector as first argument.

What else ?

  • This plugin is just giving its first steps, and it’s mostly a draft/demonstration for Now.
  • The author’s intention is to get developers to collaborate, in order to consolidate a large number of improvements to websites’ accessibility.
  • Allowing any developer to make his/her site, much more accessible, with little effort.

If you have something to say or contribute, please:

Accessible If you want to run the tests in your page:If you have something to say or contribute, please: 官网

http://plugins.jquery.com/project/Accessible

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐