00001 <?php
00023
00027 class Wcag2aGuideline 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 'objectShouldHaveLongDescription',
00058 'inputTextHasLabel',
00059 'pNotUsedAsHeader',
00060 'selectHasAssociatedLabel',
00061 'textareaHasAssociatedLabel',
00062 'textareaLabelPositionedClose',
00063 'tableComplexHasSummary',
00064 'tableSummaryIsEmpty',
00065 'tableLayoutHasNoSummary',
00066 'tableLayoutHasNoCaption',
00067 'passwordHasLabel',
00068 'checkboxHasLabel',
00069 'fileHasLabel',
00070 'radioHasLabel',
00071 'passwordLabelIsNearby',
00072 'checkboxLabelIsNearby',
00073 'fileLabelIsNearby',
00074 'radioLabelIsNearby',
00075 'tableLayoutMakesSenseLinearized',
00076 'tableLayoutDataShouldNotHaveTh',
00077 'tableUsesCaption',
00078 'preShouldNotBeUsedForTabularLayout',
00079 'radioMarkedWithFieldgroupAndLegend',
00080 'tableSummaryDescribesTable',
00081 'tableIsGrouped',
00082 'tableUseColGroup',
00083 'tabularDataIsInTable',
00084 'tableCaptionIdentifiesTable',
00085 'tableSummaryDoesNotDuplicateCaption',
00086 'tableWithBothHeadersUseScope',
00087 'tableWithMoreHeadersUseID',
00088 'inputCheckboxRequiresFieldset',
00089 'documentVisualListsAreMarkedUp',
00090 'documentReadingDirection',
00091 'tableLayoutMakesSenseLinearized',
00092 'imgNotReferredToByColorAlone',
00093 'appletsDoneUseColorAlone',
00094 'inputDoesNotUseColorAlone',
00095 'objectDoesNotUseColorAlone',
00096 'scriptsDoNotUseColorAlone',
00097 'bodyColorContrast',
00098 'bodyLinkColorContrast',
00099 'bodyActiveLinkColorContrast',
00100 'bodyVisitedLinkColorContrast',
00101 'documentAllColorsAreSet',
00102 'appletUIMustBeAccessible',
00103 'objectInterfaceIsAccessible',
00104 'scriptUIMustBeAccessible',
00105 'scriptOndblclickRequiresOnKeypress',
00106 'scriptOnmousedownRequiresOnKeypress',
00107 'scriptOnmousemove',
00108 'scriptOnmouseoutHasOnmouseblur',
00109 'scriptOnmouseoverHasOnfocus',
00110 'scriptOnmouseupHasOnkeyup',
00111 'appletProvidesMechanismToReturnToParent',
00112 'objectProvidesMechanismToReturnToParent',
00113 'embedProvidesMechanismToReturnToParent',
00114 'documentMetaNotUsedWithTimeout',
00115 'blinkIsNotUsed',
00116 'marqueeIsNotUsed',
00117 'documentAutoRedirectNotUsed',
00118 'imgGifNoFlicker',
00119 'appletsDoNotFlicker',
00120 'objectDoesNotFlicker',
00121 'scriptsDoNotFlicker',
00122 'skipToContentLinkProvided',
00123 'framesHaveATitle',
00124 'frameTitlesDescribeFunction',
00125 'documentHasTitleElement',
00126 'documentTitleNotEmpty',
00127 'documentTitleIsShort',
00128 'documentTitleIsNotPlaceholder',
00129 'documentTitleDescribesDocument',
00130 'aLinksMakeSenseOutOfContext',
00131 'aSuspiciousLinkText',
00132 'aMustContainText',
00133 'documentLangNotIdentified',
00134 'documentLangIsISO639Standard',
00135 'documentWordsNotInLanguageAreMarked',
00136 'areaDontOpenNewWindow',
00137 'selectDoesNotChangeContext',
00138 'labelMustBeUnique',
00139 'labelMustNotBeEmpty',
00140 'formWithRequiredLabel',
00141 'documentIDsMustBeUnique',
00142 'svgContainsTitle',
00143 'headersHaveText',
00144 );
00145 }