00001 <?php
00023
00027 class Wcag2aaGuideline extends quailGuideline{
00028
00032 var $tests = array(
00033 'imgHasAlt',
00034 'imgAltIsDifferent',
00035 'imgAltIsTooLong',
00036 'imgAltNotPlaceHolder',
00037 'imgAltNotEmptyInAnchor',
00038 'imgHasLongDesc',
00039 'imgAltIsSameInText',
00040 'imgAltEmptyForDecorativeImages',
00041 'appletContainsTextEquivalentInAlt',
00042 'appletContainsTextEquivalent',
00043 'inputImageHasAlt',
00044 'inputImageAltIdentifiesPurpose',
00045 'inputImageAltIsShort',
00046 'inputImageAltIsNotPlaceholder',
00047 'areaHasAltValue',
00048 'areaAltIdentifiesDestination',
00049 'areaLinksToSoundFile',
00050 'objectMustContainText',
00051 'embedHasAssociatedNoEmbed',
00052 'inputImageNotDecorative',
00053 'areaAltRefersToText',
00054 'inputElementsDontHaveAlt',
00055 'aLinksToSoundFilesNeedTranscripts',
00056 'aLinksToMultiMediaRequireTranscript',
00057 'inputTextHasLabel',
00058 'pNotUsedAsHeader',
00059 'selectHasAssociatedLabel',
00060 'textareaHasAssociatedLabel',
00061 'textareaLabelPositionedClose',
00062 'tableComplexHasSummary',
00063 'tableSummaryIsEmpty',
00064 'tableLayoutHasNoSummary',
00065 'tableLayoutHasNoCaption',
00066 'passwordHasLabel',
00067 'checkboxHasLabel',
00068 'fileHasLabel',
00069 'radioHasLabel',
00070 'passwordLabelIsNearby',
00071 'checkboxLabelIsNearby',
00072 'fileLabelIsNearby',
00073 'radioLabelIsNearby',
00074 'tableDataShouldHaveTh',
00075 'tableLayoutDataShouldNotHaveTh',
00076 'tableUsesCaption',
00077 'preShouldNotBeUsedForTabularLayout',
00078 'radioMarkedWithFieldgroupAndLegend',
00079 'tableSummaryDescribesTable',
00080 'tableIsGrouped',
00081 'tableUseColGroup',
00082 'tabularDataIsInTable',
00083 'tableCaptionIdentifiesTable',
00084 'tableSummaryDoesNotDuplicateCaption',
00085 'tableWithBothHeadersUseScope',
00086 'tableWithMoreHeadersUseID',
00087 'inputCheckboxRequiresFieldset',
00088 'documentVisualListsAreMarkedUp',
00089 'documentReadingDirection',
00090 'tableLayoutMakesSenseLinearized',
00091 'appletUIMustBeAccessible',
00092 'objectInterfaceIsAccessible',
00093 'scriptUIMustBeAccessible',
00094 'scriptOndblclickRequiresOnKeypress',
00095 'scriptOnmousedownRequiresOnKeypress',
00096 'scriptOnmousemove',
00097 'scriptOnmouseoutHasOnmouseblur',
00098 'scriptOnmouseoverHasOnfocus',
00099 'scriptOnmouseupHasOnkeyup',
00100 'documentMetaNotUsedWithTimeout',
00101 'imgGifNoFlicker',
00102 'appletsDoNotFlicker',
00103 'objectDoesNotFlicker',
00104 'scriptsDoNotFlicker',
00105 'skipToContentLinkProvided',
00106 'framesHaveATitle',
00107 'frameTitlesDescribeFunction',
00108 'documentWordsNotInLanguageAreMarked',
00109 'documentLangNotIdentified',
00110 'documentLangIsISO639Standard',
00111 'areaDontOpenNewWindow',
00112 'selectDoesNotChangeContext',
00113 'documentIDsMustBeUnique',
00114 'objectShouldHaveLongDescription',
00115 'blinkIsNotUsed',
00116 'marqueeIsNotUsed',
00117 'documentAutoRedirectNotUsed',
00118 'documentHasTitleElement',
00119 'documentTitleNotEmpty',
00120 'documentTitleIsShort',
00121 'documentTitleIsNotPlaceholder',
00122 'documentTitleDescribesDocument',
00123 'appletProvidesMechanismToReturnToParent',
00124 'objectProvidesMechanismToReturnToParent',
00125 'embedProvidesMechanismToReturnToParent',
00126 'imgAltIsSameInText',
00127 'boldIsNotUsed',
00128 'iIsNotUsed',
00129 'basefontIsNotUsed',
00130 'fontIsNotUsed',
00131 'bodyColorContrast',
00132 'bodyLinkColorContrast',
00133 'bodyActiveLinkColorContrast',
00134 'bodyVisitedLinkColorContrast',
00135 'imgNotReferredToByColorAlone',
00136 'appletsDoneUseColorAlone',
00137 'inputDoesNotUseColorAlone',
00138 'objectDoesNotUseColorAlone',
00139 'scriptsDoNotUseColorAlone',
00140 'documentAllColorsAreSet',
00141 'aLinksMakeSenseOutOfContext',
00142 'aSuspiciousLinkText',
00143 'aMustContainText',
00144 'siteMap',
00145 'headerH1',
00146 'headerH2',
00147 'headerH3',
00148 'headerH4',
00149 'headerH4',
00150 'headerH1Format',
00151 'headerH2Format',
00152 'headerH3Format',
00153 'headerH4Format',
00154 'headerH5Format',
00155 'headerH6Format',
00156 'tabIndexFollowsLogicalOrder',
00157 'listNotUsedForFormatting',
00158 'blockquoteNotUsedForIndentation',
00159 'blockquoteUseForQuotations',
00160 'labelMustBeUnique',
00161 'labelMustNotBeEmpty',
00162 'formWithRequiredLabel',
00163 'formHasGoodErrorMessage',
00164 'formErrorMessageHelpsUser',
00165 'formDeleteIsReversable',
00166 'svgContainsTitle',
00167 'cssTextHasContrast',
00168 'headersHaveText',
00169 );
00170 }