axe:wcag
WCAG 2.2 A and AA success criteria axe-core can test
Правил: 63
axe/area-altActive <area> elements must have alternative textaxe/aria-allowed-attrElements must only use supported ARIA attributesaxe/aria-braille-equivalentaria-braille attributes must have a non-braille equivalentaxe/aria-command-nameARIA commands must have an accessible nameaxe/aria-conditional-attrARIA attributes must be used as specified for the element’s roleaxe/aria-deprecated-roleDeprecated ARIA roles must not be usedaxe/aria-hidden-bodyaria-hidden=“true” must not be present on the document bodyaxe/aria-hidden-focusARIA hidden element must not be focusable or contain focusable elementsaxe/aria-input-field-nameARIA input fields must have an accessible nameaxe/aria-meter-nameARIA meter nodes must have an accessible nameaxe/aria-progressbar-nameARIA progressbar nodes must have an accessible nameaxe/aria-prohibited-attrElements must only use permitted ARIA attributesaxe/aria-required-attrRequired ARIA attributes must be providedaxe/aria-required-childrenCertain ARIA roles must contain particular childrenaxe/aria-required-parentCertain ARIA roles must be contained by particular parentsaxe/aria-rolesARIA roles used must conform to valid valuesaxe/aria-tab-nameARIA tab nodes must have an accessible nameaxe/aria-toggle-field-nameARIA toggle fields must have an accessible nameaxe/aria-tooltip-nameARIA tooltip nodes must have an accessible nameaxe/aria-valid-attrARIA attributes must conform to valid namesaxe/aria-valid-attr-valueARIA attributes must conform to valid valuesaxe/autocomplete-validautocomplete attribute must be used correctlyaxe/avoid-inline-spacingInline text spacing must be adjustable with custom stylesheetsaxe/blink<blink> elements are deprecated and must not be usedaxe/button-nameButtons must have discernible textaxe/bypassPage must have means to bypass repeated blocksaxe/color-contrastElements must meet minimum color contrast ratio thresholdsaxe/definition-list<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script>, <template> or <div> elementsaxe/dlitem<dt> and <dd> elements must be contained by a <dl>axe/document-titleDocuments must have <title> element to aid in navigationaxe/duplicate-id-ariaIDs used in ARIA and labels must be uniqueaxe/form-field-multiple-labelsForm field must not have multiple label elementsaxe/frame-focusable-contentFrames with focusable content must not have tabindex=-1axe/frame-titleFrames must have an accessible nameaxe/frame-title-uniqueFrames must have a unique title attributeaxe/html-has-lang<html> element must have a lang attributeaxe/html-lang-valid<html> element must have a valid value for the lang attributeaxe/html-xml-lang-mismatchHTML elements with lang and xml:lang must have the same base languageaxe/image-altImages must have alternative textaxe/input-button-nameInput buttons must have discernible textaxe/input-image-altImage buttons must have alternative textaxe/labelForm elements must have labelsaxe/label-content-name-mismatchElements must have their visible text as part of their accessible nameaxe/link-in-text-blockLinks must be distinguishable without relying on coloraxe/link-nameLinks must have discernible textaxe/list<ul> and <ol> must only directly contain <li>, <script> or <template> elementsaxe/listitem<li> elements must be contained in a <ul> or <ol>axe/marquee<marquee> elements are deprecated and must not be usedaxe/meta-refreshDelayed refresh under 20 hours must not be usedaxe/meta-viewportZooming and scaling must not be disabledaxe/nested-interactiveInteractive controls must not be nestedaxe/no-autoplay-audio<video> or <audio> elements must not play automaticallyaxe/object-alt<object> elements must have alternative textaxe/role-img-alt[role=“img”] and [role=“image”] elements must have alternative textaxe/scrollable-region-focusableScrollable region must have keyboard accessaxe/select-nameSelect element must have an accessible nameaxe/server-side-image-mapServer-side image maps must not be usedaxe/summary-nameSummary elements must have discernible textaxe/svg-img-alt<svg> elements with an img or image role must have alternative textaxe/td-headers-attrTable cell headers attributes must refer to other <th> elements in the same tableaxe/th-has-data-cellsTable headers in a data table must refer to data cellsaxe/valid-langlang attribute must have a valid valueaxe/video-caption<video> elements must have captions