- From: Harvey Bingham <hbingham@acm.org>
- Date: Thu, 24 Aug 2000 02:10:30 -0400
- To: w3c-wai-er-ig@w3.org
At 2000-08-18 15:58-0400, Leonard R. Kasday wrote: >I had an action item from the last telecon on writing up a straw proposal >on making classes accessible. They are posted at > >http://www.w3.org/WAI/ER/IG/classuse.html > >Two questions: > >1. Would this be of practical value? >2. Is is philosophically acceptable? As an experiment, I sought all the uses of class=... in various WAI guidelines, their lists of checkpoints or table of them, and of the ERT draft. Here is my summary of them. The list is larger than Wendy and Len had indicated. The semantics for several are not suggested by their names. I wonder if CSS support for these documents covers all of them? Many are missing in the default.css provided with WCAG. Any new class value may require an augmented stylesheet to describe what to do with it. 1. Summary of class attribute values in WCAG htm files Count Code Filename 93 cl cl990505.htm WCAG Checklist 537 te te990505.htm WCAG Checklist table form 363 wc wc990505.htm WCAG 1.0 Count Codes Class 12 te ainst 16 cl checkhead 65 cl checkinfo 301 te wc checkpoint 3 wc CHECKPOINT 28 te wc checkpoints 1 wc conform 3 cl te wc copyright 9 te css-example 9 te deprecated-example 40 wc dfn-instance 1 te dropcap 42 te einst 50 te example 16 wc GLOSSARY 53 wc glossary 14 wc guideline 3 cl te wc head 1 te nav 12 cl te wc navbar 1 te navigation-bar 1 te newbullet 15 te wc nonb 17 te wc noprint 9 cl te wc notoc 103 te wc noxref 57 te off 5 te quicktest 2 te section2 14 wc subhead 3 cl table 12 te wc toc 24 te wc tocline2 51 te wc tocline3 993 Total class occurrences, 34 different class values. 2. Summary of class attribute values in htm files for ATAG Count Code Filename 182 at atag10.htm Authoring Tool Accessibility Guidelines 1.0 40 cl clatag10.htm ATAG Checklist 76 ct ctatag10.htm ATAG Checklist Table 419 tc tcatag10.htm ATAG Techniques Count Codes Class 4 ct checkhead 28 ct checkinfo 144 at tc checkpoint 14 at tc checkpoints 2 at tc conform 4 at cl ct tc copyright 82 at tc dfn-instance 2 at tc glossary 14 at tc guideline 4 at cl ct tc head 16 at cl ct tc navbar 11 at tc nonb 32 at tc noprint 28 at cl ct tc notoc 51 at cl ct tc noxref 1 at priorities-specific 49 at cl ct tc priority1 53 at cl ct tc priority2 31 at cl ct tc priority3 22 at cl ct tc priorityR 4 ct table 74 tc techniques 1 tc technologies 9 at tc toc 15 at tc tocline2 22 at tc tocline3 717 Total class occurrences, 26 different class values. 3. Summary of class attribute values in htm files for User Agent Guidelines Count Code Filename 13 cl clua.htm User Agent checklist 114 ct ctua.htm User Agent checklist table 689 ua ua10610.htm User Agent Guidelines 2000-06-10 Count Codes Class 14 ct checkhead 84 ct checkinfo 118 ua checkpoint 19 ua checkpoints 3 cl ct ua copyright 195 ua dfn-instance 86 ua glossary 4 ua GLOSSARY 11 ua guideline 11 ua guideline-box 3 cl ct ua head 12 cl ct ua navbar 2 ua nonb 87 ua noprint 9 cl ct ua notoc 52 cl ct ua noxref 33 cl ct ua priority1 24 cl ct ua priority2 12 cl ct ua priority3 11 ua subhead 3 ct table 4 ua toc 4 ua tocline2 11 ua tocline3 * 4 ua tocxref 816 Total class occurrences, 25 different class values. 4. Summary of class attribute values in htm file for ERT working draft Count Code Filename 75 er ert00823.htm ERT 2000-08-23 working draft Count Codes Class 1 er copyright 7 er E 1 er head 4 er navbar 2 er notoc 2 er toc 29 er tocline2 29 er tocxref 75 Total class occurrences, 8 different class values. 5. Element and Attribute Name Capitalization I also note inconsistent use of capitalization. Upper-case element names are used in the WCAG checklist and the table version of it. A mixture, some capitalized, some not, are used in WCAG. In ERT, most, but not all tags are uppercase, with inconsistency in individual tags (for example <a ...> and <A ...>.) I suggest that as we move toward XHTML or XML, we should use lower-case element type names and attribute names. We certainly should avoid a mixture. 6. Attribute Name Quoting XML and XHTML require that all attribute values must be quoted, either by matching "..." or '...'. That has not been consistently used in the WAI html documents. Regards/Harvey Bingham hbingham@acm.org Invited Expert, W3C Web Accessibility Initiative http://www.tiac.net/users/bingham/
Received on Thursday, 24 August 2000 02:16:27 UTC