WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: List Headings

for

From: Jared Smith
Date: Jun 18, 2013 2:34PM


On Tue, Jun 18, 2013 at 1:55 PM, David Ashleydale wrote:

> Is there a good way to code a list and its "heading" so that they are
> programmatically associated?

You brought up this question here a couple months ago and I think
there were some good responses then -
http://webaim.org/discussion/mail_thread?threadX14

In HTML, we're pretty much limited to standard heading elements.
Regardless, I don't believe that 2.4.4 requires such a programmatic
association anyway - I think the natural reading flow of the content
is sufficient.

Your usage of <legend> for this would not be appropriate and would not
provide any utility.

Jared