Update checked-in dependencies
This commit is contained in:
parent
3e913ef09d
commit
9660df3fcc
990 changed files with 74805 additions and 60149 deletions
296
node_modules/axe-core/locales/_template.json
generated
vendored
296
node_modules/axe-core/locales/_template.json
generated
vendored
|
|
@ -2,59 +2,75 @@
|
|||
"lang": "xyz",
|
||||
"rules": {
|
||||
"accesskeys": {
|
||||
"description": "Ensures every accesskey attribute value is unique",
|
||||
"description": "Ensure every accesskey attribute value is unique",
|
||||
"help": "accesskey attribute value should be unique"
|
||||
},
|
||||
"area-alt": {
|
||||
"description": "Ensures <area> elements of image maps have alternate text",
|
||||
"help": "Active <area> elements must have alternate text"
|
||||
"description": "Ensure <area> elements of image maps have alternative text",
|
||||
"help": "Active <area> elements must have alternative text"
|
||||
},
|
||||
"aria-allowed-attr": {
|
||||
"description": "Ensures ARIA attributes are allowed for an element's role",
|
||||
"help": "Elements must only use allowed ARIA attributes"
|
||||
"description": "Ensure an element's role supports its ARIA attributes",
|
||||
"help": "Elements must only use supported ARIA attributes"
|
||||
},
|
||||
"aria-allowed-role": {
|
||||
"description": "Ensures role attribute has an appropriate value for the element",
|
||||
"description": "Ensure role attribute has an appropriate value for the element",
|
||||
"help": "ARIA role should be appropriate for the element"
|
||||
},
|
||||
"aria-braille-equivalent": {
|
||||
"description": "Ensure aria-braillelabel and aria-brailleroledescription have a non-braille equivalent",
|
||||
"help": "aria-braille attributes must have a non-braille equivalent"
|
||||
},
|
||||
"aria-command-name": {
|
||||
"description": "Ensures every ARIA button, link and menuitem has an accessible name",
|
||||
"description": "Ensure every ARIA button, link and menuitem has an accessible name",
|
||||
"help": "ARIA commands must have an accessible name"
|
||||
},
|
||||
"aria-conditional-attr": {
|
||||
"description": "Ensure ARIA attributes are used as described in the specification of the element's role",
|
||||
"help": "ARIA attributes must be used as specified for the element's role"
|
||||
},
|
||||
"aria-deprecated-role": {
|
||||
"description": "Ensure elements do not use deprecated roles",
|
||||
"help": "Deprecated ARIA roles must not be used"
|
||||
},
|
||||
"aria-dialog-name": {
|
||||
"description": "Ensures every ARIA dialog and alertdialog node has an accessible name",
|
||||
"description": "Ensure every ARIA dialog and alertdialog node has an accessible name",
|
||||
"help": "ARIA dialog and alertdialog nodes should have an accessible name"
|
||||
},
|
||||
"aria-hidden-body": {
|
||||
"description": "Ensures aria-hidden='true' is not present on the document body.",
|
||||
"help": "aria-hidden='true' must not be present on the document body"
|
||||
"description": "Ensure aria-hidden=\"true\" is not present on the document body.",
|
||||
"help": "aria-hidden=\"true\" must not be present on the document body"
|
||||
},
|
||||
"aria-hidden-focus": {
|
||||
"description": "Ensures aria-hidden elements are not focusable nor contain focusable elements",
|
||||
"description": "Ensure aria-hidden elements are not focusable nor contain focusable elements",
|
||||
"help": "ARIA hidden element must not be focusable or contain focusable elements"
|
||||
},
|
||||
"aria-input-field-name": {
|
||||
"description": "Ensures every ARIA input field has an accessible name",
|
||||
"description": "Ensure every ARIA input field has an accessible name",
|
||||
"help": "ARIA input fields must have an accessible name"
|
||||
},
|
||||
"aria-meter-name": {
|
||||
"description": "Ensures every ARIA meter node has an accessible name",
|
||||
"description": "Ensure every ARIA meter node has an accessible name",
|
||||
"help": "ARIA meter nodes must have an accessible name"
|
||||
},
|
||||
"aria-progressbar-name": {
|
||||
"description": "Ensures every ARIA progressbar node has an accessible name",
|
||||
"description": "Ensure every ARIA progressbar node has an accessible name",
|
||||
"help": "ARIA progressbar nodes must have an accessible name"
|
||||
},
|
||||
"aria-prohibited-attr": {
|
||||
"description": "Ensure ARIA attributes are not prohibited for an element's role",
|
||||
"help": "Elements must only use permitted ARIA attributes"
|
||||
},
|
||||
"aria-required-attr": {
|
||||
"description": "Ensures elements with ARIA roles have all required ARIA attributes",
|
||||
"description": "Ensure elements with ARIA roles have all required ARIA attributes",
|
||||
"help": "Required ARIA attributes must be provided"
|
||||
},
|
||||
"aria-required-children": {
|
||||
"description": "Ensures elements with an ARIA role that require child roles contain them",
|
||||
"description": "Ensure elements with an ARIA role that require child roles contain them",
|
||||
"help": "Certain ARIA roles must contain particular children"
|
||||
},
|
||||
"aria-required-parent": {
|
||||
"description": "Ensures elements with an ARIA role that require parent roles are contained by them",
|
||||
"description": "Ensure elements with an ARIA role that require parent roles are contained by them",
|
||||
"help": "Certain ARIA roles must be contained by particular parents"
|
||||
},
|
||||
"aria-roledescription": {
|
||||
|
|
@ -62,35 +78,35 @@
|
|||
"help": "aria-roledescription must be on elements with a semantic role"
|
||||
},
|
||||
"aria-roles": {
|
||||
"description": "Ensures all elements with a role attribute use a valid value",
|
||||
"description": "Ensure all elements with a role attribute use a valid value",
|
||||
"help": "ARIA roles used must conform to valid values"
|
||||
},
|
||||
"aria-text": {
|
||||
"description": "Ensures \"role=text\" is used on elements with no focusable descendants",
|
||||
"description": "Ensure role=\"text\" is used on elements with no focusable descendants",
|
||||
"help": "\"role=text\" should have no focusable descendants"
|
||||
},
|
||||
"aria-toggle-field-name": {
|
||||
"description": "Ensures every ARIA toggle field has an accessible name",
|
||||
"description": "Ensure every ARIA toggle field has an accessible name",
|
||||
"help": "ARIA toggle fields must have an accessible name"
|
||||
},
|
||||
"aria-tooltip-name": {
|
||||
"description": "Ensures every ARIA tooltip node has an accessible name",
|
||||
"description": "Ensure every ARIA tooltip node has an accessible name",
|
||||
"help": "ARIA tooltip nodes must have an accessible name"
|
||||
},
|
||||
"aria-treeitem-name": {
|
||||
"description": "Ensures every ARIA treeitem node has an accessible name",
|
||||
"description": "Ensure every ARIA treeitem node has an accessible name",
|
||||
"help": "ARIA treeitem nodes should have an accessible name"
|
||||
},
|
||||
"aria-valid-attr-value": {
|
||||
"description": "Ensures all ARIA attributes have valid values",
|
||||
"description": "Ensure all ARIA attributes have valid values",
|
||||
"help": "ARIA attributes must conform to valid values"
|
||||
},
|
||||
"aria-valid-attr": {
|
||||
"description": "Ensures attributes that begin with aria- are valid ARIA attributes",
|
||||
"description": "Ensure attributes that begin with aria- are valid ARIA attributes",
|
||||
"help": "ARIA attributes must conform to valid names"
|
||||
},
|
||||
"audio-caption": {
|
||||
"description": "Ensures <audio> elements have captions",
|
||||
"description": "Ensure <audio> elements have captions",
|
||||
"help": "<audio> elements must have a captions track"
|
||||
},
|
||||
"autocomplete-valid": {
|
||||
|
|
@ -102,87 +118,87 @@
|
|||
"help": "Inline text spacing must be adjustable with custom stylesheets"
|
||||
},
|
||||
"blink": {
|
||||
"description": "Ensures <blink> elements are not used",
|
||||
"description": "Ensure <blink> elements are not used",
|
||||
"help": "<blink> elements are deprecated and must not be used"
|
||||
},
|
||||
"button-name": {
|
||||
"description": "Ensures buttons have discernible text",
|
||||
"description": "Ensure buttons have discernible text",
|
||||
"help": "Buttons must have discernible text"
|
||||
},
|
||||
"bypass": {
|
||||
"description": "Ensures each page has at least one mechanism for a user to bypass navigation and jump straight to the content",
|
||||
"description": "Ensure each page has at least one mechanism for a user to bypass navigation and jump straight to the content",
|
||||
"help": "Page must have means to bypass repeated blocks"
|
||||
},
|
||||
"color-contrast-enhanced": {
|
||||
"description": "Ensures the contrast between foreground and background colors meets WCAG 2 AAA contrast ratio thresholds",
|
||||
"help": "Elements must have sufficient color contrast"
|
||||
"description": "Ensure the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds",
|
||||
"help": "Elements must meet enhanced color contrast ratio thresholds"
|
||||
},
|
||||
"color-contrast": {
|
||||
"description": "Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds",
|
||||
"help": "Elements must have sufficient color contrast"
|
||||
"description": "Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",
|
||||
"help": "Elements must meet minimum color contrast ratio thresholds"
|
||||
},
|
||||
"css-orientation-lock": {
|
||||
"description": "Ensures content is not locked to any specific display orientation, and the content is operable in all display orientations",
|
||||
"description": "Ensure content is not locked to any specific display orientation, and the content is operable in all display orientations",
|
||||
"help": "CSS Media queries must not lock display orientation"
|
||||
},
|
||||
"definition-list": {
|
||||
"description": "Ensures <dl> elements are structured correctly",
|
||||
"description": "Ensure <dl> elements are structured correctly",
|
||||
"help": "<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script>, <template> or <div> elements"
|
||||
},
|
||||
"dlitem": {
|
||||
"description": "Ensures <dt> and <dd> elements are contained by a <dl>",
|
||||
"description": "Ensure <dt> and <dd> elements are contained by a <dl>",
|
||||
"help": "<dt> and <dd> elements must be contained by a <dl>"
|
||||
},
|
||||
"document-title": {
|
||||
"description": "Ensures each HTML document contains a non-empty <title> element",
|
||||
"description": "Ensure each HTML document contains a non-empty <title> element",
|
||||
"help": "Documents must have <title> element to aid in navigation"
|
||||
},
|
||||
"duplicate-id-active": {
|
||||
"description": "Ensures every id attribute value of active elements is unique",
|
||||
"description": "Ensure every id attribute value of active elements is unique",
|
||||
"help": "IDs of active elements must be unique"
|
||||
},
|
||||
"duplicate-id-aria": {
|
||||
"description": "Ensures every id attribute value used in ARIA and in labels is unique",
|
||||
"description": "Ensure every id attribute value used in ARIA and in labels is unique",
|
||||
"help": "IDs used in ARIA and labels must be unique"
|
||||
},
|
||||
"duplicate-id": {
|
||||
"description": "Ensures every id attribute value is unique",
|
||||
"description": "Ensure every id attribute value is unique",
|
||||
"help": "id attribute value must be unique"
|
||||
},
|
||||
"empty-heading": {
|
||||
"description": "Ensures headings have discernible text",
|
||||
"description": "Ensure headings have discernible text",
|
||||
"help": "Headings should not be empty"
|
||||
},
|
||||
"empty-table-header": {
|
||||
"description": "Ensures table headers have discernible text",
|
||||
"description": "Ensure table headers have discernible text",
|
||||
"help": "Table header text should not be empty"
|
||||
},
|
||||
"focus-order-semantics": {
|
||||
"description": "Ensures elements in the focus order have a role appropriate for interactive content",
|
||||
"description": "Ensure elements in the focus order have a role appropriate for interactive content",
|
||||
"help": "Elements in the focus order should have an appropriate role"
|
||||
},
|
||||
"form-field-multiple-labels": {
|
||||
"description": "Ensures form field does not have multiple label elements",
|
||||
"description": "Ensure form field does not have multiple label elements",
|
||||
"help": "Form field must not have multiple label elements"
|
||||
},
|
||||
"frame-focusable-content": {
|
||||
"description": "Ensures <frame> and <iframe> elements with focusable content do not have tabindex=-1",
|
||||
"description": "Ensure <frame> and <iframe> elements with focusable content do not have tabindex=-1",
|
||||
"help": "Frames with focusable content must not have tabindex=-1"
|
||||
},
|
||||
"frame-tested": {
|
||||
"description": "Ensures <iframe> and <frame> elements contain the axe-core script",
|
||||
"description": "Ensure <iframe> and <frame> elements contain the axe-core script",
|
||||
"help": "Frames should be tested with axe-core"
|
||||
},
|
||||
"frame-title-unique": {
|
||||
"description": "Ensures <iframe> and <frame> elements contain a unique title attribute",
|
||||
"description": "Ensure <iframe> and <frame> elements contain a unique title attribute",
|
||||
"help": "Frames must have a unique title attribute"
|
||||
},
|
||||
"frame-title": {
|
||||
"description": "Ensures <iframe> and <frame> elements have an accessible name",
|
||||
"description": "Ensure <iframe> and <frame> elements have an accessible name",
|
||||
"help": "Frames must have an accessible name"
|
||||
},
|
||||
"heading-order": {
|
||||
"description": "Ensures the order of headings is semantically correct",
|
||||
"description": "Ensure the order of headings is semantically correct",
|
||||
"help": "Heading levels should only increase by one"
|
||||
},
|
||||
"hidden-content": {
|
||||
|
|
@ -190,11 +206,11 @@
|
|||
"help": "Hidden content on the page should be analyzed"
|
||||
},
|
||||
"html-has-lang": {
|
||||
"description": "Ensures every HTML document has a lang attribute",
|
||||
"description": "Ensure every HTML document has a lang attribute",
|
||||
"help": "<html> element must have a lang attribute"
|
||||
},
|
||||
"html-lang-valid": {
|
||||
"description": "Ensures the lang attribute of the <html> element has a valid value",
|
||||
"description": "Ensure the lang attribute of the <html> element has a valid value",
|
||||
"help": "<html> element must have a valid value for the lang attribute"
|
||||
},
|
||||
"html-xml-lang-mismatch": {
|
||||
|
|
@ -206,116 +222,116 @@
|
|||
"help": "Links with the same name must have a similar purpose"
|
||||
},
|
||||
"image-alt": {
|
||||
"description": "Ensures <img> elements have alternate text or a role of none or presentation",
|
||||
"help": "Images must have alternate text"
|
||||
"description": "Ensure <img> elements have alternative text or a role of none or presentation",
|
||||
"help": "Images must have alternative text"
|
||||
},
|
||||
"image-redundant-alt": {
|
||||
"description": "Ensure image alternative is not repeated as text",
|
||||
"help": "Alternative text of images should not be repeated as text"
|
||||
},
|
||||
"input-button-name": {
|
||||
"description": "Ensures input buttons have discernible text",
|
||||
"description": "Ensure input buttons have discernible text",
|
||||
"help": "Input buttons must have discernible text"
|
||||
},
|
||||
"input-image-alt": {
|
||||
"description": "Ensures <input type=\"image\"> elements have alternate text",
|
||||
"help": "Image buttons must have alternate text"
|
||||
"description": "Ensure <input type=\"image\"> elements have alternative text",
|
||||
"help": "Image buttons must have alternative text"
|
||||
},
|
||||
"label-content-name-mismatch": {
|
||||
"description": "Ensures that elements labelled through their content must have their visible text as part of their accessible name",
|
||||
"description": "Ensure that elements labelled through their content must have their visible text as part of their accessible name",
|
||||
"help": "Elements must have their visible text as part of their accessible name"
|
||||
},
|
||||
"label-title-only": {
|
||||
"description": "Ensures that every form element has a visible label and is not solely labeled using hidden labels, or the title or aria-describedby attributes",
|
||||
"description": "Ensure that every form element has a visible label and is not solely labeled using hidden labels, or the title or aria-describedby attributes",
|
||||
"help": "Form elements should have a visible label"
|
||||
},
|
||||
"label": {
|
||||
"description": "Ensures every form element has a label",
|
||||
"description": "Ensure every form element has a label",
|
||||
"help": "Form elements must have labels"
|
||||
},
|
||||
"landmark-banner-is-top-level": {
|
||||
"description": "Ensures the banner landmark is at top level",
|
||||
"description": "Ensure the banner landmark is at top level",
|
||||
"help": "Banner landmark should not be contained in another landmark"
|
||||
},
|
||||
"landmark-complementary-is-top-level": {
|
||||
"description": "Ensures the complementary landmark or aside is at top level",
|
||||
"description": "Ensure the complementary landmark or aside is at top level",
|
||||
"help": "Aside should not be contained in another landmark"
|
||||
},
|
||||
"landmark-contentinfo-is-top-level": {
|
||||
"description": "Ensures the contentinfo landmark is at top level",
|
||||
"description": "Ensure the contentinfo landmark is at top level",
|
||||
"help": "Contentinfo landmark should not be contained in another landmark"
|
||||
},
|
||||
"landmark-main-is-top-level": {
|
||||
"description": "Ensures the main landmark is at top level",
|
||||
"description": "Ensure the main landmark is at top level",
|
||||
"help": "Main landmark should not be contained in another landmark"
|
||||
},
|
||||
"landmark-no-duplicate-banner": {
|
||||
"description": "Ensures the document has at most one banner landmark",
|
||||
"description": "Ensure the document has at most one banner landmark",
|
||||
"help": "Document should not have more than one banner landmark"
|
||||
},
|
||||
"landmark-no-duplicate-contentinfo": {
|
||||
"description": "Ensures the document has at most one contentinfo landmark",
|
||||
"description": "Ensure the document has at most one contentinfo landmark",
|
||||
"help": "Document should not have more than one contentinfo landmark"
|
||||
},
|
||||
"landmark-no-duplicate-main": {
|
||||
"description": "Ensures the document has at most one main landmark",
|
||||
"description": "Ensure the document has at most one main landmark",
|
||||
"help": "Document should not have more than one main landmark"
|
||||
},
|
||||
"landmark-one-main": {
|
||||
"description": "Ensures the document has a main landmark",
|
||||
"description": "Ensure the document has a main landmark",
|
||||
"help": "Document should have one main landmark"
|
||||
},
|
||||
"landmark-unique": {
|
||||
"help": "Ensures landmarks are unique",
|
||||
"description": "Landmarks should have a unique role or role/label/title (i.e. accessible name) combination"
|
||||
"description": "Ensure landmarks are unique",
|
||||
"help": "Landmarks should have a unique role or role/label/title (i.e. accessible name) combination"
|
||||
},
|
||||
"link-in-text-block": {
|
||||
"description": "Ensure links are distinguished from surrounding text in a way that does not rely on color",
|
||||
"help": "Links must be distinguishable without relying on color"
|
||||
},
|
||||
"link-name": {
|
||||
"description": "Ensures links have discernible text",
|
||||
"description": "Ensure links have discernible text",
|
||||
"help": "Links must have discernible text"
|
||||
},
|
||||
"list": {
|
||||
"description": "Ensures that lists are structured correctly",
|
||||
"description": "Ensure that lists are structured correctly",
|
||||
"help": "<ul> and <ol> must only directly contain <li>, <script> or <template> elements"
|
||||
},
|
||||
"listitem": {
|
||||
"description": "Ensures <li> elements are used semantically",
|
||||
"description": "Ensure <li> elements are used semantically",
|
||||
"help": "<li> elements must be contained in a <ul> or <ol>"
|
||||
},
|
||||
"marquee": {
|
||||
"description": "Ensures <marquee> elements are not used",
|
||||
"description": "Ensure <marquee> elements are not used",
|
||||
"help": "<marquee> elements are deprecated and must not be used"
|
||||
},
|
||||
"meta-refresh-no-exceptions": {
|
||||
"description": "Ensures <meta http-equiv=\"refresh\"> is not used for delayed refresh",
|
||||
"description": "Ensure <meta http-equiv=\"refresh\"> is not used for delayed refresh",
|
||||
"help": "Delayed refresh must not be used"
|
||||
},
|
||||
"meta-refresh": {
|
||||
"description": "Ensures <meta http-equiv=\"refresh\"> is not used for delayed refresh",
|
||||
"description": "Ensure <meta http-equiv=\"refresh\"> is not used for delayed refresh",
|
||||
"help": "Delayed refresh under 20 hours must not be used"
|
||||
},
|
||||
"meta-viewport-large": {
|
||||
"description": "Ensures <meta name=\"viewport\"> can scale a significant amount",
|
||||
"description": "Ensure <meta name=\"viewport\"> can scale a significant amount",
|
||||
"help": "Users should be able to zoom and scale the text up to 500%"
|
||||
},
|
||||
"meta-viewport": {
|
||||
"description": "Ensures <meta name=\"viewport\"> does not disable text scaling and zooming",
|
||||
"description": "Ensure <meta name=\"viewport\"> does not disable text scaling and zooming",
|
||||
"help": "Zooming and scaling must not be disabled"
|
||||
},
|
||||
"nested-interactive": {
|
||||
"description": "Ensures interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies",
|
||||
"description": "Ensure interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies",
|
||||
"help": "Interactive controls must not be nested"
|
||||
},
|
||||
"no-autoplay-audio": {
|
||||
"description": "Ensures <video> or <audio> elements do not autoplay audio for more than 3 seconds without a control mechanism to stop or mute the audio",
|
||||
"description": "Ensure <video> or <audio> elements do not autoplay audio for more than 3 seconds without a control mechanism to stop or mute the audio",
|
||||
"help": "<video> or <audio> elements must not play automatically"
|
||||
},
|
||||
"object-alt": {
|
||||
"description": "Ensures <object> elements have alternate text",
|
||||
"help": "<object> elements must have alternate text"
|
||||
"description": "Ensure <object> elements have alternative text",
|
||||
"help": "<object> elements must have alternative text"
|
||||
},
|
||||
"p-as-heading": {
|
||||
"description": "Ensure bold, italic text and font-size is not used to style <p> elements as a heading",
|
||||
|
|
@ -330,15 +346,15 @@
|
|||
"help": "Ensure elements marked as presentational are consistently ignored"
|
||||
},
|
||||
"region": {
|
||||
"description": "Ensures all page content is contained by landmarks",
|
||||
"description": "Ensure all page content is contained by landmarks",
|
||||
"help": "All page content should be contained by landmarks"
|
||||
},
|
||||
"role-img-alt": {
|
||||
"description": "Ensures [role='img'] elements have alternate text",
|
||||
"help": "[role='img'] elements must have an alternative text"
|
||||
"description": "Ensure [role=\"img\"] elements have alternative text",
|
||||
"help": "[role=\"img\"] elements must have an alternative text"
|
||||
},
|
||||
"scope-attr-valid": {
|
||||
"description": "Ensures the scope attribute is used correctly on tables",
|
||||
"description": "Ensure the scope attribute is used correctly on tables",
|
||||
"help": "scope attribute should be used correctly"
|
||||
},
|
||||
"scrollable-region-focusable": {
|
||||
|
|
@ -346,35 +362,39 @@
|
|||
"help": "Scrollable region must have keyboard access"
|
||||
},
|
||||
"select-name": {
|
||||
"description": "Ensures select element has an accessible name",
|
||||
"description": "Ensure select element has an accessible name",
|
||||
"help": "Select element must have an accessible name"
|
||||
},
|
||||
"server-side-image-map": {
|
||||
"description": "Ensures that server-side image maps are not used",
|
||||
"description": "Ensure that server-side image maps are not used",
|
||||
"help": "Server-side image maps must not be used"
|
||||
},
|
||||
"skip-link": {
|
||||
"description": "Ensure all skip links have a focusable target",
|
||||
"help": "The skip-link target should exist and be focusable"
|
||||
},
|
||||
"summary-name": {
|
||||
"description": "Ensure summary elements have discernible text",
|
||||
"help": "Summary elements must have discernible text"
|
||||
},
|
||||
"svg-img-alt": {
|
||||
"description": "Ensures <svg> elements with an img, graphics-document or graphics-symbol role have an accessible text",
|
||||
"description": "Ensure <svg> elements with an img, graphics-document or graphics-symbol role have an accessible text",
|
||||
"help": "<svg> elements with an img role must have an alternative text"
|
||||
},
|
||||
"tabindex": {
|
||||
"description": "Ensures tabindex attribute values are not greater than 0",
|
||||
"description": "Ensure tabindex attribute values are not greater than 0",
|
||||
"help": "Elements should not have tabindex greater than zero"
|
||||
},
|
||||
"table-duplicate-name": {
|
||||
"description": "Ensure the <caption> element does not contain the same text as the summary attribute",
|
||||
"help": "tables should not have the same summary and caption"
|
||||
"help": "Tables should not have the same summary and caption"
|
||||
},
|
||||
"table-fake-caption": {
|
||||
"description": "Ensure that tables with a caption use the <caption> element.",
|
||||
"help": "Data or header cells must not be used to give caption to a data table."
|
||||
},
|
||||
"target-size": {
|
||||
"description": "Ensure touch target have sufficient size and space",
|
||||
"description": "Ensure touch targets have sufficient size and space",
|
||||
"help": "All touch targets must be 24px large, or leave sufficient space"
|
||||
},
|
||||
"td-has-header": {
|
||||
|
|
@ -390,11 +410,11 @@
|
|||
"help": "Table headers in a data table must refer to data cells"
|
||||
},
|
||||
"valid-lang": {
|
||||
"description": "Ensures lang attributes have valid values",
|
||||
"description": "Ensure lang attributes have valid values",
|
||||
"help": "lang attribute must have a valid value"
|
||||
},
|
||||
"video-caption": {
|
||||
"description": "Ensures <video> elements have captions",
|
||||
"description": "Ensure <video> elements have captions",
|
||||
"help": "<video> elements must have captions"
|
||||
}
|
||||
},
|
||||
|
|
@ -427,7 +447,15 @@
|
|||
},
|
||||
"aria-busy": {
|
||||
"pass": "Element has an aria-busy attribute",
|
||||
"fail": "Element has no aria-busy=\"true\" attribute"
|
||||
"fail": "Element uses aria-busy=\"true\" while showing a loader"
|
||||
},
|
||||
"aria-conditional-attr": {
|
||||
"pass": "ARIA attribute is allowed",
|
||||
"fail": {
|
||||
"checkbox": "Remove aria-checked, or set it to \"${data.checkState}\" to match the real checkbox state",
|
||||
"rowSingular": "This attribute is supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}",
|
||||
"rowPlural": "These attributes are supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}"
|
||||
}
|
||||
},
|
||||
"aria-errormessage": {
|
||||
"pass": "aria-errormessage exists and references elements visible to screen readers that use a supported aria-errormessage technique",
|
||||
|
|
@ -437,9 +465,9 @@
|
|||
"hidden": "aria-errormessage value `${data.values}` cannot reference a hidden element"
|
||||
},
|
||||
"incomplete": {
|
||||
"singular": "ensure aria-errormessage value `${data.values}` references an existing element",
|
||||
"plural": "ensure aria-errormessage values `${data.values}` reference existing elements",
|
||||
"idrefs": "unable to determine if aria-errormessage element exists on the page: ${data.values}"
|
||||
"singular": "Ensure aria-errormessage value `${data.values}` references an existing element",
|
||||
"plural": "Ensure aria-errormessage values `${data.values}` reference existing elements",
|
||||
"idrefs": "Unable to determine if aria-errormessage element exists on the page: ${data.values}"
|
||||
}
|
||||
},
|
||||
"aria-hidden-body": {
|
||||
|
|
@ -473,11 +501,14 @@
|
|||
}
|
||||
},
|
||||
"aria-required-children": {
|
||||
"pass": "Required ARIA children are present",
|
||||
"pass": {
|
||||
"default": "Required ARIA children are present",
|
||||
"aria-busy": "Element has an aria-busy attribute, so it is allowed to omit required children"
|
||||
},
|
||||
"fail": {
|
||||
"singular": "Required ARIA child role not present: ${data.values}",
|
||||
"plural": "Required ARIA children role not present: ${data.values}",
|
||||
"unallowed": "Element has children which are not allowed (see related nodes)"
|
||||
"unallowed": "Element has children which are not allowed: ${data.values}"
|
||||
},
|
||||
"incomplete": {
|
||||
"singular": "Expecting ARIA child role to be added: ${data.values}",
|
||||
|
|
@ -511,7 +542,8 @@
|
|||
"noIdShadow": "ARIA attribute element ID does not exist on the page or is a descendant of a different shadow DOM tree: ${data.needsReview}",
|
||||
"ariaCurrent": "ARIA attribute value is invalid and will be treated as \"aria-current=true\": ${data.needsReview}",
|
||||
"idrefs": "Unable to determine if ARIA attribute element ID exists on the page: ${data.needsReview}",
|
||||
"empty": "ARIA attribute value is ignored while empty: ${data.needsReview}"
|
||||
"empty": "ARIA attribute value is ignored while empty: ${data.needsReview}",
|
||||
"controlsWithinPopup": "Unable to determine if aria-controls referenced ID exists on the page while using aria-haspopup: ${data.needsReview}"
|
||||
}
|
||||
},
|
||||
"aria-valid-attr": {
|
||||
|
|
@ -521,6 +553,18 @@
|
|||
"plural": "Invalid ARIA attribute names: ${data.values}"
|
||||
}
|
||||
},
|
||||
"braille-label-equivalent": {
|
||||
"pass": "aria-braillelabel is used on an element with accessible text",
|
||||
"fail": "aria-braillelabel is used on an element with no accessible text",
|
||||
"incomplete": "Unable to compute accessible text"
|
||||
},
|
||||
"braille-roledescription-equivalent": {
|
||||
"pass": "aria-brailleroledescription is used on an element with aria-roledescription",
|
||||
"fail": {
|
||||
"noRoleDescription": "aria-brailleroledescription is used on an element with no aria-roledescription",
|
||||
"emptyRoleDescription": "aria-brailleroledescription is used on an element with an empty aria-roledescription"
|
||||
}
|
||||
},
|
||||
"deprecatedrole": {
|
||||
"pass": "ARIA role is not deprecated",
|
||||
"fail": "The role used is deprecated: ${data}"
|
||||
|
|
@ -603,6 +647,7 @@
|
|||
"bgGradient": "Element's background color could not be determined due to a background gradient",
|
||||
"imgNode": "Element's background color could not be determined because element contains an image node",
|
||||
"bgOverlap": "Element's background color could not be determined because it is overlapped by another element",
|
||||
"complexTextShadows": "Element's contrast could not be determined because it uses complex text shadows",
|
||||
"fgAlpha": "Element's foreground color could not be determined because of alpha transparency",
|
||||
"elmPartiallyObscured": "Element's background color could not be determined because it's partially obscured by another element",
|
||||
"elmPartiallyObscuring": "Element's background color could not be determined because it partially overlaps other elements",
|
||||
|
|
@ -615,6 +660,10 @@
|
|||
},
|
||||
"link-in-text-block-style": {
|
||||
"pass": "Links can be distinguished from surrounding text by visual styling",
|
||||
"incomplete": {
|
||||
"default": "Check if the link needs styling to distinguish it from nearby text",
|
||||
"pseudoContent": "Check if the link's pseudo style is sufficient to distinguish it from the surrounding text"
|
||||
},
|
||||
"fail": "The link has no styling (such as underline) to distinguish it from the surrounding text"
|
||||
},
|
||||
"link-in-text-block": {
|
||||
|
|
@ -633,12 +682,13 @@
|
|||
}
|
||||
},
|
||||
"autocomplete-appropriate": {
|
||||
"pass": "the autocomplete value is on an appropriate element",
|
||||
"fail": "the autocomplete value is inappropriate for this type of input"
|
||||
"pass": "The autocomplete value is on an appropriate element",
|
||||
"fail": "The autocomplete value is inappropriate for this type of input"
|
||||
},
|
||||
"autocomplete-valid": {
|
||||
"pass": "the autocomplete attribute is correctly formatted",
|
||||
"fail": "the autocomplete attribute is incorrectly formatted"
|
||||
"fail": "the autocomplete attribute is incorrectly formatted",
|
||||
"incomplete": "the autocomplete attribute has a non-standard value. Check whether any standard value could be used instead."
|
||||
},
|
||||
"accesskeys": {
|
||||
"pass": "Accesskey attribute value is unique",
|
||||
|
|
@ -669,7 +719,7 @@
|
|||
"focusable-not-tabbable": {
|
||||
"pass": "No focusable elements contained within element",
|
||||
"incomplete": "Check if the focusable elements immediately move the focus indicator",
|
||||
"fail": "Focusable content should have tabindex='-1' or be removed from the DOM"
|
||||
"fail": "Focusable content should have tabindex=\"-1\" or be removed from the DOM"
|
||||
},
|
||||
"frame-focusable-content": {
|
||||
"pass": "Element does not have focusable descendants",
|
||||
|
|
@ -684,7 +734,7 @@
|
|||
"pass": "Element does not have focusable descendants",
|
||||
"fail": {
|
||||
"default": "Element has focusable descendants",
|
||||
"notHidden": "Using a negative tabindex on an element inside an interactive control does not prevent assistive technologies from focusing the element (even with 'aria-hidden=true')"
|
||||
"notHidden": "Using a negative tabindex on an element inside an interactive control does not prevent assistive technologies from focusing the element (even with aria-hidden=\"true\")"
|
||||
},
|
||||
"incomplete": "Could not determine if element has descendants"
|
||||
},
|
||||
|
|
@ -721,8 +771,8 @@
|
|||
"fail": "Element contains <img> element with alt text that duplicates existing text"
|
||||
},
|
||||
"explicit-label": {
|
||||
"pass": "Form element has an explicit <label>",
|
||||
"fail": "Form element does not have an explicit <label>",
|
||||
"pass": "Element has an explicit <label>",
|
||||
"fail": "Element does not have an explicit <label>",
|
||||
"incomplete": "Unable to determine if form element has an explicit <label>"
|
||||
},
|
||||
"help-same-as-label": {
|
||||
|
|
@ -735,9 +785,9 @@
|
|||
"incomplete": "Unable to determine if form element has explicit <label> that is hidden"
|
||||
},
|
||||
"implicit-label": {
|
||||
"pass": "Form element has an implicit (wrapped) <label>",
|
||||
"fail": "Form element does not have an implicit (wrapped) <label>",
|
||||
"incomplete": "Unable to determine if form element has an implicit (wrapped} <label>"
|
||||
"pass": "Element has an implicit (wrapped) <label>",
|
||||
"fail": "Element does not have an implicit (wrapped) <label>",
|
||||
"incomplete": "Unable to determine if form element has an implicit (wrapped) <label>"
|
||||
},
|
||||
"label-content-name-mismatch": {
|
||||
"pass": "Element contains visible text as part of it's accessible name",
|
||||
|
|
@ -778,7 +828,7 @@
|
|||
"pass": "List item has a <ul>, <ol> or role=\"list\" parent element",
|
||||
"fail": {
|
||||
"default": "List item does not have a <ul>, <ol> parent element",
|
||||
"roleNotValid": "List item does not have a <ul>, <ol> parent element without a role, or a role=\"list\""
|
||||
"roleNotValid": "List item parent element has a role that is not role=\"list\""
|
||||
}
|
||||
},
|
||||
"only-dlitems": {
|
||||
|
|
@ -821,17 +871,22 @@
|
|||
"fail": "${data} on <meta> tag disables zooming on mobile devices"
|
||||
},
|
||||
"target-offset": {
|
||||
"pass": "Target has sufficient offset from its closest neighbor (${data.closestOffset}px should be at least ${data.minOffset}px)",
|
||||
"fail": "Target has insufficient offset from its closest neighbor (${data.closestOffset}px should be at least ${data.minOffset}px)",
|
||||
"pass": {
|
||||
"default": "Target has sufficient space from its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px which is at least ${data.minOffset}px.",
|
||||
"large": "Target far exceeds the minimum size of ${data.minOffset}px."
|
||||
},
|
||||
"fail": "Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px.",
|
||||
"incomplete": {
|
||||
"default": "Element with negative tabindex has insufficient offset from its closest neighbor (${data.closestOffset}px should be at least ${data.minOffset}px). Is this a target?",
|
||||
"nonTabbableNeighbor": "Target has insufficient offset from a neighbor with negative tabindex (${data.closestOffset}px should be at least ${data.minOffset}px). Is the neighbor a target?"
|
||||
"default": "Element with negative tabindex has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is this a target?",
|
||||
"nonTabbableNeighbor": "Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is the neighbor a target?",
|
||||
"tooManyRects": "Could not get the target size because there are too many overlapping elements"
|
||||
}
|
||||
},
|
||||
"target-size": {
|
||||
"pass": {
|
||||
"default": "Control has sufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",
|
||||
"obscured": "Control is ignored because it is fully obscured and thus not clickable"
|
||||
"obscured": "Control is ignored because it is fully obscured and thus not clickable",
|
||||
"large": "Target far exceeds the minimum size of ${data.minSize}px."
|
||||
},
|
||||
"fail": {
|
||||
"default": "Target has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",
|
||||
|
|
@ -841,7 +896,8 @@
|
|||
"default": "Element with negative tabindex has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",
|
||||
"contentOverflow": "Element size could not be accurately determined due to overflow content",
|
||||
"partiallyObscured": "Element with negative tabindex has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",
|
||||
"partiallyObscuredNonTabbable": "Target has insufficient size because it is partially obscured by a neighbor with negative tabindex (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is the neighbor a target?"
|
||||
"partiallyObscuredNonTabbable": "Target has insufficient size because it is partially obscured by a neighbor with negative tabindex (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is the neighbor a target?",
|
||||
"tooManyRects": "Could not get the target size because there are too many overlapping elements"
|
||||
}
|
||||
},
|
||||
"header-present": {
|
||||
|
|
@ -910,7 +966,7 @@
|
|||
"aria-labelledby": {
|
||||
"pass": "aria-labelledby attribute exists and references elements that are visible to screen readers",
|
||||
"fail": "aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty",
|
||||
"incomplete": "ensure aria-labelledby references an existing element"
|
||||
"incomplete": "Ensure aria-labelledby references an existing element"
|
||||
},
|
||||
"avoid-inline-spacing": {
|
||||
"pass": "No inline styles with '!important' that affect text spacing has been specified",
|
||||
|
|
@ -993,7 +1049,7 @@
|
|||
}
|
||||
},
|
||||
"presentational-role": {
|
||||
"pass": "Element's default semantics were overriden with role=\"${data.role}\"",
|
||||
"pass": "Element's default semantics were overridden with role=\"${data.role}\"",
|
||||
"fail": {
|
||||
"default": "Element's default semantics were not overridden with role=\"none\" or role=\"presentation\"",
|
||||
"globalAria": "Element's role is not presentational because it has a global ARIA attribute",
|
||||
|
|
@ -1003,11 +1059,11 @@
|
|||
}
|
||||
},
|
||||
"role-none": {
|
||||
"pass": "Element's default semantics were overriden with role=\"none\"",
|
||||
"pass": "Element's default semantics were overridden with role=\"none\"",
|
||||
"fail": "Element's default semantics were not overridden with role=\"none\""
|
||||
},
|
||||
"role-presentation": {
|
||||
"pass": "Element's default semantics were overriden with role=\"presentation\"",
|
||||
"pass": "Element's default semantics were overridden with role=\"presentation\"",
|
||||
"fail": "Element's default semantics were not overridden with role=\"presentation\""
|
||||
},
|
||||
"svg-non-empty-title": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue