Data Table Rules
HTML Markup Details
tableelement- The
tableelement is the container for tabular data markup. captionelement- The
captionelement is defined in HTML to provide a visible title for a table, but it has not been widely used by developers and therefore assistive technologies do not support it. summaryattribute- The
summaryattribute, defined in thetableelement, should describe the content of the table or the conclusion the author intends to convey through the data in the table. Assistive technologies use thesummaryattribute as the effective title for a data table. The use of thesummaryattribute should be restricted to data tables and should not be used on layout tables. If more than one data table appears on a page, thesummaryattribute content should be unique to help screen readers users understand how the content of the two tables is different. h2and other heading elements- Heading elements can be used to identify the purpose of a data table and provide a mechanism to navigate to the table.
thandtdelements- The
thelement represents header cells and thetdelement represents data cells. idattribute- The
idattribute, defined forthelements, should uniquely identify each header cell. This id is used in conjunction with the headers attribute oftdelements to indicate headers for a particular data cell. headersattribute- The
headersattribute, defined fortdelements, should point to the id ofthelements that are the header cells for the data cell. scopeattribute- The
scopeattribute, defined fortdandthelements, is not used by assistive technologies to improve accessibility.
Definitions
- Data Table
- Contains at least 2 rows and 2 columns, and
- Contains at least one of the following:
summaryattribute on thetableelementcaptionelementtheadelementthelementtdelement that contains ascopeorheadersattribute.
- Complex Data Table
- Satisfies all the requirements of data table detecton, and
- Contains at least one of the following:
trelement with atdorthelement withrowspanorcolspanattribute with a value > 1trelement that contains both td elements AND more than one th elementtheadelement that contains more than onetrelement- Two or more
trelements that contain onlythelements - A
trelement with atdorthelement withheadersattribute that contains more than twoidrefs
Accessibility Evaluation Rules
| no. | Testing | Description | Implementation | |
|---|---|---|---|---|
| FAE |
Firefox Accessibility Extension |
|||
| 1 | Fail/Pass |
For each data table, the first cell in each column must be a |
1.0 | 1.5 |
| 2 | Fail/Pass |
Each data table must have a nonempty Implementation Notes
|
1.0 | 1.5 |
| 3 | Fail/Pass |
Each th element in a complex data table must have ad |
1.0 | 1.5 |
| 4 | Fail/Pass |
Each td element in a complex data table must have a |
1.0 | 1.5 |
| 5 | Warning/Pass |
The |
1.0 | 1.5 |
FAE Rule Implemetation
- Illinois Functional Accessibility Evaluator 1.0
- The Illinois Functional Accessibility Evaluator is a web based tool to help developers evaluate web resources for the use of the iCITA HTML best practices.
- Web interface cannot currently analyze content generated dynamically with javascript.
- Illinois Firefox Accessibility Extension
- The Illinois Firefox Accessibility Extension is a Firefox add-in that is designed to identify accessibility features for both static and dynamically generated html content.
- Useful for identifying the location of specific accessibility problems for failures and warnings indentified in FAE reports.
- Create FAE reports for a page that uses javascript to generate page content with the FAE DHTML Report feature.
