WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Is Definition List the best solution here?

for

From: Jonathan Cohn
Date: Jun 15, 2017 7:49PM


I have certainly come across lists like this. I expect you would actually be maintaining the data in XML or JSOM and then use tools to manipulate into either a table or list as appropriate. If one is attempting to get every X of the books in the list, then a table output would be more efficient. But if one is primarily focused on the data about one book at a time, then it is easier to manage as a set of lists.




Best wishes,

Jonathan Cohn



> On Jun 14, 2017, at 1:57 PM, Swift, Daniel P. < <EMAIL REMOVED> > wrote:
>
> 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/>;
>
> > > > > > >