Tables
There are 3 simple accessibility tests for a table. Tables with role='presentation' will be ignored.
- Table must contain at least one table heading or th
- Table must not contain an empty table heading or empty th
- Table must not contain any semantic headings (H1, h3, h3...)
Example 1 - Pass
| Event Name | Time | Location |
|---|---|---|
| Keynote | 9:00 AM | Auditorium |
| Lunch | 12:00 PM | Skyline Room |
| Closing Dinner | 5:00 PM | Metropolitan Room |
Example 2 - Missing table headers
| Event Name | Time | Location |
| Keynote | 9:00 AM | Auditorium |
| Lunch | 12:00 PM | Skyline Room |
| Closing Dinner | 5:00 PM | Metropolitan Room |
Example 3 - Table containing empty table header
| Time | Location | |
|---|---|---|
| Keynote | 9:00 AM | Auditorium |
| Lunch | 12:00 PM | Skyline Room |
| Closing Dinner | 5:00 PM | Metropolitan Room |
Example 4 - Table containing semantic headings
Event |
Time |
Location |
|---|---|---|
| Keynote | 9:00 AM | Auditorium |
| Lunch | 12:00 PM | Skyline Room |
| Closing Dinner | 5:00 PM | Metropolitan Room |