Skip to main content

Table Basics

The following is an example of a simple data table:

Presidents of Stanford University
NameStart YearEnd Year
David Starr Jordan18911913
John Casper Branner19131915
Ray Lyman Wilbur19161943
Donald B. Tresidder19431948
J. E. Wallace Sterling19491968
Kenneth S. Pitzer19681970
Richard W. Lyman19701980
Donald Kennedy19801992
Gerhard Casper19922000
John Hennessy20002016
Marc Tessier-Lavigne2016Present

Users can understand the data by looking at two header sections. The first row contains column headers (Name, Start Year, End Year). Each row also has a row header (the president's name). Using the column and row headers, users can visually determine quickly that Richard Lyman ended his presidency in 1980.

Presidents of Stanford University
NameStart YearEnd Year
David Starr Jordan18911913
John Casper Branner19131915
Ray Lyman Wilbur19161943
Donald B. Tresidder19431948
J. E. Wallace Sterling19491968
Kenneth S. Pitzer19681970
Richard W. Lyman19701980
Donald Kennedy19801992
Gerhard Casper19922000
John Hennessy20002016
Marc Tessier-Lavigne2016Present

This obvious visual association must be communicated programmatically to be considered accessible. Column and row headers must be correctly defined using methods available in the platform or medium where the table is created. For example, in HTML, column headers are identified as <th> elements with scope="col" and row headers are idenfitied as <th> elements with scope="row". Review platform-specific guidance in the Techniques section of this site.

Last modified