WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Tags to Represent Questions

for

From: Jared Smith
Date: Jan 9, 2008 4:30PM


On 1/9/08, Randall Pope < <EMAIL REMOVED> > wrote:
> Hi Everyone,
>
> Sorry if my question sounds a little basic but I need to figure out what the
> best way in building accessible FAQ pages.
>
> I'm trying to find a best way to tag the question and answer that can be
> understood by the screen readers.

I've always used definition lists for this.

<dl>
<dt>Is this the best way to handle an FAQ question?</dt>
<dd>Probably not, but I can't think of anything better.</dd>
...
</dl>

While you might question if this is an appropriate use of <dl>, you
can't argue that it provides an appropriate association and visual
rendering for questions and answers.

Jared Smith
WebAIM