HTML Tidy  5.6.0
The HTACG Tidy HTML Project
access.h
Go to the documentation of this file.
1 #ifndef __ACCESS_H__
2 #define __ACCESS_H__
3 
4 /*********************************************************************
5  * carry out accessibility checks
6  *
7  * This module carries out processes for all accessibility checks. It
8  * traverses through all the content within the tree and evaluates the
9  * tags for accessibility.
10  *
11  * To perform the following checks, 'AccessibilityChecks' must be
12  * called AFTER the tree structure has been formed.
13  *
14  * If, in the command prompt or configuration file, there is no
15  * specification of which accessibility priorities to check, then no
16  * accessibility checks will be performed.
17  *
18  * The accessibility checks to perform depending on user's desire:
19  * 1. priority 1
20  * 2. priority 1 & 2
21  * 3. priority 1, 2, & 3
22  *
23  * Reference document: http://www.w3.org/TR/WAI-WEBCONTENT/
24  *
25  * Copyright University of Toronto
26  * Portions (c) 1998-2006 (W3C) MIT, ERCIM, Keio University
27  * See `tidy.h` for the copyright notice.
28  * Programmed by: Mike Lam and Chris Ridpath
29  * Modifications by: Terry Teague (TRT)
30  * Further modifications: consult git log.
31  *********************************************************************/
32 
33 #include "forward.h"
34 
35 
36 enum {
38 };
39 
40 struct _TidyAccessImpl;
41 typedef struct _TidyAccessImpl TidyAccessImpl;
42 
44 {
45  /* gets set from Tidy variable AccessibilityCheckLevel */
46  int PRIORITYCHK; /**< */
47 
48  /* Number of characters that are found within the concatenated text */
49  int counter;
50 
51  /* list of characters in the text nodes found within a container element */
53 
54  /* The list of characters found within one text node */
56 
57  /* Number of frame elements found within a frameset */
58  int numFrames;
59 
60  /* Number of 'longdesc' attributes found within a frameset */
62 
66 
67  /* For 'USEMAP' identifier */
71 
72  /* For tracking nodes that are deleted from the original parse tree - TRT */
73  /* Node *access_tree; */
74 
82  int ForID;
83 
84 };
85 
86 
87 void TY_(AccessibilityChecks)( TidyDocImpl* doc );
88 
89 
90 #endif /* __ACCESS_H__ */
tmbchar text[TEXTBUF_SIZE]
Definition: access.h:55
int numFrames
Definition: access.h:58
Bool HasValidRowHeaders
Definition: access.h:78
Bool HasInvalidRowHeader
Definition: access.h:80
Bool HasValidColumnHeaders
Definition: access.h:79
tmbchar textNode[TEXTBUF_SIZE]
Definition: access.h:52
int ForID
Definition: access.h:82
int counter
Definition: access.h:49
Bool
Definition: tidyplatform.h:631
Bool HasTH
Definition: access.h:75
int OtherListElements
Definition: access.h:65
Bool HasName
Definition: access.h:69
Bool HasValidFor
Definition: access.h:76
Bool HasValidId
Definition: access.h:77
Bool HasUseMap
Definition: access.h:68
Bool HasMap
Definition: access.h:70
int ListElements
Definition: access.h:64
int CheckedHeaders
Definition: access.h:63
char tmbchar
Definition: tidyplatform.h:591
Definition: access.h:43
Bool HasInvalidColumnHeader
Definition: access.h:81
#define TY_(str)
Definition: forward.h:23
int PRIORITYCHK
Definition: access.h:46
Definition: access.h:37
int HasCheckedLongDesc
Definition: access.h:61