|
|
Data TablesData vs. Layout Tables Data tables are used to display facts and figures of information. When a screen reader encounters a data table, it can be difficult for the listener to understand the information being conveyed unless the table contains appropriate mark-up. Below is an example of a data table.
The days of the week are the column headers for the data of the table, the hours of operation. The headers have a special HTML tag <TH> which indicate they are headers. This enables to screen reader to appropriately read the table. Another special HTML attribute is added to the header tag so it reads <TH scope="col"> to indicate that this is a column heading. If there were additional row headings they would have a scope="row" attribute. Data vs. Layout TablesAnytime you verify your web pages using AccVerify or another validation tool, you will get a warning that a table is present. However the Section 508 guidelines (G&H) regarding tables only apply to data tables. The majority of tables in your web pages are probably layout tables. A data table will contain facts, figures and organized information. It will have either column or row headings or both. This type of table requires special consideration and work to make it accessible according to Section 508. The Hours of Operation table above is a sample of a data table. A layout table is more commonly used and it is purely for presentation and appearance purposes. Frequently, people use tables to place graphics and text in column format or create a navigation area on the left hand side of the screen. Section 508 guidelines do not apply to layout tables, but there are some recommendations to make the use of layout tables more accessible.
Fixing Data Tables
Viewlets require Macromedia Flash Player.
Multiple Levels of HeadingsSometimes data tables will have multiple layers of headings. This format of table can be extremely difficult to read by a screen reader. Multiple layers of headings means that there are two or more column headings or row headings. Look at the example below.
This type of table can be very confusing to a screen reader and is almost impossible to make accessible. Instead of using multiple layers of headings, look for a way to present the information in a different fashion or link to a text-based paragraph type description. In other words - AVOID this type of data table and if used, always provide the information in an alternate format. Layout Table RecommendationsEven though Section 508 rules apply only to data tables, there are four things to remember when using layout tables for appearance. Following these recommendations will ensure that your layout tables display correctly to all users.
ResourcesWebAIM tutorial on accessible tables WAVE accessibility tool (shows you the order your table would be read by a screen reader) W3C Recommendations for tables |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||