You are here

class Quail_api_wcag2aaGuideline in Quail API 7

Same name and namespace in other branches
  1. 8 includes/quail_api_guidelines.inc \Quail_api_wcag2aaGuideline

WCAG 2.0 Level AA Guideline.

This is intended to be used on html snippets only, not an entire document.

Hierarchy

Expanded class hierarchy of Quail_api_wcag2aaGuideline

File

includes/quail_api_guidelines.inc, line 642
Contains quail guideline class objects for the quail api.

View source
class Quail_api_wcag2aaGuideline extends quailGuideline {
  var $tests = array(
    'imgHasAlt',
    'imgAltIsDifferent',
    'imgAltIsTooLong',
    'imgAltNotPlaceHolder',
    'imgAltNotEmptyInAnchor',
    'imgHasLongDesc',
    'imgAltIsSameInText',
    'imgAltEmptyForDecorativeImages',
    'appletContainsTextEquivalentInAlt',
    'appletContainsTextEquivalent',
    'inputImageHasAlt',
    'inputImageAltIdentifiesPurpose',
    'inputImageAltIsShort',
    'inputImageAltIsNotPlaceholder',
    'areaHasAltValue',
    'areaAltIdentifiesDestination',
    'areaLinksToSoundFile',
    'objectMustContainText',
    'embedHasAssociatedNoEmbed',
    'inputImageNotDecorative',
    'areaAltRefersToText',
    'inputElementsDontHaveAlt',
    'aLinksToSoundFilesNeedTranscripts',
    'aLinksToMultiMediaRequireTranscript',
    'inputTextHasLabel',
    'pNotUsedAsHeader',
    'selectHasAssociatedLabel',
    'textareaHasAssociatedLabel',
    'textareaLabelPositionedClose',
    'tableLayoutHasNoCaption',
    'passwordHasLabel',
    'checkboxHasLabel',
    'fileHasLabel',
    'radioHasLabel',
    'passwordLabelIsNearby',
    'checkboxLabelIsNearby',
    'fileLabelIsNearby',
    'radioLabelIsNearby',
    'tableDataShouldHaveTh',
    'tableLayoutDataShouldNotHaveTh',
    'tableUsesCaption',
    'preShouldNotBeUsedForTabularLayout',
    'radioMarkedWithFieldgroupAndLegend',
    'tableIsGrouped',
    'tableUseColGroup',
    'tabularDataIsInTable',
    'tableCaptionIdentifiesTable',
    'tableWithBothHeadersUseScope',
    'tableWithMoreHeadersUseID',
    'inputCheckboxRequiresFieldset',
    'documentVisualListsAreMarkedUp',
    'documentReadingDirection',
    'tableLayoutMakesSenseLinearized',
    'appletUIMustBeAccessible',
    'objectInterfaceIsAccessible',
    'scriptUIMustBeAccessible',
    'scriptOndblclickRequiresOnKeypress',
    'scriptOnmousedownRequiresOnKeypress',
    'scriptOnmousemove',
    'scriptOnmouseoutHasOnmouseblur',
    'scriptOnmouseoverHasOnfocus',
    'scriptOnmouseupHasOnkeyup',
    'documentMetaNotUsedWithTimeout',
    'imgGifNoFlicker',
    'appletsDoNotFlicker',
    'objectDoesNotFlicker',
    'scriptsDoNotFlicker',
    'framesHaveATitle',
    'frameTitlesDescribeFunction',
    'documentLangIsISO639Standard',
    'areaDontOpenNewWindow',
    'selectDoesNotChangeContext',
    'documentIDsMustBeUnique',
    'objectShouldHaveLongDescription',
    'blinkIsNotUsed',
    'marqueeIsNotUsed',
    'documentAutoRedirectNotUsed',
    'documentTitleNotEmpty',
    'documentTitleIsShort',
    'documentTitleIsNotPlaceholder',
    'documentTitleDescribesDocument',
    'appletProvidesMechanismToReturnToParent',
    'objectProvidesMechanismToReturnToParent',
    'embedProvidesMechanismToReturnToParent',
    'imgAltIsSameInText',
    'boldIsNotUsed',
    'iIsNotUsed',
    'basefontIsNotUsed',
    'fontIsNotUsed',
    'bodyColorContrast',
    'bodyLinkColorContrast',
    'bodyActiveLinkColorContrast',
    'bodyVisitedLinkColorContrast',
    'imgNotReferredToByColorAlone',
    'appletsDoneUseColorAlone',
    'inputDoesNotUseColorAlone',
    'objectDoesNotUseColorAlone',
    'scriptsDoNotUseColorAlone',
    'documentAllColorsAreSet',
    'aLinksMakeSenseOutOfContext',
    'aSuspiciousLinkText',
    'aMustContainText',
    'headerH1',
    'headerH2',
    'headerH3',
    'headerH4',
    'headerH4',
    'headerH1Format',
    'headerH2Format',
    'headerH3Format',
    'headerH4Format',
    'headerH5Format',
    'headerH6Format',
    'tabIndexFollowsLogicalOrder',
    'listNotUsedForFormatting',
    'blockquoteNotUsedForIndentation',
    'blockquoteUseForQuotations',
    'labelMustBeUnique',
    'labelMustNotBeEmpty',
    'formWithRequiredLabel',
    'formHasGoodErrorMessage',
    'formErrorMessageHelpsUser',
    'formDeleteIsReversable',
    'svgContainsTitle',
    'cssTextHasContrast',
    'headersHaveText',
  );

}

Members