E-mail List Archives
Thread: Allowed children in a dl element
Number of posts in this thread: 3 (In chronological order)
From: Brian Lovely
Date: Wed, Oct 24 2018 5:42AM
Subject: Allowed children in a dl element
No previous message | Next message →
>
> 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.
From: Steve Faulkner
Date: Wed, Oct 24 2018 5:51AM
Subject: Re: Allowed children in a dl element
← Previous message | Next message →
This is a bug in the attest rule, needs to be updated to reflect HTML
--
Regards
SteveF
Current Standards Work @W3C
<http://www.paciellogroup.com/blog/2015/03/current-standards-work-at-w3c/>
On Wed, 24 Oct 2018 at 12:43, Brian Lovely via WebAIM-Forum <
= EMAIL ADDRESS REMOVED = > wrote:
> >
> > 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.
> > > > >
From: Birkir R. Gunnarsson
Date: Wed, Oct 24 2018 5:56AM
Subject: Re: Allowed children in a dl element
← Previous message | No next message
I'd recommend you file an aXe core issue for this
https://github.com/dequelabs/axe-core/issues
(if you have GitHub account just log in, the text fields do not have
labels so creating your first issue is a little bit of a hassle if you
are a screen reader user but it's not too bad).
You can also verify that this is valid HtML by writing an example and
validate it with Nu:
https://validator.w3.org/nu
(from the "check by" dropdown select the "text input" option, then you
can paste the HtML into the input field. Note, after pressing the
"validate" button you have to look for the results, they are not
clearly marked with a heading or landmark.
-B
On 10/24/18, Brian Lovely via WebAIM-Forum < = EMAIL ADDRESS REMOVED = > wrote:
>>
>> 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.
> > > > >
--
Work hard. Have fun. Make history.