E-mail List Archives
Allowed children in a dl element
From: Brian Lovely
Date: Oct 24, 2018 5:42AM
- Next message: Steve Faulkner: "Re: Allowed children in a dl element"
- Previous message: Steve Green: "Re: List of buttons triggers MENU role"
- Next message in Thread: Steve Faulkner: "Re: Allowed children in a dl element"
- Previous message in Thread: None
- View all messages in this Thread
>
> The w3 HTML5 spec seems to allow a div to be the immediate child of a dl,
> then a dd or dt to be a child of that div.
"Either:Zero or more groups each consisting of one or more dt
<https://www.w3.org/TR/html5/grouping-content.html#elementdef-dt> elements
followed by one or more dd
<https://www.w3.org/TR/html5/grouping-content.html#elementdef-dd>elements,
optionally intermixed with script-supporting elements
<https://www.w3.org/TR/html5/dom.html#script-supporting-elements-2>.
Or: One or more div
<https://www.w3.org/TR/html5/grouping-content.html#elementdef-div> elements,
optionally intermixed with script-supporting elements."
https://www.w3.org/TR/html5/grouping-content.html#the-dl-element
However, Deque's Attest Chrome browser extension calls out an error: "<dl>
elements must only directly contain properly-ordered <dt> and <dd> groups,
<script> or <template> elements"
These seem to contradict one another. Can anyone shed some light on this?
--
*Brian Lovely*
Digital Accessibility
804.389.1064
The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.
- Next message: Steve Faulkner: "Re: Allowed children in a dl element"
- Previous message: Steve Green: "Re: List of buttons triggers MENU role"
- Next message in Thread: Steve Faulkner: "Re: Allowed children in a dl element"
- Previous message in Thread: None
- View all messages in this Thread