WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: 4.1.1 Parsing > nested elements

for

From: Steve Faulkner
Date: Mar 29, 2018 3:53AM


This may be helpful:

WCAG 2.0 Parsing Criterion is a PITA
<https://developer.paciellogroup.com/blog/2015/11/wcag-2-0-parsing-criterion-is-a-pita/>

--

Regards

SteveF
Current Standards Work @W3C
<http://www.paciellogroup.com/blog/2015/03/current-standards-work-at-w3c/>;

On 29 March 2018 at 10:49, Steve Faulkner < <EMAIL REMOVED> > wrote:

> Passing or failing a success criterion is not the sum of passed
> techniques. Techniques only provide guidance on a subset of possible
> methods to pass.
>
> --
>
> Regards
>
> SteveF
> Current Standards Work @W3C
> <http://www.paciellogroup.com/blog/2015/03/current-standards-work-at-w3c/>;
>
> On 29 March 2018 at 10:37, Fernand van Olphen <
> <EMAIL REMOVED> > wrote:
>
>> Hi Shadi,
>>
>> Thanks for the quick response!
>>
>> Does that mean the following?
>>
>> 1) A web developer codes a website
>> 2) There are incorrect nested elements in his code
>> 2) He picks Technique number 4, the one I mentioned, which is a
>> combination of H74, H93, H94.
>> 3) Because the technique doesn't address the nested elements-issue, his
>> website will pass the Success Criterion.
>>
>>
>>
>>
>> -----Oorspronkelijk bericht-----
>> Van: Shadi Abou-Zahra [mailto: <EMAIL REMOVED> ]
>> Verzonden: donderdag 29 maart 2018 11:20
>> Aan: WebAIM Discussion List; Fernand van Olphen
>> Onderwerp: Re: [WebAIM] 4.1.1 Parsing > nested elements
>>
>> On 29/03/2018 10:59, Fernand van Olphen wrote:
>> > Success Criterion (SC) 4.1.1 speaks about parsing. It lists the next
>> conditions:
>> >
>> >
>> > - elements have complete start and end tags
>> >
>> > - elements are nested according to their specifications
>> >
>> > - elements do not contain duplicate attributes
>> >
>> > - any IDs are unique
>> >
>> > (except where the specifications allow these features)
>> >
>> >
>> > According to Technique number 4 the next three techniques must be
>> combined to comply with this SC:
>> >
>> >
>> > - H74: Ensuring that opening and closing tags are used according
>> to specification AND
>> >
>> > - H93: Ensuring that id attributes are unique on a Web page AND
>> >
>> > - H94: Ensuring that elements do not contain duplicate attributes
>> >
>> > Now I am confused: where is the technique that deals with the
>> condition: elements are nested according to their specifications?
>>
>> There is also H75: Ensuring that Web pages are well-formed
>> - https://www.w3.org/TR/WCAG20-TECHS/H75.html
>>
>> Also G134 and G192 can be used for full validation of web content.
>>
>> I found this by using the "How to Meet WCAG 2.0" quick reference guide:
>> -
>> https://www.w3.org/WAI/WCAG20/quickref/?showtechniquesA1#e
>> nsure-compat-parses
>>
>> Best,
>> Shadi
>>
>>
>> > Kind regards,
>> >
>> > Fernand van Olphen
>> > Accessibility Advisor
>> > Municipality of the Hague
>> > De disclaimer van toepassing op e-mail van de gemeente Den Haag vindt
>> > u op: http://www.denhaag.nl/disclaimer
>> > >> > >> > archives at http://webaim.org/discussion/archives
>> > >> >
>>
>> --
>> Shadi Abou-Zahra - http://www.w3.org/People/shadi/ Accessibility
>> Strategy and Technology Specialist Web Accessibility Initiative (WAI) World
>> Wide Web Consortium (W3C)
>> De disclaimer van toepassing op e-mail van de gemeente Den Haag vindt u
>> op: http://www.denhaag.nl/disclaimer
>> >> >> >> >>
>
>