- From: Peter Weil <peter.weil@wisc.edu>
- Date: Thu, 8 Jul 2021 18:59:33 +0000
- To: "w3c-wai-ig@w3.org" <w3c-wai-ig@w3.org>, "mattia.gentilini@antreem.com" <mattia.gentilini@antreem.com>
Received on Thursday, 8 July 2021 19:00:55 UTC
<dl> represents a “description list”, so it would fit your case. No ARIA needed. "The dl<https://html.spec.whatwg.org/#the-dl-element> element represents<https://html.spec.whatwg.org/#represents> an association list consisting of zero or more name-value groups (a description list)." https://html.spec.whatwg.org/#the-dl-element Peter -- Peter Weil, Web Developer University Marketing University of Wisconsin–Madison peter.weil@wisc.edu (m) 608-220-3089 On Jul 8, 2021, 1:04 PM -0500, mattia.gentilini@antreem.com <mattia.gentilini@antreem.com>, wrote: Having a list of name / value couples to display, e.g. Name - John Doe Birthdate - May 5th, 1966 Nationality - U.S. email - john.doe@email.com<mailto:john.doe@email.com> ... I was wondering which elements or roles are most suited to display it. Initially I thought about <dl>, but it doesn't seem right to me, as I'm not defining terms here; I also don't think that the "term" role for names and "definition" role for values are good either. Any suggestions? -- Mattia Gentilini https://www.antreem.com/
Received on Thursday, 8 July 2021 19:00:55 UTC