You are here

class Quail_api_wcag2aGuideline in Quail API 8

Same name and namespace in other branches
  1. 7 includes/quail_api_guidelines.inc \Quail_api_wcag2aGuideline

WCAG 2.0 Level A Guideline.

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

Hierarchy

Expanded class hierarchy of Quail_api_wcag2aGuideline

File

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

View source
class Quail_api_wcag2aGuideline 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',
    'objectShouldHaveLongDescription',
    'inputTextHasLabel',
    'pNotUsedAsHeader',
    'selectHasAssociatedLabel',
    'textareaHasAssociatedLabel',
    'textareaLabelPositionedClose',
    'tableLayoutHasNoCaption',
    'passwordHasLabel',
    'checkboxHasLabel',
    'fileHasLabel',
    'radioHasLabel',
    'passwordLabelIsNearby',
    'checkboxLabelIsNearby',
    'fileLabelIsNearby',
    'radioLabelIsNearby',
    'tableLayoutMakesSenseLinearized',
    'tableLayoutDataShouldNotHaveTh',
    'tableUsesCaption',
    'preShouldNotBeUsedForTabularLayout',
    'radioMarkedWithFieldgroupAndLegend',
    'tableIsGrouped',
    'tableUseColGroup',
    'tabularDataIsInTable',
    'tableCaptionIdentifiesTable',
    'tableWithBothHeadersUseScope',
    'tableWithMoreHeadersUseID',
    'inputCheckboxRequiresFieldset',
    'documentVisualListsAreMarkedUp',
    'documentReadingDirection',
    'tableLayoutMakesSenseLinearized',
    'imgNotReferredToByColorAlone',
    'appletsDoneUseColorAlone',
    'inputDoesNotUseColorAlone',
    'objectDoesNotUseColorAlone',
    'scriptsDoNotUseColorAlone',
    'bodyColorContrast',
    'bodyLinkColorContrast',
    'bodyActiveLinkColorContrast',
    'bodyVisitedLinkColorContrast',
    'documentAllColorsAreSet',
    'appletUIMustBeAccessible',
    'objectInterfaceIsAccessible',
    'scriptUIMustBeAccessible',
    'scriptOndblclickRequiresOnKeypress',
    'scriptOnmousedownRequiresOnKeypress',
    'scriptOnmousemove',
    'scriptOnmouseoutHasOnmouseblur',
    'scriptOnmouseoverHasOnfocus',
    'scriptOnmouseupHasOnkeyup',
    'appletProvidesMechanismToReturnToParent',
    'objectProvidesMechanismToReturnToParent',
    'embedProvidesMechanismToReturnToParent',
    'documentMetaNotUsedWithTimeout',
    'blinkIsNotUsed',
    'marqueeIsNotUsed',
    'documentAutoRedirectNotUsed',
    'imgGifNoFlicker',
    'appletsDoNotFlicker',
    'objectDoesNotFlicker',
    'scriptsDoNotFlicker',
    'framesHaveATitle',
    'frameTitlesDescribeFunction',
    'documentTitleNotEmpty',
    'documentTitleIsShort',
    'documentTitleIsNotPlaceholder',
    'documentTitleDescribesDocument',
    'aLinksMakeSenseOutOfContext',
    'aSuspiciousLinkText',
    'aMustContainText',
    'documentLangIsISO639Standard',
    'areaDontOpenNewWindow',
    'selectDoesNotChangeContext',
    'labelMustBeUnique',
    'labelMustNotBeEmpty',
    'formWithRequiredLabel',
    'documentIDsMustBeUnique',
    'svgContainsTitle',
    'headersHaveText',
  );

}

Members