diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index db5d34a3e..0bb5c1463 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -303,7 +303,8 @@ jobs: strategy: matrix: node-version: [16.x] - test-file: [karma.conf1.js, karma.conf1b.js, karma.conf2.js, karma.conf2b.js, karma.conf3.js] + # test-file: [karma.conf1.js, karma.conf1b.js, karma.conf2.js, karma.conf2b.js, karma.conf3.js] // conf1 and conf2 fail a lot + test-file: [karma.conf1b.js, karma.conf2b.js, karma.conf3.js] steps: - uses: actions/checkout@v3 diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_A_TargetAndText.html b/accessibility-checker-engine/help-v4/en-US/a_target_warning.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_A_TargetAndText.html rename to accessibility-checker-engine/help-v4/en-US/a_target_warning.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_A_HasText.html b/accessibility-checker-engine/help-v4/en-US/a_text_purpose.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_A_HasText.html rename to accessibility-checker-engine/help-v4/en-US/a_text_purpose.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Applet_HasAlt.html b/accessibility-checker-engine/help-v4/en-US/applet_alt_exists.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Applet_HasAlt.html rename to accessibility-checker-engine/help-v4/en-US/applet_alt_exists.html diff --git a/accessibility-checker-engine/help-v4/en-US/HAAC_Application_Role_Text.html b/accessibility-checker-engine/help-v4/en-US/application_content_accessible.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/HAAC_Application_Role_Text.html rename to accessibility-checker-engine/help-v4/en-US/application_content_accessible.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Area_HasAlt.html b/accessibility-checker-engine/help-v4/en-US/area_alt_exists.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Area_HasAlt.html rename to accessibility-checker-engine/help-v4/en-US/area_alt_exists.html diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_InvalidTabindexForActivedescendant.html b/accessibility-checker-engine/help-v4/en-US/aria_activedescendant_tabindex_valid.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_InvalidTabindexForActivedescendant.html rename to accessibility-checker-engine/help-v4/en-US/aria_activedescendant_tabindex_valid.html diff --git a/accessibility-checker-engine/help-v4/en-US/HAAC_ActiveDescendantCheck.html b/accessibility-checker-engine/help-v4/en-US/aria_activedescendant_valid.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/HAAC_ActiveDescendantCheck.html rename to accessibility-checker-engine/help-v4/en-US/aria_activedescendant_valid.html diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_MultipleApplicationLandmarks.html b/accessibility-checker-engine/help-v4/en-US/aria_application_label_unique.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_MultipleApplicationLandmarks.html rename to accessibility-checker-engine/help-v4/en-US/aria_application_label_unique.html diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_ApplicationLandmarkLabel.html b/accessibility-checker-engine/help-v4/en-US/aria_application_labelled.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_ApplicationLandmarkLabel.html rename to accessibility-checker-engine/help-v4/en-US/aria_application_labelled.html diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_MultipleArticleRoles_Implicit.html b/accessibility-checker-engine/help-v4/en-US/aria_article_label_unique.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_MultipleArticleRoles_Implicit.html rename to accessibility-checker-engine/help-v4/en-US/aria_article_label_unique.html diff --git a/accessibility-checker-engine/help-v4/en-US/aria_attribute_allowed.html b/accessibility-checker-engine/help-v4/en-US/aria_attribute_allowed.html index e99f714df..78d2ca33a 100644 --- a/accessibility-checker-engine/help-v4/en-US/aria_attribute_allowed.html +++ b/accessibility-checker-engine/help-v4/en-US/aria_attribute_allowed.html @@ -44,30 +44,20 @@

### Why is this important? -Functionally, ARIA roles, states, and properties are analogous to CSS for assistive technologies. -For screen reader users, ARIA controls the rendering of their non-visual experience. -Incorrect ARIA misrepresents the visual experience, with potentially devastating effects on their corresponding non-visual experience. -Incorrect ARIA misrepresents the intended experience to _*all*_ assistive technology users, with potentially devastating effects. - -Many HTML elements have native semantics that map, by default, to implied ARIA semantics (roles). -Other elements specified as having _*No corresponding role*_ do not have implicit ARIA semantics. -Although they still have meaning it's not provided by ARIA. -In order for assistive technologies to predictably represent the context and behavior of these elements (UI controls), -these implicit semantics should not be overridden as defined in the [ARIA in HTML - Document conformance requirements for use of ARIA attributes in HTML](https://www.w3.org/TR/html-aria/#docconformance) specification. -It is therefore recommended that developers only add a role attribute to a semantically neutral and allowed HTML element such as a `
` or ``, rather than incorrectly attempting to override the semantics of the detected element. -No ARIA is better than bad ARIA for assistive technology users. - - +When elements are assigned a ARIA `role`, there are required attributes for that role. These attributes represent states and properties of the element. The ARIA attributes accept a specific set of tokens as values along with implicit values termed as ‘default’ when no values are indicated. The correct value of the attribute must be specified as it dictates the behavior of the control and is used by the user agent (Browsers) to process the behavior of the control as prescribed.
### What to do -* If a native HTML element fits the intended behavior, use that instead of adding ARIA markup; -* **Or**, update the allowed attributes on the element using the guidance in the [Document conformance requirements for use of "ARIA" attributes in HTML](https://www.w3.org/TR/html-aria/#docconformance) section of -the ARIA in HTML specification. -This reference provides details of allowed ARIA markup and when _*not*_ to use them on native HTML elements. +* Provide a valid value for the attribute defined on the element, using the ARIA specification as a guide. + +For example, the following paragraph element defines an `aria-live` property with a valid value of `"polite"`. + +``` +

Live region content.

+``` @@ -80,14 +70,13 @@

### About this requirement -* [IBM 4.1.2 Name, Role, Value](https://www.ibm.com/able/requirements/requirements/#4_1_2) -* [ARIA in HTML - Document conformance requirements for use of ARIA attributes in HTML](https://www.w3.org/TR/html-aria/#docconformance) -* [ARIA authoring practices guide](https://www.w3.org/WAI/ARIA/apg/) +* [IBM 4.1.2 Name, Role, Value](https://www.ibm.com/able/requirements/requirements/#4_1_2) +* [ARIA specification - States and Properties](https://www.w3.org/TR/wai-aria-1.2/#introstates) ### Who does this affect? * People using a screen reader, including blind, low vision and neurodivergent people -* People using other assistive technologies that expose accessibility information +* People with dexterity impairment using voice control diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_EmptyPropertyValue.html b/accessibility-checker-engine/help-v4/en-US/aria_attribute_exists.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_EmptyPropertyValue.html rename to accessibility-checker-engine/help-v4/en-US/aria_attribute_exists.html diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_RequiredProperties.html b/accessibility-checker-engine/help-v4/en-US/aria_attribute_required.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_RequiredProperties.html rename to accessibility-checker-engine/help-v4/en-US/aria_attribute_required.html diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_ValidProperty.html b/accessibility-checker-engine/help-v4/en-US/aria_attribute_valid.html similarity index 99% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_ValidProperty.html rename to accessibility-checker-engine/help-v4/en-US/aria_attribute_valid.html index c3b590b28..bd47ad2c8 100644 --- a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_ValidProperty.html +++ b/accessibility-checker-engine/help-v4/en-US/aria_attribute_valid.html @@ -88,4 +88,4 @@

- + \ No newline at end of file diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_ValidPropertyValue.html b/accessibility-checker-engine/help-v4/en-US/aria_attribute_value_valid.html similarity index 99% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_ValidPropertyValue.html rename to accessibility-checker-engine/help-v4/en-US/aria_attribute_value_valid.html index 78d2ca33a..dcae4746b 100644 --- a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_ValidPropertyValue.html +++ b/accessibility-checker-engine/help-v4/en-US/aria_attribute_value_valid.html @@ -84,4 +84,4 @@

- + \ No newline at end of file diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_MultipleBannerLandmarks_Implicit.html b/accessibility-checker-engine/help-v4/en-US/aria_banner_label_unique.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_MultipleBannerLandmarks_Implicit.html rename to accessibility-checker-engine/help-v4/en-US/aria_banner_label_unique.html diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_OneBannerInSiblingSet_Implicit.html b/accessibility-checker-engine/help-v4/en-US/aria_banner_single.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_OneBannerInSiblingSet_Implicit.html rename to accessibility-checker-engine/help-v4/en-US/aria_banner_single.html diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_MissingFocusableChild.html b/accessibility-checker-engine/help-v4/en-US/aria_child_tabbable.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_MissingFocusableChild.html rename to accessibility-checker-engine/help-v4/en-US/aria_child_tabbable.html diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_MultipleComplementaryLandmarks_Implicit.html b/accessibility-checker-engine/help-v4/en-US/aria_complementary_label_unique.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_MultipleComplementaryLandmarks_Implicit.html rename to accessibility-checker-engine/help-v4/en-US/aria_complementary_label_unique.html diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_ComplementaryLandmarkLabel_Implicit.html b/accessibility-checker-engine/help-v4/en-US/aria_complementary_label_visible.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_ComplementaryLandmarkLabel_Implicit.html rename to accessibility-checker-engine/help-v4/en-US/aria_complementary_label_visible.html diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_ComplementaryRequiredLabel_Implicit.html b/accessibility-checker-engine/help-v4/en-US/aria_complementary_labelled.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_ComplementaryRequiredLabel_Implicit.html rename to accessibility-checker-engine/help-v4/en-US/aria_complementary_labelled.html diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_OrphanedContent_Native_Host_Sematics.html b/accessibility-checker-engine/help-v4/en-US/aria_content_in_landmark.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_OrphanedContent_Native_Host_Sematics.html rename to accessibility-checker-engine/help-v4/en-US/aria_content_in_landmark.html diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_MultipleContentinfoLandmarks_Implicit.html b/accessibility-checker-engine/help-v4/en-US/aria_contentinfo_label_unique.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_MultipleContentinfoLandmarks_Implicit.html rename to accessibility-checker-engine/help-v4/en-US/aria_contentinfo_label_unique.html diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_ContentinfoWithNoMain_Implicit.html b/accessibility-checker-engine/help-v4/en-US/aria_contentinfo_misuse.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_ContentinfoWithNoMain_Implicit.html rename to accessibility-checker-engine/help-v4/en-US/aria_contentinfo_misuse.html diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit.html b/accessibility-checker-engine/help-v4/en-US/aria_contentinfo_single.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit.html rename to accessibility-checker-engine/help-v4/en-US/aria_contentinfo_single.html diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_MultipleDocumentRoles.html b/accessibility-checker-engine/help-v4/en-US/aria_document_label_unique.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_MultipleDocumentRoles.html rename to accessibility-checker-engine/help-v4/en-US/aria_document_label_unique.html diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_EventHandlerMissingRole_Native_Host_Sematics.html b/accessibility-checker-engine/help-v4/en-US/aria_eventhandler_role_valid.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_EventHandlerMissingRole_Native_Host_Sematics.html rename to accessibility-checker-engine/help-v4/en-US/aria_eventhandler_role_valid.html diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_MultipleFormLandmarks_Implicit.html b/accessibility-checker-engine/help-v4/en-US/aria_form_label_unique.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_MultipleFormLandmarks_Implicit.html rename to accessibility-checker-engine/help-v4/en-US/aria_form_label_unique.html diff --git a/accessibility-checker-engine/help-v4/en-US/HAAC_Aria_SvgAlt.html b/accessibility-checker-engine/help-v4/en-US/aria_graphic_labelled.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/HAAC_Aria_SvgAlt.html rename to accessibility-checker-engine/help-v4/en-US/aria_graphic_labelled.html diff --git a/accessibility-checker-engine/help-v4/en-US/aria_hidden_focus_misuse.html b/accessibility-checker-engine/help-v4/en-US/aria_hidden_nontabbable.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/aria_hidden_focus_misuse.html rename to accessibility-checker-engine/help-v4/en-US/aria_hidden_nontabbable.html diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_ValidIdRef.html b/accessibility-checker-engine/help-v4/en-US/aria_id_unique.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_ValidIdRef.html rename to accessibility-checker-engine/help-v4/en-US/aria_id_unique.html diff --git a/accessibility-checker-engine/help-v4/en-US/HAAC_Aria_ImgAlt.html b/accessibility-checker-engine/help-v4/en-US/aria_img_labelled.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/HAAC_Aria_ImgAlt.html rename to accessibility-checker-engine/help-v4/en-US/aria_img_labelled.html diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_MissingKeyboardHandler.html b/accessibility-checker-engine/help-v4/en-US/aria_keyboard_handler_exists.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_MissingKeyboardHandler.html rename to accessibility-checker-engine/help-v4/en-US/aria_keyboard_handler_exists.html diff --git a/accessibility-checker-engine/help-v4/en-US/landmark_name_unique.html b/accessibility-checker-engine/help-v4/en-US/aria_landmark_name_unique.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/landmark_name_unique.html rename to accessibility-checker-engine/help-v4/en-US/aria_landmark_name_unique.html diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_MultipleMainsRequireLabel_Implicit_2.html b/accessibility-checker-engine/help-v4/en-US/aria_main_label_unique.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_MultipleMainsRequireLabel_Implicit_2.html rename to accessibility-checker-engine/help-v4/en-US/aria_main_label_unique.html diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_MultipleMainsVisibleLabel_Implicit.html b/accessibility-checker-engine/help-v4/en-US/aria_main_label_visible.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_MultipleMainsVisibleLabel_Implicit.html rename to accessibility-checker-engine/help-v4/en-US/aria_main_label_visible.html diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_MultipleNavigationLandmarks_Implicit.html b/accessibility-checker-engine/help-v4/en-US/aria_navigation_label_unique.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_MultipleNavigationLandmarks_Implicit.html rename to accessibility-checker-engine/help-v4/en-US/aria_navigation_label_unique.html diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_RequiredParent_Native_Host_Sematics.html b/accessibility-checker-engine/help-v4/en-US/aria_parent_required.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_RequiredParent_Native_Host_Sematics.html rename to accessibility-checker-engine/help-v4/en-US/aria_parent_required.html diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_MultipleRegionsUniqueLabel_Implicit.html b/accessibility-checker-engine/help-v4/en-US/aria_region_label_unique.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_MultipleRegionsUniqueLabel_Implicit.html rename to accessibility-checker-engine/help-v4/en-US/aria_region_label_unique.html diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_RegionLabel_Implicit.html b/accessibility-checker-engine/help-v4/en-US/aria_region_labelled.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_RegionLabel_Implicit.html rename to accessibility-checker-engine/help-v4/en-US/aria_region_labelled.html diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_ValidRole.html b/accessibility-checker-engine/help-v4/en-US/aria_role_allowed.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_ValidRole.html rename to accessibility-checker-engine/help-v4/en-US/aria_role_allowed.html diff --git a/accessibility-checker-engine/help-v4/en-US/aria_semantics_role.html b/accessibility-checker-engine/help-v4/en-US/aria_role_valid.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/aria_semantics_role.html rename to accessibility-checker-engine/help-v4/en-US/aria_role_valid.html diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_MultipleSearchLandmarks.html b/accessibility-checker-engine/help-v4/en-US/aria_search_label_unique.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_MultipleSearchLandmarks.html rename to accessibility-checker-engine/help-v4/en-US/aria_search_label_unique.html diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_MultipleToolbarUniqueLabel.html b/accessibility-checker-engine/help-v4/en-US/aria_toolbar_label_unique.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_MultipleToolbarUniqueLabel.html rename to accessibility-checker-engine/help-v4/en-US/aria_toolbar_label_unique.html diff --git a/accessibility-checker-engine/help-v4/en-US/Rpt_Aria_WidgetLabels_Implicit.html b/accessibility-checker-engine/help-v4/en-US/aria_widget_labelled.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Rpt_Aria_WidgetLabels_Implicit.html rename to accessibility-checker-engine/help-v4/en-US/aria_widget_labelled.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Pre_ASCIIArt.html b/accessibility-checker-engine/help-v4/en-US/asciiart_alt_exists.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Pre_ASCIIArt.html rename to accessibility-checker-engine/help-v4/en-US/asciiart_alt_exists.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Blink_CSSTrigger1.html b/accessibility-checker-engine/help-v4/en-US/blink_css_review.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Blink_CSSTrigger1.html rename to accessibility-checker-engine/help-v4/en-US/blink_css_review.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Blink_AlwaysTrigger.html b/accessibility-checker-engine/help-v4/en-US/blink_elem_deprecated.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Blink_AlwaysTrigger.html rename to accessibility-checker-engine/help-v4/en-US/blink_elem_deprecated.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Blockquote_HasCite.html b/accessibility-checker-engine/help-v4/en-US/blockquote_cite_exists.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Blockquote_HasCite.html rename to accessibility-checker-engine/help-v4/en-US/blockquote_cite_exists.html diff --git a/accessibility-checker-engine/help-v4/en-US/HAAC_Canvas.html b/accessibility-checker-engine/help-v4/en-US/canvas_content_described.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/HAAC_Canvas.html rename to accessibility-checker-engine/help-v4/en-US/canvas_content_described.html diff --git a/accessibility-checker-engine/help-v4/en-US/HAAC_Video_HasNoTrack.html b/accessibility-checker-engine/help-v4/en-US/caption_track_exists.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/HAAC_Video_HasNoTrack.html rename to accessibility-checker-engine/help-v4/en-US/caption_track_exists.html diff --git a/accessibility-checker-engine/help-v4/en-US/combobox_autocomplete.html b/accessibility-checker-engine/help-v4/en-US/combobox_autocomplete_valid.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/combobox_autocomplete.html rename to accessibility-checker-engine/help-v4/en-US/combobox_autocomplete_valid.html diff --git a/accessibility-checker-engine/help-v4/en-US/combobox_version.html b/accessibility-checker-engine/help-v4/en-US/combobox_design_valid.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/combobox_version.html rename to accessibility-checker-engine/help-v4/en-US/combobox_design_valid.html diff --git a/accessibility-checker-engine/help-v4/en-US/combobox_haspopup.html b/accessibility-checker-engine/help-v4/en-US/combobox_haspopup_valid.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/combobox_haspopup.html rename to accessibility-checker-engine/help-v4/en-US/combobox_haspopup_valid.html diff --git a/accessibility-checker-engine/help-v4/en-US/Valerie_Elem_DirValid.html b/accessibility-checker-engine/help-v4/en-US/dir_attribute_valid.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Valerie_Elem_DirValid.html rename to accessibility-checker-engine/help-v4/en-US/dir_attribute_valid.html diff --git a/accessibility-checker-engine/help-v4/en-US/HAAC_Media_DocumentTrigger2.html b/accessibility-checker-engine/help-v4/en-US/download_keyboard_controllable.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/HAAC_Media_DocumentTrigger2.html rename to accessibility-checker-engine/help-v4/en-US/download_keyboard_controllable.html diff --git a/accessibility-checker-engine/help-v4/en-US/HAAC_Accesskey_NeedLabel.html b/accessibility-checker-engine/help-v4/en-US/element_accesskey_labelled.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/HAAC_Accesskey_NeedLabel.html rename to accessibility-checker-engine/help-v4/en-US/element_accesskey_labelled.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Elem_UniqueAccessKey.html b/accessibility-checker-engine/help-v4/en-US/element_accesskey_unique.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Elem_UniqueAccessKey.html rename to accessibility-checker-engine/help-v4/en-US/element_accesskey_unique.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Elem_UniqueId.html b/accessibility-checker-engine/help-v4/en-US/element_id_unique.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Elem_UniqueId.html rename to accessibility-checker-engine/help-v4/en-US/element_id_unique.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Elem_EventMouseAndKey.html b/accessibility-checker-engine/help-v4/en-US/element_mouseevent_keyboard.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Elem_EventMouseAndKey.html rename to accessibility-checker-engine/help-v4/en-US/element_mouseevent_keyboard.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Embed_HasAlt.html b/accessibility-checker-engine/help-v4/en-US/embed_alt_exists.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Embed_HasAlt.html rename to accessibility-checker-engine/help-v4/en-US/embed_alt_exists.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Embed_HasNoEmbed.html b/accessibility-checker-engine/help-v4/en-US/embed_noembed_exists.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Embed_HasNoEmbed.html rename to accessibility-checker-engine/help-v4/en-US/embed_noembed_exists.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Text_Emoticons.html b/accessibility-checker-engine/help-v4/en-US/emoticons_alt_exists.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Text_Emoticons.html rename to accessibility-checker-engine/help-v4/en-US/emoticons_alt_exists.html diff --git a/accessibility-checker-engine/help-v4/en-US/HAAC_Aria_ErrorMessage.html b/accessibility-checker-engine/help-v4/en-US/error_message_exists.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/HAAC_Aria_ErrorMessage.html rename to accessibility-checker-engine/help-v4/en-US/error_message_exists.html diff --git a/accessibility-checker-engine/help-v4/en-US/group_withInputs_hasName.html b/accessibility-checker-engine/help-v4/en-US/fieldset_label_valid.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/group_withInputs_hasName.html rename to accessibility-checker-engine/help-v4/en-US/fieldset_label_valid.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Fieldset_HasLegend.html b/accessibility-checker-engine/help-v4/en-US/fieldset_legend_valid.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Fieldset_HasLegend.html rename to accessibility-checker-engine/help-v4/en-US/fieldset_legend_valid.html diff --git a/accessibility-checker-engine/help-v4/en-US/HAAC_Figure_label.html b/accessibility-checker-engine/help-v4/en-US/figure_label_exists.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/HAAC_Figure_label.html rename to accessibility-checker-engine/help-v4/en-US/figure_label_exists.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Font_ColorInForm.html b/accessibility-checker-engine/help-v4/en-US/form_font_color.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Font_ColorInForm.html rename to accessibility-checker-engine/help-v4/en-US/form_font_color.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Form_TargetAndText.html b/accessibility-checker-engine/help-v4/en-US/form_interaction_review.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Form_TargetAndText.html rename to accessibility-checker-engine/help-v4/en-US/form_interaction_review.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Label_UniqueFor.html b/accessibility-checker-engine/help-v4/en-US/form_label_unique.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Label_UniqueFor.html rename to accessibility-checker-engine/help-v4/en-US/form_label_unique.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Form_HasSubmit.html b/accessibility-checker-engine/help-v4/en-US/form_submit_button_exists.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Form_HasSubmit.html rename to accessibility-checker-engine/help-v4/en-US/form_submit_button_exists.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Form_ChangeEmpty.html b/accessibility-checker-engine/help-v4/en-US/form_submit_review.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Form_ChangeEmpty.html rename to accessibility-checker-engine/help-v4/en-US/form_submit_review.html diff --git a/accessibility-checker-engine/help-v4/en-US/Valerie_Frame_SrcHtml.html b/accessibility-checker-engine/help-v4/en-US/frame_src_valid.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Valerie_Frame_SrcHtml.html rename to accessibility-checker-engine/help-v4/en-US/frame_src_valid.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Frame_HasTitle.html b/accessibility-checker-engine/help-v4/en-US/frame_title_exists.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Frame_HasTitle.html rename to accessibility-checker-engine/help-v4/en-US/frame_title_exists.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Header_HasContent.html b/accessibility-checker-engine/help-v4/en-US/heading_content_exists.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Header_HasContent.html rename to accessibility-checker-engine/help-v4/en-US/heading_content_exists.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Headers_FewWords.html b/accessibility-checker-engine/help-v4/en-US/heading_markup_misuse.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Headers_FewWords.html rename to accessibility-checker-engine/help-v4/en-US/heading_markup_misuse.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Html_HasLang.html b/accessibility-checker-engine/help-v4/en-US/html_lang_exists.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Html_HasLang.html rename to accessibility-checker-engine/help-v4/en-US/html_lang_exists.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Html_SkipNav.html b/accessibility-checker-engine/help-v4/en-US/html_skipnav_exists.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Html_SkipNav.html rename to accessibility-checker-engine/help-v4/en-US/html_skipnav_exists.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Input_ExplicitLabelImage.html b/accessibility-checker-engine/help-v4/en-US/imagebutton_alt_exists.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Input_ExplicitLabelImage.html rename to accessibility-checker-engine/help-v4/en-US/imagebutton_alt_exists.html diff --git a/accessibility-checker-engine/help-v4/en-US/HAAC_Img_UsemapAlt.html b/accessibility-checker-engine/help-v4/en-US/imagemap_alt_exists.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/HAAC_Img_UsemapAlt.html rename to accessibility-checker-engine/help-v4/en-US/imagemap_alt_exists.html diff --git a/accessibility-checker-engine/help-v4/en-US/HAAC_BackgroundImg_HasTextOrTitle.html b/accessibility-checker-engine/help-v4/en-US/img_alt_background.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/HAAC_BackgroundImg_HasTextOrTitle.html rename to accessibility-checker-engine/help-v4/en-US/img_alt_background.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Img_PresentationImgHasNonNullAlt.html b/accessibility-checker-engine/help-v4/en-US/img_alt_decorative.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Img_PresentationImgHasNonNullAlt.html rename to accessibility-checker-engine/help-v4/en-US/img_alt_decorative.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Img_AltCommonMisuse.html b/accessibility-checker-engine/help-v4/en-US/img_alt_misuse.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Img_AltCommonMisuse.html rename to accessibility-checker-engine/help-v4/en-US/img_alt_misuse.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Img_TitleEmptyWhenAltNull.html b/accessibility-checker-engine/help-v4/en-US/img_alt_null.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Img_TitleEmptyWhenAltNull.html rename to accessibility-checker-engine/help-v4/en-US/img_alt_null.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Img_LinkTextNotRedundant.html b/accessibility-checker-engine/help-v4/en-US/img_alt_redundant.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Img_LinkTextNotRedundant.html rename to accessibility-checker-engine/help-v4/en-US/img_alt_redundant.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Img_HasAlt.html b/accessibility-checker-engine/help-v4/en-US/img_alt_valid.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Img_HasAlt.html rename to accessibility-checker-engine/help-v4/en-US/img_alt_valid.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Img_UsemapValid.html b/accessibility-checker-engine/help-v4/en-US/img_ismap_misuse.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Img_UsemapValid.html rename to accessibility-checker-engine/help-v4/en-US/img_ismap_misuse.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Img_LongDescription2.html b/accessibility-checker-engine/help-v4/en-US/img_longdesc_misuse.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Img_LongDescription2.html rename to accessibility-checker-engine/help-v4/en-US/img_longdesc_misuse.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG21_Input_Autocomplete.html b/accessibility-checker-engine/help-v4/en-US/input_autocomplete_valid.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG21_Input_Autocomplete.html rename to accessibility-checker-engine/help-v4/en-US/input_autocomplete_valid.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Input_RadioChkInFieldSet.html b/accessibility-checker-engine/help-v4/en-US/input_checkboxes_grouped.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Input_RadioChkInFieldSet.html rename to accessibility-checker-engine/help-v4/en-US/input_checkboxes_grouped.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Input_InFieldSet.html b/accessibility-checker-engine/help-v4/en-US/input_fields_grouped.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Input_InFieldSet.html rename to accessibility-checker-engine/help-v4/en-US/input_fields_grouped.html diff --git a/accessibility-checker-engine/help-v4/en-US/input_haspopup_invalid.html b/accessibility-checker-engine/help-v4/en-US/input_haspopup_conflict.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/input_haspopup_invalid.html rename to accessibility-checker-engine/help-v4/en-US/input_haspopup_conflict.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Input_LabelAfter.html b/accessibility-checker-engine/help-v4/en-US/input_label_after.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Input_LabelAfter.html rename to accessibility-checker-engine/help-v4/en-US/input_label_after.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Input_LabelBefore.html b/accessibility-checker-engine/help-v4/en-US/input_label_before.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Input_LabelBefore.html rename to accessibility-checker-engine/help-v4/en-US/input_label_before.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Input_ExplicitLabel.html b/accessibility-checker-engine/help-v4/en-US/input_label_exists.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Input_ExplicitLabel.html rename to accessibility-checker-engine/help-v4/en-US/input_label_exists.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Input_VisibleLabel.html b/accessibility-checker-engine/help-v4/en-US/input_label_visible.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Input_VisibleLabel.html rename to accessibility-checker-engine/help-v4/en-US/input_label_visible.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Input_HasOnchange.html b/accessibility-checker-engine/help-v4/en-US/input_onchange_review.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Input_HasOnchange.html rename to accessibility-checker-engine/help-v4/en-US/input_onchange_review.html diff --git a/accessibility-checker-engine/help-v4/en-US/HAAC_Input_Placeholder.html b/accessibility-checker-engine/help-v4/en-US/input_placeholder_label_visible.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/HAAC_Input_Placeholder.html rename to accessibility-checker-engine/help-v4/en-US/input_placeholder_label_visible.html diff --git a/accessibility-checker-engine/help-v4/en-US/Valerie_Label_HasContent.html b/accessibility-checker-engine/help-v4/en-US/label_content_exists.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Valerie_Label_HasContent.html rename to accessibility-checker-engine/help-v4/en-US/label_content_exists.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG21_Label_Accessible.html b/accessibility-checker-engine/help-v4/en-US/label_name_visible.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG21_Label_Accessible.html rename to accessibility-checker-engine/help-v4/en-US/label_name_visible.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Label_RefValid.html b/accessibility-checker-engine/help-v4/en-US/label_ref_valid.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Label_RefValid.html rename to accessibility-checker-engine/help-v4/en-US/label_ref_valid.html diff --git a/accessibility-checker-engine/help-v4/en-US/HAAC_List_Group_ListItem.html b/accessibility-checker-engine/help-v4/en-US/list_children_valid.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/HAAC_List_Group_ListItem.html rename to accessibility-checker-engine/help-v4/en-US/list_children_valid.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_List_UseMarkup.html b/accessibility-checker-engine/help-v4/en-US/list_markup_review.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_List_UseMarkup.html rename to accessibility-checker-engine/help-v4/en-US/list_markup_review.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_List_Misuse.html b/accessibility-checker-engine/help-v4/en-US/list_structure_proper.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_List_Misuse.html rename to accessibility-checker-engine/help-v4/en-US/list_structure_proper.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Marquee_Trigger.html b/accessibility-checker-engine/help-v4/en-US/marquee_elem_avoid.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Marquee_Trigger.html rename to accessibility-checker-engine/help-v4/en-US/marquee_elem_avoid.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Media_AltBrief.html b/accessibility-checker-engine/help-v4/en-US/media_alt_brief.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Media_AltBrief.html rename to accessibility-checker-engine/help-v4/en-US/media_alt_brief.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Media_AudioVideoAltFilename.html b/accessibility-checker-engine/help-v4/en-US/media_alt_exists.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Media_AudioVideoAltFilename.html rename to accessibility-checker-engine/help-v4/en-US/media_alt_exists.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Media_AudioTrigger.html b/accessibility-checker-engine/help-v4/en-US/media_audio_transcribed.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Media_AudioTrigger.html rename to accessibility-checker-engine/help-v4/en-US/media_audio_transcribed.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Embed_AutoStart.html b/accessibility-checker-engine/help-v4/en-US/media_autostart_controllable.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Embed_AutoStart.html rename to accessibility-checker-engine/help-v4/en-US/media_autostart_controllable.html diff --git a/accessibility-checker-engine/help-v4/en-US/HAAC_Audio_Video_Trigger.html b/accessibility-checker-engine/help-v4/en-US/media_keyboard_controllable.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/HAAC_Audio_Video_Trigger.html rename to accessibility-checker-engine/help-v4/en-US/media_keyboard_controllable.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Media_VideoObjectTrigger.html b/accessibility-checker-engine/help-v4/en-US/media_live_captioned.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Media_VideoObjectTrigger.html rename to accessibility-checker-engine/help-v4/en-US/media_live_captioned.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Media_VideoReferenceTrigger.html b/accessibility-checker-engine/help-v4/en-US/media_track_available.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Media_VideoReferenceTrigger.html rename to accessibility-checker-engine/help-v4/en-US/media_track_available.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Meta_RedirectZero.html b/accessibility-checker-engine/help-v4/en-US/meta_redirect_optional.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Meta_RedirectZero.html rename to accessibility-checker-engine/help-v4/en-US/meta_redirect_optional.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Meta_Refresh.html b/accessibility-checker-engine/help-v4/en-US/meta_refresh_delay.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Meta_Refresh.html rename to accessibility-checker-engine/help-v4/en-US/meta_refresh_delay.html diff --git a/accessibility-checker-engine/help-v4/en-US/meta_viewport_zoom.html b/accessibility-checker-engine/help-v4/en-US/meta_viewport_zoomable.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/meta_viewport_zoom.html rename to accessibility-checker-engine/help-v4/en-US/meta_viewport_zoomable.html diff --git a/accessibility-checker-engine/help-v4/en-US/Valerie_Noembed_HasContent.html b/accessibility-checker-engine/help-v4/en-US/noembed_content_exists.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Valerie_Noembed_HasContent.html rename to accessibility-checker-engine/help-v4/en-US/noembed_content_exists.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Object_HasText.html b/accessibility-checker-engine/help-v4/en-US/object_text_exists.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Object_HasText.html rename to accessibility-checker-engine/help-v4/en-US/object_text_exists.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Doc_HasTitle.html b/accessibility-checker-engine/help-v4/en-US/page_title_exists.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Doc_HasTitle.html rename to accessibility-checker-engine/help-v4/en-US/page_title_exists.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Title_Valid.html b/accessibility-checker-engine/help-v4/en-US/page_title_valid.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Title_Valid.html rename to accessibility-checker-engine/help-v4/en-US/page_title_valid.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Script_FocusBlurs.html b/accessibility-checker-engine/help-v4/en-US/script_focus_blur_review.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Script_FocusBlurs.html rename to accessibility-checker-engine/help-v4/en-US/script_focus_blur_review.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Script_OnclickHTML2.html b/accessibility-checker-engine/help-v4/en-US/script_onclick_avoid.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Script_OnclickHTML2.html rename to accessibility-checker-engine/help-v4/en-US/script_onclick_avoid.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Script_OnclickHTML1.html b/accessibility-checker-engine/help-v4/en-US/script_onclick_misuse.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Script_OnclickHTML1.html rename to accessibility-checker-engine/help-v4/en-US/script_onclick_misuse.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Select_NoChangeAction.html b/accessibility-checker-engine/help-v4/en-US/script_select_review.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Select_NoChangeAction.html rename to accessibility-checker-engine/help-v4/en-US/script_select_review.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Select_HasOptGroup.html b/accessibility-checker-engine/help-v4/en-US/select_options_grouped.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Select_HasOptGroup.html rename to accessibility-checker-engine/help-v4/en-US/select_options_grouped.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Body_FirstAContainsSkipText_Native_Host_Sematics.html b/accessibility-checker-engine/help-v4/en-US/skip_main_described.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Body_FirstAContainsSkipText_Native_Host_Sematics.html rename to accessibility-checker-engine/help-v4/en-US/skip_main_described.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Body_FirstASkips_Native_Host_Sematics.html b/accessibility-checker-engine/help-v4/en-US/skip_main_exists.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Body_FirstASkips_Native_Host_Sematics.html rename to accessibility-checker-engine/help-v4/en-US/skip_main_exists.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Style_BackgroundImage.html b/accessibility-checker-engine/help-v4/en-US/style_background_decorative.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Style_BackgroundImage.html rename to accessibility-checker-engine/help-v4/en-US/style_background_decorative.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Style_BeforeAfter.html b/accessibility-checker-engine/help-v4/en-US/style_before_after_review.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Style_BeforeAfter.html rename to accessibility-checker-engine/help-v4/en-US/style_before_after_review.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Style_ColorSemantics1.html b/accessibility-checker-engine/help-v4/en-US/style_color_misuse.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Style_ColorSemantics1.html rename to accessibility-checker-engine/help-v4/en-US/style_color_misuse.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Style_HinderFocus1.html b/accessibility-checker-engine/help-v4/en-US/style_focus_visible.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Style_HinderFocus1.html rename to accessibility-checker-engine/help-v4/en-US/style_focus_visible.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Style_Trigger2.html b/accessibility-checker-engine/help-v4/en-US/style_highcontrast_visible.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Style_Trigger2.html rename to accessibility-checker-engine/help-v4/en-US/style_highcontrast_visible.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG21_Style_Viewport.html b/accessibility-checker-engine/help-v4/en-US/style_viewport_resizable.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG21_Style_Viewport.html rename to accessibility-checker-engine/help-v4/en-US/style_viewport_resizable.html diff --git a/accessibility-checker-engine/help-v4/en-US/Valerie_Caption_HasContent.html b/accessibility-checker-engine/help-v4/en-US/table_caption_empty.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Valerie_Caption_HasContent.html rename to accessibility-checker-engine/help-v4/en-US/table_caption_empty.html diff --git a/accessibility-checker-engine/help-v4/en-US/Valerie_Caption_InTable.html b/accessibility-checker-engine/help-v4/en-US/table_caption_nested.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Valerie_Caption_InTable.html rename to accessibility-checker-engine/help-v4/en-US/table_caption_nested.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Table_DataHeadingsAria.html b/accessibility-checker-engine/help-v4/en-US/table_headers_exists.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Table_DataHeadingsAria.html rename to accessibility-checker-engine/help-v4/en-US/table_headers_exists.html diff --git a/accessibility-checker-engine/help-v4/en-US/Valerie_Table_DataCellRelationships.html b/accessibility-checker-engine/help-v4/en-US/table_headers_related.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/Valerie_Table_DataCellRelationships.html rename to accessibility-checker-engine/help-v4/en-US/table_headers_related.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Table_LayoutTrigger.html b/accessibility-checker-engine/help-v4/en-US/table_layout_linearized.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Table_LayoutTrigger.html rename to accessibility-checker-engine/help-v4/en-US/table_layout_linearized.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Table_Scope_Valid.html b/accessibility-checker-engine/help-v4/en-US/table_scope_valid.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Table_Scope_Valid.html rename to accessibility-checker-engine/help-v4/en-US/table_scope_valid.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Table_Structure.html b/accessibility-checker-engine/help-v4/en-US/table_structure_misuse.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Table_Structure.html rename to accessibility-checker-engine/help-v4/en-US/table_structure_misuse.html diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Table_CapSummRedundant.html b/accessibility-checker-engine/help-v4/en-US/table_summary_redundant.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/WCAG20_Table_CapSummRedundant.html rename to accessibility-checker-engine/help-v4/en-US/table_summary_redundant.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Block_ShouldBeHeading.html b/accessibility-checker-engine/help-v4/en-US/text_block_heading.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Block_ShouldBeHeading.html rename to accessibility-checker-engine/help-v4/en-US/text_block_heading.html diff --git a/accessibility-checker-engine/help-v4/en-US/IBMA_Color_Contrast_WCAG2AA.html b/accessibility-checker-engine/help-v4/en-US/text_contrast_sufficient.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/IBMA_Color_Contrast_WCAG2AA.html rename to accessibility-checker-engine/help-v4/en-US/text_contrast_sufficient.html diff --git a/accessibility-checker-engine/help-v4/en-US/RPT_Text_SensoryReference.html b/accessibility-checker-engine/help-v4/en-US/text_sensory_misuse.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/RPT_Text_SensoryReference.html rename to accessibility-checker-engine/help-v4/en-US/text_sensory_misuse.html diff --git a/accessibility-checker-engine/help-v4/en-US/IBMA_Focus_Tabbable.html b/accessibility-checker-engine/help-v4/en-US/widget_tabbable_exists.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/IBMA_Focus_Tabbable.html rename to accessibility-checker-engine/help-v4/en-US/widget_tabbable_exists.html diff --git a/accessibility-checker-engine/help-v4/en-US/IBMA_Focus_MultiTab.html b/accessibility-checker-engine/help-v4/en-US/widget_tabbable_single.html similarity index 100% rename from accessibility-checker-engine/help-v4/en-US/IBMA_Focus_MultiTab.html rename to accessibility-checker-engine/help-v4/en-US/widget_tabbable_single.html diff --git a/accessibility-checker-engine/karma.conf.js b/accessibility-checker-engine/karma.conf.js index 39b8469f4..cf81e9762 100644 --- a/accessibility-checker-engine/karma.conf.js +++ b/accessibility-checker-engine/karma.conf.js @@ -53,7 +53,7 @@ ], exclude: [ //Disable - due to a defect that needs to be addressed regarding visibility. - 'test/v2/checker/accessibility/rules/WCAG20_A_HasText_ruleunit/A-hasTextEmbedded.html' + 'test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/A-hasTextEmbedded.html' ], frameworks: ['jasmine'], diff --git a/accessibility-checker-engine/karmaaction.conf.js b/accessibility-checker-engine/karmaaction.conf.js index d19c95f87..4062a1d7c 100644 --- a/accessibility-checker-engine/karmaaction.conf.js +++ b/accessibility-checker-engine/karmaaction.conf.js @@ -53,7 +53,7 @@ module.exports = (config) => { ], exclude: [ //Disable - due to a defect that needs to be addressed regarding visibility. - 'test/v2/checker/accessibility/rules/WCAG20_A_HasText_ruleunit/A-hasTextEmbedded.html' + 'test/v2/checker/accessibility/rules/a_text_purpose_ruleunit/A-hasTextEmbedded.html' ], frameworks: ['jasmine'], diff --git a/accessibility-checker-engine/legacy/wrapper-node.js b/accessibility-checker-engine/legacy/wrapper-node.js index 7bf645892..204b1de5e 100644 --- a/accessibility-checker-engine/legacy/wrapper-node.js +++ b/accessibility-checker-engine/legacy/wrapper-node.js @@ -17,151 +17,151 @@ var ace = module.exports; var IBMa = module.exports = {}; var mapRuleToG = IBMa.mapRuleToG = { - "RPT_List_Misuse": "3", - "RPT_Marquee_Trigger": "5", - "RPT_Headers_FewWords": "7", - "WCAG20_Input_ExplicitLabelImage": "10", - "RPT_Img_UsemapValid": "11", - "WCAG20_Object_HasText": "20", - "WCAG20_Applet_HasAlt": "21", - "RPT_Media_AudioTrigger": "24", - "RPT_Blockquote_HasCite": "25", - "RPT_Meta_Refresh": "33", - "WCAG20_Frame_HasTitle": "39", - "WCAG20_Input_ExplicitLabel": "41", - "RPT_Media_AltBrief": "99", - "WCAG20_A_TargetAndText": "112", - "WCAG20_Area_HasAlt": "240", + "list_structure_proper": "3", + "marquee_elem_avoid": "5", + "heading_markup_misuse": "7", + "imagebutton_alt_exists": "10", + "img_ismap_misuse": "11", + "object_text_exists": "20", + "applet_alt_exists": "21", + "media_audio_transcribed": "24", + "blockquote_cite_exists": "25", + "meta_refresh_delay": "33", + "frame_title_exists": "39", + "input_label_exists": "41", + "media_alt_brief": "99", + "a_target_warning": "112", + "area_alt_exists": "240", "RPT_Media_ImgColorUsage": "245", - "WCAG20_Meta_RedirectZero": "254", + "meta_redirect_optional": "254", "element_attribute_deprecated": "256", "text_quoted_correctly": "263", - "RPT_Elem_EventMouseAndKey": "269", - "WCAG20_Doc_HasTitle": "273", - "RPT_Block_ShouldBeHeading": "322", - "WCAG20_Form_HasSubmit": "324", - "RPT_Elem_UniqueId": "377", - "RPT_Font_ColorInForm": "394", - "RPT_Label_UniqueFor": "398", - "RPT_Img_AltCommonMisuse": "453", - "RPT_Img_LongDescription2": "454", - "WCAG20_Img_HasAlt": "455", - "RPT_Style_BackgroundImage": "456", - "RPT_Pre_ASCIIArt": "458", - "RPT_Media_VideoReferenceTrigger": "511", - "RPT_Media_AudioVideoAltFilename": "460", - "RPT_Style_ColorSemantics1": "466", - "WCAG20_Select_HasOptGroup": "467", - "RPT_List_UseMarkup": "468", - "RPT_Script_OnclickHTML1": "470", - "WCAG20_Table_Structure": "471", + "element_mouseevent_keyboard": "269", + "page_title_exists": "273", + "text_block_heading": "322", + "form_submit_button_exists": "324", + "element_id_unique": "377", + "form_font_color": "394", + "form_label_unique": "398", + "img_alt_misuse": "453", + "img_longdesc_misuse": "454", + "img_alt_valid": "455", + "style_background_decorative": "456", + "asciiart_alt_exists": "458", + "media_track_available": "511", + "media_alt_exists": "460", + "style_color_misuse": "466", + "select_options_grouped": "467", + "list_markup_review": "468", + "script_onclick_misuse": "470", + "table_structure_misuse": "471", "WCAG20_Img_AltTriggerNonDecorative": "473", - "WCAG20_Blink_AlwaysTrigger": "478", - "RPT_Blink_CSSTrigger1": "479", - "RPT_Html_SkipNav": "481", - "RPT_Title_Valid": "484", - "RPT_Header_HasContent": "488", - "WCAG20_Html_HasLang": "490", - "WCAG20_Form_TargetAndText": "491", - "WCAG20_A_HasText": "495", - "WCAG20_Fieldset_HasLegend": "497", - "RPT_Media_VideoObjectTrigger": "501", - "RPT_Text_SensoryReference": "502", - "RPT_Embed_AutoStart": "503", - "RPT_Style_HinderFocus1": "506", - "WCAG20_Img_LinkTextNotRedundant": "1000", + "blink_elem_deprecated": "478", + "blink_css_review": "479", + "html_skipnav_exists": "481", + "page_title_valid": "484", + "heading_content_exists": "488", + "html_lang_exists": "490", + "form_interaction_review": "491", + "a_text_purpose": "495", + "fieldset_legend_valid": "497", + "media_live_captioned": "501", + "text_sensory_misuse": "502", + "media_autostart_controllable": "503", + "style_focus_visible": "506", + "img_alt_redundant": "1000", "RPT_Style_ExternalStyleSheet": "1073", // "RPT_Header_Trigger": "1002", - "RPT_Script_OnclickHTML2": "1007", - "WCAG20_Table_CapSummRedundant": "1011", - "WCAG20_Input_LabelBefore": "1017", - "WCAG20_Input_LabelAfter": "1018", - "WCAG20_Embed_HasNoEmbed": "1020", - "WCAG20_Table_Scope_Valid": "1025", - "WCAG20_Img_TitleEmptyWhenAltNull": "1027", - "WCAG20_Input_InFieldSet": "1028", - "WCAG20_Input_RadioChkInFieldSet": "1029", - "WCAG20_Select_NoChangeAction": "1035", - "WCAG20_Input_HasOnchange": "1050", - "RPT_Embed_HasAlt": "1051", - "Valerie_Noembed_HasContent": "1052", - "Valerie_Caption_HasContent": "1053", - "Valerie_Caption_InTable": "1054", - "Valerie_Label_HasContent": "1055", - "Valerie_Elem_DirValid": "1056", - "Valerie_Frame_SrcHtml": "1057", - "Valerie_Table_DataCellRelationships": "1059", - "RPT_Table_LayoutTrigger": "1060", - "RPT_Table_DataHeadingsAria": "1061", - "WCAG20_Label_RefValid": "1062", - "WCAG20_Elem_UniqueAccessKey": "1063", - "WCAG20_Script_FocusBlurs": "1064", - "HAAC_Img_UsemapAlt": "1067", - "WCAG20_Text_Emoticons": "1068", - "WCAG20_Style_BeforeAfter": "1069", + "script_onclick_avoid": "1007", + "table_summary_redundant": "1011", + "input_label_before": "1017", + "input_label_after": "1018", + "embed_noembed_exists": "1020", + "table_scope_valid": "1025", + "img_alt_null": "1027", + "input_fields_grouped": "1028", + "input_checkboxes_grouped": "1029", + "script_select_review": "1035", + "input_onchange_review": "1050", + "embed_alt_exists": "1051", + "noembed_content_exists": "1052", + "table_caption_empty": "1053", + "table_caption_nested": "1054", + "label_content_exists": "1055", + "dir_attribute_valid": "1056", + "frame_src_valid": "1057", + "table_headers_related": "1059", + "table_layout_linearized": "1060", + "table_headers_exists": "1061", + "label_ref_valid": "1062", + "element_accesskey_unique": "1063", + "script_focus_blur_review": "1064", + "imagemap_alt_exists": "1067", + "emoticons_alt_exists": "1068", + "style_before_after_review": "1069", "text_whitespace_valid": "1070", - "Rpt_Aria_ValidRole": "1074", - "Rpt_Aria_ValidPropertyValue": "1076", - "Rpt_Aria_ValidIdRef": "1077", - "Rpt_Aria_RequiredProperties": "1079", - "Rpt_Aria_EmptyPropertyValue": "1082", - "Rpt_Aria_ValidProperty": "1083", - "Rpt_Aria_InvalidTabindexForActivedescendant": "1084", - "Rpt_Aria_MissingFocusableChild": "1086", - "Rpt_Aria_MissingKeyboardHandler": "1087", - "WCAG20_Img_PresentationImgHasNonNullAlt": "1090", - "Rpt_Aria_MultipleSearchLandmarks": "1097", - "Rpt_Aria_MultipleApplicationLandmarks": "1099", - "Rpt_Aria_ApplicationLandmarkLabel": "1100", - "Rpt_Aria_MultipleDocumentRoles": "1101", + "aria_role_allowed": "1074", + "aria_attribute_value_valid": "1076", + "aria_id_unique": "1077", + "aria_attribute_required": "1079", + "aria_attribute_exists": "1082", + "aria_attribute_allowed": "1083", + "aria_activedescendant_tabindex_valid": "1084", + "aria_child_tabbable": "1086", + "aria_keyboard_handler_exists": "1087", + "img_alt_decorative": "1090", + "aria_search_label_unique": "1097", + "aria_application_label_unique": "1099", + "aria_application_labelled": "1100", + "aria_document_label_unique": "1101", "WCAG20_Label_TargetInvisible": "1112", - "HAAC_Video_HasNoTrack": "1117", - "HAAC_Audio_Video_Trigger": "1119", + "caption_track_exists": "1117", + "media_keyboard_controllable": "1119", "HAAC_Input_HasRequired": "1124", - "HAAC_Aria_ImgAlt": "1128", - "HAAC_BackgroundImg_HasTextOrTitle": "1132", - "HAAC_Accesskey_NeedLabel": "1140", + "aria_img_labelled": "1128", + "img_alt_background": "1132", + "element_accesskey_labelled": "1140", "aria_attribute_conflict": "1141", - "HAAC_Canvas": "1143", - "HAAC_Figure_label": "1144", - "HAAC_Input_Placeholder": "1145", - "RPT_Form_ChangeEmpty": "1147", - "IBMA_Color_Contrast_WCAG2AA": "1148", - "IBMA_Color_Contrast_WCAG2AA_PV": "1149", - "WCAG20_Body_FirstASkips_Native_Host_Sematics": "1150", - "WCAG20_Body_FirstAContainsSkipText_Native_Host_Sematics": "1151", + "canvas_content_described": "1143", + "figure_label_exists": "1144", + "input_placeholder_label_visible": "1145", + "form_submit_review": "1147", + "text_contrast_sufficient": "1148", + "text_contrast_sufficient_PV": "1149", + "skip_main_exists": "1150", + "skip_main_described": "1151", "aria_child_valid": "1152", - "Rpt_Aria_RequiredParent_Native_Host_Sematics": "1153", - "Rpt_Aria_EventHandlerMissingRole_Native_Host_Sematics": "1154", - "Rpt_Aria_WidgetLabels_Implicit": "1156", - "Rpt_Aria_OrphanedContent_Native_Host_Sematics": "1157", - "Rpt_Aria_RegionLabel_Implicit": "1158", - "Rpt_Aria_MultipleMainsVisibleLabel_Implicit": "1159", - "Rpt_Aria_MultipleBannerLandmarks_Implicit": "1160", - "Rpt_Aria_MultipleComplementaryLandmarks_Implicit": "1161", - "Rpt_Aria_MultipleContentinfoLandmarks_Implicit": "1162", - "Rpt_Aria_MultipleFormLandmarks_Implicit": "1163", - "Rpt_Aria_MultipleNavigationLandmarks_Implicit": "1164", - "Rpt_Aria_ComplementaryLandmarkLabel_Implicit": "1165", - "Rpt_Aria_MultipleArticleRoles_Implicit": "1166", + "aria_parent_required": "1153", + "aria_eventhandler_role_valid": "1154", + "aria_widget_labelled": "1156", + "aria_content_in_landmark": "1157", + "aria_region_labelled": "1158", + "aria_main_label_visible": "1159", + "aria_banner_label_unique": "1160", + "aria_complementary_label_unique": "1161", + "aria_contentinfo_label_unique": "1162", + "aria_form_label_unique": "1163", + "aria_navigation_label_unique": "1164", + "aria_complementary_label_visible": "1165", + "aria_article_label_unique": "1166", "Rpt_Aria_ArticleRoleLabel_Implicit": "1167", "Rpt_Aria_MultipleGroupRoles_Implicit": "1168", "Rpt_Aria_GroupRoleLabel_Implicit": "1169", - "Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit": "1170", - "Rpt_Aria_OneBannerInSiblingSet_Implicit": "1172", - "Rpt_Aria_ContentinfoWithNoMain_Implicit": "1173", - "Rpt_Aria_ComplementaryRequiredLabel_Implicit": "1174", - "Rpt_Aria_MultipleRegionsUniqueLabel_Implicit": "1176", - "IBMA_Focus_Tabbable": "1177", - "IBMA_Focus_MultiTab": "1178", - "RPT_Style_Trigger2": "1180", - "Rpt_Aria_MultipleMainsRequireLabel_Implicit_2": "1182", - "HAAC_Media_DocumentTrigger2": "1183", - "HAAC_Aria_ErrorMessage": "1184", - "HAAC_List_Group_ListItem": "1185", - "HAAC_ActiveDescendantCheck": "1186", - "HAAC_Application_Role_Text": "1187", - "Rpt_Aria_MultipleToolbarUniqueLabel": "1188", + "aria_contentinfo_single": "1170", + "aria_banner_single": "1172", + "aria_contentinfo_misuse": "1173", + "aria_complementary_labelled": "1174", + "aria_region_label_unique": "1176", + "widget_tabbable_exists": "1177", + "widget_tabbable_single": "1178", + "style_highcontrast_visible": "1180", + "aria_main_label_unique": "1182", + "download_keyboard_controllable": "1183", + "error_message_exists": "1184", + "list_children_valid": "1185", + "aria_activedescendant_valid": "1186", + "application_content_accessible": "1187", + "aria_toolbar_label_unique": "1188", "HAAC_Combobox_ARIA_11_Guideline": "1193", "HAAC_Combobox_Must_Have_Text_Input": "1194", "HAAC_Combobox_DOM_Focus": "1195", @@ -169,10 +169,10 @@ var mapRuleToG = IBMa.mapRuleToG = { "HAAC_Combobox_Autocomplete_Invalid": "1197", "HAAC_Combobox_Expanded": "1198", "HAAC_Combobox_Popup": "1199", - "WCAG21_Style_Viewport": "1200", - "WCAG21_Label_Accessible": "1202", - "WCAG21_Input_Autocomplete": "1203", - "WCAG20_Input_VisibleLabel": "1204" + "style_viewport_resizable": "1200", + "label_name_visible": "1202", + "input_autocomplete_valid": "1203", + "input_label_visible": "1204" } IBMa.checker = new ace.Checker(); diff --git a/accessibility-checker-engine/legacy/wrapper.js b/accessibility-checker-engine/legacy/wrapper.js index e5dc84e9d..e654a88d0 100644 --- a/accessibility-checker-engine/legacy/wrapper.js +++ b/accessibility-checker-engine/legacy/wrapper.js @@ -16,151 +16,151 @@ var IBMa = {}; var mapRuleToG = IBMa.mapRuleToG = { - "RPT_List_Misuse": "3", - "RPT_Marquee_Trigger": "5", - "RPT_Headers_FewWords": "7", - "WCAG20_Input_ExplicitLabelImage": "10", - "RPT_Img_UsemapValid": "11", - "WCAG20_Object_HasText": "20", - "WCAG20_Applet_HasAlt": "21", - "RPT_Media_AudioTrigger": "24", - "RPT_Blockquote_HasCite": "25", - "RPT_Meta_Refresh": "33", - "WCAG20_Frame_HasTitle": "39", - "WCAG20_Input_ExplicitLabel": "41", - "RPT_Media_AltBrief": "99", - "WCAG20_A_TargetAndText": "112", - "WCAG20_Area_HasAlt": "240", + "list_structure_proper": "3", + "marquee_elem_avoid": "5", + "heading_markup_misuse": "7", + "imagebutton_alt_exists": "10", + "img_ismap_misuse": "11", + "object_text_exists": "20", + "applet_alt_exists": "21", + "media_audio_transcribed": "24", + "blockquote_cite_exists": "25", + "meta_refresh_delay": "33", + "frame_title_exists": "39", + "input_label_exists": "41", + "media_alt_brief": "99", + "a_target_warning": "112", + "area_alt_exists": "240", "RPT_Media_ImgColorUsage": "245", - "WCAG20_Meta_RedirectZero": "254", + "meta_redirect_optional": "254", "element_attribute_deprecated": "256", "text_quoted_correctly": "263", - "RPT_Elem_EventMouseAndKey": "269", - "WCAG20_Doc_HasTitle": "273", - "RPT_Block_ShouldBeHeading": "322", - "WCAG20_Form_HasSubmit": "324", - "RPT_Elem_UniqueId": "377", - "RPT_Font_ColorInForm": "394", - "RPT_Label_UniqueFor": "398", - "RPT_Img_AltCommonMisuse": "453", - "RPT_Img_LongDescription2": "454", - "WCAG20_Img_HasAlt": "455", - "RPT_Style_BackgroundImage": "456", - "RPT_Pre_ASCIIArt": "458", - "RPT_Media_VideoReferenceTrigger": "511", - "RPT_Media_AudioVideoAltFilename": "460", - "RPT_Style_ColorSemantics1": "466", - "WCAG20_Select_HasOptGroup": "467", - "RPT_List_UseMarkup": "468", - "RPT_Script_OnclickHTML1": "470", - "WCAG20_Table_Structure": "471", + "element_mouseevent_keyboard": "269", + "page_title_exists": "273", + "text_block_heading": "322", + "form_submit_button_exists": "324", + "element_id_unique": "377", + "form_font_color": "394", + "form_label_unique": "398", + "img_alt_misuse": "453", + "img_longdesc_misuse": "454", + "img_alt_valid": "455", + "style_background_decorative": "456", + "asciiart_alt_exists": "458", + "media_track_available": "511", + "media_alt_exists": "460", + "style_color_misuse": "466", + "select_options_grouped": "467", + "list_markup_review": "468", + "script_onclick_misuse": "470", + "table_structure_misuse": "471", "WCAG20_Img_AltTriggerNonDecorative": "473", - "WCAG20_Blink_AlwaysTrigger": "478", - "RPT_Blink_CSSTrigger1": "479", - "RPT_Html_SkipNav": "481", - "RPT_Title_Valid": "484", - "RPT_Header_HasContent": "488", - "WCAG20_Html_HasLang": "490", - "WCAG20_Form_TargetAndText": "491", - "WCAG20_A_HasText": "495", - "WCAG20_Fieldset_HasLegend": "497", - "RPT_Media_VideoObjectTrigger": "501", - "RPT_Text_SensoryReference": "502", - "RPT_Embed_AutoStart": "503", - "RPT_Style_HinderFocus1": "506", - "WCAG20_Img_LinkTextNotRedundant": "1000", + "blink_elem_deprecated": "478", + "blink_css_review": "479", + "html_skipnav_exists": "481", + "page_title_valid": "484", + "heading_content_exists": "488", + "html_lang_exists": "490", + "form_interaction_review": "491", + "a_text_purpose": "495", + "fieldset_legend_valid": "497", + "media_live_captioned": "501", + "text_sensory_misuse": "502", + "media_autostart_controllable": "503", + "style_focus_visible": "506", + "img_alt_redundant": "1000", "RPT_Style_ExternalStyleSheet": "1073", // "RPT_Header_Trigger": "1002", - "RPT_Script_OnclickHTML2": "1007", - "WCAG20_Table_CapSummRedundant": "1011", - "WCAG20_Input_LabelBefore": "1017", - "WCAG20_Input_LabelAfter": "1018", - "WCAG20_Embed_HasNoEmbed": "1020", - "WCAG20_Table_Scope_Valid": "1025", - "WCAG20_Img_TitleEmptyWhenAltNull": "1027", - "WCAG20_Input_InFieldSet": "1028", - "WCAG20_Input_RadioChkInFieldSet": "1029", - "WCAG20_Select_NoChangeAction": "1035", - "WCAG20_Input_HasOnchange": "1050", - "RPT_Embed_HasAlt": "1051", - "Valerie_Noembed_HasContent": "1052", - "Valerie_Caption_HasContent": "1053", - "Valerie_Caption_InTable": "1054", - "Valerie_Label_HasContent": "1055", - "Valerie_Elem_DirValid": "1056", - "Valerie_Frame_SrcHtml": "1057", - "Valerie_Table_DataCellRelationships": "1059", - "RPT_Table_LayoutTrigger": "1060", - "RPT_Table_DataHeadingsAria": "1061", - "WCAG20_Label_RefValid": "1062", - "WCAG20_Elem_UniqueAccessKey": "1063", - "WCAG20_Script_FocusBlurs": "1064", - "HAAC_Img_UsemapAlt": "1067", - "WCAG20_Text_Emoticons": "1068", - "WCAG20_Style_BeforeAfter": "1069", + "script_onclick_avoid": "1007", + "table_summary_redundant": "1011", + "input_label_before": "1017", + "input_label_after": "1018", + "embed_noembed_exists": "1020", + "table_scope_valid": "1025", + "img_alt_null": "1027", + "input_fields_grouped": "1028", + "input_checkboxes_grouped": "1029", + "script_select_review": "1035", + "input_onchange_review": "1050", + "embed_alt_exists": "1051", + "noembed_content_exists": "1052", + "table_caption_empty": "1053", + "table_caption_nested": "1054", + "label_content_exists": "1055", + "dir_attribute_valid": "1056", + "frame_src_valid": "1057", + "table_headers_related": "1059", + "table_layout_linearized": "1060", + "table_headers_exists": "1061", + "label_ref_valid": "1062", + "element_accesskey_unique": "1063", + "script_focus_blur_review": "1064", + "imagemap_alt_exists": "1067", + "emoticons_alt_exists": "1068", + "style_before_after_review": "1069", "text_whitespace_valid": "1070", - "Rpt_Aria_ValidRole": "1074", - "Rpt_Aria_ValidPropertyValue": "1076", - "Rpt_Aria_ValidIdRef": "1077", - "Rpt_Aria_RequiredProperties": "1079", - "Rpt_Aria_EmptyPropertyValue": "1082", - "Rpt_Aria_ValidProperty": "1083", - "Rpt_Aria_InvalidTabindexForActivedescendant": "1084", - "Rpt_Aria_MissingFocusableChild": "1086", - "Rpt_Aria_MissingKeyboardHandler": "1087", - "WCAG20_Img_PresentationImgHasNonNullAlt": "1090", - "Rpt_Aria_MultipleSearchLandmarks": "1097", - "Rpt_Aria_MultipleApplicationLandmarks": "1099", - "Rpt_Aria_ApplicationLandmarkLabel": "1100", - "Rpt_Aria_MultipleDocumentRoles": "1101", + "aria_role_allowed": "1074", + "aria_attribute_value_valid": "1076", + "aria_id_unique": "1077", + "aria_attribute_required": "1079", + "aria_attribute_exists": "1082", + "aria_attribute_allowed": "1083", + "aria_activedescendant_tabindex_valid": "1084", + "aria_child_tabbable": "1086", + "aria_keyboard_handler_exists": "1087", + "img_alt_decorative": "1090", + "aria_search_label_unique": "1097", + "aria_application_label_unique": "1099", + "aria_application_labelled": "1100", + "aria_document_label_unique": "1101", "WCAG20_Label_TargetInvisible": "1112", - "HAAC_Video_HasNoTrack": "1117", - "HAAC_Audio_Video_Trigger": "1119", + "caption_track_exists": "1117", + "media_keyboard_controllable": "1119", "HAAC_Input_HasRequired": "1124", - "HAAC_Aria_ImgAlt": "1128", - "HAAC_BackgroundImg_HasTextOrTitle": "1132", - "HAAC_Accesskey_NeedLabel": "1140", + "aria_img_labelled": "1128", + "img_alt_background": "1132", + "element_accesskey_labelled": "1140", "aria_attribute_conflict": "1141", - "HAAC_Canvas": "1143", - "HAAC_Figure_label": "1144", - "HAAC_Input_Placeholder": "1145", - "RPT_Form_ChangeEmpty": "1147", - "IBMA_Color_Contrast_WCAG2AA": "1148", - "IBMA_Color_Contrast_WCAG2AA_PV": "1149", - "WCAG20_Body_FirstASkips_Native_Host_Sematics": "1150", - "WCAG20_Body_FirstAContainsSkipText_Native_Host_Sematics": "1151", + "canvas_content_described": "1143", + "figure_label_exists": "1144", + "input_placeholder_label_visible": "1145", + "form_submit_review": "1147", + "text_contrast_sufficient": "1148", + "text_contrast_sufficient_PV": "1149", + "skip_main_exists": "1150", + "skip_main_described": "1151", "aria_child_valid": "1152", - "Rpt_Aria_RequiredParent_Native_Host_Sematics": "1153", - "Rpt_Aria_EventHandlerMissingRole_Native_Host_Sematics": "1154", - "Rpt_Aria_WidgetLabels_Implicit": "1156", - "Rpt_Aria_OrphanedContent_Native_Host_Sematics": "1157", - "Rpt_Aria_RegionLabel_Implicit": "1158", - "Rpt_Aria_MultipleMainsVisibleLabel_Implicit": "1159", - "Rpt_Aria_MultipleBannerLandmarks_Implicit": "1160", - "Rpt_Aria_MultipleComplementaryLandmarks_Implicit": "1161", - "Rpt_Aria_MultipleContentinfoLandmarks_Implicit": "1162", - "Rpt_Aria_MultipleFormLandmarks_Implicit": "1163", - "Rpt_Aria_MultipleNavigationLandmarks_Implicit": "1164", - "Rpt_Aria_ComplementaryLandmarkLabel_Implicit": "1165", - "Rpt_Aria_MultipleArticleRoles_Implicit": "1166", + "aria_parent_required": "1153", + "aria_eventhandler_role_valid": "1154", + "aria_widget_labelled": "1156", + "aria_content_in_landmark": "1157", + "aria_region_labelled": "1158", + "aria_main_label_visible": "1159", + "aria_banner_label_unique": "1160", + "aria_complementary_label_unique": "1161", + "aria_contentinfo_label_unique": "1162", + "aria_form_label_unique": "1163", + "aria_navigation_label_unique": "1164", + "aria_complementary_label_visible": "1165", + "aria_article_label_unique": "1166", "Rpt_Aria_ArticleRoleLabel_Implicit": "1167", "Rpt_Aria_MultipleGroupRoles_Implicit": "1168", "Rpt_Aria_GroupRoleLabel_Implicit": "1169", - "Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit": "1170", - "Rpt_Aria_OneBannerInSiblingSet_Implicit": "1172", - "Rpt_Aria_ContentinfoWithNoMain_Implicit": "1173", - "Rpt_Aria_ComplementaryRequiredLabel_Implicit": "1174", - "Rpt_Aria_MultipleRegionsUniqueLabel_Implicit": "1176", - "IBMA_Focus_Tabbable": "1177", - "IBMA_Focus_MultiTab": "1178", - "RPT_Style_Trigger2": "1180", - "Rpt_Aria_MultipleMainsRequireLabel_Implicit_2": "1182", - "HAAC_Media_DocumentTrigger2": "1183", - "HAAC_Aria_ErrorMessage": "1184", - "HAAC_List_Group_ListItem": "1185", - "HAAC_ActiveDescendantCheck": "1186", - "HAAC_Application_Role_Text": "1187", - "Rpt_Aria_MultipleToolbarUniqueLabel": "1188", + "aria_contentinfo_single": "1170", + "aria_banner_single": "1172", + "aria_contentinfo_misuse": "1173", + "aria_complementary_labelled": "1174", + "aria_region_label_unique": "1176", + "widget_tabbable_exists": "1177", + "widget_tabbable_single": "1178", + "style_highcontrast_visible": "1180", + "aria_main_label_unique": "1182", + "download_keyboard_controllable": "1183", + "error_message_exists": "1184", + "list_children_valid": "1185", + "aria_activedescendant_valid": "1186", + "application_content_accessible": "1187", + "aria_toolbar_label_unique": "1188", "HAAC_Combobox_ARIA_11_Guideline": "1193", "HAAC_Combobox_Must_Have_Text_Input": "1194", "HAAC_Combobox_DOM_Focus": "1195", @@ -168,10 +168,10 @@ var mapRuleToG = IBMa.mapRuleToG = { "HAAC_Combobox_Autocomplete_Invalid": "1197", "HAAC_Combobox_Expanded": "1198", "HAAC_Combobox_Popup": "1199", - "WCAG21_Style_Viewport": "1200", - "WCAG21_Label_Accessible": "1202", - "WCAG21_Input_Autocomplete": "1203", - "WCAG20_Input_VisibleLabel": "1204" + "style_viewport_resizable": "1200", + "label_name_visible": "1202", + "input_autocomplete_valid": "1203", + "input_label_visible": "1204" } IBMa.checker = new ace.Checker(); IBMa.Config = {}; diff --git a/accessibility-checker-engine/remap.js b/accessibility-checker-engine/remap.js new file mode 100644 index 000000000..12cae00ff --- /dev/null +++ b/accessibility-checker-engine/remap.js @@ -0,0 +1,193 @@ +const fs = require("fs"); +const path = require("path"); + +let remap = { "WCAG20_A_TargetAndText": "a_target_warning", + "WCAG20_A_HasText": "a_text_purpose", + "WCAG20_Applet_HasAlt": "applet_alt_exists", + "HAAC_Application_Role_Text": "application_content_accessible", + "WCAG20_Area_HasAlt": "area_alt_exists", + "Rpt_Aria_InvalidTabindexForActivedescendant": "aria_activedescendant_tabindex_valid", + "HAAC_ActiveDescendantCheck": "aria_activedescendant_valid", + "Rpt_Aria_MultipleApplicationLandmarks": "aria_application_label_unique", + "Rpt_Aria_ApplicationLandmarkLabel": "aria_application_labelled", + "Rpt_Aria_MultipleArticleRoles_Implicit": "aria_article_label_unique", + "Rpt_Aria_MultipleBannerLandmarks_Implicit": "aria_banner_label_unique", + "Rpt_Aria_OneBannerInSiblingSet_Implicit": "aria_banner_single", + "Rpt_Aria_MissingFocusableChild": "aria_child_tabbable", + "Rpt_Aria_MultipleComplementaryLandmarks_Implicit": "aria_complementary_label_unique", + "Rpt_Aria_ComplementaryLandmarkLabel_Implicit": "aria_complementary_label_visible", + "Rpt_Aria_ComplementaryRequiredLabel_Implicit": "aria_complementary_labelled", + "Rpt_Aria_OrphanedContent_Native_Host_Sematics": "aria_content_in_landmark", + "Rpt_Aria_MultipleContentinfoLandmarks_Implicit": "aria_contentinfo_label_unique", + "Rpt_Aria_ContentinfoWithNoMain_Implicit": "aria_contentinfo_misuse", + "Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit": "aria_contentinfo_single", + "Rpt_Aria_MultipleDocumentRoles": "aria_document_label_unique", + "Rpt_Aria_EventHandlerMissingRole_Native_Host_Sematics": "aria_eventhandler_role_valid", + "Rpt_Aria_MultipleFormLandmarks_Implicit": "aria_form_label_unique", + "HAAC_Aria_SvgAlt": "aria_graphic_labelled", + "aria_hidden_focus_misuse": "aria_hidden_nontabbable", + "Rpt_Aria_ValidIdRef": "aria_id_unique", + "HAAC_Aria_ImgAlt": "aria_img_labelled", + "Rpt_Aria_MissingKeyboardHandler": "aria_keyboard_handler_exists", + "landmark_name_unique": "aria_landmark_name_unique", + "Rpt_Aria_MultipleMainsRequireLabel_Implicit_2": "aria_main_label_unique", + "Rpt_Aria_MultipleMainsVisibleLabel_Implicit": "aria_main_label_visible", + "Rpt_Aria_MultipleNavigationLandmarks_Implicit": "aria_navigation_label_unique", + "Rpt_Aria_RequiredParent_Native_Host_Sematics": "aria_parent_required", + "Rpt_Aria_EmptyPropertyValue": "aria_attribute_exists", + "Rpt_Aria_RequiredProperties": "aria_attribute_required", + "Rpt_Aria_ValidProperty": "aria_attribute_allowed", + "Rpt_Aria_ValidPropertyValue": "aria_attribute_value_valid", + "Rpt_Aria_MultipleRegionsUniqueLabel_Implicit": "aria_region_label_unique", + "Rpt_Aria_RegionLabel_Implicit": "aria_region_labelled", + "Rpt_Aria_ValidRole": "aria_role_allowed", + "Rpt_Aria_MultipleSearchLandmarks": "aria_search_label_unique", + "Rpt_Aria_MultipleToolbarUniqueLabel": "aria_toolbar_label_unique", + "Rpt_Aria_WidgetLabels_Implicit": "aria_widget_labelled", + "RPT_Pre_ASCIIArt": "asciiart_alt_exists", + "RPT_Blink_CSSTrigger1": "blink_css_review", + "WCAG20_Blink_AlwaysTrigger": "blink_elem_deprecated", + "RPT_Blockquote_HasCite": "blockquote_cite_exists", + "HAAC_Canvas": "canvas_content_described", + "HAAC_Video_HasNoTrack": "caption_track_exists", + "combobox_autocomplete": "combobox_autocomplete_valid", + "combobox_version": "combobox_design_valid", + "combobox_haspopup": "combobox_haspopup_valid", + "Valerie_Elem_DirValid": "dir_attribute_valid", + "HAAC_Media_DocumentTrigger2": "download_keyboard_controllable", + "HAAC_Accesskey_NeedLabel": "element_accesskey_labelled", + "WCAG20_Elem_UniqueAccessKey": "element_accesskey_unique", + "RPT_Elem_UniqueId": "element_id_unique", + "RPT_Elem_EventMouseAndKey": "element_mouseevent_keyboard", + "RPT_Embed_HasAlt": "embed_alt_exists", + "WCAG20_Embed_HasNoEmbed": "embed_noembed_exists", + "WCAG20_Text_Emoticons": "emoticons_alt_exists", + "HAAC_Aria_ErrorMessage": "error_message_exists", + "group_withInputs_hasName": "fieldset_label_valid", + "WCAG20_Fieldset_HasLegend": "fieldset_legend_valid", + "HAAC_Figure_label": "figure_label_exists", + "RPT_Font_ColorInForm": "form_font_color", + "WCAG20_Form_TargetAndText": "form_interaction_review", + "RPT_Label_UniqueFor": "form_label_unique", + "WCAG20_Form_HasSubmit": "form_submit_button_exists", + "RPT_Form_ChangeEmpty": "form_submit_review", + "Valerie_Frame_SrcHtml": "frame_src_valid", + "WCAG20_Frame_HasTitle": "frame_title_exists", + "RPT_Header_HasContent": "heading_content_exists", + "RPT_Headers_FewWords": "heading_markup_misuse", + "WCAG20_Html_HasLang": "html_lang_exists", + "RPT_Html_SkipNav": "html_skipnav_exists", + "WCAG20_Input_ExplicitLabelImage": "imagebutton_alt_exists", + "HAAC_Img_UsemapAlt": "imagemap_alt_exists", + "HAAC_BackgroundImg_HasTextOrTitle": "img_alt_background", + "WCAG20_Img_PresentationImgHasNonNullAlt": "img_alt_decorative", + "RPT_Img_AltCommonMisuse": "img_alt_misuse", + "WCAG20_Img_TitleEmptyWhenAltNull": "img_alt_null", + "WCAG20_Img_LinkTextNotRedundant": "img_alt_redundant", + "WCAG20_Img_HasAlt": "img_alt_valid", + "RPT_Img_UsemapValid": "img_ismap_misuse", + "RPT_Img_LongDescription2": "img_longdesc_misuse", + "WCAG21_Input_Autocomplete": "input_autocomplete_valid", + "WCAG20_Input_RadioChkInFieldSet": "input_checkboxes_grouped", + "WCAG20_Input_InFieldSet": "input_fields_grouped", + "input_haspopup_invalid": "input_haspopup_conflict", + "WCAG20_Input_LabelAfter": "input_label_after", + "WCAG20_Input_LabelBefore": "input_label_before", + "WCAG20_Input_ExplicitLabel": "input_label_exists", + "WCAG20_Input_VisibleLabel": "input_label_visible", + "WCAG20_Input_HasOnchange": "input_onchange_review", + "HAAC_Input_Placeholder": "input_placeholder_label_visible", + "Valerie_Label_HasContent": "label_content_exists", + "WCAG21_Label_Accessible": "label_name_visible", + "WCAG20_Label_RefValid": "label_ref_valid", + "HAAC_List_Group_ListItem": "list_children_valid", + "RPT_List_UseMarkup": "list_markup_review", + "RPT_List_Misuse": "list_structure_proper", + "RPT_Marquee_Trigger": "marquee_elem_avoid", + "RPT_Media_AltBrief": "media_alt_brief", + "RPT_Media_AudioVideoAltFilename": "media_alt_exists", + "RPT_Media_AudioTrigger": "media_audio_transcribed", + "RPT_Embed_AutoStart": "media_autostart_controllable", + "HAAC_Audio_Video_Trigger": "media_keyboard_controllable", + "RPT_Media_VideoObjectTrigger": "media_live_captioned", + "RPT_Media_VideoReferenceTrigger": "media_track_available", + "WCAG20_Meta_RedirectZero": "meta_redirect_optional", + "RPT_Meta_Refresh": "meta_refresh_delay", + "meta_viewport_zoom": "meta_viewport_zoomable", + "Valerie_Noembed_HasContent": "noembed_content_exists", + "WCAG20_Object_HasText": "object_text_exists", + "WCAG20_Doc_HasTitle": "page_title_exists", + "RPT_Title_Valid": "page_title_valid", + "WCAG20_Script_FocusBlurs": "script_focus_blur_review", + "RPT_Script_OnclickHTML2": "script_onclick_avoid", + "RPT_Script_OnclickHTML1": "script_onclick_misuse", + "WCAG20_Select_NoChangeAction": "script_select_review", + "WCAG20_Select_HasOptGroup": "select_options_grouped", + "WCAG20_Body_FirstAContainsSkipText_Native_Host_Sematics": "skip_main_described", + "WCAG20_Body_FirstASkips_Native_Host_Sematics": "skip_main_exists", + "RPT_Style_BackgroundImage": "style_background_decorative", + "WCAG20_Style_BeforeAfter": "style_before_after_review", + "RPT_Style_ColorSemantics1": "style_color_misuse", + "RPT_Style_HinderFocus1": "style_focus_visible", + "RPT_Style_Trigger2": "style_highcontrast_visible", + "WCAG21_Style_Viewport": "style_viewport_resizable", + "Valerie_Caption_HasContent": "table_caption_empty", + "Valerie_Caption_InTable": "table_caption_nested", + "RPT_Table_DataHeadingsAria": "table_headers_exists", + "Valerie_Table_DataCellRelationships": "table_headers_related", + "RPT_Table_LayoutTrigger": "table_layout_linearized", + "WCAG20_Table_Scope_Valid": "table_scope_valid", + "WCAG20_Table_Structure": "table_structure_misuse", + "WCAG20_Table_CapSummRedundant": "table_summary_redundant", + "RPT_Block_ShouldBeHeading": "text_block_heading", + "IBMA_Color_Contrast_WCAG2AA": "text_contrast_sufficient", + "RPT_Text_SensoryReference": "text_sensory_misuse", + "IBMA_Focus_Tabbable": "widget_tabbable_exists", + "IBMA_Focus_MultiTab": "widget_tabbable_single" +} + +let unitTestFiles = [ + "../accessibility-checker/test/mocha/aChecker.Fast/aChecker.Scans/aChecker.assertionCompliance.test.js", + +] +// let importFile = fs.readFileSync(path.join("test", "v2", "checker", "Checker_ruleunit_test.js")).toString(); +for (const file of unitTestFiles) { + let s = fs.readFileSync(file).toString(); + for (const oldRuleId in remap) { + let newRuleId = remap[oldRuleId]; + let oldRulePath = path.join("src", "v4", "rules", oldRuleId+".ts"); + let newRulePath = path.join("src", "v4", "rules", newRuleId+".ts"); + s = s.replaceAll(oldRuleId, newRuleId); + } + fs.writeFileSync(file, s); + // if (fs.existsSync(path.join("help-v4", "en-US", oldRuleId+".html"))) { + // fs.renameSync(path.join("help-v4", "en-US", oldRuleId+".html"), path.join("help-v4", "en-US", newRuleId+".html")) + // } + // if (fs.existsSync(path.join("test", "v2", "checker", "accessibility", "rules", oldRuleId+"_ruleunit"))) { + // fs.renameSync(path.join("test", "v2", "checker", "accessibility", "rules", oldRuleId+"_ruleunit"), path.join("test", "v2", "checker", "accessibility", "rules", newRuleId+"_ruleunit")) + // } + // fs.renameSync(oldRulePath, newRulePath); + + // let ruleFileStr = fs.readFileSync(oldRulePath).toString(); + + // let m = ruleFileStr.match(/["']en-US["']\s*:\s*\{([^}]*)\}/); + // let refactorSection = m[1].split(","); + // for (let idx=0; idx { - // a before b: -1 - // a after b: 1 - // equiv: 0 - const ruleA : Rule = a.rule; - const ruleB : Rule = b.rule; - if ((ruleA.dependencies || ruleA.prereqs) && !(ruleB.dependencies || ruleB.prereqs)) { - return 1; - } else if (!(ruleA.dependencies || ruleA.prereqs) && (ruleB.dependencies || ruleB.prereqs)) { - return -1; - } else if ((ruleA.dependencies || ruleA.prereqs) && (ruleB.prereqs || ruleB.dependencies)) { - if ((ruleA.dependencies && ruleA.dependencies.includes(ruleB.id)) || (ruleA.prereqs && ruleA.prereqs.includes(ruleB.id))) { - return 1; - } else if ((ruleB.dependencies && ruleB.dependencies.includes(ruleA.id)) || (ruleB.prereqs && ruleB.prereqs.includes(ruleA.id))) { - return -1; + + let retVal : WrappedRule[] = []; + let idToRule = {}; + // Iterate through the rules. If that rule's dependencies can be met by rules already in the list, add it to the list + // Repeat until no changes are made to the satisfied list + // If a rule cannot be satisfied, it will never execute, so it can be dropped. + let change = false; + do { + change = false; + for (let idx=0; idx 0) { + for (const depId of depRule.rule.dependencies) { + if (!(depId in idToRule)) { + allMatch = false; + } + } + } + if (depRule.rule.prereqs && depRule.rule.prereqs.length > 0) { + for (const depId of depRule.rule.prereqs) { + if (!(depId in idToRule)) { + allMatch = false; + } + } + } + if (allMatch) { + change = true; + retVal.push(depRule); + idToRule[depRule.rule.id] = true; + depRules.splice(idx--, 1); } } - return a.idx-b.idx; - }) - return matches; + } while (change); + return retVal; } } \ No newline at end of file diff --git a/accessibility-checker-engine/src/v4/api/IRule.ts b/accessibility-checker-engine/src/v4/api/IRule.ts index 9954a219b..272c58800 100644 --- a/accessibility-checker-engine/src/v4/api/IRule.ts +++ b/accessibility-checker-engine/src/v4/api/IRule.ts @@ -176,7 +176,7 @@ export type Rule = { // Array of rules that must pass to allow this validate to run - they must have the same context property dependencies?: string[] - run: (context: RuleContext, options?: {}, contextHierarchies?: RuleContextHierarchy) => RuleResult | RuleResult[] + run: (context: RuleContext, options?: {}, contextHierarchies?: RuleContextHierarchy) => RuleResult | RuleResult[] | null enabled?: boolean } diff --git a/accessibility-checker-engine/src/v4/rules/IBMA_Color_Contrast_WCAG2AA_PV.ts b/accessibility-checker-engine/src/v4/rules/IBMA_Color_Contrast_WCAG2AA_PV.ts index 3d87e061f..919b0042a 100644 --- a/accessibility-checker-engine/src/v4/rules/IBMA_Color_Contrast_WCAG2AA_PV.ts +++ b/accessibility-checker-engine/src/v4/rules/IBMA_Color_Contrast_WCAG2AA_PV.ts @@ -19,8 +19,9 @@ import { getCache } from "../util/CacheUtil"; export let IBMA_Color_Contrast_WCAG2AA_PV: Rule = { id: "IBMA_Color_Contrast_WCAG2AA_PV", + // keeping old ruleID for archive purposes, functionality merged into new ruleID text_contrast_sufficient context: "dom:*", - dependencies: ["IBMA_Color_Contrast_WCAG2AA"], + dependencies: ["text_contrast_sufficient"], help: { "en-US": { "group": `IBMA_Color_Contrast_WCAG2AA_PV.html`, @@ -68,4 +69,4 @@ export let IBMA_Color_Contrast_WCAG2AA_PV: Rule = { return RulePass("Pass_0", [precalc.ratio.toFixed(2), precalc.size, precalc.weight]); } } -} \ No newline at end of file +} diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_A_TargetAndText.ts b/accessibility-checker-engine/src/v4/rules/a_target_warning.ts similarity index 89% rename from accessibility-checker-engine/src/v4/rules/WCAG20_A_TargetAndText.ts rename to accessibility-checker-engine/src/v4/rules/a_target_warning.ts index 647a3a0c5..01d4277a8 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_A_TargetAndText.ts +++ b/accessibility-checker-engine/src/v4/rules/a_target_warning.ts @@ -16,14 +16,20 @@ import { VisUtil } from "../../v2/dom/VisUtil"; import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, RulePass, RuleContextHierarchy } from "../api/IRule"; import { eRulePolicy, eToolkitLevel } from "../api/IRule"; -export let WCAG20_A_TargetAndText: Rule = { - id: "WCAG20_A_TargetAndText", +export let a_target_warning: Rule = { + id: "a_target_warning", context: "dom:a[target],dom:area[target],dom:base[target]", + refactor: { + "WCAG20_A_TargetAndText": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, help: { "en-US": { - "group": `WCAG20_A_TargetAndText.html`, - "Pass_0": `WCAG20_A_TargetAndText.html`, - "Potential_1": `WCAG20_A_TargetAndText.html` + "group": `a_target_warning.html`, + "Pass_0": `a_target_warning.html`, + "Potential_1": `a_target_warning.html` } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_A_HasText.ts b/accessibility-checker-engine/src/v4/rules/a_text_purpose.ts similarity index 88% rename from accessibility-checker-engine/src/v4/rules/WCAG20_A_HasText.ts rename to accessibility-checker-engine/src/v4/rules/a_text_purpose.ts index a24ba14b0..25253a98f 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_A_HasText.ts +++ b/accessibility-checker-engine/src/v4/rules/a_text_purpose.ts @@ -17,15 +17,21 @@ import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { VisUtil } from "../../v2/dom/VisUtil"; import { eRulePolicy, eToolkitLevel } from "../api/IRule"; -export let WCAG20_A_HasText: Rule = { - id: "WCAG20_A_HasText", +export let a_text_purpose: Rule = { + id: "a_text_purpose", // doc-biblioref is a link context: "aria:link,aria:doc-biblioref", + refactor: { + "WCAG20_A_HasText": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, help: { "en-US": { - "group": `WCAG20_A_HasText.html`, - "Pass_0": `WCAG20_A_HasText.html`, - "Fail_1": `WCAG20_A_HasText.html` + "group": `a_text_purpose.html`, + "Pass_0": `a_text_purpose.html`, + "Fail_1": `a_text_purpose.html` } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Applet_HasAlt.ts b/accessibility-checker-engine/src/v4/rules/applet_alt_exists.ts similarity index 84% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Applet_HasAlt.ts rename to accessibility-checker-engine/src/v4/rules/applet_alt_exists.ts index e959233e1..0b1f1e4a0 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Applet_HasAlt.ts +++ b/accessibility-checker-engine/src/v4/rules/applet_alt_exists.ts @@ -16,17 +16,25 @@ import { VisUtil } from "../../v2/dom/VisUtil"; import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, RulePass, RuleContextHierarchy } from "../api/IRule"; import { eRulePolicy, eToolkitLevel } from "../api/IRule"; -export let WCAG20_Applet_HasAlt: Rule = { - id: "WCAG20_Applet_HasAlt", +export let applet_alt_exists: Rule = { + id: "applet_alt_exists", context: "dom:applet", + refactor: { + "WCAG20_Applet_HasAlt": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1", + "Fail_2": "Fail_2", + "Fail_3": "Fail_3" + } + }, help: { "en-US": { - "group": `WCAG20_Applet_HasAlt.html`, - "Pass_0": `WCAG20_Applet_HasAlt.html`, - "Fail_1": `WCAG20_Applet_HasAlt.html`, - "Fail_2": `WCAG20_Applet_HasAlt.html`, - "Fail_3": `WCAG20_Applet_HasAlt.html` - } + "group": `applet_alt_exists.html`, + "Pass_0": `applet_alt_exists.html`, + "Fail_1": `applet_alt_exists.html`, + "Fail_2": `applet_alt_exists.html`, + "Fail_3": `applet_alt_exists.html` + } }, messages: { "en-US": { diff --git a/accessibility-checker-engine/src/v4/rules/HAAC_Application_Role_Text.ts b/accessibility-checker-engine/src/v4/rules/application_content_accessible.ts similarity index 86% rename from accessibility-checker-engine/src/v4/rules/HAAC_Application_Role_Text.ts rename to accessibility-checker-engine/src/v4/rules/application_content_accessible.ts index 0bb94fbb0..619ef7901 100644 --- a/accessibility-checker-engine/src/v4/rules/HAAC_Application_Role_Text.ts +++ b/accessibility-checker-engine/src/v4/rules/application_content_accessible.ts @@ -16,14 +16,21 @@ import { VisUtil } from "../../v2/dom/VisUtil"; import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, RulePass, RuleContextHierarchy } from "../api/IRule"; import { eRulePolicy, eToolkitLevel } from "../api/IRule"; -export let HAAC_Application_Role_Text: Rule = { - id: "HAAC_Application_Role_Text", +export let application_content_accessible: Rule = { + id: "application_content_accessible", context: "aria:application", + refactor: { + "HAAC_Application_Role_Text": { + 0: `HAAC_Application_Role_Text.html`, + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, help: { "en-US": { - 0: `HAAC_Application_Role_Text.html`, - "Pass_0": `HAAC_Application_Role_Text.html`, - "Potential_1": `HAAC_Application_Role_Text.html` + 0: `application_content_accessible.html`, + "Pass_0": `application_content_accessible.html`, + "Potential_1": `application_content_accessible.html` } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Area_HasAlt.ts b/accessibility-checker-engine/src/v4/rules/area_alt_exists.ts similarity index 86% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Area_HasAlt.ts rename to accessibility-checker-engine/src/v4/rules/area_alt_exists.ts index b613c19e2..5663f6ca2 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Area_HasAlt.ts +++ b/accessibility-checker-engine/src/v4/rules/area_alt_exists.ts @@ -16,14 +16,20 @@ import { VisUtil } from "../../v2/dom/VisUtil"; import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, RulePass, RuleContextHierarchy } from "../api/IRule"; import { eRulePolicy, eToolkitLevel } from "../api/IRule"; -export let WCAG20_Area_HasAlt: Rule = { - id: "WCAG20_Area_HasAlt", +export let area_alt_exists: Rule = { + id: "area_alt_exists", context: "dom:area", + refactor: { + "WCAG20_Area_HasAlt": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, help: { "en-US": { - "group": `WCAG20_Area_HasAlt.html`, - "Pass_0": `WCAG20_Area_HasAlt.html`, - "Fail_1": `WCAG20_Area_HasAlt.html` + "group": `area_alt_exists.html`, + "Pass_0": `area_alt_exists.html`, + "Fail_1": `area_alt_exists.html` } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_InvalidTabindexForActivedescendant.ts b/accessibility-checker-engine/src/v4/rules/aria_activedescendant_tabindex_valid.ts similarity index 88% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_InvalidTabindexForActivedescendant.ts rename to accessibility-checker-engine/src/v4/rules/aria_activedescendant_tabindex_valid.ts index 35596b0e8..df3041586 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_InvalidTabindexForActivedescendant.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_activedescendant_tabindex_valid.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let Rpt_Aria_InvalidTabindexForActivedescendant: Rule = { - id: "Rpt_Aria_InvalidTabindexForActivedescendant", +export let aria_activedescendant_tabindex_valid: Rule = { + id: "aria_activedescendant_tabindex_valid", context: "dom:*[aria-activedescendant]", + refactor: { + "Rpt_Aria_InvalidTabindexForActivedescendant": { + "pass": "pass", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "pass": "Rpt_Aria_InvalidTabindexForActivedescendant.html", - "Fail_1": "Rpt_Aria_InvalidTabindexForActivedescendant.html", - "group": "Rpt_Aria_InvalidTabindexForActivedescendant.html" + "pass": "aria_activedescendant_tabindex_valid.html", + "Fail_1": "aria_activedescendant_tabindex_valid.html", + "group": "aria_activedescendant_tabindex_valid.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/HAAC_ActiveDescendantCheck.ts b/accessibility-checker-engine/src/v4/rules/aria_activedescendant_valid.ts similarity index 89% rename from accessibility-checker-engine/src/v4/rules/HAAC_ActiveDescendantCheck.ts rename to accessibility-checker-engine/src/v4/rules/aria_activedescendant_valid.ts index 90e466262..301258512 100644 --- a/accessibility-checker-engine/src/v4/rules/HAAC_ActiveDescendantCheck.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_activedescendant_valid.ts @@ -17,17 +17,25 @@ import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { FragmentUtil } from "../../v2/checker/accessibility/util/fragment"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let HAAC_ActiveDescendantCheck: Rule = { - id: "HAAC_ActiveDescendantCheck", +export let aria_activedescendant_valid: Rule = { + id: "aria_activedescendant_valid", context: "dom:*[aria-activedescendant]", + refactor: { + "HAAC_ActiveDescendantCheck": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1", + "Fail_2": "Fail_2", + "Fail_3": "Fail_3", + "Fail_4": "Fail_4"} + }, help: { "en-US": { - "Pass_0": "HAAC_ActiveDescendantCheck.html", - "Fail_1": "HAAC_ActiveDescendantCheck.html", - "Fail_2": "HAAC_ActiveDescendantCheck.html", - "Fail_3": "HAAC_ActiveDescendantCheck.html", - "Fail_4": "HAAC_ActiveDescendantCheck.html", - "group": "HAAC_ActiveDescendantCheck.html" + "Pass_0": "aria_activedescendant_valid.html", + "Fail_1": "aria_activedescendant_valid.html", + "Fail_2": "aria_activedescendant_valid.html", + "Fail_3": "aria_activedescendant_valid.html", + "Fail_4": "aria_activedescendant_valid.html", + "group": "aria_activedescendant_valid.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleApplicationLandmarks.ts b/accessibility-checker-engine/src/v4/rules/aria_application_label_unique.ts similarity index 85% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleApplicationLandmarks.ts rename to accessibility-checker-engine/src/v4/rules/aria_application_label_unique.ts index 31d5bea0a..4bbd503e9 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleApplicationLandmarks.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_application_label_unique.ts @@ -16,14 +16,19 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { getCache, setCache } from "../util/CacheUtil"; -export let Rpt_Aria_MultipleApplicationLandmarks: Rule = { - id: "Rpt_Aria_MultipleApplicationLandmarks", +export let aria_application_label_unique: Rule = { + id: "aria_application_label_unique", context: "aria:application", + refactor: { + "Rpt_Aria_MultipleApplicationLandmarks": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "Rpt_Aria_MultipleApplicationLandmarks.html", - "Fail_1": "Rpt_Aria_MultipleApplicationLandmarks.html", - "group": "Rpt_Aria_MultipleApplicationLandmarks.html" + "Pass_0": "aria_application_label_unique.html", + "Fail_1": "aria_application_label_unique.html", + "group": "aria_application_label_unique.html" } }, messages: { @@ -56,14 +61,14 @@ export let Rpt_Aria_MultipleApplicationLandmarks: Rule = { let dupes = getCache( ruleContext.ownerDocument, - "Rpt_Aria_MultipleApplicationLandmarks", + "aria_application_label_unique", null ); if (!dupes) { dupes = RPTUtil.findAriaLabelDupes(landmarks); setCache( ruleContext.ownerDocument, - "Rpt_Aria_MultipleApplicationLandmarks", + "aria_application_label_unique", dupes ); } diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_ApplicationLandmarkLabel.ts b/accessibility-checker-engine/src/v4/rules/aria_application_labelled.ts similarity index 83% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_ApplicationLandmarkLabel.ts rename to accessibility-checker-engine/src/v4/rules/aria_application_labelled.ts index d6b2012fe..7932422a7 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_ApplicationLandmarkLabel.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_application_labelled.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let Rpt_Aria_ApplicationLandmarkLabel: Rule = { - id: "Rpt_Aria_ApplicationLandmarkLabel", +export let aria_application_labelled: Rule = { + id: "aria_application_labelled", context: "aria:application", + refactor: { + "Rpt_Aria_ApplicationLandmarkLabel": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "Rpt_Aria_ApplicationLandmarkLabel.html", - "Fail_1": "Rpt_Aria_ApplicationLandmarkLabel.html", - "group": "Rpt_Aria_ApplicationLandmarkLabel.html" + "Pass_0": "aria_application_labelled.html", + "Fail_1": "aria_application_labelled.html", + "group": "aria_application_labelled.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleArticleRoles_Implicit.ts b/accessibility-checker-engine/src/v4/rules/aria_article_label_unique.ts similarity index 85% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleArticleRoles_Implicit.ts rename to accessibility-checker-engine/src/v4/rules/aria_article_label_unique.ts index 7de9c3d5f..e907285a6 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleArticleRoles_Implicit.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_article_label_unique.ts @@ -16,14 +16,19 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { getCache, setCache } from "../util/CacheUtil"; -export let Rpt_Aria_MultipleArticleRoles_Implicit: Rule = { - id: "Rpt_Aria_MultipleArticleRoles_Implicit", +export let aria_article_label_unique: Rule = { + id: "aria_article_label_unique", context: "aria:article", + refactor: { + "Rpt_Aria_MultipleArticleRoles_Implicit": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "Rpt_Aria_MultipleArticleRoles_Implicit.html", - "Fail_1": "Rpt_Aria_MultipleArticleRoles_Implicit.html", - "group": "Rpt_Aria_MultipleArticleRoles_Implicit.html" + "Pass_0": "aria_article_label_unique.html", + "Fail_1": "aria_article_label_unique.html", + "group": "aria_article_label_unique.html" } }, messages: { @@ -56,14 +61,14 @@ export let Rpt_Aria_MultipleArticleRoles_Implicit: Rule = { let dupes = getCache( ruleContext.ownerDocument, - "Rpt_Aria_MultipleArticleRoles_Implicit", + "aria_article_label_unique", null ); if (!dupes) { dupes = RPTUtil.findAriaLabelDupes(landmarks); setCache( ruleContext.ownerDocument, - "Rpt_Aria_MultipleArticleRoles_Implicit", + "aria_article_label_unique", dupes ); } diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_ValidProperty.ts b/accessibility-checker-engine/src/v4/rules/aria_attribute_allowed.ts similarity index 91% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_ValidProperty.ts rename to accessibility-checker-engine/src/v4/rules/aria_attribute_allowed.ts index 5065f1749..22ec54032 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_ValidProperty.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_attribute_allowed.ts @@ -16,14 +16,20 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { ARIADefinitions } from "../../v2/aria/ARIADefinitions"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let Rpt_Aria_ValidProperty: Rule = { - id: "Rpt_Aria_ValidProperty", +export let aria_attribute_allowed: Rule = { + id: "aria_attribute_allowed", context: "dom:*", + refactor: { + "Rpt_Aria_ValidProperty": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, help: { "en-US": { - "group": `Rpt_Aria_ValidProperty.html`, - "Pass_0": `Rpt_Aria_ValidProperty.html`, - "Fail_1": `Rpt_Aria_ValidProperty.html` + "group": `aria_attribute_allowed.html`, + "Pass_0": `aria_attribute_allowed.html`, + "Fail_1": `aria_attribute_allowed.html` } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_EmptyPropertyValue.ts b/accessibility-checker-engine/src/v4/rules/aria_attribute_exists.ts similarity index 92% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_EmptyPropertyValue.ts rename to accessibility-checker-engine/src/v4/rules/aria_attribute_exists.ts index bdd5242c9..70a5b07d0 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_EmptyPropertyValue.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_attribute_exists.ts @@ -17,15 +17,21 @@ import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { ARIADefinitions } from "../../v2/aria/ARIADefinitions"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let Rpt_Aria_EmptyPropertyValue: Rule = { - id: "Rpt_Aria_EmptyPropertyValue", +export let aria_attribute_exists: Rule = { + id: "aria_attribute_exists", context: "dom:*[role]", - dependencies: ["Rpt_Aria_ValidRole"], + dependencies: ["aria_role_allowed"], + refactor: { + "Rpt_Aria_EmptyPropertyValue": { + "pass": "pass", + "fail_empty_attribute": "fail_empty_attribute" + } + }, help: { "en-US": { - "pass": "Rpt_Aria_EmptyPropertyValue.html", - "fail_empty_attribute": "Rpt_Aria_EmptyPropertyValue.html", - "group": "Rpt_Aria_EmptyPropertyValue.html" + "pass": "aria_attribute_exists.html", + "fail_empty_attribute": "aria_attribute_exists.html", + "group": "aria_attribute_exists.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_RequiredProperties.ts b/accessibility-checker-engine/src/v4/rules/aria_attribute_required.ts similarity index 92% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_RequiredProperties.ts rename to accessibility-checker-engine/src/v4/rules/aria_attribute_required.ts index 98f09ecbf..f56a4f1f9 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_RequiredProperties.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_attribute_required.ts @@ -17,15 +17,21 @@ import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, RulePass, RuleContextHierarchy } from "../api/IRule"; import { eRulePolicy, eToolkitLevel } from "../api/IRule"; -export let Rpt_Aria_RequiredProperties: Rule = { - id: "Rpt_Aria_RequiredProperties", +export let aria_attribute_required: Rule = { + id: "aria_attribute_required", context: "dom:*[role]", - dependencies: ["Rpt_Aria_ValidRole"], + dependencies: ["aria_role_allowed"], + refactor: { + "Rpt_Aria_RequiredProperties": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, help: { "en-US": { - "group": `Rpt_Aria_RequiredProperties.html`, - "Pass_0": `Rpt_Aria_RequiredProperties.html`, - "Fail_1": `Rpt_Aria_RequiredProperties.html` + "group": `aria_attribute_required.html`, + "Pass_0": `aria_attribute_required.html`, + "Fail_1": `aria_attribute_required.html` } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_ValidPropertyValue.ts b/accessibility-checker-engine/src/v4/rules/aria_attribute_value_valid.ts similarity index 94% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_ValidPropertyValue.ts rename to accessibility-checker-engine/src/v4/rules/aria_attribute_value_valid.ts index 4bd930bc5..bf4850d74 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_ValidPropertyValue.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_attribute_value_valid.ts @@ -16,15 +16,21 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { ARIADefinitions } from "../../v2/aria/ARIADefinitions"; -export let Rpt_Aria_ValidPropertyValue: Rule = { - id: "Rpt_Aria_ValidPropertyValue", +export let aria_attribute_value_valid: Rule = { + id: "aria_attribute_value_valid", context: "dom:*", - dependencies: ["Rpt_Aria_ValidProperty"], + dependencies: ["aria_attribute_allowed"], + refactor: { + "Rpt_Aria_ValidPropertyValue": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, help: { "en-US": { - "group": "Rpt_Aria_ValidPropertyValue.html", - "Pass_0": "Rpt_Aria_ValidPropertyValue.html", - "Fail_1": "Rpt_Aria_ValidPropertyValue.html" + "group": "aria_attribute_value_valid.html", + "Pass_0": "aria_attribute_value_valid.html", + "Fail_1": "aria_attribute_value_valid.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleBannerLandmarks_Implicit.ts b/accessibility-checker-engine/src/v4/rules/aria_banner_label_unique.ts similarity index 85% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleBannerLandmarks_Implicit.ts rename to accessibility-checker-engine/src/v4/rules/aria_banner_label_unique.ts index 6ce798dd5..a847a1a37 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleBannerLandmarks_Implicit.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_banner_label_unique.ts @@ -16,14 +16,19 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { getCache, setCache } from "../util/CacheUtil"; -export let Rpt_Aria_MultipleBannerLandmarks_Implicit: Rule = { - id: "Rpt_Aria_MultipleBannerLandmarks_Implicit", +export let aria_banner_label_unique: Rule = { + id: "aria_banner_label_unique", context: "aria:banner", + refactor: { + "Rpt_Aria_MultipleBannerLandmarks_Implicit": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "Rpt_Aria_MultipleBannerLandmarks_Implicit.html", - "Fail_1": "Rpt_Aria_MultipleBannerLandmarks_Implicit.html", - "group": "Rpt_Aria_MultipleBannerLandmarks_Implicit.html" + "Pass_0": "aria_banner_label_unique.html", + "Fail_1": "aria_banner_label_unique.html", + "group": "aria_banner_label_unique.html" } }, messages: { @@ -56,14 +61,14 @@ export let Rpt_Aria_MultipleBannerLandmarks_Implicit: Rule = { let dupes = getCache( ruleContext.ownerDocument, - "Rpt_Aria_MultipleBannerLandmarks_Implicit", + "aria_banner_label_unique", null ); if (!dupes) { dupes = RPTUtil.findAriaLabelDupes(landmarks); setCache( ruleContext.ownerDocument, - "Rpt_Aria_MultipleBannerLandmarks_Implicit", + "aria_banner_label_unique", dupes ); } diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_OneBannerInSiblingSet_Implicit.ts b/accessibility-checker-engine/src/v4/rules/aria_banner_single.ts similarity index 86% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_OneBannerInSiblingSet_Implicit.ts rename to accessibility-checker-engine/src/v4/rules/aria_banner_single.ts index 390eeee1b..9cc462829 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_OneBannerInSiblingSet_Implicit.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_banner_single.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let Rpt_Aria_OneBannerInSiblingSet_Implicit: Rule = { - id: "Rpt_Aria_OneBannerInSiblingSet_Implicit", +export let aria_banner_single: Rule = { + id: "aria_banner_single", context: "dom:*[role], dom:header", + refactor: { + "Rpt_Aria_OneBannerInSiblingSet_Implicit": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "Rpt_Aria_OneBannerInSiblingSet_Implicit.html", - "Fail_1": "Rpt_Aria_OneBannerInSiblingSet_Implicit.html", - "group": "Rpt_Aria_OneBannerInSiblingSet_Implicit.html" + "Pass_0": "aria_banner_single.html", + "Fail_1": "aria_banner_single.html", + "group": "aria_banner_single.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MissingFocusableChild.ts b/accessibility-checker-engine/src/v4/rules/aria_child_tabbable.ts similarity index 95% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_MissingFocusableChild.ts rename to accessibility-checker-engine/src/v4/rules/aria_child_tabbable.ts index 4084fa72b..976d33201 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MissingFocusableChild.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_child_tabbable.ts @@ -17,15 +17,20 @@ import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { ARIADefinitions } from "../../v2/aria/ARIADefinitions"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let Rpt_Aria_MissingFocusableChild: Rule = { - id: "Rpt_Aria_MissingFocusableChild", +export let aria_child_tabbable: Rule = { + id: "aria_child_tabbable", context: "dom:*[role]", - dependencies: ["Rpt_Aria_ValidRole"], + dependencies: ["aria_role_allowed"], + refactor: { + "Rpt_Aria_MissingFocusableChild": { + "pass": "pass", + "fail_missing_child": "fail_missing_child"} + }, help: { "en-US": { - "pass": "Rpt_Aria_MissingFocusableChild.html", - "fail_missing_child": "Rpt_Aria_MissingFocusableChild.html", - "group": "Rpt_Aria_MissingFocusableChild.html" + "pass": "aria_child_tabbable.html", + "fail_missing_child": "aria_child_tabbable.html", + "group": "aria_child_tabbable.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/aria_child_valid.ts b/accessibility-checker-engine/src/v4/rules/aria_child_valid.ts index 9d7057e57..16b5c6d54 100644 --- a/accessibility-checker-engine/src/v4/rules/aria_child_valid.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_child_valid.ts @@ -21,7 +21,7 @@ export let aria_child_valid: Rule = { //context: "dom:*[role]", //dependencies: ["Rpt_Aria_ValidRole"], context: "dom:*", - dependencies: ["aria_semantics_role", "aria_descendant_valid"], + dependencies: ["aria_role_valid", "aria_descendant_valid"], help: { "en-US": { "group": "aria_child_valid.html", diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleComplementaryLandmarks_Implicit.ts b/accessibility-checker-engine/src/v4/rules/aria_complementary_label_unique.ts similarity index 84% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleComplementaryLandmarks_Implicit.ts rename to accessibility-checker-engine/src/v4/rules/aria_complementary_label_unique.ts index 8a09ed161..1607a1303 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleComplementaryLandmarks_Implicit.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_complementary_label_unique.ts @@ -16,14 +16,19 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { getCache, setCache } from "../util/CacheUtil"; -export let Rpt_Aria_MultipleComplementaryLandmarks_Implicit: Rule = { - id: "Rpt_Aria_MultipleComplementaryLandmarks_Implicit", +export let aria_complementary_label_unique: Rule = { + id: "aria_complementary_label_unique", context: "aria:complementary", + refactor: { + "Rpt_Aria_MultipleComplementaryLandmarks_Implicit": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "Rpt_Aria_MultipleComplementaryLandmarks_Implicit.html", - "Fail_1": "Rpt_Aria_MultipleComplementaryLandmarks_Implicit.html", - "group": "Rpt_Aria_MultipleComplementaryLandmarks_Implicit.html" + "Pass_0": "aria_complementary_label_unique.html", + "Fail_1": "aria_complementary_label_unique.html", + "group": "aria_complementary_label_unique.html" } }, messages: { @@ -56,14 +61,14 @@ export let Rpt_Aria_MultipleComplementaryLandmarks_Implicit: Rule = { let dupes = getCache( ruleContext.ownerDocument, - "Rpt_Aria_MultipleComplementaryLandmarks_Implicit", + "aria_complementary_label_unique", null ); if (!dupes) { dupes = RPTUtil.findAriaLabelDupes(landmarks); setCache( ruleContext.ownerDocument, - "Rpt_Aria_MultipleComplementaryLandmarks_Implicit", + "aria_complementary_label_unique", dupes ); } diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_ComplementaryLandmarkLabel_Implicit.ts b/accessibility-checker-engine/src/v4/rules/aria_complementary_label_visible.ts similarity index 82% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_ComplementaryLandmarkLabel_Implicit.ts rename to accessibility-checker-engine/src/v4/rules/aria_complementary_label_visible.ts index 95f979604..2e6caab35 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_ComplementaryLandmarkLabel_Implicit.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_complementary_label_visible.ts @@ -15,15 +15,20 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let Rpt_Aria_ComplementaryLandmarkLabel_Implicit: Rule = { - id: "Rpt_Aria_ComplementaryLandmarkLabel_Implicit", +export let aria_complementary_label_visible: Rule = { + id: "aria_complementary_label_visible", context: "dom:*[role], dom:aside", - dependencies: ["Rpt_Aria_ComplementaryRequiredLabel_Implicit"], + dependencies: ["aria_complementary_labelled"], + refactor: { + "Rpt_Aria_ComplementaryLandmarkLabel_Implicit": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "Rpt_Aria_ComplementaryLandmarkLabel_Implicit.html", - "Fail_1": "Rpt_Aria_ComplementaryLandmarkLabel_Implicit.html", - "group": "Rpt_Aria_ComplementaryLandmarkLabel_Implicit.html" + "Pass_0": "aria_complementary_label_visible.html", + "Fail_1": "aria_complementary_label_visible.html", + "group": "aria_complementary_label_visible.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_ComplementaryRequiredLabel_Implicit.ts b/accessibility-checker-engine/src/v4/rules/aria_complementary_labelled.ts similarity index 83% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_ComplementaryRequiredLabel_Implicit.ts rename to accessibility-checker-engine/src/v4/rules/aria_complementary_labelled.ts index d0f21ef3c..c0cb03961 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_ComplementaryRequiredLabel_Implicit.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_complementary_labelled.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let Rpt_Aria_ComplementaryRequiredLabel_Implicit: Rule = { - id: "Rpt_Aria_ComplementaryRequiredLabel_Implicit", +export let aria_complementary_labelled: Rule = { + id: "aria_complementary_labelled", context: "dom:*[role], dom:aside", + refactor: { + "Rpt_Aria_ComplementaryRequiredLabel_Implicit": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "Rpt_Aria_ComplementaryRequiredLabel_Implicit.html", - "Fail_1": "Rpt_Aria_ComplementaryRequiredLabel_Implicit.html", - "group": "Rpt_Aria_ComplementaryRequiredLabel_Implicit.html" + "Pass_0": "aria_complementary_labelled.html", + "Fail_1": "aria_complementary_labelled.html", + "group": "aria_complementary_labelled.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_OrphanedContent_Native_Host_Sematics.ts b/accessibility-checker-engine/src/v4/rules/aria_content_in_landmark.ts similarity index 93% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_OrphanedContent_Native_Host_Sematics.ts rename to accessibility-checker-engine/src/v4/rules/aria_content_in_landmark.ts index ccd75c387..ff9c7efc0 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_OrphanedContent_Native_Host_Sematics.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_content_in_landmark.ts @@ -18,14 +18,19 @@ import { getCache, setCache } from "../util/CacheUtil"; import { DOMWalker } from "../../v2/dom/DOMWalker"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let Rpt_Aria_OrphanedContent_Native_Host_Sematics: Rule = { - id: "Rpt_Aria_OrphanedContent_Native_Host_Sematics", +export let aria_content_in_landmark: Rule = { + id: "aria_content_in_landmark", context: "dom:*", + refactor: { + "Rpt_Aria_OrphanedContent_Native_Host_Sematics": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "Rpt_Aria_OrphanedContent_Native_Host_Sematics.html", - "Fail_1": "Rpt_Aria_OrphanedContent_Native_Host_Sematics.html", - "group": "Rpt_Aria_OrphanedContent_Native_Host_Sematics.html" + "Pass_0": "aria_content_in_landmark.html", + "Fail_1": "aria_content_in_landmark.html", + "group": "aria_content_in_landmark.html" } }, messages: { @@ -49,7 +54,7 @@ export let Rpt_Aria_OrphanedContent_Native_Host_Sematics: Rule = { }], act: [], run: (context: RuleContext, options?: {}, contextHierarchies?: RuleContextHierarchy): RuleResult | RuleResult[] => { - let params = getCache(context.dom.node.ownerDocument, "Rpt_Aria_OrphanedContent_Native_Host_Sematics", null); + let params = getCache(context.dom.node.ownerDocument, "aria_content_in_landmark", null); if (!params) { params = { landmarks: { @@ -100,7 +105,7 @@ export let Rpt_Aria_OrphanedContent_Native_Host_Sematics: Rule = { params.mapNoLandmarkedRoles[params.noLandmarkedRoles.value[i]] = true; } - setCache(context.dom.node.ownerDocument, "Rpt_Aria_OrphanedContent_Native_Host_Sematics", params); + setCache(context.dom.node.ownerDocument, "aria_content_in_landmark", params); } const ruleContext = context["dom"].node as Element; let nodeName = ruleContext.nodeName.toLowerCase(); diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleContentinfoLandmarks_Implicit.ts b/accessibility-checker-engine/src/v4/rules/aria_contentinfo_label_unique.ts similarity index 84% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleContentinfoLandmarks_Implicit.ts rename to accessibility-checker-engine/src/v4/rules/aria_contentinfo_label_unique.ts index 9ee575454..a9018a61d 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleContentinfoLandmarks_Implicit.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_contentinfo_label_unique.ts @@ -16,14 +16,19 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { getCache, setCache } from "../util/CacheUtil"; -export let Rpt_Aria_MultipleContentinfoLandmarks_Implicit: Rule = { - id: "Rpt_Aria_MultipleContentinfoLandmarks_Implicit", +export let aria_contentinfo_label_unique: Rule = { + id: "aria_contentinfo_label_unique", context: "aria:contentinfo", + refactor: { + "Rpt_Aria_MultipleContentinfoLandmarks_Implicit": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "Rpt_Aria_MultipleContentinfoLandmarks_Implicit.html", - "Fail_1": "Rpt_Aria_MultipleContentinfoLandmarks_Implicit.html", - "group": "Rpt_Aria_MultipleContentinfoLandmarks_Implicit.html" + "Pass_0": "aria_contentinfo_label_unique.html", + "Fail_1": "aria_contentinfo_label_unique.html", + "group": "aria_contentinfo_label_unique.html" } }, messages: { @@ -56,14 +61,14 @@ export let Rpt_Aria_MultipleContentinfoLandmarks_Implicit: Rule = { let dupes = getCache( ruleContext.ownerDocument, - "Rpt_Aria_MultipleContentinfoLandmarks_Implicit", + "aria_contentinfo_label_unique", null ); if (!dupes) { dupes = RPTUtil.findAriaLabelDupes(landmarks); setCache( ruleContext.ownerDocument, - "Rpt_Aria_MultipleContentinfoLandmarks_Implicit", + "aria_contentinfo_label_unique", dupes ); } diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_ContentinfoWithNoMain_Implicit.ts b/accessibility-checker-engine/src/v4/rules/aria_contentinfo_misuse.ts similarity index 86% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_ContentinfoWithNoMain_Implicit.ts rename to accessibility-checker-engine/src/v4/rules/aria_contentinfo_misuse.ts index b58d83a46..9f0648eab 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_ContentinfoWithNoMain_Implicit.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_contentinfo_misuse.ts @@ -15,14 +15,20 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let Rpt_Aria_ContentinfoWithNoMain_Implicit: Rule = { - id: "Rpt_Aria_ContentinfoWithNoMain_Implicit", +export let aria_contentinfo_misuse: Rule = { + id: "aria_contentinfo_misuse", context: "dom:*[role], dom:footer, dom:address", + refactor: { + "Rpt_Aria_ContentinfoWithNoMain_Implicit": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, help: { "en-US": { - "Pass_0": "Rpt_Aria_ContentinfoWithNoMain_Implicit.html", - "Fail_1": "Rpt_Aria_ContentinfoWithNoMain_Implicit.html", - "group": "Rpt_Aria_ContentinfoWithNoMain_Implicit.html" + "Pass_0": "aria_contentinfo_misuse.html", + "Fail_1": "aria_contentinfo_misuse.html", + "group": "aria_contentinfo_misuse.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit.ts b/accessibility-checker-engine/src/v4/rules/aria_contentinfo_single.ts similarity index 85% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit.ts rename to accessibility-checker-engine/src/v4/rules/aria_contentinfo_single.ts index 463902e94..e8a1aa97f 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_contentinfo_single.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit: Rule = { - id: "Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit", +export let aria_contentinfo_single: Rule = { + id: "aria_contentinfo_single", context: "dom:*[role], dom:footer, dom:address", + refactor: { + "Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit.html", - "Fail_1": "Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit.html", - "group": "Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit.html" + "Pass_0": "aria_contentinfo_single.html", + "Fail_1": "aria_contentinfo_single.html", + "group": "aria_contentinfo_single.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/aria_descendant_valid.ts b/accessibility-checker-engine/src/v4/rules/aria_descendant_valid.ts index 2d9e646cd..3270fa2bc 100644 --- a/accessibility-checker-engine/src/v4/rules/aria_descendant_valid.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_descendant_valid.ts @@ -19,7 +19,7 @@ import { VisUtil } from "../../v2/dom/VisUtil"; export let aria_descendant_valid: Rule = { id: "aria_descendant_valid", context: "dom:*", - dependencies: ["aria_semantics_role"], + dependencies: ["aria_role_valid"], help: { "en-US": { "group": "aria_descendant_valid.html", diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleDocumentRoles.ts b/accessibility-checker-engine/src/v4/rules/aria_document_label_unique.ts similarity index 85% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleDocumentRoles.ts rename to accessibility-checker-engine/src/v4/rules/aria_document_label_unique.ts index d4fd36554..2a98dd50f 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleDocumentRoles.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_document_label_unique.ts @@ -16,14 +16,19 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { getCache, setCache } from "../util/CacheUtil"; -export let Rpt_Aria_MultipleDocumentRoles: Rule = { - id: "Rpt_Aria_MultipleDocumentRoles", +export let aria_document_label_unique: Rule = { + id: "aria_document_label_unique", context: "aria:document", + refactor: { + "Rpt_Aria_MultipleDocumentRoles": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "Rpt_Aria_MultipleDocumentRoles.html", - "Fail_1": "Rpt_Aria_MultipleDocumentRoles.html", - "group": "Rpt_Aria_MultipleDocumentRoles.html" + "Pass_0": "aria_document_label_unique.html", + "Fail_1": "aria_document_label_unique.html", + "group": "aria_document_label_unique.html" } }, messages: { @@ -56,14 +61,14 @@ export let Rpt_Aria_MultipleDocumentRoles: Rule = { let dupes = getCache( ruleContext.ownerDocument, - "Rpt_Aria_MultipleDocumentRoles", + "aria_document_label_unique", null ); if (!dupes) { dupes = RPTUtil.findAriaLabelDupes(landmarks); setCache( ruleContext.ownerDocument, - "Rpt_Aria_MultipleDocumentRoles", + "aria_document_label_unique", dupes ); } diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_EventHandlerMissingRole_Native_Host_Sematics.ts b/accessibility-checker-engine/src/v4/rules/aria_eventhandler_role_valid.ts similarity index 90% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_EventHandlerMissingRole_Native_Host_Sematics.ts rename to accessibility-checker-engine/src/v4/rules/aria_eventhandler_role_valid.ts index 3267b7a77..8d945c899 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_EventHandlerMissingRole_Native_Host_Sematics.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_eventhandler_role_valid.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let Rpt_Aria_EventHandlerMissingRole_Native_Host_Sematics: Rule = { - id: "Rpt_Aria_EventHandlerMissingRole_Native_Host_Sematics", +export let aria_eventhandler_role_valid: Rule = { + id: "aria_eventhandler_role_valid", context: "dom:*[onclick],dom:*[onblur], dom:*[ondblclick], dom:*[onfocus], dom:*[onkeydown],dom:*[onkeypress], dom:*[onkeyup], dom:*[onmousedown], dom:*[onmouseup], dom:*[onmousemove], dom:*[onmouseout], dom:*[onmouseover], dom:*[onresize], dom:*[onchange]", + refactor: { + "Rpt_Aria_EventHandlerMissingRole_Native_Host_Sematics": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "Rpt_Aria_EventHandlerMissingRole_Native_Host_Sematics.html", - "Fail_1": "Rpt_Aria_EventHandlerMissingRole_Native_Host_Sematics.html", - "group": "Rpt_Aria_EventHandlerMissingRole_Native_Host_Sematics.html" + "Pass_0": "aria_eventhandler_role_valid.html", + "Fail_1": "aria_eventhandler_role_valid.html", + "group": "aria_eventhandler_role_valid.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleFormLandmarks_Implicit.ts b/accessibility-checker-engine/src/v4/rules/aria_form_label_unique.ts similarity index 88% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleFormLandmarks_Implicit.ts rename to accessibility-checker-engine/src/v4/rules/aria_form_label_unique.ts index ba4fc7c44..c1a53fc3a 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleFormLandmarks_Implicit.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_form_label_unique.ts @@ -16,14 +16,19 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { getCache, setCache } from "../util/CacheUtil"; -export let Rpt_Aria_MultipleFormLandmarks_Implicit: Rule = { - id: "Rpt_Aria_MultipleFormLandmarks_Implicit", +export let aria_form_label_unique: Rule = { + id: "aria_form_label_unique", context: "aria:form", + refactor: { + "Rpt_Aria_MultipleFormLandmarks_Implicit": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "Rpt_Aria_MultipleFormLandmarks_Implicit.html", - "Fail_1": "Rpt_Aria_MultipleFormLandmarks_Implicit.html", - "group": "Rpt_Aria_MultipleFormLandmarks_Implicit.html" + "Pass_0": "aria_form_label_unique.html", + "Fail_1": "aria_form_label_unique.html", + "group": "aria_form_label_unique.html" } }, messages: { @@ -65,14 +70,14 @@ export let Rpt_Aria_MultipleFormLandmarks_Implicit: Rule = { let dupes = getCache( ruleContext.ownerDocument, - "Rpt_Aria_MultipleFormLandmarks_Implicit", + "aria_form_label_unique", null ); if (!dupes) { dupes = RPTUtil.findAriaLabelDupes(landmarks); setCache( ruleContext.ownerDocument, - "Rpt_Aria_MultipleFormLandmarks_Implicit", + "aria_form_label_unique", dupes ); } diff --git a/accessibility-checker-engine/src/v4/rules/HAAC_Aria_SvgAlt.ts b/accessibility-checker-engine/src/v4/rules/aria_graphic_labelled.ts similarity index 88% rename from accessibility-checker-engine/src/v4/rules/HAAC_Aria_SvgAlt.ts rename to accessibility-checker-engine/src/v4/rules/aria_graphic_labelled.ts index 2ce8ece4a..5d515e560 100644 --- a/accessibility-checker-engine/src/v4/rules/HAAC_Aria_SvgAlt.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_graphic_labelled.ts @@ -16,16 +16,24 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let HAAC_Aria_SvgAlt: Rule = { - id: "HAAC_Aria_SvgAlt", +export let aria_graphic_labelled: Rule = { + id: "aria_graphic_labelled", context: "aria:graphics-document,aria:graphics-symbol", + refactor: { + "HAAC_Aria_SvgAlt": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1", + "Fail_2": "Fail_2", + "Fail_3": "Fail_3" + } + }, help: { "en-US": { - "group": "HAAC_Aria_SvgAlt.html", - "Pass_0": "HAAC_Aria_SvgAlt.html", - "Fail_1": "HAAC_Aria_SvgAlt.html", - "Fail_2": "HAAC_Aria_SvgAlt.html", - "Fail_3": "HAAC_Aria_SvgAlt.html" + "group": "aria_graphic_labelled.html", + "Pass_0": "aria_graphic_labelled.html", + "Fail_1": "aria_graphic_labelled.html", + "Fail_2": "aria_graphic_labelled.html", + "Fail_3": "aria_graphic_labelled.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/aria_hidden_focus_misuse.ts b/accessibility-checker-engine/src/v4/rules/aria_hidden_nontabbable.ts similarity index 85% rename from accessibility-checker-engine/src/v4/rules/aria_hidden_focus_misuse.ts rename to accessibility-checker-engine/src/v4/rules/aria_hidden_nontabbable.ts index 2804f2105..45f55998f 100644 --- a/accessibility-checker-engine/src/v4/rules/aria_hidden_focus_misuse.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_hidden_nontabbable.ts @@ -15,14 +15,20 @@ import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, RulePass, RuleContextHierarchy } from "../api/IRule"; import { eRulePolicy, eToolkitLevel } from "../api/IRule"; -export let aria_hidden_focus_misuse: Rule = { - id: "aria_hidden_focus_misuse", +export let aria_hidden_nontabbable: Rule = { + id: "aria_hidden_nontabbable", context: "dom:*[aria-hidden=true], dom:*[aria-hidden=true] dom:*", + refactor: { + "aria_hidden_focus_misuse": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, help: { "en-US": { - "group": `aria_hidden_focus_misuse.html`, - "Pass_0": `aria_hidden_focus_misuse.html`, - "Fail_1": `aria_hidden_focus_misuse.html` + "group": `aria_hidden_nontabbable.html`, + "Pass_0": `aria_hidden_nontabbable.html`, + "Fail_1": `aria_hidden_nontabbable.html` } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_ValidIdRef.ts b/accessibility-checker-engine/src/v4/rules/aria_id_unique.ts similarity index 96% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_ValidIdRef.ts rename to accessibility-checker-engine/src/v4/rules/aria_id_unique.ts index f9f0908d6..b6546dd9a 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_ValidIdRef.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_id_unique.ts @@ -18,14 +18,19 @@ import { FragmentUtil } from "../../v2/checker/accessibility/util/fragment"; import { ARIADefinitions } from "../../v2/aria/ARIADefinitions"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let Rpt_Aria_ValidIdRef: Rule = { - id: "Rpt_Aria_ValidIdRef", +export let aria_id_unique: Rule = { + id: "aria_id_unique", context: "dom:*", + refactor: { + "Rpt_Aria_ValidIdRef": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "Rpt_Aria_ValidIdRef.html", - "Fail_1": "Rpt_Aria_ValidIdRef.html", - "group": "Rpt_Aria_ValidIdRef.html" + "Pass_0": "aria_id_unique.html", + "Fail_1": "aria_id_unique.html", + "group": "aria_id_unique.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/HAAC_Aria_ImgAlt.ts b/accessibility-checker-engine/src/v4/rules/aria_img_labelled.ts similarity index 89% rename from accessibility-checker-engine/src/v4/rules/HAAC_Aria_ImgAlt.ts rename to accessibility-checker-engine/src/v4/rules/aria_img_labelled.ts index c717f9547..43acbdd2b 100644 --- a/accessibility-checker-engine/src/v4/rules/HAAC_Aria_ImgAlt.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_img_labelled.ts @@ -16,16 +16,24 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let HAAC_Aria_ImgAlt: Rule = { - id: "HAAC_Aria_ImgAlt", +export let aria_img_labelled: Rule = { + id: "aria_img_labelled", context: "aria:img", + refactor: { + "HAAC_Aria_ImgAlt": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1", + "Fail_2": "Fail_2", + "Fail_3": "Fail_3" + } + }, help: { "en-US": { - "group": "HAAC_Aria_ImgAlt.html", - "Pass_0": "HAAC_Aria_ImgAlt.html", - "Fail_1": "HAAC_Aria_ImgAlt.html", - "Fail_2": "HAAC_Aria_ImgAlt.html", - "Fail_3": "HAAC_Aria_ImgAlt.html" + "group": "aria_img_labelled.html", + "Pass_0": "aria_img_labelled.html", + "Fail_1": "aria_img_labelled.html", + "Fail_2": "aria_img_labelled.html", + "Fail_3": "aria_img_labelled.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MissingKeyboardHandler.ts b/accessibility-checker-engine/src/v4/rules/aria_keyboard_handler_exists.ts similarity index 96% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_MissingKeyboardHandler.ts rename to accessibility-checker-engine/src/v4/rules/aria_keyboard_handler_exists.ts index effb9cd5c..e2a91b18a 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MissingKeyboardHandler.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_keyboard_handler_exists.ts @@ -16,15 +16,20 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { ARIADefinitions } from "../../v2/aria/ARIADefinitions"; -export let Rpt_Aria_MissingKeyboardHandler: Rule = { - id: "Rpt_Aria_MissingKeyboardHandler", +export let aria_keyboard_handler_exists: Rule = { + id: "aria_keyboard_handler_exists", context: "dom:*[role]", - dependencies: ["Rpt_Aria_ValidRole"], + dependencies: ["aria_role_allowed"], + refactor: { + "Rpt_Aria_MissingKeyboardHandler": { + "pass": "pass", + "potential_no_keyboard_access": "potential_no_keyboard_access"} + }, help: { "en-US": { - "pass": "Rpt_Aria_MissingKeyboardHandler.html", - "potential_no_keyboard_access": "Rpt_Aria_MissingKeyboardHandler.html", - "group": "Rpt_Aria_MissingKeyboardHandler.html" + "pass": "aria_keyboard_handler_exists.html", + "potential_no_keyboard_access": "aria_keyboard_handler_exists.html", + "group": "aria_keyboard_handler_exists.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/landmark_name_unique.ts b/accessibility-checker-engine/src/v4/rules/aria_landmark_name_unique.ts similarity index 96% rename from accessibility-checker-engine/src/v4/rules/landmark_name_unique.ts rename to accessibility-checker-engine/src/v4/rules/aria_landmark_name_unique.ts index 88bd0bf6d..e8dc21b7f 100644 --- a/accessibility-checker-engine/src/v4/rules/landmark_name_unique.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_landmark_name_unique.ts @@ -18,14 +18,19 @@ import { DOMUtil } from "../../v2/dom/DOMUtil"; import { FragmentUtil } from "../../v2/checker/accessibility/util/fragment"; import { getCache, setCache } from "../util/CacheUtil"; -export let landmark_name_unique: Rule = { - id: "landmark_name_unique", +export let aria_landmark_name_unique: Rule = { + id: "aria_landmark_name_unique", context: "aria:complementary, aria:banner, aria:contentinfo, aria:main, aria:navigation, aria:region, aria:search, aria:form", + refactor: { + "landmark_name_unique": { + "Pass_0": "Pass_0", + "Fail_0": "Fail_0"} + }, help: { "en-US": { - "Pass_0": "landmark_name_unique.html", - "Fail_0": "landmark_name_unique.html", - "group": "landmark_name_unique.html" + "Pass_0": "aria_landmark_name_unique.html", + "Fail_0": "aria_landmark_name_unique.html", + "group": "aria_landmark_name_unique.html" } }, messages: { @@ -76,7 +81,7 @@ export let landmark_name_unique: Rule = { navigationNodesMatchFound: string[] } = getCache( ruleContext.ownerDocument, - "landmark_name_unique", + "aria_landmark_name_unique", null ); if (!formCache) { @@ -265,7 +270,7 @@ export let landmark_name_unique: Rule = { formCache.navigationNodesMatchFound = navigationNodesMatchFound; setCache( ruleContext.ownerDocument, - "landmark_name_unique", + "aria_landmark_name_unique", formCache ); diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleMainsRequireLabel_Implicit_2.ts b/accessibility-checker-engine/src/v4/rules/aria_main_label_unique.ts similarity index 87% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleMainsRequireLabel_Implicit_2.ts rename to accessibility-checker-engine/src/v4/rules/aria_main_label_unique.ts index 34f7d23f3..85ee695ad 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleMainsRequireLabel_Implicit_2.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_main_label_unique.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let Rpt_Aria_MultipleMainsRequireLabel_Implicit_2: Rule = { - id: "Rpt_Aria_MultipleMainsRequireLabel_Implicit_2", +export let aria_main_label_unique: Rule = { + id: "aria_main_label_unique", context: "aria:main", + refactor: { + "Rpt_Aria_MultipleMainsRequireLabel_Implicit_2": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "Rpt_Aria_MultipleMainsRequireLabel_Implicit_2.html", - "Fail_1": "Rpt_Aria_MultipleMainsRequireLabel_Implicit_2.html", - "group": "Rpt_Aria_MultipleMainsRequireLabel_Implicit_2.html" + "Pass_0": "aria_main_label_unique.html", + "Fail_1": "aria_main_label_unique.html", + "group": "aria_main_label_unique.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleMainsVisibleLabel_Implicit.ts b/accessibility-checker-engine/src/v4/rules/aria_main_label_visible.ts similarity index 86% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleMainsVisibleLabel_Implicit.ts rename to accessibility-checker-engine/src/v4/rules/aria_main_label_visible.ts index 1407e65a5..2f001c990 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleMainsVisibleLabel_Implicit.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_main_label_visible.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let Rpt_Aria_MultipleMainsVisibleLabel_Implicit: Rule = { - id: "Rpt_Aria_MultipleMainsVisibleLabel_Implicit", +export let aria_main_label_visible: Rule = { + id: "aria_main_label_visible", context: "dom:body", + refactor: { + "Rpt_Aria_MultipleMainsVisibleLabel_Implicit": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "Rpt_Aria_MultipleMainsVisibleLabel_Implicit.html", - "Fail_1": "Rpt_Aria_MultipleMainsVisibleLabel_Implicit.html", - "group": "Rpt_Aria_MultipleMainsVisibleLabel_Implicit.html" + "Pass_0": "aria_main_label_visible.html", + "Fail_1": "aria_main_label_visible.html", + "group": "aria_main_label_visible.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleNavigationLandmarks_Implicit.ts b/accessibility-checker-engine/src/v4/rules/aria_navigation_label_unique.ts similarity index 84% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleNavigationLandmarks_Implicit.ts rename to accessibility-checker-engine/src/v4/rules/aria_navigation_label_unique.ts index 92a4bc033..bdbf7552f 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleNavigationLandmarks_Implicit.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_navigation_label_unique.ts @@ -16,14 +16,19 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { getCache, setCache } from "../util/CacheUtil"; -export let Rpt_Aria_MultipleNavigationLandmarks_Implicit: Rule = { - id: "Rpt_Aria_MultipleNavigationLandmarks_Implicit", +export let aria_navigation_label_unique: Rule = { + id: "aria_navigation_label_unique", context: "aria:navigation", + refactor: { + "Rpt_Aria_MultipleNavigationLandmarks_Implicit": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "Rpt_Aria_MultipleNavigationLandmarks_Implicit.html", - "Fail_1": "Rpt_Aria_MultipleNavigationLandmarks_Implicit.html", - "group": "Rpt_Aria_MultipleNavigationLandmarks_Implicit.html" + "Pass_0": "aria_navigation_label_unique.html", + "Fail_1": "aria_navigation_label_unique.html", + "group": "aria_navigation_label_unique.html" } }, messages: { @@ -55,14 +60,14 @@ export let Rpt_Aria_MultipleNavigationLandmarks_Implicit: Rule = { let dupes = getCache( ruleContext.ownerDocument, - "Rpt_Aria_MultipleNavigationLandmarks_Implicit", + "aria_navigation_label_unique", null ); if (!dupes) { dupes = RPTUtil.findAriaLabelDupes(landmarks); setCache( ruleContext.ownerDocument, - "Rpt_Aria_MultipleNavigationLandmarks_Implicit", + "aria_navigation_label_unique", dupes ); } diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_RequiredParent_Native_Host_Sematics.ts b/accessibility-checker-engine/src/v4/rules/aria_parent_required.ts similarity index 91% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_RequiredParent_Native_Host_Sematics.ts rename to accessibility-checker-engine/src/v4/rules/aria_parent_required.ts index 1d62ba189..d28363ae1 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_RequiredParent_Native_Host_Sematics.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_parent_required.ts @@ -17,15 +17,21 @@ import { ARIADefinitions } from "../../v2/aria/ARIADefinitions"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let Rpt_Aria_RequiredParent_Native_Host_Sematics: Rule = { - id: "Rpt_Aria_RequiredParent_Native_Host_Sematics", +export let aria_parent_required: Rule = { + id: "aria_parent_required", context: "dom:*[role]", - dependencies: ["Rpt_Aria_ValidRole"], + dependencies: ["aria_role_allowed"], + refactor: { + "Rpt_Aria_RequiredParent_Native_Host_Sematics": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, help: { "en-US": { - "group": "Rpt_Aria_RequiredParent_Native_Host_Sematics.html", - "Pass_0": "Rpt_Aria_RequiredParent_Native_Host_Sematics.html", - "Fail_1": "Rpt_Aria_RequiredParent_Native_Host_Sematics.html" + "group": "aria_parent_required.html", + "Pass_0": "aria_parent_required.html", + "Fail_1": "aria_parent_required.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleRegionsUniqueLabel_Implicit.ts b/accessibility-checker-engine/src/v4/rules/aria_region_label_unique.ts similarity index 87% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleRegionsUniqueLabel_Implicit.ts rename to accessibility-checker-engine/src/v4/rules/aria_region_label_unique.ts index c4f299f5d..495a6cbcb 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleRegionsUniqueLabel_Implicit.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_region_label_unique.ts @@ -16,14 +16,19 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { getCache, setCache } from "../util/CacheUtil"; -export let Rpt_Aria_MultipleRegionsUniqueLabel_Implicit: Rule = { - id: "Rpt_Aria_MultipleRegionsUniqueLabel_Implicit", +export let aria_region_label_unique: Rule = { + id: "aria_region_label_unique", context: "aria:region", + refactor: { + "Rpt_Aria_MultipleRegionsUniqueLabel_Implicit": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "Rpt_Aria_MultipleRegionsUniqueLabel_Implicit.html", - "Fail_1": "Rpt_Aria_MultipleRegionsUniqueLabel_Implicit.html", - "group": "Rpt_Aria_MultipleRegionsUniqueLabel_Implicit.html" + "Pass_0": "aria_region_label_unique.html", + "Fail_1": "aria_region_label_unique.html", + "group": "aria_region_label_unique.html" } }, messages: { @@ -64,14 +69,14 @@ export let Rpt_Aria_MultipleRegionsUniqueLabel_Implicit: Rule = { let dupes = getCache( ruleContext.ownerDocument, - "Rpt_Aria_MultipleRegionsUniqueLabel_Implicit", + "aria_region_label_unique", null ); if (!dupes) { dupes = RPTUtil.findAriaLabelDupes(landmarks); setCache( ruleContext.ownerDocument, - "Rpt_Aria_MultipleRegionsUniqueLabel_Implicit", + "aria_region_label_unique", dupes ); } diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_RegionLabel_Implicit.ts b/accessibility-checker-engine/src/v4/rules/aria_region_labelled.ts similarity index 85% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_RegionLabel_Implicit.ts rename to accessibility-checker-engine/src/v4/rules/aria_region_labelled.ts index 58db8ea0a..aee39a31d 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_RegionLabel_Implicit.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_region_labelled.ts @@ -15,15 +15,21 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let Rpt_Aria_RegionLabel_Implicit: Rule = { - id: "Rpt_Aria_RegionLabel_Implicit", +export let aria_region_labelled: Rule = { + id: "aria_region_labelled", context: "dom:*[role], dom:section", + refactor: { + "Rpt_Aria_RegionLabel_Implicit": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1", + "Fail_2": "Fail_2"} + }, help: { "en-US": { - "Pass_0": "Rpt_Aria_RegionLabel_Implicit.html", - "Fail_1": "Rpt_Aria_RegionLabel_Implicit.html", - "Fail_2": "Rpt_Aria_RegionLabel_Implicit.html", - "group": "Rpt_Aria_RegionLabel_Implicit.html" + "Pass_0": "aria_region_labelled.html", + "Fail_1": "aria_region_labelled.html", + "Fail_2": "aria_region_labelled.html", + "group": "aria_region_labelled.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_ValidRole.ts b/accessibility-checker-engine/src/v4/rules/aria_role_allowed.ts similarity index 87% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_ValidRole.ts rename to accessibility-checker-engine/src/v4/rules/aria_role_allowed.ts index f28f5604c..d620cd037 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_ValidRole.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_role_allowed.ts @@ -15,15 +15,22 @@ import { ARIADefinitions } from "../../v2/aria/ARIADefinitions"; import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RulePass, RuleContextHierarchy } from "../api/IRule"; import { eRulePolicy, eToolkitLevel } from "../api/IRule"; -export let Rpt_Aria_ValidRole: Rule = { - id: "Rpt_Aria_ValidRole", +export let aria_role_allowed: Rule = { + id: "aria_role_allowed", context: "dom:*[role]", + refactor: { + "Rpt_Aria_ValidRole": { + "Pass_0": "Pass_0", + "Fail_2": "Fail_2", + "Potential_1": "Potential_1" + } + }, help: { "en-US": { - "group": `Rpt_Aria_ValidRole.html`, - "Pass_0": `Rpt_Aria_ValidRole.html`, - "Fail_2": `Rpt_Aria_ValidRole.html`, - "Potential_1": `Rpt_Aria_ValidRole.html` + "group": `aria_role_allowed.html`, + "Pass_0": `aria_role_allowed.html`, + "Fail_2": `aria_role_allowed.html`, + "Potential_1": `aria_role_allowed.html` } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleSearchLandmarks.ts b/accessibility-checker-engine/src/v4/rules/aria_search_label_unique.ts similarity index 85% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleSearchLandmarks.ts rename to accessibility-checker-engine/src/v4/rules/aria_search_label_unique.ts index 06ffd2ef8..316e18dd9 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleSearchLandmarks.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_search_label_unique.ts @@ -16,14 +16,19 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { getCache, setCache } from "../util/CacheUtil"; -export let Rpt_Aria_MultipleSearchLandmarks: Rule = { - id: "Rpt_Aria_MultipleSearchLandmarks", +export let aria_search_label_unique: Rule = { + id: "aria_search_label_unique", context: "aria:search", + refactor: { + "Rpt_Aria_MultipleSearchLandmarks": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "Rpt_Aria_MultipleSearchLandmarks.html", - "Fail_1": "Rpt_Aria_MultipleSearchLandmarks.html", - "group": "Rpt_Aria_MultipleSearchLandmarks.html" + "Pass_0": "aria_search_label_unique.html", + "Fail_1": "aria_search_label_unique.html", + "group": "aria_search_label_unique.html" } }, messages: { @@ -56,14 +61,14 @@ export let Rpt_Aria_MultipleSearchLandmarks: Rule = { let dupes = getCache( ruleContext.ownerDocument, - "Rpt_Aria_MultipleSearchLandmarks", + "aria_search_label_unique", null ); if (!dupes) { dupes = RPTUtil.findAriaLabelDupes(landmarks); setCache( ruleContext.ownerDocument, - "Rpt_Aria_MultipleSearchLandmarks", + "aria_search_label_unique", dupes ); } diff --git a/accessibility-checker-engine/src/v4/rules/aria_semantics.ts b/accessibility-checker-engine/src/v4/rules/aria_semantics.ts index 02bb4a27e..fbf8b8464 100644 --- a/accessibility-checker-engine/src/v4/rules/aria_semantics.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_semantics.ts @@ -16,16 +16,23 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { getInvalidAriaAttributes, areRolesDefined, isTableDescendant, getInvalidRoles } from "../util/CommonUtil"; -export let aria_semantics_role: Rule = { - id: "aria_semantics_role", +export let aria_role_valid: Rule = { + id: "aria_role_valid", context: "dom:*", - dependencies: ["Rpt_Aria_ValidProperty"], + dependencies: ["aria_attribute_allowed"], + refactor: { + "aria_semantics_role": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1", + "Fail_2": "Fail_2" + } + }, help: { "en-US": { - "Pass_0": "aria_semantics_role.html", - "Fail_1": "aria_semantics_role.html", - "Fail_2": "aria_semantics_role.html", - "group": "aria_semantics_role.html" + "Pass_0": "aria_role_valid.html", + "Fail_1": "aria_role_valid.html", + "Fail_2": "aria_role_valid.html", + "group": "aria_role_valid.html" } }, messages: { @@ -87,20 +94,27 @@ export let aria_semantics_role: Rule = { } } -// This rule is in the same file because there is a dependency that aria_semantics_role runs first, +// This rule is in the same file because there is a dependency that aria_role_valid runs first, // and the info is passed by cache, but there isn't a dependency in the Fail_2 scenario, so regular // dependency cannot be used -export let aria_attribute_allowed: Rule = { - id: "aria_attribute_allowed", +export let aria_attribute_valid: Rule = { + id: "aria_attribute_valid", context: "dom:*", // The the ARIA role is completely invalid, skip this check - dependencies: ["aria_attribute_deprecated", "aria_semantics_role"], + dependencies: ["aria_attribute_deprecated", "aria_role_valid"], + refactor: { + "aria_attribute_allowed": { + "Pass": "Pass", + "Fail_invalid_role_attr": "Fail_invalid_role_attr", + "Fail_invalid_implicit_role_attr": "Fail_invalid_implicit_role_attr" + } + }, help: { "en-US": { - "group": "aria_attribute_allowed.html", - "Pass": "aria_attribute_allowed.html", - "Fail_invalid_role_attr": "aria_attribute_allowed.html", - "Fail_invalid_implicit_role_attr": "aria_attribute_allowed.html" + "group": "aria_attribute_valid.html", + "Pass": "aria_attribute_valid.html", + "Fail_invalid_role_attr": "aria_attribute_valid.html", + "Fail_invalid_implicit_role_attr": "aria_attribute_valid.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleToolbarUniqueLabel.ts b/accessibility-checker-engine/src/v4/rules/aria_toolbar_label_unique.ts similarity index 85% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleToolbarUniqueLabel.ts rename to accessibility-checker-engine/src/v4/rules/aria_toolbar_label_unique.ts index 2efe13130..4da8a36ac 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MultipleToolbarUniqueLabel.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_toolbar_label_unique.ts @@ -16,14 +16,19 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { getCache, setCache } from "../util/CacheUtil"; -export let Rpt_Aria_MultipleToolbarUniqueLabel: Rule = { - id: "Rpt_Aria_MultipleToolbarUniqueLabel", +export let aria_toolbar_label_unique: Rule = { + id: "aria_toolbar_label_unique", context: "aria:toolbar", + refactor: { + "Rpt_Aria_MultipleToolbarUniqueLabel": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "Rpt_Aria_MultipleToolbarUniqueLabel.html", - "Fail_1": "Rpt_Aria_MultipleToolbarUniqueLabel.html", - "group": "Rpt_Aria_MultipleToolbarUniqueLabel.html" + "Pass_0": "aria_toolbar_label_unique.html", + "Fail_1": "aria_toolbar_label_unique.html", + "group": "aria_toolbar_label_unique.html" } }, messages: { @@ -56,14 +61,14 @@ export let Rpt_Aria_MultipleToolbarUniqueLabel: Rule = { let dupes = getCache( ruleContext.ownerDocument, - "Rpt_Aria_MultipleToolbarUniqueLabel", + "aria_toolbar_label_unique", null ); if (!dupes) { dupes = RPTUtil.findAriaLabelDupes(landmarks); setCache( ruleContext.ownerDocument, - "Rpt_Aria_MultipleToolbarUniqueLabel", + "aria_toolbar_label_unique", dupes ); } diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_WidgetLabels_Implicit.ts b/accessibility-checker-engine/src/v4/rules/aria_widget_labelled.ts similarity index 95% rename from accessibility-checker-engine/src/v4/rules/Rpt_Aria_WidgetLabels_Implicit.ts rename to accessibility-checker-engine/src/v4/rules/aria_widget_labelled.ts index 4fd8a5756..978a14cdd 100644 --- a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_WidgetLabels_Implicit.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_widget_labelled.ts @@ -19,14 +19,20 @@ import { FragmentUtil } from "../../v2/checker/accessibility/util/fragment"; import { ARIADefinitions } from "../../v2/aria/ARIADefinitions"; import { DOMUtil } from "../../v2/dom/DOMUtil"; -export let Rpt_Aria_WidgetLabels_Implicit: Rule = { - id: "Rpt_Aria_WidgetLabels_Implicit", +export let aria_widget_labelled: Rule = { + id: "aria_widget_labelled", context: "dom:*", + refactor: { + "Rpt_Aria_WidgetLabels_Implicit": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, help: { "en-US": { - "group": "Rpt_Aria_WidgetLabels_Implicit.html", - "Pass_0": "Rpt_Aria_WidgetLabels_Implicit.html", - "Fail_1": "Rpt_Aria_WidgetLabels_Implicit.html" + "group": "aria_widget_labelled.html", + "Pass_0": "aria_widget_labelled.html", + "Fail_1": "aria_widget_labelled.html" } }, messages: { @@ -62,7 +68,7 @@ export let Rpt_Aria_WidgetLabels_Implicit: Rule = { let elemRole = ARIAMapper.nodeToRole(ruleContext); let tagName = ruleContext.nodeName.toLowerCase(); - // Handled by WCAG20_Input_ExplicitLabel + // Handled by input_label_exists let skipRoles = [ "button", "checkbox", diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Pre_ASCIIArt.ts b/accessibility-checker-engine/src/v4/rules/asciiart_alt_exists.ts similarity index 91% rename from accessibility-checker-engine/src/v4/rules/RPT_Pre_ASCIIArt.ts rename to accessibility-checker-engine/src/v4/rules/asciiart_alt_exists.ts index 4a9679d3b..3ee4c4818 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Pre_ASCIIArt.ts +++ b/accessibility-checker-engine/src/v4/rules/asciiart_alt_exists.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let RPT_Pre_ASCIIArt: Rule = { - id: "RPT_Pre_ASCIIArt", +export let asciiart_alt_exists: Rule = { + id: "asciiart_alt_exists", context: "dom:pre, dom:listing, dom:xmp, dom:plaintext", + refactor: { + "RPT_Pre_ASCIIArt": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1"} + }, help: { "en-US": { - "Pass_0": "RPT_Pre_ASCIIArt.html", - "Potential_1": "RPT_Pre_ASCIIArt.html", - "group": "RPT_Pre_ASCIIArt.html" + "Pass_0": "asciiart_alt_exists.html", + "Potential_1": "asciiart_alt_exists.html", + "group": "asciiart_alt_exists.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Blink_CSSTrigger1.ts b/accessibility-checker-engine/src/v4/rules/blink_css_review.ts similarity index 86% rename from accessibility-checker-engine/src/v4/rules/RPT_Blink_CSSTrigger1.ts rename to accessibility-checker-engine/src/v4/rules/blink_css_review.ts index 7dfad4849..5865f07f1 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Blink_CSSTrigger1.ts +++ b/accessibility-checker-engine/src/v4/rules/blink_css_review.ts @@ -15,14 +15,20 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let RPT_Blink_CSSTrigger1: Rule = { - id: "RPT_Blink_CSSTrigger1", +export let blink_css_review: Rule = { + id: "blink_css_review", context: "dom:style, dom:*[style]", + refactor: { + "RPT_Blink_CSSTrigger1": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, help: { "en-US": { - "group": `RPT_Blink_CSSTrigger1.html`, - "Pass_0": `RPT_Blink_CSSTrigger1.html`, - "Potential_1": `RPT_Blink_CSSTrigger1.html` + "group": `blink_css_review.html`, + "Pass_0": `blink_css_review.html`, + "Potential_1": `blink_css_review.html` } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Blink_AlwaysTrigger.ts b/accessibility-checker-engine/src/v4/rules/blink_elem_deprecated.ts similarity index 82% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Blink_AlwaysTrigger.ts rename to accessibility-checker-engine/src/v4/rules/blink_elem_deprecated.ts index fc26fc6aa..100e9f4f6 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Blink_AlwaysTrigger.ts +++ b/accessibility-checker-engine/src/v4/rules/blink_elem_deprecated.ts @@ -14,14 +14,20 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, RulePass, RuleContextHierarchy } from "../api/IRule"; import { eRulePolicy, eToolkitLevel } from "../api/IRule"; -export let WCAG20_Blink_AlwaysTrigger: Rule = { - id: "WCAG20_Blink_AlwaysTrigger", +export let blink_elem_deprecated: Rule = { + id: "blink_elem_deprecated", context: "dom:blink", + refactor: { + "WCAG20_Blink_AlwaysTrigger": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, help: { "en-US": { - "group": `WCAG20_Blink_AlwaysTrigger.html`, - "Pass_0": `WCAG20_Blink_AlwaysTrigger.html`, - "Fail_1": `WCAG20_Blink_AlwaysTrigger.html` + "group": `blink_elem_deprecated.html`, + "Pass_0": `blink_elem_deprecated.html`, + "Fail_1": `blink_elem_deprecated.html` } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Blockquote_HasCite.ts b/accessibility-checker-engine/src/v4/rules/blockquote_cite_exists.ts similarity index 84% rename from accessibility-checker-engine/src/v4/rules/RPT_Blockquote_HasCite.ts rename to accessibility-checker-engine/src/v4/rules/blockquote_cite_exists.ts index 573a2fe01..2ec4ed034 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Blockquote_HasCite.ts +++ b/accessibility-checker-engine/src/v4/rules/blockquote_cite_exists.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let RPT_Blockquote_HasCite: Rule = { - id: "RPT_Blockquote_HasCite", +export let blockquote_cite_exists: Rule = { + id: "blockquote_cite_exists", context: "dom:blockquote", + refactor: { + "RPT_Blockquote_HasCite": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1"} + }, help: { "en-US": { - "Pass_0": "RPT_Blockquote_HasCite.html", - "Potential_1": "RPT_Blockquote_HasCite.html", - "group": "RPT_Blockquote_HasCite.html" + "Pass_0": "blockquote_cite_exists.html", + "Potential_1": "blockquote_cite_exists.html", + "group": "blockquote_cite_exists.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/HAAC_Canvas.ts b/accessibility-checker-engine/src/v4/rules/canvas_content_described.ts similarity index 84% rename from accessibility-checker-engine/src/v4/rules/HAAC_Canvas.ts rename to accessibility-checker-engine/src/v4/rules/canvas_content_described.ts index c37dd35e7..e2ee3a7c4 100644 --- a/accessibility-checker-engine/src/v4/rules/HAAC_Canvas.ts +++ b/accessibility-checker-engine/src/v4/rules/canvas_content_described.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let HAAC_Canvas: Rule = { - id: "HAAC_Canvas", +export let canvas_content_described: Rule = { + id: "canvas_content_described", context: "dom:canvas", + refactor: { + "HAAC_Canvas": { + "Pass_0": "Pass_0", + "Manual_1": "Manual_1"} + }, help: { "en-US": { - "Pass_0": "HAAC_Canvas.html", - "Manual_1": "HAAC_Canvas.html", - "group": "HAAC_Canvas.html" + "Pass_0": "canvas_content_described.html", + "Manual_1": "canvas_content_described.html", + "group": "canvas_content_described.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/HAAC_Video_HasNoTrack.ts b/accessibility-checker-engine/src/v4/rules/caption_track_exists.ts similarity index 87% rename from accessibility-checker-engine/src/v4/rules/HAAC_Video_HasNoTrack.ts rename to accessibility-checker-engine/src/v4/rules/caption_track_exists.ts index 33fbe91ae..4ff68cb60 100644 --- a/accessibility-checker-engine/src/v4/rules/HAAC_Video_HasNoTrack.ts +++ b/accessibility-checker-engine/src/v4/rules/caption_track_exists.ts @@ -14,14 +14,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, RulePass, RuleContextHierarchy } from "../api/IRule"; import { eRulePolicy, eToolkitLevel } from "../api/IRule"; -export let HAAC_Video_HasNoTrack: Rule = { - id: "HAAC_Video_HasNoTrack", +export let caption_track_exists: Rule = { + id: "caption_track_exists", context: "dom:video", + refactor: { + "HAAC_Video_HasNoTrack": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1"} + }, help: { "en-US": { - "Pass_0": "HAAC_Video_HasNoTrack.html", - "Potential_1": "HAAC_Video_HasNoTrack.html", - "group": "HAAC_Video_HasNoTrack.html" + "Pass_0": "caption_track_exists.html", + "Potential_1": "caption_track_exists.html", + "group": "caption_track_exists.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/combobox_autocomplete.ts b/accessibility-checker-engine/src/v4/rules/combobox_autocomplete_valid.ts similarity index 88% rename from accessibility-checker-engine/src/v4/rules/combobox_autocomplete.ts rename to accessibility-checker-engine/src/v4/rules/combobox_autocomplete_valid.ts index ea2c7dd9e..977d8b897 100644 --- a/accessibility-checker-engine/src/v4/rules/combobox_autocomplete.ts +++ b/accessibility-checker-engine/src/v4/rules/combobox_autocomplete_valid.ts @@ -17,16 +17,22 @@ import { NodeWalker } from "../../v2/checker/accessibility/util/legacy"; import { getCache } from "../util/CacheUtil"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let combobox_autocomplete: Rule = { - id: "combobox_autocomplete", +export let combobox_autocomplete_valid: Rule = { + id: "combobox_autocomplete_valid", context: "aria:combobox", dependencies: ["combobox_popup_reference"], + refactor: { + "combobox_autocomplete": { + "Pass": "Pass", + "Fail_1": "Fail_1", + "Fail_inline": "Fail_inline"} + }, help: { "en-US": { - "Pass": "combobox_autocomplete.html", - "Fail_1": "combobox_autocomplete.html", - "Fail_inline": "combobox_autocomplete.html", - "group": "combobox_autocomplete.html" + "Pass": "combobox_autocomplete_valid.html", + "Fail_1": "combobox_autocomplete_valid.html", + "Fail_inline": "combobox_autocomplete_valid.html", + "group": "combobox_autocomplete_valid.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/combobox_version.ts b/accessibility-checker-engine/src/v4/rules/combobox_design_valid.ts similarity index 90% rename from accessibility-checker-engine/src/v4/rules/combobox_version.ts rename to accessibility-checker-engine/src/v4/rules/combobox_design_valid.ts index 0d20199fd..6fc846903 100644 --- a/accessibility-checker-engine/src/v4/rules/combobox_version.ts +++ b/accessibility-checker-engine/src/v4/rules/combobox_design_valid.ts @@ -35,15 +35,21 @@ function patternDetect(elem: Element): String { return "1.2"; } -export let combobox_version: Rule = { - id: "combobox_version", +export let combobox_design_valid: Rule = { + id: "combobox_design_valid", context: "aria:combobox", + refactor: { + "combobox_version": { + "Pass_1.0": "Pass_1.0", + "Fail_1.1": "Fail_1.1", + "Pass_1.2": "Pass_1.2"} + }, help: { "en-US": { - "Pass_1.0": "combobox_version.html", - "Fail_1.1": "combobox_version.html", - "Pass_1.2": "combobox_version.html", - "group": "combobox_version.html" + "Pass_1.0": "combobox_design_valid.html", + "Fail_1.1": "combobox_design_valid.html", + "Pass_1.2": "combobox_design_valid.html", + "group": "combobox_design_valid.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/combobox_haspopup.ts b/accessibility-checker-engine/src/v4/rules/combobox_haspopup_valid.ts similarity index 88% rename from accessibility-checker-engine/src/v4/rules/combobox_haspopup.ts rename to accessibility-checker-engine/src/v4/rules/combobox_haspopup_valid.ts index c5a90b09f..61e00cd39 100644 --- a/accessibility-checker-engine/src/v4/rules/combobox_haspopup.ts +++ b/accessibility-checker-engine/src/v4/rules/combobox_haspopup_valid.ts @@ -16,16 +16,22 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { getCache } from "../util/CacheUtil"; -export let combobox_haspopup: Rule = { - id: "combobox_haspopup", +export let combobox_haspopup_valid: Rule = { + id: "combobox_haspopup_valid", context: "aria:combobox", dependencies: ["combobox_popup_reference"], + refactor: { + "combobox_haspopup": { + "Pass": "Pass", + "Fail_popup_role_invalid": "Fail_popup_role_invalid", + "Fail_combobox_popup_role_mismatch": "Fail_combobox_popup_role_mismatch"} + }, help: { "en-US": { - "Pass": "combobox_haspopup.html", - "Fail_popup_role_invalid": "combobox_haspopup.html", - "Fail_combobox_popup_role_mismatch": "combobox_haspopup.html", - "group": "combobox_haspopup.html" + "Pass": "combobox_haspopup_valid.html", + "Fail_popup_role_invalid": "combobox_haspopup_valid.html", + "Fail_combobox_popup_role_mismatch": "combobox_haspopup_valid.html", + "group": "combobox_haspopup_valid.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/combobox_popup_reference.ts b/accessibility-checker-engine/src/v4/rules/combobox_popup_reference.ts index 5548f26f5..fecfa1208 100644 --- a/accessibility-checker-engine/src/v4/rules/combobox_popup_reference.ts +++ b/accessibility-checker-engine/src/v4/rules/combobox_popup_reference.ts @@ -20,7 +20,7 @@ import { VisUtil } from "../../v2/dom/VisUtil"; export let combobox_popup_reference: Rule = { id: "combobox_popup_reference", context: "aria:combobox", - dependencies: ["combobox_version"], + dependencies: ["combobox_design_valid"], help: { "en-US": { "group": "combobox_popup_reference.html", diff --git a/accessibility-checker-engine/src/v4/rules/Valerie_Elem_DirValid.ts b/accessibility-checker-engine/src/v4/rules/dir_attribute_valid.ts similarity index 85% rename from accessibility-checker-engine/src/v4/rules/Valerie_Elem_DirValid.ts rename to accessibility-checker-engine/src/v4/rules/dir_attribute_valid.ts index c76284472..780455644 100644 --- a/accessibility-checker-engine/src/v4/rules/Valerie_Elem_DirValid.ts +++ b/accessibility-checker-engine/src/v4/rules/dir_attribute_valid.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let Valerie_Elem_DirValid: Rule = { - id: "Valerie_Elem_DirValid", +export let dir_attribute_valid: Rule = { + id: "dir_attribute_valid", context: "dom:*[dir]", + refactor: { + "Valerie_Elem_DirValid": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "Valerie_Elem_DirValid.html", - "Fail_1": "Valerie_Elem_DirValid.html", - "group": "Valerie_Elem_DirValid.html" + "Pass_0": "dir_attribute_valid.html", + "Fail_1": "dir_attribute_valid.html", + "group": "dir_attribute_valid.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/HAAC_Media_DocumentTrigger2.ts b/accessibility-checker-engine/src/v4/rules/download_keyboard_controllable.ts similarity index 84% rename from accessibility-checker-engine/src/v4/rules/HAAC_Media_DocumentTrigger2.ts rename to accessibility-checker-engine/src/v4/rules/download_keyboard_controllable.ts index e6b3b2338..d12c71bc3 100644 --- a/accessibility-checker-engine/src/v4/rules/HAAC_Media_DocumentTrigger2.ts +++ b/accessibility-checker-engine/src/v4/rules/download_keyboard_controllable.ts @@ -16,14 +16,19 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let HAAC_Media_DocumentTrigger2: Rule = { - id: "HAAC_Media_DocumentTrigger2", +export let download_keyboard_controllable: Rule = { + id: "download_keyboard_controllable", context: "dom:a[href],dom:area[href]", + refactor: { + "HAAC_Media_DocumentTrigger2": { + "Pass_0": "Pass_0", + "Manual_1": "Manual_1"} + }, help: { "en-US": { - "Pass_0": "HAAC_Media_DocumentTrigger2.html", - "Manual_1": "HAAC_Media_DocumentTrigger2.html", - "group": "HAAC_Media_DocumentTrigger2.html" + "Pass_0": "download_keyboard_controllable.html", + "Manual_1": "download_keyboard_controllable.html", + "group": "download_keyboard_controllable.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/HAAC_Accesskey_NeedLabel.ts b/accessibility-checker-engine/src/v4/rules/element_accesskey_labelled.ts similarity index 87% rename from accessibility-checker-engine/src/v4/rules/HAAC_Accesskey_NeedLabel.ts rename to accessibility-checker-engine/src/v4/rules/element_accesskey_labelled.ts index 175e194ef..6ba339f87 100644 --- a/accessibility-checker-engine/src/v4/rules/HAAC_Accesskey_NeedLabel.ts +++ b/accessibility-checker-engine/src/v4/rules/element_accesskey_labelled.ts @@ -16,14 +16,19 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { DOMWalker } from "../../v2/dom/DOMWalker"; -export let HAAC_Accesskey_NeedLabel: Rule = { - id: "HAAC_Accesskey_NeedLabel", +export let element_accesskey_labelled: Rule = { + id: "element_accesskey_labelled", context: "dom:*[accesskey]", + refactor: { + "HAAC_Accesskey_NeedLabel": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1"} + }, help: { "en-US": { - "Pass_0": "HAAC_Accesskey_NeedLabel.html", - "Potential_1": "HAAC_Accesskey_NeedLabel.html", - "group": "HAAC_Accesskey_NeedLabel.html" + "Pass_0": "element_accesskey_labelled.html", + "Potential_1": "element_accesskey_labelled.html", + "group": "element_accesskey_labelled.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Elem_UniqueAccessKey.ts b/accessibility-checker-engine/src/v4/rules/element_accesskey_unique.ts similarity index 80% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Elem_UniqueAccessKey.ts rename to accessibility-checker-engine/src/v4/rules/element_accesskey_unique.ts index 5c65216d9..05b5b8679 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Elem_UniqueAccessKey.ts +++ b/accessibility-checker-engine/src/v4/rules/element_accesskey_unique.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { getCache } from "../util/CacheUtil"; -export let WCAG20_Elem_UniqueAccessKey: Rule = { - id: "WCAG20_Elem_UniqueAccessKey", +export let element_accesskey_unique: Rule = { + id: "element_accesskey_unique", context: "dom:*[accesskey]", + refactor: { + "WCAG20_Elem_UniqueAccessKey": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "WCAG20_Elem_UniqueAccessKey.html", - "Fail_1": "WCAG20_Elem_UniqueAccessKey.html", - "group": "WCAG20_Elem_UniqueAccessKey.html" + "Pass_0": "element_accesskey_unique.html", + "Fail_1": "element_accesskey_unique.html", + "group": "element_accesskey_unique.html" } }, messages: { @@ -41,7 +46,7 @@ export let WCAG20_Elem_UniqueAccessKey: Rule = { act: [], run: (context: RuleContext, options?: {}, contextHierarchies?: RuleContextHierarchy): RuleResult | RuleResult[] => { const ruleContext = context["dom"].node as Element; - let map = getCache(ruleContext.ownerDocument, "WCAG20_Elem_UniqueAccessKey", {}); + let map = getCache(ruleContext.ownerDocument, "element_accesskey_unique", {}); let key = ruleContext.getAttribute("accesskey"); diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Elem_UniqueId.ts b/accessibility-checker-engine/src/v4/rules/element_id_unique.ts similarity index 87% rename from accessibility-checker-engine/src/v4/rules/RPT_Elem_UniqueId.ts rename to accessibility-checker-engine/src/v4/rules/element_id_unique.ts index 2680937bf..103a8af53 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Elem_UniqueId.ts +++ b/accessibility-checker-engine/src/v4/rules/element_id_unique.ts @@ -16,15 +16,22 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { FragmentUtil } from "../../v2/checker/accessibility/util/fragment"; -export let RPT_Elem_UniqueId: Rule = { - id: "RPT_Elem_UniqueId", +export let element_id_unique: Rule = { + id: "element_id_unique", context: "dom:*[id]", + refactor: { + "RPT_Elem_UniqueId": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1", + "Fail_2": "Fail_2" + } + }, help: { "en-US": { - "group": "RPT_Elem_UniqueId.html", - "Pass_0": "RPT_Elem_UniqueId.html", - "Fail_1": "RPT_Elem_UniqueId.html", - "Fail_2": "RPT_Elem_UniqueId.html" + "group": "element_id_unique.html", + "Pass_0": "element_id_unique.html", + "Fail_1": "element_id_unique.html", + "Fail_2": "element_id_unique.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Elem_EventMouseAndKey.ts b/accessibility-checker-engine/src/v4/rules/element_mouseevent_keyboard.ts similarity index 91% rename from accessibility-checker-engine/src/v4/rules/RPT_Elem_EventMouseAndKey.ts rename to accessibility-checker-engine/src/v4/rules/element_mouseevent_keyboard.ts index 7def6da1d..8e223bc0d 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Elem_EventMouseAndKey.ts +++ b/accessibility-checker-engine/src/v4/rules/element_mouseevent_keyboard.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let RPT_Elem_EventMouseAndKey: Rule = { - id: "RPT_Elem_EventMouseAndKey", +export let element_mouseevent_keyboard: Rule = { + id: "element_mouseevent_keyboard", context: "dom:*[ondblclick], dom:*[onmousemove], dom:*[onmousedown], dom:*[onmouseup], dom:*[onmouseover], dom:*[onmouseout], dom:*[onclick]", + refactor: { + "RPT_Elem_EventMouseAndKey": { + "Pass_0": "Pass_0", + "Manual_1": "Manual_1"} + }, help: { "en-US": { - "Pass_0": "RPT_Elem_EventMouseAndKey.html", - "Manual_1": "RPT_Elem_EventMouseAndKey.html", - "group": "RPT_Elem_EventMouseAndKey.html" + "Pass_0": "element_mouseevent_keyboard.html", + "Manual_1": "element_mouseevent_keyboard.html", + "group": "element_mouseevent_keyboard.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/element_tabbable_role_valid.ts b/accessibility-checker-engine/src/v4/rules/element_tabbable_role_valid.ts index dcd359a0d..bf6224793 100644 --- a/accessibility-checker-engine/src/v4/rules/element_tabbable_role_valid.ts +++ b/accessibility-checker-engine/src/v4/rules/element_tabbable_role_valid.ts @@ -55,7 +55,7 @@ export let element_tabbable_role_valid: Rule = { if (RPTUtil.isNodeDisabled(ruleContext) || VisUtil.isNodeHiddenFromAT(ruleContext)) return null; const nodeName = ruleContext.nodeName.toLowerCase(); - // if the elemen is tabbable by default with or without tabindex, let the other rules (such as IBMA_Focus_MultiTab) to handle it + // if the element is tabbable by default with or without tabindex, let the other rules (such as widget_tabbable_single) to handle it if (nodeName in RPTUtil.tabTagMap ) { let value = RPTUtil.tabTagMap[nodeName]; if (typeof (value) === "function") { @@ -80,7 +80,7 @@ export let element_tabbable_role_valid: Rule = { return null; // elements whose roles allow no descendants that are interactive or with a tabindex >= 0 - // this case should be handled in IBMA_Focus_MultiTab and Rpt_Aria_MissingFocusableChild + // this case should be handled in widget_tabbable_single and aria_child_tabbable const roles_no_interactive_child =["button", "checkbox", "img", "link", "menuitem", "menuitemcheckbox", "menuitemradio", "option", "radio", "switch", "tab"]; diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Embed_HasAlt.ts b/accessibility-checker-engine/src/v4/rules/embed_alt_exists.ts similarity index 85% rename from accessibility-checker-engine/src/v4/rules/RPT_Embed_HasAlt.ts rename to accessibility-checker-engine/src/v4/rules/embed_alt_exists.ts index 3e11bd87b..7518d9afb 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Embed_HasAlt.ts +++ b/accessibility-checker-engine/src/v4/rules/embed_alt_exists.ts @@ -16,14 +16,19 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let RPT_Embed_HasAlt: Rule = { - id: "RPT_Embed_HasAlt", +export let embed_alt_exists: Rule = { + id: "embed_alt_exists", context: "dom:embed", + refactor: { + "RPT_Embed_HasAlt": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1"} + }, help: { "en-US": { - "Pass_0": "RPT_Embed_HasAlt.html", - "Potential_1": "RPT_Embed_HasAlt.html", - "group": "RPT_Embed_HasAlt.html" + "Pass_0": "embed_alt_exists.html", + "Potential_1": "embed_alt_exists.html", + "group": "embed_alt_exists.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Embed_HasNoEmbed.ts b/accessibility-checker-engine/src/v4/rules/embed_noembed_exists.ts similarity index 87% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Embed_HasNoEmbed.ts rename to accessibility-checker-engine/src/v4/rules/embed_noembed_exists.ts index 6bc14c608..cd5bc25fe 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Embed_HasNoEmbed.ts +++ b/accessibility-checker-engine/src/v4/rules/embed_noembed_exists.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let WCAG20_Embed_HasNoEmbed: Rule = { - id: "WCAG20_Embed_HasNoEmbed", +export let embed_noembed_exists: Rule = { + id: "embed_noembed_exists", context: "dom:embed", + refactor: { + "WCAG20_Embed_HasNoEmbed": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1"} + }, help: { "en-US": { - "Pass_0": "WCAG20_Embed_HasNoEmbed.html", - "Potential_1": "WCAG20_Embed_HasNoEmbed.html", - "group": "WCAG20_Embed_HasNoEmbed.html" + "Pass_0": "embed_noembed_exists.html", + "Potential_1": "embed_noembed_exists.html", + "group": "embed_noembed_exists.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Text_Emoticons.ts b/accessibility-checker-engine/src/v4/rules/emoticons_alt_exists.ts similarity index 93% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Text_Emoticons.ts rename to accessibility-checker-engine/src/v4/rules/emoticons_alt_exists.ts index eaca819c2..adb135888 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Text_Emoticons.ts +++ b/accessibility-checker-engine/src/v4/rules/emoticons_alt_exists.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let WCAG20_Text_Emoticons: Rule = { - id: "WCAG20_Text_Emoticons", +export let emoticons_alt_exists: Rule = { + id: "emoticons_alt_exists", context: "dom:*", + refactor: { + "WCAG20_Text_Emoticons": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1"} + }, help: { "en-US": { - "Pass_0": "WCAG20_Text_Emoticons.html", - "Potential_1": "WCAG20_Text_Emoticons.html", - "group": "WCAG20_Text_Emoticons.html" + "Pass_0": "emoticons_alt_exists.html", + "Potential_1": "emoticons_alt_exists.html", + "group": "emoticons_alt_exists.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/HAAC_Aria_ErrorMessage.ts b/accessibility-checker-engine/src/v4/rules/error_message_exists.ts similarity index 85% rename from accessibility-checker-engine/src/v4/rules/HAAC_Aria_ErrorMessage.ts rename to accessibility-checker-engine/src/v4/rules/error_message_exists.ts index 1547588bd..47918844a 100644 --- a/accessibility-checker-engine/src/v4/rules/HAAC_Aria_ErrorMessage.ts +++ b/accessibility-checker-engine/src/v4/rules/error_message_exists.ts @@ -17,15 +17,21 @@ import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { FragmentUtil } from "../../v2/checker/accessibility/util/fragment"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let HAAC_Aria_ErrorMessage: Rule = { - id: "HAAC_Aria_ErrorMessage", +export let error_message_exists: Rule = { + id: "error_message_exists", context: "dom:*[aria-invalid=true]", + refactor: { + "HAAC_Aria_ErrorMessage": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1", + "Fail_2": "Fail_2"} + }, help: { "en-US": { - "Pass_0": "HAAC_Aria_ErrorMessage.html", - "Fail_1": "HAAC_Aria_ErrorMessage.html", - "Fail_2": "HAAC_Aria_ErrorMessage.html", - "group": "HAAC_Aria_ErrorMessage.html" + "Pass_0": "error_message_exists.html", + "Fail_1": "error_message_exists.html", + "Fail_2": "error_message_exists.html", + "group": "error_message_exists.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/group_withInputs_hasName.ts b/accessibility-checker-engine/src/v4/rules/fieldset_label_valid.ts similarity index 93% rename from accessibility-checker-engine/src/v4/rules/group_withInputs_hasName.ts rename to accessibility-checker-engine/src/v4/rules/fieldset_label_valid.ts index 27415f735..c7b7c460b 100644 --- a/accessibility-checker-engine/src/v4/rules/group_withInputs_hasName.ts +++ b/accessibility-checker-engine/src/v4/rules/fieldset_label_valid.ts @@ -17,15 +17,21 @@ import { ARIAMapper } from "../../v2/aria/ARIAMapper"; import { FragmentUtil } from "../../v2/checker/accessibility/util/fragment"; import { getCache, setCache } from "../util/CacheUtil"; -export let group_withInputs_hasName: Rule = { - id: "group_withInputs_hasName", +export let fieldset_label_valid: Rule = { + id: "fieldset_label_valid", context: "aria:group", + refactor: { + "group_withInputs_hasName": { + "Pass_1": "Pass_1", + "Fail_1": "Fail_1", + "Fail_2": "Fail_2"} + }, help: { "en-US": { - "Pass_1": "group_withInputs_hasName.html", - "Fail_1": "group_withInputs_hasName.html", - "Fail_2": "group_withInputs_hasName.html", - "group": "group_withInputs_hasName.html" + "Pass_1": "fieldset_label_valid.html", + "Fail_1": "fieldset_label_valid.html", + "Fail_2": "fieldset_label_valid.html", + "group": "fieldset_label_valid.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Fieldset_HasLegend.ts b/accessibility-checker-engine/src/v4/rules/fieldset_legend_valid.ts similarity index 82% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Fieldset_HasLegend.ts rename to accessibility-checker-engine/src/v4/rules/fieldset_legend_valid.ts index 8190387cd..83c0ee742 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Fieldset_HasLegend.ts +++ b/accessibility-checker-engine/src/v4/rules/fieldset_legend_valid.ts @@ -15,16 +15,23 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let WCAG20_Fieldset_HasLegend: Rule = { - id: "WCAG20_Fieldset_HasLegend", +export let fieldset_legend_valid: Rule = { + id: "fieldset_legend_valid", context: "dom:fieldset", + refactor: { + "WCAG20_Fieldset_HasLegend": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1", + "Fail_2": "Fail_2", + "Fail_3": "Fail_3"} + }, help: { "en-US": { - "Pass_0": "WCAG20_Fieldset_HasLegend.html", - "Fail_1": "WCAG20_Fieldset_HasLegend.html", - "Fail_2": "WCAG20_Fieldset_HasLegend.html", - "Fail_3": "WCAG20_Fieldset_HasLegend.html", - "group": "WCAG20_Fieldset_HasLegend.html" + "Pass_0": "fieldset_legend_valid.html", + "Fail_1": "fieldset_legend_valid.html", + "Fail_2": "fieldset_legend_valid.html", + "Fail_3": "fieldset_legend_valid.html", + "group": "fieldset_legend_valid.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/HAAC_Figure_label.ts b/accessibility-checker-engine/src/v4/rules/figure_label_exists.ts similarity index 89% rename from accessibility-checker-engine/src/v4/rules/HAAC_Figure_label.ts rename to accessibility-checker-engine/src/v4/rules/figure_label_exists.ts index 69d30678a..78eb01f77 100644 --- a/accessibility-checker-engine/src/v4/rules/HAAC_Figure_label.ts +++ b/accessibility-checker-engine/src/v4/rules/figure_label_exists.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let HAAC_Figure_label: Rule = { - id: "HAAC_Figure_label", +export let figure_label_exists: Rule = { + id: "figure_label_exists", context: "dom:figure", + refactor: { + "HAAC_Figure_label": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "HAAC_Figure_label.html", - "Fail_1": "HAAC_Figure_label.html", - "group": "HAAC_Figure_label.html" + "Pass_0": "figure_label_exists.html", + "Fail_1": "figure_label_exists.html", + "group": "figure_label_exists.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Font_ColorInForm.ts b/accessibility-checker-engine/src/v4/rules/form_font_color.ts similarity index 86% rename from accessibility-checker-engine/src/v4/rules/RPT_Font_ColorInForm.ts rename to accessibility-checker-engine/src/v4/rules/form_font_color.ts index 6de52fe18..3bd29cead 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Font_ColorInForm.ts +++ b/accessibility-checker-engine/src/v4/rules/form_font_color.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let RPT_Font_ColorInForm: Rule = { - id: "RPT_Font_ColorInForm", +export let form_font_color: Rule = { + id: "form_font_color", context: "dom:form", + refactor: { + "RPT_Font_ColorInForm": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1"} + }, help: { "en-US": { - "Pass_0": "RPT_Font_ColorInForm.html", - "Potential_1": "RPT_Font_ColorInForm.html", - "group": "RPT_Font_ColorInForm.html" + "Pass_0": "form_font_color.html", + "Potential_1": "form_font_color.html", + "group": "form_font_color.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Form_TargetAndText.ts b/accessibility-checker-engine/src/v4/rules/form_interaction_review.ts similarity index 88% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Form_TargetAndText.ts rename to accessibility-checker-engine/src/v4/rules/form_interaction_review.ts index 5635dc2a6..dcad22c67 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Form_TargetAndText.ts +++ b/accessibility-checker-engine/src/v4/rules/form_interaction_review.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let WCAG20_Form_TargetAndText: Rule = { - id: "WCAG20_Form_TargetAndText", +export let form_interaction_review: Rule = { + id: "form_interaction_review", context: "dom:form[target]", + refactor: { + "WCAG20_Form_TargetAndText": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1"} + }, help: { "en-US": { - "Pass_0": "WCAG20_Form_TargetAndText.html", - "Potential_1": "WCAG20_Form_TargetAndText.html", - "group": "WCAG20_Form_TargetAndText.html" + "Pass_0": "form_interaction_review.html", + "Potential_1": "form_interaction_review.html", + "group": "form_interaction_review.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Label_UniqueFor.ts b/accessibility-checker-engine/src/v4/rules/form_label_unique.ts similarity index 86% rename from accessibility-checker-engine/src/v4/rules/RPT_Label_UniqueFor.ts rename to accessibility-checker-engine/src/v4/rules/form_label_unique.ts index 54b307db7..e96fb8318 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Label_UniqueFor.ts +++ b/accessibility-checker-engine/src/v4/rules/form_label_unique.ts @@ -16,14 +16,19 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { FragmentUtil } from "../../v2/checker/accessibility/util/fragment"; import { getCache } from "../util/CacheUtil"; -export let RPT_Label_UniqueFor: Rule = { - id: "RPT_Label_UniqueFor", +export let form_label_unique: Rule = { + id: "form_label_unique", context: "dom:label[for]", + refactor: { + "RPT_Label_UniqueFor": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "RPT_Label_UniqueFor.html", - "Fail_1": "RPT_Label_UniqueFor.html", - "group": "RPT_Label_UniqueFor.html" + "Pass_0": "form_label_unique.html", + "Fail_1": "form_label_unique.html", + "group": "form_label_unique.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Form_HasSubmit.ts b/accessibility-checker-engine/src/v4/rules/form_submit_button_exists.ts similarity index 88% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Form_HasSubmit.ts rename to accessibility-checker-engine/src/v4/rules/form_submit_button_exists.ts index 18ed87725..7811a1006 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Form_HasSubmit.ts +++ b/accessibility-checker-engine/src/v4/rules/form_submit_button_exists.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { NodeWalker, RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let WCAG20_Form_HasSubmit: Rule = { - id: "WCAG20_Form_HasSubmit", +export let form_submit_button_exists: Rule = { + id: "form_submit_button_exists", context: "dom:form", + refactor: { + "WCAG20_Form_HasSubmit": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1"} + }, help: { "en-US": { - "Pass_0": "WCAG20_Form_HasSubmit.html", - "Potential_1": "WCAG20_Form_HasSubmit.html", - "group": "WCAG20_Form_HasSubmit.html" + "Pass_0": "form_submit_button_exists.html", + "Potential_1": "form_submit_button_exists.html", + "group": "form_submit_button_exists.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Form_ChangeEmpty.ts b/accessibility-checker-engine/src/v4/rules/form_submit_review.ts similarity index 84% rename from accessibility-checker-engine/src/v4/rules/RPT_Form_ChangeEmpty.ts rename to accessibility-checker-engine/src/v4/rules/form_submit_review.ts index 1cde8a64a..b5d410ea1 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Form_ChangeEmpty.ts +++ b/accessibility-checker-engine/src/v4/rules/form_submit_review.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let RPT_Form_ChangeEmpty: Rule = { - id: "RPT_Form_ChangeEmpty", +export let form_submit_review: Rule = { + id: "form_submit_review", context: "dom:select[onchange], dom:input[onchange]", + refactor: { + "RPT_Form_ChangeEmpty": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1"} + }, help: { "en-US": { - "Pass_0": "RPT_Form_ChangeEmpty.html", - "Potential_1": "RPT_Form_ChangeEmpty.html", - "group": "RPT_Form_ChangeEmpty.html" + "Pass_0": "form_submit_review.html", + "Potential_1": "form_submit_review.html", + "group": "form_submit_review.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/Valerie_Frame_SrcHtml.ts b/accessibility-checker-engine/src/v4/rules/frame_src_valid.ts similarity index 85% rename from accessibility-checker-engine/src/v4/rules/Valerie_Frame_SrcHtml.ts rename to accessibility-checker-engine/src/v4/rules/frame_src_valid.ts index 79cd49ec3..c5f6f34cd 100644 --- a/accessibility-checker-engine/src/v4/rules/Valerie_Frame_SrcHtml.ts +++ b/accessibility-checker-engine/src/v4/rules/frame_src_valid.ts @@ -15,14 +15,20 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let Valerie_Frame_SrcHtml: Rule = { - id: "Valerie_Frame_SrcHtml", +export let frame_src_valid: Rule = { + id: "frame_src_valid", context: "dom:frame, dom:iframe", + refactor: { + "Valerie_Frame_SrcHtml": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, help: { "en-US": { - "Pass_0": "Valerie_Frame_SrcHtml.html", - "Potential_1": "Valerie_Frame_SrcHtml.html", - "group": "Valerie_Frame_SrcHtml.html" + "Pass_0": "frame_src_valid.html", + "Potential_1": "frame_src_valid.html", + "group": "frame_src_valid.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Frame_HasTitle.ts b/accessibility-checker-engine/src/v4/rules/frame_title_exists.ts similarity index 87% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Frame_HasTitle.ts rename to accessibility-checker-engine/src/v4/rules/frame_title_exists.ts index 92f3d1388..0b9106ca1 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Frame_HasTitle.ts +++ b/accessibility-checker-engine/src/v4/rules/frame_title_exists.ts @@ -16,14 +16,20 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { ARIAMapper } from "../../v2/aria/ARIAMapper"; -export let WCAG20_Frame_HasTitle: Rule = { - id: "WCAG20_Frame_HasTitle", +export let frame_title_exists: Rule = { + id: "frame_title_exists", context: "dom:frame, dom:iframe", + refactor: { + "WCAG20_Frame_HasTitle": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, help: { "en-US": { - "group": "WCAG20_Frame_HasTitle.html", - "Pass_0": "WCAG20_Frame_HasTitle.html", - "Fail_1": "WCAG20_Frame_HasTitle.html" + "group": "frame_title_exists.html", + "Pass_0": "frame_title_exists.html", + "Fail_1": "frame_title_exists.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Header_HasContent.ts b/accessibility-checker-engine/src/v4/rules/heading_content_exists.ts similarity index 84% rename from accessibility-checker-engine/src/v4/rules/RPT_Header_HasContent.ts rename to accessibility-checker-engine/src/v4/rules/heading_content_exists.ts index 0696e7398..b8c473975 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Header_HasContent.ts +++ b/accessibility-checker-engine/src/v4/rules/heading_content_exists.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let RPT_Header_HasContent: Rule = { - id: "RPT_Header_HasContent", +export let heading_content_exists: Rule = { + id: "heading_content_exists", context: "dom:h1, dom:h2, dom:h3, dom:h4, dom:h5, dom:h6", + refactor: { + "RPT_Header_HasContent": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "RPT_Header_HasContent.html", - "Fail_1": "RPT_Header_HasContent.html", - "group": "RPT_Header_HasContent.html" + "Pass_0": "heading_content_exists.html", + "Fail_1": "heading_content_exists.html", + "group": "heading_content_exists.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Headers_FewWords.ts b/accessibility-checker-engine/src/v4/rules/heading_markup_misuse.ts similarity index 84% rename from accessibility-checker-engine/src/v4/rules/RPT_Headers_FewWords.ts rename to accessibility-checker-engine/src/v4/rules/heading_markup_misuse.ts index 2dc007d40..cdf9eae63 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Headers_FewWords.ts +++ b/accessibility-checker-engine/src/v4/rules/heading_markup_misuse.ts @@ -15,15 +15,20 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let RPT_Headers_FewWords: Rule = { - id: "RPT_Headers_FewWords", +export let heading_markup_misuse: Rule = { + id: "heading_markup_misuse", context: "dom:h1, dom:h2, dom:h3, dom:h4, dom:h5, dom:h6", - dependencies: ["RPT_Header_HasContent"], + dependencies: ["heading_content_exists"], + refactor: { + "RPT_Headers_FewWords": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1"} + }, help: { "en-US": { - "Pass_0": "RPT_Headers_FewWords.html", - "Potential_1": "RPT_Headers_FewWords.html", - "group": "RPT_Headers_FewWords.html" + "Pass_0": "heading_markup_misuse.html", + "Potential_1": "heading_markup_misuse.html", + "group": "heading_markup_misuse.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Html_HasLang.ts b/accessibility-checker-engine/src/v4/rules/html_lang_exists.ts similarity index 88% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Html_HasLang.ts rename to accessibility-checker-engine/src/v4/rules/html_lang_exists.ts index fe19858a8..727ffda45 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Html_HasLang.ts +++ b/accessibility-checker-engine/src/v4/rules/html_lang_exists.ts @@ -16,20 +16,32 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { AncestorUtil } from "../../v2/checker/accessibility/util/ancestor"; import { LangUtil } from "../../v2/checker/accessibility/util/lang"; -export let WCAG20_Html_HasLang: Rule = { - id: "WCAG20_Html_HasLang", +export let html_lang_exists: Rule = { + id: "html_lang_exists", context: "dom:html", + refactor: { + "WCAG20_Html_HasLang": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1", + "Fail_2": "Fail_2", + "Fail_3": "Fail_3", + "Fail_4": "Fail_4", + "Fail_5": "Fail_5", + "Potential_5": "Potential_5", + "Potential_6": "Potential_6" + } + }, help: { "en-US": { - "group": `WCAG20_Html_HasLang.html`, - "Pass_0": `WCAG20_Html_HasLang.html`, - "Fail_1": `WCAG20_Html_HasLang.html`, - "Fail_2": `WCAG20_Html_HasLang.html`, - "Fail_3": `WCAG20_Html_HasLang.html`, - "Fail_4": `WCAG20_Html_HasLang.html`, - "Fail_5": `WCAG20_Html_HasLang.html`, - "Potential_5": `WCAG20_Html_HasLang.html`, - "Potential_6": `WCAG20_Html_HasLang.html` + "group": `html_lang_exists.html`, + "Pass_0": `html_lang_exists.html`, + "Fail_1": `html_lang_exists.html`, + "Fail_2": `html_lang_exists.html`, + "Fail_3": `html_lang_exists.html`, + "Fail_4": `html_lang_exists.html`, + "Fail_5": `html_lang_exists.html`, + "Potential_5": `html_lang_exists.html`, + "Potential_6": `html_lang_exists.html` } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Html_SkipNav.ts b/accessibility-checker-engine/src/v4/rules/html_skipnav_exists.ts similarity index 92% rename from accessibility-checker-engine/src/v4/rules/RPT_Html_SkipNav.ts rename to accessibility-checker-engine/src/v4/rules/html_skipnav_exists.ts index ba472e97e..55421bf87 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Html_SkipNav.ts +++ b/accessibility-checker-engine/src/v4/rules/html_skipnav_exists.ts @@ -16,14 +16,20 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { FragmentUtil } from "../../v2/checker/accessibility/util/fragment"; -export let RPT_Html_SkipNav: Rule = { - id: "RPT_Html_SkipNav", +export let html_skipnav_exists: Rule = { + id: "html_skipnav_exists", context: "dom:html", + refactor: { + "RPT_Html_SkipNav": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, help: { "en-US": { - "group": `RPT_Html_SkipNav.html`, - "Pass_0": `RPT_Html_SkipNav.html`, - "Potential_1": `RPT_Html_SkipNav.html` + "group": `html_skipnav_exists.html`, + "Pass_0": `html_skipnav_exists.html`, + "Potential_1": `html_skipnav_exists.html` } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Input_ExplicitLabelImage.ts b/accessibility-checker-engine/src/v4/rules/imagebutton_alt_exists.ts similarity index 82% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Input_ExplicitLabelImage.ts rename to accessibility-checker-engine/src/v4/rules/imagebutton_alt_exists.ts index a831516a9..fd48bc709 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Input_ExplicitLabelImage.ts +++ b/accessibility-checker-engine/src/v4/rules/imagebutton_alt_exists.ts @@ -15,16 +15,23 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let WCAG20_Input_ExplicitLabelImage: Rule = { - id: "WCAG20_Input_ExplicitLabelImage", +export let imagebutton_alt_exists: Rule = { + id: "imagebutton_alt_exists", context: "dom:input", + refactor: { + "WCAG20_Input_ExplicitLabelImage": { + "Pass_0": "Pass_0", + "Pass_1": "Pass_1", + "Pass_2": "Pass_2", + "Fail": "Fail"} + }, help: { "en-US": { - "Pass_0": "WCAG20_Input_ExplicitLabelImage.html", - "Pass_1": "WCAG20_Input_ExplicitLabelImage.html", - "Pass_2": "WCAG20_Input_ExplicitLabelImage.html", - "Fail": "WCAG20_Input_ExplicitLabelImage.html", - "group": "WCAG20_Input_ExplicitLabelImage.html" + "Pass_0": "imagebutton_alt_exists.html", + "Pass_1": "imagebutton_alt_exists.html", + "Pass_2": "imagebutton_alt_exists.html", + "Fail": "imagebutton_alt_exists.html", + "group": "imagebutton_alt_exists.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/HAAC_Img_UsemapAlt.ts b/accessibility-checker-engine/src/v4/rules/imagemap_alt_exists.ts similarity index 86% rename from accessibility-checker-engine/src/v4/rules/HAAC_Img_UsemapAlt.ts rename to accessibility-checker-engine/src/v4/rules/imagemap_alt_exists.ts index fd91c899a..0cfa4810a 100644 --- a/accessibility-checker-engine/src/v4/rules/HAAC_Img_UsemapAlt.ts +++ b/accessibility-checker-engine/src/v4/rules/imagemap_alt_exists.ts @@ -16,14 +16,19 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let HAAC_Img_UsemapAlt: Rule = { - id: "HAAC_Img_UsemapAlt", +export let imagemap_alt_exists: Rule = { + id: "imagemap_alt_exists", context: "dom:img[usemap], dom:img[ismap]", + refactor: { + "HAAC_Img_UsemapAlt": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "HAAC_Img_UsemapAlt.html", - "Fail_1": "HAAC_Img_UsemapAlt.html", - "group": "HAAC_Img_UsemapAlt.html" + "Pass_0": "imagemap_alt_exists.html", + "Fail_1": "imagemap_alt_exists.html", + "group": "imagemap_alt_exists.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/HAAC_BackgroundImg_HasTextOrTitle.ts b/accessibility-checker-engine/src/v4/rules/img_alt_background.ts similarity index 88% rename from accessibility-checker-engine/src/v4/rules/HAAC_BackgroundImg_HasTextOrTitle.ts rename to accessibility-checker-engine/src/v4/rules/img_alt_background.ts index c5ec17084..4df64ef49 100644 --- a/accessibility-checker-engine/src/v4/rules/HAAC_BackgroundImg_HasTextOrTitle.ts +++ b/accessibility-checker-engine/src/v4/rules/img_alt_background.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let HAAC_BackgroundImg_HasTextOrTitle: Rule = { - id: "HAAC_BackgroundImg_HasTextOrTitle", +export let img_alt_background: Rule = { + id: "img_alt_background", context: "dom:*", + refactor: { + "HAAC_BackgroundImg_HasTextOrTitle": { + "Pass_0": "Pass_0", + "Manual_1": "Manual_1"} + }, help: { "en-US": { - "Pass_0": "HAAC_BackgroundImg_HasTextOrTitle.html", - "Manual_1": "HAAC_BackgroundImg_HasTextOrTitle.html", - "group": "HAAC_BackgroundImg_HasTextOrTitle.html" + "Pass_0": "img_alt_background.html", + "Manual_1": "img_alt_background.html", + "group": "img_alt_background.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Img_PresentationImgHasNonNullAlt.ts b/accessibility-checker-engine/src/v4/rules/img_alt_decorative.ts similarity index 86% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Img_PresentationImgHasNonNullAlt.ts rename to accessibility-checker-engine/src/v4/rules/img_alt_decorative.ts index 74cd39930..fa9608486 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Img_PresentationImgHasNonNullAlt.ts +++ b/accessibility-checker-engine/src/v4/rules/img_alt_decorative.ts @@ -16,14 +16,19 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let WCAG20_Img_PresentationImgHasNonNullAlt: Rule = { - id: "WCAG20_Img_PresentationImgHasNonNullAlt", +export let img_alt_decorative: Rule = { + id: "img_alt_decorative", context: "dom:img[alt]", + refactor: { + "WCAG20_Img_PresentationImgHasNonNullAlt": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "WCAG20_Img_PresentationImgHasNonNullAlt.html", - "Fail_1": "WCAG20_Img_PresentationImgHasNonNullAlt.html", - "group": "WCAG20_Img_PresentationImgHasNonNullAlt.html" + "Pass_0": "img_alt_decorative.html", + "Fail_1": "img_alt_decorative.html", + "group": "img_alt_decorative.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Img_AltCommonMisuse.ts b/accessibility-checker-engine/src/v4/rules/img_alt_misuse.ts similarity index 90% rename from accessibility-checker-engine/src/v4/rules/RPT_Img_AltCommonMisuse.ts rename to accessibility-checker-engine/src/v4/rules/img_alt_misuse.ts index db0165224..146fc90f2 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Img_AltCommonMisuse.ts +++ b/accessibility-checker-engine/src/v4/rules/img_alt_misuse.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let RPT_Img_AltCommonMisuse: Rule = { - id: "RPT_Img_AltCommonMisuse", +export let img_alt_misuse: Rule = { + id: "img_alt_misuse", context: "dom:img, dom:area, dom:input", + refactor: { + "RPT_Img_AltCommonMisuse": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1"} + }, help: { "en-US": { - "Pass_0": "RPT_Img_AltCommonMisuse.html", - "Potential_1": "RPT_Img_AltCommonMisuse.html", - "group": "RPT_Img_AltCommonMisuse.html" + "Pass_0": "img_alt_misuse.html", + "Potential_1": "img_alt_misuse.html", + "group": "img_alt_misuse.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Img_TitleEmptyWhenAltNull.ts b/accessibility-checker-engine/src/v4/rules/img_alt_null.ts similarity index 87% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Img_TitleEmptyWhenAltNull.ts rename to accessibility-checker-engine/src/v4/rules/img_alt_null.ts index 822c88459..6ae368ac9 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Img_TitleEmptyWhenAltNull.ts +++ b/accessibility-checker-engine/src/v4/rules/img_alt_null.ts @@ -16,14 +16,19 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let WCAG20_Img_TitleEmptyWhenAltNull: Rule = { - id: "WCAG20_Img_TitleEmptyWhenAltNull", +export let img_alt_null: Rule = { + id: "img_alt_null", context: "dom:img[alt]", + refactor: { + "WCAG20_Img_TitleEmptyWhenAltNull": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "WCAG20_Img_TitleEmptyWhenAltNull.html", - "Fail_1": "WCAG20_Img_TitleEmptyWhenAltNull.html", - "group": "WCAG20_Img_TitleEmptyWhenAltNull.html" + "Pass_0": "img_alt_null.html", + "Fail_1": "img_alt_null.html", + "group": "img_alt_null.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Img_LinkTextNotRedundant.ts b/accessibility-checker-engine/src/v4/rules/img_alt_redundant.ts similarity index 90% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Img_LinkTextNotRedundant.ts rename to accessibility-checker-engine/src/v4/rules/img_alt_redundant.ts index a03ec132e..efc29e796 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Img_LinkTextNotRedundant.ts +++ b/accessibility-checker-engine/src/v4/rules/img_alt_redundant.ts @@ -15,16 +15,23 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { NodeWalker, RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let WCAG20_Img_LinkTextNotRedundant: Rule = { - id: "WCAG20_Img_LinkTextNotRedundant", +export let img_alt_redundant: Rule = { + id: "img_alt_redundant", context: "dom:img[alt]", + refactor: { + "WCAG20_Img_LinkTextNotRedundant": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1", + "Fail_2": "Fail_2", + "Fail_3": "Fail_3"} + }, help: { "en-US": { - "Pass_0": "WCAG20_Img_LinkTextNotRedundant.html", - "Fail_1": "WCAG20_Img_LinkTextNotRedundant.html", - "Fail_2": "WCAG20_Img_LinkTextNotRedundant.html", - "Fail_3": "WCAG20_Img_LinkTextNotRedundant.html", - "group": "WCAG20_Img_LinkTextNotRedundant.html" + "Pass_0": "img_alt_redundant.html", + "Fail_1": "img_alt_redundant.html", + "Fail_2": "img_alt_redundant.html", + "Fail_3": "img_alt_redundant.html", + "group": "img_alt_redundant.html" } }, messages: { @@ -51,7 +58,7 @@ export let WCAG20_Img_LinkTextNotRedundant: Rule = { let altText = ruleContext.getAttribute("alt").trim().toLowerCase(); if (altText.length == 0) { - // If alt text is empty, there's no text to be redundant - let WCAG20_A_HasText + // If alt text is empty, there's no text to be redundant - let a_text_purpose // trigger in that case. // So Out of Scope for this rule return null; diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Img_HasAlt.ts b/accessibility-checker-engine/src/v4/rules/img_alt_valid.ts similarity index 88% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Img_HasAlt.ts rename to accessibility-checker-engine/src/v4/rules/img_alt_valid.ts index 128d80fd4..ad8442835 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Img_HasAlt.ts +++ b/accessibility-checker-engine/src/v4/rules/img_alt_valid.ts @@ -16,16 +16,23 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let WCAG20_Img_HasAlt: Rule = { - id: "WCAG20_Img_HasAlt", +export let img_alt_valid: Rule = { + id: "img_alt_valid", context: "dom:img", + refactor: { + "WCAG20_Img_HasAlt": { + "pass": "pass", + "fail_blank_alt": "fail_blank_alt", + "fail_no_alt": "fail_no_alt", + "fail_blank_title": "fail_blank_title"} + }, help: { "en-US": { - "pass": "WCAG20_Img_HasAlt.html", - "fail_blank_alt": "WCAG20_Img_HasAlt.html", - "fail_no_alt": "WCAG20_Img_HasAlt.html", - "fail_blank_title": "WCAG20_Img_HasAlt.html", - "group": "WCAG20_Img_HasAlt.html" + "pass": "img_alt_valid.html", + "fail_blank_alt": "img_alt_valid.html", + "fail_no_alt": "img_alt_valid.html", + "fail_blank_title": "img_alt_valid.html", + "group": "img_alt_valid.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Img_UsemapValid.ts b/accessibility-checker-engine/src/v4/rules/img_ismap_misuse.ts similarity index 88% rename from accessibility-checker-engine/src/v4/rules/RPT_Img_UsemapValid.ts rename to accessibility-checker-engine/src/v4/rules/img_ismap_misuse.ts index 1b42473de..c734da382 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Img_UsemapValid.ts +++ b/accessibility-checker-engine/src/v4/rules/img_ismap_misuse.ts @@ -16,14 +16,19 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let RPT_Img_UsemapValid: Rule = { - id: "RPT_Img_UsemapValid", +export let img_ismap_misuse: Rule = { + id: "img_ismap_misuse", context: "dom:img[ismap]", + refactor: { + "RPT_Img_UsemapValid": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1"} + }, help: { "en-US": { - "Pass_0": "RPT_Img_UsemapValid.html", - "Potential_1": "RPT_Img_UsemapValid.html", - "group": "RPT_Img_UsemapValid.html" + "Pass_0": "img_ismap_misuse.html", + "Potential_1": "img_ismap_misuse.html", + "group": "img_ismap_misuse.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Img_LongDescription2.ts b/accessibility-checker-engine/src/v4/rules/img_longdesc_misuse.ts similarity index 87% rename from accessibility-checker-engine/src/v4/rules/RPT_Img_LongDescription2.ts rename to accessibility-checker-engine/src/v4/rules/img_longdesc_misuse.ts index 8dce813fb..82ebd424f 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Img_LongDescription2.ts +++ b/accessibility-checker-engine/src/v4/rules/img_longdesc_misuse.ts @@ -16,14 +16,19 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let RPT_Img_LongDescription2: Rule = { - id: "RPT_Img_LongDescription2", +export let img_longdesc_misuse: Rule = { + id: "img_longdesc_misuse", context: "dom:img[longdesc]", + refactor: { + "RPT_Img_LongDescription2": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1"} + }, help: { "en-US": { - "Pass_0": "RPT_Img_LongDescription2.html", - "Potential_1": "RPT_Img_LongDescription2.html", - "group": "RPT_Img_LongDescription2.html" + "Pass_0": "img_longdesc_misuse.html", + "Potential_1": "img_longdesc_misuse.html", + "group": "img_longdesc_misuse.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/index.ts b/accessibility-checker-engine/src/v4/rules/index.ts index 7f771903e..42aa4ffe2 100644 --- a/accessibility-checker-engine/src/v4/rules/index.ts +++ b/accessibility-checker-engine/src/v4/rules/index.ts @@ -13,172 +13,172 @@ // This file is automatically generated by "npm run prebuild". Do not edit +export * from "./a_target_warning" +export * from "./a_text_purpose" +export * from "./applet_alt_exists" +export * from "./application_content_accessible" +export * from "./area_alt_exists" +export * from "./aria_activedescendant_tabindex_valid" +export * from "./aria_activedescendant_valid" +export * from "./aria_application_label_unique" +export * from "./aria_application_labelled" +export * from "./aria_article_label_unique" +export * from "./aria_attribute_allowed" export * from "./aria_attribute_conflict" export * from "./aria_attribute_deprecated" +export * from "./aria_attribute_exists" export * from "./aria_attribute_redundant" +export * from "./aria_attribute_required" +export * from "./aria_attribute_value_valid" +export * from "./aria_banner_label_unique" +export * from "./aria_banner_single" +export * from "./aria_child_tabbable" export * from "./aria_child_valid" +export * from "./aria_complementary_label_unique" +export * from "./aria_complementary_label_visible" +export * from "./aria_complementary_labelled" +export * from "./aria_content_in_landmark" +export * from "./aria_contentinfo_label_unique" +export * from "./aria_contentinfo_misuse" +export * from "./aria_contentinfo_single" export * from "./aria_descendant_valid" -export * from "./aria_hidden_focus_misuse" +export * from "./aria_document_label_unique" +export * from "./aria_eventhandler_role_valid" +export * from "./aria_form_label_unique" +export * from "./aria_graphic_labelled" +export * from "./aria_hidden_nontabbable" +export * from "./aria_id_unique" +export * from "./aria_img_labelled" +export * from "./aria_keyboard_handler_exists" +export * from "./aria_landmark_name_unique" +export * from "./aria_main_label_unique" +export * from "./aria_main_label_visible" +export * from "./aria_navigation_label_unique" +export * from "./aria_parent_required" +export * from "./aria_region_label_unique" +export * from "./aria_region_labelled" +export * from "./aria_role_allowed" export * from "./aria_role_redundant" +export * from "./aria_search_label_unique" export * from "./aria_semantics" +export * from "./aria_toolbar_label_unique" +export * from "./aria_widget_labelled" +export * from "./asciiart_alt_exists" +export * from "./blink_css_review" +export * from "./blink_elem_deprecated" +export * from "./blockquote_cite_exists" +export * from "./canvas_content_described" +export * from "./caption_track_exists" export * from "./combobox_active_descendant" -export * from "./combobox_autocomplete" +export * from "./combobox_autocomplete_valid" +export * from "./combobox_design_valid" export * from "./combobox_focusable_elements" -export * from "./combobox_haspopup" +export * from "./combobox_haspopup_valid" export * from "./combobox_popup_reference" -export * from "./combobox_version" export * from "./debug_paths" export * from "./detector_tabbable" +export * from "./dir_attribute_valid" +export * from "./download_keyboard_controllable" +export * from "./element_accesskey_labelled" +export * from "./element_accesskey_unique" export * from "./element_attribute_deprecated" +export * from "./element_id_unique" export * from "./element_lang_valid" +export * from "./element_mouseevent_keyboard" export * from "./element_orientation_unlocked" export * from "./element_scrollable_tabbable" export * from "./element_tabbable_role_valid" export * from "./element_tabbable_visible" -export * from "./group_withInputs_hasName" -export * from "./HAAC_Accesskey_NeedLabel" -export * from "./HAAC_ActiveDescendantCheck" -export * from "./HAAC_Application_Role_Text" -export * from "./HAAC_Aria_ErrorMessage" -export * from "./HAAC_Aria_ImgAlt" -export * from "./HAAC_Aria_SvgAlt" -export * from "./HAAC_Audio_Video_Trigger" -export * from "./HAAC_BackgroundImg_HasTextOrTitle" -export * from "./HAAC_Canvas" -export * from "./HAAC_Figure_label" -export * from "./HAAC_Img_UsemapAlt" -export * from "./HAAC_Input_Placeholder" -export * from "./HAAC_List_Group_ListItem" -export * from "./HAAC_Media_DocumentTrigger2" -export * from "./HAAC_Video_HasNoTrack" -export * from "./IBMA_Color_Contrast_WCAG2AA" +export * from "./embed_alt_exists" +export * from "./embed_noembed_exists" +export * from "./emoticons_alt_exists" +export * from "./error_message_exists" +export * from "./fieldset_label_valid" +export * from "./fieldset_legend_valid" +export * from "./figure_label_exists" +export * from "./form_font_color" +export * from "./form_interaction_review" +export * from "./form_label_unique" +export * from "./form_submit_button_exists" +export * from "./form_submit_review" +export * from "./frame_src_valid" +export * from "./frame_title_exists" +export * from "./heading_content_exists" +export * from "./heading_markup_misuse" +export * from "./html_lang_exists" +export * from "./html_skipnav_exists" export * from "./IBMA_Color_Contrast_WCAG2AA_PV" -export * from "./IBMA_Focus_MultiTab" -export * from "./IBMA_Focus_Tabbable" export * from "./iframe_interactive_tabbable" -export * from "./input_haspopup_invalid" -export * from "./landmark_name_unique" -export * from "./meta_viewport_zoom" -export * from "./Rpt_Aria_ApplicationLandmarkLabel" -export * from "./Rpt_Aria_ComplementaryLandmarkLabel_Implicit" -export * from "./Rpt_Aria_ComplementaryRequiredLabel_Implicit" -export * from "./Rpt_Aria_ContentinfoWithNoMain_Implicit" -export * from "./Rpt_Aria_EmptyPropertyValue" -export * from "./Rpt_Aria_EventHandlerMissingRole_Native_Host_Sematics" -export * from "./Rpt_Aria_InvalidTabindexForActivedescendant" -export * from "./Rpt_Aria_MissingFocusableChild" -export * from "./Rpt_Aria_MissingKeyboardHandler" -export * from "./Rpt_Aria_MultipleApplicationLandmarks" -export * from "./Rpt_Aria_MultipleArticleRoles_Implicit" -export * from "./Rpt_Aria_MultipleBannerLandmarks_Implicit" -export * from "./Rpt_Aria_MultipleComplementaryLandmarks_Implicit" -export * from "./Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit" -export * from "./Rpt_Aria_MultipleContentinfoLandmarks_Implicit" -export * from "./Rpt_Aria_MultipleDocumentRoles" -export * from "./Rpt_Aria_MultipleFormLandmarks_Implicit" -export * from "./Rpt_Aria_MultipleMainsRequireLabel_Implicit_2" -export * from "./Rpt_Aria_MultipleMainsVisibleLabel_Implicit" -export * from "./Rpt_Aria_MultipleNavigationLandmarks_Implicit" -export * from "./Rpt_Aria_MultipleRegionsUniqueLabel_Implicit" -export * from "./Rpt_Aria_MultipleSearchLandmarks" -export * from "./Rpt_Aria_MultipleToolbarUniqueLabel" -export * from "./Rpt_Aria_OneBannerInSiblingSet_Implicit" -export * from "./Rpt_Aria_OrphanedContent_Native_Host_Sematics" -export * from "./Rpt_Aria_RegionLabel_Implicit" -export * from "./Rpt_Aria_RequiredParent_Native_Host_Sematics" -export * from "./Rpt_Aria_RequiredProperties" -export * from "./Rpt_Aria_ValidIdRef" -export * from "./Rpt_Aria_ValidProperty" -export * from "./Rpt_Aria_ValidPropertyValue" -export * from "./Rpt_Aria_ValidRole" -export * from "./Rpt_Aria_WidgetLabels_Implicit" -export * from "./RPT_Blink_CSSTrigger1" -export * from "./RPT_Block_ShouldBeHeading" -export * from "./RPT_Blockquote_HasCite" -export * from "./RPT_Elem_EventMouseAndKey" -export * from "./RPT_Elem_UniqueId" -export * from "./RPT_Embed_AutoStart" -export * from "./RPT_Embed_HasAlt" -export * from "./RPT_Font_ColorInForm" -export * from "./RPT_Form_ChangeEmpty" -export * from "./RPT_Header_HasContent" -export * from "./RPT_Headers_FewWords" -export * from "./RPT_Html_SkipNav" -export * from "./RPT_Img_AltCommonMisuse" -export * from "./RPT_Img_LongDescription2" -export * from "./RPT_Img_UsemapValid" -export * from "./RPT_Label_UniqueFor" -export * from "./RPT_List_Misuse" -export * from "./RPT_List_UseMarkup" -export * from "./RPT_Marquee_Trigger" -export * from "./RPT_Media_AltBrief" -export * from "./RPT_Media_AudioTrigger" -export * from "./RPT_Media_AudioVideoAltFilename" -export * from "./RPT_Media_VideoObjectTrigger" -export * from "./RPT_Media_VideoReferenceTrigger" -export * from "./RPT_Meta_Refresh" -export * from "./RPT_Pre_ASCIIArt" -export * from "./RPT_Script_OnclickHTML1" -export * from "./RPT_Script_OnclickHTML2" -export * from "./RPT_Style_BackgroundImage" -export * from "./RPT_Style_ColorSemantics1" -export * from "./RPT_Style_HinderFocus1" -export * from "./RPT_Style_Trigger2" -export * from "./RPT_Table_DataHeadingsAria" -export * from "./RPT_Table_LayoutTrigger" -export * from "./RPT_Text_SensoryReference" -export * from "./RPT_Title_Valid" +export * from "./imagebutton_alt_exists" +export * from "./imagemap_alt_exists" +export * from "./img_alt_background" +export * from "./img_alt_decorative" +export * from "./img_alt_misuse" +export * from "./img_alt_null" +export * from "./img_alt_redundant" +export * from "./img_alt_valid" +export * from "./img_ismap_misuse" +export * from "./img_longdesc_misuse" +export * from "./input_autocomplete_valid" +export * from "./input_checkboxes_grouped" +export * from "./input_fields_grouped" +export * from "./input_haspopup_conflict" +export * from "./input_label_after" +export * from "./input_label_before" +export * from "./input_label_exists" +export * from "./input_label_visible" +export * from "./input_onchange_review" +export * from "./input_placeholder_label_visible" +export * from "./label_content_exists" +export * from "./label_name_visible" +export * from "./label_ref_valid" +export * from "./list_children_valid" +export * from "./list_markup_review" +export * from "./list_structure_proper" +export * from "./marquee_elem_avoid" +export * from "./media_alt_brief" +export * from "./media_alt_exists" +export * from "./media_audio_transcribed" +export * from "./media_autostart_controllable" +export * from "./media_keyboard_controllable" +export * from "./media_live_captioned" +export * from "./media_track_available" +export * from "./meta_redirect_optional" +export * from "./meta_refresh_delay" +export * from "./meta_viewport_zoomable" +export * from "./noembed_content_exists" +export * from "./object_text_exists" +export * from "./page_title_exists" +export * from "./page_title_valid" +export * from "./script_focus_blur_review" +export * from "./script_onclick_avoid" +export * from "./script_onclick_misuse" +export * from "./script_select_review" +export * from "./select_options_grouped" +export * from "./skip_main_described" +export * from "./skip_main_exists" +export * from "./style_background_decorative" +export * from "./style_before_after_review" +export * from "./style_color_misuse" +export * from "./style_focus_visible" +export * from "./style_highcontrast_visible" export * from "./style_hover_persistent" +export * from "./style_viewport_resizable" export * from "./table_aria_descendants" +export * from "./table_caption_empty" +export * from "./table_caption_nested" +export * from "./table_headers_exists" export * from "./table_headers_ref_valid" +export * from "./table_headers_related" +export * from "./table_layout_linearized" +export * from "./table_scope_valid" +export * from "./table_structure_misuse" +export * from "./table_summary_redundant" +export * from "./text_block_heading" +export * from "./text_contrast_sufficient" export * from "./text_quoted_correctly" +export * from "./text_sensory_misuse" export * from "./text_spacing_valid" export * from "./text_whitespace_valid" -export * from "./Valerie_Caption_HasContent" -export * from "./Valerie_Caption_InTable" -export * from "./Valerie_Elem_DirValid" -export * from "./Valerie_Frame_SrcHtml" -export * from "./Valerie_Label_HasContent" -export * from "./Valerie_Noembed_HasContent" -export * from "./Valerie_Table_DataCellRelationships" -export * from "./WCAG20_A_HasText" -export * from "./WCAG20_A_TargetAndText" -export * from "./WCAG20_Applet_HasAlt" -export * from "./WCAG20_Area_HasAlt" -export * from "./WCAG20_Blink_AlwaysTrigger" -export * from "./WCAG20_Body_FirstAContainsSkipText_Native_Host_Sematics" -export * from "./WCAG20_Body_FirstASkips_Native_Host_Sematics" -export * from "./WCAG20_Doc_HasTitle" -export * from "./WCAG20_Elem_UniqueAccessKey" -export * from "./WCAG20_Embed_HasNoEmbed" -export * from "./WCAG20_Fieldset_HasLegend" -export * from "./WCAG20_Form_HasSubmit" -export * from "./WCAG20_Form_TargetAndText" -export * from "./WCAG20_Frame_HasTitle" -export * from "./WCAG20_Html_HasLang" -export * from "./WCAG20_Img_HasAlt" -export * from "./WCAG20_Img_LinkTextNotRedundant" -export * from "./WCAG20_Img_PresentationImgHasNonNullAlt" -export * from "./WCAG20_Img_TitleEmptyWhenAltNull" -export * from "./WCAG20_Input_ExplicitLabel" -export * from "./WCAG20_Input_ExplicitLabelImage" -export * from "./WCAG20_Input_HasOnchange" -export * from "./WCAG20_Input_InFieldSet" -export * from "./WCAG20_Input_LabelAfter" -export * from "./WCAG20_Input_LabelBefore" -export * from "./WCAG20_Input_RadioChkInFieldSet" -export * from "./WCAG20_Input_VisibleLabel" -export * from "./WCAG20_Label_RefValid" -export * from "./WCAG20_Meta_RedirectZero" -export * from "./WCAG20_Object_HasText" -export * from "./WCAG20_Script_FocusBlurs" -export * from "./WCAG20_Select_HasOptGroup" -export * from "./WCAG20_Select_NoChangeAction" -export * from "./WCAG20_Style_BeforeAfter" -export * from "./WCAG20_Table_CapSummRedundant" -export * from "./WCAG20_Table_Scope_Valid" -export * from "./WCAG20_Table_Structure" -export * from "./WCAG20_Text_Emoticons" -export * from "./WCAG21_Input_Autocomplete" -export * from "./WCAG21_Label_Accessible" -export * from "./WCAG21_Style_Viewport" \ No newline at end of file +export * from "./widget_tabbable_exists" +export * from "./widget_tabbable_single" \ No newline at end of file diff --git a/accessibility-checker-engine/src/v4/rules/WCAG21_Input_Autocomplete.ts b/accessibility-checker-engine/src/v4/rules/input_autocomplete_valid.ts similarity index 95% rename from accessibility-checker-engine/src/v4/rules/WCAG21_Input_Autocomplete.ts rename to accessibility-checker-engine/src/v4/rules/input_autocomplete_valid.ts index 1a70d8fb1..015614ae7 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG21_Input_Autocomplete.ts +++ b/accessibility-checker-engine/src/v4/rules/input_autocomplete_valid.ts @@ -16,16 +16,24 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let WCAG21_Input_Autocomplete: Rule = { - id: "WCAG21_Input_Autocomplete", +export let input_autocomplete_valid: Rule = { + id: "input_autocomplete_valid", context: "dom:input[autocomplete], dom:textarea[autocomplete], dom:select[autocomplete]", + refactor: { + "WCAG21_Input_Autocomplete": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1", + "Fail_2": "Fail_2", + "Fail_attribute_incorrect": "Fail_attribute_incorrect" + } + }, help: { "en-US": { - "group": "WCAG21_Input_Autocomplete.html", - "Pass_0": "WCAG21_Input_Autocomplete.html", - "Fail_1": "WCAG21_Input_Autocomplete.html", - "Fail_2": "WCAG21_Input_Autocomplete.html", - "Fail_attribute_incorrect": "WCAG21_Input_Autocomplete.html" + "group": "input_autocomplete_valid.html", + "Pass_0": "input_autocomplete_valid.html", + "Fail_1": "input_autocomplete_valid.html", + "Fail_2": "input_autocomplete_valid.html", + "Fail_attribute_incorrect": "input_autocomplete_valid.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Input_RadioChkInFieldSet.ts b/accessibility-checker-engine/src/v4/rules/input_checkboxes_grouped.ts similarity index 87% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Input_RadioChkInFieldSet.ts rename to accessibility-checker-engine/src/v4/rules/input_checkboxes_grouped.ts index feedc3493..37b4ea1bf 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Input_RadioChkInFieldSet.ts +++ b/accessibility-checker-engine/src/v4/rules/input_checkboxes_grouped.ts @@ -18,21 +18,34 @@ import { DOMWalker } from "../../v2/dom/DOMWalker"; import { getCache, setCache } from "../util/CacheUtil"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let WCAG20_Input_RadioChkInFieldSet: Rule = { - id: "WCAG20_Input_RadioChkInFieldSet", +export let input_checkboxes_grouped: Rule = { + id: "input_checkboxes_grouped", context: "dom:input", + refactor: { + "WCAG20_Input_RadioChkInFieldSet": { + "Pass_LoneNogroup": "Pass_LoneNogroup", + "Pass_Grouped": "Pass_Grouped", + "Pass_RadioNoName": "Pass_RadioNoName", + "Fail_ControlNameMismatch": "Fail_ControlNameMismatch", + "Fail_NotGroupedOtherGrouped": "Fail_NotGroupedOtherGrouped", + "Fail_NotGroupedOtherNotGrouped": "Fail_NotGroupedOtherNotGrouped", + "Fail_NotSameGroup": "Fail_NotSameGroup", + "Potential_LoneCheckbox": "Potential_LoneCheckbox", + "Potential_UnnamedCheckbox": "Potential_UnnamedCheckbox" + } + }, help: { "en-US": { - "group": "WCAG20_Input_RadioChkInFieldSet.html", - "Pass_LoneNogroup": "WCAG20_Input_RadioChkInFieldSet.html", - "Pass_Grouped": "WCAG20_Input_RadioChkInFieldSet.html", - "Pass_RadioNoName": "WCAG20_Input_RadioChkInFieldSet.html", - "Fail_ControlNameMismatch": "WCAG20_Input_RadioChkInFieldSet.html", - "Fail_NotGroupedOtherGrouped": "WCAG20_Input_RadioChkInFieldSet.html", - "Fail_NotGroupedOtherNotGrouped": "WCAG20_Input_RadioChkInFieldSet.html", - "Fail_NotSameGroup": "WCAG20_Input_RadioChkInFieldSet.html", - "Potential_LoneCheckbox": "WCAG20_Input_RadioChkInFieldSet.html", - "Potential_UnnamedCheckbox": "WCAG20_Input_RadioChkInFieldSet.html" + "group": "input_checkboxes_grouped.html", + "Pass_LoneNogroup": "input_checkboxes_grouped.html", + "Pass_Grouped": "input_checkboxes_grouped.html", + "Pass_RadioNoName": "input_checkboxes_grouped.html", + "Fail_ControlNameMismatch": "input_checkboxes_grouped.html", + "Fail_NotGroupedOtherGrouped": "input_checkboxes_grouped.html", + "Fail_NotGroupedOtherNotGrouped": "input_checkboxes_grouped.html", + "Fail_NotSameGroup": "input_checkboxes_grouped.html", + "Potential_LoneCheckbox": "input_checkboxes_grouped.html", + "Potential_UnnamedCheckbox": "input_checkboxes_grouped.html" } }, messages: { @@ -88,7 +101,7 @@ export let WCAG20_Input_RadioChkInFieldSet: Rule = { // Get data about all of the visible checkboxes and radios in the scope of this form // and cache it for all of the other inputs in this scope - let formCache = getCache(ctxForm, "WCAG20_Input_RadioChkInFieldSet", null); + let formCache = getCache(ctxForm, "input_checkboxes_grouped", null); if (!formCache) { formCache = { checkboxByName: {}, @@ -145,7 +158,7 @@ export let WCAG20_Input_RadioChkInFieldSet: Rule = { ++formCache.numRadios; } } - setCache(ctxForm, "WCAG20_Input_RadioChkInFieldSet", formCache); + setCache(ctxForm, "input_checkboxes_grouped", formCache); } ///////////// Calculated everything, now check the various cases diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Input_InFieldSet.ts b/accessibility-checker-engine/src/v4/rules/input_fields_grouped.ts similarity index 90% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Input_InFieldSet.ts rename to accessibility-checker-engine/src/v4/rules/input_fields_grouped.ts index ac0cfb27c..153f11a0f 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Input_InFieldSet.ts +++ b/accessibility-checker-engine/src/v4/rules/input_fields_grouped.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let WCAG20_Input_InFieldSet: Rule = { - id: "WCAG20_Input_InFieldSet", +export let input_fields_grouped: Rule = { + id: "input_fields_grouped", context: "dom:input, dom:textarea, dom:select", + refactor: { + "WCAG20_Input_InFieldSet": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1"} + }, help: { "en-US": { - "Pass_0": "WCAG20_Input_InFieldSet.html", - "Potential_1": "WCAG20_Input_InFieldSet.html", - "group": "WCAG20_Input_InFieldSet.html" + "Pass_0": "input_fields_grouped.html", + "Potential_1": "input_fields_grouped.html", + "group": "input_fields_grouped.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/input_haspopup_invalid.ts b/accessibility-checker-engine/src/v4/rules/input_haspopup_conflict.ts similarity index 85% rename from accessibility-checker-engine/src/v4/rules/input_haspopup_invalid.ts rename to accessibility-checker-engine/src/v4/rules/input_haspopup_conflict.ts index d1d62f5ad..19f329be4 100644 --- a/accessibility-checker-engine/src/v4/rules/input_haspopup_invalid.ts +++ b/accessibility-checker-engine/src/v4/rules/input_haspopup_conflict.ts @@ -14,15 +14,21 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, RulePass, RuleContextHierarchy } from "../api/IRule"; import { eRulePolicy, eToolkitLevel } from "../api/IRule"; -export let input_haspopup_invalid: Rule = { - id: "input_haspopup_invalid", +export let input_haspopup_conflict: Rule = { + id: "input_haspopup_conflict", context: "dom:input[list][aria-haspopup]", + refactor: { + "input_haspopup_invalid": { + "Pass": "Pass", + "Potential_1": "Potential_1", + "Potential_2": "Potential_2"} + }, help: { "en-US": { - "Pass": "input_haspopup_invalid.html", - "Potential_1": "input_haspopup_invalid.html", - "Potential_2": "input_haspopup_invalid.html", - "group": "input_haspopup_invalid.html" + "Pass": "input_haspopup_conflict.html", + "Potential_1": "input_haspopup_conflict.html", + "Potential_2": "input_haspopup_conflict.html", + "group": "input_haspopup_conflict.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Input_LabelAfter.ts b/accessibility-checker-engine/src/v4/rules/input_label_after.ts similarity index 89% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Input_LabelAfter.ts rename to accessibility-checker-engine/src/v4/rules/input_label_after.ts index f034c1bb2..5ac793871 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Input_LabelAfter.ts +++ b/accessibility-checker-engine/src/v4/rules/input_label_after.ts @@ -15,15 +15,21 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { NodeWalker, RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let WCAG20_Input_LabelAfter: Rule = { - id: "WCAG20_Input_LabelAfter", +export let input_label_after: Rule = { + id: "input_label_after", context: "dom:input", + refactor: { + "WCAG20_Input_LabelAfter": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1", + "Fail_2": "Fail_2"} + }, help: { "en-US": { - "Pass_0": "WCAG20_Input_LabelAfter.html", - "Fail_1": "WCAG20_Input_LabelAfter.html", - "Fail_2": "WCAG20_Input_LabelAfter.html", - "group": "WCAG20_Input_LabelAfter.html" + "Pass_0": "input_label_after.html", + "Fail_1": "input_label_after.html", + "Fail_2": "input_label_after.html", + "group": "input_label_after.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Input_LabelBefore.ts b/accessibility-checker-engine/src/v4/rules/input_label_before.ts similarity index 89% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Input_LabelBefore.ts rename to accessibility-checker-engine/src/v4/rules/input_label_before.ts index 0086e423d..d9bba8d64 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Input_LabelBefore.ts +++ b/accessibility-checker-engine/src/v4/rules/input_label_before.ts @@ -15,15 +15,21 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let WCAG20_Input_LabelBefore: Rule = { - id: "WCAG20_Input_LabelBefore", +export let input_label_before: Rule = { + id: "input_label_before", context: "dom:input, dom:textarea, dom:select", + refactor: { + "WCAG20_Input_LabelBefore": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1", + "Fail_2": "Fail_2"} + }, help: { "en-US": { - "Pass_0": "WCAG20_Input_LabelBefore.html", - "Fail_1": "WCAG20_Input_LabelBefore.html", - "Fail_2": "WCAG20_Input_LabelBefore.html", - "group": "WCAG20_Input_LabelBefore.html" + "Pass_0": "input_label_before.html", + "Fail_1": "input_label_before.html", + "Fail_2": "input_label_before.html", + "group": "input_label_before.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Input_ExplicitLabel.ts b/accessibility-checker-engine/src/v4/rules/input_label_exists.ts similarity index 95% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Input_ExplicitLabel.ts rename to accessibility-checker-engine/src/v4/rules/input_label_exists.ts index aca4123a0..7380b9a0c 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Input_ExplicitLabel.ts +++ b/accessibility-checker-engine/src/v4/rules/input_label_exists.ts @@ -17,15 +17,21 @@ import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { FragmentUtil } from "../../v2/checker/accessibility/util/fragment"; import { DOMWalker } from "../../v2/dom/DOMWalker"; -export let WCAG20_Input_ExplicitLabel: Rule = { - id: "WCAG20_Input_ExplicitLabel", +export let input_label_exists: Rule = { + id: "input_label_exists", context: "aria:button,aria:checkbox,aria:combobox,aria:listbox,aria:menuitemcheckbox,aria:menuitemradio,aria:radio,aria:searchbox,aria:slider,aria:spinbutton,aria:switch,aria:textbox,aria:progressbar,dom:input[type=file],dom:output,dom:meter,dom:input[type=password]", + refactor: { + "WCAG20_Input_ExplicitLabel": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1", + "Fail_2": "Fail_2"} + }, help: { "en-US": { - "Pass_0": "WCAG20_Input_ExplicitLabel.html", - "Fail_1": "WCAG20_Input_ExplicitLabel.html", - "Fail_2": "WCAG20_Input_ExplicitLabel.html", - "group": "WCAG20_Input_ExplicitLabel.html" + "Pass_0": "input_label_exists.html", + "Fail_1": "input_label_exists.html", + "Fail_2": "input_label_exists.html", + "group": "input_label_exists.html" } }, messages: { @@ -68,7 +74,7 @@ export let WCAG20_Input_ExplicitLabel: Rule = { type = "text"; } if (type === "image") { - // Handled by WCAG20_Input_ExplicitLabelImage + // Handled by input_label_existsImage return null; } diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Input_VisibleLabel.ts b/accessibility-checker-engine/src/v4/rules/input_label_visible.ts similarity index 95% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Input_VisibleLabel.ts rename to accessibility-checker-engine/src/v4/rules/input_label_visible.ts index 5d08d7495..10f842625 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Input_VisibleLabel.ts +++ b/accessibility-checker-engine/src/v4/rules/input_label_visible.ts @@ -17,15 +17,20 @@ import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { FragmentUtil } from "../../v2/checker/accessibility/util/fragment"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let WCAG20_Input_VisibleLabel: Rule = { - id: "WCAG20_Input_VisibleLabel", +export let input_label_visible: Rule = { + id: "input_label_visible", context: "aria:button,aria:checkbox,aria:combobox,aria:listbox,aria:menuitemcheckbox,aria:menuitemradio,aria:radio,aria:searchbox,aria:slider,aria:spinbutton,aria:switch,aria:textbox,aria:progressbar,dom:input[type=file],dom:output", - dependencies: ["WCAG20_Input_ExplicitLabel"], + dependencies: ["input_label_exists"], + refactor: { + "WCAG20_Input_VisibleLabel": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1"} + }, help: { "en-US": { - "Pass_0": "WCAG20_Input_VisibleLabel.html", - "Potential_1": "WCAG20_Input_VisibleLabel.html", - "group": "WCAG20_Input_VisibleLabel.html" + "Pass_0": "input_label_visible.html", + "Potential_1": "input_label_visible.html", + "group": "input_label_visible.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Input_HasOnchange.ts b/accessibility-checker-engine/src/v4/rules/input_onchange_review.ts similarity index 86% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Input_HasOnchange.ts rename to accessibility-checker-engine/src/v4/rules/input_onchange_review.ts index a1543cccc..104b073dc 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Input_HasOnchange.ts +++ b/accessibility-checker-engine/src/v4/rules/input_onchange_review.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let WCAG20_Input_HasOnchange: Rule = { - id: "WCAG20_Input_HasOnchange", +export let input_onchange_review: Rule = { + id: "input_onchange_review", context: "dom:input, dom:textarea, dom:select", + refactor: { + "WCAG20_Input_HasOnchange": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1"} + }, help: { "en-US": { - "Pass_0": "WCAG20_Input_HasOnchange.html", - "Potential_1": "WCAG20_Input_HasOnchange.html", - "group": "WCAG20_Input_HasOnchange.html" + "Pass_0": "input_onchange_review.html", + "Potential_1": "input_onchange_review.html", + "group": "input_onchange_review.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/HAAC_Input_Placeholder.ts b/accessibility-checker-engine/src/v4/rules/input_placeholder_label_visible.ts similarity index 84% rename from accessibility-checker-engine/src/v4/rules/HAAC_Input_Placeholder.ts rename to accessibility-checker-engine/src/v4/rules/input_placeholder_label_visible.ts index bdec7e660..ae98097ca 100644 --- a/accessibility-checker-engine/src/v4/rules/HAAC_Input_Placeholder.ts +++ b/accessibility-checker-engine/src/v4/rules/input_placeholder_label_visible.ts @@ -14,15 +14,21 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, RulePass, RuleContextHierarchy } from "../api/IRule"; import { eRulePolicy, eToolkitLevel } from "../api/IRule"; -export let HAAC_Input_Placeholder: Rule = { - id: "HAAC_Input_Placeholder", +export let input_placeholder_label_visible: Rule = { + id: "input_placeholder_label_visible", context: "dom:input[placeholder], dom:textarea[placeholder]", + refactor: { + "HAAC_Input_Placeholder": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1", + "Potential_2": "Potential_2"} + }, help: { "en-US": { - "Pass_0": "HAAC_Input_Placeholder.html", - "Potential_1": "HAAC_Input_Placeholder.html", - "Potential_2": "HAAC_Input_Placeholder.html", - "group": "HAAC_Input_Placeholder.html" + "Pass_0": "input_placeholder_label_visible.html", + "Potential_1": "input_placeholder_label_visible.html", + "Potential_2": "input_placeholder_label_visible.html", + "group": "input_placeholder_label_visible.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/Valerie_Label_HasContent.ts b/accessibility-checker-engine/src/v4/rules/label_content_exists.ts similarity index 81% rename from accessibility-checker-engine/src/v4/rules/Valerie_Label_HasContent.ts rename to accessibility-checker-engine/src/v4/rules/label_content_exists.ts index 0dae019b0..d70ef55c7 100644 --- a/accessibility-checker-engine/src/v4/rules/Valerie_Label_HasContent.ts +++ b/accessibility-checker-engine/src/v4/rules/label_content_exists.ts @@ -16,16 +16,24 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { FragmentUtil } from "../../v2/checker/accessibility/util/fragment"; -export let Valerie_Label_HasContent: Rule = { - id: "Valerie_Label_HasContent", +export let label_content_exists: Rule = { + id: "label_content_exists", context: "dom:label", + refactor: { + "Valerie_Label_HasContent": { + "Pass_Regular": "Pass_Regular", + "Pass_AriaLabel": "Pass_AriaLabel", + "Pass_LabelledBy": "Pass_LabelledBy", + "Fail_1": "Fail_1" + } + }, help: { "en-US": { - "Pass_Regular": "Valerie_Label_HasContent.html", - "Pass_AriaLabel": "Valerie_Label_HasContent.html", - "Pass_LabelledBy": "Valerie_Label_HasContent.html", - "Fail_1": "Valerie_Label_HasContent.html", - "group": "Valerie_Label_HasContent.html" + "Pass_Regular": "label_content_exists.html", + "Pass_AriaLabel": "label_content_exists.html", + "Pass_LabelledBy": "label_content_exists.html", + "Fail_1": "label_content_exists.html", + "group": "label_content_exists.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG21_Label_Accessible.ts b/accessibility-checker-engine/src/v4/rules/label_name_visible.ts similarity index 96% rename from accessibility-checker-engine/src/v4/rules/WCAG21_Label_Accessible.ts rename to accessibility-checker-engine/src/v4/rules/label_name_visible.ts index 22ef72198..d407c5110 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG21_Label_Accessible.ts +++ b/accessibility-checker-engine/src/v4/rules/label_name_visible.ts @@ -19,14 +19,19 @@ import { VisUtil } from "../../v2/dom/VisUtil"; import { isMaterialIconFont } from "../util/CSSUtil"; import { DOMWalker } from "../../v2/dom/DOMWalker"; -export let WCAG21_Label_Accessible: Rule = { - id: "WCAG21_Label_Accessible", +export let label_name_visible: Rule = { + id: "label_name_visible", context: "aria:button,aria:checkbox,aria:gridcell,aria:link,aria:menuitem,aria:menuitemcheckbox,aria:menuitemradio,aria:option,aria:radio,aria:switch,aria:tab,aria:treeitem,dom:input,dom:textarea,dom:select,dom:output,dom:meter", + refactor: { + "WCAG21_Label_Accessible": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "WCAG21_Label_Accessible.html", - "Fail_1": "WCAG21_Label_Accessible.html", - "group": "WCAG21_Label_Accessible.html" + "Pass_0": "label_name_visible.html", + "Fail_1": "label_name_visible.html", + "group": "label_name_visible.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Label_RefValid.ts b/accessibility-checker-engine/src/v4/rules/label_ref_valid.ts similarity index 93% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Label_RefValid.ts rename to accessibility-checker-engine/src/v4/rules/label_ref_valid.ts index 43d91e76e..4bb218e4d 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Label_RefValid.ts +++ b/accessibility-checker-engine/src/v4/rules/label_ref_valid.ts @@ -16,14 +16,19 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { FragmentUtil } from "../../v2/checker/accessibility/util/fragment"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let WCAG20_Label_RefValid: Rule = { - id: "WCAG20_Label_RefValid", +export let label_ref_valid: Rule = { + id: "label_ref_valid", context: "dom:label[for]", + refactor: { + "WCAG20_Label_RefValid": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "WCAG20_Label_RefValid.html", - "Fail_1": "WCAG20_Label_RefValid.html", - "group": "WCAG20_Label_RefValid.html" + "Pass_0": "label_ref_valid.html", + "Fail_1": "label_ref_valid.html", + "group": "label_ref_valid.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/HAAC_List_Group_ListItem.ts b/accessibility-checker-engine/src/v4/rules/list_children_valid.ts similarity index 87% rename from accessibility-checker-engine/src/v4/rules/HAAC_List_Group_ListItem.ts rename to accessibility-checker-engine/src/v4/rules/list_children_valid.ts index 8e23b447b..7a0ebd6f3 100644 --- a/accessibility-checker-engine/src/v4/rules/HAAC_List_Group_ListItem.ts +++ b/accessibility-checker-engine/src/v4/rules/list_children_valid.ts @@ -16,14 +16,19 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { DOMWalker } from "../../v2/dom/DOMWalker"; -export let HAAC_List_Group_ListItem: Rule = { - id: "HAAC_List_Group_ListItem", +export let list_children_valid: Rule = { + id: "list_children_valid", context: "aria:group", + refactor: { + "HAAC_List_Group_ListItem": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "HAAC_List_Group_ListItem.html", - "Fail_1": "HAAC_List_Group_ListItem.html", - "group": "HAAC_List_Group_ListItem.html" + "Pass_0": "list_children_valid.html", + "Fail_1": "list_children_valid.html", + "group": "list_children_valid.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/RPT_List_UseMarkup.ts b/accessibility-checker-engine/src/v4/rules/list_markup_review.ts similarity index 92% rename from accessibility-checker-engine/src/v4/rules/RPT_List_UseMarkup.ts rename to accessibility-checker-engine/src/v4/rules/list_markup_review.ts index 7af332c72..1f728e42d 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_List_UseMarkup.ts +++ b/accessibility-checker-engine/src/v4/rules/list_markup_review.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { NodeWalker, RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let RPT_List_UseMarkup: Rule = { - id: "RPT_List_UseMarkup", +export let list_markup_review: Rule = { + id: "list_markup_review", context: "dom:*", + refactor: { + "RPT_List_UseMarkup": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1"} + }, help: { "en-US": { - "Pass_0": "RPT_List_UseMarkup.html", - "Potential_1": "RPT_List_UseMarkup.html", - "group": "RPT_List_UseMarkup.html" + "Pass_0": "list_markup_review.html", + "Potential_1": "list_markup_review.html", + "group": "list_markup_review.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/RPT_List_Misuse.ts b/accessibility-checker-engine/src/v4/rules/list_structure_proper.ts similarity index 95% rename from accessibility-checker-engine/src/v4/rules/RPT_List_Misuse.ts rename to accessibility-checker-engine/src/v4/rules/list_structure_proper.ts index 1ad99ef85..73d9f9817 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_List_Misuse.ts +++ b/accessibility-checker-engine/src/v4/rules/list_structure_proper.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let RPT_List_Misuse: Rule = { - id: "RPT_List_Misuse", +export let list_structure_proper: Rule = { + id: "list_structure_proper", context: "dom:dl, dom:ul, dom:ol, dom:dir, dom:menu, dom:li, dom:dd, dom:dt", + refactor: { + "RPT_List_Misuse": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1"} + }, help: { "en-US": { - "Pass_0": "RPT_List_Misuse.html", - "Potential_1": "RPT_List_Misuse.html", - "group": "RPT_List_Misuse.html" + "Pass_0": "list_structure_proper.html", + "Potential_1": "list_structure_proper.html", + "group": "list_structure_proper.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Marquee_Trigger.ts b/accessibility-checker-engine/src/v4/rules/marquee_elem_avoid.ts similarity index 84% rename from accessibility-checker-engine/src/v4/rules/RPT_Marquee_Trigger.ts rename to accessibility-checker-engine/src/v4/rules/marquee_elem_avoid.ts index 2aee960e8..0973f0843 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Marquee_Trigger.ts +++ b/accessibility-checker-engine/src/v4/rules/marquee_elem_avoid.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let RPT_Marquee_Trigger: Rule = { - id: "RPT_Marquee_Trigger", +export let marquee_elem_avoid: Rule = { + id: "marquee_elem_avoid", context: "dom:marquee", + refactor: { + "RPT_Marquee_Trigger": { + "Passed_0": "Passed_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Passed_0": "RPT_Marquee_Trigger.html", - "Fail_1": "RPT_Marquee_Trigger.html", - "group": "RPT_Marquee_Trigger.html" + "Passed_0": "marquee_elem_avoid.html", + "Fail_1": "marquee_elem_avoid.html", + "group": "marquee_elem_avoid.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Media_AltBrief.ts b/accessibility-checker-engine/src/v4/rules/media_alt_brief.ts similarity index 87% rename from accessibility-checker-engine/src/v4/rules/RPT_Media_AltBrief.ts rename to accessibility-checker-engine/src/v4/rules/media_alt_brief.ts index 25b2c6afa..953762929 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Media_AltBrief.ts +++ b/accessibility-checker-engine/src/v4/rules/media_alt_brief.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let RPT_Media_AltBrief: Rule = { - id: "RPT_Media_AltBrief", +export let media_alt_brief: Rule = { + id: "media_alt_brief", context: "dom:img[alt], dom:applet[alt], dom:area[alt], dom:embed[alt], dom:input[type][alt]", + refactor: { + "RPT_Media_AltBrief": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1"} + }, help: { "en-US": { - "Pass_0": "RPT_Media_AltBrief.html", - "Potential_1": "RPT_Media_AltBrief.html", - "group": "RPT_Media_AltBrief.html" + "Pass_0": "media_alt_brief.html", + "Potential_1": "media_alt_brief.html", + "group": "media_alt_brief.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Media_AudioVideoAltFilename.ts b/accessibility-checker-engine/src/v4/rules/media_alt_exists.ts similarity index 87% rename from accessibility-checker-engine/src/v4/rules/RPT_Media_AudioVideoAltFilename.ts rename to accessibility-checker-engine/src/v4/rules/media_alt_exists.ts index 08d89e6bb..23222afdc 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Media_AudioVideoAltFilename.ts +++ b/accessibility-checker-engine/src/v4/rules/media_alt_exists.ts @@ -16,14 +16,19 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let RPT_Media_AudioVideoAltFilename: Rule = { - id: "RPT_Media_AudioVideoAltFilename", +export let media_alt_exists: Rule = { + id: "media_alt_exists", context: "dom:area[alt], dom:embed[alt]", + refactor: { + "RPT_Media_AudioVideoAltFilename": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1"} + }, help: { "en-US": { - "Pass_0": "RPT_Media_AudioVideoAltFilename.html", - "Potential_1": "RPT_Media_AudioVideoAltFilename.html", - "group": "RPT_Media_AudioVideoAltFilename.html" + "Pass_0": "media_alt_exists.html", + "Potential_1": "media_alt_exists.html", + "group": "media_alt_exists.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Media_AudioTrigger.ts b/accessibility-checker-engine/src/v4/rules/media_audio_transcribed.ts similarity index 85% rename from accessibility-checker-engine/src/v4/rules/RPT_Media_AudioTrigger.ts rename to accessibility-checker-engine/src/v4/rules/media_audio_transcribed.ts index feb23ba05..7c2e11aee 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Media_AudioTrigger.ts +++ b/accessibility-checker-engine/src/v4/rules/media_audio_transcribed.ts @@ -16,14 +16,19 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let RPT_Media_AudioTrigger: Rule = { - id: "RPT_Media_AudioTrigger", +export let media_audio_transcribed: Rule = { + id: "media_audio_transcribed", context: "dom:bgsound, dom:a[href], dom:area[href], dom:embed, dom:object", + refactor: { + "RPT_Media_AudioTrigger": { + "Pass_0": "Pass_0", + "Manual_1": "Manual_1"} + }, help: { "en-US": { - "Pass_0": "RPT_Media_AudioTrigger.html", - "Manual_1": "RPT_Media_AudioTrigger.html", - "group": "RPT_Media_AudioTrigger.html" + "Pass_0": "media_audio_transcribed.html", + "Manual_1": "media_audio_transcribed.html", + "group": "media_audio_transcribed.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Embed_AutoStart.ts b/accessibility-checker-engine/src/v4/rules/media_autostart_controllable.ts similarity index 89% rename from accessibility-checker-engine/src/v4/rules/RPT_Embed_AutoStart.ts rename to accessibility-checker-engine/src/v4/rules/media_autostart_controllable.ts index 243ce21b9..89c95d7b9 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Embed_AutoStart.ts +++ b/accessibility-checker-engine/src/v4/rules/media_autostart_controllable.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let RPT_Embed_AutoStart: Rule = { - id: "RPT_Embed_AutoStart", +export let media_autostart_controllable: Rule = { + id: "media_autostart_controllable", context: "dom:param[name=autoplay], dom:param[name=autostart], dom:embed[flashvars], dom:embed[src], dom:*[autostart=true], dom:*[autostart=1], dom:bgsound", + refactor: { + "RPT_Embed_AutoStart": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1"} + }, help: { "en-US": { - "Pass_0": "RPT_Embed_AutoStart.html", - "Potential_1": "RPT_Embed_AutoStart.html", - "group": "RPT_Embed_AutoStart.html" + "Pass_0": "media_autostart_controllable.html", + "Potential_1": "media_autostart_controllable.html", + "group": "media_autostart_controllable.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/HAAC_Audio_Video_Trigger.ts b/accessibility-checker-engine/src/v4/rules/media_keyboard_controllable.ts similarity index 84% rename from accessibility-checker-engine/src/v4/rules/HAAC_Audio_Video_Trigger.ts rename to accessibility-checker-engine/src/v4/rules/media_keyboard_controllable.ts index d1aae31ee..89fd8efc4 100644 --- a/accessibility-checker-engine/src/v4/rules/HAAC_Audio_Video_Trigger.ts +++ b/accessibility-checker-engine/src/v4/rules/media_keyboard_controllable.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let HAAC_Audio_Video_Trigger: Rule = { - id: "HAAC_Audio_Video_Trigger", +export let media_keyboard_controllable: Rule = { + id: "media_keyboard_controllable", context: "dom:audio, dom:video", + refactor: { + "HAAC_Audio_Video_Trigger": { + "Pass_0": "Pass_0", + "Manual_1": "Manual_1"} + }, help: { "en-US": { - "Pass_0": "HAAC_Audio_Video_Trigger.html", - "Manual_1": "HAAC_Audio_Video_Trigger.html", - "group": "HAAC_Audio_Video_Trigger.html" + "Pass_0": "media_keyboard_controllable.html", + "Manual_1": "media_keyboard_controllable.html", + "group": "media_keyboard_controllable.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Media_VideoObjectTrigger.ts b/accessibility-checker-engine/src/v4/rules/media_live_captioned.ts similarity index 84% rename from accessibility-checker-engine/src/v4/rules/RPT_Media_VideoObjectTrigger.ts rename to accessibility-checker-engine/src/v4/rules/media_live_captioned.ts index 17af4ac47..5cd108c60 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Media_VideoObjectTrigger.ts +++ b/accessibility-checker-engine/src/v4/rules/media_live_captioned.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let RPT_Media_VideoObjectTrigger: Rule = { - id: "RPT_Media_VideoObjectTrigger", +export let media_live_captioned: Rule = { + id: "media_live_captioned", context: "dom:embed, dom:object", + refactor: { + "RPT_Media_VideoObjectTrigger": { + "Pass_0": "Pass_0", + "Manual_1": "Manual_1"} + }, help: { "en-US": { - "Pass_0": "RPT_Media_VideoObjectTrigger.html", - "Manual_1": "RPT_Media_VideoObjectTrigger.html", - "group": "RPT_Media_VideoObjectTrigger.html" + "Pass_0": "media_live_captioned.html", + "Manual_1": "media_live_captioned.html", + "group": "media_live_captioned.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Media_VideoReferenceTrigger.ts b/accessibility-checker-engine/src/v4/rules/media_track_available.ts similarity index 86% rename from accessibility-checker-engine/src/v4/rules/RPT_Media_VideoReferenceTrigger.ts rename to accessibility-checker-engine/src/v4/rules/media_track_available.ts index a72bf8e36..92db59295 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Media_VideoReferenceTrigger.ts +++ b/accessibility-checker-engine/src/v4/rules/media_track_available.ts @@ -16,14 +16,19 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let RPT_Media_VideoReferenceTrigger: Rule = { - id: "RPT_Media_VideoReferenceTrigger", +export let media_track_available: Rule = { + id: "media_track_available", context: "dom:a[href], dom:area[href], dom:applet, dom:embed, dom:object", + refactor: { + "RPT_Media_VideoReferenceTrigger": { + "Pass_0": "Pass_0", + "Manual_1": "Manual_1"} + }, help: { "en-US": { - "Pass_0": "RPT_Media_VideoReferenceTrigger.html", - "Manual_1": "RPT_Media_VideoReferenceTrigger.html", - "group": "RPT_Media_VideoReferenceTrigger.html" + "Pass_0": "media_track_available.html", + "Manual_1": "media_track_available.html", + "group": "media_track_available.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Meta_RedirectZero.ts b/accessibility-checker-engine/src/v4/rules/meta_redirect_optional.ts similarity index 85% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Meta_RedirectZero.ts rename to accessibility-checker-engine/src/v4/rules/meta_redirect_optional.ts index 27c1004bf..3ed68cebb 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Meta_RedirectZero.ts +++ b/accessibility-checker-engine/src/v4/rules/meta_redirect_optional.ts @@ -16,15 +16,22 @@ import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, RulePass, RuleContextHierarchy } from "../api/IRule"; import { eRulePolicy, eToolkitLevel } from "../api/IRule"; -export let WCAG20_Meta_RedirectZero: Rule = { - id: "WCAG20_Meta_RedirectZero", +export let meta_redirect_optional: Rule = { + id: "meta_redirect_optional", context: "dom:meta[http-equiv][content]", + refactor: { + "WCAG20_Meta_RedirectZero": { + "pass": "pass", + "fail": "fail", + "fail_longrefresh": "fail_longrefresh" + } + }, help: { "en-US": { - "group": "WCAG20_Meta_RedirectZero.html", - "pass": "WCAG20_Meta_RedirectZero.html", - "fail": "WCAG20_Meta_RedirectZero.html", - "fail_longrefresh": "WCAG20_Meta_RedirectZero.html" + "group": "meta_redirect_optional.html", + "pass": "meta_redirect_optional.html", + "fail": "meta_redirect_optional.html", + "fail_longrefresh": "meta_redirect_optional.html" } }, messages: { @@ -63,7 +70,7 @@ export let WCAG20_Meta_RedirectZero: Rule = { return null; } // Only check the first one since it takes priority - if (RPTUtil.triggerOnce(FragmentUtil.getOwnerFragment(ruleContext), "WCAG20_Meta_RedirectZero", false)) { + if (RPTUtil.triggerOnce(FragmentUtil.getOwnerFragment(ruleContext), "meta_redirect_optional", false)) { return null; } let timeMatch = content.match(/^(\d+); +[^ ]/); diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Meta_Refresh.ts b/accessibility-checker-engine/src/v4/rules/meta_refresh_delay.ts similarity index 85% rename from accessibility-checker-engine/src/v4/rules/RPT_Meta_Refresh.ts rename to accessibility-checker-engine/src/v4/rules/meta_refresh_delay.ts index dce4f8240..949f21b08 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Meta_Refresh.ts +++ b/accessibility-checker-engine/src/v4/rules/meta_refresh_delay.ts @@ -14,14 +14,20 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, RulePass, RuleContextHierarchy } from "../api/IRule"; import { eRulePolicy, eToolkitLevel } from "../api/IRule"; -export let RPT_Meta_Refresh: Rule = { - id: "RPT_Meta_Refresh", +export let meta_refresh_delay: Rule = { + id: "meta_refresh_delay", context: "dom:meta[http-equiv][content]", + refactor: { + "RPT_Meta_Refresh": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, help: { "en-US": { - "group": "RPT_Meta_Refresh.html", - "Pass_0": "RPT_Meta_Refresh.html", - "Potential_1": "RPT_Meta_Refresh.html" + "group": "meta_refresh_delay.html", + "Pass_0": "meta_refresh_delay.html", + "Potential_1": "meta_refresh_delay.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/meta_viewport_zoom.ts b/accessibility-checker-engine/src/v4/rules/meta_viewport_zoomable.ts similarity index 92% rename from accessibility-checker-engine/src/v4/rules/meta_viewport_zoom.ts rename to accessibility-checker-engine/src/v4/rules/meta_viewport_zoomable.ts index 1b4992e81..c4b074227 100644 --- a/accessibility-checker-engine/src/v4/rules/meta_viewport_zoom.ts +++ b/accessibility-checker-engine/src/v4/rules/meta_viewport_zoomable.ts @@ -15,14 +15,20 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let meta_viewport_zoom: Rule = { - id: "meta_viewport_zoom", +export let meta_viewport_zoomable: Rule = { + id: "meta_viewport_zoomable", context: "dom:meta[name][content]", + refactor: { + "meta_viewport_zoom": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, help: { "en-US": { - "group": "meta_viewport_zoom.html", - "Pass_0": "meta_viewport_zoom.html", - "Potential_1": "meta_viewport_zoom.html" + "group": "meta_viewport_zoomable.html", + "Pass_0": "meta_viewport_zoomable.html", + "Potential_1": "meta_viewport_zoomable.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/Valerie_Noembed_HasContent.ts b/accessibility-checker-engine/src/v4/rules/noembed_content_exists.ts similarity index 83% rename from accessibility-checker-engine/src/v4/rules/Valerie_Noembed_HasContent.ts rename to accessibility-checker-engine/src/v4/rules/noembed_content_exists.ts index ffecb119a..4a7798f07 100644 --- a/accessibility-checker-engine/src/v4/rules/Valerie_Noembed_HasContent.ts +++ b/accessibility-checker-engine/src/v4/rules/noembed_content_exists.ts @@ -16,14 +16,20 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let Valerie_Noembed_HasContent: Rule = { - id: "Valerie_Noembed_HasContent", +export let noembed_content_exists: Rule = { + id: "noembed_content_exists", context: "dom:noembed", + refactor: { + "Valerie_Noembed_HasContent": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, help: { "en-US": { - "Pass_0": "Valerie_Noembed_HasContent.html", - "Potential_1": "Valerie_Noembed_HasContent.html", - "group": "Valerie_Noembed_HasContent.html" + "Pass_0": "noembed_content_exists.html", + "Potential_1": "noembed_content_exists.html", + "group": "noembed_content_exists.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Object_HasText.ts b/accessibility-checker-engine/src/v4/rules/object_text_exists.ts similarity index 88% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Object_HasText.ts rename to accessibility-checker-engine/src/v4/rules/object_text_exists.ts index 403750755..f764fb3ec 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Object_HasText.ts +++ b/accessibility-checker-engine/src/v4/rules/object_text_exists.ts @@ -17,14 +17,20 @@ import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { ARIAMapper } from "../../v2/aria/ARIAMapper"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let WCAG20_Object_HasText: Rule = { - id: "WCAG20_Object_HasText", +export let object_text_exists: Rule = { + id: "object_text_exists", context: "dom:object", + refactor: { + "WCAG20_Object_HasText": { + "pass": "pass", + "fail_no_text_alternative": "fail_no_text_alternative" + } + }, help: { "en-US": { - "group": "WCAG20_Object_HasText.html", - "pass": "WCAG20_Object_HasText.html", - "fail_no_text_alternative": "WCAG20_Object_HasText.html" + "group": "object_text_exists.html", + "pass": "object_text_exists.html", + "fail_no_text_alternative": "object_text_exists.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Doc_HasTitle.ts b/accessibility-checker-engine/src/v4/rules/page_title_exists.ts similarity index 87% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Doc_HasTitle.ts rename to accessibility-checker-engine/src/v4/rules/page_title_exists.ts index b23b29ee5..ef4ab0597 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Doc_HasTitle.ts +++ b/accessibility-checker-engine/src/v4/rules/page_title_exists.ts @@ -16,16 +16,24 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { AncestorUtil } from "../../v2/checker/accessibility/util/ancestor"; -export let WCAG20_Doc_HasTitle: Rule = { - id: "WCAG20_Doc_HasTitle", +export let page_title_exists: Rule = { + id: "page_title_exists", context: "dom:html", + refactor: { + "WCAG20_Doc_HasTitle": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1", + "Fail_2": "Fail_2", + "Fail_3": "Fail_3" + } + }, help: { "en-US": { - "group": "WCAG20_Doc_HasTitle.html", - "Pass_0": "WCAG20_Doc_HasTitle.html", - "Fail_1": "WCAG20_Doc_HasTitle.html", - "Fail_2": "WCAG20_Doc_HasTitle.html", - "Fail_3": "WCAG20_Doc_HasTitle.html" + "group": "page_title_exists.html", + "Pass_0": "page_title_exists.html", + "Fail_1": "page_title_exists.html", + "Fail_2": "page_title_exists.html", + "Fail_3": "page_title_exists.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Title_Valid.ts b/accessibility-checker-engine/src/v4/rules/page_title_valid.ts similarity index 84% rename from accessibility-checker-engine/src/v4/rules/RPT_Title_Valid.ts rename to accessibility-checker-engine/src/v4/rules/page_title_valid.ts index 5f93f4f97..a4df9297e 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Title_Valid.ts +++ b/accessibility-checker-engine/src/v4/rules/page_title_valid.ts @@ -15,15 +15,21 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let RPT_Title_Valid: Rule = { - id: "RPT_Title_Valid", +export let page_title_valid: Rule = { + id: "page_title_valid", context: "dom:head dom:title", + refactor: { + "RPT_Title_Valid": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1", + "Potential_2": "Potential_2"} + }, help: { "en-US": { - "Pass_0": "RPT_Title_Valid.html", - "Fail_1": "RPT_Title_Valid.html", - "Potential_2": "RPT_Title_Valid.html", - "group": "RPT_Title_Valid.html" + "Pass_0": "page_title_valid.html", + "Fail_1": "page_title_valid.html", + "Potential_2": "page_title_valid.html", + "group": "page_title_valid.html" } }, messages: { @@ -53,7 +59,7 @@ export let RPT_Title_Valid: Rule = { } if (titleStr.length === 0) { - // This is covered by WCAG20_Doc_HasTitle + // This is covered by page_title_exists return null;//RuleFail("Fail_1"); } else { let passed = !/^\S*\.[a-zA-Z]{1,4}(?!.)|^https?:\/\/\S*/i.test(titleStr); diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Script_FocusBlurs.ts b/accessibility-checker-engine/src/v4/rules/script_focus_blur_review.ts similarity index 83% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Script_FocusBlurs.ts rename to accessibility-checker-engine/src/v4/rules/script_focus_blur_review.ts index 95bf23cc5..a4abec6bd 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Script_FocusBlurs.ts +++ b/accessibility-checker-engine/src/v4/rules/script_focus_blur_review.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let WCAG20_Script_FocusBlurs: Rule = { - id: "WCAG20_Script_FocusBlurs", +export let script_focus_blur_review: Rule = { + id: "script_focus_blur_review", context: "dom:*[onfocus]", + refactor: { + "WCAG20_Script_FocusBlurs": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1"} + }, help: { "en-US": { - "Pass_0": "WCAG20_Script_FocusBlurs.html", - "Potential_1": "WCAG20_Script_FocusBlurs.html", - "group": "WCAG20_Script_FocusBlurs.html" + "Pass_0": "script_focus_blur_review.html", + "Potential_1": "script_focus_blur_review.html", + "group": "script_focus_blur_review.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Script_OnclickHTML2.ts b/accessibility-checker-engine/src/v4/rules/script_onclick_avoid.ts similarity index 85% rename from accessibility-checker-engine/src/v4/rules/RPT_Script_OnclickHTML2.ts rename to accessibility-checker-engine/src/v4/rules/script_onclick_avoid.ts index cbffb0d69..e231e12a6 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Script_OnclickHTML2.ts +++ b/accessibility-checker-engine/src/v4/rules/script_onclick_avoid.ts @@ -15,15 +15,20 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let RPT_Script_OnclickHTML2: Rule = { - id: "RPT_Script_OnclickHTML2", +export let script_onclick_avoid: Rule = { + id: "script_onclick_avoid", context: "dom:*[onclick]", - dependencies: ["RPT_Script_OnclickHTML1"], + dependencies: ["script_onclick_misuse"], + refactor: { + "RPT_Script_OnclickHTML2": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1"} + }, help: { "en-US": { - "Pass_0": "RPT_Script_OnclickHTML2.html", - "Potential_1": "RPT_Script_OnclickHTML2.html", - "group": "RPT_Script_OnclickHTML2.html" + "Pass_0": "script_onclick_avoid.html", + "Potential_1": "script_onclick_avoid.html", + "group": "script_onclick_avoid.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Script_OnclickHTML1.ts b/accessibility-checker-engine/src/v4/rules/script_onclick_misuse.ts similarity index 88% rename from accessibility-checker-engine/src/v4/rules/RPT_Script_OnclickHTML1.ts rename to accessibility-checker-engine/src/v4/rules/script_onclick_misuse.ts index 8a345ddf0..15c9fa6a5 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Script_OnclickHTML1.ts +++ b/accessibility-checker-engine/src/v4/rules/script_onclick_misuse.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let RPT_Script_OnclickHTML1: Rule = { - id: "RPT_Script_OnclickHTML1", +export let script_onclick_misuse: Rule = { + id: "script_onclick_misuse", context: "dom:*[onclick]", + refactor: { + "RPT_Script_OnclickHTML1": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1"} + }, help: { "en-US": { - "Pass_0": "RPT_Script_OnclickHTML1.html", - "Potential_1": "RPT_Script_OnclickHTML1.html", - "group": "RPT_Script_OnclickHTML1.html" + "Pass_0": "script_onclick_misuse.html", + "Potential_1": "script_onclick_misuse.html", + "group": "script_onclick_misuse.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Select_NoChangeAction.ts b/accessibility-checker-engine/src/v4/rules/script_select_review.ts similarity index 84% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Select_NoChangeAction.ts rename to accessibility-checker-engine/src/v4/rules/script_select_review.ts index 1c560b503..8f8b5f6aa 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Select_NoChangeAction.ts +++ b/accessibility-checker-engine/src/v4/rules/script_select_review.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let WCAG20_Select_NoChangeAction: Rule = { - id: "WCAG20_Select_NoChangeAction", +export let script_select_review: Rule = { + id: "script_select_review", context: "dom:select", + refactor: { + "WCAG20_Select_NoChangeAction": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1"} + }, help: { "en-US": { - "Pass_0": "WCAG20_Select_NoChangeAction.html", - "Potential_1": "WCAG20_Select_NoChangeAction.html", - "group": "WCAG20_Select_NoChangeAction.html" + "Pass_0": "script_select_review.html", + "Potential_1": "script_select_review.html", + "group": "script_select_review.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Select_HasOptGroup.ts b/accessibility-checker-engine/src/v4/rules/select_options_grouped.ts similarity index 86% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Select_HasOptGroup.ts rename to accessibility-checker-engine/src/v4/rules/select_options_grouped.ts index 59bf05389..412114f6c 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Select_HasOptGroup.ts +++ b/accessibility-checker-engine/src/v4/rules/select_options_grouped.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let WCAG20_Select_HasOptGroup: Rule = { - id: "WCAG20_Select_HasOptGroup", +export let select_options_grouped: Rule = { + id: "select_options_grouped", context: "dom:select", + refactor: { + "WCAG20_Select_HasOptGroup": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1"} + }, help: { "en-US": { - "Pass_0": "WCAG20_Select_HasOptGroup.html", - "Potential_1": "WCAG20_Select_HasOptGroup.html", - "group": "WCAG20_Select_HasOptGroup.html" + "Pass_0": "select_options_grouped.html", + "Potential_1": "select_options_grouped.html", + "group": "select_options_grouped.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Body_FirstAContainsSkipText_Native_Host_Sematics.ts b/accessibility-checker-engine/src/v4/rules/skip_main_described.ts similarity index 87% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Body_FirstAContainsSkipText_Native_Host_Sematics.ts rename to accessibility-checker-engine/src/v4/rules/skip_main_described.ts index 5b1406955..086582f3e 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Body_FirstAContainsSkipText_Native_Host_Sematics.ts +++ b/accessibility-checker-engine/src/v4/rules/skip_main_described.ts @@ -17,15 +17,21 @@ import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { getCache, setCache } from "../util/CacheUtil"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let WCAG20_Body_FirstAContainsSkipText_Native_Host_Sematics: Rule = { - id: "WCAG20_Body_FirstAContainsSkipText_Native_Host_Sematics", +export let skip_main_described: Rule = { + id: "skip_main_described", context: "dom:body", - dependencies: ["WCAG20_Body_FirstASkips_Native_Host_Sematics"], + dependencies: ["skip_main_exists"], + refactor: { + "WCAG20_Body_FirstAContainsSkipText_Native_Host_Sematics": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, help: { "en-US": { - "Pass_0": "WCAG20_Body_FirstAContainsSkipText_Native_Host_Sematics.html", - "Potential_1": "WCAG20_Body_FirstAContainsSkipText_Native_Host_Sematics.html", - "group": "WCAG20_Body_FirstAContainsSkipText_Native_Host_Sematics.html" + "Pass_0": "skip_main_described.html", + "Potential_1": "skip_main_described.html", + "group": "skip_main_described.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Body_FirstASkips_Native_Host_Sematics.ts b/accessibility-checker-engine/src/v4/rules/skip_main_exists.ts similarity index 92% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Body_FirstASkips_Native_Host_Sematics.ts rename to accessibility-checker-engine/src/v4/rules/skip_main_exists.ts index d0be046f2..da0d4249c 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Body_FirstASkips_Native_Host_Sematics.ts +++ b/accessibility-checker-engine/src/v4/rules/skip_main_exists.ts @@ -18,14 +18,19 @@ import { AncestorUtil } from "../../v2/checker/accessibility/util/ancestor"; import { getCache, setCache } from "../util/CacheUtil"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let WCAG20_Body_FirstASkips_Native_Host_Sematics: Rule = { - id: "WCAG20_Body_FirstASkips_Native_Host_Sematics", +export let skip_main_exists: Rule = { + id: "skip_main_exists", context: "dom:body", + refactor: { + "WCAG20_Body_FirstASkips_Native_Host_Sematics": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "WCAG20_Body_FirstASkips_Native_Host_Sematics.html", - "Fail_1": "WCAG20_Body_FirstASkips_Native_Host_Sematics.html", - "group": "WCAG20_Body_FirstASkips_Native_Host_Sematics.html" + "Pass_0": "skip_main_exists.html", + "Fail_1": "skip_main_exists.html", + "group": "skip_main_exists.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Style_BackgroundImage.ts b/accessibility-checker-engine/src/v4/rules/style_background_decorative.ts similarity index 84% rename from accessibility-checker-engine/src/v4/rules/RPT_Style_BackgroundImage.ts rename to accessibility-checker-engine/src/v4/rules/style_background_decorative.ts index c86364659..20e4a32d8 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Style_BackgroundImage.ts +++ b/accessibility-checker-engine/src/v4/rules/style_background_decorative.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let RPT_Style_BackgroundImage: Rule = { - id: "RPT_Style_BackgroundImage", +export let style_background_decorative: Rule = { + id: "style_background_decorative", context: "dom:style, dom:*[style]", + refactor: { + "RPT_Style_BackgroundImage": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1"} + }, help: { "en-US": { - "Pass_0": "RPT_Style_BackgroundImage.html", - "Potential_1": "RPT_Style_BackgroundImage.html", - "group": "RPT_Style_BackgroundImage.html" + "Pass_0": "style_background_decorative.html", + "Potential_1": "style_background_decorative.html", + "group": "style_background_decorative.html" } }, messages: { @@ -46,7 +51,7 @@ export let RPT_Style_BackgroundImage: Rule = { if (nodeName === "link" && ruleContext.hasAttribute("rel") && ruleContext.getAttribute("rel").toLowerCase() === "stylesheet") { // External stylesheet - trigger - passed = RPTUtil.triggerOnce(ruleContext, "RPT_Style_BackgroundImage", false); + passed = RPTUtil.triggerOnce(ruleContext, "style_background_decorative", false); } if (passed && nodeName === "style" || ruleContext.hasAttribute("style")) { let styleText; diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Style_BeforeAfter.ts b/accessibility-checker-engine/src/v4/rules/style_before_after_review.ts similarity index 97% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Style_BeforeAfter.ts rename to accessibility-checker-engine/src/v4/rules/style_before_after_review.ts index c2c9a35b4..4a3007c97 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Style_BeforeAfter.ts +++ b/accessibility-checker-engine/src/v4/rules/style_before_after_review.ts @@ -21,14 +21,20 @@ import { getCSSStyle } from "../util/CSSUtil"; * Description: Trigger if :before and :after are used in CSS (Internal and External) with content * Origin: WCAG 2.0 F87 */ -export let WCAG20_Style_BeforeAfter: Rule = { - id: "WCAG20_Style_BeforeAfter", +export let style_before_after_review: Rule = { + id: "style_before_after_review", context: "dom:style, dom:link", + refactor: { + "WCAG20_Style_BeforeAfter": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, help: { "en-US": { - "group": `WCAG20_Style_BeforeAfter.html`, - "Pass_0": `WCAG20_Style_BeforeAfter.html`, - "Potential_1": `WCAG20_Style_BeforeAfter.html` + "group": `style_before_after_review.html`, + "Pass_0": `style_before_after_review.html`, + "Potential_1": `style_before_after_review.html` } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Style_ColorSemantics1.ts b/accessibility-checker-engine/src/v4/rules/style_color_misuse.ts similarity index 92% rename from accessibility-checker-engine/src/v4/rules/RPT_Style_ColorSemantics1.ts rename to accessibility-checker-engine/src/v4/rules/style_color_misuse.ts index 8ce5175b5..26752c1e6 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Style_ColorSemantics1.ts +++ b/accessibility-checker-engine/src/v4/rules/style_color_misuse.ts @@ -16,14 +16,20 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { getCache, setCache } from "../util/CacheUtil"; -export let RPT_Style_ColorSemantics1: Rule = { - id: "RPT_Style_ColorSemantics1", +export let style_color_misuse: Rule = { + id: "style_color_misuse", context: "dom:style, dom:*[style], dom:font[color], dom:link", + refactor: { + "RPT_Style_ColorSemantics1": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, help: { "en-US": { - "group": `RPT_Style_ColorSemantics1.html`, - "Pass_0": `RPT_Style_ColorSemantics1.html`, - "Potential_1": `RPT_Style_ColorSemantics1.html` + "group": `style_color_misuse.html`, + "Pass_0": `style_color_misuse.html`, + "Potential_1": `style_color_misuse.html` } }, messages: { @@ -116,9 +122,9 @@ export let RPT_Style_ColorSemantics1: Rule = { } // Trigger only once if (!passed) { - let triggered = getCache(ruleContext.ownerDocument, "RPT_Style_ColorSemantics1", false); + let triggered = getCache(ruleContext.ownerDocument, "style_color_misuse", false); passed = triggered; - setCache(ruleContext.ownerDocument, "RPT_Style_ColorSemantics1", true); + setCache(ruleContext.ownerDocument, "style_color_misuse", true); } if (passed) return RulePass("Pass_0"); diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Style_HinderFocus1.ts b/accessibility-checker-engine/src/v4/rules/style_focus_visible.ts similarity index 91% rename from accessibility-checker-engine/src/v4/rules/RPT_Style_HinderFocus1.ts rename to accessibility-checker-engine/src/v4/rules/style_focus_visible.ts index 86017c71a..c7c44678f 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Style_HinderFocus1.ts +++ b/accessibility-checker-engine/src/v4/rules/style_focus_visible.ts @@ -16,13 +16,18 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { getDefinedStyles } from "../util/CSSUtil"; -export let RPT_Style_HinderFocus1: Rule = { - id: "RPT_Style_HinderFocus1", +export let style_focus_visible: Rule = { + id: "style_focus_visible", context: "dom:*", + refactor: { + "RPT_Style_HinderFocus1": { + "Potential_1": "Potential_1" + } + }, help: { "en-US": { - "group": `RPT_Style_HinderFocus1.html`, - "Potential_1": `RPT_Style_HinderFocus1.html` + "group": `style_focus_visible.html`, + "Potential_1": `style_focus_visible.html` } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Style_Trigger2.ts b/accessibility-checker-engine/src/v4/rules/style_highcontrast_visible.ts similarity index 82% rename from accessibility-checker-engine/src/v4/rules/RPT_Style_Trigger2.ts rename to accessibility-checker-engine/src/v4/rules/style_highcontrast_visible.ts index 32b7ac926..4e4b144f3 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Style_Trigger2.ts +++ b/accessibility-checker-engine/src/v4/rules/style_highcontrast_visible.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { getCache, setCache } from "../util/CacheUtil"; -export let RPT_Style_Trigger2: Rule = { - id: "RPT_Style_Trigger2", +export let style_highcontrast_visible: Rule = { + id: "style_highcontrast_visible", context: "dom:style, dom:link, dom:*[style]", + refactor: { + "RPT_Style_Trigger2": { + "Pass_0": "Pass_0", + "Manual_1": "Manual_1"} + }, help: { "en-US": { - "Pass_0": "RPT_Style_Trigger2.html", - "Manual_1": "RPT_Style_Trigger2.html", - "group": "RPT_Style_Trigger2.html" + "Pass_0": "style_highcontrast_visible.html", + "Manual_1": "style_highcontrast_visible.html", + "group": "style_highcontrast_visible.html" } }, messages: { @@ -54,10 +59,10 @@ export let RPT_Style_Trigger2: Rule = { if (nodeName !== "style" && nodeName !== "link" && ruleContext.hasAttribute("style") && ruleContext.getAttribute("style").trim().length === 0) return RulePass("Pass_0"); - let triggered = getCache(ruleContext.ownerDocument, "RPT_Style_Trigger2", false); + let triggered = getCache(ruleContext.ownerDocument, "style_highcontrast_visible", false); let passed = triggered; // Packages.java.lang.System.out.println(triggered); - setCache(ruleContext.ownerDocument, "RPT_Style_Trigger2", true); + setCache(ruleContext.ownerDocument, "style_highcontrast_visible", true); if (passed) return RulePass("Pass_0"); if (!passed) return RuleManual("Manual_1"); } diff --git a/accessibility-checker-engine/src/v4/rules/WCAG21_Style_Viewport.ts b/accessibility-checker-engine/src/v4/rules/style_viewport_resizable.ts similarity index 94% rename from accessibility-checker-engine/src/v4/rules/WCAG21_Style_Viewport.ts rename to accessibility-checker-engine/src/v4/rules/style_viewport_resizable.ts index 583cdb4c4..9a5968a00 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG21_Style_Viewport.ts +++ b/accessibility-checker-engine/src/v4/rules/style_viewport_resizable.ts @@ -18,14 +18,20 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; * Description: Trigger when viewport units are used for font size. * Origin: Various */ -export let WCAG21_Style_Viewport: Rule = { - id: "WCAG21_Style_Viewport", +export let style_viewport_resizable: Rule = { + id: "style_viewport_resizable", context: "dom:link, dom:style, dom:*[style]", + refactor: { + "WCAG21_Style_Viewport": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, help: { "en-US": { - "group": `WCAG21_Style_Viewport.html`, - "Pass_0": `WCAG21_Style_Viewport.html`, - "Potential_1": `WCAG21_Style_Viewport.html` + "group": `style_viewport_resizable.html`, + "Pass_0": `style_viewport_resizable.html`, + "Potential_1": `style_viewport_resizable.html` } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/Valerie_Caption_HasContent.ts b/accessibility-checker-engine/src/v4/rules/table_caption_empty.ts similarity index 84% rename from accessibility-checker-engine/src/v4/rules/Valerie_Caption_HasContent.ts rename to accessibility-checker-engine/src/v4/rules/table_caption_empty.ts index 97c19f8d8..5c0876aba 100644 --- a/accessibility-checker-engine/src/v4/rules/Valerie_Caption_HasContent.ts +++ b/accessibility-checker-engine/src/v4/rules/table_caption_empty.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let Valerie_Caption_HasContent: Rule = { - id: "Valerie_Caption_HasContent", +export let table_caption_empty: Rule = { + id: "table_caption_empty", context: "dom:caption", + refactor: { + "Valerie_Caption_HasContent": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "Valerie_Caption_HasContent.html", - "Fail_1": "Valerie_Caption_HasContent.html", - "group": "Valerie_Caption_HasContent.html" + "Pass_0": "table_caption_empty.html", + "Fail_1": "table_caption_empty.html", + "group": "table_caption_empty.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/Valerie_Caption_InTable.ts b/accessibility-checker-engine/src/v4/rules/table_caption_nested.ts similarity index 84% rename from accessibility-checker-engine/src/v4/rules/Valerie_Caption_InTable.ts rename to accessibility-checker-engine/src/v4/rules/table_caption_nested.ts index e6266c898..ff8dccc6d 100644 --- a/accessibility-checker-engine/src/v4/rules/Valerie_Caption_InTable.ts +++ b/accessibility-checker-engine/src/v4/rules/table_caption_nested.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let Valerie_Caption_InTable: Rule = { - id: "Valerie_Caption_InTable", +export let table_caption_nested: Rule = { + id: "table_caption_nested", context: "dom:caption", + refactor: { + "Valerie_Caption_InTable": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "Valerie_Caption_InTable.html", - "Fail_1": "Valerie_Caption_InTable.html", - "group": "Valerie_Caption_InTable.html" + "Pass_0": "table_caption_nested.html", + "Fail_1": "table_caption_nested.html", + "group": "table_caption_nested.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Table_DataHeadingsAria.ts b/accessibility-checker-engine/src/v4/rules/table_headers_exists.ts similarity index 85% rename from accessibility-checker-engine/src/v4/rules/RPT_Table_DataHeadingsAria.ts rename to accessibility-checker-engine/src/v4/rules/table_headers_exists.ts index e4538d96e..0c1fefcd1 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Table_DataHeadingsAria.ts +++ b/accessibility-checker-engine/src/v4/rules/table_headers_exists.ts @@ -15,14 +15,19 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, Rul import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; -export let RPT_Table_DataHeadingsAria: Rule = { - id: "RPT_Table_DataHeadingsAria", +export let table_headers_exists: Rule = { + id: "table_headers_exists", context: "dom:table", + refactor: { + "RPT_Table_DataHeadingsAria": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "RPT_Table_DataHeadingsAria.html", - "Fail_1": "RPT_Table_DataHeadingsAria.html", - "group": "RPT_Table_DataHeadingsAria.html" + "Pass_0": "table_headers_exists.html", + "Fail_1": "table_headers_exists.html", + "group": "table_headers_exists.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/Valerie_Table_DataCellRelationships.ts b/accessibility-checker-engine/src/v4/rules/table_headers_related.ts similarity index 80% rename from accessibility-checker-engine/src/v4/rules/Valerie_Table_DataCellRelationships.ts rename to accessibility-checker-engine/src/v4/rules/table_headers_related.ts index 195a2b0af..56d861325 100644 --- a/accessibility-checker-engine/src/v4/rules/Valerie_Table_DataCellRelationships.ts +++ b/accessibility-checker-engine/src/v4/rules/table_headers_related.ts @@ -16,14 +16,19 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { getCache, setCache } from "../util/CacheUtil"; -export let Valerie_Table_DataCellRelationships: Rule = { - id: "Valerie_Table_DataCellRelationships", +export let table_headers_related: Rule = { + id: "table_headers_related", context: "dom:td, dom:th", + refactor: { + "Valerie_Table_DataCellRelationships": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "Valerie_Table_DataCellRelationships.html", - "Fail_1": "Valerie_Table_DataCellRelationships.html", - "group": "Valerie_Table_DataCellRelationships.html" + "Pass_0": "table_headers_related.html", + "Fail_1": "table_headers_related.html", + "group": "table_headers_related.html" } }, messages: { @@ -48,7 +53,7 @@ export let Valerie_Table_DataCellRelationships: Rule = { return null; // If this table hasn't been preprocessed, process it. - if (getCache(ruleContext, "Valerie_Table_DataCellRelationships", null) === null) { + if (getCache(ruleContext, "table_headers_related", null) === null) { // Build a grid that's actually usable (rowspan and colspan elements are duplicated) // This builds a real 2d table array. let grid = []; @@ -57,7 +62,7 @@ export let Valerie_Table_DataCellRelationships: Rule = { if (!grid[i]) grid[i] = []; for (let j = 0; j < row.cells.length; ++j) { let cell = row.cells[j]; - setCache(cell, "Valerie_Table_DataCellRelationships", i + ":" + j); + setCache(cell, "table_headers_related", i + ":" + j); let width = parseInt(cell.getAttribute("colspan")); if (!width) width = 1; let height = parseInt(cell.getAttribute("rowspan")); @@ -89,13 +94,13 @@ export let Valerie_Table_DataCellRelationships: Rule = { // If there's an axis attribute, it must be referred to by headers, // scope is not enough. if (!RPTUtil.attributeNonEmpty(gridCell, "axis")) - lookup[getCache(gridCell, "Valerie_Table_DataCellRelationships", null)] = true; + lookup[getCache(gridCell, "table_headers_related", null)] = true; } else if (gridCell.getAttribute("scope") == "col") { scopedCols[j] = true; // If there's an axis attribute, it must be referred to by headers, // scope is not enough. if (!RPTUtil.attributeNonEmpty(gridCell, "axis")) - lookup[getCache(gridCell, "Valerie_Table_DataCellRelationships", null)] = true; + lookup[getCache(gridCell, "table_headers_related", null)] = true; } // Headers can refer to other headers if (RPTUtil.attributeNonEmpty(gridCell, "headers")) { @@ -103,31 +108,31 @@ export let Valerie_Table_DataCellRelationships: Rule = { for (let k = 0; k < hdrs.length; ++k) { let headElem = doc.getElementById(hdrs[k].trim()); if (headElem && RPTUtil.getAncestor(headElem, "table") == parentTable) { - lookup[getCache(headElem, "Valerie_Table_DataCellRelationships", null)] = true; + lookup[getCache(headElem, "table_headers_related", null)] = true; } } } } else if (gridNodeName == "td") { if (rowScoped || scopedCols[j]) { - lookup[getCache(gridCell, "Valerie_Table_DataCellRelationships", null)] = true; + lookup[getCache(gridCell, "table_headers_related", null)] = true; } else if (RPTUtil.attributeNonEmpty(gridCell, "headers")) { let hdrs = gridCell.getAttribute("headers").split(" "); for (let k = 0; k < hdrs.length; ++k) { let headElem = doc.getElementById(hdrs[k].trim()); if (headElem && RPTUtil.getAncestor(headElem, "table") == parentTable) { - lookup[getCache(gridCell, "Valerie_Table_DataCellRelationships", null)] = true; - lookup[getCache(headElem, "Valerie_Table_DataCellRelationships", null)] = true; + lookup[getCache(gridCell, "table_headers_related", null)] = true; + lookup[getCache(headElem, "table_headers_related", null)] = true; } } } } } } - setCache(parentTable, "Valerie_Table_DataCellRelationships", lookup); + setCache(parentTable, "table_headers_related", lookup); } - let rcInfo = getCache(ruleContext, "Valerie_Table_DataCellRelationships", null); - let tInfo = getCache(parentTable, "Valerie_Table_DataCellRelationships", null); + let rcInfo = getCache(ruleContext, "table_headers_related", null); + let tInfo = getCache(parentTable, "table_headers_related", null); let passed = rcInfo !== null && tInfo !== null && rcInfo in tInfo; if (!passed && rcInfo === "0:0" && @@ -140,10 +145,10 @@ export let Valerie_Table_DataCellRelationships: Rule = { // table, which introduces a lot of noise. In that case, only trigger this error // once per table. if (!passed && parentTable.getElementsByTagName("th").length == 0) { - if (getCache(parentTable, "Valerie_Table_DataCellRelationships_TrigOnce", false) === true) { + if (getCache(parentTable, "table_headers_related_TrigOnce", false) === true) { passed = true; } else { - setCache(parentTable, "Valerie_Table_DataCellRelationships_TrigOnce", true); + setCache(parentTable, "table_headers_related_TrigOnce", true); } } diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Table_LayoutTrigger.ts b/accessibility-checker-engine/src/v4/rules/table_layout_linearized.ts similarity index 84% rename from accessibility-checker-engine/src/v4/rules/RPT_Table_LayoutTrigger.ts rename to accessibility-checker-engine/src/v4/rules/table_layout_linearized.ts index 009850f40..e52dec710 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Table_LayoutTrigger.ts +++ b/accessibility-checker-engine/src/v4/rules/table_layout_linearized.ts @@ -16,14 +16,19 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let RPT_Table_LayoutTrigger: Rule = { - id: "RPT_Table_LayoutTrigger", +export let table_layout_linearized: Rule = { + id: "table_layout_linearized", context: "dom:table", + refactor: { + "RPT_Table_LayoutTrigger": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1"} + }, help: { "en-US": { - "Pass_0": "RPT_Table_LayoutTrigger.html", - "Potential_1": "RPT_Table_LayoutTrigger.html", - "group": "RPT_Table_LayoutTrigger.html" + "Pass_0": "table_layout_linearized.html", + "Potential_1": "table_layout_linearized.html", + "group": "table_layout_linearized.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Table_Scope_Valid.ts b/accessibility-checker-engine/src/v4/rules/table_scope_valid.ts similarity index 84% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Table_Scope_Valid.ts rename to accessibility-checker-engine/src/v4/rules/table_scope_valid.ts index 7af0bf023..c061d91b6 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Table_Scope_Valid.ts +++ b/accessibility-checker-engine/src/v4/rules/table_scope_valid.ts @@ -14,15 +14,21 @@ import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, RulePass, RuleContextHierarchy } from "../api/IRule"; import { eRulePolicy, eToolkitLevel } from "../api/IRule"; -export let WCAG20_Table_Scope_Valid: Rule = { - id: "WCAG20_Table_Scope_Valid", +export let table_scope_valid: Rule = { + id: "table_scope_valid", context: "dom:td[scope], dom:th[scope]", + refactor: { + "WCAG20_Table_Scope_Valid": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1", + "Fail_2": "Fail_2"} + }, help: { "en-US": { - "Pass_0": "WCAG20_Table_Scope_Valid.html", - "Fail_1": "WCAG20_Table_Scope_Valid.html", - "Fail_2": "WCAG20_Table_Scope_Valid.html", - "group": "WCAG20_Table_Scope_Valid.html" + "Pass_0": "table_scope_valid.html", + "Fail_1": "table_scope_valid.html", + "Fail_2": "table_scope_valid.html", + "group": "table_scope_valid.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Table_Structure.ts b/accessibility-checker-engine/src/v4/rules/table_structure_misuse.ts similarity index 95% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Table_Structure.ts rename to accessibility-checker-engine/src/v4/rules/table_structure_misuse.ts index 4a3fbd99f..59558b3d9 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Table_Structure.ts +++ b/accessibility-checker-engine/src/v4/rules/table_structure_misuse.ts @@ -16,14 +16,19 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let WCAG20_Table_Structure: Rule = { - id: "WCAG20_Table_Structure", +export let table_structure_misuse: Rule = { + id: "table_structure_misuse", context: "dom:table", + refactor: { + "WCAG20_Table_Structure": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "WCAG20_Table_Structure.html", - "Fail_1": "WCAG20_Table_Structure.html", - "group": "WCAG20_Table_Structure.html" + "Pass_0": "table_structure_misuse.html", + "Fail_1": "table_structure_misuse.html", + "group": "table_structure_misuse.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/WCAG20_Table_CapSummRedundant.ts b/accessibility-checker-engine/src/v4/rules/table_summary_redundant.ts similarity index 89% rename from accessibility-checker-engine/src/v4/rules/WCAG20_Table_CapSummRedundant.ts rename to accessibility-checker-engine/src/v4/rules/table_summary_redundant.ts index 3371233d9..f4ccaee26 100644 --- a/accessibility-checker-engine/src/v4/rules/WCAG20_Table_CapSummRedundant.ts +++ b/accessibility-checker-engine/src/v4/rules/table_summary_redundant.ts @@ -16,14 +16,19 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { FragmentUtil } from "../../v2/checker/accessibility/util/fragment"; -export let WCAG20_Table_CapSummRedundant: Rule = { - id: "WCAG20_Table_CapSummRedundant", +export let table_summary_redundant: Rule = { + id: "table_summary_redundant", context: "dom:table", + refactor: { + "WCAG20_Table_CapSummRedundant": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1"} + }, help: { "en-US": { - "Pass_0": "WCAG20_Table_CapSummRedundant.html", - "Fail_1": "WCAG20_Table_CapSummRedundant.html", - "group": "WCAG20_Table_CapSummRedundant.html" + "Pass_0": "table_summary_redundant.html", + "Fail_1": "table_summary_redundant.html", + "group": "table_summary_redundant.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Block_ShouldBeHeading.ts b/accessibility-checker-engine/src/v4/rules/text_block_heading.ts similarity index 91% rename from accessibility-checker-engine/src/v4/rules/RPT_Block_ShouldBeHeading.ts rename to accessibility-checker-engine/src/v4/rules/text_block_heading.ts index 8fe4ce819..92ec2c00b 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Block_ShouldBeHeading.ts +++ b/accessibility-checker-engine/src/v4/rules/text_block_heading.ts @@ -16,14 +16,19 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { NodeWalker, RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { DOMWalker } from "../../v2/dom/DOMWalker"; -export let RPT_Block_ShouldBeHeading: Rule = { - id: "RPT_Block_ShouldBeHeading", +export let text_block_heading: Rule = { + id: "text_block_heading", context: "dom:p, dom:div, dom:br", + refactor: { + "RPT_Block_ShouldBeHeading": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1"} + }, help: { "en-US": { - "Pass_0": "RPT_Block_ShouldBeHeading.html", - "Potential_1": "RPT_Block_ShouldBeHeading.html", - "group": "RPT_Block_ShouldBeHeading.html" + "Pass_0": "text_block_heading.html", + "Potential_1": "text_block_heading.html", + "group": "text_block_heading.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/IBMA_Color_Contrast_WCAG2AA.ts b/accessibility-checker-engine/src/v4/rules/text_contrast_sufficient.ts similarity index 96% rename from accessibility-checker-engine/src/v4/rules/IBMA_Color_Contrast_WCAG2AA.ts rename to accessibility-checker-engine/src/v4/rules/text_contrast_sufficient.ts index 4686e4001..dad3f4e6a 100644 --- a/accessibility-checker-engine/src/v4/rules/IBMA_Color_Contrast_WCAG2AA.ts +++ b/accessibility-checker-engine/src/v4/rules/text_contrast_sufficient.ts @@ -19,15 +19,22 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { setCache } from "../util/CacheUtil"; import { getWeightNumber, getFontInPixels } from "../util/CSSUtil"; -export let IBMA_Color_Contrast_WCAG2AA: Rule = { - id: "IBMA_Color_Contrast_WCAG2AA", +export let text_contrast_sufficient: Rule = { + id: "text_contrast_sufficient", context: "dom:*", + refactor: { + "IBMA_Color_Contrast_WCAG2AA": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1", + "Potential_1": "Potential_1" + } + }, help: { "en-US": { - "group": `IBMA_Color_Contrast_WCAG2AA.html`, - "Pass_0": `IBMA_Color_Contrast_WCAG2AA.html`, - "Fail_1": `IBMA_Color_Contrast_WCAG2AA.html`, - "Potential_1": `IBMA_Color_Contrast_WCAG2AA.html` + "group": `text_contrast_sufficient.html`, + "Pass_0": `text_contrast_sufficient.html`, + "Fail_1": `text_contrast_sufficient.html`, + "Potential_1": `text_contrast_sufficient.html` } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/RPT_Text_SensoryReference.ts b/accessibility-checker-engine/src/v4/rules/text_sensory_misuse.ts similarity index 94% rename from accessibility-checker-engine/src/v4/rules/RPT_Text_SensoryReference.ts rename to accessibility-checker-engine/src/v4/rules/text_sensory_misuse.ts index 0f841a786..f3527e8b3 100644 --- a/accessibility-checker-engine/src/v4/rules/RPT_Text_SensoryReference.ts +++ b/accessibility-checker-engine/src/v4/rules/text_sensory_misuse.ts @@ -17,14 +17,19 @@ import { RPTUtil } from "../../v2/checker/accessibility/util/legacy"; import { getCache, setCache } from "../util/CacheUtil"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let RPT_Text_SensoryReference: Rule = { - id: "RPT_Text_SensoryReference", +export let text_sensory_misuse: Rule = { + id: "text_sensory_misuse", context: "dom:body, dom:body dom:*", + refactor: { + "RPT_Text_SensoryReference": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1"} + }, help: { "en-US": { - "Pass_0": "RPT_Text_SensoryReference.html", - "Potential_1": "RPT_Text_SensoryReference.html", - "group": "RPT_Text_SensoryReference.html" + "Pass_0": "text_sensory_misuse.html", + "Potential_1": "text_sensory_misuse.html", + "group": "text_sensory_misuse.html" } }, messages: { @@ -67,7 +72,7 @@ export let RPT_Text_SensoryReference: Rule = { let violatedtextArray = null; let violatedtext = null; - let sensoryRegex = getCache(ruleContext.ownerDocument, "RPT_Text_SensoryReference", null); + let sensoryRegex = getCache(ruleContext.ownerDocument, "text_sensory_misuse", null); if (sensoryRegex == null) { let sensoryText = validateParams.sensoryText.value; let regexStr = "(" + sensoryText[0]; @@ -75,7 +80,7 @@ export let RPT_Text_SensoryReference: Rule = { regexStr += "|" + sensoryText[j]; regexStr += ")\\W"; sensoryRegex = new RegExp(regexStr, "gi"); - setCache(ruleContext.ownerDocument, "RPT_Text_SensoryReference", sensoryRegex); + setCache(ruleContext.ownerDocument, "text_sensory_misuse", sensoryRegex); } let passed = true; let walkNode = ruleContext.firstChild as Node; diff --git a/accessibility-checker-engine/src/v4/rules/IBMA_Focus_Tabbable.ts b/accessibility-checker-engine/src/v4/rules/widget_tabbable_exists.ts similarity index 90% rename from accessibility-checker-engine/src/v4/rules/IBMA_Focus_Tabbable.ts rename to accessibility-checker-engine/src/v4/rules/widget_tabbable_exists.ts index 3573d0bea..c3a9bec47 100644 --- a/accessibility-checker-engine/src/v4/rules/IBMA_Focus_Tabbable.ts +++ b/accessibility-checker-engine/src/v4/rules/widget_tabbable_exists.ts @@ -17,14 +17,19 @@ import { NodeWalker, RPTUtil } from "../../v2/checker/accessibility/util/legacy" import { ARIAMapper } from "../../v2/aria/ARIAMapper"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let IBMA_Focus_Tabbable: Rule = { - id: "IBMA_Focus_Tabbable", +export let widget_tabbable_exists: Rule = { + id: "widget_tabbable_exists", context: "aria:button,aria:link,aria:spinbutton,aria:tablist,aria:combobox,aria:listbox,aria:menu,aria:radiogroup,aria:tree,aria:checkbox,aria:slider,aria:spinbutton,aria:textbox,aria:scrollbar,aria:slider,aria:spinbutton", + refactor: { + "IBMA_Focus_Tabbable": { + "pass": "pass", + "fail_no_tabbable": "fail_no_tabbable"} + }, help: { "en-US": { - "pass": "IBMA_Focus_Tabbable.html", - "fail_no_tabbable": "IBMA_Focus_Tabbable.html", - "group": "IBMA_Focus_Tabbable.html" + "pass": "widget_tabbable_exists.html", + "fail_no_tabbable": "widget_tabbable_exists.html", + "group": "widget_tabbable_exists.html" } }, messages: { diff --git a/accessibility-checker-engine/src/v4/rules/IBMA_Focus_MultiTab.ts b/accessibility-checker-engine/src/v4/rules/widget_tabbable_single.ts similarity index 87% rename from accessibility-checker-engine/src/v4/rules/IBMA_Focus_MultiTab.ts rename to accessibility-checker-engine/src/v4/rules/widget_tabbable_single.ts index 18b1cc7fd..4dbc64cd7 100644 --- a/accessibility-checker-engine/src/v4/rules/IBMA_Focus_MultiTab.ts +++ b/accessibility-checker-engine/src/v4/rules/widget_tabbable_single.ts @@ -18,14 +18,20 @@ import { ARIAMapper } from "../../v2/aria/ARIAMapper"; import { setCache } from "../util/CacheUtil"; import { VisUtil } from "../../v2/dom/VisUtil"; -export let IBMA_Focus_MultiTab: Rule = { - id: "IBMA_Focus_MultiTab", +export let widget_tabbable_single: Rule = { + id: "widget_tabbable_single", context: "aria:button,aria:link,aria:menuitem,aria:spinbutton,aria:tablist,aria:combobox,aria:listbox,aria:menu,aria:radiogroup,aria:tree,aria:checkbox,aria:option,aria:radio,aria:slider,aria:spinbutton,aria:textbox,aria:columnheader,aria:rowheader,aria:slider,aria:tab", + refactor: { + "IBMA_Focus_MultiTab": { + "pass": "pass", + "fail_multiple_tabbable": "fail_multiple_tabbable" + } + }, help: { "en-US": { - "pass": "IBMA_Focus_MultiTab.html", - "fail_multiple_tabbable": "IBMA_Focus_MultiTab.html", - "group": "IBMA_Focus_MultiTab.html" + "pass": "widget_tabbable_single.html", + "fail_multiple_tabbable": "widget_tabbable_single.html", + "group": "widget_tabbable_single.html" } }, messages: { @@ -70,7 +76,7 @@ export let IBMA_Focus_MultiTab: Rule = { } let passed = count < 2; if (!passed) - setCache(ruleContext, "IBMA_Focus_MultiTab", "fail_multiple_tabbable"); + setCache(ruleContext, "widget_tabbable_single", "fail_multiple_tabbable"); return passed ? RulePass("pass") : RulePotential("fail_multiple_tabbable", [role]); } } \ No newline at end of file diff --git a/accessibility-checker-engine/test/v2/checker/Checker_ruleunit_test.js b/accessibility-checker-engine/test/v2/checker/Checker_ruleunit_test.js index 0cd050984..a5e620c29 100644 --- a/accessibility-checker-engine/test/v2/checker/Checker_ruleunit_test.js +++ b/accessibility-checker-engine/test/v2/checker/Checker_ruleunit_test.js @@ -19,151 +19,151 @@ let ace = require('../../../src/index'); const mapRuleToG = { - "RPT_List_Misuse": "3", - "RPT_Marquee_Trigger": "5", - "RPT_Headers_FewWords": "7", - "WCAG20_Input_ExplicitLabelImage": "10", - "RPT_Img_UsemapValid": "11", - "WCAG20_Object_HasText": "20", - "WCAG20_Applet_HasAlt": "21", - "RPT_Media_AudioTrigger": "24", - "RPT_Blockquote_HasCite": "25", - "RPT_Meta_Refresh": "33", - "WCAG20_Frame_HasTitle": "39", - "WCAG20_Input_ExplicitLabel": "41", - "RPT_Media_AltBrief": "99", - "WCAG20_A_TargetAndText": "112", - "WCAG20_Area_HasAlt": "240", + "list_structure_proper": "3", + "marquee_elem_avoid": "5", + "heading_markup_misuse": "7", + "imagebutton_alt_exists": "10", + "img_ismap_misuse": "11", + "object_text_exists": "20", + "applet_alt_exists": "21", + "media_audio_transcribed": "24", + "blockquote_cite_exists": "25", + "meta_refresh_delay": "33", + "frame_title_exists": "39", + "input_label_exists": "41", + "media_alt_brief": "99", + "a_target_warning": "112", + "area_alt_exists": "240", "RPT_Media_ImgColorUsage": "245", - "WCAG20_Meta_RedirectZero": "254", + "meta_redirect_optional": "254", "element_attribute_deprecated": "256", "text_quoted_correctly": "263", - "RPT_Elem_EventMouseAndKey": "269", - "WCAG20_Doc_HasTitle": "273", - "RPT_Block_ShouldBeHeading": "322", - "WCAG20_Form_HasSubmit": "324", - "RPT_Elem_UniqueId": "377", - "RPT_Font_ColorInForm": "394", - "RPT_Label_UniqueFor": "398", - "RPT_Img_AltCommonMisuse": "453", - "RPT_Img_LongDescription2": "454", - "WCAG20_Img_HasAlt": "455", - "RPT_Style_BackgroundImage": "456", - "RPT_Pre_ASCIIArt": "458", - "RPT_Media_VideoReferenceTrigger": "511", - "RPT_Media_AudioVideoAltFilename": "460", - "RPT_Style_ColorSemantics1": "466", - "WCAG20_Select_HasOptGroup": "467", - "RPT_List_UseMarkup": "468", - "RPT_Script_OnclickHTML1": "470", - "WCAG20_Table_Structure": "471", + "element_mouseevent_keyboard": "269", + "page_title_exists": "273", + "text_block_heading": "322", + "form_submit_button_exists": "324", + "element_id_unique": "377", + "form_font_color": "394", + "form_label_unique": "398", + "img_alt_misuse": "453", + "img_longdesc_misuse": "454", + "img_alt_valid": "455", + "style_background_decorative": "456", + "asciiart_alt_exists": "458", + "media_track_available": "511", + "media_alt_exists": "460", + "style_color_misuse": "466", + "select_options_grouped": "467", + "list_markup_review": "468", + "script_onclick_misuse": "470", + "table_structure_misuse": "471", "WCAG20_Img_AltTriggerNonDecorative": "473", - "WCAG20_Blink_AlwaysTrigger": "478", - "RPT_Blink_CSSTrigger1": "479", - "RPT_Html_SkipNav": "481", - "RPT_Title_Valid": "484", - "RPT_Header_HasContent": "488", - "WCAG20_Html_HasLang": "490", - "WCAG20_Form_TargetAndText": "491", - "WCAG20_A_HasText": "495", - "WCAG20_Fieldset_HasLegend": "497", - "RPT_Media_VideoObjectTrigger": "501", - "RPT_Text_SensoryReference": "502", - "RPT_Embed_AutoStart": "503", - "RPT_Style_HinderFocus1": "506", - "WCAG20_Img_LinkTextNotRedundant": "1000", + "blink_elem_deprecated": "478", + "blink_css_review": "479", + "html_skipnav_exists": "481", + "page_title_valid": "484", + "heading_content_exists": "488", + "html_lang_exists": "490", + "form_interaction_review": "491", + "a_text_purpose": "495", + "fieldset_legend_valid": "497", + "media_live_captioned": "501", + "text_sensory_misuse": "502", + "media_autostart_controllable": "503", + "style_focus_visible": "506", + "img_alt_redundant": "1000", "RPT_Style_ExternalStyleSheet": "1073", // "RPT_Header_Trigger": "1002", - "RPT_Script_OnclickHTML2": "1007", - "WCAG20_Table_CapSummRedundant": "1011", - "WCAG20_Input_LabelBefore": "1017", - "WCAG20_Input_LabelAfter": "1018", - "WCAG20_Embed_HasNoEmbed": "1020", - "WCAG20_Table_Scope_Valid": "1025", - "WCAG20_Img_TitleEmptyWhenAltNull": "1027", - "WCAG20_Input_InFieldSet": "1028", - "WCAG20_Input_RadioChkInFieldSet": "1029", - "WCAG20_Select_NoChangeAction": "1035", - "WCAG20_Input_HasOnchange": "1050", - "RPT_Embed_HasAlt": "1051", - "Valerie_Noembed_HasContent": "1052", - "Valerie_Caption_HasContent": "1053", - "Valerie_Caption_InTable": "1054", - "Valerie_Label_HasContent": "1055", - "Valerie_Elem_DirValid": "1056", - "Valerie_Frame_SrcHtml": "1057", - "Valerie_Table_DataCellRelationships": "1059", - "RPT_Table_LayoutTrigger": "1060", - "RPT_Table_DataHeadingsAria": "1061", - "WCAG20_Label_RefValid": "1062", - "WCAG20_Elem_UniqueAccessKey": "1063", - "WCAG20_Script_FocusBlurs": "1064", - "HAAC_Img_UsemapAlt": "1067", - "WCAG20_Text_Emoticons": "1068", - "WCAG20_Style_BeforeAfter": "1069", + "script_onclick_avoid": "1007", + "table_summary_redundant": "1011", + "input_label_before": "1017", + "input_label_after": "1018", + "embed_noembed_exists": "1020", + "table_scope_valid": "1025", + "img_alt_null": "1027", + "input_fields_grouped": "1028", + "input_checkboxes_grouped": "1029", + "script_select_review": "1035", + "input_onchange_review": "1050", + "embed_alt_exists": "1051", + "noembed_content_exists": "1052", + "table_caption_empty": "1053", + "table_caption_nested": "1054", + "label_content_exists": "1055", + "dir_attribute_valid": "1056", + "frame_src_valid": "1057", + "table_headers_related": "1059", + "table_layout_linearized": "1060", + "table_headers_exists": "1061", + "label_ref_valid": "1062", + "element_accesskey_unique": "1063", + "script_focus_blur_review": "1064", + "imagemap_alt_exists": "1067", + "emoticons_alt_exists": "1068", + "style_before_after_review": "1069", "text_whitespace_valid": "1070", - "Rpt_Aria_ValidRole": "1074", - "Rpt_Aria_ValidPropertyValue": "1076", - "Rpt_Aria_ValidIdRef": "1077", - "Rpt_Aria_RequiredProperties": "1079", - "Rpt_Aria_EmptyPropertyValue": "1082", - "Rpt_Aria_ValidProperty": "1083", - "Rpt_Aria_InvalidTabindexForActivedescendant": "1084", - "Rpt_Aria_MissingFocusableChild": "1086", - "Rpt_Aria_MissingKeyboardHandler": "1087", - "WCAG20_Img_PresentationImgHasNonNullAlt": "1090", - "Rpt_Aria_MultipleSearchLandmarks": "1097", - "Rpt_Aria_MultipleApplicationLandmarks": "1099", - "Rpt_Aria_ApplicationLandmarkLabel": "1100", - "Rpt_Aria_MultipleDocumentRoles": "1101", + "aria_role_allowed": "1074", + "aria_attribute_value_valid": "1076", + "aria_id_unique": "1077", + "aria_attribute_required": "1079", + "aria_attribute_exists": "1082", + "aria_attribute_allowed": "1083", + "aria_activedescendant_tabindex_valid": "1084", + "aria_child_tabbable": "1086", + "aria_keyboard_handler_exists": "1087", + "img_alt_decorative": "1090", + "aria_search_label_unique": "1097", + "aria_application_label_unique": "1099", + "aria_application_labelled": "1100", + "aria_document_label_unique": "1101", "WCAG20_Label_TargetInvisible": "1112", - "HAAC_Video_HasNoTrack": "1117", - "HAAC_Audio_Video_Trigger": "1119", + "caption_track_exists": "1117", + "media_keyboard_controllable": "1119", "HAAC_Input_HasRequired": "1124", - "HAAC_Aria_ImgAlt": "1128", - "HAAC_BackgroundImg_HasTextOrTitle": "1132", - "HAAC_Accesskey_NeedLabel": "1140", + "aria_img_labelled": "1128", + "img_alt_background": "1132", + "element_accesskey_labelled": "1140", "aria_attribute_conflict": "1141", - "HAAC_Canvas": "1143", - "HAAC_Figure_label": "1144", - "HAAC_Input_Placeholder": "1145", - "RPT_Form_ChangeEmpty": "1147", - "IBMA_Color_Contrast_WCAG2AA": "1148", - "IBMA_Color_Contrast_WCAG2AA_PV": "1149", - "WCAG20_Body_FirstASkips_Native_Host_Sematics": "1150", - "WCAG20_Body_FirstAContainsSkipText_Native_Host_Sematics": "1151", + "canvas_content_described": "1143", + "figure_label_exists": "1144", + "input_placeholder_label_visible": "1145", + "form_submit_review": "1147", + "text_contrast_sufficient": "1148", + "text_contrast_sufficient_PV": "1149", + "skip_main_exists": "1150", + "skip_main_described": "1151", "aria_child_valid": "1152", - "Rpt_Aria_RequiredParent_Native_Host_Sematics": "1153", - "Rpt_Aria_EventHandlerMissingRole_Native_Host_Sematics": "1154", - "Rpt_Aria_WidgetLabels_Implicit": "1156", - "Rpt_Aria_OrphanedContent_Native_Host_Sematics": "1157", - "Rpt_Aria_RegionLabel_Implicit": "1158", - "Rpt_Aria_MultipleMainsVisibleLabel_Implicit": "1159", - "Rpt_Aria_MultipleBannerLandmarks_Implicit": "1160", - "Rpt_Aria_MultipleComplementaryLandmarks_Implicit": "1161", - "Rpt_Aria_MultipleContentinfoLandmarks_Implicit": "1162", - "Rpt_Aria_MultipleFormLandmarks_Implicit": "1163", - "Rpt_Aria_MultipleNavigationLandmarks_Implicit": "1164", - "Rpt_Aria_ComplementaryLandmarkLabel_Implicit": "1165", - "Rpt_Aria_MultipleArticleRoles_Implicit": "1166", + "aria_parent_required": "1153", + "aria_eventhandler_role_valid": "1154", + "aria_widget_labelled": "1156", + "aria_content_in_landmark": "1157", + "aria_region_labelled": "1158", + "aria_main_label_visible": "1159", + "aria_banner_label_unique": "1160", + "aria_complementary_label_unique": "1161", + "aria_contentinfo_label_unique": "1162", + "aria_form_label_unique": "1163", + "aria_navigation_label_unique": "1164", + "aria_complementary_label_visible": "1165", + "aria_article_label_unique": "1166", "Rpt_Aria_ArticleRoleLabel_Implicit": "1167", "Rpt_Aria_MultipleGroupRoles_Implicit": "1168", "Rpt_Aria_GroupRoleLabel_Implicit": "1169", - "Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit": "1170", - "Rpt_Aria_OneBannerInSiblingSet_Implicit": "1172", - "Rpt_Aria_ContentinfoWithNoMain_Implicit": "1173", - "Rpt_Aria_ComplementaryRequiredLabel_Implicit": "1174", - "Rpt_Aria_MultipleRegionsUniqueLabel_Implicit": "1176", - "IBMA_Focus_Tabbable": "1177", - "IBMA_Focus_MultiTab": "1178", - "RPT_Style_Trigger2": "1180", - "Rpt_Aria_MultipleMainsRequireLabel_Implicit_2": "1182", - "HAAC_Media_DocumentTrigger2": "1183", - "HAAC_Aria_ErrorMessage": "1184", - "HAAC_List_Group_ListItem": "1185", - "HAAC_ActiveDescendantCheck": "1186", - "HAAC_Application_Role_Text": "1187", - "Rpt_Aria_MultipleToolbarUniqueLabel": "1188", + "aria_contentinfo_single": "1170", + "aria_banner_single": "1172", + "aria_contentinfo_misuse": "1173", + "aria_complementary_labelled": "1174", + "aria_region_label_unique": "1176", + "widget_tabbable_exists": "1177", + "widget_tabbable_single": "1178", + "style_highcontrast_visible": "1180", + "aria_main_label_unique": "1182", + "download_keyboard_controllable": "1183", + "error_message_exists": "1184", + "list_children_valid": "1185", + "aria_activedescendant_valid": "1186", + "application_content_accessible": "1187", + "aria_toolbar_label_unique": "1188", "HAAC_Combobox_ARIA_11_Guideline": "1193", "HAAC_Combobox_Must_Have_Text_Input": "1194", "HAAC_Combobox_DOM_Focus": "1195", @@ -171,10 +171,10 @@ const mapRuleToG = { "HAAC_Combobox_Autocomplete_Invalid": "1197", "HAAC_Combobox_Expanded": "1198", "HAAC_Combobox_Popup": "1199", - "WCAG21_Style_Viewport": "1200", - "WCAG21_Label_Accessible": "1202", - "WCAG21_Input_Autocomplete": "1203", - "WCAG20_Input_VisibleLabel": "1204" + "style_viewport_resizable": "1200", + "label_name_visible": "1202", + "input_autocomplete_valid": "1203", + "input_label_visible": "1204" } let mapGToRule = {} diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/display_block_visibility_hidden_test.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/display_block_visibility_hidden_test.html index 9973c5d31..b44256216 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/display_block_visibility_hidden_test.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/display_block_visibility_hidden_test.html @@ -30,7 +30,7 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/display_none_visibility_visible_test.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/display_none_visibility_visible_test.html index d165ea6de..c238b9309 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/display_none_visibility_visible_test.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/display_none_visibility_visible_test.html @@ -30,7 +30,7 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/display_override_by_display_test.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/display_override_by_display_test.html index 93d222406..e54defd08 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/display_override_by_display_test.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/display_override_by_display_test.html @@ -30,7 +30,7 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/display_override_by_visibility_test.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/display_override_by_visibility_test.html index 431eed5f2..2629c46a8 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/display_override_by_visibility_test.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/display_override_by_visibility_test.html @@ -30,7 +30,7 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/hidden_display_block_test.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/hidden_display_block_test.html index 64f3683fb..f48b0ffc0 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/hidden_display_block_test.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/hidden_display_block_test.html @@ -26,9 +26,9 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/hidden_override_test.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/hidden_override_test.html index b8758db29..30f70bfcb 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/hidden_override_test.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/hidden_override_test.html @@ -30,7 +30,7 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/hidden_visibility_hidden_test.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/hidden_visibility_hidden_test.html index eb5462827..15ffa1815 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/hidden_visibility_hidden_test.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/hidden_visibility_hidden_test.html @@ -30,7 +30,7 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/hidden_visibility_visible_test.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/hidden_visibility_visible_test.html index e9dc40032..2f62217e5 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/hidden_visibility_visible_test.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/hidden_visibility_visible_test.html @@ -30,7 +30,7 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/visibility_override_by_display_test.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/visibility_override_by_display_test.html index 3eab7a504..b927b85dd 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/visibility_override_by_display_test.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/visibility_override_by_display_test.html @@ -30,7 +30,7 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/visibility_override_by_visibility_test.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/visibility_override_by_visibility_test.html index 50a73fd64..ef7473492 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/visibility_override_by_visibility_test.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/Hidden_ruleunit/visibility_override_by_visibility_test.html @@ -30,10 +30,10 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_InvalidTabindexForActivedescendant_ruleunit/invalidTabindexForActivedescendant.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_activedescendant_tabindex_valid_ruleunit/invalidTabindexForActivedescendant.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_InvalidTabindexForActivedescendant_ruleunit/invalidTabindexForActivedescendant.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_activedescendant_tabindex_valid_ruleunit/invalidTabindexForActivedescendant.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_InvalidTabindexForActivedescendant_ruleunit/invalidTabindexForActivedescendant2.txt b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_activedescendant_tabindex_valid_ruleunit/invalidTabindexForActivedescendant2.txt similarity index 79% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_InvalidTabindexForActivedescendant_ruleunit/invalidTabindexForActivedescendant2.txt rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_activedescendant_tabindex_valid_ruleunit/invalidTabindexForActivedescendant2.txt index 740d926b2..a1c22f07d 100755 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_InvalidTabindexForActivedescendant_ruleunit/invalidTabindexForActivedescendant2.txt +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_activedescendant_tabindex_valid_ruleunit/invalidTabindexForActivedescendant2.txt @@ -31,15 +31,15 @@ function runRule() { - var passed = OpenAjax.a11y.getRule("Rpt_Aria_InvalidTabindexForActivedescendant").validate(document.getElementById('tb1')); + var passed = OpenAjax.a11y.getRule("aria_activedescendant_tabindex_valid").validate(document.getElementById('tb1')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_InvalidTabindexForActivedescendant").validate(document.getElementById('tb2')); + var passed = OpenAjax.a11y.getRule("aria_activedescendant_tabindex_valid").validate(document.getElementById('tb2')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_InvalidTabindexForActivedescendant").validate(document.getElementById('tb3')); + var passed = OpenAjax.a11y.getRule("aria_activedescendant_tabindex_valid").validate(document.getElementById('tb3')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_InvalidTabindexForActivedescendant").validate(document.getElementById('tb4')); + var passed = OpenAjax.a11y.getRule("aria_activedescendant_tabindex_valid").validate(document.getElementById('tb4')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_InvalidTabindexForActivedescendant").validate(document.getElementById('tb5')); + var passed = OpenAjax.a11y.getRule("aria_activedescendant_tabindex_valid").validate(document.getElementById('tb5')); console.log(passed); } diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_InvalidTabindexForActivedescendant_ruleunit/validTabindexForActivedescendant.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_activedescendant_tabindex_valid_ruleunit/validTabindexForActivedescendant.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_InvalidTabindexForActivedescendant_ruleunit/validTabindexForActivedescendant.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_activedescendant_tabindex_valid_ruleunit/validTabindexForActivedescendant.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_InvalidTabindexForActivedescendant_ruleunit/validTabindexForActivedescendant2.txt b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_activedescendant_tabindex_valid_ruleunit/validTabindexForActivedescendant2.txt similarity index 86% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_InvalidTabindexForActivedescendant_ruleunit/validTabindexForActivedescendant2.txt rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_activedescendant_tabindex_valid_ruleunit/validTabindexForActivedescendant2.txt index 8706e03c9..fbaf7a33e 100755 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_InvalidTabindexForActivedescendant_ruleunit/validTabindexForActivedescendant2.txt +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_activedescendant_tabindex_valid_ruleunit/validTabindexForActivedescendant2.txt @@ -31,11 +31,11 @@ function runRule() { - var passed = OpenAjax.a11y.getRule("Rpt_Aria_InvalidTabindexForActivedescendant").validate(document.getElementById('tb1')); + var passed = OpenAjax.a11y.getRule("aria_activedescendant_tabindex_valid").validate(document.getElementById('tb1')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_InvalidTabindexForActivedescendant").validate(document.getElementById('tb2')); + var passed = OpenAjax.a11y.getRule("aria_activedescendant_tabindex_valid").validate(document.getElementById('tb2')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_InvalidTabindexForActivedescendant").validate(document.getElementById('tb3')); + var passed = OpenAjax.a11y.getRule("aria_activedescendant_tabindex_valid").validate(document.getElementById('tb3')); console.log(passed); } diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_ActiveDescendantCheck_ruleunit/ActiveDescendant.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_activedescendant_valid_ruleunit/ActiveDescendant.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_ActiveDescendantCheck_ruleunit/ActiveDescendant.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_activedescendant_valid_ruleunit/ActiveDescendant.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_ActiveDescendantCheck_ruleunit/D808_3.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_activedescendant_valid_ruleunit/D808_3.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_ActiveDescendantCheck_ruleunit/D808_3.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_activedescendant_valid_ruleunit/D808_3.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleApplicationLandmarks_ruleunit/duplicateLandmarksAriaLabelNotUnique.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_label_unique_ruleunit/duplicateLandmarksAriaLabelNotUnique.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleApplicationLandmarks_ruleunit/duplicateLandmarksAriaLabelNotUnique.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_label_unique_ruleunit/duplicateLandmarksAriaLabelNotUnique.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleApplicationLandmarks_ruleunit/duplicateLandmarksAriaLabelNotUniqueHidden.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_label_unique_ruleunit/duplicateLandmarksAriaLabelNotUniqueHidden.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleApplicationLandmarks_ruleunit/duplicateLandmarksAriaLabelNotUniqueHidden.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_label_unique_ruleunit/duplicateLandmarksAriaLabelNotUniqueHidden.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleApplicationLandmarks_ruleunit/duplicateLandmarksAriaLabelUnique.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_label_unique_ruleunit/duplicateLandmarksAriaLabelUnique.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleApplicationLandmarks_ruleunit/duplicateLandmarksAriaLabelUnique.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_label_unique_ruleunit/duplicateLandmarksAriaLabelUnique.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleApplicationLandmarks_ruleunit/duplicateLandmarksAriaLabelledbyNotUnique.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_label_unique_ruleunit/duplicateLandmarksAriaLabelledbyNotUnique.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleApplicationLandmarks_ruleunit/duplicateLandmarksAriaLabelledbyNotUnique.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_label_unique_ruleunit/duplicateLandmarksAriaLabelledbyNotUnique.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleApplicationLandmarks_ruleunit/duplicateLandmarksAriaLabelledbyUnique.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_label_unique_ruleunit/duplicateLandmarksAriaLabelledbyUnique.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleApplicationLandmarks_ruleunit/duplicateLandmarksAriaLabelledbyUnique.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_label_unique_ruleunit/duplicateLandmarksAriaLabelledbyUnique.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleApplicationLandmarks_ruleunit/duplicateLandmarksNoLabels.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_label_unique_ruleunit/duplicateLandmarksNoLabels.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleApplicationLandmarks_ruleunit/duplicateLandmarksNoLabels.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_label_unique_ruleunit/duplicateLandmarksNoLabels.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleApplicationLandmarks_ruleunit/duplicateLandmarksOneAriaLabel.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_label_unique_ruleunit/duplicateLandmarksOneAriaLabel.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleApplicationLandmarks_ruleunit/duplicateLandmarksOneAriaLabel.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_label_unique_ruleunit/duplicateLandmarksOneAriaLabel.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleApplicationLandmarks_ruleunit/duplicateLandmarksOneAriaLabelledby.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_label_unique_ruleunit/duplicateLandmarksOneAriaLabelledby.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleApplicationLandmarks_ruleunit/duplicateLandmarksOneAriaLabelledby.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_label_unique_ruleunit/duplicateLandmarksOneAriaLabelledby.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleApplicationLandmarks_ruleunit/hiddenUnitTesting/duplicateLandmarksCheckHiddenContent.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_label_unique_ruleunit/hiddenUnitTesting/duplicateLandmarksCheckHiddenContent.html similarity index 94% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleApplicationLandmarks_ruleunit/hiddenUnitTesting/duplicateLandmarksCheckHiddenContent.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_label_unique_ruleunit/hiddenUnitTesting/duplicateLandmarksCheckHiddenContent.html index 1df818d92..5e705974d 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleApplicationLandmarks_ruleunit/hiddenUnitTesting/duplicateLandmarksCheckHiddenContent.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_label_unique_ruleunit/hiddenUnitTesting/duplicateLandmarksCheckHiddenContent.html @@ -34,7 +34,7 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleApplicationLandmarks_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_label_unique_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html similarity index 94% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleApplicationLandmarks_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_label_unique_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html index d7f805c91..69f420940 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleApplicationLandmarks_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_label_unique_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html @@ -34,7 +34,7 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleApplicationLandmarks_ruleunit/noDuplicateLandmarks.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_label_unique_ruleunit/noDuplicateLandmarks.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleApplicationLandmarks_ruleunit/noDuplicateLandmarks.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_label_unique_ruleunit/noDuplicateLandmarks.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ApplicationLandmarkLabel_ruleunit/hasEmptyAriaLabel.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_labelled_ruleunit/hasEmptyAriaLabel.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ApplicationLandmarkLabel_ruleunit/hasEmptyAriaLabel.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_labelled_ruleunit/hasEmptyAriaLabel.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ApplicationLandmarkLabel_ruleunit/hasEmptyAriaLabellby.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_labelled_ruleunit/hasEmptyAriaLabellby.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ApplicationLandmarkLabel_ruleunit/hasEmptyAriaLabellby.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_labelled_ruleunit/hasEmptyAriaLabellby.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ApplicationLandmarkLabel_ruleunit/hasInvisibleLabel.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_labelled_ruleunit/hasInvisibleLabel.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ApplicationLandmarkLabel_ruleunit/hasInvisibleLabel.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_labelled_ruleunit/hasInvisibleLabel.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ApplicationLandmarkLabel_ruleunit/hasNoLabel.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_labelled_ruleunit/hasNoLabel.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ApplicationLandmarkLabel_ruleunit/hasNoLabel.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_labelled_ruleunit/hasNoLabel.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ApplicationLandmarkLabel_ruleunit/hasVisibleLabel.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_labelled_ruleunit/hasVisibleLabel.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ApplicationLandmarkLabel_ruleunit/hasVisibleLabel.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_application_labelled_ruleunit/hasVisibleLabel.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleArticleRoles_Implicit_ruleunit/duplicateLandmarksAriaLabelNotUnique.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_article_label_unique_ruleunit/duplicateLandmarksAriaLabelNotUnique.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleArticleRoles_Implicit_ruleunit/duplicateLandmarksAriaLabelNotUnique.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_article_label_unique_ruleunit/duplicateLandmarksAriaLabelNotUnique.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleArticleRoles_Implicit_ruleunit/duplicateLandmarksAriaLabelNotUniqueHidden.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_article_label_unique_ruleunit/duplicateLandmarksAriaLabelNotUniqueHidden.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleArticleRoles_Implicit_ruleunit/duplicateLandmarksAriaLabelNotUniqueHidden.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_article_label_unique_ruleunit/duplicateLandmarksAriaLabelNotUniqueHidden.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleArticleRoles_Implicit_ruleunit/duplicateLandmarksAriaLabelUnique.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_article_label_unique_ruleunit/duplicateLandmarksAriaLabelUnique.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleArticleRoles_Implicit_ruleunit/duplicateLandmarksAriaLabelUnique.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_article_label_unique_ruleunit/duplicateLandmarksAriaLabelUnique.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleArticleRoles_Implicit_ruleunit/duplicateLandmarksAriaLabelledbyNotUnique.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_article_label_unique_ruleunit/duplicateLandmarksAriaLabelledbyNotUnique.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleArticleRoles_Implicit_ruleunit/duplicateLandmarksAriaLabelledbyNotUnique.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_article_label_unique_ruleunit/duplicateLandmarksAriaLabelledbyNotUnique.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleArticleRoles_Implicit_ruleunit/duplicateLandmarksAriaLabelledbyNotUniqueImplicit.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_article_label_unique_ruleunit/duplicateLandmarksAriaLabelledbyNotUniqueImplicit.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleArticleRoles_Implicit_ruleunit/duplicateLandmarksAriaLabelledbyNotUniqueImplicit.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_article_label_unique_ruleunit/duplicateLandmarksAriaLabelledbyNotUniqueImplicit.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleArticleRoles_Implicit_ruleunit/duplicateLandmarksAriaLabelledbyUnique.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_article_label_unique_ruleunit/duplicateLandmarksAriaLabelledbyUnique.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleArticleRoles_Implicit_ruleunit/duplicateLandmarksAriaLabelledbyUnique.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_article_label_unique_ruleunit/duplicateLandmarksAriaLabelledbyUnique.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleArticleRoles_Implicit_ruleunit/duplicateLandmarksNoLabels.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_article_label_unique_ruleunit/duplicateLandmarksNoLabels.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleArticleRoles_Implicit_ruleunit/duplicateLandmarksNoLabels.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_article_label_unique_ruleunit/duplicateLandmarksNoLabels.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleArticleRoles_Implicit_ruleunit/duplicateLandmarksOneAriaLabel.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_article_label_unique_ruleunit/duplicateLandmarksOneAriaLabel.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleArticleRoles_Implicit_ruleunit/duplicateLandmarksOneAriaLabel.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_article_label_unique_ruleunit/duplicateLandmarksOneAriaLabel.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleArticleRoles_Implicit_ruleunit/duplicateLandmarksOneAriaLabelledby.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_article_label_unique_ruleunit/duplicateLandmarksOneAriaLabelledby.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleArticleRoles_Implicit_ruleunit/duplicateLandmarksOneAriaLabelledby.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_article_label_unique_ruleunit/duplicateLandmarksOneAriaLabelledby.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleArticleRoles_Implicit_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_article_label_unique_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html similarity index 95% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleArticleRoles_Implicit_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_article_label_unique_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html index d3e6dc4ff..ddf626b04 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleArticleRoles_Implicit_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_article_label_unique_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html @@ -34,7 +34,7 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleArticleRoles_Implicit_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContentImplicit.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_article_label_unique_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContentImplicit.html similarity index 95% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleArticleRoles_Implicit_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContentImplicit.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_article_label_unique_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContentImplicit.html index 64e4ad70e..45c04ace6 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleArticleRoles_Implicit_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContentImplicit.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_article_label_unique_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContentImplicit.html @@ -34,7 +34,7 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleArticleRoles_Implicit_ruleunit/noDuplicateLandmarks.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_article_label_unique_ruleunit/noDuplicateLandmarks.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleArticleRoles_Implicit_ruleunit/noDuplicateLandmarks.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_article_label_unique_ruleunit/noDuplicateLandmarks.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidProperty_ruleunit/invalidAriaProperty.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_attribute_allowed_ruleunit/invalidAriaProperty.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidProperty_ruleunit/invalidAriaProperty.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_attribute_allowed_ruleunit/invalidAriaProperty.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidProperty_ruleunit/invalidAriaProperty2.txt b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_attribute_allowed_ruleunit/invalidAriaProperty2.txt similarity index 95% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidProperty_ruleunit/invalidAriaProperty2.txt rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_attribute_allowed_ruleunit/invalidAriaProperty2.txt index d6f812dfb..59c5504da 100755 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidProperty_ruleunit/invalidAriaProperty2.txt +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_attribute_allowed_ruleunit/invalidAriaProperty2.txt @@ -29,9 +29,9 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidProperty_ruleunit/validAriaProperty.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_attribute_allowed_ruleunit/validAriaProperty.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidProperty_ruleunit/validAriaProperty.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_attribute_allowed_ruleunit/validAriaProperty.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidProperty_ruleunit/validAriaProperty2.txt b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_attribute_allowed_ruleunit/validAriaProperty2.txt similarity index 91% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidProperty_ruleunit/validAriaProperty2.txt rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_attribute_allowed_ruleunit/validAriaProperty2.txt index c9088ba49..c58a6003e 100755 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidProperty_ruleunit/validAriaProperty2.txt +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_attribute_allowed_ruleunit/validAriaProperty2.txt @@ -30,14 +30,14 @@ function runRule() { - var passed = OpenAjax.a11y.getRule("Rpt_Aria_ValidProperty").validate(document.getElementById('empty1')); + var passed = OpenAjax.a11y.getRule("aria_attribute_allowed").validate(document.getElementById('empty1')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_ValidProperty").validate(document.getElementById('empty2')); + var passed = OpenAjax.a11y.getRule("aria_attribute_allowed").validate(document.getElementById('empty2')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_ValidProperty").validate(document.getElementById('app1')); + var passed = OpenAjax.a11y.getRule("aria_attribute_allowed").validate(document.getElementById('app1')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_ValidProperty").validate(document.getElementById('app2')); + var passed = OpenAjax.a11y.getRule("aria_attribute_allowed").validate(document.getElementById('app2')); console.log(passed); } diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_EmptyPropertyValue_ruleunit/aria_checked_empty.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_attribute_exists_ruleunit/aria_checked_empty.html similarity index 90% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_EmptyPropertyValue_ruleunit/aria_checked_empty.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_attribute_exists_ruleunit/aria_checked_empty.html index e5fdde9ef..11771ed4e 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_EmptyPropertyValue_ruleunit/aria_checked_empty.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_attribute_exists_ruleunit/aria_checked_empty.html @@ -13,10 +13,10 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_RequiredProperties_ruleunit/separator.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_attribute_required_ruleunit/separator.html similarity index 94% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_RequiredProperties_ruleunit/separator.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_attribute_required_ruleunit/separator.html index bbb2520ea..00a2fdfdf 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_RequiredProperties_ruleunit/separator.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_attribute_required_ruleunit/separator.html @@ -53,10 +53,10 @@

WAI-ARIA role valid attribute test

diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Aria_Native_Host_Semantics_ruleunit/ACT_5c01ea_da191373f044d7c309cafdf03485c61d2f91e1ee.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_attribute_valid_ruleunit/ACT_5c01ea_da191373f044d7c309cafdf03485c61d2f91e1ee.html similarity index 88% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Aria_Native_Host_Semantics_ruleunit/ACT_5c01ea_da191373f044d7c309cafdf03485c61d2f91e1ee.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_attribute_valid_ruleunit/ACT_5c01ea_da191373f044d7c309cafdf03485c61d2f91e1ee.html index 3d69065d2..6f722d79a 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Aria_Native_Host_Semantics_ruleunit/ACT_5c01ea_da191373f044d7c309cafdf03485c61d2f91e1ee.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_attribute_valid_ruleunit/ACT_5c01ea_da191373f044d7c309cafdf03485c61d2f91e1ee.html @@ -13,7 +13,7 @@

Test page

diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidPropertyValue_ruleunit/validAriaPropertyValue.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_attribute_value_valid_ruleunit/validAriaPropertyValue.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidPropertyValue_ruleunit/validAriaPropertyValue.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_attribute_value_valid_ruleunit/validAriaPropertyValue.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleBannerLandmarks_Implicit_ruleunit/ariaLabelAndariaLabelledbyNotUnique.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_label_unique_ruleunit/ariaLabelAndariaLabelledbyNotUnique.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleBannerLandmarks_Implicit_ruleunit/ariaLabelAndariaLabelledbyNotUnique.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_label_unique_ruleunit/ariaLabelAndariaLabelledbyNotUnique.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleBannerLandmarks_Implicit_ruleunit/ariaLabelAndariaLabelledbyNotUniqueImplict.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_label_unique_ruleunit/ariaLabelAndariaLabelledbyNotUniqueImplict.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleBannerLandmarks_Implicit_ruleunit/ariaLabelAndariaLabelledbyNotUniqueImplict.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_label_unique_ruleunit/ariaLabelAndariaLabelledbyNotUniqueImplict.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleBannerLandmarks_Implicit_ruleunit/ariaLabelAndariaLabelledbyUnique.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_label_unique_ruleunit/ariaLabelAndariaLabelledbyUnique.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleBannerLandmarks_Implicit_ruleunit/ariaLabelAndariaLabelledbyUnique.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_label_unique_ruleunit/ariaLabelAndariaLabelledbyUnique.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleBannerLandmarks_Implicit_ruleunit/duplicateLandmarksAriaLabelNotUnique.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_label_unique_ruleunit/duplicateLandmarksAriaLabelNotUnique.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleBannerLandmarks_Implicit_ruleunit/duplicateLandmarksAriaLabelNotUnique.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_label_unique_ruleunit/duplicateLandmarksAriaLabelNotUnique.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleBannerLandmarks_Implicit_ruleunit/duplicateLandmarksAriaLabelNotUniqueHidden.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_label_unique_ruleunit/duplicateLandmarksAriaLabelNotUniqueHidden.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleBannerLandmarks_Implicit_ruleunit/duplicateLandmarksAriaLabelNotUniqueHidden.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_label_unique_ruleunit/duplicateLandmarksAriaLabelNotUniqueHidden.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleBannerLandmarks_Implicit_ruleunit/duplicateLandmarksAriaLabelledbyNotUnique.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_label_unique_ruleunit/duplicateLandmarksAriaLabelledbyNotUnique.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleBannerLandmarks_Implicit_ruleunit/duplicateLandmarksAriaLabelledbyNotUnique.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_label_unique_ruleunit/duplicateLandmarksAriaLabelledbyNotUnique.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleBannerLandmarks_Implicit_ruleunit/duplicateLandmarksAriaLabelledbyUnique.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_label_unique_ruleunit/duplicateLandmarksAriaLabelledbyUnique.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleBannerLandmarks_Implicit_ruleunit/duplicateLandmarksAriaLabelledbyUnique.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_label_unique_ruleunit/duplicateLandmarksAriaLabelledbyUnique.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleBannerLandmarks_Implicit_ruleunit/duplicateLandmarksNoLabels.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_label_unique_ruleunit/duplicateLandmarksNoLabels.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleBannerLandmarks_Implicit_ruleunit/duplicateLandmarksNoLabels.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_label_unique_ruleunit/duplicateLandmarksNoLabels.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleBannerLandmarks_Implicit_ruleunit/duplicateLandmarksOneAriaLabel.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_label_unique_ruleunit/duplicateLandmarksOneAriaLabel.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleBannerLandmarks_Implicit_ruleunit/duplicateLandmarksOneAriaLabel.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_label_unique_ruleunit/duplicateLandmarksOneAriaLabel.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleBannerLandmarks_Implicit_ruleunit/duplicateLandmarksOneAriaLabelledby.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_label_unique_ruleunit/duplicateLandmarksOneAriaLabelledby.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleBannerLandmarks_Implicit_ruleunit/duplicateLandmarksOneAriaLabelledby.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_label_unique_ruleunit/duplicateLandmarksOneAriaLabelledby.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleBannerLandmarks_Implicit_ruleunit/duplicateLandmarkssAriaLabelUnique.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_label_unique_ruleunit/duplicateLandmarkssAriaLabelUnique.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleBannerLandmarks_Implicit_ruleunit/duplicateLandmarkssAriaLabelUnique.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_label_unique_ruleunit/duplicateLandmarkssAriaLabelUnique.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleBannerLandmarks_Implicit_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_label_unique_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html similarity index 95% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleBannerLandmarks_Implicit_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_label_unique_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html index 42b864bf7..06abe24a9 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleBannerLandmarks_Implicit_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_label_unique_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html @@ -34,7 +34,7 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleBannerLandmarks_Implicit_ruleunit/noDuplicateLandmarks.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_label_unique_ruleunit/noDuplicateLandmarks.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleBannerLandmarks_Implicit_ruleunit/noDuplicateLandmarks.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_label_unique_ruleunit/noDuplicateLandmarks.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OneBannerInSiblingSet_Implicit_ruleunit/hasNestedBanner.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_single_ruleunit/hasNestedBanner.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OneBannerInSiblingSet_Implicit_ruleunit/hasNestedBanner.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_single_ruleunit/hasNestedBanner.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OneBannerInSiblingSet_Implicit_ruleunit/hasTwoBannerSiblings.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_single_ruleunit/hasTwoBannerSiblings.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OneBannerInSiblingSet_Implicit_ruleunit/hasTwoBannerSiblings.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_single_ruleunit/hasTwoBannerSiblings.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OneBannerInSiblingSet_Implicit_ruleunit/hasTwoBannerSiblingsHiddenDebug.txt b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_single_ruleunit/hasTwoBannerSiblingsHiddenDebug.txt similarity index 94% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OneBannerInSiblingSet_Implicit_ruleunit/hasTwoBannerSiblingsHiddenDebug.txt rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_single_ruleunit/hasTwoBannerSiblingsHiddenDebug.txt index e122352d5..a8a2a1c32 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OneBannerInSiblingSet_Implicit_ruleunit/hasTwoBannerSiblingsHiddenDebug.txt +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_single_ruleunit/hasTwoBannerSiblingsHiddenDebug.txt @@ -29,7 +29,7 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OneBannerInSiblingSet_Implicit_ruleunit/hasTwoBannerSiblingsImplicit.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_single_ruleunit/hasTwoBannerSiblingsImplicit.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OneBannerInSiblingSet_Implicit_ruleunit/hasTwoBannerSiblingsImplicit.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_single_ruleunit/hasTwoBannerSiblingsImplicit.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OneBannerInSiblingSet_Implicit_ruleunit/hasTwoBannerSiblingsImplicitarticle.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_single_ruleunit/hasTwoBannerSiblingsImplicitarticle.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OneBannerInSiblingSet_Implicit_ruleunit/hasTwoBannerSiblingsImplicitarticle.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_single_ruleunit/hasTwoBannerSiblingsImplicitarticle.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OneBannerInSiblingSet_Implicit_ruleunit/noMainBannermarks.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_single_ruleunit/noMainBannermarks.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OneBannerInSiblingSet_Implicit_ruleunit/noMainBannermarks.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_banner_single_ruleunit/noMainBannermarks.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/disabledNoFocusable.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/disabledNoFocusable.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/disabledNoFocusable.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/disabledNoFocusable.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/disabledNoFocusableDebug.txt b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/disabledNoFocusableDebug.txt similarity index 81% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/disabledNoFocusableDebug.txt rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/disabledNoFocusableDebug.txt index 051556d78..4cd1c1b9e 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/disabledNoFocusableDebug.txt +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/disabledNoFocusableDebug.txt @@ -31,17 +31,17 @@ function runRule() { - var passed = OpenAjax.a11y.getRule("Rpt_Aria_MissingFocusableChild").validate(document.getElementById('tree1')); + var passed = OpenAjax.a11y.getRule("aria_child_tabbable").validate(document.getElementById('tree1')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_MissingFocusableChild").validate(document.getElementById('tree2')); + var passed = OpenAjax.a11y.getRule("aria_child_tabbable").validate(document.getElementById('tree2')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_MissingFocusableChild").validate(document.getElementById('tree3')); + var passed = OpenAjax.a11y.getRule("aria_child_tabbable").validate(document.getElementById('tree3')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_MissingFocusableChild").validate(document.getElementById('tree4')); + var passed = OpenAjax.a11y.getRule("aria_child_tabbable").validate(document.getElementById('tree4')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_MissingFocusableChild").validate(document.getElementById('tree5')); + var passed = OpenAjax.a11y.getRule("aria_child_tabbable").validate(document.getElementById('tree5')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_MissingFocusableChild").validate(document.getElementById('tree6')); + var passed = OpenAjax.a11y.getRule("aria_child_tabbable").validate(document.getElementById('tree6')); console.log(passed); } diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/gridRow-doNotTrigger.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/gridRow-doNotTrigger.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/gridRow-doNotTrigger.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/gridRow-doNotTrigger.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/hasFocusableChild.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/hasFocusableChild.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/hasFocusableChild.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/hasFocusableChild.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/hasFocusableChild2.txt b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/hasFocusableChild2.txt similarity index 85% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/hasFocusableChild2.txt rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/hasFocusableChild2.txt index 0fff5dcee..e050c165a 100755 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/hasFocusableChild2.txt +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/hasFocusableChild2.txt @@ -31,13 +31,13 @@ function runRule() { - var passed = OpenAjax.a11y.getRule("Rpt_Aria_MissingFocusableChild").validate(document.getElementById('tree1')); + var passed = OpenAjax.a11y.getRule("aria_child_tabbable").validate(document.getElementById('tree1')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_MissingFocusableChild").validate(document.getElementById('tree2')); + var passed = OpenAjax.a11y.getRule("aria_child_tabbable").validate(document.getElementById('tree2')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_MissingFocusableChild").validate(document.getElementById('tree3')); + var passed = OpenAjax.a11y.getRule("aria_child_tabbable").validate(document.getElementById('tree3')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_MissingFocusableChild").validate(document.getElementById('tree4')); + var passed = OpenAjax.a11y.getRule("aria_child_tabbable").validate(document.getElementById('tree4')); console.log(passed); } diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/hasFocusableChildByDefault.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/hasFocusableChildByDefault.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/hasFocusableChildByDefault.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/hasFocusableChildByDefault.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/hasFocusableChildHidden.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/hasFocusableChildHidden.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/hasFocusableChildHidden.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/hasFocusableChildHidden.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/hasFocusableChildHiddenDebug.txt b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/hasFocusableChildHiddenDebug.txt similarity index 85% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/hasFocusableChildHiddenDebug.txt rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/hasFocusableChildHiddenDebug.txt index 3d1481cc2..914e92aa6 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/hasFocusableChildHiddenDebug.txt +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/hasFocusableChildHiddenDebug.txt @@ -31,13 +31,13 @@ function runRule() { - var passed = OpenAjax.a11y.getRule("Rpt_Aria_MissingFocusableChild").validate(document.getElementById('tree1')); + var passed = OpenAjax.a11y.getRule("aria_child_tabbable").validate(document.getElementById('tree1')); console.log(passed.result); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_MissingFocusableChild").validate(document.getElementById('tree2')); + var passed = OpenAjax.a11y.getRule("aria_child_tabbable").validate(document.getElementById('tree2')); console.log(passed.result); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_MissingFocusableChild").validate(document.getElementById('tree3')); + var passed = OpenAjax.a11y.getRule("aria_child_tabbable").validate(document.getElementById('tree3')); console.log(passed.result); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_MissingFocusableChild").validate(document.getElementById('tree4')); + var passed = OpenAjax.a11y.getRule("aria_child_tabbable").validate(document.getElementById('tree4')); console.log(passed.result); } diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/hasFocusableGrandChildDiv.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/hasFocusableGrandChildDiv.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/hasFocusableGrandChildDiv.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/hasFocusableGrandChildDiv.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/hasFocusableGrandChildDivHidden.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/hasFocusableGrandChildDivHidden.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/hasFocusableGrandChildDivHidden.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/hasFocusableGrandChildDivHidden.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/hasFocusableGrandChildDivHiddenDebug.txt b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/hasFocusableGrandChildDivHiddenDebug.txt similarity index 95% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/hasFocusableGrandChildDivHiddenDebug.txt rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/hasFocusableGrandChildDivHiddenDebug.txt index f8f97fb6a..ba75d250a 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/hasFocusableGrandChildDivHiddenDebug.txt +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/hasFocusableGrandChildDivHiddenDebug.txt @@ -35,7 +35,7 @@ function runRule() { - var passed = OpenAjax.a11y.getRule("Rpt_Aria_MissingFocusableChild").validate(document.getElementById('tree1')); + var passed = OpenAjax.a11y.getRule("aria_child_tabbable").validate(document.getElementById('tree1')); console.log(passed.result); } diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/hasFocusableLinks.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/hasFocusableLinks.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/hasFocusableLinks.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/hasFocusableLinks.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/hasMobileClass2.txt b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/hasMobileClass2.txt similarity index 91% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/hasMobileClass2.txt rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/hasMobileClass2.txt index 82cfcc202..94561eca0 100755 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/hasMobileClass2.txt +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/hasMobileClass2.txt @@ -29,13 +29,13 @@ function runRule() { - var passed = OpenAjax.a11y.getRule("Rpt_Aria_MissingFocusableChild").validate(document.getElementById('tree1')); + var passed = OpenAjax.a11y.getRule("aria_child_tabbable").validate(document.getElementById('tree1')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_MissingFocusableChild").validate(document.getElementById('dlgTitle_0')); + var passed = OpenAjax.a11y.getRule("aria_child_tabbable").validate(document.getElementById('dlgTitle_0')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_MissingFocusableChild").validate(document.getElementById('dlgText_0')); + var passed = OpenAjax.a11y.getRule("aria_child_tabbable").validate(document.getElementById('dlgText_0')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_MissingFocusableChild").validate(document.getElementById('Button_0')); + var passed = OpenAjax.a11y.getRule("aria_child_tabbable").validate(document.getElementById('Button_0')); console.log(passed); } diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/listWithNoFocusableChild.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/listWithNoFocusableChild.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/listWithNoFocusableChild.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/listWithNoFocusableChild.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/list_activedescendant.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/list_activedescendant.html similarity index 97% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/list_activedescendant.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/list_activedescendant.html index 40c6d4bc1..2aafb2fe9 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/list_activedescendant.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/list_activedescendant.html @@ -47,7 +47,7 @@

Test case

diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/missing_child.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/missing_child.html similarity index 93% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/missing_child.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/missing_child.html index 93260d047..35ff22392 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingFocusableChild_ruleunit/missing_child.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_tabbable_ruleunit/missing_child.html @@ -70,10 +70,10 @@

This should fail

diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_valid_ruleunit/disabledAriaRequiredChildrenDebug.txt b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_valid_ruleunit/disabledAriaRequiredChildrenDebug.txt index 73a4349b8..28b122d5c 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_valid_ruleunit/disabledAriaRequiredChildrenDebug.txt +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_valid_ruleunit/disabledAriaRequiredChildrenDebug.txt @@ -31,17 +31,17 @@ function runRule() { - var passed = OpenAjax.a11y.getRule("Rpt_Aria_RequiredChildren").validate(document.getElementById('id0')); + var passed = OpenAjax.a11y.getRule("aria_child_valid").validate(document.getElementById('id0')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_RequiredChildren").validate(document.getElementById('id1')); + var passed = OpenAjax.a11y.getRule("aria_child_valid").validate(document.getElementById('id1')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_RequiredChildren").validate(document.getElementById('id2')); + var passed = OpenAjax.a11y.getRule("aria_child_valid").validate(document.getElementById('id2')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_RequiredChildren").validate(document.getElementById('id3')); + var passed = OpenAjax.a11y.getRule("aria_child_valid").validate(document.getElementById('id3')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_RequiredChildren").validate(document.getElementById('id4')); + var passed = OpenAjax.a11y.getRule("aria_child_valid").validate(document.getElementById('id4')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_RequiredChildren").validate(document.getElementById('id5')); + var passed = OpenAjax.a11y.getRule("aria_child_valid").validate(document.getElementById('id5')); console.log(passed); } diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_valid_ruleunit/invalidAriaRequiredChildren2.txt b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_valid_ruleunit/invalidAriaRequiredChildren2.txt index 3d35221e2..9ec95139b 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_valid_ruleunit/invalidAriaRequiredChildren2.txt +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_valid_ruleunit/invalidAriaRequiredChildren2.txt @@ -30,15 +30,15 @@ function runRule() { - var passed = OpenAjax.a11y.getRule("Rpt_Aria_RequiredChildren").validate(document.getElementById('id0')); + var passed = OpenAjax.a11y.getRule("aria_child_valid").validate(document.getElementById('id0')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_RequiredChildren").validate(document.getElementById('id1')); + var passed = OpenAjax.a11y.getRule("aria_child_valid").validate(document.getElementById('id1')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_RequiredChildren").validate(document.getElementById('id2')); + var passed = OpenAjax.a11y.getRule("aria_child_valid").validate(document.getElementById('id2')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_RequiredChildren").validate(document.getElementById('id3')); + var passed = OpenAjax.a11y.getRule("aria_child_valid").validate(document.getElementById('id3')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_RequiredChildren").validate(document.getElementById('id4')); + var passed = OpenAjax.a11y.getRule("aria_child_valid").validate(document.getElementById('id4')); console.log(passed); } diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_valid_ruleunit/validAriaRequiredChildren2.txt b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_valid_ruleunit/validAriaRequiredChildren2.txt index 344d05fd9..d040776b3 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_valid_ruleunit/validAriaRequiredChildren2.txt +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_valid_ruleunit/validAriaRequiredChildren2.txt @@ -31,18 +31,18 @@ function runRule() { - var passed = OpenAjax.a11y.getRule("Rpt_Aria_RequiredChildren").validate(document.getElementById('id1')); + var passed = OpenAjax.a11y.getRule("aria_child_valid").validate(document.getElementById('id1')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_RequiredChildren").validate(document.getElementById('id2')); + var passed = OpenAjax.a11y.getRule("aria_child_valid").validate(document.getElementById('id2')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_RequiredChildren").validate(document.getElementById('id3')); + var passed = OpenAjax.a11y.getRule("aria_child_valid").validate(document.getElementById('id3')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_RequiredChildren").validate(document.getElementById('id4')); + var passed = OpenAjax.a11y.getRule("aria_child_valid").validate(document.getElementById('id4')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_RequiredChildren").validate(document.getElementById('id5')); + var passed = OpenAjax.a11y.getRule("aria_child_valid").validate(document.getElementById('id5')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_RequiredChildren").validate(document.getElementById('li1')); + var passed = OpenAjax.a11y.getRule("aria_child_valid").validate(document.getElementById('li1')); console.log(passed); } diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_valid_ruleunit/validAriaRequiredChildrenTableHtmlEquv2.txt b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_valid_ruleunit/validAriaRequiredChildrenTableHtmlEquv2.txt index 1a0f97a1c..9d621241c 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_valid_ruleunit/validAriaRequiredChildrenTableHtmlEquv2.txt +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_child_valid_ruleunit/validAriaRequiredChildrenTableHtmlEquv2.txt @@ -30,7 +30,7 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleComplementaryLandmarks_Implicit_ruleunit/duplicateLandmarksAriaLabelNotUnique.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_unique_ruleunit/duplicateLandmarksAriaLabelNotUnique.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleComplementaryLandmarks_Implicit_ruleunit/duplicateLandmarksAriaLabelNotUnique.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_unique_ruleunit/duplicateLandmarksAriaLabelNotUnique.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleComplementaryLandmarks_Implicit_ruleunit/duplicateLandmarksAriaLabelNotUniqueHidden.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_unique_ruleunit/duplicateLandmarksAriaLabelNotUniqueHidden.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleComplementaryLandmarks_Implicit_ruleunit/duplicateLandmarksAriaLabelNotUniqueHidden.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_unique_ruleunit/duplicateLandmarksAriaLabelNotUniqueHidden.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleComplementaryLandmarks_Implicit_ruleunit/duplicateLandmarksAriaLabelledbyNotUnique.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_unique_ruleunit/duplicateLandmarksAriaLabelledbyNotUnique.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleComplementaryLandmarks_Implicit_ruleunit/duplicateLandmarksAriaLabelledbyNotUnique.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_unique_ruleunit/duplicateLandmarksAriaLabelledbyNotUnique.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleComplementaryLandmarks_Implicit_ruleunit/duplicateLandmarksAriaLabelledbyNotUniqueImplicit.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_unique_ruleunit/duplicateLandmarksAriaLabelledbyNotUniqueImplicit.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleComplementaryLandmarks_Implicit_ruleunit/duplicateLandmarksAriaLabelledbyNotUniqueImplicit.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_unique_ruleunit/duplicateLandmarksAriaLabelledbyNotUniqueImplicit.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleComplementaryLandmarks_Implicit_ruleunit/duplicateLandmarksAriaLabelledbyUnique.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_unique_ruleunit/duplicateLandmarksAriaLabelledbyUnique.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleComplementaryLandmarks_Implicit_ruleunit/duplicateLandmarksAriaLabelledbyUnique.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_unique_ruleunit/duplicateLandmarksAriaLabelledbyUnique.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleComplementaryLandmarks_Implicit_ruleunit/duplicateLandmarksNoLabels.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_unique_ruleunit/duplicateLandmarksNoLabels.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleComplementaryLandmarks_Implicit_ruleunit/duplicateLandmarksNoLabels.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_unique_ruleunit/duplicateLandmarksNoLabels.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleComplementaryLandmarks_Implicit_ruleunit/duplicateLandmarksOneAriaLabel.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_unique_ruleunit/duplicateLandmarksOneAriaLabel.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleComplementaryLandmarks_Implicit_ruleunit/duplicateLandmarksOneAriaLabel.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_unique_ruleunit/duplicateLandmarksOneAriaLabel.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleComplementaryLandmarks_Implicit_ruleunit/duplicateLandmarksOneAriaLabelledby.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_unique_ruleunit/duplicateLandmarksOneAriaLabelledby.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleComplementaryLandmarks_Implicit_ruleunit/duplicateLandmarksOneAriaLabelledby.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_unique_ruleunit/duplicateLandmarksOneAriaLabelledby.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleComplementaryLandmarks_Implicit_ruleunit/duplicateLandmarkssAriaLabelUnique.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_unique_ruleunit/duplicateLandmarkssAriaLabelUnique.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleComplementaryLandmarks_Implicit_ruleunit/duplicateLandmarkssAriaLabelUnique.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_unique_ruleunit/duplicateLandmarkssAriaLabelUnique.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleComplementaryLandmarks_Implicit_ruleunit/duplicateLandmarkssAriaLabelUniqueImplicit.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_unique_ruleunit/duplicateLandmarkssAriaLabelUniqueImplicit.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleComplementaryLandmarks_Implicit_ruleunit/duplicateLandmarkssAriaLabelUniqueImplicit.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_unique_ruleunit/duplicateLandmarkssAriaLabelUniqueImplicit.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleComplementaryLandmarks_Implicit_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_unique_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleComplementaryLandmarks_Implicit_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_unique_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleComplementaryLandmarks_Implicit_ruleunit/noDuplicateLandmarks.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_unique_ruleunit/noDuplicateLandmarks.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleComplementaryLandmarks_Implicit_ruleunit/noDuplicateLandmarks.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_unique_ruleunit/noDuplicateLandmarks.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ComplementaryLandmarkLabel_Implicit_ruleunit/D377.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_visible_ruleunit/D377.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ComplementaryLandmarkLabel_Implicit_ruleunit/D377.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_visible_ruleunit/D377.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ComplementaryLandmarkLabel_Implicit_ruleunit/hasInvisibleLabel.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_visible_ruleunit/hasInvisibleLabel.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ComplementaryLandmarkLabel_Implicit_ruleunit/hasInvisibleLabel.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_visible_ruleunit/hasInvisibleLabel.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ComplementaryLandmarkLabel_Implicit_ruleunit/hasNoLabel.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_visible_ruleunit/hasNoLabel.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ComplementaryLandmarkLabel_Implicit_ruleunit/hasNoLabel.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_visible_ruleunit/hasNoLabel.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ComplementaryLandmarkLabel_Implicit_ruleunit/hasNoLabelImplicit.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_visible_ruleunit/hasNoLabelImplicit.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ComplementaryLandmarkLabel_Implicit_ruleunit/hasNoLabelImplicit.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_visible_ruleunit/hasNoLabelImplicit.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ComplementaryLandmarkLabel_Implicit_ruleunit/hasVisibleLabel.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_visible_ruleunit/hasVisibleLabel.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ComplementaryLandmarkLabel_Implicit_ruleunit/hasVisibleLabel.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_visible_ruleunit/hasVisibleLabel.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ComplementaryLandmarkLabel_Implicit_ruleunit/hasVisibleLabelImplicit.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_visible_ruleunit/hasVisibleLabelImplicit.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ComplementaryLandmarkLabel_Implicit_ruleunit/hasVisibleLabelImplicit.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_label_visible_ruleunit/hasVisibleLabelImplicit.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ComplementaryRequiredLabel_Implicit_ruleunit/hasEmptyAriaLabel.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_labelled_ruleunit/hasEmptyAriaLabel.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ComplementaryRequiredLabel_Implicit_ruleunit/hasEmptyAriaLabel.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_labelled_ruleunit/hasEmptyAriaLabel.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ComplementaryRequiredLabel_Implicit_ruleunit/hasEmptyAriaLabellby.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_labelled_ruleunit/hasEmptyAriaLabellby.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ComplementaryRequiredLabel_Implicit_ruleunit/hasEmptyAriaLabellby.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_labelled_ruleunit/hasEmptyAriaLabellby.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ComplementaryRequiredLabel_Implicit_ruleunit/hasInvisibleLabel.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_labelled_ruleunit/hasInvisibleLabel.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ComplementaryRequiredLabel_Implicit_ruleunit/hasInvisibleLabel.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_labelled_ruleunit/hasInvisibleLabel.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ComplementaryRequiredLabel_Implicit_ruleunit/hasNoLabel.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_labelled_ruleunit/hasNoLabel.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ComplementaryRequiredLabel_Implicit_ruleunit/hasNoLabel.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_labelled_ruleunit/hasNoLabel.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ComplementaryRequiredLabel_Implicit_ruleunit/hasVisibleLabel.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_labelled_ruleunit/hasVisibleLabel.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ComplementaryRequiredLabel_Implicit_ruleunit/hasVisibleLabel.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_complementary_labelled_ruleunit/hasVisibleLabel.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OrphanedContent_Native_Host_Sematics_ruleunit/D608.css b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_content_in_landmark_ruleunit/D608.css similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OrphanedContent_Native_Host_Sematics_ruleunit/D608.css rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_content_in_landmark_ruleunit/D608.css diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OrphanedContent_Native_Host_Sematics_ruleunit/D608.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_content_in_landmark_ruleunit/D608.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OrphanedContent_Native_Host_Sematics_ruleunit/D608.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_content_in_landmark_ruleunit/D608.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OrphanedContent_Native_Host_Sematics_ruleunit/D698.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_content_in_landmark_ruleunit/D698.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OrphanedContent_Native_Host_Sematics_ruleunit/D698.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_content_in_landmark_ruleunit/D698.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OrphanedContent_Native_Host_Sematics_ruleunit/adjacentParagraphsNoLandmark.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_content_in_landmark_ruleunit/adjacentParagraphsNoLandmark.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OrphanedContent_Native_Host_Sematics_ruleunit/adjacentParagraphsNoLandmark.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_content_in_landmark_ruleunit/adjacentParagraphsNoLandmark.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OrphanedContent_Native_Host_Sematics_ruleunit/alertAtBottomOfPage.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_content_in_landmark_ruleunit/alertAtBottomOfPage.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OrphanedContent_Native_Host_Sematics_ruleunit/alertAtBottomOfPage.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_content_in_landmark_ruleunit/alertAtBottomOfPage.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OrphanedContent_Native_Host_Sematics_ruleunit/alertAtBottomOfPageImplicit.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_content_in_landmark_ruleunit/alertAtBottomOfPageImplicit.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OrphanedContent_Native_Host_Sematics_ruleunit/alertAtBottomOfPageImplicit.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_content_in_landmark_ruleunit/alertAtBottomOfPageImplicit.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OrphanedContent_Native_Host_Sematics_ruleunit/alertDialogAtBottomOfPage.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_content_in_landmark_ruleunit/alertDialogAtBottomOfPage.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OrphanedContent_Native_Host_Sematics_ruleunit/alertDialogAtBottomOfPage.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_content_in_landmark_ruleunit/alertDialogAtBottomOfPage.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OrphanedContent_Native_Host_Sematics_ruleunit/dataTable.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_content_in_landmark_ruleunit/dataTable.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OrphanedContent_Native_Host_Sematics_ruleunit/dataTable.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_content_in_landmark_ruleunit/dataTable.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OrphanedContent_Native_Host_Sematics_ruleunit/dialogAtBottomOfPage.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_content_in_landmark_ruleunit/dialogAtBottomOfPage.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OrphanedContent_Native_Host_Sematics_ruleunit/dialogAtBottomOfPage.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_content_in_landmark_ruleunit/dialogAtBottomOfPage.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OrphanedContent_Native_Host_Sematics_ruleunit/manyLinksNoLandmark.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_content_in_landmark_ruleunit/manyLinksNoLandmark.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OrphanedContent_Native_Host_Sematics_ruleunit/manyLinksNoLandmark.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_content_in_landmark_ruleunit/manyLinksNoLandmark.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OrphanedContent_Native_Host_Sematics_ruleunit/manyLinksWithLandmark.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_content_in_landmark_ruleunit/manyLinksWithLandmark.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OrphanedContent_Native_Host_Sematics_ruleunit/manyLinksWithLandmark.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_content_in_landmark_ruleunit/manyLinksWithLandmark.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OrphanedContent_Native_Host_Sematics_ruleunit/presentationTable.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_content_in_landmark_ruleunit/presentationTable.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OrphanedContent_Native_Host_Sematics_ruleunit/presentationTable.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_content_in_landmark_ruleunit/presentationTable.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OrphanedContent_Native_Host_Sematics_ruleunit/shadowdom.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_content_in_landmark_ruleunit/shadowdom.html similarity index 88% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OrphanedContent_Native_Host_Sematics_ruleunit/shadowdom.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_content_in_landmark_ruleunit/shadowdom.html index a5704661b..05140aa83 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_OrphanedContent_Native_Host_Sematics_ruleunit/shadowdom.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_content_in_landmark_ruleunit/shadowdom.html @@ -33,10 +33,10 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleContentinfoLandmarks_Implicit_ruleunit/noDuplicateLandmarks.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_label_unique_ruleunit/noDuplicateLandmarks.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleContentinfoLandmarks_Implicit_ruleunit/noDuplicateLandmarks.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_label_unique_ruleunit/noDuplicateLandmarks.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleContentinfoLandmarks_Implicit_ruleunit/noDuplicateLandmarksImplicit.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_label_unique_ruleunit/noDuplicateLandmarksImplicit.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleContentinfoLandmarks_Implicit_ruleunit/noDuplicateLandmarksImplicit.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_label_unique_ruleunit/noDuplicateLandmarksImplicit.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ContentinfoWithNoMain_Implicit_ruleunit/contentinfoHasMain.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_misuse_ruleunit/contentinfoHasMain.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ContentinfoWithNoMain_Implicit_ruleunit/contentinfoHasMain.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_misuse_ruleunit/contentinfoHasMain.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ContentinfoWithNoMain_Implicit_ruleunit/contentinfoHasMainHidden.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_misuse_ruleunit/contentinfoHasMainHidden.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ContentinfoWithNoMain_Implicit_ruleunit/contentinfoHasMainHidden.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_misuse_ruleunit/contentinfoHasMainHidden.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ContentinfoWithNoMain_Implicit_ruleunit/contentinfoHasMainImplicit.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_misuse_ruleunit/contentinfoHasMainImplicit.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ContentinfoWithNoMain_Implicit_ruleunit/contentinfoHasMainImplicit.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_misuse_ruleunit/contentinfoHasMainImplicit.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ContentinfoWithNoMain_Implicit_ruleunit/contentinfoHasMainImplicitFooter.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_misuse_ruleunit/contentinfoHasMainImplicitFooter.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ContentinfoWithNoMain_Implicit_ruleunit/contentinfoHasMainImplicitFooter.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_misuse_ruleunit/contentinfoHasMainImplicitFooter.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ContentinfoWithNoMain_Implicit_ruleunit/contentinfoHasNoMain.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_misuse_ruleunit/contentinfoHasNoMain.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ContentinfoWithNoMain_Implicit_ruleunit/contentinfoHasNoMain.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_misuse_ruleunit/contentinfoHasNoMain.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ContentinfoWithNoMain_Implicit_ruleunit/contentinfoHasNoMainImplicitFooter.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_misuse_ruleunit/contentinfoHasNoMainImplicitFooter.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ContentinfoWithNoMain_Implicit_ruleunit/contentinfoHasNoMainImplicitFooter.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_misuse_ruleunit/contentinfoHasNoMainImplicitFooter.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ContentinfoWithNoMain_Implicit_ruleunit/contentinfoHasNoMainImplicitFooterInArticle.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_misuse_ruleunit/contentinfoHasNoMainImplicitFooterInArticle.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ContentinfoWithNoMain_Implicit_ruleunit/contentinfoHasNoMainImplicitFooterInArticle.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_misuse_ruleunit/contentinfoHasNoMainImplicitFooterInArticle.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ContentinfoWithNoMain_Implicit_ruleunit/hiddenUnitTesting/contentinfoHasNoMainDontCheckHiddenContent.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_misuse_ruleunit/hiddenUnitTesting/contentinfoHasNoMainDontCheckHiddenContent.html similarity index 94% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ContentinfoWithNoMain_Implicit_ruleunit/hiddenUnitTesting/contentinfoHasNoMainDontCheckHiddenContent.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_misuse_ruleunit/hiddenUnitTesting/contentinfoHasNoMainDontCheckHiddenContent.html index fcc2bf05b..574461261 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ContentinfoWithNoMain_Implicit_ruleunit/hiddenUnitTesting/contentinfoHasNoMainDontCheckHiddenContent.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_misuse_ruleunit/hiddenUnitTesting/contentinfoHasNoMainDontCheckHiddenContent.html @@ -34,7 +34,7 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ContentinfoWithNoMain_Implicit_ruleunit/nestedContentinfoHasMain.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_misuse_ruleunit/nestedContentinfoHasMain.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ContentinfoWithNoMain_Implicit_ruleunit/nestedContentinfoHasMain.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_misuse_ruleunit/nestedContentinfoHasMain.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit_ruleunit/hasMultipleContentinfo.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_single_ruleunit/hasMultipleContentinfo.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit_ruleunit/hasMultipleContentinfo.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_single_ruleunit/hasMultipleContentinfo.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit_ruleunit/hasMultipleContentinfoHidden.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_single_ruleunit/hasMultipleContentinfoHidden.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit_ruleunit/hasMultipleContentinfoHidden.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_single_ruleunit/hasMultipleContentinfoHidden.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit_ruleunit/hasMultipleContentinfoHiddenDebug.txt b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_single_ruleunit/hasMultipleContentinfoHiddenDebug.txt similarity index 94% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit_ruleunit/hasMultipleContentinfoHiddenDebug.txt rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_single_ruleunit/hasMultipleContentinfoHiddenDebug.txt index c16b64994..7bd982616 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit_ruleunit/hasMultipleContentinfoHiddenDebug.txt +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_single_ruleunit/hasMultipleContentinfoHiddenDebug.txt @@ -29,7 +29,7 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit_ruleunit/hasMultipleContentinfoHiddenImplicit.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_single_ruleunit/hasMultipleContentinfoHiddenImplicit.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit_ruleunit/hasMultipleContentinfoHiddenImplicit.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_single_ruleunit/hasMultipleContentinfoHiddenImplicit.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit_ruleunit/hasMultipleContentinfoImplicit.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_single_ruleunit/hasMultipleContentinfoImplicit.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit_ruleunit/hasMultipleContentinfoImplicit.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_single_ruleunit/hasMultipleContentinfoImplicit.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit_ruleunit/hasMultipleContentinfoImplicitArticleDescendent.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_single_ruleunit/hasMultipleContentinfoImplicitArticleDescendent.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit_ruleunit/hasMultipleContentinfoImplicitArticleDescendent.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_single_ruleunit/hasMultipleContentinfoImplicitArticleDescendent.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit_ruleunit/hasNestedContentinfo.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_single_ruleunit/hasNestedContentinfo.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit_ruleunit/hasNestedContentinfo.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_single_ruleunit/hasNestedContentinfo.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit_ruleunit/hasNestedContentinfoHidden.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_single_ruleunit/hasNestedContentinfoHidden.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit_ruleunit/hasNestedContentinfoHidden.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_single_ruleunit/hasNestedContentinfoHidden.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit_ruleunit/hasSingleContentinfo.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_single_ruleunit/hasSingleContentinfo.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleContentinfoInSiblingSet_Implicit_ruleunit/hasSingleContentinfo.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_contentinfo_single_ruleunit/hasSingleContentinfo.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_descendant_valid_ruleunit/aria-descendant-button-aria-own.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_descendant_valid_ruleunit/aria-descendant-button-aria-own.html index ec6a32bde..0fd93d41a 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_descendant_valid_ruleunit/aria-descendant-button-aria-own.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_descendant_valid_ruleunit/aria-descendant-button-aria-own.html @@ -87,7 +87,7 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleDocumentRoles_ruleunit/nested_table_issue.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_document_label_unique_ruleunit/nested_table_issue.html similarity index 98% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleDocumentRoles_ruleunit/nested_table_issue.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_document_label_unique_ruleunit/nested_table_issue.html index 9c59fc1e7..1beb700dd 100755 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleDocumentRoles_ruleunit/nested_table_issue.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_document_label_unique_ruleunit/nested_table_issue.html @@ -68,7 +68,7 @@

Test page

diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleDocumentRoles_ruleunit/noDuplicateLandmarks.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_document_label_unique_ruleunit/noDuplicateLandmarks.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleDocumentRoles_ruleunit/noDuplicateLandmarks.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_document_label_unique_ruleunit/noDuplicateLandmarks.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_EventHandlerMissingRole_Native_Host_Sematics_ruleunit/eventHandlerHasRole.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_eventhandler_role_valid_ruleunit/eventHandlerHasRole.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_EventHandlerMissingRole_Native_Host_Sematics_ruleunit/eventHandlerHasRole.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_eventhandler_role_valid_ruleunit/eventHandlerHasRole.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_EventHandlerMissingRole_Native_Host_Sematics_ruleunit/eventHandlerHasRole2.txt b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_eventhandler_role_valid_ruleunit/eventHandlerHasRole2.txt similarity index 90% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_EventHandlerMissingRole_Native_Host_Sematics_ruleunit/eventHandlerHasRole2.txt rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_eventhandler_role_valid_ruleunit/eventHandlerHasRole2.txt index 13075fe8f..6c2b35cd4 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_EventHandlerMissingRole_Native_Host_Sematics_ruleunit/eventHandlerHasRole2.txt +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_eventhandler_role_valid_ruleunit/eventHandlerHasRole2.txt @@ -31,9 +31,9 @@ function runRule() { - var passed = OpenAjax.a11y.getRule("Rpt_Aria_EventHandlerMissingRole").validate(document.getElementById('tb1')); + var passed = OpenAjax.a11y.getRule("aria_eventhandler_role_valid").validate(document.getElementById('tb1')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_EventHandlerMissingRole").validate(document.getElementById('myarea')); + var passed = OpenAjax.a11y.getRule("aria_eventhandler_role_valid").validate(document.getElementById('myarea')); console.log(passed); } diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_EventHandlerMissingRole_Native_Host_Sematics_ruleunit/eventHandlerMissingRole2.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_eventhandler_role_valid_ruleunit/eventHandlerMissingRole2.html similarity index 92% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_EventHandlerMissingRole_Native_Host_Sematics_ruleunit/eventHandlerMissingRole2.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_eventhandler_role_valid_ruleunit/eventHandlerMissingRole2.html index a1c23f637..2dca7902b 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_EventHandlerMissingRole_Native_Host_Sematics_ruleunit/eventHandlerMissingRole2.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_eventhandler_role_valid_ruleunit/eventHandlerMissingRole2.html @@ -47,10 +47,10 @@

WAI-ARIA keyboard equivalent test

diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleFormLandmarks_Implicit_ruleunit/noDuplicateLandmarks.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_form_label_unique_ruleunit/noDuplicateLandmarks.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleFormLandmarks_Implicit_ruleunit/noDuplicateLandmarks.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_form_label_unique_ruleunit/noDuplicateLandmarks.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleFormLandmarks_Implicit_ruleunit/noDuplicateLandmarksImplicit.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_form_label_unique_ruleunit/noDuplicateLandmarksImplicit.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleFormLandmarks_Implicit_ruleunit/noDuplicateLandmarksImplicit.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_form_label_unique_ruleunit/noDuplicateLandmarksImplicit.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_hidden_focus_misuse_ruleunit/act_6cfa84_aria_hidden_fail_disabled_form_field.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_hidden_nontabbable_ruleunit/act_6cfa84_aria_hidden_fail_disabled_form_field.html similarity index 93% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_hidden_focus_misuse_ruleunit/act_6cfa84_aria_hidden_fail_disabled_form_field.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_hidden_nontabbable_ruleunit/act_6cfa84_aria_hidden_fail_disabled_form_field.html index 0ea4d7faa..477e24ea1 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_hidden_focus_misuse_ruleunit/act_6cfa84_aria_hidden_fail_disabled_form_field.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_hidden_nontabbable_ruleunit/act_6cfa84_aria_hidden_fail_disabled_form_field.html @@ -30,10 +30,10 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidIdRef_ruleunit/invalidAriaIdReference.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_id_unique_ruleunit/invalidAriaIdReference.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidIdRef_ruleunit/invalidAriaIdReference.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_id_unique_ruleunit/invalidAriaIdReference.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidIdRef_ruleunit/invalidAriaIdReference2.txt b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_id_unique_ruleunit/invalidAriaIdReference2.txt similarity index 84% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidIdRef_ruleunit/invalidAriaIdReference2.txt rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_id_unique_ruleunit/invalidAriaIdReference2.txt index 158cf4d41..2fc487ea6 100755 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidIdRef_ruleunit/invalidAriaIdReference2.txt +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_id_unique_ruleunit/invalidAriaIdReference2.txt @@ -32,15 +32,15 @@ function runRule() { - var passed = OpenAjax.a11y.getRule("Rpt_Aria_ValidIdRef").validate(document.getElementById('test1')); + var passed = OpenAjax.a11y.getRule("aria_id_unique").validate(document.getElementById('test1')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_ValidIdRef").validate(document.getElementById('test2')); + var passed = OpenAjax.a11y.getRule("aria_id_unique").validate(document.getElementById('test2')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_ValidIdRef").validate(document.getElementById('test3')); + var passed = OpenAjax.a11y.getRule("aria_id_unique").validate(document.getElementById('test3')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_ValidIdRef").validate(document.getElementById('test4')); + var passed = OpenAjax.a11y.getRule("aria_id_unique").validate(document.getElementById('test4')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_ValidIdRef").validate(document.getElementById('test5')); + var passed = OpenAjax.a11y.getRule("aria_id_unique").validate(document.getElementById('test5')); console.log(passed); } diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidIdRef_ruleunit/validAriaIdReference.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_id_unique_ruleunit/validAriaIdReference.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidIdRef_ruleunit/validAriaIdReference.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_id_unique_ruleunit/validAriaIdReference.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidIdRef_ruleunit/validAriaIdReference2.txt b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_id_unique_ruleunit/validAriaIdReference2.txt similarity index 89% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidIdRef_ruleunit/validAriaIdReference2.txt rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_id_unique_ruleunit/validAriaIdReference2.txt index d864b7242..430e6454c 100755 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidIdRef_ruleunit/validAriaIdReference2.txt +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_id_unique_ruleunit/validAriaIdReference2.txt @@ -32,11 +32,11 @@ function runRule() { - var passed = OpenAjax.a11y.getRule("Rpt_Aria_ValidIdRef").validate(document.getElementById('test1')); + var passed = OpenAjax.a11y.getRule("aria_id_unique").validate(document.getElementById('test1')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_ValidIdRef").validate(document.getElementById('test2')); + var passed = OpenAjax.a11y.getRule("aria_id_unique").validate(document.getElementById('test2')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_ValidIdRef").validate(document.getElementById('test3')); + var passed = OpenAjax.a11y.getRule("aria_id_unique").validate(document.getElementById('test3')); console.log(passed); } diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidIdRef_ruleunit/validMultipleIdReference.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_id_unique_ruleunit/validMultipleIdReference.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidIdRef_ruleunit/validMultipleIdReference.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_id_unique_ruleunit/validMultipleIdReference.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Aria_ImgAlt_ruleunit/ACT_76d734_fail_1.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_img_labelled_ruleunit/ACT_76d734_fail_1.html similarity index 95% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Aria_ImgAlt_ruleunit/ACT_76d734_fail_1.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_img_labelled_ruleunit/ACT_76d734_fail_1.html index 994d593b4..c71b86b73 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Aria_ImgAlt_ruleunit/ACT_76d734_fail_1.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_img_labelled_ruleunit/ACT_76d734_fail_1.html @@ -32,10 +32,10 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Aria_ImgAlt_ruleunit/D798.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_img_labelled_ruleunit/D798.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Aria_ImgAlt_ruleunit/D798.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_img_labelled_ruleunit/D798.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Aria_ImgAlt_ruleunit/D960.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_img_labelled_ruleunit/D960.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Aria_ImgAlt_ruleunit/D960.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_img_labelled_ruleunit/D960.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Aria_ImgAlt_ruleunit/hasRoleImgWithAlt1.txt b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_img_labelled_ruleunit/hasRoleImgWithAlt1.txt similarity index 96% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Aria_ImgAlt_ruleunit/hasRoleImgWithAlt1.txt rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_img_labelled_ruleunit/hasRoleImgWithAlt1.txt index 9064abf0c..42c4a2656 100755 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Aria_ImgAlt_ruleunit/hasRoleImgWithAlt1.txt +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_img_labelled_ruleunit/hasRoleImgWithAlt1.txt @@ -29,7 +29,7 @@ function runRule() { - var passed = OpenAjax.a11y.getRule("HAAC_Aria_ImgAlt").validate(document.getElementById('Rating1')); + var passed = OpenAjax.a11y.getRule("aria_img_labelled").validate(document.getElementById('Rating1')); console.log(passed); } diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Aria_ImgAlt_ruleunit/hasRoleImgWithAltpass.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_img_labelled_ruleunit/hasRoleImgWithAltpass.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Aria_ImgAlt_ruleunit/hasRoleImgWithAltpass.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_img_labelled_ruleunit/hasRoleImgWithAltpass.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Aria_ImgAlt_ruleunit/hasRoleImgWithnoAltfail.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_img_labelled_ruleunit/hasRoleImgWithnoAltfail.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Aria_ImgAlt_ruleunit/hasRoleImgWithnoAltfail.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_img_labelled_ruleunit/hasRoleImgWithnoAltfail.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingKeyboardHandler_ruleunit/childrenHaveKeyboardEventHandlers.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_keyboard_handler_exists_ruleunit/childrenHaveKeyboardEventHandlers.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingKeyboardHandler_ruleunit/childrenHaveKeyboardEventHandlers.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_keyboard_handler_exists_ruleunit/childrenHaveKeyboardEventHandlers.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingKeyboardHandler_ruleunit/childrenHaveKeyboardEventHandlersHidden.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_keyboard_handler_exists_ruleunit/childrenHaveKeyboardEventHandlersHidden.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingKeyboardHandler_ruleunit/childrenHaveKeyboardEventHandlersHidden.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_keyboard_handler_exists_ruleunit/childrenHaveKeyboardEventHandlersHidden.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingKeyboardHandler_ruleunit/childrenHaveKeyboardEventHandlersHiddenDebug.txt b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_keyboard_handler_exists_ruleunit/childrenHaveKeyboardEventHandlersHiddenDebug.txt similarity index 82% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingKeyboardHandler_ruleunit/childrenHaveKeyboardEventHandlersHiddenDebug.txt rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_keyboard_handler_exists_ruleunit/childrenHaveKeyboardEventHandlersHiddenDebug.txt index 7cbcd1e8f..f242e8797 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingKeyboardHandler_ruleunit/childrenHaveKeyboardEventHandlersHiddenDebug.txt +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_keyboard_handler_exists_ruleunit/childrenHaveKeyboardEventHandlersHiddenDebug.txt @@ -36,17 +36,17 @@ function runRule() { - var passed = OpenAjax.a11y.getRule("Rpt_Aria_MissingKeyboardHandler").validate(document.getElementById('tree2')); + var passed = OpenAjax.a11y.getRule("aria_keyboard_handler_exists").validate(document.getElementById('tree2')); console.log(passed.result); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_MissingKeyboardHandler").validate(document.getElementById('tree4')); + var passed = OpenAjax.a11y.getRule("aria_keyboard_handler_exists").validate(document.getElementById('tree4')); console.log(passed.result); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_MissingKeyboardHandler").validate(document.getElementById('tree5')); + var passed = OpenAjax.a11y.getRule("aria_keyboard_handler_exists").validate(document.getElementById('tree5')); console.log(passed.result); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_MissingKeyboardHandler").validate(document.getElementById('tree6')); + var passed = OpenAjax.a11y.getRule("aria_keyboard_handler_exists").validate(document.getElementById('tree6')); console.log(passed.result); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_MissingKeyboardHandler").validate(document.getElementById('tree7')); + var passed = OpenAjax.a11y.getRule("aria_keyboard_handler_exists").validate(document.getElementById('tree7')); console.log(passed.result); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_MissingKeyboardHandler").validate(document.getElementById('tree8')); + var passed = OpenAjax.a11y.getRule("aria_keyboard_handler_exists").validate(document.getElementById('tree8')); console.log(passed.result); } diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingKeyboardHandler_ruleunit/childrenHaveKeyboardHandlers2.txt b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_keyboard_handler_exists_ruleunit/childrenHaveKeyboardHandlers2.txt similarity index 83% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingKeyboardHandler_ruleunit/childrenHaveKeyboardHandlers2.txt rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_keyboard_handler_exists_ruleunit/childrenHaveKeyboardHandlers2.txt index 4dab85d27..d519aa083 100755 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingKeyboardHandler_ruleunit/childrenHaveKeyboardHandlers2.txt +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_keyboard_handler_exists_ruleunit/childrenHaveKeyboardHandlers2.txt @@ -31,13 +31,13 @@ function runRule() { - var passed = OpenAjax.a11y.getRule("Rpt_Aria_MissingKeyboardHandlerOnRequiredChildren").validate(document.getElementById('tree2')); + var passed = OpenAjax.a11y.getRule("aria_keyboard_handler_existsOnRequiredChildren").validate(document.getElementById('tree2')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_MissingKeyboardHandlerOnRequiredChildren").validate(document.getElementById('tree4')); + var passed = OpenAjax.a11y.getRule("aria_keyboard_handler_existsOnRequiredChildren").validate(document.getElementById('tree4')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_MissingKeyboardHandlerOnRequiredChildren").validate(document.getElementById('tree5')); + var passed = OpenAjax.a11y.getRule("aria_keyboard_handler_existsOnRequiredChildren").validate(document.getElementById('tree5')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_MissingKeyboardHandlerOnRequiredChildren").validate(document.getElementById('tree6')); + var passed = OpenAjax.a11y.getRule("aria_keyboard_handler_existsOnRequiredChildren").validate(document.getElementById('tree6')); console.log(passed); } diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingKeyboardHandler_ruleunit/childrenHaveLinkEventHandlers.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_keyboard_handler_exists_ruleunit/childrenHaveLinkEventHandlers.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingKeyboardHandler_ruleunit/childrenHaveLinkEventHandlers.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_keyboard_handler_exists_ruleunit/childrenHaveLinkEventHandlers.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingKeyboardHandler_ruleunit/childrenMissingKeyboardEventHandlers.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_keyboard_handler_exists_ruleunit/childrenMissingKeyboardEventHandlers.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingKeyboardHandler_ruleunit/childrenMissingKeyboardEventHandlers.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_keyboard_handler_exists_ruleunit/childrenMissingKeyboardEventHandlers.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingKeyboardHandler_ruleunit/childrenMissingKeyboardHandlers2.txt b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_keyboard_handler_exists_ruleunit/childrenMissingKeyboardHandlers2.txt similarity index 90% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingKeyboardHandler_ruleunit/childrenMissingKeyboardHandlers2.txt rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_keyboard_handler_exists_ruleunit/childrenMissingKeyboardHandlers2.txt index b0da5592d..9206b06c0 100755 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingKeyboardHandler_ruleunit/childrenMissingKeyboardHandlers2.txt +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_keyboard_handler_exists_ruleunit/childrenMissingKeyboardHandlers2.txt @@ -30,9 +30,9 @@ function runRule() { - var passed = OpenAjax.a11y.getRule("Rpt_Aria_MissingKeyboardHandler").validate(document.getElementById('tree1')); + var passed = OpenAjax.a11y.getRule("aria_keyboard_handler_exists").validate(document.getElementById('tree1')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_MissingKeyboardHandler").validate(document.getElementById('tree2')); + var passed = OpenAjax.a11y.getRule("aria_keyboard_handler_exists").validate(document.getElementById('tree2')); console.log(passed); } diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingKeyboardHandler_ruleunit/listMissingKeyboardEventHandlers.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_keyboard_handler_exists_ruleunit/listMissingKeyboardEventHandlers.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MissingKeyboardHandler_ruleunit/listMissingKeyboardEventHandlers.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_keyboard_handler_exists_ruleunit/listMissingKeyboardEventHandlers.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/landmark_name_unique_ruleunit/example_0_fail.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_landmark_name_unique_ruleunit/example_0_fail.html similarity index 95% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/landmark_name_unique_ruleunit/example_0_fail.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_landmark_name_unique_ruleunit/example_0_fail.html index 602183c08..82f558c87 100755 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/landmark_name_unique_ruleunit/example_0_fail.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_landmark_name_unique_ruleunit/example_0_fail.html @@ -42,10 +42,10 @@

Institutional Links

diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleMainsRequireLabel_Implicit_2_ruleunit/noDuplicateLandmarks.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_main_label_unique_ruleunit/noDuplicateLandmarks.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleMainsRequireLabel_Implicit_2_ruleunit/noDuplicateLandmarks.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_main_label_unique_ruleunit/noDuplicateLandmarks.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleMainsRequireLabel_Implicit_2_ruleunit/noDuplicateLandmarksImplicit.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_main_label_unique_ruleunit/noDuplicateLandmarksImplicit.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleMainsRequireLabel_Implicit_2_ruleunit/noDuplicateLandmarksImplicit.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_main_label_unique_ruleunit/noDuplicateLandmarksImplicit.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleMainsVisibleLabel_Implicit_ruleunit/duplicateLandmarksAriaLabelNotUnique.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_main_label_visible_ruleunit/duplicateLandmarksAriaLabelNotUnique.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleMainsVisibleLabel_Implicit_ruleunit/duplicateLandmarksAriaLabelNotUnique.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_main_label_visible_ruleunit/duplicateLandmarksAriaLabelNotUnique.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleMainsVisibleLabel_Implicit_ruleunit/duplicateLandmarksAriaLabelNotUniqueHidden.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_main_label_visible_ruleunit/duplicateLandmarksAriaLabelNotUniqueHidden.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleMainsVisibleLabel_Implicit_ruleunit/duplicateLandmarksAriaLabelNotUniqueHidden.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_main_label_visible_ruleunit/duplicateLandmarksAriaLabelNotUniqueHidden.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleMainsVisibleLabel_Implicit_ruleunit/duplicateLandmarksAriaLabelledbyNotUnique.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_main_label_visible_ruleunit/duplicateLandmarksAriaLabelledbyNotUnique.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleMainsVisibleLabel_Implicit_ruleunit/duplicateLandmarksAriaLabelledbyNotUnique.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_main_label_visible_ruleunit/duplicateLandmarksAriaLabelledbyNotUnique.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleMainsVisibleLabel_Implicit_ruleunit/duplicateLandmarksAriaLabelledbyNotUniqueimplicit.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_main_label_visible_ruleunit/duplicateLandmarksAriaLabelledbyNotUniqueimplicit.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleMainsVisibleLabel_Implicit_ruleunit/duplicateLandmarksAriaLabelledbyNotUniqueimplicit.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_main_label_visible_ruleunit/duplicateLandmarksAriaLabelledbyNotUniqueimplicit.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleMainsVisibleLabel_Implicit_ruleunit/duplicateLandmarksAriaLabelledbyUnique.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_main_label_visible_ruleunit/duplicateLandmarksAriaLabelledbyUnique.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleMainsVisibleLabel_Implicit_ruleunit/duplicateLandmarksAriaLabelledbyUnique.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_main_label_visible_ruleunit/duplicateLandmarksAriaLabelledbyUnique.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleMainsVisibleLabel_Implicit_ruleunit/duplicateLandmarksNoLabels.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_main_label_visible_ruleunit/duplicateLandmarksNoLabels.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleMainsVisibleLabel_Implicit_ruleunit/duplicateLandmarksNoLabels.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_main_label_visible_ruleunit/duplicateLandmarksNoLabels.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleMainsVisibleLabel_Implicit_ruleunit/duplicateLandmarksOneAriaLabel.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_main_label_visible_ruleunit/duplicateLandmarksOneAriaLabel.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleMainsVisibleLabel_Implicit_ruleunit/duplicateLandmarksOneAriaLabel.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_main_label_visible_ruleunit/duplicateLandmarksOneAriaLabel.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleMainsVisibleLabel_Implicit_ruleunit/duplicateLandmarksOneAriaLabelledby.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_main_label_visible_ruleunit/duplicateLandmarksOneAriaLabelledby.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleMainsVisibleLabel_Implicit_ruleunit/duplicateLandmarksOneAriaLabelledby.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_main_label_visible_ruleunit/duplicateLandmarksOneAriaLabelledby.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleMainsVisibleLabel_Implicit_ruleunit/duplicateLandmarkssAriaLabelUnique.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_main_label_visible_ruleunit/duplicateLandmarkssAriaLabelUnique.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleMainsVisibleLabel_Implicit_ruleunit/duplicateLandmarkssAriaLabelUnique.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_main_label_visible_ruleunit/duplicateLandmarkssAriaLabelUnique.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleMainsVisibleLabel_Implicit_ruleunit/noDuplicateLandmarks.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_main_label_visible_ruleunit/noDuplicateLandmarks.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleMainsVisibleLabel_Implicit_ruleunit/noDuplicateLandmarks.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_main_label_visible_ruleunit/noDuplicateLandmarks.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleMainsVisibleLabel_Implicit_ruleunit/noDuplicateLandmarksimplicit.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_main_label_visible_ruleunit/noDuplicateLandmarksimplicit.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleMainsVisibleLabel_Implicit_ruleunit/noDuplicateLandmarksimplicit.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_main_label_visible_ruleunit/noDuplicateLandmarksimplicit.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleNavigationLandmarks_Implicit_ruleunit/duplicateLandmarksAriaLabelNotUnique.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_navigation_label_unique_ruleunit/duplicateLandmarksAriaLabelNotUnique.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleNavigationLandmarks_Implicit_ruleunit/duplicateLandmarksAriaLabelNotUnique.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_navigation_label_unique_ruleunit/duplicateLandmarksAriaLabelNotUnique.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleNavigationLandmarks_Implicit_ruleunit/duplicateLandmarksAriaLabelNotUniqueHidden.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_navigation_label_unique_ruleunit/duplicateLandmarksAriaLabelNotUniqueHidden.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleNavigationLandmarks_Implicit_ruleunit/duplicateLandmarksAriaLabelNotUniqueHidden.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_navigation_label_unique_ruleunit/duplicateLandmarksAriaLabelNotUniqueHidden.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleNavigationLandmarks_Implicit_ruleunit/duplicateLandmarksAriaLabelledbyNotUnique.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_navigation_label_unique_ruleunit/duplicateLandmarksAriaLabelledbyNotUnique.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleNavigationLandmarks_Implicit_ruleunit/duplicateLandmarksAriaLabelledbyNotUnique.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_navigation_label_unique_ruleunit/duplicateLandmarksAriaLabelledbyNotUnique.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleNavigationLandmarks_Implicit_ruleunit/duplicateLandmarksAriaLabelledbyNotUniqueImplicit.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_navigation_label_unique_ruleunit/duplicateLandmarksAriaLabelledbyNotUniqueImplicit.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleNavigationLandmarks_Implicit_ruleunit/duplicateLandmarksAriaLabelledbyNotUniqueImplicit.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_navigation_label_unique_ruleunit/duplicateLandmarksAriaLabelledbyNotUniqueImplicit.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleNavigationLandmarks_Implicit_ruleunit/duplicateLandmarksAriaLabelledbyUnique.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_navigation_label_unique_ruleunit/duplicateLandmarksAriaLabelledbyUnique.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleNavigationLandmarks_Implicit_ruleunit/duplicateLandmarksAriaLabelledbyUnique.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_navigation_label_unique_ruleunit/duplicateLandmarksAriaLabelledbyUnique.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleNavigationLandmarks_Implicit_ruleunit/duplicateLandmarksNoLabels.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_navigation_label_unique_ruleunit/duplicateLandmarksNoLabels.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleNavigationLandmarks_Implicit_ruleunit/duplicateLandmarksNoLabels.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_navigation_label_unique_ruleunit/duplicateLandmarksNoLabels.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleNavigationLandmarks_Implicit_ruleunit/duplicateLandmarksOneAriaLabel.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_navigation_label_unique_ruleunit/duplicateLandmarksOneAriaLabel.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleNavigationLandmarks_Implicit_ruleunit/duplicateLandmarksOneAriaLabel.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_navigation_label_unique_ruleunit/duplicateLandmarksOneAriaLabel.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleNavigationLandmarks_Implicit_ruleunit/duplicateLandmarksOneAriaLabelledby.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_navigation_label_unique_ruleunit/duplicateLandmarksOneAriaLabelledby.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleNavigationLandmarks_Implicit_ruleunit/duplicateLandmarksOneAriaLabelledby.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_navigation_label_unique_ruleunit/duplicateLandmarksOneAriaLabelledby.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleNavigationLandmarks_Implicit_ruleunit/duplicateLandmarkssAriaLabelUnique.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_navigation_label_unique_ruleunit/duplicateLandmarkssAriaLabelUnique.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleNavigationLandmarks_Implicit_ruleunit/duplicateLandmarkssAriaLabelUnique.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_navigation_label_unique_ruleunit/duplicateLandmarkssAriaLabelUnique.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleNavigationLandmarks_Implicit_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_navigation_label_unique_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html similarity index 91% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleNavigationLandmarks_Implicit_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_navigation_label_unique_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html index af8fa30f2..f82dbc339 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleNavigationLandmarks_Implicit_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_navigation_label_unique_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html @@ -16,7 +16,7 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleNavigationLandmarks_Implicit_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContentImplict.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_navigation_label_unique_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContentImplict.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleNavigationLandmarks_Implicit_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContentImplict.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_navigation_label_unique_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContentImplict.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleNavigationLandmarks_Implicit_ruleunit/noDuplicateLandmarks.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_navigation_label_unique_ruleunit/noDuplicateLandmarks.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleNavigationLandmarks_Implicit_ruleunit/noDuplicateLandmarks.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_navigation_label_unique_ruleunit/noDuplicateLandmarks.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_RequiredParent_Native_Host_Sematics_ruleunit/ACT_ff89c9_fail1.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_parent_required_ruleunit/ACT_ff89c9_fail1.html similarity index 91% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_RequiredParent_Native_Host_Sematics_ruleunit/ACT_ff89c9_fail1.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_parent_required_ruleunit/ACT_ff89c9_fail1.html index cb5bf1c0f..314b58a06 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_RequiredParent_Native_Host_Sematics_ruleunit/ACT_ff89c9_fail1.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_parent_required_ruleunit/ACT_ff89c9_fail1.html @@ -27,10 +27,10 @@
List item 1
diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_RequiredParent_Native_Host_Sematics_ruleunit/validAriaRequiredParent.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_parent_required_ruleunit/validAriaRequiredParent.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_RequiredParent_Native_Host_Sematics_ruleunit/validAriaRequiredParent.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_parent_required_ruleunit/validAriaRequiredParent.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_RequiredParent_Native_Host_Sematics_ruleunit/validAriaRequiredParent2.txt b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_parent_required_ruleunit/validAriaRequiredParent2.txt similarity index 85% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_RequiredParent_Native_Host_Sematics_ruleunit/validAriaRequiredParent2.txt rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_parent_required_ruleunit/validAriaRequiredParent2.txt index 11a556e1c..f4372103d 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_RequiredParent_Native_Host_Sematics_ruleunit/validAriaRequiredParent2.txt +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_parent_required_ruleunit/validAriaRequiredParent2.txt @@ -31,13 +31,13 @@ function runRule() { - //var passed = OpenAjax.a11y.getRule("Rpt_Aria_RequiredParent").validate(document.getElementById('id1')); + //var passed = OpenAjax.a11y.getRule("aria_parent_required").validate(document.getElementById('id1')); //console.log(passed); - //var passed = OpenAjax.a11y.getRule("Rpt_Aria_RequiredParent").validate(document.getElementById('id2')); + //var passed = OpenAjax.a11y.getRule("aria_parent_required").validate(document.getElementById('id2')); //console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_RequiredParent").validate(document.getElementById('id3')); + var passed = OpenAjax.a11y.getRule("aria_parent_required").validate(document.getElementById('id3')); console.log(passed); - //var passed = OpenAjax.a11y.getRule("Rpt_Aria_RequiredParent").validate(document.getElementById('id4')); + //var passed = OpenAjax.a11y.getRule("aria_parent_required").validate(document.getElementById('id4')); //console.log(passed); } diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_RequiredParent_Native_Host_Sematics_ruleunit/webComponentPass.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_parent_required_ruleunit/webComponentPass.html similarity index 94% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_RequiredParent_Native_Host_Sematics_ruleunit/webComponentPass.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_parent_required_ruleunit/webComponentPass.html index 284a85d0a..50fab6a2a 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_RequiredParent_Native_Host_Sematics_ruleunit/webComponentPass.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_parent_required_ruleunit/webComponentPass.html @@ -60,10 +60,10 @@

Test page

diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleRegionsUniqueLabel_Implicit_ruleunit/noDuplicateLandmarks.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_region_label_unique_ruleunit/noDuplicateLandmarks.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleRegionsUniqueLabel_Implicit_ruleunit/noDuplicateLandmarks.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_region_label_unique_ruleunit/noDuplicateLandmarks.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleRegionsUniqueLabel_Implicit_ruleunit/noDuplicateLandmarksImplicit.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_region_label_unique_ruleunit/noDuplicateLandmarksImplicit.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleRegionsUniqueLabel_Implicit_ruleunit/noDuplicateLandmarksImplicit.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_region_label_unique_ruleunit/noDuplicateLandmarksImplicit.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_RegionLabel_Implicit_ruleunit/aria-label-region.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_region_labelled_ruleunit/aria-label-region.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_RegionLabel_Implicit_ruleunit/aria-label-region.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_region_labelled_ruleunit/aria-label-region.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_RegionLabel_Implicit_ruleunit/aria-labelledby-region.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_region_labelled_ruleunit/aria-labelledby-region.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_RegionLabel_Implicit_ruleunit/aria-labelledby-region.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_region_labelled_ruleunit/aria-labelledby-region.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_RegionLabel_Implicit_ruleunit/noRegion.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_region_labelled_ruleunit/noRegion.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_RegionLabel_Implicit_ruleunit/noRegion.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_region_labelled_ruleunit/noRegion.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_RegionLabel_Implicit_ruleunit/regionNotLabeled.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_region_labelled_ruleunit/regionNotLabeled.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_RegionLabel_Implicit_ruleunit/regionNotLabeled.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_region_labelled_ruleunit/regionNotLabeled.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidRole_ruleunit/directory_role_invalid.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_allowed_ruleunit/directory_role_invalid.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidRole_ruleunit/directory_role_invalid.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_allowed_ruleunit/directory_role_invalid.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidRole_ruleunit/invalidAriaRole.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_allowed_ruleunit/invalidAriaRole.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidRole_ruleunit/invalidAriaRole.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_allowed_ruleunit/invalidAriaRole.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidRole_ruleunit/invalidAriaRole2.txt b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_allowed_ruleunit/invalidAriaRole2.txt similarity index 80% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidRole_ruleunit/invalidAriaRole2.txt rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_allowed_ruleunit/invalidAriaRole2.txt index fdbff24ad..ca57d7c2a 100755 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidRole_ruleunit/invalidAriaRole2.txt +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_allowed_ruleunit/invalidAriaRole2.txt @@ -34,17 +34,17 @@ function runRule() { - var passed = OpenAjax.a11y.getRule("Rpt_Aria_ValidRole").validate(document.getElementById('id0')); + var passed = OpenAjax.a11y.getRule("aria_role_allowed").validate(document.getElementById('id0')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_ValidRole").validate(document.getElementById('id1')); + var passed = OpenAjax.a11y.getRule("aria_role_allowed").validate(document.getElementById('id1')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_ValidRole").validate(document.getElementById('id2')); + var passed = OpenAjax.a11y.getRule("aria_role_allowed").validate(document.getElementById('id2')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_ValidRole").validate(document.getElementById('id3')); + var passed = OpenAjax.a11y.getRule("aria_role_allowed").validate(document.getElementById('id3')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_ValidRole").validate(document.getElementById('id4')); + var passed = OpenAjax.a11y.getRule("aria_role_allowed").validate(document.getElementById('id4')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_ValidRole").validate(document.getElementsByTagName('title')[0]); + var passed = OpenAjax.a11y.getRule("aria_role_allowed").validate(document.getElementsByTagName('title')[0]); console.log(passed); } diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidRole_ruleunit/validAriaRole.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_allowed_ruleunit/validAriaRole.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidRole_ruleunit/validAriaRole.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_allowed_ruleunit/validAriaRole.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidRole_ruleunit/validAriaRole2.txt b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_allowed_ruleunit/validAriaRole2.txt similarity index 91% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidRole_ruleunit/validAriaRole2.txt rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_allowed_ruleunit/validAriaRole2.txt index 02fd220b3..df221574f 100755 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_ValidRole_ruleunit/validAriaRole2.txt +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_allowed_ruleunit/validAriaRole2.txt @@ -32,9 +32,9 @@ function runRule() { - var passed = OpenAjax.a11y.getRule("Rpt_Aria_ValidRole").validate(document.getElementById('alertid')); + var passed = OpenAjax.a11y.getRule("aria_role_allowed").validate(document.getElementById('alertid')); console.log(passed); - var passed = OpenAjax.a11y.getRule("Rpt_Aria_ValidRole").validate(document.getElementById('banner')); + var passed = OpenAjax.a11y.getRule("aria_role_allowed").validate(document.getElementById('banner')); console.log(passed); } diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/act_decorative_fail1.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_valid_ruleunit/act_decorative_fail1.html similarity index 91% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/act_decorative_fail1.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_valid_ruleunit/act_decorative_fail1.html index 40851f60d..17be4a39e 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/act_decorative_fail1.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_valid_ruleunit/act_decorative_fail1.html @@ -9,10 +9,10 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/act_decorative_pass2.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_valid_ruleunit/act_decorative_pass2.html similarity index 89% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/act_decorative_pass2.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_valid_ruleunit/act_decorative_pass2.html index 715c3c8de..6b94e3460 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/act_decorative_pass2.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_valid_ruleunit/act_decorative_pass2.html @@ -8,10 +8,10 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/act_decorative_pass4.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_valid_ruleunit/act_decorative_pass4.html similarity index 90% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/act_decorative_pass4.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_valid_ruleunit/act_decorative_pass4.html index bda0abd8b..9d118b0cb 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/act_decorative_pass4.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_valid_ruleunit/act_decorative_pass4.html @@ -10,10 +10,10 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/area_no_href.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_valid_ruleunit/area_no_href.html similarity index 92% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/area_no_href.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_valid_ruleunit/area_no_href.html index 41b18e756..b9ca3392f 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/area_no_href.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_valid_ruleunit/area_no_href.html @@ -15,10 +15,10 @@ + + + \ No newline at end of file diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/aria_disabled_href.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_valid_ruleunit/aria_disabled_href.html similarity index 94% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/aria_disabled_href.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_valid_ruleunit/aria_disabled_href.html index d1ef9b6d3..2e17d06ef 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/aria_disabled_href.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_valid_ruleunit/aria_disabled_href.html @@ -42,10 +42,10 @@

Test 2

+ + + \ No newline at end of file diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_valid_ruleunit/datalist_with_select.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_valid_ruleunit/datalist_with_select.html new file mode 100644 index 000000000..2ee890290 --- /dev/null +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_valid_ruleunit/datalist_with_select.html @@ -0,0 +1,64 @@ + + + + +
+
+ + + + +
+
+ + + + \ No newline at end of file diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/div_generic.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_valid_ruleunit/div_generic.html similarity index 93% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/div_generic.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_valid_ruleunit/div_generic.html index d44d9bb02..1c155db8d 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/div_generic.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_valid_ruleunit/div_generic.html @@ -29,10 +29,10 @@ + + diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/section.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_valid_ruleunit/section.html similarity index 90% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/section.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_valid_ruleunit/section.html index 2be030999..7a780d2c5 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/section.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_role_valid_ruleunit/section.html @@ -14,10 +14,10 @@

Test page

diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleSearchLandmarks_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_search_label_unique_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html similarity index 92% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleSearchLandmarks_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_search_label_unique_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html index 9293c6737..c6910709c 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleSearchLandmarks_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_search_label_unique_ruleunit/hiddenUnitTesting/duplicateLandmarksDontCheckHiddenContent.html @@ -16,7 +16,7 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleSearchLandmarks_ruleunit/noDuplicateLandmarks.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_search_label_unique_ruleunit/noDuplicateLandmarks.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleSearchLandmarks_ruleunit/noDuplicateLandmarks.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_search_label_unique_ruleunit/noDuplicateLandmarks.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/aria_datalist_select.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/aria_datalist_select.html deleted file mode 100644 index 7917b47e4..000000000 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/aria_datalist_select.html +++ /dev/null @@ -1,54 +0,0 @@ - - - -
-
- - - - - - -
-
- - - diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/datalist_with_options.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/datalist_with_options.html deleted file mode 100644 index 505fd0a76..000000000 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/datalist_with_options.html +++ /dev/null @@ -1,56 +0,0 @@ - - - -
-
- -
-
- - - diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/datalist_with_select.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/datalist_with_select.html deleted file mode 100644 index 0caa8c386..000000000 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_semantics_role_ruleunit/datalist_with_select.html +++ /dev/null @@ -1,62 +0,0 @@ - - - -
-
- - - - -
-
- - - diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleToolbarUniqueLabel_ruleunit/Toolbar_unique_label_fail_double_toolbar.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_toolbar_label_unique_ruleunit/Toolbar_unique_label_fail_double_toolbar.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleToolbarUniqueLabel_ruleunit/Toolbar_unique_label_fail_double_toolbar.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_toolbar_label_unique_ruleunit/Toolbar_unique_label_fail_double_toolbar.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleToolbarUniqueLabel_ruleunit/Toolbar_unique_label_pass_double_toolbar.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_toolbar_label_unique_ruleunit/Toolbar_unique_label_pass_double_toolbar.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleToolbarUniqueLabel_ruleunit/Toolbar_unique_label_pass_double_toolbar.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_toolbar_label_unique_ruleunit/Toolbar_unique_label_pass_double_toolbar.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleToolbarUniqueLabel_ruleunit/Toolbar_unique_label_pass_single_toolbar.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_toolbar_label_unique_ruleunit/Toolbar_unique_label_pass_single_toolbar.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_MultipleToolbarUniqueLabel_ruleunit/Toolbar_unique_label_pass_single_toolbar.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_toolbar_label_unique_ruleunit/Toolbar_unique_label_pass_single_toolbar.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_WidgetLabels_Implicit_ruleunit/ACT_m6b1q3_548c732a168369abdd8f84381574c7793ea0c2ce.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_widget_labelled_ruleunit/ACT_m6b1q3_548c732a168369abdd8f84381574c7793ea0c2ce.html similarity index 90% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_WidgetLabels_Implicit_ruleunit/ACT_m6b1q3_548c732a168369abdd8f84381574c7793ea0c2ce.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_widget_labelled_ruleunit/ACT_m6b1q3_548c732a168369abdd8f84381574c7793ea0c2ce.html index c800724d7..27d0b4298 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Rpt_Aria_WidgetLabels_Implicit_ruleunit/ACT_m6b1q3_548c732a168369abdd8f84381574c7793ea0c2ce.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/aria_widget_labelled_ruleunit/ACT_m6b1q3_548c732a168369abdd8f84381574c7793ea0c2ce.html @@ -17,10 +17,10 @@

Test page

diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Video_HasNoTrack_ruleunit/Video-HasNoTrack.1.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/caption_track_exists_ruleunit/Video-HasNoTrack.1.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Video_HasNoTrack_ruleunit/Video-HasNoTrack.1.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/caption_track_exists_ruleunit/Video-HasNoTrack.1.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Video_HasNoTrack_ruleunit/Video-HasNoTrack.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/caption_track_exists_ruleunit/Video-HasNoTrack.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Video_HasNoTrack_ruleunit/Video-HasNoTrack.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/caption_track_exists_ruleunit/Video-HasNoTrack.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Video_HasNoTrack_ruleunit/Video-HasSourceAndNoTrack.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/caption_track_exists_ruleunit/Video-HasSourceAndNoTrack.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Video_HasNoTrack_ruleunit/Video-HasSourceAndNoTrack.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/caption_track_exists_ruleunit/Video-HasSourceAndNoTrack.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Video_HasNoTrack_ruleunit/Video-HasTrackAndKindWithSubtitles.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/caption_track_exists_ruleunit/Video-HasTrackAndKindWithSubtitles.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Video_HasNoTrack_ruleunit/Video-HasTrackAndKindWithSubtitles.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/caption_track_exists_ruleunit/Video-HasTrackAndKindWithSubtitles.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Video_HasNoTrack_ruleunit/Video-HasTrackAndKindWithcaption.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/caption_track_exists_ruleunit/Video-HasTrackAndKindWithcaption.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Video_HasNoTrack_ruleunit/Video-HasTrackAndKindWithcaption.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/caption_track_exists_ruleunit/Video-HasTrackAndKindWithcaption.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Video_HasNoTrack_ruleunit/Video-HasTrackAndKindWithcaption2.txt b/accessibility-checker-engine/test/v2/checker/accessibility/rules/caption_track_exists_ruleunit/Video-HasTrackAndKindWithcaption2.txt similarity index 94% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Video_HasNoTrack_ruleunit/Video-HasTrackAndKindWithcaption2.txt rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/caption_track_exists_ruleunit/Video-HasTrackAndKindWithcaption2.txt index 63bc271ec..d36c43618 100755 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Video_HasNoTrack_ruleunit/Video-HasTrackAndKindWithcaption2.txt +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/caption_track_exists_ruleunit/Video-HasTrackAndKindWithcaption2.txt @@ -29,7 +29,7 @@ function runRule() { - var passed = OpenAjax.a11y.getRule("HAAC_Video_HasNoTrack").validate(document.getElementById('video1')); + var passed = OpenAjax.a11y.getRule("caption_track_exists").validate(document.getElementById('video1')); console.log(passed); } diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Video_HasNoTrack_ruleunit/Video-HasTrackAndKindWithcaptionDynamic.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/caption_track_exists_ruleunit/Video-HasTrackAndKindWithcaptionDynamic.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Video_HasNoTrack_ruleunit/Video-HasTrackAndKindWithcaptionDynamic.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/caption_track_exists_ruleunit/Video-HasTrackAndKindWithcaptionDynamic.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Video_HasNoTrack_ruleunit/Video-HasTrackNoKind.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/caption_track_exists_ruleunit/Video-HasTrackNoKind.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Video_HasNoTrack_ruleunit/Video-HasTrackNoKind.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/caption_track_exists_ruleunit/Video-HasTrackNoKind.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/combobox_autocomplete_ruleunit/popup-autocomplete.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/combobox_autocomplete_valid_ruleunit/popup-autocomplete.html similarity index 98% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/combobox_autocomplete_ruleunit/popup-autocomplete.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/combobox_autocomplete_valid_ruleunit/popup-autocomplete.html index 7dfe13f8e..57cd47eb3 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/combobox_autocomplete_ruleunit/popup-autocomplete.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/combobox_autocomplete_valid_ruleunit/popup-autocomplete.html @@ -196,9 +196,9 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Fieldset_HasLegend_ruleunit/FieldSet-hasLegend.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/fieldset_legend_valid_ruleunit/FieldSet-hasLegend.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Fieldset_HasLegend_ruleunit/FieldSet-hasLegend.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/fieldset_legend_valid_ruleunit/FieldSet-hasLegend.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Fieldset_HasLegend_ruleunit/FieldSet-hasMultipleLegends.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/fieldset_legend_valid_ruleunit/FieldSet-hasMultipleLegends.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Fieldset_HasLegend_ruleunit/FieldSet-hasMultipleLegends.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/fieldset_legend_valid_ruleunit/FieldSet-hasMultipleLegends.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Fieldset_HasLegend_ruleunit/FieldSet-hasNoLegend.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/fieldset_legend_valid_ruleunit/FieldSet-hasNoLegend.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Fieldset_HasLegend_ruleunit/FieldSet-hasNoLegend.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/fieldset_legend_valid_ruleunit/FieldSet-hasNoLegend.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Figure_label_ruleunit/FigureLabel-hidden.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/figure_label_exists_ruleunit/FigureLabel-hidden.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Figure_label_ruleunit/FigureLabel-hidden.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/figure_label_exists_ruleunit/FigureLabel-hidden.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Figure_label_ruleunit/FigureLabel.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/figure_label_exists_ruleunit/FigureLabel.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Figure_label_ruleunit/FigureLabel.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/figure_label_exists_ruleunit/FigureLabel.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Figure_label_ruleunit/FigureLabelHidden.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/figure_label_exists_ruleunit/FigureLabelHidden.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Figure_label_ruleunit/FigureLabelHidden.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/figure_label_exists_ruleunit/FigureLabelHidden.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Figure_label_ruleunit/FigureLabelHiddenDebug.txt b/accessibility-checker-engine/test/v2/checker/accessibility/rules/figure_label_exists_ruleunit/FigureLabelHiddenDebug.txt similarity index 78% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Figure_label_ruleunit/FigureLabelHiddenDebug.txt rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/figure_label_exists_ruleunit/FigureLabelHiddenDebug.txt index 83114fbd5..6e18213f6 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Figure_label_ruleunit/FigureLabelHiddenDebug.txt +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/figure_label_exists_ruleunit/FigureLabelHiddenDebug.txt @@ -28,31 +28,31 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Font_ColorInForm_ruleunit/Forms-colorNotUsed.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/form_font_color_ruleunit/Forms-colorNotUsed.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Font_ColorInForm_ruleunit/Forms-colorNotUsed.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/form_font_color_ruleunit/Forms-colorNotUsed.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Font_ColorInForm_ruleunit/Forms-colorUsed.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/form_font_color_ruleunit/Forms-colorUsed.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Font_ColorInForm_ruleunit/Forms-colorUsed.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/form_font_color_ruleunit/Forms-colorUsed.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Form_TargetAndText_ruleunit/A-TargetAndText.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/form_interaction_review_ruleunit/A-TargetAndText.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Form_TargetAndText_ruleunit/A-TargetAndText.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/form_interaction_review_ruleunit/A-TargetAndText.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Form_TargetAndText_ruleunit/A-noTargetText.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/form_interaction_review_ruleunit/A-noTargetText.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Form_TargetAndText_ruleunit/A-noTargetText.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/form_interaction_review_ruleunit/A-noTargetText.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Form_TargetAndText_ruleunit/TargetText-invalid.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/form_interaction_review_ruleunit/TargetText-invalid.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Form_TargetAndText_ruleunit/TargetText-invalid.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/form_interaction_review_ruleunit/TargetText-invalid.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Form_TargetAndText_ruleunit/TargetText-valid.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/form_interaction_review_ruleunit/TargetText-valid.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Form_TargetAndText_ruleunit/TargetText-valid.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/form_interaction_review_ruleunit/TargetText-valid.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Label_UniqueFor_ruleunit/Forms-nonUniqueLabelId.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/form_label_unique_ruleunit/Forms-nonUniqueLabelId.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Label_UniqueFor_ruleunit/Forms-nonUniqueLabelId.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/form_label_unique_ruleunit/Forms-nonUniqueLabelId.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Label_UniqueFor_ruleunit/Forms-uniqueLabelId.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/form_label_unique_ruleunit/Forms-uniqueLabelId.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Label_UniqueFor_ruleunit/Forms-uniqueLabelId.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/form_label_unique_ruleunit/Forms-uniqueLabelId.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Form_HasSubmit_ruleunit/Form-hasARIASubmitButton.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/form_submit_button_exists_ruleunit/Form-hasARIASubmitButton.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Form_HasSubmit_ruleunit/Form-hasARIASubmitButton.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/form_submit_button_exists_ruleunit/Form-hasARIASubmitButton.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Form_HasSubmit_ruleunit/Form-hasNoSubmit.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/form_submit_button_exists_ruleunit/Form-hasNoSubmit.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Form_HasSubmit_ruleunit/Form-hasNoSubmit.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/form_submit_button_exists_ruleunit/Form-hasNoSubmit.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Form_HasSubmit_ruleunit/Form-hasSubmit.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/form_submit_button_exists_ruleunit/Form-hasSubmit.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Form_HasSubmit_ruleunit/Form-hasSubmit.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/form_submit_button_exists_ruleunit/Form-hasSubmit.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Form_HasSubmit_ruleunit/Form-hasSubmitButton.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/form_submit_button_exists_ruleunit/Form-hasSubmitButton.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Form_HasSubmit_ruleunit/Form-hasSubmitButton.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/form_submit_button_exists_ruleunit/Form-hasSubmitButton.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Form_ChangeEmpty_ruleunit/Input-hasOnChange.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/form_submit_review_ruleunit/Input-hasOnChange.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Form_ChangeEmpty_ruleunit/Input-hasOnChange.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/form_submit_review_ruleunit/Input-hasOnChange.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Form_ChangeEmpty_ruleunit/Input-hasOnChangeEmpty.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/form_submit_review_ruleunit/Input-hasOnChangeEmpty.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Form_ChangeEmpty_ruleunit/Input-hasOnChangeEmpty.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/form_submit_review_ruleunit/Input-hasOnChangeEmpty.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Valerie_Frame_SrcHtml_ruleunit/Frame-invalidSrc.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/frame_src_valid_ruleunit/Frame-invalidSrc.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Valerie_Frame_SrcHtml_ruleunit/Frame-invalidSrc.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/frame_src_valid_ruleunit/Frame-invalidSrc.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Valerie_Frame_SrcHtml_ruleunit/IFrame-invalidSrc.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/frame_src_valid_ruleunit/IFrame-invalidSrc.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Valerie_Frame_SrcHtml_ruleunit/IFrame-invalidSrc.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/frame_src_valid_ruleunit/IFrame-invalidSrc.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Frame_HasTitle_ruleunit/IFrame-hasEmptyTitle.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/frame_title_exists_ruleunit/IFrame-hasEmptyTitle.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Frame_HasTitle_ruleunit/IFrame-hasEmptyTitle.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/frame_title_exists_ruleunit/IFrame-hasEmptyTitle.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Frame_HasTitle_ruleunit/IFrame-hasEmptyTitle.svg b/accessibility-checker-engine/test/v2/checker/accessibility/rules/frame_title_exists_ruleunit/IFrame-hasEmptyTitle.svg similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Frame_HasTitle_ruleunit/IFrame-hasEmptyTitle.svg rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/frame_title_exists_ruleunit/IFrame-hasEmptyTitle.svg diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Frame_HasTitle_ruleunit/IFrame-hasEmptyTitleSVG.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/frame_title_exists_ruleunit/IFrame-hasEmptyTitleSVG.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Frame_HasTitle_ruleunit/IFrame-hasEmptyTitleSVG.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/frame_title_exists_ruleunit/IFrame-hasEmptyTitleSVG.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Frame_HasTitle_ruleunit/IFrame-hasNoTitle.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/frame_title_exists_ruleunit/IFrame-hasNoTitle.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Frame_HasTitle_ruleunit/IFrame-hasNoTitle.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/frame_title_exists_ruleunit/IFrame-hasNoTitle.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Frame_HasTitle_ruleunit/IFrame-hasTitle.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/frame_title_exists_ruleunit/IFrame-hasTitle.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Frame_HasTitle_ruleunit/IFrame-hasTitle.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/frame_title_exists_ruleunit/IFrame-hasTitle.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Header_HasContent_ruleunit/Headings-invalidEmpty.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/heading_content_exists_ruleunit/Headings-invalidEmpty.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Header_HasContent_ruleunit/Headings-invalidEmpty.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/heading_content_exists_ruleunit/Headings-invalidEmpty.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Header_HasContent_ruleunit/Headings-invalidHidden.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/heading_content_exists_ruleunit/Headings-invalidHidden.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Header_HasContent_ruleunit/Headings-invalidHidden.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/heading_content_exists_ruleunit/Headings-invalidHidden.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Header_HasContent_ruleunit/Headings-invalidSpaces.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/heading_content_exists_ruleunit/Headings-invalidSpaces.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Header_HasContent_ruleunit/Headings-invalidSpaces.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/heading_content_exists_ruleunit/Headings-invalidSpaces.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Header_HasContent_ruleunit/Headings-valid.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/heading_content_exists_ruleunit/Headings-valid.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Header_HasContent_ruleunit/Headings-valid.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/heading_content_exists_ruleunit/Headings-valid.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Headers_FewWords_ruleunit/Headings-invalidNumberWords.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/heading_markup_misuse_ruleunit/Headings-invalidNumberWords.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Headers_FewWords_ruleunit/Headings-invalidNumberWords.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/heading_markup_misuse_ruleunit/Headings-invalidNumberWords.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Headers_FewWords_ruleunit/Headings-validNumberWords.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/heading_markup_misuse_ruleunit/Headings-validNumberWords.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Headers_FewWords_ruleunit/Headings-validNumberWords.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/heading_markup_misuse_ruleunit/Headings-validNumberWords.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Html_HasLang_ruleunit/ACT_5b7ae0_bd91d04e04dcdbb60ab1f0c88177dcb229fc1102.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/html_lang_exists_ruleunit/ACT_5b7ae0_bd91d04e04dcdbb60ab1f0c88177dcb229fc1102.html similarity index 90% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Html_HasLang_ruleunit/ACT_5b7ae0_bd91d04e04dcdbb60ab1f0c88177dcb229fc1102.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/html_lang_exists_ruleunit/ACT_5b7ae0_bd91d04e04dcdbb60ab1f0c88177dcb229fc1102.html index b35c52b03..a08012898 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Html_HasLang_ruleunit/ACT_5b7ae0_bd91d04e04dcdbb60ab1f0c88177dcb229fc1102.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/html_lang_exists_ruleunit/ACT_5b7ae0_bd91d04e04dcdbb60ab1f0c88177dcb229fc1102.html @@ -11,10 +11,10 @@

Test page

diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Img_LinkTextNotRedundant_ruleunit/Img-redundantLinkAdjacentHidden.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/img_alt_redundant_ruleunit/Img-redundantLinkAdjacentHidden.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Img_LinkTextNotRedundant_ruleunit/Img-redundantLinkAdjacentHidden.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/img_alt_redundant_ruleunit/Img-redundantLinkAdjacentHidden.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Img_HasAlt_ruleunit/Elements-checkAltText.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/img_alt_valid_ruleunit/Elements-checkAltText.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Img_HasAlt_ruleunit/Elements-checkAltText.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/img_alt_valid_ruleunit/Elements-checkAltText.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Img_HasAlt_ruleunit/Img-hasAlt.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/img_alt_valid_ruleunit/Img-hasAlt.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Img_HasAlt_ruleunit/Img-hasAlt.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/img_alt_valid_ruleunit/Img-hasAlt.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Img_HasAlt_ruleunit/Img-hasEmptyAlt.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/img_alt_valid_ruleunit/Img-hasEmptyAlt.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Img_HasAlt_ruleunit/Img-hasEmptyAlt.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/img_alt_valid_ruleunit/Img-hasEmptyAlt.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Img_HasAlt_ruleunit/Img-hasLabel.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/img_alt_valid_ruleunit/Img-hasLabel.html similarity index 95% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Img_HasAlt_ruleunit/Img-hasLabel.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/img_alt_valid_ruleunit/Img-hasLabel.html index f22c5503d..692a4f5cb 100755 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Img_HasAlt_ruleunit/Img-hasLabel.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/img_alt_valid_ruleunit/Img-hasLabel.html @@ -43,10 +43,10 @@

Img ARIA label Tests

diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_RadioChkInFieldSet_ruleunit/DojoGridCheckboxesNotInGroupRoleNone.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/DojoGridCheckboxesNotInGroupRoleNone.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_RadioChkInFieldSet_ruleunit/DojoGridCheckboxesNotInGroupRoleNone.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/DojoGridCheckboxesNotInGroupRoleNone.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_RadioChkInFieldSet_ruleunit/Input-RadioButtonInAriaGroup.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/Input-RadioButtonInAriaGroup.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_RadioChkInFieldSet_ruleunit/Input-RadioButtonInAriaGroup.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/Input-RadioButtonInAriaGroup.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_RadioChkInFieldSet_ruleunit/Input-RadioChkInFieldSet.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/Input-RadioChkInFieldSet.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_RadioChkInFieldSet_ruleunit/Input-RadioChkInFieldSet.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/Input-RadioChkInFieldSet.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_RadioChkInFieldSet_ruleunit/Input-RadioChkNotInFieldSet.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/Input-RadioChkNotInFieldSet.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_RadioChkInFieldSet_ruleunit/Input-RadioChkNotInFieldSet.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/Input-RadioChkNotInFieldSet.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_RadioChkInFieldSet_ruleunit/Input-RadioChkNotInFieldSetButRelated.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/Input-RadioChkNotInFieldSetButRelated.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_RadioChkInFieldSet_ruleunit/Input-RadioChkNotInFieldSetButRelated.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/Input-RadioChkNotInFieldSetButRelated.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_RadioChkInFieldSet_ruleunit/Input-RadioChkNotInFieldSetHidden.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/Input-RadioChkNotInFieldSetHidden.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_RadioChkInFieldSet_ruleunit/Input-RadioChkNotInFieldSetHidden.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/Input-RadioChkNotInFieldSetHidden.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_RadioChkInFieldSet_ruleunit/Input-RadioChkNotInFieldSetHiddenDebug.txt b/accessibility-checker-engine/test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/Input-RadioChkNotInFieldSetHiddenDebug.txt similarity index 87% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_RadioChkInFieldSet_ruleunit/Input-RadioChkNotInFieldSetHiddenDebug.txt rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/Input-RadioChkNotInFieldSetHiddenDebug.txt index 115d14bc0..4b23b04f3 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_RadioChkInFieldSet_ruleunit/Input-RadioChkNotInFieldSetHiddenDebug.txt +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/Input-RadioChkNotInFieldSetHiddenDebug.txt @@ -35,19 +35,19 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_RadioChkInFieldSet_ruleunit/Input-RadioChkNotInFieldSetNoNmaeProperty.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/Input-RadioChkNotInFieldSetNoNmaeProperty.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_RadioChkInFieldSet_ruleunit/Input-RadioChkNotInFieldSetNoNmaeProperty.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/Input-RadioChkNotInFieldSetNoNmaeProperty.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_RadioChkInFieldSet_ruleunit/Input-RadioInAriaRadioGroup.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/Input-RadioInAriaRadioGroup.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_RadioChkInFieldSet_ruleunit/Input-RadioInAriaRadioGroup.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/Input-RadioInAriaRadioGroup.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_RadioChkInFieldSet_ruleunit/Input-RadioInAriaRadioGroupInTable.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/Input-RadioInAriaRadioGroupInTable.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_RadioChkInFieldSet_ruleunit/Input-RadioInAriaRadioGroupInTable.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/Input-RadioInAriaRadioGroupInTable.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_RadioChkInFieldSet_ruleunit/Input-RadioInDataTableGroup.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/Input-RadioInDataTableGroup.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_RadioChkInFieldSet_ruleunit/Input-RadioInDataTableGroup.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/Input-RadioInDataTableGroup.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_RadioChkInFieldSet_ruleunit/Input-RadioInDataTableGroup2.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/Input-RadioInDataTableGroup2.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_RadioChkInFieldSet_ruleunit/Input-RadioInDataTableGroup2.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/Input-RadioInDataTableGroup2.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_RadioChkInFieldSet_ruleunit/Input-RadioInLayoutTableGroup.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/Input-RadioInLayoutTableGroup.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_RadioChkInFieldSet_ruleunit/Input-RadioInLayoutTableGroup.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/Input-RadioInLayoutTableGroup.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_RadioChkInFieldSet_ruleunit/Input-singleRadioChkInFieldSet.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/Input-singleRadioChkInFieldSet.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_RadioChkInFieldSet_ruleunit/Input-singleRadioChkInFieldSet.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/Input-singleRadioChkInFieldSet.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_RadioChkInFieldSet_ruleunit/Lonecheckbox.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/Lonecheckbox.html similarity index 97% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_RadioChkInFieldSet_ruleunit/Lonecheckbox.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/Lonecheckbox.html index 4728a6e2b..56f82c4e7 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_RadioChkInFieldSet_ruleunit/Lonecheckbox.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/Lonecheckbox.html @@ -107,10 +107,10 @@

checkbox group issue

diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_ExplicitLabel_ruleunit/ACT_a6c173e359eb2ff079eb5cbb3304d6dccc49112e.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/input_label_exists_ruleunit/ACT_a6c173e359eb2ff079eb5cbb3304d6dccc49112e.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_ExplicitLabel_ruleunit/ACT_a6c173e359eb2ff079eb5cbb3304d6dccc49112e.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/input_label_exists_ruleunit/ACT_a6c173e359eb2ff079eb5cbb3304d6dccc49112e.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_ExplicitLabel_ruleunit/ACT_e086e5_ac208d5116efc2a0fb06d2a414cd8a600a5b3723.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/input_label_exists_ruleunit/ACT_e086e5_ac208d5116efc2a0fb06d2a414cd8a600a5b3723.html similarity index 89% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_ExplicitLabel_ruleunit/ACT_e086e5_ac208d5116efc2a0fb06d2a414cd8a600a5b3723.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/input_label_exists_ruleunit/ACT_e086e5_ac208d5116efc2a0fb06d2a414cd8a600a5b3723.html index 678145de9..9e3143aa6 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Input_ExplicitLabel_ruleunit/ACT_e086e5_ac208d5116efc2a0fb06d2a414cd8a600a5b3723.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/input_label_exists_ruleunit/ACT_e086e5_ac208d5116efc2a0fb06d2a414cd8a600a5b3723.html @@ -15,10 +15,10 @@

ACT testcase

diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_List_Misuse_ruleunit/Lists-notUsedToFormat.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/list_structure_proper_ruleunit/Lists-notUsedToFormat.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_List_Misuse_ruleunit/Lists-notUsedToFormat.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/list_structure_proper_ruleunit/Lists-notUsedToFormat.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_List_Misuse_ruleunit/Lists-usedToFormat.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/list_structure_proper_ruleunit/Lists-usedToFormat.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_List_Misuse_ruleunit/Lists-usedToFormat.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/list_structure_proper_ruleunit/Lists-usedToFormat.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_List_Misuse_ruleunit/Lists-withLiAndTemplate.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/list_structure_proper_ruleunit/Lists-withLiAndTemplate.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_List_Misuse_ruleunit/Lists-withLiAndTemplate.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/list_structure_proper_ruleunit/Lists-withLiAndTemplate.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_List_Misuse_ruleunit/ListsWithPresentationalElementsInvalid.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/list_structure_proper_ruleunit/ListsWithPresentationalElementsInvalid.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_List_Misuse_ruleunit/ListsWithPresentationalElementsInvalid.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/list_structure_proper_ruleunit/ListsWithPresentationalElementsInvalid.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_List_Misuse_ruleunit/ListsWithPresentationalElementsValid.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/list_structure_proper_ruleunit/ListsWithPresentationalElementsValid.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_List_Misuse_ruleunit/ListsWithPresentationalElementsValid.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/list_structure_proper_ruleunit/ListsWithPresentationalElementsValid.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Marquee_Trigger_ruleunit/Marquee-invalid-hidden.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/marquee_elem_avoid_ruleunit/Marquee-invalid-hidden.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Marquee_Trigger_ruleunit/Marquee-invalid-hidden.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/marquee_elem_avoid_ruleunit/Marquee-invalid-hidden.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Marquee_Trigger_ruleunit/Marquee-invalid.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/marquee_elem_avoid_ruleunit/Marquee-invalid.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Marquee_Trigger_ruleunit/Marquee-invalid.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/marquee_elem_avoid_ruleunit/Marquee-invalid.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Marquee_Trigger_ruleunit/Marquee-valid.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/marquee_elem_avoid_ruleunit/Marquee-valid.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Marquee_Trigger_ruleunit/Marquee-valid.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/marquee_elem_avoid_ruleunit/Marquee-valid.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_AltBrief_ruleunit/Applet-invalidAltLength.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/media_alt_brief_ruleunit/Applet-invalidAltLength.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_AltBrief_ruleunit/Applet-invalidAltLength.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/media_alt_brief_ruleunit/Applet-invalidAltLength.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_AltBrief_ruleunit/Applet-validAltLength.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/media_alt_brief_ruleunit/Applet-validAltLength.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_AltBrief_ruleunit/Applet-validAltLength.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/media_alt_brief_ruleunit/Applet-validAltLength.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_AltBrief_ruleunit/Area-invalidAltLength.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/media_alt_brief_ruleunit/Area-invalidAltLength.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_AltBrief_ruleunit/Area-invalidAltLength.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/media_alt_brief_ruleunit/Area-invalidAltLength.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_AltBrief_ruleunit/Area-validAltLength.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/media_alt_brief_ruleunit/Area-validAltLength.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_AltBrief_ruleunit/Area-validAltLength.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/media_alt_brief_ruleunit/Area-validAltLength.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_AltBrief_ruleunit/Embed-invalidAltLength.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/media_alt_brief_ruleunit/Embed-invalidAltLength.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_AltBrief_ruleunit/Embed-invalidAltLength.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/media_alt_brief_ruleunit/Embed-invalidAltLength.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_AltBrief_ruleunit/Embed-validAltLength.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/media_alt_brief_ruleunit/Embed-validAltLength.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_AltBrief_ruleunit/Embed-validAltLength.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/media_alt_brief_ruleunit/Embed-validAltLength.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_AltBrief_ruleunit/Img-invalidAltLength.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/media_alt_brief_ruleunit/Img-invalidAltLength.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_AltBrief_ruleunit/Img-invalidAltLength.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/media_alt_brief_ruleunit/Img-invalidAltLength.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_AltBrief_ruleunit/Img-validAltLength.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/media_alt_brief_ruleunit/Img-validAltLength.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_AltBrief_ruleunit/Img-validAltLength.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/media_alt_brief_ruleunit/Img-validAltLength.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_AltBrief_ruleunit/InputImage-invalidAltLength.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/media_alt_brief_ruleunit/InputImage-invalidAltLength.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_AltBrief_ruleunit/InputImage-invalidAltLength.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/media_alt_brief_ruleunit/InputImage-invalidAltLength.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_AltBrief_ruleunit/InputImage-validAltLength.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/media_alt_brief_ruleunit/InputImage-validAltLength.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_AltBrief_ruleunit/InputImage-validAltLength.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/media_alt_brief_ruleunit/InputImage-validAltLength.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_AudioVideoAltFilename_ruleunit/Content-videoOnlyAltText.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/media_alt_exists_ruleunit/Content-videoOnlyAltText.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_AudioVideoAltFilename_ruleunit/Content-videoOnlyAltText.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/media_alt_exists_ruleunit/Content-videoOnlyAltText.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_AudioTrigger_ruleunit/Audio-requiresTranscipts.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/media_audio_transcribed_ruleunit/Audio-requiresTranscipts.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_AudioTrigger_ruleunit/Audio-requiresTranscipts.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/media_audio_transcribed_ruleunit/Audio-requiresTranscipts.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_AudioTrigger_ruleunit/Audio-trigger-hidden.htm b/accessibility-checker-engine/test/v2/checker/accessibility/rules/media_audio_transcribed_ruleunit/Audio-trigger-hidden.htm similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_AudioTrigger_ruleunit/Audio-trigger-hidden.htm rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/media_audio_transcribed_ruleunit/Audio-trigger-hidden.htm diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_AudioTrigger_ruleunit/Fail5.htm b/accessibility-checker-engine/test/v2/checker/accessibility/rules/media_audio_transcribed_ruleunit/Fail5.htm similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_AudioTrigger_ruleunit/Fail5.htm rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/media_audio_transcribed_ruleunit/Fail5.htm diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_AudioTrigger_ruleunit/ParamHidden.htm b/accessibility-checker-engine/test/v2/checker/accessibility/rules/media_audio_transcribed_ruleunit/ParamHidden.htm similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_AudioTrigger_ruleunit/ParamHidden.htm rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/media_audio_transcribed_ruleunit/ParamHidden.htm diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Embed_AutoStart_ruleunit/Element-withAutostartFalse.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/media_autostart_controllable_ruleunit/Element-withAutostartFalse.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Embed_AutoStart_ruleunit/Element-withAutostartFalse.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/media_autostart_controllable_ruleunit/Element-withAutostartFalse.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Embed_AutoStart_ruleunit/Element-withAutostartTrue.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/media_autostart_controllable_ruleunit/Element-withAutostartTrue.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Embed_AutoStart_ruleunit/Element-withAutostartTrue.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/media_autostart_controllable_ruleunit/Element-withAutostartTrue.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Audio_Video_Trigger_ruleunit/HasAudioVideo-invalid-hidden.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/media_keyboard_controllable_ruleunit/HasAudioVideo-invalid-hidden.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Audio_Video_Trigger_ruleunit/HasAudioVideo-invalid-hidden.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/media_keyboard_controllable_ruleunit/HasAudioVideo-invalid-hidden.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Audio_Video_Trigger_ruleunit/HasAudioVideo-invalid.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/media_keyboard_controllable_ruleunit/HasAudioVideo-invalid.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Audio_Video_Trigger_ruleunit/HasAudioVideo-invalid.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/media_keyboard_controllable_ruleunit/HasAudioVideo-invalid.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Audio_Video_Trigger_ruleunit/HasAudioVideo-invalid2.txt b/accessibility-checker-engine/test/v2/checker/accessibility/rules/media_keyboard_controllable_ruleunit/HasAudioVideo-invalid2.txt similarity index 94% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Audio_Video_Trigger_ruleunit/HasAudioVideo-invalid2.txt rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/media_keyboard_controllable_ruleunit/HasAudioVideo-invalid2.txt index 70ef1aec9..708357300 100755 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Audio_Video_Trigger_ruleunit/HasAudioVideo-invalid2.txt +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/media_keyboard_controllable_ruleunit/HasAudioVideo-invalid2.txt @@ -29,7 +29,7 @@ function runRule() { - var passed = OpenAjax.a11y.getRule("HAAC_Audio_Video_Trigger").validate(document.getElementById('video1')); + var passed = OpenAjax.a11y.getRule("media_keyboard_controllable").validate(document.getElementById('video1')); console.log(passed); } diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Audio_Video_Trigger_ruleunit/HasAudioVideo-valid.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/media_keyboard_controllable_ruleunit/HasAudioVideo-valid.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/HAAC_Audio_Video_Trigger_ruleunit/HasAudioVideo-valid.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/media_keyboard_controllable_ruleunit/HasAudioVideo-valid.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_VideoObjectTrigger_ruleunit/Content-videoCaptions.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/media_live_captioned_ruleunit/Content-videoCaptions.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_VideoObjectTrigger_ruleunit/Content-videoCaptions.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/media_live_captioned_ruleunit/Content-videoCaptions.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_VideoObjectTrigger_ruleunit/ParamHidden.htm b/accessibility-checker-engine/test/v2/checker/accessibility/rules/media_live_captioned_ruleunit/ParamHidden.htm similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_VideoObjectTrigger_ruleunit/ParamHidden.htm rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/media_live_captioned_ruleunit/ParamHidden.htm diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_VideoReferenceTrigger_ruleunit/Content-videoOnlyAlternative.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/media_track_available_ruleunit/Content-videoOnlyAlternative.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_VideoReferenceTrigger_ruleunit/Content-videoOnlyAlternative.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/media_track_available_ruleunit/Content-videoOnlyAlternative.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_VideoReferenceTrigger_ruleunit/ParamHidden.htm b/accessibility-checker-engine/test/v2/checker/accessibility/rules/media_track_available_ruleunit/ParamHidden.htm similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Media_VideoReferenceTrigger_ruleunit/ParamHidden.htm rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/media_track_available_ruleunit/ParamHidden.htm diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Meta_RedirectZero_ruleunit/Meta-NoRefresh.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_redirect_optional_ruleunit/Meta-NoRefresh.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Meta_RedirectZero_ruleunit/Meta-NoRefresh.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_redirect_optional_ruleunit/Meta-NoRefresh.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Meta_RedirectZero_ruleunit/Meta-RefreshNotZero.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_redirect_optional_ruleunit/Meta-RefreshNotZero.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Meta_RedirectZero_ruleunit/Meta-RefreshNotZero.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_redirect_optional_ruleunit/Meta-RefreshNotZero.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Meta_RedirectZero_ruleunit/Meta-RefreshZero.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_redirect_optional_ruleunit/Meta-RefreshZero.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Meta_RedirectZero_ruleunit/Meta-RefreshZero.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_redirect_optional_ruleunit/Meta-RefreshZero.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Meta_Refresh_ruleunit/Meta-invalidRefresh.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_refresh_delay_ruleunit/Meta-invalidRefresh.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Meta_Refresh_ruleunit/Meta-invalidRefresh.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_refresh_delay_ruleunit/Meta-invalidRefresh.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Meta_Refresh_ruleunit/Meta-validRefresh.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_refresh_delay_ruleunit/Meta-validRefresh.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Meta_Refresh_ruleunit/Meta-validRefresh.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_refresh_delay_ruleunit/Meta-validRefresh.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Meta_Refresh_ruleunit/metadata.svg b/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_refresh_delay_ruleunit/metadata.svg similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Meta_Refresh_ruleunit/metadata.svg rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_refresh_delay_ruleunit/metadata.svg diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoom_ruleunit/viewport_fail_maximum_user_scale_1.0.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_fail_maximum_user_scale_1.0.html similarity index 94% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoom_ruleunit/viewport_fail_maximum_user_scale_1.0.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_fail_maximum_user_scale_1.0.html index e50b99c02..4f54573cc 100755 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoom_ruleunit/viewport_fail_maximum_user_scale_1.0.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/meta_viewport_zoomable_ruleunit/viewport_fail_maximum_user_scale_1.0.html @@ -31,9 +31,9 @@

diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Object_HasText_ruleunit/Object-hasNoText-hidden.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/object_text_exists_ruleunit/Object-hasNoText-hidden.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Object_HasText_ruleunit/Object-hasNoText-hidden.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/object_text_exists_ruleunit/Object-hasNoText-hidden.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Object_HasText_ruleunit/Object-hasNoText.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/object_text_exists_ruleunit/Object-hasNoText.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Object_HasText_ruleunit/Object-hasNoText.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/object_text_exists_ruleunit/Object-hasNoText.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Object_HasText_ruleunit/Object-hasText.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/object_text_exists_ruleunit/Object-hasText.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Object_HasText_ruleunit/Object-hasText.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/object_text_exists_ruleunit/Object-hasText.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Object_HasText_ruleunit/Object-ofTypeText.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/object_text_exists_ruleunit/Object-ofTypeText.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Object_HasText_ruleunit/Object-ofTypeText.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/object_text_exists_ruleunit/Object-ofTypeText.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Object_HasText_ruleunit/act_fail_1.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/object_text_exists_ruleunit/act_fail_1.html similarity index 87% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Object_HasText_ruleunit/act_fail_1.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/object_text_exists_ruleunit/act_fail_1.html index 06113bb24..03784a70b 100755 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Object_HasText_ruleunit/act_fail_1.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/object_text_exists_ruleunit/act_fail_1.html @@ -5,10 +5,10 @@ diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Style_Trigger2_ruleunit/CSS-hasExternalViaXml-stylesheet.svg b/accessibility-checker-engine/test/v2/checker/accessibility/rules/style_highcontrast_visible_ruleunit/CSS-hasExternalViaXml-stylesheet.svg similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Style_Trigger2_ruleunit/CSS-hasExternalViaXml-stylesheet.svg rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/style_highcontrast_visible_ruleunit/CSS-hasExternalViaXml-stylesheet.svg diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Style_Trigger2_ruleunit/CSS-hasLinkRel.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/style_highcontrast_visible_ruleunit/CSS-hasLinkRel.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Style_Trigger2_ruleunit/CSS-hasLinkRel.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/style_highcontrast_visible_ruleunit/CSS-hasLinkRel.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Style_Trigger2_ruleunit/CSS-hasNone.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/style_highcontrast_visible_ruleunit/CSS-hasNone.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Style_Trigger2_ruleunit/CSS-hasNone.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/style_highcontrast_visible_ruleunit/CSS-hasNone.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Style_Trigger2_ruleunit/CSS-hasStyleAttr.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/style_highcontrast_visible_ruleunit/CSS-hasStyleAttr.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Style_Trigger2_ruleunit/CSS-hasStyleAttr.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/style_highcontrast_visible_ruleunit/CSS-hasStyleAttr.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Style_Trigger2_ruleunit/CSS-hasStyleAttr.svg b/accessibility-checker-engine/test/v2/checker/accessibility/rules/style_highcontrast_visible_ruleunit/CSS-hasStyleAttr.svg similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Style_Trigger2_ruleunit/CSS-hasStyleAttr.svg rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/style_highcontrast_visible_ruleunit/CSS-hasStyleAttr.svg diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Style_Trigger2_ruleunit/CSS-hasStyleElem.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/style_highcontrast_visible_ruleunit/CSS-hasStyleElem.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Style_Trigger2_ruleunit/CSS-hasStyleElem.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/style_highcontrast_visible_ruleunit/CSS-hasStyleElem.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Style_Trigger2_ruleunit/CSS-hasStyleElem.svg b/accessibility-checker-engine/test/v2/checker/accessibility/rules/style_highcontrast_visible_ruleunit/CSS-hasStyleElem.svg similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Style_Trigger2_ruleunit/CSS-hasStyleElem.svg rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/style_highcontrast_visible_ruleunit/CSS-hasStyleElem.svg diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Style_Trigger2_ruleunit/svg-stylesheet.css b/accessibility-checker-engine/test/v2/checker/accessibility/rules/style_highcontrast_visible_ruleunit/svg-stylesheet.css similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Style_Trigger2_ruleunit/svg-stylesheet.css rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/style_highcontrast_visible_ruleunit/svg-stylesheet.css diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG21_Style_Viewport_ruleunit/viewport.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/style_viewport_resizable_ruleunit/viewport.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG21_Style_Viewport_ruleunit/viewport.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/style_viewport_resizable_ruleunit/viewport.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Valerie_Caption_HasContent_ruleunit/table-captionInnerContentHidden.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_caption_empty_ruleunit/table-captionInnerContentHidden.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Valerie_Caption_HasContent_ruleunit/table-captionInnerContentHidden.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/table_caption_empty_ruleunit/table-captionInnerContentHidden.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Valerie_Caption_HasContent_ruleunit/table-captionInvalid.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_caption_empty_ruleunit/table-captionInvalid.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Valerie_Caption_HasContent_ruleunit/table-captionInvalid.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/table_caption_empty_ruleunit/table-captionInvalid.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Valerie_Caption_HasContent_ruleunit/table-captionValid.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_caption_empty_ruleunit/table-captionValid.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Valerie_Caption_HasContent_ruleunit/table-captionValid.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/table_caption_empty_ruleunit/table-captionValid.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Valerie_Caption_HasContent_ruleunit/table-summaryInvalid.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_caption_empty_ruleunit/table-summaryInvalid.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Valerie_Caption_HasContent_ruleunit/table-summaryInvalid.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/table_caption_empty_ruleunit/table-summaryInvalid.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Valerie_Caption_HasContent_ruleunit/table-summaryValid.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_caption_empty_ruleunit/table-summaryValid.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Valerie_Caption_HasContent_ruleunit/table-summaryValid.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/table_caption_empty_ruleunit/table-summaryValid.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Table_DataHeadingsAria_ruleunit/Table-DataWithEmptyHeaders.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/Table-DataWithEmptyHeaders.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Table_DataHeadingsAria_ruleunit/Table-DataWithEmptyHeaders.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/Table-DataWithEmptyHeaders.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Table_DataHeadingsAria_ruleunit/Table-DataWithHeaders.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/Table-DataWithHeaders.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Table_DataHeadingsAria_ruleunit/Table-DataWithHeaders.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/Table-DataWithHeaders.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Table_DataHeadingsAria_ruleunit/Table-DataWithOutHeadersHiddenTd.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/Table-DataWithOutHeadersHiddenTd.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Table_DataHeadingsAria_ruleunit/Table-DataWithOutHeadersHiddenTd.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/Table-DataWithOutHeadersHiddenTd.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Table_DataHeadingsAria_ruleunit/Table-DataWithoutHeaders.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/Table-DataWithoutHeaders.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Table_DataHeadingsAria_ruleunit/Table-DataWithoutHeaders.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/Table-DataWithoutHeaders.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Table_DataHeadingsAria_ruleunit/eval-5-1-2-f3.htm b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/eval-5-1-2-f3.htm similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Table_DataHeadingsAria_ruleunit/eval-5-1-2-f3.htm rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/eval-5-1-2-f3.htm diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Table_DataHeadingsAria_ruleunit/eval-5-1-2-f6.htm b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/eval-5-1-2-f6.htm similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Table_DataHeadingsAria_ruleunit/eval-5-1-2-f6.htm rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/eval-5-1-2-f6.htm diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Valerie_Table_DataCellRelationships_ruleunit/dataTableWithThNotInFirstRowOrCol.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_related_ruleunit/dataTableWithThNotInFirstRowOrCol.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Valerie_Table_DataCellRelationships_ruleunit/dataTableWithThNotInFirstRowOrCol.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_related_ruleunit/dataTableWithThNotInFirstRowOrCol.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Valerie_Table_DataCellRelationships_ruleunit/layoutTableWithNoHeaders.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_related_ruleunit/layoutTableWithNoHeaders.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Valerie_Table_DataCellRelationships_ruleunit/layoutTableWithNoHeaders.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_related_ruleunit/layoutTableWithNoHeaders.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Valerie_Table_DataCellRelationships_ruleunit/table-cellRelationshipsHidden.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_related_ruleunit/table-cellRelationshipsHidden.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Valerie_Table_DataCellRelationships_ruleunit/table-cellRelationshipsHidden.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_related_ruleunit/table-cellRelationshipsHidden.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Valerie_Table_DataCellRelationships_ruleunit/table-cellRelationshipsInvalid.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_related_ruleunit/table-cellRelationshipsInvalid.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Valerie_Table_DataCellRelationships_ruleunit/table-cellRelationshipsInvalid.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_related_ruleunit/table-cellRelationshipsInvalid.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/Valerie_Table_DataCellRelationships_ruleunit/table-cellRelationshipsValid.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_related_ruleunit/table-cellRelationshipsValid.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/Valerie_Table_DataCellRelationships_ruleunit/table-cellRelationshipsValid.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_related_ruleunit/table-cellRelationshipsValid.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Table_LayoutTrigger_ruleunit/Table-Data.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_layout_linearized_ruleunit/Table-Data.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Table_LayoutTrigger_ruleunit/Table-Data.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/table_layout_linearized_ruleunit/Table-Data.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Table_LayoutTrigger_ruleunit/Table-Layout.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_layout_linearized_ruleunit/Table-Layout.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Table_LayoutTrigger_ruleunit/Table-Layout.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/table_layout_linearized_ruleunit/Table-Layout.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Table_Scope_Valid_ruleunit/Table-invalidTdScope.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_scope_valid_ruleunit/Table-invalidTdScope.html similarity index 93% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Table_Scope_Valid_ruleunit/Table-invalidTdScope.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/table_scope_valid_ruleunit/Table-invalidTdScope.html index 979077b6e..95bcf9167 100755 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Table_Scope_Valid_ruleunit/Table-invalidTdScope.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_scope_valid_ruleunit/Table-invalidTdScope.html @@ -80,10 +80,10 @@

Data Table Tests

diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Table_Structure_ruleunit/Table-layoutMultipleHidden.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_structure_misuse_ruleunit/Table-layoutMultipleHidden.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Table_Structure_ruleunit/Table-layoutMultipleHidden.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/table_structure_misuse_ruleunit/Table-layoutMultipleHidden.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Table_Structure_ruleunit/Table-layoutNoCaptARIA.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_structure_misuse_ruleunit/Table-layoutNoCaptARIA.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Table_Structure_ruleunit/Table-layoutNoCaptARIA.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/table_structure_misuse_ruleunit/Table-layoutNoCaptARIA.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Table_Structure_ruleunit/Table-layoutNoHeadingARIA.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_structure_misuse_ruleunit/Table-layoutNoHeadingARIA.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Table_Structure_ruleunit/Table-layoutNoHeadingARIA.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/table_structure_misuse_ruleunit/Table-layoutNoHeadingARIA.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Table_CapSummRedundant_ruleunit/Table-CapAriaDescribedbyBadId.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_summary_redundant_ruleunit/Table-CapAriaDescribedbyBadId.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Table_CapSummRedundant_ruleunit/Table-CapAriaDescribedbyBadId.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/table_summary_redundant_ruleunit/Table-CapAriaDescribedbyBadId.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Table_CapSummRedundant_ruleunit/Table-CapAriaDescribedbyMultipleIDsFail.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_summary_redundant_ruleunit/Table-CapAriaDescribedbyMultipleIDsFail.html similarity index 95% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Table_CapSummRedundant_ruleunit/Table-CapAriaDescribedbyMultipleIDsFail.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/table_summary_redundant_ruleunit/Table-CapAriaDescribedbyMultipleIDsFail.html index 87e1b12b5..e258715cf 100755 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/WCAG20_Table_CapSummRedundant_ruleunit/Table-CapAriaDescribedbyMultipleIDsFail.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_summary_redundant_ruleunit/Table-CapAriaDescribedbyMultipleIDsFail.html @@ -83,10 +83,10 @@

Data Table Tests

diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Block_ShouldBeHeading_ruleunit/Headings-valid.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/text_block_heading_ruleunit/Headings-valid.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/RPT_Block_ShouldBeHeading_ruleunit/Headings-valid.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/text_block_heading_ruleunit/Headings-valid.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/IBMA_Color_Contrast_WCAG2AA_ruleunit/Color-BG.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/text_contrast_sufficient_ruleunit/Color-BG.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/IBMA_Color_Contrast_WCAG2AA_ruleunit/Color-BG.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/text_contrast_sufficient_ruleunit/Color-BG.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/IBMA_Color_Contrast_WCAG2AA_ruleunit/Color-hidden.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/text_contrast_sufficient_ruleunit/Color-hidden.html similarity index 95% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/IBMA_Color_Contrast_WCAG2AA_ruleunit/Color-hidden.html rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/text_contrast_sufficient_ruleunit/Color-hidden.html index f04039755..df432035c 100644 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/IBMA_Color_Contrast_WCAG2AA_ruleunit/Color-hidden.html +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/text_contrast_sufficient_ruleunit/Color-hidden.html @@ -94,10 +94,10 @@

Test page