WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Another rookie question: tables that use a heading rather than a caption


From: Jared Smith
Date: Mar 29, 2017 1:45PM

Jeremy -

With HTML5 you can place the heading inside the caption:
<caption><h2>Table Caption/Heading</h2></caption>

This is valid HTML and I'm not aware of any downside to doing this.