In what scenarios we should go for <dl> not <ul>?
Does it matter for screen reader user <ul> or <dl>? does screen reader software notify user about content is in <ul> or <dl>?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A
<dl>is a definition list. It should be used in such a case as, perhaps, a dictionary:Use-case:
Result of the above:
The idea being that the term-to-be-defined is held in the
<dt>element, and the definition of that term is given in the<dd>.A
<ul>is an unordered list. Now, a<dl>does not imply any order to its contents, but it does imply a semantic relation between its children. A<ul>, however, could contain anything that is not ordered.