- From: Loretta Guarino Reid <lorettaguarino@google.com>
- Date: Thu, 29 Jul 2010 17:58:15 -0700
- To: makoto.ueki@gmail.com
- Cc: public-comments-wcag20@w3.org
On Thu, Jul 22, 2010 at 6:49 PM, <makoto.ueki@gmail.com> wrote: > > Name: Makoto Ueki > Email: makoto.ueki@gmail.com > Affiliation: Infoaxia, Inc. > Document: UW > Item Number: Understanding Success Criterion 4.1.1 > Part of Item: Sufficient Techniques > Comment Type: general comment > Summary of Issue: SC4.1.1 Sufficient Techniques > Comment (Including rationale for any proposed change): > Sufficient Techniques for SC 4.1.1 are listed as below: > 1. G134: Validating Web pages > 2. G192: Fully conforming to specifications > 3. H88: Using HTML according to spec > 4. Ensuring that Web pages can be parsed by using one of the following techniques: > *H74: Ensuring that opening and closing tags are used according to specification (HTML) > *H75: Ensuring that Web pages are well-formed (HTML) > > For HTML, it means that using only H74 would be sufficient for meeting this Success Criterion. > > However, authors won't be able to ensure that "elements are nested according to their specifications, elements do not contain duplicate attributes, and any IDs are unique" by using H74. > > One more issue. Does H75(well-formed HTML) also mean that "elements do not contain duplicate attributes, and any IDs are unique"? In general, "well-formed" would imply that "elements have complete start and end tags, elements are nested according to their specifications". If it also means "not duplicated attributes" and "properly nested elements", please make sure that this is specified in the Understanding and H75 Technique document. > > "well-formed" is understood differently among web developers. Need to clarify what it exactly means. > > Proposed Change: > 1. G134: Validating Web pages > 2. G192: Fully conforming to specifications > 3. H88: Using HTML according to spec > 4. H74: Ensuring that opening and closing tags are used according to specification (HTML) AND H00: Ensuring that elements are nested according to their specifications (HTML) AND H000: Ensuring that elements do not contain duplicate attributes (HTML) AND H000: Ensuring that any IDs are unique (HTML) > 5. H75: Ensuring that Web pages are well-formed (HTML) AND H000: Ensuring that elements do not contain duplicate attributes (HTML) AND H000: Ensuring that any IDs are unique (HTML) > ================================ Response from the Working Group ================================ Thank you for catching this problem. The definition of well-formedness (http://www.w3.org/TR/2004/REC-xml11-20040204/#sec-well-formed) includes the requirement that IDs be unique (Section 3.3.1 Attribute Types <http://www.w3.org/TR/2004/REC-xml11-20040204/#sec-attribute-types>;) If attributes are required to be unique, duplicate attributes also fail well-formedness (although not all attributes must be defined this way). H74 already covers incorrect nesting of opening and closing tags, as well as missing or ill-formed tags. So it is not necessary to add an additional technique to check for improper nesting. However, it is necessary to add the additional techniques for checking attributes, so we have created these techniques and will add them to the Understanding Document: H74: Ensuring that opening and closing tags are used according to specification (HTML) AND HYY: Ensuring that elements do not contain duplicate attributes (HTML) AND HZZ: Ensuring that id attributes are unique on a Web page (HTML) Loretta Guarino Reid, WCAG WG Co-Chair Gregg Vanderheiden, WCAG WG Co-Chair Michael Cooper, WCAG WG Staff Contact On behalf of the WCAG Working Group
Received on Friday, 30 July 2010 00:58:45 UTC