都是些平常不注意的地方。

表格中使用 scope

显示更多

The efficiency of using the scope attribute becomes more apparent in much larger tables. For instance, if an agency used a table with 20 rows and 20 columns, there would be 400 data cells in the table. To make this table comply with this provision without using the scope attribute would require special coding in all 400 data cells, plus the 40 header and row cells. By contrast, using the scope attribute would only require special

attributes in the 40 header and row cells.

Using the “ID” and “Headers” Attributes in Tables

来自:

http://www.access-board.gov/sec508/guide/1194.22.htm

参考资料:

understanding accessibility

WCAG(Web Content Accessibility Guidelines 1.0)

508 Verifacation工具

普通验证

http://www.contentquality.com/mynewtester/cynthia.exe?Url1=完整地址

详细报告

http://www.hisoftware.com/accmonitorsitetest/genreport.aspx?rptmode=-1&runcr=1&完整地址

时间长,更加详细的分析报告

http://webxact2.watchfire.com/

看到 watchfire 中 WCAG 2 3 的报告部分都快崩溃了,需要修改添加的东西可真不少。

Priority 1 Checkpoints

1.If an image conveys important information beyond what is in its alternative text, provide an extended description.(alt和longdesc,后者提供详细说明 .txt)

2. Synchronize equivalent alternatives with multimedia presentations.非文字内容给文字说明(object中间说明)

3.If a table has two or more rows or columns that serve as headers, use structural markup to identify their hierarchy and relationship.

表格中应该使用以下描述

* To group rows, use THEAD, TFOOT, and TBODY

* To group columns, use COL and COLGROUP

* To describe complex relationships among data, use the “axis” and “scope” attributes.

Scope specifies the set of data cells to be associated with the current header cell and must have one of the following values: “row”, “col”, “rowgroup” or “colgroup”.

4. Provide accessible alternatives to the information in scripts, applets, or objects.除了object,script也要给出noscript 部分。

Priority 2 Checkpoints

1. Make sure event handlers do not require use of a mouse.(上面google本站搜索部分)

2.Do not use the same link phrase more than once when the links point to different URLs. 链接地址不同,链接文字也应该不一样

Priority 3 Checkpoints

1.Separate adjacent links with more than whitespace.

2.Include default, place-holding characters 表单元素默认值

3. Provide a summary for tables.

Cynthia 验证

收到两个警告:

1.Validate that Alternative Text is greater than 7 and less than 81 characters in length

alt说明文字最好不要多于81,少于7个字(俺是中文又不是英文单词)

2.INPUT Element, of Type TEXT, found at Line: 203, Column: 363 contains a non-empty ‘value’ attribute. This is a practice referred to as “self-labeling.” Self-Labeling is argued to be accessible under Priority One or Section 508 guidelines/standards. We recommend using a Label as the Preferred method or the use of an ‘alt’ attribute to make this element accessible.

input 虽然可用预定义value来作说明,但还是推荐使用label。(简直就是没事找事)

[Edit on 2005-11-12 11:29:30 By guoshuang]