E-mail List Archives

Re: Asking for views on using h1-h6 heading markupinsidedatatables

for

From: Chagnon | PubCom
Date: Aug 30, 2017 7:24PM


Agree with Karen's and others' comments.



But I have found legitimate needs for subheads within tables used for statistical data, such as a government agency's table I reviewed today. These are data tables, not layout tables.



I don't think table subheads like the samples below should use the same tags as H1 to H6 used for navigation in the main document. Instead, I'd like the WAI committee to consider specific table subhead tags that will notify the user that they're entering a new section of content in the table, and maybe even let the user navigate within the table by these table subheads.



A small snippet of a sample table like this is below.

It has two subcategories for Social Security and Major Health Care Programs, along with their subtotals.




Item

2016

2017

2018


Social Security


Old-Age and Survivors Insurance

767

796

841


Disability Insurance

144

143

147


Subtotal

910

939

988


Major Health Care Programs


Medicare

692

701

711


Medicaid

368

385

410


Health insurance subsidies and related spending

42

51

61


Children's Health Insurance Program

14

15

13


Subtotal

1,117

1,152

1,194



I don’t know what to call these items, maybe table section headers would work. Their purpose is to signal the reader that they are entering a new section of data within the table.



One technique we use with this type of table is to write a table summary that describes the table’s structure, such as “This table contains several subsections of data with individual subtotals for each subsection: Social Security, Major Health Care Programs,” etc.



--Bevi Chagnon