- From: Steve Faulkner <sfaulkner@paciellogroup.com>
- Date: Tue, 27 Jan 2009 10:20:30 -0000
- To: "'Shane McCarron'" <shane@aptest.com>, "'olivier Thereaux'" <ot@w3.org>
- Cc: <www-validator@w3.org>
I have created modified DTDs for HTML 4.01 and XHTML 1.0 using the attributes module [http://www.w3.org/WAI/PF/aria/#xhtml_mod]. These are available at http://svn.codetalks.org/repos/trunk/tools/ARIA-DTDs/ These DTD's contain the additions below, added to the coreattrs (%ARIArole; %ARIAtabindex; %ARIAattrs;) The tabindex declarations for individual elements have been removed. Notes: The (X)THML + ARIA validation is based on attributes and attribute values as defined in the WAI-ARIA (draft) specification 1.0 [link: http://www.w3.org/WAI/PF/aria/]. The DTD's are not official versions and have not been endorsed by anyone. Validation of HTML 4.01 and XHTML 1.0 documents using the experimental DTD's, will detect errors in WAI-ARIA attribute names and values only. The DTD's allow ARIA attributes to be placed on any element. It will not provide any indication of the correctness of the use of a WAI-ARIA attribute on any given element. <!--================ ADD WAI-ARIA Attributes =========================--> <!ENTITY % ARIArole "role (alert|alertdialog|application|article|banner|button|checkbox|columnheader|c ombobox|complementary|contentinfo|definition|dialog|directory|document|grid| gridcell|group|heading|img|link|list|listbox|listitem|log|main|marquee|math| menu|menubar|menuitem|menuitemcheckbox|menuitemradio|navigation|note|option| presentation|progressbar|radio|radiogroup|region|row|rowheader|search|separa tor|slider|spinbutton|status|tab|tablist|tabpanel|textbox|timer|toolbar|tool tip|tree|treegrid|treeitem) #IMPLIED" > <!ENTITY % ARIAtabindex "tabindex NMTOKEN #IMPLIED" > <!ENTITY % ARIAattrs -- states -- "aria-busy ( true | false ) 'false' aria-checked ( true | false | mixed | undefined ) 'undefined' aria-disabled ( true | false ) 'false' aria-dropeffect NMTOKENS 'none' aria-expanded ( true | false | undefined ) 'undefined' aria-grab ( true | supported | false ) 'false' aria-hidden ( true | false ) 'false' aria-invalid ( grammar | false | spelling | true ) 'false' aria-pressed ( true | false | mixed | undefined ) 'undefined' aria-selected ( true | false | undefined ) 'undefined' -- properties -- aria-activedescendant IDREF #IMPLIED aria-atomic ( true | false ) 'false' aria-autocomplete ( inline | list | both | none ) 'none' aria-controls IDREFS #IMPLIED aria-describedby IDREFS #IMPLIED aria-flowto IDREFS #IMPLIED aria-haspopup ( true | false ) 'false' aria-label CDATA #IMPLIED aria-labelledby IDREFS #IMPLIED aria-level CDATA #IMPLIED aria-live ( off | polite | assertive ) 'off' aria-multiline ( true | false ) 'false' aria-multiselectable ( true | false ) 'false' aria-owns IDREFS #IMPLIED aria-posinset CDATA #IMPLIED aria-readonly ( true | false ) 'false' aria-relevant NMTOKENS 'additions text' aria-required ( true | false ) 'false' aria-setsize CDATA #IMPLIED aria-sort ( ascending | descending | none | other ) 'none' aria-valuemax CDATA #IMPLIED aria-valuemin CDATA #IMPLIED aria-valuenow CDATA #IMPLIED aria-valuetext CDATA #IMPLIED "> -----Original Message----- From: Shane McCarron [mailto:shane@aptest.com] Sent: 26 January 2009 20:00 To: olivier Thereaux Cc: Steve Faulkner; www-validator@w3.org Subject: Re: [VE][232] getting this error Error [232]: "number of attribute names and name tokens (X) exceeds ATTCNT (Y)" The XHTML 2 Working Group has not discussed creating ARIA versions of those markup languages, but it would be trivial to do so (using the DTD ARIA implementation that is part of the spec). I will raise this with the working group. Steve, if this is something you need immediately, please let me know. Otherwise, if you can wait a couple of weeks, I have given myself an action to respond to this thread after discussing it with the working group. olivier Thereaux wrote: > > Hi Steve, all > > On 26-Jan-09, at 5:35 AM, Steve Faulkner wrote: >> I am creating some modified DTD's for HTML4.01 and XHTML 1.0, >> Is there any chance that these can be added to the W3C validator as >> experimental (X)HTML+ARIA DTD's? >> So that they can be used as DOCTYPE override selections? > > I think it makes sense to do it, yes. Granted, these DTDs are not > "standards track" material but both ARIA and HTML401/xhtml10 are, so > it's mostly a matter of finding the right term to describe the > "unofficialness" in ways that does not cause confusion. > > Wondering what the SYSTEM id (URI) will be for those. Is there a chance > the DTDs will be hosted somewhere under http://www.w3.org/Markup/DTD/ ? > -- Shane P. McCarron Phone: +1 763 786-8160 x120 Managing Director Fax: +1 763 786-8180 ApTest Minnesota Inet: shane@aptest.com
Received on Tuesday, 27 January 2009 10:21:09 UTC