WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Is Definition List the best solution here?

for

From: Swift, Daniel P.
Date: Jun 14, 2017 11:57AM


I think a table is actually best since it's data about books.

Dan Swift
Senior Web Specialist
Enterprise Services
West Chester University
610.738.0589

-----Original Message-----
From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On Behalf Of Angela French
Sent: Wednesday, June 14, 2017 1:36 PM
To: WebAim Forum ( <EMAIL REMOVED> )
Subject: [WebAIM] Is Definition List the best solution here?

Hello,
I'd like some opinions/explanations on whether using <dl><dt> and <dd> is the best way to approach something similar to what follows here where we need to display multiple instances of the same terms, but they would have different definitions.

<dl>
<dt>Book Title: </dt><dd>foo</dd>
<dt>Author: </dt><dd>foo</dd>
<dt>ISBN: </dt><dd>foo</dd>
<dt>Year Published: </dt><dd>foo</dd>

<dt>Book Title: </dt><dd>foo</dd>
<dt>Author: </dt><dd>foo</dd>
<dt>ISBN: </dt><dd>foo</dd>
<dt>Year Published: </dt><dd>foo</dd>

Etc.
</dl>

Or would each set be a separate definition list <dl>? Or is there some other better way to handle this?

Thanks




Angela French
Internet/Intranet Specialist
Washington State Board for Community and Technical Colleges
360-704-4316
<EMAIL REMOVED> <mailto: <EMAIL REMOVED> >
www.sbctc.edu<;http://www.sbctc.edu/>;