0
0
HTMLmarkup~5 mins

Table accessibility basics in HTML - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
Why should tables have <caption> elements?
The <caption> provides a clear, short description of the table's purpose. Screen readers use it to help users understand what the table is about.
Click to reveal answer
beginner
What is the role of <th> in accessible tables?
<th> defines header cells that describe the content of rows or columns. They help screen readers announce the header when reading table data cells.
Click to reveal answer
intermediate
How do scope attributes improve table accessibility?
The scope attribute on <th> tells screen readers if the header is for a row, column, or group. This clarifies relationships between headers and data cells.
Click to reveal answer
intermediate
What is the purpose of using summary attribute or ARIA roles in tables?
The summary attribute (though deprecated) or ARIA roles provide extra context about complex tables for screen readers, helping users understand layout and data relationships.
Click to reveal answer
beginner
Why should tables avoid using layout tables for design?
Using tables only for data keeps structure clear. Layout tables confuse screen readers because they expect tables to show data relationships, not page layout.
Click to reveal answer
Which HTML element provides a title or description for a table?
A<title>
B<summary>
C<caption>
D<header>
What attribute on <th> helps define if it is a header for a row or column?
Ascope
Baria-label
Crole
Did
Which tag should be used for table header cells?
A<th>
B<td>
C<tr>
D<thead>
Why is it bad to use tables for page layout?
AIt slows down the page
BIt confuses screen readers expecting data tables
CIt uses too much CSS
DIt breaks links
What helps screen reader users understand complex tables better?
ARemoving headers
BAdding many colors
CUsing only <td> cells
DUsing ARIA roles and captions
Explain how to make a data table accessible for screen reader users.
Think about how screen readers understand table structure.
You got /5 concepts.
    Describe why using and scope attributes is important in tables.
    Headers guide users through table data.
    You got /4 concepts.