From 46a6c03bced1bdb48671f50c0b70c66e6654e025 Mon Sep 17 00:00:00 2001 From: Tom Brunet Date: Thu, 12 Dec 2024 14:05:08 -0600 Subject: [PATCH] Dec 12 archive (#2129) --- rule-server/src/static/archives.json | 6 + .../2024.12.12/doc/assets/NeedsReview16.svg | 25 + .../doc/assets/Recommendation16.svg | 15 + .../2024.12.12/doc/assets/Violation16.svg | 13 + .../archives/2024.12.12/doc/common/help.css | 268 + .../archives/2024.12.12/doc/common/help.js | 225 + .../archives/2024.12.12/doc/common/rules.css | 29 + .../en-US/IBMA_Color_Contrast_WCAG2AA_PV.html | 90 + .../Rpt_Aria_ArticleRoleLabel_Implicit.html | 95 + .../Rpt_Aria_GroupRoleLabel_Implicit.html | 107 + .../doc/en-US/a_target_warning.html | 91 + .../2024.12.12/doc/en-US/a_text_purpose.html | 108 + .../doc/en-US/applet_alt_exists.html | 103 + .../en-US/application_content_accessible.html | 97 + .../2024.12.12/doc/en-US/area_alt_exists.html | 101 + .../doc/en-US/aria_accessiblename_exists.html | 112 + .../aria_activedescendant_tabindex_valid.html | 107 + .../en-US/aria_activedescendant_valid.html | 103 + .../en-US/aria_application_label_unique.html | 103 + .../doc/en-US/aria_application_labelled.html | 100 + .../doc/en-US/aria_article_label_unique.html | 104 + .../doc/en-US/aria_attribute_allowed.html | 97 + .../doc/en-US/aria_attribute_conflict.html | 109 + .../doc/en-US/aria_attribute_deprecated.html | 103 + .../doc/en-US/aria_attribute_exists.html | 93 + .../doc/en-US/aria_attribute_redundant.html | 98 + .../doc/en-US/aria_attribute_required.html | 106 + .../doc/en-US/aria_attribute_valid.html | 102 + .../doc/en-US/aria_attribute_value_valid.html | 94 + .../doc/en-US/aria_banner_label_unique.html | 104 + .../doc/en-US/aria_banner_single.html | 98 + .../doc/en-US/aria_child_tabbable.html | 98 + .../doc/en-US/aria_child_valid.html | 121 + .../aria_complementary_label_unique.html | 103 + .../aria_complementary_label_visible.html | 100 + .../en-US/aria_complementary_labelled.html | 100 + .../doc/en-US/aria_content_in_landmark.html | 92 + .../en-US/aria_contentinfo_label_unique.html | 104 + .../doc/en-US/aria_contentinfo_misuse.html | 105 + .../doc/en-US/aria_contentinfo_single.html | 100 + .../doc/en-US/aria_descendant_valid.html | 101 + .../doc/en-US/aria_document_label_unique.html | 91 + .../en-US/aria_eventhandler_role_valid.html | 92 + .../doc/en-US/aria_form_label_unique.html | 112 + .../doc/en-US/aria_graphic_labelled.html | 99 + .../doc/en-US/aria_hidden_nontabbable.html | 113 + .../2024.12.12/doc/en-US/aria_id_unique.html | 98 + .../doc/en-US/aria_img_labelled.html | 100 + .../en-US/aria_keyboard_handler_exists.html | 103 + .../doc/en-US/aria_landmark_name_unique.html | 110 + .../doc/en-US/aria_main_label_unique.html | 111 + .../doc/en-US/aria_main_label_visible.html | 102 + .../en-US/aria_navigation_label_unique.html | 106 + .../doc/en-US/aria_parent_required.html | 98 + .../doc/en-US/aria_region_label_unique.html | 102 + .../doc/en-US/aria_region_labelled.html | 102 + .../doc/en-US/aria_role_allowed.html | 105 + .../doc/en-US/aria_role_redundant.html | 107 + .../2024.12.12/doc/en-US/aria_role_valid.html | 90 + .../doc/en-US/aria_search_label_unique.html | 100 + .../doc/en-US/aria_toolbar_label_unique.html | 102 + .../doc/en-US/aria_widget_labelled.html | 102 + .../doc/en-US/asciiart_alt_exists.html | 91 + .../doc/en-US/blink_css_review.html | 94 + .../doc/en-US/blink_elem_deprecated.html | 94 + .../doc/en-US/blockquote_cite_exists.html | 91 + .../doc/en-US/canvas_content_described.html | 115 + .../doc/en-US/caption_track_exists.html | 100 + .../doc/en-US/combobox_active_descendant.html | 109 + .../en-US/combobox_autocomplete_valid.html | 136 + .../doc/en-US/combobox_design_valid.html | 93 + .../en-US/combobox_focusable_elements.html | 92 + .../doc/en-US/combobox_haspopup_valid.html | 107 + .../doc/en-US/combobox_popup_reference.html | 109 + .../doc/en-US/dir_attribute_valid.html | 89 + .../en-US/download_keyboard_controllable.html | 92 + .../en-US/draggable_alternative_exists.html | 105 + .../doc/en-US/element_accesskey_labelled.html | 97 + .../doc/en-US/element_accesskey_unique.html | 100 + .../en-US/element_attribute_deprecated.html | 103 + .../doc/en-US/element_id_unique.html | 102 + .../doc/en-US/element_lang_valid.html | 108 + .../en-US/element_mouseevent_keyboard.html | 102 + .../en-US/element_orientation_unlocked.html | 112 + .../en-US/element_scrollable_tabbable.html | 115 + .../en-US/element_tabbable_role_valid.html | 136 + .../en-US/element_tabbable_unobscured.html | 103 + .../doc/en-US/element_tabbable_visible.html | 124 + .../doc/en-US/embed_alt_exists.html | 95 + .../doc/en-US/embed_noembed_exists.html | 102 + .../doc/en-US/emoticons_alt_exists.html | 91 + .../doc/en-US/error_message_exists.html | 105 + .../doc/en-US/fieldset_label_valid.html | 106 + .../doc/en-US/fieldset_legend_valid.html | 101 + .../doc/en-US/figure_label_exists.html | 104 + .../2024.12.12/doc/en-US/form_font_color.html | 90 + .../doc/en-US/form_interaction_review.html | 92 + .../doc/en-US/form_label_unique.html | 90 + .../doc/en-US/form_submit_button_exists.html | 92 + .../doc/en-US/form_submit_review.html | 93 + .../2024.12.12/doc/en-US/frame_src_valid.html | 95 + .../doc/en-US/frame_title_exists.html | 99 + .../doc/en-US/heading_content_exists.html | 89 + .../doc/en-US/heading_markup_misuse.html | 92 + .../doc/en-US/html_lang_exists.html | 92 + .../2024.12.12/doc/en-US/html_lang_valid.html | 111 + .../doc/en-US/html_skipnav_exists.html | 91 + .../en-US/iframe_interactive_tabbable.html | 105 + .../doc/en-US/imagebutton_alt_exists.html | 90 + .../doc/en-US/imagemap_alt_exists.html | 101 + .../doc/en-US/img_alt_background.html | 90 + .../doc/en-US/img_alt_decorative.html | 93 + .../2024.12.12/doc/en-US/img_alt_misuse.html | 91 + .../2024.12.12/doc/en-US/img_alt_null.html | 94 + .../doc/en-US/img_alt_redundant.html | 94 + .../2024.12.12/doc/en-US/img_alt_valid.html | 99 + .../doc/en-US/img_ismap_misuse.html | 91 + .../doc/en-US/img_longdesc_misuse.html | 98 + .../doc/en-US/input_autocomplete_valid.html | 121 + .../doc/en-US/input_checkboxes_grouped.html | 90 + .../doc/en-US/input_fields_grouped.html | 104 + .../doc/en-US/input_haspopup_conflict.html | 120 + .../doc/en-US/input_label_after.html | 98 + .../doc/en-US/input_label_before.html | 99 + .../doc/en-US/input_label_exists.html | 94 + .../doc/en-US/input_label_visible.html | 127 + .../doc/en-US/input_onchange_review.html | 103 + .../input_placeholder_label_visible.html | 107 + .../doc/en-US/label_content_exists.html | 90 + .../doc/en-US/label_name_visible.html | 97 + .../2024.12.12/doc/en-US/label_ref_valid.html | 97 + .../doc/en-US/list_children_valid.html | 111 + .../doc/en-US/list_markup_review.html | 91 + .../doc/en-US/list_structure_proper.html | 89 + .../doc/en-US/marquee_elem_avoid.html | 94 + .../2024.12.12/doc/en-US/media_alt_brief.html | 111 + .../doc/en-US/media_alt_exists.html | 95 + .../doc/en-US/media_audio_transcribed.html | 97 + .../en-US/media_autostart_controllable.html | 93 + .../en-US/media_keyboard_controllable.html | 111 + .../doc/en-US/media_live_captioned.html | 91 + .../doc/en-US/media_track_available.html | 96 + .../doc/en-US/meta_redirect_optional.html | 94 + .../doc/en-US/meta_refresh_delay.html | 95 + .../doc/en-US/meta_viewport_zoomable.html | 98 + .../doc/en-US/noembed_content_exists.html | 100 + .../doc/en-US/object_text_exists.html | 101 + .../doc/en-US/page_title_exists.html | 103 + .../doc/en-US/page_title_valid.html | 105 + .../doc/en-US/script_focus_blur_review.html | 96 + .../doc/en-US/script_onclick_avoid.html | 92 + .../doc/en-US/script_onclick_misuse.html | 92 + .../doc/en-US/script_select_review.html | 97 + .../doc/en-US/select_options_grouped.html | 90 + .../doc/en-US/skip_main_described.html | 100 + .../doc/en-US/skip_main_exists.html | 103 + .../en-US/style_background_decorative.html | 93 + .../doc/en-US/style_before_after_review.html | 95 + .../doc/en-US/style_color_misuse.html | 89 + .../doc/en-US/style_focus_visible.html | 97 + .../doc/en-US/style_highcontrast_visible.html | 100 + .../doc/en-US/style_hover_persistent.html | 118 + .../doc/en-US/style_viewport_resizable.html | 93 + .../doc/en-US/svg_graphics_labelled.html | 127 + .../doc/en-US/table_aria_descendants.html | 110 + .../doc/en-US/table_caption_empty.html | 101 + .../doc/en-US/table_caption_nested.html | 98 + .../doc/en-US/table_headers_exists.html | 93 + .../doc/en-US/table_headers_ref_valid.html | 91 + .../doc/en-US/table_headers_related.html | 91 + .../doc/en-US/table_layout_linearized.html | 92 + .../doc/en-US/table_scope_valid.html | 93 + .../doc/en-US/table_structure_misuse.html | 91 + .../doc/en-US/table_summary_redundant.html | 101 + .../doc/en-US/target_spacing_sufficient.html | 108 + .../doc/en-US/text_block_heading.html | 92 + .../doc/en-US/text_contrast_sufficient.html | 92 + .../doc/en-US/text_quoted_correctly.html | 106 + .../doc/en-US/text_sensory_misuse.html | 96 + .../doc/en-US/text_spacing_valid.html | 103 + .../doc/en-US/text_whitespace_valid.html | 93 + .../doc/en-US/widget_tabbable_exists.html | 98 + .../doc/en-US/widget_tabbable_single.html | 96 + .../static/archives/2024.12.12/doc/rules.csv | 444 + .../static/archives/2024.12.12/doc/rules.html | 20318 ++++++++++ .../archives/2024.12.12/js/ace-debug.js | 31611 ++++++++++++++++ .../archives/2024.12.12/js/ace-node-debug.js | 31003 +++++++++++++++ .../static/archives/2024.12.12/js/ace-node.js | 2 + .../2024.12.12/js/ace-node.js.LICENSE.txt | 15 + .../src/static/archives/2024.12.12/js/ace.js | 2 + .../archives/2024.12.12/js/ace.js.LICENSE.txt | 15 + .../static/archives/2024.12.12/js/ace_s.js | 2 + 192 files changed, 101631 insertions(+) create mode 100644 rule-server/src/static/archives/2024.12.12/doc/assets/NeedsReview16.svg create mode 100644 rule-server/src/static/archives/2024.12.12/doc/assets/Recommendation16.svg create mode 100644 rule-server/src/static/archives/2024.12.12/doc/assets/Violation16.svg create mode 100644 rule-server/src/static/archives/2024.12.12/doc/common/help.css create mode 100644 rule-server/src/static/archives/2024.12.12/doc/common/help.js create mode 100644 rule-server/src/static/archives/2024.12.12/doc/common/rules.css create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/IBMA_Color_Contrast_WCAG2AA_PV.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/Rpt_Aria_ArticleRoleLabel_Implicit.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/Rpt_Aria_GroupRoleLabel_Implicit.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/a_target_warning.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/a_text_purpose.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/applet_alt_exists.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/application_content_accessible.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/area_alt_exists.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_accessiblename_exists.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_activedescendant_tabindex_valid.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_activedescendant_valid.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_application_label_unique.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_application_labelled.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_article_label_unique.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_attribute_allowed.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_attribute_conflict.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_attribute_deprecated.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_attribute_exists.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_attribute_redundant.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_attribute_required.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_attribute_valid.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_attribute_value_valid.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_banner_label_unique.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_banner_single.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_child_tabbable.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_child_valid.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_complementary_label_unique.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_complementary_label_visible.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_complementary_labelled.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_content_in_landmark.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_contentinfo_label_unique.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_contentinfo_misuse.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_contentinfo_single.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_descendant_valid.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_document_label_unique.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_eventhandler_role_valid.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_form_label_unique.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_graphic_labelled.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_hidden_nontabbable.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_id_unique.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_img_labelled.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_keyboard_handler_exists.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_landmark_name_unique.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_main_label_unique.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_main_label_visible.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_navigation_label_unique.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_parent_required.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_region_label_unique.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_region_labelled.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_role_allowed.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_role_redundant.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_role_valid.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_search_label_unique.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_toolbar_label_unique.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/aria_widget_labelled.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/asciiart_alt_exists.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/blink_css_review.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/blink_elem_deprecated.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/blockquote_cite_exists.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/canvas_content_described.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/caption_track_exists.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/combobox_active_descendant.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/combobox_autocomplete_valid.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/combobox_design_valid.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/combobox_focusable_elements.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/combobox_haspopup_valid.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/combobox_popup_reference.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/dir_attribute_valid.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/download_keyboard_controllable.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/draggable_alternative_exists.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/element_accesskey_labelled.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/element_accesskey_unique.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/element_attribute_deprecated.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/element_id_unique.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/element_lang_valid.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/element_mouseevent_keyboard.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/element_orientation_unlocked.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/element_scrollable_tabbable.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/element_tabbable_role_valid.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/element_tabbable_unobscured.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/element_tabbable_visible.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/embed_alt_exists.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/embed_noembed_exists.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/emoticons_alt_exists.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/error_message_exists.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/fieldset_label_valid.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/fieldset_legend_valid.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/figure_label_exists.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/form_font_color.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/form_interaction_review.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/form_label_unique.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/form_submit_button_exists.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/form_submit_review.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/frame_src_valid.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/frame_title_exists.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/heading_content_exists.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/heading_markup_misuse.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/html_lang_exists.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/html_lang_valid.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/html_skipnav_exists.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/iframe_interactive_tabbable.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/imagebutton_alt_exists.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/imagemap_alt_exists.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/img_alt_background.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/img_alt_decorative.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/img_alt_misuse.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/img_alt_null.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/img_alt_redundant.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/img_alt_valid.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/img_ismap_misuse.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/img_longdesc_misuse.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/input_autocomplete_valid.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/input_checkboxes_grouped.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/input_fields_grouped.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/input_haspopup_conflict.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/input_label_after.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/input_label_before.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/input_label_exists.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/input_label_visible.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/input_onchange_review.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/input_placeholder_label_visible.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/label_content_exists.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/label_name_visible.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/label_ref_valid.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/list_children_valid.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/list_markup_review.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/list_structure_proper.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/marquee_elem_avoid.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/media_alt_brief.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/media_alt_exists.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/media_audio_transcribed.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/media_autostart_controllable.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/media_keyboard_controllable.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/media_live_captioned.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/media_track_available.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/meta_redirect_optional.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/meta_refresh_delay.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/meta_viewport_zoomable.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/noembed_content_exists.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/object_text_exists.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/page_title_exists.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/page_title_valid.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/script_focus_blur_review.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/script_onclick_avoid.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/script_onclick_misuse.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/script_select_review.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/select_options_grouped.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/skip_main_described.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/skip_main_exists.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/style_background_decorative.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/style_before_after_review.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/style_color_misuse.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/style_focus_visible.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/style_highcontrast_visible.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/style_hover_persistent.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/style_viewport_resizable.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/svg_graphics_labelled.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/table_aria_descendants.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/table_caption_empty.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/table_caption_nested.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/table_headers_exists.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/table_headers_ref_valid.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/table_headers_related.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/table_layout_linearized.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/table_scope_valid.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/table_structure_misuse.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/table_summary_redundant.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/target_spacing_sufficient.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/text_block_heading.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/text_contrast_sufficient.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/text_quoted_correctly.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/text_sensory_misuse.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/text_spacing_valid.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/text_whitespace_valid.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/widget_tabbable_exists.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/en-US/widget_tabbable_single.html create mode 100644 rule-server/src/static/archives/2024.12.12/doc/rules.csv create mode 100644 rule-server/src/static/archives/2024.12.12/doc/rules.html create mode 100644 rule-server/src/static/archives/2024.12.12/js/ace-debug.js create mode 100644 rule-server/src/static/archives/2024.12.12/js/ace-node-debug.js create mode 100644 rule-server/src/static/archives/2024.12.12/js/ace-node.js create mode 100644 rule-server/src/static/archives/2024.12.12/js/ace-node.js.LICENSE.txt create mode 100644 rule-server/src/static/archives/2024.12.12/js/ace.js create mode 100644 rule-server/src/static/archives/2024.12.12/js/ace.js.LICENSE.txt create mode 100644 rule-server/src/static/archives/2024.12.12/js/ace_s.js diff --git a/rule-server/src/static/archives.json b/rule-server/src/static/archives.json index a59208ab9..00bd94455 100644 --- a/rule-server/src/static/archives.json +++ b/rule-server/src/static/archives.json @@ -4,6 +4,12 @@ "name": "Latest Deployment", "path": "/archives/latest" }, + { + "id": "12December2024", + "name": "12 December 2024 Deployment (IBM 7.3)", + "version": "3.1.79", + "path": "/archives/2024.12.12" + }, { "id": "13November2024", "name": "13 November 2024 Deployment (IBM 7.3)", diff --git a/rule-server/src/static/archives/2024.12.12/doc/assets/NeedsReview16.svg b/rule-server/src/static/archives/2024.12.12/doc/assets/NeedsReview16.svg new file mode 100644 index 000000000..917834a38 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/assets/NeedsReview16.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + diff --git a/rule-server/src/static/archives/2024.12.12/doc/assets/Recommendation16.svg b/rule-server/src/static/archives/2024.12.12/doc/assets/Recommendation16.svg new file mode 100644 index 000000000..b57dc73d5 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/assets/Recommendation16.svg @@ -0,0 +1,15 @@ + + + + + + +i + diff --git a/rule-server/src/static/archives/2024.12.12/doc/assets/Violation16.svg b/rule-server/src/static/archives/2024.12.12/doc/assets/Violation16.svg new file mode 100644 index 000000000..5f8c9c710 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/assets/Violation16.svg @@ -0,0 +1,13 @@ + + + + + + + + diff --git a/rule-server/src/static/archives/2024.12.12/doc/common/help.css b/rule-server/src/static/archives/2024.12.12/doc/common/help.css new file mode 100644 index 000000000..0db9f74b4 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/common/help.css @@ -0,0 +1,268 @@ +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +@import url("https://1.www.s81c.com/common/carbon-for-ibm-dotcom/tag/v1/latest/plex.css"); +@import url('https://unpkg.com/carbon-components/css/carbon-components.min.css'); +@import url("https://1.www.s81c.com/common/carbon-for-ibm-dotcom/tag/v1/latest/themes.css"); + +bx-list-item>code, p>code, td>code { + background-color: var(--cds-layer); + border-radius: 4px; + bottom: 0.0625em; + color: var(--cds-text-primary); + display: inline; + font-size: .75rem; + font-size: .875em; + font-weight: 400; + letter-spacing: .32px; + line-height: 1.33333; + padding: 0 0.5em; + position: relative; +} + +.toolHelp a { + color: var(--cds-link-primary) +} + +.toolHelp .toolMain p ~ p { + margin-top: .5rem; +} + +.toolHelp .toolHead h3 { + font-family: 'IBM Plex Sans','Helvetica Neue',Arial,sans-serif; + font-style: normal; + font-weight: 600; + font-size: 16px; + line-height: 24px; +} + +.toolHelp .toolHead .issueLevel { + font-family: 'IBM Plex Sans','Helvetica Neue',Arial,sans-serif; + font-style: normal; + font-weight: 400; + font-size: 12px; + line-height: 16px; +} + +.toolHelp .toolHead #ruleMessage { + font-family: 'IBM Plex Sans','Helvetica Neue',Arial,sans-serif; + font-style: normal; + font-weight: 600; + font-size: 16px; + line-height: 24px; + margin-top: .5rem; + margin-bottom: .5rem; +} + +.toolHelp .toolHead #groupLabel { + font-family: 'IBM Plex Sans','Helvetica Neue',Arial,sans-serif; + font-style: normal; + font-weight: 400; + font-size: 12px; + line-height: 16px; +} + +/* productive-heading-03 */ +.toolHelp .toolMain h3 { + font-family: 'IBM Plex Sans','Helvetica Neue',Arial,sans-serif; + font-style: normal; + font-weight: 600; + font-size: 16px; + line-height: 24px; +} + +.toolHelp .toolSide .bx--list__item { + color: black; + font-size: 0.875rem; + line-height: 18px; +} + +/* productive-heading-03 */ +.toolHelp .toolSide h3 { + font-family: 'IBM Plex Sans','Helvetica Neue',Arial,sans-serif; + font-style: normal; + font-weight: 600; + font-size: 16px; + line-height: 24px; +} + +@media (min-width: 42rem) { + html, body, .toolHelp .bx--row:nth-child(2) { + height: 100%; + } +} +body { + font-family: 'IBM Plex Sans','Helvetica Neue',Arial,sans-serif; + color: var(--cds-text-primary); + background-color: var(--cds-ui-background); +} + +.toolHelp { + padding: 0px; + margin: 0px; + max-width: 100%; + background-color: #e8daff; +} + +.toolHelp p { + font-family: 'IBM Plex Sans','Helvetica Neue',Arial,sans-serif; +font-style: normal; +font-weight: 400; +font-size: 14px; +line-height: 20px; +/* or 143% */ + +letter-spacing: 0.16px; +} + +.dds-theme-zone-g90 .toolHelp { + background-color: #31135E; +} + +.toolHelp .bx--row { + margin: 0px; +} + +.toolHelp .toolHead { + margin-bottom: 1rem; + padding-top: 1rem; +} +.toolHelp .toolMain { + background-color: var(--cds-ui-background); + padding-top: 1rem; + padding-bottom: 1rem; + border-top: solid var(--cds-text-primary) 1px; +} +.toolHelp .toolMain h2 { + margin-top: 32px; + margin-bottom: 0.5rem; +} +.toolHelp .toolMain h3 { + margin-top: 1.5rem; + margin-bottom: 0.5rem; +} +.toolHelp .toolMain p { + margin-top: 0px; +} + +.toolHelp .toolSide { + padding: 16px 16px 16px 32px; + background-color: var(--cds-ui-background); + color: var(--cds-text-primary); + border-top: solid var(--cds-text-primary) 1px; +} +@media (min-width: 42rem) { + .toolHelp .toolSide { + border-left: solid var(--cds-text-primary) 1px; + } +} + +.toolHelp .toolSide h2 { + margin-top: 32px; + margin-bottom: 0.5rem; +} +.toolHelp .toolSide h3 { + margin-top: 1.5rem; + margin-bottom: 0.5rem; +} +.toolHelp .toolSide p { + margin-top: 0px; +} +@media (min-width: 66rem) { + .toolHelp .toolMain p, bx-list-item { + max-width: 66.66%; + } +} +bx-code-snippet[type="multi"]::after { + height: 0px; +} + +#ruleInfo { + margin-top: 1rem; +} + +#ruleInfo p { + font-size: 14px; +} + +mark-down table tbody tr:hover { + background: var(--cds-layer-hover); +} +mark-down table tbody tr:hover td, mark-down table tbody tr:hover th { + background: var(--cds-layer-hover); + -webkit-border-after: 1px solid var(--cds-layer-hover); + border-block-end: 1px solid var(--cds-layer-hover); + -webkit-border-before: 1px solid var(--cds-layer-hover); + border-block-start: 1px solid var(--cds-layer-hover); + color: var(--cds-text-primary,#161616); +} + +mark-down table { + margin-top: 1rem; + width: 100%; +} + +@media (min-width: 66rem) { + mark-down table { + max-width: 66.66%; + } +} + +mark-down table thead { + font-size: var(--cds-heading-compact-01-font-size,0.875rem); + font-weight: var(--cds-heading-compact-01-font-weight,600); + line-height: var(--cds-heading-compact-01-line-height,1.28572); + letter-spacing: var(--cds-heading-compact-01-letter-spacing,0.16px); + background-color: var(--cds-layer-accent); +} + +mark-down table tr { + border: none; + block-size: 3rem; + inline-size: 100%; +} + +mark-down table th { + background-color: var(--cds-layer-accent); + color: var(--cds-text-primary,#161616); + -webkit-padding-end: 1rem; + padding-inline-end: 1rem; + -webkit-padding-start: 1rem; + padding-inline-start: 1rem; +} + +mark-down table td, mark-down table th { + text-align: start; + vertical-align: middle; +} + +mark-down table tbody { + font-size: var(--cds-body-compact-01-font-size,0.875rem); + font-weight: var(--cds-body-compact-01-font-weight,400); + line-height: var(--cds-body-compact-01-line-height,1.28572); + letter-spacing: var(--cds-body-compact-01-letter-spacing,0.16px); + background-color: var(--cds-layer); + inline-size: 100%; +} + +mark-down table td, mark-down table tbody th { + background: var(--cds-layer); + -webkit-border-after: 1px solid var(--cds-border-subtle); + border-block-end: 1px solid var(--cds-border-subtle); + -webkit-border-before: 1px solid var(--cds-layer); + border-block-start: 1px solid var(--cds-layer); + color: var(--cds-text-secondary,#525252); + -webkit-padding-end: 1rem; + padding-inline-end: 1rem; + -webkit-padding-start: 1rem; + padding-inline-start: 1rem; +} \ No newline at end of file diff --git a/rule-server/src/static/archives/2024.12.12/doc/common/help.js b/rule-server/src/static/archives/2024.12.12/doc/common/help.js new file mode 100644 index 000000000..c8fa2f0ec --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/common/help.js @@ -0,0 +1,225 @@ +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ + +class HTMLBaseElement extends HTMLElement { + constructor(...args) { + const self = super(...args); + self.parsed = false; // guard to make it easy to do certain stuff only once + self.parentNodes = []; + return self; + } + + connectedCallback() { + // collect the parentNodes + let el = this; + while (el.parentNode) { + el = el.parentNode; + this.parentNodes.push(el); + } + // check if the parser has already passed the end tag of the component + // in which case this element, or one of its parents, should have a nextSibling + // if not (no whitespace at all between tags and no nextElementSiblings either) + // resort to DOMContentLoaded or load having triggered + if ([this, ...this.parentNodes].some((el) => el.nextSibling) || document.readyState !== "loading") { + if (this.childrenAvailableCallback) + this.childrenAvailableCallback(); + this.parsed = true; + } else { + this.mutationObserver = new MutationObserver(() => { + if ([this, ...this.parentNodes].some((el) => el.nextSibling) || document.readyState !== "loading") { + if (this.childrenAvailableCallback) + this.childrenAvailableCallback(); + this.parsed = true; + this.mutationObserver.disconnect(); + } + }); + + this.mutationObserver.observe(this, { + childList: true, + }); + } + } +} + +function isDarkMode() { + return (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches); +} + +customElements.define( + "mark-down", + class extends HTMLBaseElement { + constructor() { + super(); + setTimeout(() => { + let converted = marked.parse(this.textContent); + this.innerHTML = converted + .replace(/<(\/?)ul>/g, "<$1bx-unordered-list>") + .replace(/<(\/?)li>/g, "<$1bx-list-item>") + .replace(/[ \r\n]*/g, "") + .replace(/<\/code>[ \r\n]*<\/pre>/g, ""); + }, 0) + } + // childrenAvailableCallback() { + // let converted = marked.parse(this.innerHTML); + // this.innerHTML = converted + // .replace(/<(\/?)ul>/g, "<$1bx-unordered-list>") + // .replace(/<(\/?)li>/g, "<$1bx-list-item>") + // .replace(/[ \r\n]*/g, "") + // .replace(/<\/code>[ \r\n]*<\/pre>/g, ""); + // } + } +); + +customElements.define( + "code-snippet", + class extends HTMLBaseElement { + childrenAvailableCallback() { + let oldCode = this.innerHTML; + this.innerHTML = ""; + // const shadowRoot = this.attachShadow({mode: 'open'}); + const shadowRoot = this; + let snip = document.createElement("bx-code-snippet"); + snip.setAttribute("type", "multi"); + snip.innerHTML = oldCode.replace(/ ruleInfo.msgArgs[matchedNum]); + document.querySelector("#ruleMessage").innerHTML = ruleMessage.replace(/&/g, "&").replace(//g, ">") + } + setTimeout(() => { + if (ruleInfo.snippet) { + let snip = ruleInfo.snippet; + snip = snip.replace(/( [a-zA-Z-]+="[^"]*")/g, "\n $1"); + let snipElem = document.createElement("code-snippet"); + for (let line of snip.split("\n")) { + snipElem.appendChild(document.createTextNode(line+"\n")); + } + let locSnippet = document.querySelector("#locSnippet"); + locSnippet.innerHTML = `

Element location

`; + locSnippet.appendChild(snipElem); + } + }, 0); + if (ruleInfo.value) { + let value = ruleInfo.value; + const val = valueMap[value[0]][value[1]]; + let icon = ""; + if (val === "Violation") icon = ``; + if (val === "Needs review") icon = ``; + if (val === "Recommendation") icon = ``; + let level = document.querySelector("#locLevel"); + let parent = level.parentElement; + level = parent.removeChild(level); + parent.insertBefore(level, parent.firstElementChild); + document.querySelector("#locLevel").innerHTML = `
${val}
`; + } + if (RULE_ID) { + document.querySelector("#ruleInfo").innerHTML = `

Rule ID: ${RULE_ID}${ruleInfo.reasonId ? `
Reason ID: ${ruleInfo.reasonId}

` : ""}`; + } + } +} + +if ("onhashchange" in window) {// does the browser support the hashchange event? + window.onhashchange = function () { + let ruleInfo = JSON.parse(decodeURIComponent(window.location.hash.substring(1))); + updateWithRuleInfo(ruleInfo); + } +} + +window.addEventListener("DOMContentLoaded", (evt) => { + let groupMsg = typeof RULE_MESSAGES !== "undefined" && (RULE_MESSAGES["en-US"].group || RULE_MESSAGES["en-US"][0]) || ""; + groupMsg = groupMsg.replace(/&/g, "&").replace(//g, ">"); + document.querySelector("#groupLabel").innerHTML = groupMsg; + let ruleInfo; + if (window.location.search && window.location.search.length > 0) { + const searchParams = new URLSearchParams(window.location.search); + ruleInfo = JSON.parse(decodeURIComponent(searchParams.get("issue"))); + } else if (window.location.hash && window.location.hash.length > 0) { + ruleInfo = JSON.parse(decodeURIComponent(window.location.hash.substring(1))); + } + updateWithRuleInfo(ruleInfo); + + if (isDarkMode()) { + document.body.setAttribute("class", "dds-theme-zone-g90"); + } else { + document.body.setAttribute("class", "dds-theme-zone-g10"); + } + +}) + diff --git a/rule-server/src/static/archives/2024.12.12/doc/common/rules.css b/rule-server/src/static/archives/2024.12.12/doc/common/rules.css new file mode 100644 index 000000000..515c8a230 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/common/rules.css @@ -0,0 +1,29 @@ +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +@import url('https://unpkg.com/carbon-components/css/carbon-components.min.css'); + +html, body, .toolHelp .bx--row:nth-child(2) { + height: 100%; +} + +body { + font-family: 'IBM Plex Sans', sans-serif; + padding: 1rem; +} + +h2 { + margin-top: 1rem; + font-size: 16px; + line-height: 24px; + font-weight: 600; +} diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/IBMA_Color_Contrast_WCAG2AA_PV.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/IBMA_Color_Contrast_WCAG2AA_PV.html new file mode 100644 index 000000000..70d9b1d64 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/IBMA_Color_Contrast_WCAG2AA_PV.html @@ -0,0 +1,90 @@ + + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/Rpt_Aria_ArticleRoleLabel_Implicit.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/Rpt_Aria_ArticleRoleLabel_Implicit.html new file mode 100644 index 000000000..283bed41c --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/Rpt_Aria_ArticleRoleLabel_Implicit.html @@ -0,0 +1,95 @@ + + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/Rpt_Aria_GroupRoleLabel_Implicit.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/Rpt_Aria_GroupRoleLabel_Implicit.html new file mode 100644 index 000000000..d5cdca57e --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/Rpt_Aria_GroupRoleLabel_Implicit.html @@ -0,0 +1,107 @@ + + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/a_target_warning.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/a_target_warning.html new file mode 100644 index 000000000..667ca418e --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/a_target_warning.html @@ -0,0 +1,91 @@ + + + + a_target_warning - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/a_text_purpose.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/a_text_purpose.html new file mode 100644 index 000000000..2c7138526 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/a_text_purpose.html @@ -0,0 +1,108 @@ + + + + a_text_purpose - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/applet_alt_exists.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/applet_alt_exists.html new file mode 100644 index 000000000..c8b9a1a00 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/applet_alt_exists.html @@ -0,0 +1,103 @@ + + + + applet_alt_exists - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/application_content_accessible.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/application_content_accessible.html new file mode 100644 index 000000000..3eb9eeb14 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/application_content_accessible.html @@ -0,0 +1,97 @@ + + + + application_content_accessible - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/area_alt_exists.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/area_alt_exists.html new file mode 100644 index 000000000..fad66e3df --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/area_alt_exists.html @@ -0,0 +1,101 @@ + + + + area_alt_exists - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_accessiblename_exists.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_accessiblename_exists.html new file mode 100644 index 000000000..c4ae82722 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_accessiblename_exists.html @@ -0,0 +1,112 @@ + + + + aria_accessiblename_exists - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_activedescendant_tabindex_valid.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_activedescendant_tabindex_valid.html new file mode 100644 index 000000000..b73e726db --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_activedescendant_tabindex_valid.html @@ -0,0 +1,107 @@ + + + + aria_activedescendant_tabindex_valid - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_activedescendant_valid.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_activedescendant_valid.html new file mode 100644 index 000000000..9a9f0c8b9 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_activedescendant_valid.html @@ -0,0 +1,103 @@ + + + + aria_activedescendant_valid - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_application_label_unique.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_application_label_unique.html new file mode 100644 index 000000000..74ce77ae0 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_application_label_unique.html @@ -0,0 +1,103 @@ + + + + aria_application_label_unique - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_application_labelled.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_application_labelled.html new file mode 100644 index 000000000..b45966878 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_application_labelled.html @@ -0,0 +1,100 @@ + + + + aria_application_labelled - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_article_label_unique.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_article_label_unique.html new file mode 100644 index 000000000..9a404e925 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_article_label_unique.html @@ -0,0 +1,104 @@ + + + + aria_article_label_unique - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_attribute_allowed.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_attribute_allowed.html new file mode 100644 index 000000000..c144962bc --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_attribute_allowed.html @@ -0,0 +1,97 @@ + + + + aria_attribute_allowed - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_attribute_conflict.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_attribute_conflict.html new file mode 100644 index 000000000..4e81729db --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_attribute_conflict.html @@ -0,0 +1,109 @@ + + + + aria_attribute_conflict - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_attribute_deprecated.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_attribute_deprecated.html new file mode 100644 index 000000000..8ff5fa926 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_attribute_deprecated.html @@ -0,0 +1,103 @@ + + + + aria_attribute_deprecated - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_attribute_exists.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_attribute_exists.html new file mode 100644 index 000000000..6e3d8066d --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_attribute_exists.html @@ -0,0 +1,93 @@ + + + + aria_attribute_exists - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_attribute_redundant.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_attribute_redundant.html new file mode 100644 index 000000000..04b98c64f --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_attribute_redundant.html @@ -0,0 +1,98 @@ + + + + aria_attribute_redundant - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_attribute_required.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_attribute_required.html new file mode 100644 index 000000000..a6368c79f --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_attribute_required.html @@ -0,0 +1,106 @@ + + + + aria_attribute_required - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_attribute_valid.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_attribute_valid.html new file mode 100644 index 000000000..f3aeae30c --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_attribute_valid.html @@ -0,0 +1,102 @@ + + + + aria_attribute_valid - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + + + +
+
+
+ + \ No newline at end of file diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_attribute_value_valid.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_attribute_value_valid.html new file mode 100644 index 000000000..15b357434 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_attribute_value_valid.html @@ -0,0 +1,94 @@ + + + + aria_attribute_value_valid - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + \ No newline at end of file diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_banner_label_unique.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_banner_label_unique.html new file mode 100644 index 000000000..ca98ec2f1 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_banner_label_unique.html @@ -0,0 +1,104 @@ + + + + aria_banner_label_unique - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_banner_single.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_banner_single.html new file mode 100644 index 000000000..845247fa0 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_banner_single.html @@ -0,0 +1,98 @@ + + + + aria_banner_single - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_child_tabbable.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_child_tabbable.html new file mode 100644 index 000000000..4a030b145 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_child_tabbable.html @@ -0,0 +1,98 @@ + + + + aria_child_tabbable - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_child_valid.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_child_valid.html new file mode 100644 index 000000000..8114ac69d --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_child_valid.html @@ -0,0 +1,121 @@ + + + + aria_child_valid - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_complementary_label_unique.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_complementary_label_unique.html new file mode 100644 index 000000000..ca8800820 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_complementary_label_unique.html @@ -0,0 +1,103 @@ + + + + aria_complementary_label_unique - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_complementary_label_visible.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_complementary_label_visible.html new file mode 100644 index 000000000..34b03c6b5 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_complementary_label_visible.html @@ -0,0 +1,100 @@ + + + + aria_complementary_label_visible - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_complementary_labelled.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_complementary_labelled.html new file mode 100644 index 000000000..2dd634c90 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_complementary_labelled.html @@ -0,0 +1,100 @@ + + + + aria_complementary_labelled - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_content_in_landmark.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_content_in_landmark.html new file mode 100644 index 000000000..35c206de4 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_content_in_landmark.html @@ -0,0 +1,92 @@ + + + + aria_content_in_landmark - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_contentinfo_label_unique.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_contentinfo_label_unique.html new file mode 100644 index 000000000..2b5641797 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_contentinfo_label_unique.html @@ -0,0 +1,104 @@ + + + + aria_contentinfo_label_unique - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_contentinfo_misuse.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_contentinfo_misuse.html new file mode 100644 index 000000000..740efe106 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_contentinfo_misuse.html @@ -0,0 +1,105 @@ + + + + aria_contentinfo_misuse - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_contentinfo_single.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_contentinfo_single.html new file mode 100644 index 000000000..861de7861 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_contentinfo_single.html @@ -0,0 +1,100 @@ + + + + aria_contentinfo_single - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_descendant_valid.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_descendant_valid.html new file mode 100644 index 000000000..e2154211c --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_descendant_valid.html @@ -0,0 +1,101 @@ + + + + aria_descendant_valid - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_document_label_unique.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_document_label_unique.html new file mode 100644 index 000000000..9224ea9fc --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_document_label_unique.html @@ -0,0 +1,91 @@ + + + + aria_document_label_unique - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_eventhandler_role_valid.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_eventhandler_role_valid.html new file mode 100644 index 000000000..acdfcea1a --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_eventhandler_role_valid.html @@ -0,0 +1,92 @@ + + + + aria_eventhandler_role_valid - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_form_label_unique.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_form_label_unique.html new file mode 100644 index 000000000..ec58b65a1 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_form_label_unique.html @@ -0,0 +1,112 @@ + + + + aria_form_label_unique - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_graphic_labelled.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_graphic_labelled.html new file mode 100644 index 000000000..d3d9b2125 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_graphic_labelled.html @@ -0,0 +1,99 @@ + + + + aria_graphic_labelled - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_hidden_nontabbable.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_hidden_nontabbable.html new file mode 100644 index 000000000..d7c54e671 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_hidden_nontabbable.html @@ -0,0 +1,113 @@ + + + + aria_hidden_nontabbable - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_id_unique.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_id_unique.html new file mode 100644 index 000000000..b0bc3040c --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_id_unique.html @@ -0,0 +1,98 @@ + + + + aria_id_unique - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_img_labelled.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_img_labelled.html new file mode 100644 index 000000000..7dff4a079 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_img_labelled.html @@ -0,0 +1,100 @@ + + + + aria_img_labelled - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_keyboard_handler_exists.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_keyboard_handler_exists.html new file mode 100644 index 000000000..6c840d10e --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_keyboard_handler_exists.html @@ -0,0 +1,103 @@ + + + + aria_keyboard_handler_exists - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_landmark_name_unique.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_landmark_name_unique.html new file mode 100644 index 000000000..556c2d184 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_landmark_name_unique.html @@ -0,0 +1,110 @@ + + + + aria_landmark_name_unique - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_main_label_unique.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_main_label_unique.html new file mode 100644 index 000000000..f063a76c8 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_main_label_unique.html @@ -0,0 +1,111 @@ + + + + aria_main_label_unique - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_main_label_visible.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_main_label_visible.html new file mode 100644 index 000000000..bcdaf8ae9 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_main_label_visible.html @@ -0,0 +1,102 @@ + + + + aria_main_label_visible - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_navigation_label_unique.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_navigation_label_unique.html new file mode 100644 index 000000000..ff7c4baa9 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_navigation_label_unique.html @@ -0,0 +1,106 @@ + + + + aria_navigation_label_unique - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_parent_required.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_parent_required.html new file mode 100644 index 000000000..155570233 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_parent_required.html @@ -0,0 +1,98 @@ + + + + aria_parent_required - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_region_label_unique.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_region_label_unique.html new file mode 100644 index 000000000..55466d5ef --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_region_label_unique.html @@ -0,0 +1,102 @@ + + + + aria_region_label_unique - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_region_labelled.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_region_labelled.html new file mode 100644 index 000000000..2280d407a --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_region_labelled.html @@ -0,0 +1,102 @@ + + + + aria_region_labelled - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_role_allowed.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_role_allowed.html new file mode 100644 index 000000000..439e94700 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_role_allowed.html @@ -0,0 +1,105 @@ + + + + aria_role_allowed - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_role_redundant.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_role_redundant.html new file mode 100644 index 000000000..ab0dc4c50 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_role_redundant.html @@ -0,0 +1,107 @@ + + + + aria_role_redundant - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_role_valid.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_role_valid.html new file mode 100644 index 000000000..896311194 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_role_valid.html @@ -0,0 +1,90 @@ + + + + aria_role_valid - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_search_label_unique.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_search_label_unique.html new file mode 100644 index 000000000..cea329abb --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_search_label_unique.html @@ -0,0 +1,100 @@ + + + + aria_search_label_unique - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_toolbar_label_unique.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_toolbar_label_unique.html new file mode 100644 index 000000000..4b1b4db28 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_toolbar_label_unique.html @@ -0,0 +1,102 @@ + + + + aria_toolbar_label_unique - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_widget_labelled.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_widget_labelled.html new file mode 100644 index 000000000..52460feb5 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/aria_widget_labelled.html @@ -0,0 +1,102 @@ + + + + aria_widget_labelled - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/asciiart_alt_exists.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/asciiart_alt_exists.html new file mode 100644 index 000000000..06a60bfa8 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/asciiart_alt_exists.html @@ -0,0 +1,91 @@ + + + + asciiart_alt_exists - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/blink_css_review.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/blink_css_review.html new file mode 100644 index 000000000..801a20fca --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/blink_css_review.html @@ -0,0 +1,94 @@ + + + + blink_css_review - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/blink_elem_deprecated.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/blink_elem_deprecated.html new file mode 100644 index 000000000..5f4b14dd0 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/blink_elem_deprecated.html @@ -0,0 +1,94 @@ + + + + blink_elem_deprecated - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/blockquote_cite_exists.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/blockquote_cite_exists.html new file mode 100644 index 000000000..0899d3948 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/blockquote_cite_exists.html @@ -0,0 +1,91 @@ + + + + blockquote_cite_exists - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/canvas_content_described.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/canvas_content_described.html new file mode 100644 index 000000000..1f305d6e2 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/canvas_content_described.html @@ -0,0 +1,115 @@ + + + + canvas_content_described - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/caption_track_exists.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/caption_track_exists.html new file mode 100644 index 000000000..45bdbbe4d --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/caption_track_exists.html @@ -0,0 +1,100 @@ + + + + caption_track_exists - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/combobox_active_descendant.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/combobox_active_descendant.html new file mode 100644 index 000000000..d4d30b1bd --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/combobox_active_descendant.html @@ -0,0 +1,109 @@ + + + + combobox_active_descendant - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/combobox_autocomplete_valid.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/combobox_autocomplete_valid.html new file mode 100644 index 000000000..0eeed4998 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/combobox_autocomplete_valid.html @@ -0,0 +1,136 @@ + + + + combobox_autocomplete_valid - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/combobox_design_valid.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/combobox_design_valid.html new file mode 100644 index 000000000..b9d827b06 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/combobox_design_valid.html @@ -0,0 +1,93 @@ + + + + combobox_design_valid - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/combobox_focusable_elements.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/combobox_focusable_elements.html new file mode 100644 index 000000000..553320b99 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/combobox_focusable_elements.html @@ -0,0 +1,92 @@ + + + + combobox_focusable_elements - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/combobox_haspopup_valid.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/combobox_haspopup_valid.html new file mode 100644 index 000000000..5069d1662 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/combobox_haspopup_valid.html @@ -0,0 +1,107 @@ + + + + combobox_haspopup_valid - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/combobox_popup_reference.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/combobox_popup_reference.html new file mode 100644 index 000000000..d166b30a5 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/combobox_popup_reference.html @@ -0,0 +1,109 @@ + + + + combobox_popup_reference - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/dir_attribute_valid.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/dir_attribute_valid.html new file mode 100644 index 000000000..443618ffc --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/dir_attribute_valid.html @@ -0,0 +1,89 @@ + + + + dir_attribute_valid - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/download_keyboard_controllable.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/download_keyboard_controllable.html new file mode 100644 index 000000000..7a2517fa1 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/download_keyboard_controllable.html @@ -0,0 +1,92 @@ + + + + download_keyboard_controllable - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/draggable_alternative_exists.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/draggable_alternative_exists.html new file mode 100644 index 000000000..6a5fc677b --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/draggable_alternative_exists.html @@ -0,0 +1,105 @@ + + + + draggable_alternative_exists - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/element_accesskey_labelled.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/element_accesskey_labelled.html new file mode 100644 index 000000000..7cbc57d89 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/element_accesskey_labelled.html @@ -0,0 +1,97 @@ + + + + element_accesskey_labelled - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/element_accesskey_unique.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/element_accesskey_unique.html new file mode 100644 index 000000000..2818e7745 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/element_accesskey_unique.html @@ -0,0 +1,100 @@ + + + + element_accesskey_unique - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/element_attribute_deprecated.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/element_attribute_deprecated.html new file mode 100644 index 000000000..0136c1d56 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/element_attribute_deprecated.html @@ -0,0 +1,103 @@ + + + + element_attribute_deprecated - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/element_id_unique.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/element_id_unique.html new file mode 100644 index 000000000..17580119f --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/element_id_unique.html @@ -0,0 +1,102 @@ + + + + element_id_unique - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/element_lang_valid.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/element_lang_valid.html new file mode 100644 index 000000000..bca07c8d9 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/element_lang_valid.html @@ -0,0 +1,108 @@ + + + + element_lang_valid - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/element_mouseevent_keyboard.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/element_mouseevent_keyboard.html new file mode 100644 index 000000000..4b0fda7a8 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/element_mouseevent_keyboard.html @@ -0,0 +1,102 @@ + + + + element_mouseevent_keyboard - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/element_orientation_unlocked.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/element_orientation_unlocked.html new file mode 100644 index 000000000..d637b6c4c --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/element_orientation_unlocked.html @@ -0,0 +1,112 @@ + + + + element_orientation_unlocked - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/element_scrollable_tabbable.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/element_scrollable_tabbable.html new file mode 100644 index 000000000..cf1c4069c --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/element_scrollable_tabbable.html @@ -0,0 +1,115 @@ + + + + element_scrollable_tabbable - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/element_tabbable_role_valid.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/element_tabbable_role_valid.html new file mode 100644 index 000000000..c8f22088c --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/element_tabbable_role_valid.html @@ -0,0 +1,136 @@ + + + + element_tabbable_role_valid - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/element_tabbable_unobscured.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/element_tabbable_unobscured.html new file mode 100644 index 000000000..1980fcbef --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/element_tabbable_unobscured.html @@ -0,0 +1,103 @@ + + + + element_tabbable_unobscured - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/element_tabbable_visible.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/element_tabbable_visible.html new file mode 100644 index 000000000..e7a684f2f --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/element_tabbable_visible.html @@ -0,0 +1,124 @@ + + + + element_tabbable_visible - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/embed_alt_exists.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/embed_alt_exists.html new file mode 100644 index 000000000..f6e037df5 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/embed_alt_exists.html @@ -0,0 +1,95 @@ + + + + embed_alt_exists - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/embed_noembed_exists.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/embed_noembed_exists.html new file mode 100644 index 000000000..a0aca36d8 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/embed_noembed_exists.html @@ -0,0 +1,102 @@ + + + + embed_noembed_exists - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/emoticons_alt_exists.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/emoticons_alt_exists.html new file mode 100644 index 000000000..2d06c83b0 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/emoticons_alt_exists.html @@ -0,0 +1,91 @@ + + + + emoticons_alt_exists - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/error_message_exists.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/error_message_exists.html new file mode 100644 index 000000000..1e1f3d5a2 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/error_message_exists.html @@ -0,0 +1,105 @@ + + + + error_message_exists - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/fieldset_label_valid.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/fieldset_label_valid.html new file mode 100644 index 000000000..50b49155c --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/fieldset_label_valid.html @@ -0,0 +1,106 @@ + + + + fieldset_label_valid - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/fieldset_legend_valid.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/fieldset_legend_valid.html new file mode 100644 index 000000000..c68280bbb --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/fieldset_legend_valid.html @@ -0,0 +1,101 @@ + + + + fieldset_legend_valid - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/figure_label_exists.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/figure_label_exists.html new file mode 100644 index 000000000..35aceb565 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/figure_label_exists.html @@ -0,0 +1,104 @@ + + + + figure_label_exists - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/form_font_color.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/form_font_color.html new file mode 100644 index 000000000..2818da309 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/form_font_color.html @@ -0,0 +1,90 @@ + + + + form_font_color - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/form_interaction_review.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/form_interaction_review.html new file mode 100644 index 000000000..30abfe2d6 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/form_interaction_review.html @@ -0,0 +1,92 @@ + + + + form_interaction_review - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/form_label_unique.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/form_label_unique.html new file mode 100644 index 000000000..d1b74b905 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/form_label_unique.html @@ -0,0 +1,90 @@ + + + + form_label_unique - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/form_submit_button_exists.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/form_submit_button_exists.html new file mode 100644 index 000000000..509b44144 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/form_submit_button_exists.html @@ -0,0 +1,92 @@ + + + + form_submit_button_exists - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/form_submit_review.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/form_submit_review.html new file mode 100644 index 000000000..6129ae2af --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/form_submit_review.html @@ -0,0 +1,93 @@ + + + + form_submit_review - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/frame_src_valid.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/frame_src_valid.html new file mode 100644 index 000000000..bea8d0a99 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/frame_src_valid.html @@ -0,0 +1,95 @@ + + + + frame_src_valid - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/frame_title_exists.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/frame_title_exists.html new file mode 100644 index 000000000..5e0e81cbc --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/frame_title_exists.html @@ -0,0 +1,99 @@ + + + + frame_title_exists - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/heading_content_exists.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/heading_content_exists.html new file mode 100644 index 000000000..953e2d3d5 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/heading_content_exists.html @@ -0,0 +1,89 @@ + + + + heading_content_exists - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/heading_markup_misuse.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/heading_markup_misuse.html new file mode 100644 index 000000000..1fa519ba4 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/heading_markup_misuse.html @@ -0,0 +1,92 @@ + + + + heading_markup_misuse - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/html_lang_exists.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/html_lang_exists.html new file mode 100644 index 000000000..d66c20426 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/html_lang_exists.html @@ -0,0 +1,92 @@ + + + + html_lang_exists - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/html_lang_valid.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/html_lang_valid.html new file mode 100644 index 000000000..1d90f0a2a --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/html_lang_valid.html @@ -0,0 +1,111 @@ + + + + html_lang_valid - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/html_skipnav_exists.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/html_skipnav_exists.html new file mode 100644 index 000000000..97c0fbe6c --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/html_skipnav_exists.html @@ -0,0 +1,91 @@ + + + + html_skipnav_exists - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/iframe_interactive_tabbable.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/iframe_interactive_tabbable.html new file mode 100644 index 000000000..88576fd71 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/iframe_interactive_tabbable.html @@ -0,0 +1,105 @@ + + + + iframe_interactive_tabbable - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/imagebutton_alt_exists.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/imagebutton_alt_exists.html new file mode 100644 index 000000000..6f3354129 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/imagebutton_alt_exists.html @@ -0,0 +1,90 @@ + + + + imagebutton_alt_exists - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/imagemap_alt_exists.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/imagemap_alt_exists.html new file mode 100644 index 000000000..2327fe32b --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/imagemap_alt_exists.html @@ -0,0 +1,101 @@ + + + + imagemap_alt_exists - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/img_alt_background.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/img_alt_background.html new file mode 100644 index 000000000..501d5a5c6 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/img_alt_background.html @@ -0,0 +1,90 @@ + + + + img_alt_background - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/img_alt_decorative.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/img_alt_decorative.html new file mode 100644 index 000000000..3f47082d2 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/img_alt_decorative.html @@ -0,0 +1,93 @@ + + + + img_alt_decorative - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/img_alt_misuse.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/img_alt_misuse.html new file mode 100644 index 000000000..a15718c7d --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/img_alt_misuse.html @@ -0,0 +1,91 @@ + + + + img_alt_misuse - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/img_alt_null.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/img_alt_null.html new file mode 100644 index 000000000..6baf41d73 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/img_alt_null.html @@ -0,0 +1,94 @@ + + + + img_alt_null - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/img_alt_redundant.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/img_alt_redundant.html new file mode 100644 index 000000000..e4adefc89 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/img_alt_redundant.html @@ -0,0 +1,94 @@ + + + + img_alt_redundant - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/img_alt_valid.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/img_alt_valid.html new file mode 100644 index 000000000..81d8347a7 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/img_alt_valid.html @@ -0,0 +1,99 @@ + + + + img_alt_valid - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/img_ismap_misuse.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/img_ismap_misuse.html new file mode 100644 index 000000000..6ca9f2ca8 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/img_ismap_misuse.html @@ -0,0 +1,91 @@ + + + + img_ismap_misuse - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/img_longdesc_misuse.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/img_longdesc_misuse.html new file mode 100644 index 000000000..62d46371a --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/img_longdesc_misuse.html @@ -0,0 +1,98 @@ + + + + img_longdesc_misuse - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/input_autocomplete_valid.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/input_autocomplete_valid.html new file mode 100644 index 000000000..07419cfb9 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/input_autocomplete_valid.html @@ -0,0 +1,121 @@ + + + + input_autocomplete_valid - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/input_checkboxes_grouped.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/input_checkboxes_grouped.html new file mode 100644 index 000000000..f538de4eb --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/input_checkboxes_grouped.html @@ -0,0 +1,90 @@ + + + + input_checkboxes_grouped - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/input_fields_grouped.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/input_fields_grouped.html new file mode 100644 index 000000000..cdd42e7c8 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/input_fields_grouped.html @@ -0,0 +1,104 @@ + + + + input_fields_grouped - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/input_haspopup_conflict.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/input_haspopup_conflict.html new file mode 100644 index 000000000..c3f35b332 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/input_haspopup_conflict.html @@ -0,0 +1,120 @@ + + + + input_haspopup_conflict - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/input_label_after.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/input_label_after.html new file mode 100644 index 000000000..7aeaa1caf --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/input_label_after.html @@ -0,0 +1,98 @@ + + + + input_label_after - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/input_label_before.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/input_label_before.html new file mode 100644 index 000000000..f1e8b9ad7 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/input_label_before.html @@ -0,0 +1,99 @@ + + + + input_label_before - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/input_label_exists.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/input_label_exists.html new file mode 100644 index 000000000..42ee41906 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/input_label_exists.html @@ -0,0 +1,94 @@ + + + + input_label_exists - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/input_label_visible.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/input_label_visible.html new file mode 100644 index 000000000..db950076a --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/input_label_visible.html @@ -0,0 +1,127 @@ + + + + input_label_visible - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/input_onchange_review.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/input_onchange_review.html new file mode 100644 index 000000000..1766464b8 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/input_onchange_review.html @@ -0,0 +1,103 @@ + + + + input_onchange_review - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/input_placeholder_label_visible.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/input_placeholder_label_visible.html new file mode 100644 index 000000000..a7d082dfc --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/input_placeholder_label_visible.html @@ -0,0 +1,107 @@ + + + + input_placeholder_label_visible - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/label_content_exists.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/label_content_exists.html new file mode 100644 index 000000000..83638a423 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/label_content_exists.html @@ -0,0 +1,90 @@ + + + + label_content_exists - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/label_name_visible.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/label_name_visible.html new file mode 100644 index 000000000..687551cb0 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/label_name_visible.html @@ -0,0 +1,97 @@ + + + + label_name_visible - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/label_ref_valid.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/label_ref_valid.html new file mode 100644 index 000000000..185c0828c --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/label_ref_valid.html @@ -0,0 +1,97 @@ + + + + label_ref_valid - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/list_children_valid.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/list_children_valid.html new file mode 100644 index 000000000..2b7416267 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/list_children_valid.html @@ -0,0 +1,111 @@ + + + + list_children_valid - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/list_markup_review.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/list_markup_review.html new file mode 100644 index 000000000..0bdc45328 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/list_markup_review.html @@ -0,0 +1,91 @@ + + + + list_markup_review - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/list_structure_proper.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/list_structure_proper.html new file mode 100644 index 000000000..51825a449 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/list_structure_proper.html @@ -0,0 +1,89 @@ + + + + list_structure_proper - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/marquee_elem_avoid.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/marquee_elem_avoid.html new file mode 100644 index 000000000..081a6ccc8 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/marquee_elem_avoid.html @@ -0,0 +1,94 @@ + + + + marquee_elem_avoid - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/media_alt_brief.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/media_alt_brief.html new file mode 100644 index 000000000..efd7ae0f5 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/media_alt_brief.html @@ -0,0 +1,111 @@ + + + + media_alt_brief - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/media_alt_exists.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/media_alt_exists.html new file mode 100644 index 000000000..71396386d --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/media_alt_exists.html @@ -0,0 +1,95 @@ + + + + media_alt_exists - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/media_audio_transcribed.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/media_audio_transcribed.html new file mode 100644 index 000000000..01605fb11 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/media_audio_transcribed.html @@ -0,0 +1,97 @@ + + + + media_audio_transcribed - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/media_autostart_controllable.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/media_autostart_controllable.html new file mode 100644 index 000000000..43c34071a --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/media_autostart_controllable.html @@ -0,0 +1,93 @@ + + + + media_autostart_controllable - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/media_keyboard_controllable.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/media_keyboard_controllable.html new file mode 100644 index 000000000..d5ec73e48 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/media_keyboard_controllable.html @@ -0,0 +1,111 @@ + + + + media_keyboard_controllable - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/media_live_captioned.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/media_live_captioned.html new file mode 100644 index 000000000..bdb7e5f15 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/media_live_captioned.html @@ -0,0 +1,91 @@ + + + + media_live_captioned - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/media_track_available.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/media_track_available.html new file mode 100644 index 000000000..291e71a41 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/media_track_available.html @@ -0,0 +1,96 @@ + + + + media_track_available - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/meta_redirect_optional.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/meta_redirect_optional.html new file mode 100644 index 000000000..1aae651c5 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/meta_redirect_optional.html @@ -0,0 +1,94 @@ + + + + meta_redirect_optional - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/meta_refresh_delay.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/meta_refresh_delay.html new file mode 100644 index 000000000..14c3db809 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/meta_refresh_delay.html @@ -0,0 +1,95 @@ + + + + meta_refresh_delay - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/meta_viewport_zoomable.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/meta_viewport_zoomable.html new file mode 100644 index 000000000..665826d05 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/meta_viewport_zoomable.html @@ -0,0 +1,98 @@ + + + + meta_viewport_zoomable - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/noembed_content_exists.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/noembed_content_exists.html new file mode 100644 index 000000000..c732e33d1 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/noembed_content_exists.html @@ -0,0 +1,100 @@ + + + + noembed_content_exists - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/object_text_exists.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/object_text_exists.html new file mode 100644 index 000000000..1e3b2571c --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/object_text_exists.html @@ -0,0 +1,101 @@ + + + + object_text_exists - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/page_title_exists.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/page_title_exists.html new file mode 100644 index 000000000..2e97f758f --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/page_title_exists.html @@ -0,0 +1,103 @@ + + + + page_title_exists - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/page_title_valid.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/page_title_valid.html new file mode 100644 index 000000000..e53fe87d5 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/page_title_valid.html @@ -0,0 +1,105 @@ + + + + page_title_valid - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/script_focus_blur_review.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/script_focus_blur_review.html new file mode 100644 index 000000000..88f135481 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/script_focus_blur_review.html @@ -0,0 +1,96 @@ + + + + script_focus_blur_review - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/script_onclick_avoid.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/script_onclick_avoid.html new file mode 100644 index 000000000..07132ad72 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/script_onclick_avoid.html @@ -0,0 +1,92 @@ + + + + script_onclick_avoid - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/script_onclick_misuse.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/script_onclick_misuse.html new file mode 100644 index 000000000..e211e9d26 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/script_onclick_misuse.html @@ -0,0 +1,92 @@ + + + + script_onclick_misuse - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/script_select_review.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/script_select_review.html new file mode 100644 index 000000000..f4ce0fdec --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/script_select_review.html @@ -0,0 +1,97 @@ + + + + script_select_review - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/select_options_grouped.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/select_options_grouped.html new file mode 100644 index 000000000..255896592 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/select_options_grouped.html @@ -0,0 +1,90 @@ + + + + select_options_grouped - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/skip_main_described.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/skip_main_described.html new file mode 100644 index 000000000..a3674a81b --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/skip_main_described.html @@ -0,0 +1,100 @@ + + + + skip_main_described - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/skip_main_exists.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/skip_main_exists.html new file mode 100644 index 000000000..aeff0fcd6 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/skip_main_exists.html @@ -0,0 +1,103 @@ + + + + skip_main_exists - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/style_background_decorative.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/style_background_decorative.html new file mode 100644 index 000000000..6cf43d2e7 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/style_background_decorative.html @@ -0,0 +1,93 @@ + + + + style_background_decorative - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/style_before_after_review.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/style_before_after_review.html new file mode 100644 index 000000000..e83a2b1c0 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/style_before_after_review.html @@ -0,0 +1,95 @@ + + + + style_before_after_review - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/style_color_misuse.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/style_color_misuse.html new file mode 100644 index 000000000..e7906bfb2 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/style_color_misuse.html @@ -0,0 +1,89 @@ + + + + style_color_misuse - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/style_focus_visible.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/style_focus_visible.html new file mode 100644 index 000000000..fdc7d90e0 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/style_focus_visible.html @@ -0,0 +1,97 @@ + + + + style_focus_visible - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/style_highcontrast_visible.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/style_highcontrast_visible.html new file mode 100644 index 000000000..75e0e8a02 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/style_highcontrast_visible.html @@ -0,0 +1,100 @@ + + + + style_highcontrast_visible - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/style_hover_persistent.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/style_hover_persistent.html new file mode 100644 index 000000000..242babd24 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/style_hover_persistent.html @@ -0,0 +1,118 @@ + + + + style_hover_persistent - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/style_viewport_resizable.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/style_viewport_resizable.html new file mode 100644 index 000000000..b8daa7d29 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/style_viewport_resizable.html @@ -0,0 +1,93 @@ + + + + style_viewport_resizable - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/svg_graphics_labelled.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/svg_graphics_labelled.html new file mode 100644 index 000000000..c5be3bc6f --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/svg_graphics_labelled.html @@ -0,0 +1,127 @@ + + + + svg_graphics_labelled - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/table_aria_descendants.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/table_aria_descendants.html new file mode 100644 index 000000000..4ec41910b --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/table_aria_descendants.html @@ -0,0 +1,110 @@ + + + + table_aria_descendants - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/table_caption_empty.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/table_caption_empty.html new file mode 100644 index 000000000..aa31cbc13 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/table_caption_empty.html @@ -0,0 +1,101 @@ + + + + table_caption_empty - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/table_caption_nested.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/table_caption_nested.html new file mode 100644 index 000000000..c52a43310 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/table_caption_nested.html @@ -0,0 +1,98 @@ + + + + table_caption_nested - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/table_headers_exists.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/table_headers_exists.html new file mode 100644 index 000000000..fe05efe22 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/table_headers_exists.html @@ -0,0 +1,93 @@ + + + + table_headers_exists - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/table_headers_ref_valid.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/table_headers_ref_valid.html new file mode 100644 index 000000000..15d66ea3d --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/table_headers_ref_valid.html @@ -0,0 +1,91 @@ + + + + table_headers_ref_valid - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/table_headers_related.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/table_headers_related.html new file mode 100644 index 000000000..addc41858 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/table_headers_related.html @@ -0,0 +1,91 @@ + + + + table_headers_related - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/table_layout_linearized.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/table_layout_linearized.html new file mode 100644 index 000000000..2e9a26134 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/table_layout_linearized.html @@ -0,0 +1,92 @@ + + + + table_layout_linearized - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/table_scope_valid.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/table_scope_valid.html new file mode 100644 index 000000000..0632f7a4a --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/table_scope_valid.html @@ -0,0 +1,93 @@ + + + + table_scope_valid - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/table_structure_misuse.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/table_structure_misuse.html new file mode 100644 index 000000000..2fe51c995 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/table_structure_misuse.html @@ -0,0 +1,91 @@ + + + + table_structure_misuse - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/table_summary_redundant.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/table_summary_redundant.html new file mode 100644 index 000000000..130448ab8 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/table_summary_redundant.html @@ -0,0 +1,101 @@ + + + + table_summary_redundant - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/target_spacing_sufficient.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/target_spacing_sufficient.html new file mode 100644 index 000000000..a18167c6a --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/target_spacing_sufficient.html @@ -0,0 +1,108 @@ + + + + target_spacing_sufficient - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/text_block_heading.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/text_block_heading.html new file mode 100644 index 000000000..1621a401d --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/text_block_heading.html @@ -0,0 +1,92 @@ + + + + text_block_heading - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/text_contrast_sufficient.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/text_contrast_sufficient.html new file mode 100644 index 000000000..6a1f68348 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/text_contrast_sufficient.html @@ -0,0 +1,92 @@ + + + + text_contrast_sufficient - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/text_quoted_correctly.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/text_quoted_correctly.html new file mode 100644 index 000000000..8daea810e --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/text_quoted_correctly.html @@ -0,0 +1,106 @@ + + + + text_quoted_correctly - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/text_sensory_misuse.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/text_sensory_misuse.html new file mode 100644 index 000000000..6caf0e252 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/text_sensory_misuse.html @@ -0,0 +1,96 @@ + + + + text_sensory_misuse - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/text_spacing_valid.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/text_spacing_valid.html new file mode 100644 index 000000000..5b7b8fc45 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/text_spacing_valid.html @@ -0,0 +1,103 @@ + + + + text_spacing_valid - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/text_whitespace_valid.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/text_whitespace_valid.html new file mode 100644 index 000000000..befb5cc2c --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/text_whitespace_valid.html @@ -0,0 +1,93 @@ + + + + text_whitespace_valid - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/widget_tabbable_exists.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/widget_tabbable_exists.html new file mode 100644 index 000000000..442e7f0ce --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/widget_tabbable_exists.html @@ -0,0 +1,98 @@ + + + + widget_tabbable_exists - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/en-US/widget_tabbable_single.html b/rule-server/src/static/archives/2024.12.12/doc/en-US/widget_tabbable_single.html new file mode 100644 index 000000000..002ba6652 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/en-US/widget_tabbable_single.html @@ -0,0 +1,96 @@ + + + + widget_tabbable_single - Accessibility Checker Help + + + + + + + + + + + + +
+
+
+ +

+ +
+ +

+
+
+
+
+ + + + +
+
+
+ + + +
+
+
+ + diff --git a/rule-server/src/static/archives/2024.12.12/doc/rules.csv b/rule-server/src/static/archives/2024.12.12/doc/rules.csv new file mode 100644 index 000000000..d4998642b --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/rules.csv @@ -0,0 +1,444 @@ +Rule ID, Reason Code, Rule message, Reason message, Violation Level, Toolkit Level, WCAG Requirements, ACT mapping +"applet_alt_exists","Pass_0"," elements must provide an 'alt' attribute and an alternative description","Rule Passed","Pass","1","1.1.1","" +"applet_alt_exists","Fail_1"," elements must provide an 'alt' attribute and an alternative description","An element does not have an 'alt' attribute that provides a short text alternative","Violation","1","1.1.1","" +"applet_alt_exists","Fail_2"," elements must provide an 'alt' attribute and an alternative description","The 'alt' attribute value for an element duplicates the 'code' attribute","Violation","1","1.1.1","" +"applet_alt_exists","Fail_3"," elements must provide an 'alt' attribute and an alternative description","An element provides alternative text, but does not provide inner content","Violation","1","1.1.1","" +"img_alt_redundant","Pass_0","The text alternative for an image within a link should not repeat the link text or adjacent link text","Rule Passed","Pass","2","1.1.1,2.4.4","" +"img_alt_redundant","Fail_1","The text alternative for an image within a link should not repeat the link text or adjacent link text","Link text is repeated in an image 'alt' value within the same link","Violation","2","1.1.1,2.4.4","" +"img_alt_redundant","Fail_2","The text alternative for an image within a link should not repeat the link text or adjacent link text","Link text of previous link is repeated in image 'alt' value of a link","Violation","2","1.1.1,2.4.4","" +"img_alt_redundant","Fail_3","The text alternative for an image within a link should not repeat the link text or adjacent link text","Image 'alt' value within a link is repeated in link text of the link after","Violation","2","1.1.1,2.4.4","" +"img_alt_valid","pass","Images must have accessible names unless they are decorative or redundant","The image has an accessible name or is correctly marked as decorative or redundant","Pass","1","1.1.1","23a2a8:pass" +"img_alt_valid","fail_blank_alt","Images must have accessible names unless they are decorative or redundant","Image 'alt' attribute value consists only of blank space(s)","Violation","1","1.1.1","23a2a8:fail" +"img_alt_valid","fail_no_alt","Images must have accessible names unless they are decorative or redundant","The image has neither an accessible name nor is marked as decorative or redundant","Violation","1","1.1.1","23a2a8:fail" +"img_alt_valid","fail_blank_title","Images must have accessible names unless they are decorative or redundant","The image does not have an 'alt' attribute or ARIA label, and the 'title' attribute value consists only of blank space(s)","Violation","1","1.1.1","23a2a8:fail" +"imagebutton_alt_exists","Pass_0","The element of type ""image"" should have a text alternative","Image button provides alternative text using the 'alt' attribute","Pass","1","1.1.1","59796f:pass" +"imagebutton_alt_exists","Pass_1","The element of type ""image"" should have a text alternative","Image button provides alternative text using an ARIA label","Pass","1","1.1.1","59796f:pass" +"imagebutton_alt_exists","Pass_2","The element of type ""image"" should have a text alternative","Image button provides alternative text using the 'title' attribute","Pass","1","1.1.1","59796f:pass" +"imagebutton_alt_exists","Fail","The element of type ""image"" should have a text alternative","The element of type ""image"" has no text alternative","Violation","1","1.1.1","59796f:fail" +"area_alt_exists","Pass_0"," elements in an image map must have a text alternative","Rule Passed","Pass","1","1.1.1","" +"area_alt_exists","Fail_1"," elements in an image map must have a text alternative"," element in an image map has no text alternative","Violation","1","1.1.1","" +"imagemap_alt_exists","Pass_0","An image map and each element in an image map must have text alternative(s)","Rule Passed","Pass","1","1.1.1","" +"imagemap_alt_exists","Fail_1","An image map and each element in an image map must have text alternative(s)","Image map or child has no text alternative","Violation","1","1.1.1","" +"img_alt_decorative","Pass_0","Image designated as decorative must have 'alt=""""","Rule Passed","Pass","1","1.1.1","" +"img_alt_decorative","Fail_1","Image designated as decorative must have 'alt=""""","Image designated as decorative has non-null 'alt' attribute","Violation","1","1.1.1","" +"object_text_exists","pass"," element must have a text alternative for the content rendered by the object"," element has a text alternative","Pass","1","1.1.1","8fc3b6:pass" +"object_text_exists","fail_no_text_alternative"," element must have a text alternative for the content rendered by the object","An element does not have a text alternative","Violation","1","1.1.1","8fc3b6:fail" +"svg_graphics_labelled","pass","A non-decorative SVG element must have an accessible name","The SVG element has an accessible name","Pass","1","1.1.1","7d6734:pass" +"svg_graphics_labelled","fail_acc_name","A non-decorative SVG element must have an accessible name","The SVG element has no accessible name","Violation","1","1.1.1","7d6734:fail" +"img_alt_null","fail_decorative","When the intent is to mark an image as decorative with an empty 'alt' attribute, the 'aria' or 'title' attributes should not be used","The image 'alt' attribute is empty, but the 'title' attribute is not empty","Violation | Violation","1 | 1","1.1.1 | ARIA","" +"application_content_accessible","Pass_0","Non-decorative static text and image content within an element with ""application"" role must be accessible","Rule Passed","Pass","1","1.1.1,2.1.1","" +"application_content_accessible","Potential_1","Non-decorative static text and image content within an element with ""application"" role must be accessible","Verify that the non-decorative static text and image content within an element with ""application"" role are accessible","Violation Potential","1","1.1.1,2.1.1","" +"img_alt_misuse","Pass_0","'alt' attribute value must be a good inline replacement for the image","Rule Passed","Pass","1","1.1.1","" +"img_alt_misuse","Potential_1","'alt' attribute value must be a good inline replacement for the image","Verify that the file name serves as a good inline replacement for the image","Violation Potential","1","1.1.1","" +"img_ismap_misuse","Pass_0","Server-side image map hot-spots must have duplicate text links","Rule Passed","Pass","2","1.1.1","" +"img_ismap_misuse","Potential_1","Server-side image map hot-spots must have duplicate text links","Server-side image map hot-spots do not have duplicate text links","Violation Potential","2","1.1.1","" +"img_longdesc_misuse","Pass_0"," The 'longdesc' attribute must reference HTML content","Rule Passed","Pass","1","1.1.1","" +"img_longdesc_misuse","Potential_1"," The 'longdesc' attribute must reference HTML content","Verify that the file designated by the 'longdesc' attribute contains valid HTML content (file extension not recognized)","Violation Potential","1","1.1.1","" +"media_alt_exists","Pass_0","Audio or video on the page must have a short text alternative that describes the media content","Rule Passed","Pass","2","1.1.1","" +"media_alt_exists","Potential_1","Audio or video on the page must have a short text alternative that describes the media content","Filename used as label for embedded audio or video","Violation Potential","2","1.1.1","" +"style_background_decorative","Pass_0","Images included by using CSS alone must not convey important information","Rule Passed","Pass","1","1.1.1","" +"style_background_decorative","Potential_1","Images included by using CSS alone must not convey important information","Verify the CSS background image does not convey important information","Violation Potential","1","1.1.1","" +"style_highcontrast_visible","Pass_0","Windows high contrast mode must be supported when using CSS to include, position or alter non-decorative content","Rule Passed","Pass | Pass","1 | 1","1.1.1,1.3.2,1.4.11 | 1.1.1,1.3.2,1.4.11","" +"style_highcontrast_visible","Manual_1","Windows high contrast mode must be supported when using CSS to include, position or alter non-decorative content","Confirm Windows high contrast mode is supported when using CSS to include, position or alter non-decorative content","Violation Manual | Rec Manual","1 | 1","1.1.1,1.3.2,1.4.11 | 1.1.1,1.3.2,1.4.11","" +"figure_label_exists","Pass_0","A
element must have an associated label","Rule Passed","Pass","3","1.1.1","" +"figure_label_exists","Fail_1","A
element must have an associated label","The
element does not have an associated label","Rec","3","1.1.1","" +"embed_alt_exists","Pass_0","Provide alternative content for elements","Rule Passed","Pass","4","1.1.1","" +"embed_alt_exists","Potential_1","Provide alternative content for elements","Verify that the element has alternative content","Rec Potential","4","1.1.1","" +"embed_noembed_exists","Pass_0"," elements should be immediately followed by a non-embedded element","Rule Passed","Pass","4","1.1.1","" +"embed_noembed_exists","Potential_1"," elements should be immediately followed by a non-embedded element","Verify that the element is immediately followed by a non-embedded element","Rec Potential","4","1.1.1","" +"media_alt_brief","Pass_0","Alternative text in 'alt' attribute should be brief (<150 characters)","Rule Passed","Pass","2","1.1.1","" +"media_alt_brief","Potential_1","Alternative text in 'alt' attribute should be brief (<150 characters)","Text alternative is more than 150 characters","Rec Potential","2","1.1.1","" +"noembed_content_exists","Pass_0"," elements should contain descriptive text","Rule Passed","Pass","4","1.1.1","" +"noembed_content_exists","Potential_1","<noembed> elements should contain descriptive text","Add descriptive text to the <noembed> element","Rec Potential","4","1.1.1","" +"canvas_content_described","Pass_0","The <canvas> element may not be accessible","Rule Passed","Pass","3","1.1.1,2.1.1,4.1.2","" +"canvas_content_described","Manual_1","The <canvas> element may not be accessible","Verify accessibility of the <canvas> element","Rec Manual","3","1.1.1,2.1.1,4.1.2","" +"img_alt_background","Pass_0","Background images that convey important information must have a text alternative that describes the image","Rule Passed","Pass","2","1.1.1","" +"img_alt_background","Manual_1","Background images that convey important information must have a text alternative that describes the image","Verify important background image information has a text alternative in system high contrast mode","Rec Manual","2","1.1.1","" +"media_audio_transcribed","Manual_1","Audio information should also be available in text form","Provide transcripts for audio files","Rec Manual","3","1.2.1","" +"caption_track_exists","Pass_0","A <video> element must have a text alternative for any meaningful audio content","Rule Passed","Pass","1","1.2.2","" +"caption_track_exists","Potential_1","A <video> element must have a text alternative for any meaningful audio content","Verify that captions are available for any meaningful audio or provide a caption track for the <video> element","Violation Potential","1","1.2.2","" +"media_track_available","Manual_1","Pre-recorded media should have an audio track that describes visual information","Verify availability of a user-selectable audio track with description of visual content","Rec Manual","3","1.2.3,1.2.5","" +"media_live_captioned","Manual_1","Live media (streaming video with audio) should have captions for audio content","Verify captions are provided for live media (streaming video with audio)","Rec Manual","1","1.2.4","" +"media_track_available","Manual_1","Pre-recorded media should have an audio track that describes visual information","Verify availability of a user-selectable audio track with description of visual content","Rec Manual","3","1.2.3,1.2.5","" +"input_checkboxes_grouped","pass_lonenogroup","Related sets of radio buttons or checkboxes should be programmatically grouped","{0} grouping not required for a control of this type","Pass","2","1.3.1","" +"input_checkboxes_grouped","pass_grouped","Related sets of radio buttons or checkboxes should be programmatically grouped","{0} input is grouped with other related controls with the same name","Pass","2","1.3.1","" +"input_checkboxes_grouped","pass_radiononame","Related sets of radio buttons or checkboxes should be programmatically grouped","Radio input is not grouped, but passes because it has no name to group with other radio inputs","Pass","2","1.3.1","" +"input_checkboxes_grouped","fail_controlnamemismatch","Related sets of radio buttons or checkboxes should be programmatically grouped","{0} input found that has the same name, ""{2}"" as a {1} input","Violation","2","1.3.1","" +"input_checkboxes_grouped","fail_notgroupedothergrouped","Related sets of radio buttons or checkboxes should be programmatically grouped","{0} input is not in the group with another {0} with the name ""{1}""","Violation","2","1.3.1","" +"input_checkboxes_grouped","fail_notgroupedothernotgrouped","Related sets of radio buttons or checkboxes should be programmatically grouped","{0} input and others with the name ""{1}"" are not grouped together","Violation","2","1.3.1","" +"input_checkboxes_grouped","fail_notsamegroup","Related sets of radio buttons or checkboxes should be programmatically grouped","{0} input is in a different group than another {0} with the name ""{1}""","Violation","2","1.3.1","" +"input_checkboxes_grouped","potential_lonecheckbox","Related sets of radio buttons or checkboxes should be programmatically grouped","Verify that this ungrouped checkbox input is not related to other checkboxes","Violation Potential","2","1.3.1","" +"input_checkboxes_grouped","potential_unnamedcheckbox","Related sets of radio buttons or checkboxes should be programmatically grouped","Verify that this un-named, ungrouped checkbox input is not related to other checkboxes","Violation Potential","2","1.3.1","" +"table_headers_ref_valid","Pass_0","The 'headers' attribute should refer to a valid cell in the same table","Rule Passed","Pass","2","1.3.1","a25f45:pass" +"table_headers_ref_valid","Fail_1","The 'headers' attribute should refer to a valid cell in the same table","The 'headers' attribute value ""{0}"" does not reference a valid 'id' in this document","Violation","2","1.3.1","a25f45:fail" +"table_headers_ref_valid","Fail_2","The 'headers' attribute should refer to a valid cell in the same table","The 'headers' attribute value ""{0}"" refers to itself","Violation","2","1.3.1","a25f45:fail" +"table_headers_ref_valid","Fail_3","The 'headers' attribute should refer to a valid cell in the same table","The 'headers' attribute value ""{0}"" does not refer to a cell in the same table","Violation","2","1.3.1","a25f45:fail" +"table_headers_ref_valid","Fail_4","The 'headers' attribute should refer to a valid cell in the same table","The 'headers' attribute value ""{0}"" does not refer to a cell indicated with <th> or a role of ""columnheader"" or ""rowheader""","Violation","2","1.3.1","a25f45:fail" +"fieldset_label_valid","Pass_1","Groups with nested inputs must have unique accessible name","Group/Fieldset ""{0}"" with an input has a unique name","Pass","3","1.3.1,3.3.2","" +"fieldset_label_valid","Fail_1","Groups with nested inputs must have unique accessible name","Group/Fieldset does not have an accessible name","Violation","3","1.3.1,3.3.2","" +"fieldset_label_valid","Fail_2","Groups with nested inputs must have unique accessible name","Group/Fieldset ""{0}"" has a duplicate name to another group","Violation","3","1.3.1,3.3.2","" +"table_scope_valid","Pass_0","Value for 'scope' attribute must be ""row"", ""col"", ""rowgroup"", or ""colgroup""","Rule Passed","Pass","2","1.3.1","" +"table_scope_valid","Fail_1","Value for 'scope' attribute must be ""row"", ""col"", ""rowgroup"", or ""colgroup""","Value provided is invalid for the 'scope' attribute","Violation","2","1.3.1","" +"table_scope_valid","Fail_2","Value for 'scope' attribute must be ""row"", ""col"", ""rowgroup"", or ""colgroup""","The 'scope' attribute should only be used on a <th> element","Violation","2","1.3.1","" +"aria_hidden_nontabbable","Pass_0","A hidden element should not contain any tabbable elements","Rule Passed","Pass","2","1.3.1,4.1.2","6cfa84:pass" +"aria_hidden_nontabbable","Fail_1","A hidden element should not contain any tabbable elements","Element ""{0}"" should not be focusable within the subtree of an element with an 'aria-hidden' attribute with value 'true'","Violation","2","1.3.1,4.1.2","6cfa84:fail" +"aria_parent_required","Pass_0","Each element with an implicit or explicit role must be contained within a valid element","Rule Passed","Pass","1","1.3.1","ff89c9:pass" +"aria_parent_required","Fail_1","Each element with an implicit or explicit role must be contained within a valid element","Element with ""{0}"" role is not contained in or owned by an element with one of the following roles: ""{1}""","Violation","1","1.3.1","ff89c9:fail" +"form_label_unique","Pass_0","Form controls should have exactly one label","Rule Passed","Pass","1","1.3.1","" +"form_label_unique","Fail_1","Form controls should have exactly one label","Form control has more than one label","Violation","1","1.3.1","" +"label_ref_valid","pass","The 'for' attribute for a label should reference a non-empty, unique 'id' attribute of a valid element","The 'for' attribute for a label referencea a unique non-empty 'id' attribute of a valid element","Pass","1","1.3.1","" +"label_ref_valid","fail_invalid","The 'for' attribute for a label should reference a non-empty, unique 'id' attribute of a valid element","The value ""{0}"" of the 'for' attribute is not the 'id' of a valid element","Violation","1","1.3.1","" +"table_caption_empty","Pass_0","A <caption> element for a <table> element must contain descriptive text","Rule Passed","Pass","1","1.3.1","" +"table_caption_empty","Fail_1","A <caption> element for a <table> element must contain descriptive text","The <table> element has an empty <caption> element","Violation","1","1.3.1","" +"table_caption_nested","Pass_0","The <caption> element must be nested inside the associated <table> element","Rule Passed","Pass","3","1.3.1","" +"table_caption_nested","Fail_1","The <caption> element must be nested inside the associated <table> element","<caption> element is not nested inside a <table> element","Violation","3","1.3.1","" +"table_headers_exists","Pass_0","Data table must identify headers","Rule Passed","Pass","1","1.3.1","" +"table_headers_exists","Fail_1","Data table must identify headers","Table has no headers identified","Violation","1","1.3.1","" +"table_headers_related","Pass_0","For a complex data table, all <th> and <td> elements must be related via 'header' or 'scope' attributes","Rule Passed","Pass","2","1.3.1","" +"table_headers_related","Fail_1","For a complex data table, all <th> and <td> elements must be related via 'header' or 'scope' attributes","Complex table does not have headers for each cell properly defined with 'header' or 'scope'","Violation","2","1.3.1","" +"table_structure_misuse","Pass_0","Table elements with 'role=""presentation"" or 'role=""none"" should not have structural elements or attributes","Rule Passed","Pass","2","1.3.1","" +"table_structure_misuse","Fail_1","Table elements with 'role=""presentation"" or 'role=""none"" should not have structural elements or attributes","The <{0}> element with ""presentation"" role or ""none"" role has structural element(s) and/or attribute(s) '{1}'","Violation","2","1.3.1","" +"table_summary_redundant","Pass_0","The table summary must not duplicate the caption","Rule Passed","Pass","3","1.3.1","" +"table_summary_redundant","Fail_1","The table summary must not duplicate the caption","The table summary duplicates the caption","Violation","3","1.3.1","" +"blockquote_cite_exists","Pass_0","Use <blockquote> only for quotations, not indentation","Rule Passed","Pass","3","1.3.1","" +"blockquote_cite_exists","Potential_1","Use <blockquote> only for quotations, not indentation","Verify that <blockquote> should have a 'cite' attribute and not be used for indentation only","Violation Potential","3","1.3.1","" +"heading_markup_misuse","Pass_0","Heading elements must not be used for presentation","Rule Passed","Pass","2","1.3.1","" +"heading_markup_misuse","Potential_1","Heading elements must not be used for presentation","Verify that the heading element is a genuine heading","Violation Potential","2","1.3.1","" +"text_quoted_correctly","Pass_0","Quotations should be marked with <q> or <blockquote> elements","Rule Passed","Pass","3","1.3.1","" +"text_quoted_correctly","Potential_1","Quotations should be marked with <q> or <blockquote> elements","If the following text is a quotation, mark it as a <q> or <blockquote> element: {0}","Violation Potential","3","1.3.1","" +"list_markup_review","potential_list","Proper HTML elements should be used to create a list","Verify this is a list and if so, modify to use proper HTML elements for the list","Violation Potential","3","1.3.1","" +"text_block_heading","potential_heading","Heading text should use a heading element or role","Confirm this text '{0}' is used as a heading and if so, modify to use a heading element or role","Violation Potential","1","1.3.1","" +"fieldset_legend_valid","Pass_0"," <fieldset> elements should have a single, non-empty <legend> as a label","Rule Passed","Pass","1","1.3.1","" +"fieldset_legend_valid","Fail_1"," <fieldset> elements should have a single, non-empty <legend> as a label","<fieldset> element does not have a <legend>","Rec","1","1.3.1","" +"fieldset_legend_valid","Fail_2"," <fieldset> elements should have a single, non-empty <legend> as a label","<fieldset> element has more than one <legend>","Rec","1","1.3.1","" +"fieldset_legend_valid","Fail_3"," <fieldset> elements should have a single, non-empty <legend> as a label","<fieldset> element <legend> is empty","Rec","1","1.3.1","" +"aria_child_valid","Pass","An element with an ARIA role must own a required child","An element with an ARIA role owns a required child","Pass","1","1.3.1","bc4a75:pass" +"aria_child_valid","Fail_no_child","An element with an ARIA role must own a required child","The element with role ""{0}"" does not own any child element with any of the following role(s): ""{1}""","Rec","1","1.3.1","bc4a75:fail" +"aria_child_valid","Fail_invalid_child","An element with an ARIA role must own a required child","The element with role ""{0}"" owns the child element with the role ""{1}"" that is not one of the allowed role(s): ""{2}""","Rec","1","1.3.1","bc4a75:fail" +"input_fields_grouped","Pass_0","Groups of logically related input elements should be contained within a <fieldset> element","Rule Passed","Pass","2","1.3.1","" +"input_fields_grouped","Potential_1","Groups of logically related input elements should be contained within a <fieldset> element","Use the <fieldset> element to group logically related input elements","Rec Potential","2","1.3.1","" +"list_structure_proper","Pass_0","List elements should only be used for lists of related items","Rule Passed","Pass","3","1.3.1","" +"list_structure_proper","Potential_1","List elements should only be used for lists of related items","List element is missing or improperly structured","Rec Potential","3","1.3.1","" +"select_options_grouped","Pass_0","Groups of related options within a selection list should be grouped with <optgroup>","Rule Passed","Pass","3","1.3.1","" +"select_options_grouped","Potential_1","Groups of related options within a selection list should be grouped with <optgroup>","Group of related options may need <optgroup>","Rec Potential","3","1.3.1","" +"table_layout_linearized","Pass_0","Avoid using tables to format text documents in columns unless the table can be linearized","Rule Passed","Pass","4","1.3.1","" +"table_layout_linearized","Potential_1","Avoid using tables to format text documents in columns unless the table can be linearized","Verify table is not being used to format text content in columns unless the table can be linearized","Rec Potential","4","1.3.1","" +"dir_attribute_valid","Pass_0","'dir' attribute value must be ""ltr"", ""rtl"", or ""auto""","Rule Passed","Pass","3","1.3.2","" +"dir_attribute_valid","Fail_1","'dir' attribute value must be ""ltr"", ""rtl"", or ""auto""","Invalid value used for the 'dir' attribute","Violation","3","1.3.2","" +"text_whitespace_valid","pass","Space characters should not be used to control spacing within a word","Rule Passed","Pass","3","1.3.2","" +"text_whitespace_valid","potential_text","Space characters should not be used to control spacing within a word","Space characters should not be used to create space between the letters of a word","Violation Potential","3","1.3.2","" +"style_highcontrast_visible","Pass_0","Windows high contrast mode must be supported when using CSS to include, position or alter non-decorative content","Rule Passed","Pass | Pass","1 | 1","1.1.1,1.3.2,1.4.11 | 1.1.1,1.3.2,1.4.11","" +"style_highcontrast_visible","Manual_1","Windows high contrast mode must be supported when using CSS to include, position or alter non-decorative content","Confirm Windows high contrast mode is supported when using CSS to include, position or alter non-decorative content","Violation Manual | Rec Manual","1 | 1","1.1.1,1.3.2,1.4.11 | 1.1.1,1.3.2,1.4.11","" +"text_sensory_misuse","potential_position","Instructions should be meaningful without relying solely on shape, size, or location words","Confirm the word(s) '{0}' of the user instruction is used to indicate a logical rather than visual position","Violation Potential","2","1.3.3","" +"text_sensory_misuse","potential_other","Instructions should be meaningful without relying solely on shape, size, or location words","Confirm the user instruction is still understandable without the word(s) '{0}'","Violation Potential","2","1.3.3","" +"element_orientation_unlocked","pass","Elements should not be restricted to either landscape or portrait orientation using CSS transform property","The element is not restricted to either landscape or portrait orientation using CSS transform property","Pass","2","1.3.4","b33eff:pass" +"element_orientation_unlocked","fail_locked","Elements should not be restricted to either landscape or portrait orientation using CSS transform property","The element <{0}> is restricted to either landscape or portrait orientation using CSS transform property","Violation","2","1.3.4","b33eff:fail" +"input_autocomplete_valid","pass","The 'autocomplete' attribute's token(s) must be appropriate for the input form field","The 'autocomplete' attribute's token(s) is appropriate for the input form field","Pass","3","1.3.5","73f2c2:pass" +"input_autocomplete_valid","fail_inappropriate","The 'autocomplete' attribute's token(s) must be appropriate for the input form field","The 'autocomplete' attribute's token(s) are not appropriate for the input form field","Violation","3","1.3.5","73f2c2:fail" +"input_autocomplete_valid","fail_invalid","The 'autocomplete' attribute's token(s) must be appropriate for the input form field","The 'autocomplete' attribute's token(s) are not appropriate for an input form field of any type","Violation","3","1.3.5","73f2c2:pass" +"input_autocomplete_valid","fail_incorrect","The 'autocomplete' attribute's token(s) must be appropriate for the input form field","The 'autocomplete' attribute has an incorrect value","Violation","3","1.3.5","73f2c2:fail" +"form_font_color","Pass_0","Combine color and descriptive markup to indicate required form fields","Rule Passed","Pass","2","1.4.1","" +"form_font_color","Potential_1","Combine color and descriptive markup to indicate required form fields","Check color is not used as the only visual means to convey which fields are required","Violation Potential","2","1.4.1","" +"style_color_misuse","Pass_0","Combine color and descriptive markup to convey information","Rule Passed","Pass","2","1.4.1","" +"style_color_misuse","Potential_1","Combine color and descriptive markup to convey information","Verify color is not used as the only visual means of conveying information","Violation Potential","2","1.4.1","" +"media_autostart_controllable","Pass_0","Mechanism must be available to pause or stop and control the volume of the audio that plays automatically","Rule Passed","Pass","2","1.4.2","" +"media_autostart_controllable","Potential_1","Mechanism must be available to pause or stop and control the volume of the audio that plays automatically","Verify there is a mechanism to pause or stop and control the volume for the audio that plays automatically","Violation Potential","2","1.4.2","" +"text_contrast_sufficient","pass","The contrast ratio of text with its background must meet WCAG AA requirements","The contrast ratio of text with its background meets WCAG AA requirements","Pass","1","1.4.3","afw4f7:pass" +"text_contrast_sufficient","fail_contrast","The contrast ratio of text with its background must meet WCAG AA requirements","Text contrast of {0} with its background is less than the WCAG AA minimum requirements for text of size {1}px and weight of {2}","Violation","1","1.4.3","afw4f7:fail" +"text_contrast_sufficient","potential_same_color","The contrast ratio of text with its background must meet WCAG AA requirements","The foreground text and its background color are both detected as {3}. Verify the text meets the WCAG AA requirements for minimum contrast","Violation Potential","1","1.4.3","afw4f7:cantTell" +"text_contrast_sufficient","potential_graphic_background","The contrast ratio of text with its background must meet WCAG AA requirements","Verify the contrast ratio of the text against the lightest and the darkest colors of the background meets the WCAG AA minimum requirements for text of size {1}px and weight of {2}","Violation Potential","1","1.4.3","afw4f7:cantTell" +"text_contrast_sufficient","potential_text_shadow","The contrast ratio of text with its background must meet WCAG AA requirements","Verify the contrast ratio of the text with shadow meets the WCAG AA minimum requirements for text of size {1}px and weight of {2}","Violation Potential","1","1.4.3","afw4f7:cantTell" +"style_viewport_resizable","Pass_0","Text must scale up to 200% without loss of content or functionality","Rule Passed","Pass","3","1.4.4,1.4.10","" +"style_viewport_resizable","Potential_1","Text must scale up to 200% without loss of content or functionality","Verify that text sized using viewport units can be resized up to 200%","Violation Potential","3","1.4.4,1.4.10","" +"meta_viewport_zoomable","pass","The 'meta[name=viewport]' should not prevent the browser zooming the content","The 'meta[name=viewport]' does not prevent the browser zooming the content","Pass","3","1.4.4","" +"meta_viewport_zoomable","potential_zoomable","The 'meta[name=viewport]' should not prevent the browser zooming the content","Confirm the 'meta[name=viewport]' with ""{0}"" can be zoomed by user","Rec Potential","3","1.4.4","" +"style_viewport_resizable","Pass_0","Text must scale up to 200% without loss of content or functionality","Rule Passed","Pass","3","1.4.4,1.4.10","" +"style_viewport_resizable","Potential_1","Text must scale up to 200% without loss of content or functionality","Verify that text sized using viewport units can be resized up to 200%","Violation Potential","3","1.4.4,1.4.10","" +"style_highcontrast_visible","Pass_0","Windows high contrast mode must be supported when using CSS to include, position or alter non-decorative content","Rule Passed","Pass | Pass","1 | 1","1.1.1,1.3.2,1.4.11 | 1.1.1,1.3.2,1.4.11","" +"style_highcontrast_visible","Manual_1","Windows high contrast mode must be supported when using CSS to include, position or alter non-decorative content","Confirm Windows high contrast mode is supported when using CSS to include, position or alter non-decorative content","Violation Manual | Rec Manual","1 | 1","1.1.1,1.3.2,1.4.11 | 1.1.1,1.3.2,1.4.11","" +"text_spacing_valid","pass","CSS !important should not be used in inline style to control letter or word spacing or line height","CSS !important is not used in inline style to control letter or word spacing or line height","Pass","3","1.4.12","9e45ec:pass | 24afc2:pass | 78fd32:pass" +"text_spacing_valid","fail_letter_spacing_style","CSS !important should not be used in inline style to control letter or word spacing or line height","CSS !important should not be used in inline ‘letter-spacing’ style","Violation","3","1.4.12","9e45ec:fail | 24afc2:fail | 78fd32:fail" +"text_spacing_valid","fail_word_spacing_style","CSS !important should not be used in inline style to control letter or word spacing or line height","CSS !important should not be used in inline ‘word-spacing’ style","Violation","3","1.4.12","9e45ec:fail | 24afc2:fail | 78fd32:fail" +"text_spacing_valid","fail_line_height_style","CSS !important should not be used in inline style to control letter or word spacing or line height","CSS !important should not be used in inline ‘line-height’ style","Violation","3","1.4.12","9e45ec:fail | 24afc2:fail | 78fd32:fail" +"style_hover_persistent","Pass_0","The pointer should be able to move over content displayed on hover","the hover: pseudo-class is not used to display content","Pass","2","1.4.13","" +"style_hover_persistent","Pass_2","The pointer should be able to move over content displayed on hover","content displayed via the :hover pseudo-class is the adjacent sibling of the trigger element","Pass","2","1.4.13","" +"style_hover_persistent","Potential_1","The pointer should be able to move over content displayed on hover","Confirm the pointer can be positioned over the displayed element, not just the trigger","Violation Potential","2","1.4.13","" +"style_hover_persistent","Potential_2","The pointer should be able to move over content displayed on hover","Confirm the pointer can be positioned over all the information displayed on hover","Violation Potential","2","1.4.13","" +"style_hover_persistent","Potential_3","The pointer should be able to move over content displayed on hover","Confirm the margin style attribute has not prevented the pointer from hovering over the displayed element, not just the trigger","Violation Potential","2","1.4.13","" +"element_scrollable_tabbable","pass_tabbable","Scrollable elements should be tabbable or contain tabbable content","The scrollable element is tabbable","Pass","1","2.1.1","0ssw9k:pass" +"element_scrollable_tabbable","pass_interactive","Scrollable elements should be tabbable or contain tabbable content","The scrollable element has tabbable content","Pass","1","2.1.1","0ssw9k:pass" +"element_scrollable_tabbable","fail_scrollable","Scrollable elements should be tabbable or contain tabbable content","The scrollable element <{0}> with non-interactive content is not tabbable","Violation","1","2.1.1","0ssw9k:fail" +"aria_activedescendant_tabindex_valid","pass","Element using 'aria-activedescendant' property should be tabbable","Rule Passed","Pass","1","2.1.1","" +"aria_activedescendant_tabindex_valid","Fail_1","Element using 'aria-activedescendant' property should be tabbable","The <{0}> element using 'aria-activedescendant' set to ""{1}"" is not tabbable","Violation","1","2.1.1","" +"aria_child_tabbable","pass","UI component must have at least one tabbable descendant for keyboard access","Rule Passed","Pass","1","2.1.1","" +"aria_child_tabbable","fail_missing_child","UI component must have at least one tabbable descendant for keyboard access","None of the descendent elements with ""{1}"" role is tabbable","Violation","1","2.1.1","" +"iframe_interactive_tabbable","pass","Iframe with interactive content should not be excluded from tab order using tabindex","The iframe with interactive content is not excluded from the tab order using tabindex","Pass","1","2.1.1","akn7bn:pass" +"iframe_interactive_tabbable","fail_invalid","Iframe with interactive content should not be excluded from tab order using tabindex","The <iframe> with interactive content is excluded from tab order using tabindex","Violation","1","2.1.1","akn7bn:fail" +"application_content_accessible","Pass_0","Non-decorative static text and image content within an element with ""application"" role must be accessible","Rule Passed","Pass","1","1.1.1,2.1.1","" +"application_content_accessible","Potential_1","Non-decorative static text and image content within an element with ""application"" role must be accessible","Verify that the non-decorative static text and image content within an element with ""application"" role are accessible","Violation Potential","1","1.1.1,2.1.1","" +"aria_keyboard_handler_exists","pass","Interactive WAI_ARIA UI components must provide keyboard access","Rule Passed","Pass","1","2.1.1","" +"aria_keyboard_handler_exists","potential_no_keyboard_access","Interactive WAI_ARIA UI components must provide keyboard access","Verify the <{0}> element with ""{1}"" role has keyboard access","Violation Potential","1","2.1.1","" +"script_focus_blur_review","Pass_0","Scripting must not remove focus from content that normally receives focus","Rule Passed","Pass","1","2.1.1,2.4.7,3.2.1","" +"script_focus_blur_review","Potential_1","Scripting must not remove focus from content that normally receives focus","Verify script does not remove focus from content that normally receives focus","Violation Potential","1","2.1.1,2.4.7,3.2.1","" +"script_onclick_misuse","Pass_0","Scripts should not be used to emulate links","Rule Passed","Pass","1","2.1.1","" +"script_onclick_misuse","Potential_1","Scripts should not be used to emulate links","Possible use of a script to emulate a link","Violation Potential","1","2.1.1","" +"widget_tabbable_exists","pass","Component must have at least one tabbable element","Rule Passed","Pass","1","2.1.1","" +"widget_tabbable_exists","fail_no_tabbable","Component must have at least one tabbable element","Component with ""{0}"" role does not have a tabbable element","Violation Potential","1","2.1.1","" +"widget_tabbable_single","pass","Components with a widget role must have no more than one tabbable element","Components with a widget role should have no more than one tabbable element","Pass","1","2.1.1,2.4.3","" +"widget_tabbable_single","potential_multiple_tabbable","Components with a widget role must have no more than one tabbable element","Component with ""{0}"" role has more than one tabbable element","Violation Potential","1","2.1.1,2.4.3","" +"media_keyboard_controllable","Pass_0","Media using <audio> and/or <video> elements must have keyboard accessible controls","Rule Passed","Pass","2","2.1.1","" +"media_keyboard_controllable","Manual_1","Media using <audio> and/or <video> elements must have keyboard accessible controls","Verify media using <audio> and/or <video> elements have keyboard accessible controls","Violation Manual","2","2.1.1","" +"script_onclick_avoid","Pass_0","Scripts should not be used to emulate links","Rule Passed","Pass","4","2.1.1","" +"script_onclick_avoid","Potential_1","Scripts should not be used to emulate links","Verify that 'onclick' events are not used in script to emulate a link","Rec Potential","4","2.1.1","" +"canvas_content_described","Pass_0","The <canvas> element may not be accessible","Rule Passed","Pass","3","1.1.1,2.1.1,4.1.2","" +"canvas_content_described","Manual_1","The <canvas> element may not be accessible","Verify accessibility of the <canvas> element","Rec Manual","3","1.1.1,2.1.1,4.1.2","" +"element_mouseevent_keyboard","Pass_0","All interactive content with mouse event handlers must have equivalent keyboard access","Rule Passed","Pass","1","2.1.1","" +"element_mouseevent_keyboard","Manual_1","All interactive content with mouse event handlers must have equivalent keyboard access","Confirm the <{0}> element with mouse event handler(s) '{1}' has a corresponding keyboard handler(s)","Rec Manual","1","2.1.1","" +"download_keyboard_controllable","Manual_1","File download mechanisms should be keyboard-operable and preserve page focus location","Verify that the file download mechanism does not cause a keyboard trap","Rec Manual","1","2.1.2","" +"meta_redirect_optional","pass","Page should not automatically refresh without warning or option to turn it off or adjust the time limit","Rule Passed","Pass","3","2.2.1","bc659a:pass" +"meta_redirect_optional","fail","Page should not automatically refresh without warning or option to turn it off or adjust the time limit","Check page does not automatically refresh without warning or options","Violation","3","2.2.1","bc659a:fail" +"meta_redirect_optional","fail_longrefresh","Page should not automatically refresh without warning or option to turn it off or adjust the time limit","Check page does not automatically refresh without warning or options","Violation","3","2.2.1","bc659a:pass" +"meta_refresh_delay","Pass_0","Pages should not refresh automatically","Rule Passed","Pass","3","2.2.1","bisz58:pass | bc659a:pass" +"meta_refresh_delay","Potential_1","Pages should not refresh automatically","Verify page is not being caused to refresh automatically","Violation Potential","3","2.2.1","bisz58:cantTell | bc659a:cantTell" +"blink_elem_deprecated","Fail_1","Content that blinks persistently must not be used","Content found that blinks persistently","Violation","2","2.2.2","" +"marquee_elem_avoid","Fail_1","The <marquee> element is obsolete and should not be used","Scrolling content found that uses the obsolete <marquee> element","Violation","3","2.2.2","" +"blink_css_review","Pass_0","Do not use the ""blink"" value of the 'text-decoration' property for longer than five seconds","Rule Passed","Pass","2","2.2.2","" +"blink_css_review","Potential_1","Do not use the ""blink"" value of the 'text-decoration' property for longer than five seconds","Check the ""blink"" value of the CSS 'text-decoration' property is not used for more than than five seconds","Violation Potential","2","2.2.2","" +"aria_application_label_unique","Pass_0","Each element with ""application"" role must have a unique label that describes its purpose","Rule Passed","Pass","3","2.4.1","" +"aria_application_label_unique","Fail_1","Each element with ""application"" role must have a unique label that describes its purpose","Multiple elements with ""application"" role do not have unique labels","Violation","3","2.4.1","" +"aria_application_labelled","Pass_0","Each element with ""application"" role must have a label that describes its purpose","Rule Passed","Pass","3","2.4.1","" +"aria_application_labelled","Fail_1","Each element with ""application"" role must have a label that describes its purpose","Element with ""application"" role does not have a label","Violation","3","2.4.1","" +"aria_article_label_unique","Pass_0","Each element with ""article"" role must have a unique label that describes its purpose","Rule Passed","Pass","3","2.4.1","" +"aria_article_label_unique","Fail_1","Each element with ""article"" role must have a unique label that describes its purpose","Multiple elements with ""article"" role do not have unique labels","Violation","3","2.4.1","" +"aria_banner_label_unique","Pass_0","Each element with ""banner"" role must have a unique label that describes its purpose","Rule Passed","Pass","3","2.4.1","" +"aria_banner_label_unique","Fail_1","Each element with ""banner"" role must have a unique label that describes its purpose","Multiple elements with ""banner"" role do not have unique labels","Violation","3","2.4.1","" +"aria_banner_single","Pass_0","A page, document, or application should only have one element with ""banner"" role","Rule Passed","Pass","3","2.4.1","" +"aria_banner_single","Fail_1","A page, document, or application should only have one element with ""banner"" role","Multiple elements with ""banner"" role found on the page","Violation","3","2.4.1","" +"aria_complementary_label_unique","Pass_0","Each element with ""complementary"" role must have a unique label that describes its purpose","Rule Passed","Pass","3","2.4.1","" +"aria_complementary_label_unique","Fail_1","Each element with ""complementary"" role must have a unique label that describes its purpose","Multiple elements with ""complementary"" role do not have unique labels","Violation","3","2.4.1","" +"aria_complementary_labelled","Pass_0","Each element with ""complementary"" role must have a label that describes its purpose","Rule Passed","Pass","3","2.4.1","" +"aria_complementary_labelled","Fail_1","Each element with ""complementary"" role must have a label that describes its purpose","Element with ""complementary"" role does not have a label","Violation","3","2.4.1","" +"aria_content_in_landmark","Pass_0","All content must reside within an element with a landmark role","Rule Passed","Pass | Pass","3 | 3","2.4.1 | 2.4.1","" +"aria_content_in_landmark","Fail_1","All content must reside within an element with a landmark role","Content is not within a landmark element","Violation | Rec","3 | 3","2.4.1 | 2.4.1","" +"aria_contentinfo_label_unique","Pass_0","Each element with ""contentinfo"" role must have a unique label that describes its purpose","Rule Passed","Pass","3","2.4.1","" +"aria_contentinfo_label_unique","Fail_1","Each element with ""contentinfo"" role must have a unique label that describes its purpose","Multiple elements with ""contentinfo"" role do not have unique labels","Violation","3","2.4.1","" +"aria_contentinfo_single","Pass_0","A page, document, or application should only have one element with ""contentinfo"" role","Rule Passed","Pass","3","2.4.1","" +"aria_contentinfo_single","Fail_1","A page, document, or application should only have one element with ""contentinfo"" role","Multiple elements with ""contentinfo"" role found on the page","Violation","3","2.4.1","" +"aria_document_label_unique","Pass_0","Each element with ""document"" role must have a unique label that describes its purpose","Rule Passed","Pass","3","2.4.1","" +"aria_document_label_unique","Fail_1","Each element with ""document"" role must have a unique label that describes its purpose","Multiple elements with ""document"" roles do not have unique labels","Violation","3","2.4.1","" +"aria_form_label_unique","Pass_0","Each element with ""form"" role must have a unique label that describes its purpose","Rule Passed","Pass","3","2.4.1","" +"aria_form_label_unique","Fail_1","Each element with ""form"" role must have a unique label that describes its purpose","Multiple elements with ""form"" role do not have unique labels","Violation","3","2.4.1","" +"aria_landmark_name_unique","Pass_0","Each landmark should have a unique 'aria-labelledby' or 'aria-label' or be nested in a different parent region","Multiple elements with ""{0}"" landmarks within the same parent region are distinguished by unique 'aria-label' or 'aria-labelledby'","Pass | Pass","3 | 3","2.4.1 | 2.4.1","" +"aria_landmark_name_unique","Fail_0","Each landmark should have a unique 'aria-labelledby' or 'aria-label' or be nested in a different parent region","Multiple elements with ""{0}"" landmarks within the same parent region are not distinguished from one another because they have the same ""{1}"" label","Violation | Rec","3 | 3","2.4.1 | 2.4.1","" +"aria_main_label_unique","Pass_0","Each element with ""main"" role must have unique label that describes its purposes","Rule Passed","Pass","3","2.4.1","" +"aria_main_label_unique","Fail_1","Each element with ""main"" role must have unique label that describes its purposes","Multiple elements with ""main"" role do not have unique labels","Violation","3","2.4.1","" +"aria_navigation_label_unique","Pass_0","Each element with ""navigation"" role must have a unique label that describes its purpose","Rule Passed","Pass","3","2.4.1","" +"aria_navigation_label_unique","Fail_1","Each element with ""navigation"" role must have a unique label that describes its purpose","Multiple elements with ""navigation"" role do not have unique labels","Violation","3","2.4.1","" +"aria_region_label_unique","Pass_0","Each element with ""region"" role must have a unique label that describes its purpose","Rule Passed","Pass","3","2.4.1","" +"aria_region_label_unique","Fail_1","Each element with ""region"" role must have a unique label that describes its purpose","Multiple elements with ""region"" role do not have unique labels","Violation","3","2.4.1","" +"aria_region_labelled","Pass_0","Each element with ""region"" role must have a label that describes its purpose","Rule Passed","Pass","3","2.4.1","" +"aria_region_labelled","Fail_1","Each element with ""region"" role must have a label that describes its purpose","Element with ""region"" role does not have a label","Violation","3","2.4.1","" +"aria_search_label_unique","Pass_0","Each element with ""search"" role must have a unique label that describes its purpose","Rule Passed","Pass","3","2.4.1","" +"aria_search_label_unique","Fail_1","Each element with ""search"" role must have a unique label that describes its purpose","Multiple elements with ""search"" role do not have unique labels","Violation","3","2.4.1","" +"aria_toolbar_label_unique","Pass_0","Each element with ""toolbar"" role must have a unique label that describes its purpose","Rule Passed","Pass","1","2.4.1","" +"aria_toolbar_label_unique","Fail_1","Each element with ""toolbar"" role must have a unique label that describes its purpose","Multiple elements with ""toolbar"" roles do not have unique labels","Violation","1","2.4.1","" +"skip_main_exists","Pass_0","Pages must provide a way to skip directly to the main content","Rule Passed","Pass","3","2.4.1","" +"skip_main_exists","Fail_1","Pages must provide a way to skip directly to the main content","The page does not provide a way to quickly navigate to the main content (ARIA ""main"" landmark or a skip link)","Violation","3","2.4.1","" +"frame_src_valid","Pass_0","A <frame> containing non-HTML content must be made accessible","Rule Passed","Pass","3","2.4.1","" +"frame_src_valid","Potential_1","A <frame> containing non-HTML content must be made accessible","Verify <frame> content is accessible","Violation Potential","3","2.4.1","" +"html_skipnav_exists","Pass_0","Provide a way to bypass blocks of content that are repeated on multiple Web pages","Rule Passed","Pass","3","2.4.1","" +"html_skipnav_exists","Potential_1","Provide a way to bypass blocks of content that are repeated on multiple Web pages","Verify there is a way to bypass blocks of content that are repeated on multiple Web pages","Violation Potential","3","2.4.1","" +"skip_main_described","Pass_0","The description of a hyperlink used to skip content must communicate where it links to","Rule Passed","Pass","3","2.4.1","" +"skip_main_described","Potential_1","The description of a hyperlink used to skip content must communicate where it links to","Verify that if this hyperlink skips content, the description communicates where it links to","Violation Potential","3","2.4.1","" +"aria_complementary_label_visible","Pass_0","Each element with ""complementary"" role should have a visible label that describes its purpose","Rule Passed","Pass","3","2.4.1","" +"aria_complementary_label_visible","Fail_1","Each element with ""complementary"" role should have a visible label that describes its purpose","Element with ""complementary"" role does not have a visible label","Rec","3","2.4.1","" +"aria_contentinfo_misuse","Pass_0","Each element with ""contentinfo"" role is only permitted with an element with ""main"" role","Rule Passed","Pass","3","2.4.1","" +"aria_contentinfo_misuse","Fail_1","Each element with ""contentinfo"" role is only permitted with an element with ""main"" role","Element with ""contentinfo"" role is present without an element with ""main"" role","Rec","3","2.4.1","" +"aria_main_label_visible","Pass_0","Each element with ""main"" role should have a unique visible label that describes its purpose","Rule Passed","Pass","3","2.4.1","" +"aria_main_label_visible","Fail_1","Each element with ""main"" role should have a unique visible label that describes its purpose","Multiple elements with ""main"" role do not have unique visible labels","Rec","3","2.4.1","" +"page_title_exists","Pass_0","The page should have a title that correctly identifies the subject of the page","Rule Passed","Pass","1","2.4.2","2779a5:pass" +"page_title_exists","Fail_1","The page should have a title that correctly identifies the subject of the page","Missing <head> element so there can be no <title> element present","Violation","1","2.4.2","2779a5:pass" +"page_title_exists","Fail_2","The page should have a title that correctly identifies the subject of the page","Missing <title> element in <head> element","Violation","1","2.4.2","2779a5:fail" +"page_title_exists","Fail_3","The page should have a title that correctly identifies the subject of the page","The <title> element is empty (no innerHTML)","Violation","1","2.4.2","2779a5:fail" +"page_title_valid","Pass_0","Page <title> should be a descriptive title, rather than a filename","Rule Passed","Pass","1","2.4.2","" +"page_title_valid","Potential_2","Page <title> should be a descriptive title, rather than a filename","Verify that using the filename as the page <title> value is descriptive","Violation Potential","1","2.4.2","" +"widget_tabbable_single","pass","Components with a widget role must have no more than one tabbable element","Components with a widget role should have no more than one tabbable element","Pass","1","2.1.1,2.4.3","" +"widget_tabbable_single","potential_multiple_tabbable","Components with a widget role must have no more than one tabbable element","Component with ""{0}"" role has more than one tabbable element","Violation Potential","1","2.1.1,2.4.3","" +"img_alt_redundant","Pass_0","The text alternative for an image within a link should not repeat the link text or adjacent link text","Rule Passed","Pass","2","1.1.1,2.4.4","" +"img_alt_redundant","Fail_1","The text alternative for an image within a link should not repeat the link text or adjacent link text","Link text is repeated in an image 'alt' value within the same link","Violation","2","1.1.1,2.4.4","" +"img_alt_redundant","Fail_2","The text alternative for an image within a link should not repeat the link text or adjacent link text","Link text of previous link is repeated in image 'alt' value of a link","Violation","2","1.1.1,2.4.4","" +"img_alt_redundant","Fail_3","The text alternative for an image within a link should not repeat the link text or adjacent link text","Image 'alt' value within a link is repeated in link text of the link after","Violation","2","1.1.1,2.4.4","" +"a_text_purpose","pass","Hyperlinks must have an accessible name for their purpose","Hyperlink has a description of its purpose","Pass","2","2.4.4,4.1.2","c487ae:pass" +"a_text_purpose","fail_acc_name","Hyperlinks must have an accessible name for their purpose","Hyperlink has no link text, label or image with a text alternative","Violation","2","2.4.4,4.1.2","c487ae:fail" +"heading_content_exists","Pass_0","Heading elements must provide descriptive text","Heading element has descriptive text","Pass","1","2.4.6","" +"heading_content_exists","Fail_1","Heading elements must provide descriptive text","Heading element has no descriptive content","Rec","1","2.4.6","" +"element_tabbable_visible","pass","A tabbable element should be visible on the screen when it has keyboard focus","The tabbable element is visible on the screen","Pass","1","2.4.7","" +"element_tabbable_visible","potential_visible","A tabbable element should be visible on the screen when it has keyboard focus","Confirm the element should be tabbable and if so, it becomes visible when it has keyboard focus","Violation Potential","1","2.4.7","" +"script_focus_blur_review","Pass_0","Scripting must not remove focus from content that normally receives focus","Rule Passed","Pass","1","2.1.1,2.4.7,3.2.1","" +"script_focus_blur_review","Potential_1","Scripting must not remove focus from content that normally receives focus","Verify script does not remove focus from content that normally receives focus","Violation Potential","1","2.1.1,2.4.7,3.2.1","" +"style_focus_visible","potential_focus_not_visible","The keyboard focus indicator should be visible when default border or outline is modified by CSS","Check the keyboard focus indicator is visible when using CSS declaration for 'border' or 'outline'","Violation Potential","1","2.4.7","" +"style_focus_visible","pass_focus_visible","The keyboard focus indicator should be visible when default border or outline is modified by CSS","The keyboard focus indicator is visible or is not changed from the browser default","Pass","1","2.4.7","" +"element_tabbable_unobscured","pass","When an element receives focus, it is not entirely covered by other content","The element is not entirely covered by other content","Pass","3","2.4.11","" +"element_tabbable_unobscured","potential_obscured","When an element receives focus, it is not entirely covered by other content","Confirm that when the element receives focus, it is not covered or, if covered by user action, can be uncovered without moving focus","Violation Potential","3","2.4.11","" +"label_name_visible","Pass_0","Accessible name must match or contain the visible label text","Accessible name matches or contains the visible label text","Pass","2","2.5.3","2ee8b8:pass" +"label_name_visible","Fail_1","Accessible name must match or contain the visible label text","Accessible name does not match or contain the visible label text","Violation","2","2.5.3","2ee8b8:fail" +"input_label_visible","pass","An input element must have an associated visible label","The input element has an associated visible label","Pass","1","2.5.3,3.3.2","" +"input_label_visible","potential_placeholder_only","An input element must have an associated visible label","The ‘placeholder’ is the only visible label","Violation Potential","1","2.5.3,3.3.2","" +"input_label_visible","potential_no_label","An input element must have an associated visible label","The input element does not have an associated visible label","Violation Potential","1","2.5.3,3.3.2","" +"draggable_alternative_exists","pass_undraggable","A draggable element must have a ""single pointer"" alternative","The element ""{0}"" is not draggable","Pass","3","2.5.7","" +"draggable_alternative_exists","potential_alternative","A draggable element must have a ""single pointer"" alternative","Ensure the draggable element ""{0}"" has a ""single pointer"" alternative","Violation Potential","3","2.5.7","" +"target_spacing_sufficient","pass_spacing","The target must be sufficiently sized or spaced from other targets","The target's spacing from other targets is sufficient","Pass | Pass","3 | 3","2.5.8 | 2.5.8","" +"target_spacing_sufficient","pass_sized","The target must be sufficiently sized or spaced from other targets","The target’s size is more than 24 CSS pixels","Pass | Pass","3 | 3","2.5.8 | 2.5.8","" +"target_spacing_sufficient","pass_inline","The target must be sufficiently sized or spaced from other targets","The target is in a sentence or its size is otherwise constrained by the line-height of non-target text","Pass | Pass","3 | 3","2.5.8 | 2.5.8","" +"target_spacing_sufficient","pass_default","The target must be sufficiently sized or spaced from other targets","The target's size is determined by the user agent and is not modified by the author","Pass | Pass","3 | 3","2.5.8 | 2.5.8","" +"target_spacing_sufficient","violation_spacing","The target must be sufficiently sized or spaced from other targets","Undersized target ""{0}"" does not have sufficient spacing of 12 CSS pixels from another target ""{1}""","Violation | Rec","3 | 3","2.5.8 | 2.5.8","" +"target_spacing_sufficient","potential_overlap","The target must be sufficiently sized or spaced from other targets","Ensure the overlapped target ""{0}"" meets a minimum target size or has sufficient spacing from the overlapping target ""{1}""","Violation Potential | Rec Potential","3 | 3","2.5.8 | 2.5.8","" +"html_lang_exists","Pass_0","Page must identify the default language of the document with a 'lang' attribute","Page language detected as ""{0}""","Pass","1","3.1.1","b5c3f8:pass | 5b7ae0:pass" +"html_lang_exists","Fail_1","Page must identify the default language of the document with a 'lang' attribute","Page detected as XHTML 1.0, but has neither 'lang' nor 'xml:lang' attributes","Violation","1","3.1.1","b5c3f8:inapplicable | 5b7ae0:inapplicable" +"html_lang_exists","Fail_2","Page must identify the default language of the document with a 'lang' attribute","Page detected as XHTML, but does not have an 'xml:lang' attribute","Violation","1","3.1.1","b5c3f8:inapplicable | 5b7ae0:inapplicable" +"html_lang_exists","Fail_3","Page must identify the default language of the document with a 'lang' attribute","Page detected as HTML, but does not have a 'lang' attribute","Violation","1","3.1.1","b5c3f8:fail | 5b7ae0:inapplicable" +"html_lang_exists","Fail_4","Page must identify the default language of the document with a 'lang' attribute","Page detected with 'lang' and 'xml:lang' attributes and primary languages do not match: ""{0}"", ""{1}""","Violation","1","3.1.1","b5c3f8:inapplicable | 5b7ae0:fail" +"html_lang_exists","Fail_5","Page must identify the default language of the document with a 'lang' attribute","Page detected with 'lang' and 'xml:lang' attributes that do not match: ""{0}"", ""{1}""","Violation","1","3.1.1","b5c3f8:inapplicable | 5b7ae0:pass" +"html_lang_exists","Potential_5","Page must identify the default language of the document with a 'lang' attribute","Page detected as XHTML 1.0 with only a 'lang' attribute. Confirm that page is only delivered via text/html mime type","Violation Potential","1","3.1.1","b5c3f8:inapplicable | 5b7ae0:inapplicable" +"html_lang_exists","Potential_6","Page must identify the default language of the document with a 'lang' attribute","Page detected as XHTML 1.0 with only an 'xml:lang' attribute. Confirm that page is only delivered via xml mime type","Violation Potential","1","3.1.1","b5c3f8:inapplicable | 5b7ae0:inapplicable" +"html_lang_valid","Pass_0","The default human language of the page must be valid and specified in accordance with BCP 47","Lang has a valid primary lang and conforms to BCP 47","Pass","1","3.1.1","b5c3f8:pass | bf051a:pass" +"html_lang_valid","Fail_1","The default human language of the page must be valid and specified in accordance with BCP 47","Specified 'lang' attribute does not include a valid primary language","Violation","1","3.1.1","b5c3f8:fail | bf051a:fail" +"html_lang_valid","Fail_2","The default human language of the page must be valid and specified in accordance with BCP 47","Specified 'lang' attribute does not conform to BCP 47","Violation","1","3.1.1","b5c3f8:inapplicable | bf051a:pass" +"html_lang_valid","Fail_3","The default human language of the page must be valid and specified in accordance with BCP 47","Specified 'xml:lang' attribute does not include a valid primary language","Violation","1","3.1.1","b5c3f8:inapplicable | bf051a:fail" +"html_lang_valid","Fail_4","The default human language of the page must be valid and specified in accordance with BCP 47","Specified 'xml:lang' attribute does not conform to BCP 47","Violation","1","3.1.1","b5c3f8:inapplicable | bf051a:inapplicable" +"element_lang_valid","Pass_0","The change in language of specific content must be valid and specified in accordance with BCP 47","Lang has a valid primary lang and conforms to BCP 47","Pass","3","3.1.2","de46e4:pass" +"element_lang_valid","Fail_1","The change in language of specific content must be valid and specified in accordance with BCP 47","Specified 'lang' attribute does not include a valid primary language","Violation","3","3.1.2","de46e4:fail" +"element_lang_valid","Fail_2","The change in language of specific content must be valid and specified in accordance with BCP 47","Specified 'lang' attribute does not conform to BCP 47","Violation","3","3.1.2","de46e4:pass" +"element_lang_valid","Fail_3","The change in language of specific content must be valid and specified in accordance with BCP 47","Specified 'xml:lang' attribute does not include a valid primary language","Violation","3","3.1.2","de46e4:inapplicable" +"element_lang_valid","Fail_4","The change in language of specific content must be valid and specified in accordance with BCP 47","Specified 'xml:lang' attribute does not conform to BCP 47","Violation","3","3.1.2","de46e4:inapplicable" +"script_focus_blur_review","Pass_0","Scripting must not remove focus from content that normally receives focus","Rule Passed","Pass","1","2.1.1,2.4.7,3.2.1","" +"script_focus_blur_review","Potential_1","Scripting must not remove focus from content that normally receives focus","Verify script does not remove focus from content that normally receives focus","Violation Potential","1","2.1.1,2.4.7,3.2.1","" +"script_select_review","Pass_0","No changes of context should occur when a selection value receives focus","Rule Passed","Pass","3","3.2.1","" +"script_select_review","Potential_1","No changes of context should occur when a selection value receives focus","Verify that no change of context or action occurs when selection options in this component receive focus","Violation Potential","3","3.2.1","" +"form_interaction_review","Pass_0","User should be informed in advance when interacting with content causes a change of context","Rule Passed","Pass","3","3.2.2","" +"form_interaction_review","Potential_1","User should be informed in advance when interacting with content causes a change of context","Verify that interacting with content will not open pop-up windows or change the active window without informing the user","Violation Potential","3","3.2.2","" +"form_submit_button_exists","Pass_0","A <form> element should have a submit button or an image button","Rule Passed","Pass","3","3.2.2","" +"form_submit_button_exists","Potential_1","A <form> element should have a submit button or an image button","Verify the <form> element has a submit button or an image button","Violation Potential","3","3.2.2","" +"input_onchange_review","potential_warning","Users must be advised if, due to a change of element value, a form automatically submits, a new window opens, or a change in focus occurs","Confirm that the user is advised if, due to a change of element value, a form automatically submits, a new window opens, or a change in focus occurs","Violation Potential","3","3.2.2","" +"a_target_warning","pass","Users should be warned in advance if their input action will open a new window","The user is warned in advance that the input action opens a new window","Pass","3","3.2.2","" +"a_target_warning","potential_warn","Users should be warned in advance if their input action will open a new window","Inform the user when their input action will open a new window","Rec Potential","3","3.2.2","" +"error_message_exists","Pass_0","A custom error message must reference a valid 'id' value and when triggered the message must be appropriately exposed","Rule Passed","Pass","1","3.3.1","" +"error_message_exists","Fail_1","A custom error message must reference a valid 'id' value and when triggered the message must be appropriately exposed","Custom error message has invalid reference 'id' value","Violation","1","3.3.1","" +"error_message_exists","Fail_2","A custom error message must reference a valid 'id' value and when triggered the message must be appropriately exposed","Custom error message is not visible","Violation","1","3.3.1","" +"fieldset_label_valid","Pass_1","Groups with nested inputs must have unique accessible name","Group/Fieldset ""{0}"" with an input has a unique name","Pass","3","1.3.1,3.3.2","" +"fieldset_label_valid","Fail_1","Groups with nested inputs must have unique accessible name","Group/Fieldset does not have an accessible name","Violation","3","1.3.1,3.3.2","" +"fieldset_label_valid","Fail_2","Groups with nested inputs must have unique accessible name","Group/Fieldset ""{0}"" has a duplicate name to another group","Violation","3","1.3.1,3.3.2","" +"input_label_after","Pass_0","Checkboxes and radio buttons must have a label after the input control","Rule Passed","Pass","1","3.3.2","" +"input_label_after","Fail_1","Checkboxes and radio buttons must have a label after the input control","Checkbox or radio button is nested in label, so label is not after the input control","Violation","1","3.3.2","" +"input_label_after","Fail_2","Checkboxes and radio buttons must have a label after the input control","Label text is located before its associated checkbox or radio button element","Violation","1","3.3.2","" +"input_label_before","Pass_0","Text inputs and <select> elements must have a label before the input control","Rule Passed","Pass","1","3.3.2","" +"input_label_before","Fail_1","Text inputs and <select> elements must have a label before the input control","Text input is nested in label such that input precedes the label text","Violation","1","3.3.2","" +"input_label_before","Fail_2","Text inputs and <select> elements must have a label before the input control","Label text is located after its associated text input or <select> element","Violation","1","3.3.2","" +"input_label_visible","pass","An input element must have an associated visible label","The input element has an associated visible label","Pass","1","2.5.3,3.3.2","" +"input_label_visible","potential_placeholder_only","An input element must have an associated visible label","The ‘placeholder’ is the only visible label","Violation Potential","1","2.5.3,3.3.2","" +"input_label_visible","potential_no_label","An input element must have an associated visible label","The input element does not have an associated visible label","Violation Potential","1","2.5.3,3.3.2","" +"element_accesskey_labelled","Pass_0","An element with an assigned 'accesskey' attribute must have an associated label","Rule Passed","Pass","1","3.3.2","" +"element_accesskey_labelled","Potential_1","An element with an assigned 'accesskey' attribute must have an associated label","The element with an assigned 'accesskey' attribute does not have an associated label","Rec Potential","1","3.3.2","" +"combobox_popup_reference","Pass_1.0_expanded","The 'aria-controls' (for ARIA 1.2) or the 'aria-owns' (for ARIA 1.0) attribute of the expanded combobox must reference a valid popup 'id' value","The combobox popup referenced by 'aria-owns' (ARIA 1.0) exists and is visible","Pass","1","4.1.2","4e8ab6:fail" +"combobox_popup_reference","Pass_1.0_collapsed","The 'aria-controls' (for ARIA 1.2) or the 'aria-owns' (for ARIA 1.0) attribute of the expanded combobox must reference a valid popup 'id' value","The combobox popup in its collapsed state does not reference any visible popup as required","Pass","1","4.1.2","4e8ab6:fail" +"combobox_popup_reference","Pass_1.2_expanded","The 'aria-controls' (for ARIA 1.2) or the 'aria-owns' (for ARIA 1.0) attribute of the expanded combobox must reference a valid popup 'id' value","The combobox popup referenced by 'aria-controls' (ARIA 1.2) exists and is visible","Pass","1","4.1.2","4e8ab6:pass" +"combobox_popup_reference","Pass_1.2_collapsed","The 'aria-controls' (for ARIA 1.2) or the 'aria-owns' (for ARIA 1.0) attribute of the expanded combobox must reference a valid popup 'id' value","The combobox popup in its collapsed state does not reference any visible popup as required","Pass","1","4.1.2","4e8ab6:pass" +"combobox_popup_reference","Fail_1.0_missing_owns","The 'aria-controls' (for ARIA 1.2) or the 'aria-owns' (for ARIA 1.0) attribute of the expanded combobox must reference a valid popup 'id' value","The 'aria-owns' attribute of the expanded combobox is missing","Violation","1","4.1.2","4e8ab6:inapplicable" +"combobox_popup_reference","Fail_1.2_missing_controls","The 'aria-controls' (for ARIA 1.2) or the 'aria-owns' (for ARIA 1.0) attribute of the expanded combobox must reference a valid popup 'id' value","The 'aria-controls' attribute of the expanded combobox is missing","Violation","1","4.1.2","4e8ab6:fail" +"combobox_popup_reference","Fail_1.0_popup_reference_missing","The 'aria-controls' (for ARIA 1.2) or the 'aria-owns' (for ARIA 1.0) attribute of the expanded combobox must reference a valid popup 'id' value","The 'aria-owns' attribute ""{0}"" of the expanded combobox does not reference a valid popup 'id' value","Violation","1","4.1.2","4e8ab6:inapplicable" +"combobox_popup_reference","Fail_1.2_popup_reference_missing","The 'aria-controls' (for ARIA 1.2) or the 'aria-owns' (for ARIA 1.0) attribute of the expanded combobox must reference a valid popup 'id' value","The 'aria-controls' attribute ""{0}"" of the expanded combobox does not reference a valid popup 'id' value","Violation","1","4.1.2","4e8ab6:fail" +"combobox_popup_reference","Fail_combobox_expanded_hidden","The 'aria-controls' (for ARIA 1.2) or the 'aria-owns' (for ARIA 1.0) attribute of the expanded combobox must reference a valid popup 'id' value","The combobox 'aria-expanded' attribute is true, but the combobox popup is not visible","Violation","1","4.1.2","4e8ab6:inapplicable" +"combobox_popup_reference","Fail_combobox_collapsed_visible","The 'aria-controls' (for ARIA 1.2) or the 'aria-owns' (for ARIA 1.0) attribute of the expanded combobox must reference a valid popup 'id' value","The combobox 'aria-expanded' attribute is false, but the combobox popup is visible","Violation","1","4.1.2","4e8ab6:inapplicable" +"combobox_active_descendant","Pass","'aria-activedescendant' must be used to define focus within the combobox popup, except when using a dialog popup","'aria-activedescendant' is used appropriately for this combobox","Pass","1","4.1.2","" +"combobox_active_descendant","Fail_missing","'aria-activedescendant' must be used to define focus within the combobox popup, except when using a dialog popup","The element referenced by 'aria-activedescendant' ""{0}"" does not exist","Violation","1","4.1.2","" +"combobox_active_descendant","Fail_not_in_popup","'aria-activedescendant' must be used to define focus within the combobox popup, except when using a dialog popup","The element referenced by 'aria-activedescendant' ""{0}"" does not exist within the popup referenced by 'id' ""{1}""","Pass","1","4.1.2","" +"combobox_active_descendant","Fail_active_role_invalid","'aria-activedescendant' must be used to define focus within the combobox popup, except when using a dialog popup","The 'aria-activedescendant' ""{0}"" references an element with the roles ""{1}"", which does not have a valid ARIA role of 'option', 'gridcell', 'row', or 'treeitem'","Violation","1","4.1.2","" +"combobox_active_descendant","Fail_active_not_selected","'aria-activedescendant' must be used to define focus within the combobox popup, except when using a dialog popup","The 'aria-activedescendant' ""{0}"" references an element that does not have 'aria-selected' set to true","Violation","1","4.1.2","" +"aria_activedescendant_valid","Pass_0","The 'aria-activedescendant' property must reference the 'id' of a non-empty, non-hidden active child element","Rule Passed","Pass","1","4.1.2","" +"aria_activedescendant_valid","Fail_1","The 'aria-activedescendant' property must reference the 'id' of a non-empty, non-hidden active child element","The 'aria-activedescendant' property is empty","Violation","1","4.1.2","" +"aria_activedescendant_valid","Fail_2","The 'aria-activedescendant' property must reference the 'id' of a non-empty, non-hidden active child element","The 'aria-activedescendant' property references a hidden node","Violation","1","4.1.2","" +"aria_activedescendant_valid","Fail_3","The 'aria-activedescendant' property must reference the 'id' of a non-empty, non-hidden active child element","Element is not a combobox, and the referenced active-descendant element is not a valid descendant","Violation","1","4.1.2","" +"input_haspopup_conflict","potential_type_misuse","<input> element with a 'list' attribute should not use an explicit 'aria-haspopup' attribute","The <input> element with type ""{0}"" and 'list' attribute uses an explicit 'aria-haspopup' attribute","Violation Potential","1","4.1.2","" +"input_haspopup_conflict","potential_misuse","<input> element with a 'list' attribute should not use an explicit 'aria-haspopup' attribute","The <input> element with a missing or invalid type and 'list' attribute uses an explicit 'aria-haspopup' attribute","Violation Potential","1","4.1.2","" +"input_haspopup_conflict","potential_list_notexist","<input> element with a 'list' attribute should not use an explicit 'aria-haspopup' attribute","The list attribute for the <input> element is invalid","Violation Potential","1","4.1.2","" +"input_haspopup_conflict","fail_invalid_list_type","<input> element with a 'list' attribute should not use an explicit 'aria-haspopup' attribute","The list attribute for the <input> element with the type ""{0}"" is invalid","Violation","1","4.1.2","" +"input_haspopup_conflict","fail_invalid_list_elem","<input> element with a 'list' attribute should not use an explicit 'aria-haspopup' attribute","The list attribute for the <input> element does not reference a datalist element","Violation","1","4.1.2","" +"aria_role_valid","Pass_0","ARIA roles must be valid for the element to which they are assigned","Rule Passed","Pass","1","4.1.2","" +"aria_role_valid","Fail_1","ARIA roles must be valid for the element to which they are assigned","The ARIA role '{0}' is not valid for the element <{1}>","Violation","1","4.1.2","" +"aria_role_valid","Fail_2","ARIA roles must be valid for the element to which they are assigned","The ARIA role '{0}' is not valid for the element <{1}> and may be ignored by the browser since the element is focusable","Violation","1","4.1.2","" +"combobox_autocomplete_valid","Pass","A combobox that supports autocompletion behavior must have the 'aria-autocomplete' attribute only on its text input element with a valid value; a value of '""inline""' is not supported","The combobox does not use 'aria-autocomplete' value '""inline""' nor does it have 'aria-autocomplete' defined within the popup","Pass","1","4.1.2","" +"combobox_autocomplete_valid","Fail_1","A combobox that supports autocompletion behavior must have the 'aria-autocomplete' attribute only on its text input element with a valid value; a value of '""inline""' is not supported","The combobox has the 'aria-autocomplete' attribute incorrectly set on an element within the popup referenced by ""{0}""","Violation","1","4.1.2","" +"combobox_autocomplete_valid","Fail_inline","A combobox that supports autocompletion behavior must have the 'aria-autocomplete' attribute only on its text input element with a valid value; a value of '""inline""' is not supported","The combobox does not support an 'aria-autocomplete' attribute value set to '""inline""' ","Violation","1","4.1.2","" +"combobox_focusable_elements","Pass","Tabbable focus for the combobox must be allowed only on the text input, except when using a dialog popup","DOM focus is allowed only on the combobox element as required","Pass","1","4.1.2","" +"combobox_focusable_elements","Fail_not_tabbable","Tabbable focus for the combobox must be allowed only on the text input, except when using a dialog popup","The combobox element does not allow DOM focus as required","Violation","1","4.1.2","" +"combobox_focusable_elements","Fail_tabbable_child","Tabbable focus for the combobox must be allowed only on the text input, except when using a dialog popup","The popup of the combobox has DOM focus or has 'aria-activedescendant' defined, which is not allowed","Violation","1","4.1.2","" +"combobox_haspopup_valid","Pass","The combobox attribute 'aria-haspopup' value must be appropriate for the role of the element referenced by 'aria-controls' (ARIA 1.2) or 'aria-owns' (ARIA 1.0)","The 'aria-controls' (ARIA 1.2) or 'aria-owns' (ARIA 1.0) appropriately references a valid popup 'id' value","Pass","1","4.1.2","" +"combobox_haspopup_valid","Fail_popup_role_invalid","The combobox attribute 'aria-haspopup' value must be appropriate for the role of the element referenced by 'aria-controls' (ARIA 1.2) or 'aria-owns' (ARIA 1.0)","The 'role' value ""{0}"" of the popup element ""{1}"" should be one of ""listbox"", ""grid"", ""tree"" or ""dialog""","Violation","1","4.1.2","" +"combobox_haspopup_valid","Fail_combobox_popup_role_mismatch","The combobox attribute 'aria-haspopup' value must be appropriate for the role of the element referenced by 'aria-controls' (ARIA 1.2) or 'aria-owns' (ARIA 1.0)","The value of the combobox 'aria-haspopup' attribute ""{0}"" does not match the 'role' value of the popup element ""{1}""","Violation","1","4.1.2","" +"element_tabbable_role_valid","pass","A tabbable element must have a valid widget role","The tabbable element has a widget role","Pass | Pass","1 | 1","4.1.2 | 4.1.2","" +"element_tabbable_role_valid","fail_invalid_role","A tabbable element must have a valid widget role","The tabbable element's role '{0}' is not a widget role","Violation | Rec","1 | 1","4.1.2 | 4.1.2","" +"element_tabbable_role_valid","fail_no_valid_role","A tabbable element must have a valid widget role","The tabbable element does not have a valid widget role","Violation | Rec","1 | 1","4.1.2 | 4.1.2","" +"input_label_exists","Pass_0","Each form control must have an associated label","Rule Passed","Pass","1","4.1.2","97a4e1:pass | e086e5:pass" +"input_label_exists","Fail_1","Each form control must have an associated label","Form control element <{0}> has no associated label","Violation","1","4.1.2","97a4e1:fail | e086e5:fail" +"input_label_exists","Fail_2","Each form control must have an associated label","Form control with ""{0}"" role has no associated label","Violation","1","4.1.2","97a4e1:fail | e086e5:fail" +"aria_descendant_valid","pass","Browsers ignore the explicit and implicit ARIA roles of the descendants of certain elements","The element contains valid descendants","Pass","1","4.1.2","307n5z:pass" +"aria_descendant_valid","potential_child_implicit_role","Browsers ignore the explicit and implicit ARIA roles of the descendants of certain elements","The element with role ""{0}"" contains descendants with implicit roles ""{1}"" which are ignored by browsers","Violation Potential","1","4.1.2","307n5z:cantTell" +"aria_descendant_valid","fail_child_explicit_role","Browsers ignore the explicit and implicit ARIA roles of the descendants of certain elements","The element with role ""{0}"" contains descendants with roles ""{1}"" which are ignored by browsers","Violation","1","4.1.2","307n5z:fail" +"aria_role_allowed","Pass_0","Elements must have a valid 'role' per ARIA specification","Rule Passed","Pass","1","4.1.2","674b10:pass" +"aria_role_allowed","Fail_2","Elements must have a valid 'role' per ARIA specification","The role '{0}' defined on the element is not valid per ARIA specification","Violation","1","4.1.2","674b10:fail" +"aria_role_allowed","Potential_1","Elements must have a valid 'role' per ARIA specification","Some of the roles, '{0}', defined on the element are not valid per ARIA specification","Violation Potential","1","4.1.2","674b10:cantTell" +"label_content_exists","Pass_Regular","A <label> element must have non-empty descriptive text that identifies the purpose of the interactive component","<label> element has accessible name with inner content","Pass","1","4.1.2","" +"label_content_exists","Pass_AriaLabel","A <label> element must have non-empty descriptive text that identifies the purpose of the interactive component","<label> element has accessible name via 'aria-label'","Pass","1","4.1.2","" +"label_content_exists","Pass_LabelledBy","A <label> element must have non-empty descriptive text that identifies the purpose of the interactive component","<label> element has accessible name via 'aria-labelledby'","Pass","1","4.1.2","" +"label_content_exists","Fail_1","A <label> element must have non-empty descriptive text that identifies the purpose of the interactive component","The <label> element does not have descriptive text that identifies the expected input","Violation","1","4.1.2","" +"combobox_design_valid","Pass_1.0","The combobox design pattern must be valid for ARIA 1.2","The combobox design pattern is detected as ARIA 1.0, which is allowed by ARIA 1.2","Pass","1","4.1.2","" +"combobox_design_valid","Fail_1.1","The combobox design pattern must be valid for ARIA 1.2","The combobox design pattern is detected as ARIA 1.1, which is not allowed by ARIA 1.2","Violation","1","4.1.2","" +"combobox_design_valid","Pass_1.2","The combobox design pattern must be valid for ARIA 1.2","The combobox design pattern is detected as ARIA 1.2","Pass","1","4.1.2","" +"a_text_purpose","pass","Hyperlinks must have an accessible name for their purpose","Hyperlink has a description of its purpose","Pass","2","2.4.4,4.1.2","c487ae:pass" +"a_text_purpose","fail_acc_name","Hyperlinks must have an accessible name for their purpose","Hyperlink has no link text, label or image with a text alternative","Violation","2","2.4.4,4.1.2","c487ae:fail" +"aria_attribute_allowed","Pass_0","ARIA attributes must be valid for the element's role","Rule Passed","Pass","1","4.1.2","5f99a7:pass" +"aria_attribute_allowed","Fail_1","ARIA attributes must be valid for the element's role","The attribute(s) '{0}' referenced by the element <{1}> is not a valid ARIA state or property","Violation","1","4.1.2","5f99a7:fail" +"aria_attribute_exists","pass","When specifying a required ARIA attribute, the value must not be empty","Rule Passed","Pass","1","4.1.2","6a7281:pass" +"aria_attribute_exists","fail_empty_attribute","When specifying a required ARIA attribute, the value must not be empty","The element attribute(s): '{0}' value is empty","Violation","1","4.1.2","6a7281:fail" +"aria_attribute_required","pass","The required attributes for the element with a role must be defined","The required attributes for the element with the role are defined","Pass","1","4.1.2","4e8ab6:pass" +"aria_attribute_required","fail_missing","The required attributes for the element with a role must be defined","Element with '{0}' role does not have the required ARIA attribute(s): '{1}'","Violation","1","4.1.2","4e8ab6:fail" +"aria_attribute_value_valid","Pass_0","ARIA property values must be valid","Rule Passed","Pass","1","4.1.2","6a7281:pass" +"aria_attribute_value_valid","Fail_1","ARIA property values must be valid","The value ""{0}"" specified for attribute '{1}' on element <{2}> is not valid","Violation","1","4.1.2","6a7281:fail" +"aria_eventhandler_role_valid","Pass_0","Elements with event handlers must have a valid ARIA role","Rule Passed","Pass","1","4.1.2","" +"aria_eventhandler_role_valid","Fail_1","Elements with event handlers must have a valid ARIA role","The <{0}> element with '{1}' does not have a valid ARIA role specified","Violation","1","4.1.2","" +"aria_hidden_nontabbable","Pass_0","A hidden element should not contain any tabbable elements","Rule Passed","Pass","2","1.3.1,4.1.2","6cfa84:pass" +"aria_hidden_nontabbable","Fail_1","A hidden element should not contain any tabbable elements","Element ""{0}"" should not be focusable within the subtree of an element with an 'aria-hidden' attribute with value 'true'","Violation","2","1.3.1,4.1.2","6cfa84:fail" +"aria_id_unique","Pass_0","The ARIA property must reference a non-empty unique id of an existing element that is visible","Rule Passed","Pass","1","4.1.2","59796f:pass | 6a7281:pass" +"aria_id_unique","Fail_1","The ARIA property must reference a non-empty unique id of an existing element that is visible","The 'id' ""{0}"" specified for the ARIA property '{1}' value is not valid","Violation","1","4.1.2","59796f:fail | 6a7281:fail" +"aria_widget_labelled","Pass_0","Interactive component must have a programmatically associated name","Rule Passed","Pass","1","4.1.2","m6b1q3:pass" +"aria_widget_labelled","Fail_1","Interactive component must have a programmatically associated name","Interactive component with ARIA role '{0}' does not have a programmatically associated name","Violation","1","4.1.2","m6b1q3:fail" +"frame_title_exists","Pass_0","Inline frames must have a unique, non-empty 'title' attribute","Rule Passed","Pass","3","4.1.2","cae760:pass" +"frame_title_exists","Fail_1","Inline frames must have a unique, non-empty 'title' attribute","Inline frame does not have a 'title' attribute","Violation","3","4.1.2","cae760:fail" +"list_children_valid","Pass_0","List component with ""group"" role must limit children to <listitem> elements","Rule Passed","Pass","1","4.1.2","" +"list_children_valid","Fail_1","List component with ""group"" role must limit children to <listitem> elements","List component with ""group"" role has children that are not <listitem> elements","Violation","1","4.1.2","" +"aria_attribute_conflict","fail_conflict","An ARIA attribute must not conflict with the corresponding HTML attribute","The ARIA attribute ""{0}"" is in conflict with the corresponding HTML attribute ""{1}""","Violation","1","4.1.2","" +"table_aria_descendants","explicit_role","Table structure elements cannot specify an explicit 'role' within table containers","An explicit ARIA 'role' is not valid for <{0}> element within an ARIA role '{1}' per the ARIA in HTML specification","Violation","1","4.1.2","" +"aria_attribute_redundant","pass","An ARIA attribute should not be redundant with a corresponding HTML attribute","The ARIA attribute is not redundant with a corresponding HTML attribute","Pass","1","4.1.2","" +"aria_attribute_redundant","fail_redundant","An ARIA attribute should not be redundant with a corresponding HTML attribute","The ARIA attribute ""{0}"" is redundant with the HTML attribute ""{1}""","Rec","1","4.1.2","" +"aria_accessiblename_exists","fail_no_accessible_name","Elements with certain roles should have accessible names","Element <{0}> with ""{1}"" role has no accessible name","Rec | Rec","1 | 1","4.1.2 | ARIA","" +"canvas_content_described","Pass_0","The <canvas> element may not be accessible","Rule Passed","Pass","3","1.1.1,2.1.1,4.1.2","" +"canvas_content_described","Manual_1","The <canvas> element may not be accessible","Verify accessibility of the <canvas> element","Rec Manual","3","1.1.1,2.1.1,4.1.2","" +"element_id_unique","Pass_0","Element 'id' attribute values must be unique within a document","Rule Passed","Pass","3","HTML","3ea0c8:pass" +"element_id_unique","Fail_1","Element 'id' attribute values must be unique within a document","The <{0}> element has the id ""{1}"" that is empty","Violation","3","HTML","3ea0c8:pass" +"element_id_unique","Fail_2","Element 'id' attribute values must be unique within a document","The <{0}> element has the id ""{1}"" that is already in use","Violation","3","HTML","3ea0c8:fail" +"element_accesskey_unique","Pass_0","'accesskey' attribute values on each element must be unique for the page","Rule Passed","Pass","3","HTML","" +"element_accesskey_unique","Fail_1","'accesskey' attribute values on each element must be unique for the page","'accesskey' attribute value on the element is not unique","Violation","3","HTML","" +"element_attribute_deprecated","pass","Avoid use of obsolete features if possible","Rule Passed","Pass","3","HTML","" +"element_attribute_deprecated","fail_elem","Avoid use of obsolete features if possible","The <{0}> element is deprecated in HTML 5","Rec","3","HTML","" +"element_attribute_deprecated","fail_attr","Avoid use of obsolete features if possible","The HTML attribute(s) ""{0}"" is deprecated in HTML 5","Rec","3","HTML","" +"element_attribute_deprecated","fail_elem_attr","Avoid use of obsolete features if possible","The HTML attribute(s) ""{0}"" is deprecated for the <{1}> element in HTML 5","Rec","3","HTML","" +"aria_attribute_valid","Pass","ARIA attributes should be valid for the element and ARIA role to which they are assigned","ARIA attributes are valid for the element and ARIA role","Pass","1","ARIA","5c01ea:pass | 46ca7f:pass" +"aria_attribute_valid","Fail_invalid_role_attr","ARIA attributes should be valid for the element and ARIA role to which they are assigned","The ARIA attributes ""{0}"" are not valid for the element <{1}> with ARIA role ""{2}""","Violation","1","ARIA","5c01ea:fail | 46ca7f:fail" +"aria_attribute_valid","Fail_invalid_implicit_role_attr","ARIA attributes should be valid for the element and ARIA role to which they are assigned","The ARIA attributes ""{0}"" are not valid for the element <{1}> with implicit ARIA role ""{2}""","Violation","1","ARIA","5c01ea:fail | 46ca7f:fail" +"img_alt_null","potential_aria_override","When the intent is to mark an image as decorative with an empty 'alt' attribute, the 'aria' or 'title' attributes should not be used","The image 'alt' attribute is empty, but the 'aria' label is not empty and overrides the 'alt' attribute","Violation Potential | Violation Potential","1 | 1","1.1.1 | ARIA","46ca7f:fail" +"aria_attribute_deprecated","fail_aria_role","No deprecated ARIA role or attribute should be used","The ARIA role ""{0}"" is deprecated in the ARIA specification","Rec","3","ARIA","" +"aria_attribute_deprecated","fail_aria_attr","No deprecated ARIA role or attribute should be used","The ARIA attributes ""{0}"" are deprecated in the ARIA specification","Rec","3","ARIA","" +"aria_attribute_deprecated","fail_role_attr","No deprecated ARIA role or attribute should be used","The ARIA attributes ""{0}"" are deprecated for the role ""{1}"" in the ARIA specification","Rec","3","ARIA","" +"aria_role_redundant","pass","An explicitly-assigned ARIA role should not be redundant with the implicit role of the element","An explicitly-assigned ARIA role is not redundant with the implicit role of the element","Pass","3","ARIA","" +"aria_role_redundant","fail_redundant","An explicitly-assigned ARIA role should not be redundant with the implicit role of the element","The explicitly-assigned ARIA role ""{0}"" is redundant with the implicit role of the element <{1}>","Rec","3","ARIA","" +"aria_accessiblename_exists","fail_no_accessible_name_image","Elements with certain roles should have accessible names","Element <{0}> with ""{1}"" role has no accessible name","Rec | Rec","1 | 1","4.1.2 | ARIA","23a2a8:fail" diff --git a/rule-server/src/static/archives/2024.12.12/doc/rules.html b/rule-server/src/static/archives/2024.12.12/doc/rules.html new file mode 100644 index 000000000..294f756d3 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/doc/rules.html @@ -0,0 +1,20318 @@ +<html lang="en-US"> + <head> + <title>Accessibility Checker Rules</title> + <link rel="icon" href="https://ibm.com/able/favicon-32x32.png" type="image/png"> + <link rel="icon" href="https://ibm.com/able/favicon.svg" type="image/svg+xml"> + <link rel="stylesheet" href="./common/rules.css" /> + <script type="module"> + import "https://1.www.s81c.com/common/carbon/web-components/version/v1.35.0/code-snippet.min.js"; + import "https://1.www.s81c.com/common/carbon/web-components/version/v1.35.0/list.min.js"; + import "https://1.www.s81c.com/common/carbon/web-components/version/v1.35.0/content-switcher.min.js"; + </script> + <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script> + <script> + function hookEvents() { + let mainSwitcher = document.getElementById("rsSwitcher"); + mainSwitcher.addEventListener("bx-content-switcher-selected", (evt) => { + let oldValue = mainSwitcher.getAttribute("value") || "IBM_Accessibility"; + let newValue = mainSwitcher.value; + document.getElementById(oldValue).style.display="none"; + document.getElementById(newValue).style.display="block"; + }) + } + </script> + <head> + <body onload="hookEvents();"> + <main> + <bx-content-switcher value="IBM_Accessibility" id="rsSwitcher"> + <bx-content-switcher-item value="IBM_Accessibility">IBM Accessibility 7.3</bx-content-switcher-item><bx-content-switcher-item value="IBM_Accessibility_next">IBM Accessibility next</bx-content-switcher-item><bx-content-switcher-item value="WCAG_2_2">WCAG 2.2 (A, AA)</bx-content-switcher-item><bx-content-switcher-item value="WCAG_2_1">WCAG 2.1 (A, AA)</bx-content-switcher-item><bx-content-switcher-item value="WCAG_2_0">WCAG 2.0 (A, AA)</bx-content-switcher-item> + </bx-content-switcher> + <div id="IBM_Accessibility" style="padding: 1rem; display:block"> +<div> + <h2>1.1.1 Non-text Content [A]</h2> + <div>All non-text content that is presented to the user has a text alternative that serves the equivalent purpose.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>applet_alt_exists</strong>: &lt;applet&gt; elements must provide an 'alt' attribute and an alternative description + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/applet_alt_exists.html#%7B%22message%22%3A%22An%20%3Capplet%3E%20element%20does%20not%20have%20an%20'alt'%20attribute%20that%20provides%20a%20short%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">An &lt;applet&gt; element does not have an 'alt' attribute that provides a short text alternative</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/applet_alt_exists.html#%7B%22message%22%3A%22The%20'alt'%20attribute%20value%20for%20an%20%3Capplet%3E%20element%20duplicates%20the%20'code'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">The 'alt' attribute value for an &lt;applet&gt; element duplicates the 'code' attribute</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/applet_alt_exists.html#%7B%22message%22%3A%22An%20%3Capplet%3E%20element%20provides%20alternative%20text%2C%20but%20does%20not%20provide%20inner%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">An &lt;applet&gt; element provides alternative text, but does not provide inner content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_alt_redundant</strong>: The text alternative for an image within a link should not repeat the link text or adjacent link text + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_redundant.html#%7B%22message%22%3A%22Link%20text%20is%20repeated%20in%20an%20image%20'alt'%20value%20within%20the%20same%20link%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Link text is repeated in an image 'alt' value within the same link</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_redundant.html#%7B%22message%22%3A%22Link%20text%20of%20previous%20link%20is%20repeated%20in%20image%20'alt'%20value%20of%20a%20link%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Link text of previous link is repeated in image 'alt' value of a link</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_redundant.html#%7B%22message%22%3A%22Image%20'alt'%20value%20within%20a%20link%20is%20repeated%20in%20link%20text%20of%20the%20link%20after%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">Image 'alt' value within a link is repeated in link text of the link after</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_alt_valid</strong>: Images must have accessible names unless they are decorative or redundant + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_valid.html#%7B%22message%22%3A%22Image%20'alt'%20attribute%20value%20consists%20only%20of%20blank%20space(s)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_blank_alt%22%7D">Image 'alt' attribute value consists only of blank space(s)</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_valid.html#%7B%22message%22%3A%22The%20image%20has%20neither%20an%20accessible%20name%20nor%20is%20marked%20as%20decorative%20or%20redundant%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_no_alt%22%7D">The image has neither an accessible name nor is marked as decorative or redundant</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_valid.html#%7B%22message%22%3A%22The%20image%20does%20not%20have%20an%20'alt'%20attribute%20or%20ARIA%20label%2C%20and%20the%20'title'%20attribute%20value%20consists%20only%20of%20blank%20space(s)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_blank_title%22%7D">The image does not have an 'alt' attribute or ARIA label, and the 'title' attribute value consists only of blank space(s)</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>area_alt_exists</strong>: &lt;area&gt; elements in an image map must have a text alternative + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/area_alt_exists.html#%7B%22message%22%3A%22%3Carea%3E%20element%20in%20an%20image%20map%20has%20no%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">&lt;area&gt; element in an image map has no text alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>imagebutton_alt_exists</strong>: The &lt;input&gt; element of type "image" should have a text alternative + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/imagebutton_alt_exists.html#%7B%22message%22%3A%22The%20%3Cinput%3E%20element%20of%20type%20%5C%22image%5C%22%20has%20no%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail%22%7D">The &lt;input&gt; element of type "image" has no text alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>imagemap_alt_exists</strong>: An image map and each &lt;area&gt; element in an image map must have text alternative(s) + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/imagemap_alt_exists.html#%7B%22message%22%3A%22Image%20map%20or%20child%20%3Carea%3E%20has%20no%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Image map or child &lt;area&gt; has no text alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_alt_decorative</strong>: Image designated as decorative must have 'alt="" + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_decorative.html#%7B%22message%22%3A%22Image%20designated%20as%20decorative%20has%20non-null%20'alt'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Image designated as decorative has non-null 'alt' attribute</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_alt_null</strong>: When the intent is to mark an image as decorative with an empty 'alt' attribute, the 'aria' or 'title' attributes should not be used + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_null.html#%7B%22message%22%3A%22The%20image%20'alt'%20attribute%20is%20empty%2C%20but%20the%20'title'%20attribute%20is%20not%20empty%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_decorative%22%7D">The image 'alt' attribute is empty, but the 'title' attribute is not empty</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>object_text_exists</strong>: &lt;object&gt; element must have a text alternative for the content rendered by the object + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/object_text_exists.html#%7B%22message%22%3A%22An%20%3Cobject%3E%20element%20does%20not%20have%20a%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_no_text_alternative%22%7D">An &lt;object&gt; element does not have a text alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>svg_graphics_labelled</strong>: A non-decorative SVG element must have an accessible name + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/svg_graphics_labelled.html#%7B%22message%22%3A%22The%20SVG%20element%20has%20no%20accessible%20name%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_acc_name%22%7D">The SVG element has no accessible name</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>application_content_accessible</strong>: Non-decorative static text and image content within an element with "application" role must be accessible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/application_content_accessible.html#%7B%22message%22%3A%22Verify%20that%20the%20non-decorative%20static%20text%20and%20image%20content%20within%20an%20element%20with%20%5C%22application%5C%22%20role%20are%20accessible%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the non-decorative static text and image content within an element with "application" role are accessible</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_alt_misuse</strong>: 'alt' attribute value must be a good inline replacement for the image + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_misuse.html#%7B%22message%22%3A%22Verify%20that%20the%20file%20name%20serves%20as%20a%20good%20inline%20replacement%20for%20the%20image%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the file name serves as a good inline replacement for the image</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_ismap_misuse</strong>: Server-side image map hot-spots must have duplicate text links + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_ismap_misuse.html#%7B%22message%22%3A%22Server-side%20image%20map%20hot-spots%20do%20not%20have%20duplicate%20text%20links%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Server-side image map hot-spots do not have duplicate text links</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_longdesc_misuse</strong>: The 'longdesc' attribute must reference HTML content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_longdesc_misuse.html#%7B%22message%22%3A%22Verify%20that%20the%20file%20designated%20by%20the%20'longdesc'%20attribute%20contains%20valid%20HTML%20content%20(file%20extension%20not%20recognized)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the file designated by the 'longdesc' attribute contains valid HTML content (file extension not recognized)</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>media_alt_exists</strong>: Audio or video on the page must have a short text alternative that describes the media content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_alt_exists.html#%7B%22message%22%3A%22Filename%20used%20as%20label%20for%20embedded%20audio%20or%20video%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Filename used as label for embedded audio or video</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>style_background_decorative</strong>: Images included by using CSS alone must not convey important information + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_background_decorative.html#%7B%22message%22%3A%22Verify%20the%20CSS%20background%20image%20does%20not%20convey%20important%20information%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify the CSS background image does not convey important information</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>style_highcontrast_visible</strong>: Windows high contrast mode must be supported when using CSS to include, position or alter non-decorative content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_highcontrast_visible.html#%7B%22message%22%3A%22Confirm%20Windows%20high%20contrast%20mode%20is%20supported%20when%20using%20CSS%20to%20include%2C%20position%20or%20alter%20non-decorative%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Confirm Windows high contrast mode is supported when using CSS to include, position or alter non-decorative content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>figure_label_exists</strong>: A &lt;figure&gt; element must have an associated label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/figure_label_exists.html#%7B%22message%22%3A%22The%20%3Cfigure%3E%20element%20does%20not%20have%20an%20associated%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The &lt;figure&gt; element does not have an associated label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>embed_alt_exists</strong>: Provide alternative content for &lt;embed&gt; elements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/embed_alt_exists.html#%7B%22message%22%3A%22Verify%20that%20the%20%3Cembed%3E%20element%20has%20alternative%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the &lt;embed&gt; element has alternative content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>embed_noembed_exists</strong>: &lt;embed&gt; elements should be immediately followed by a non-embedded element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/embed_noembed_exists.html#%7B%22message%22%3A%22Verify%20that%20the%20%3Cembed%3E%20element%20is%20immediately%20followed%20by%20a%20non-embedded%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the &lt;embed&gt; element is immediately followed by a non-embedded element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>media_alt_brief</strong>: Alternative text in 'alt' attribute should be brief (&lt;150 characters) + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_alt_brief.html#%7B%22message%22%3A%22Text%20alternative%20is%20more%20than%20150%20characters%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Text alternative is more than 150 characters</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>noembed_content_exists</strong>: &lt;noembed&gt; elements should contain descriptive text + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/noembed_content_exists.html#%7B%22message%22%3A%22Add%20descriptive%20text%20to%20the%20%3Cnoembed%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Add descriptive text to the &lt;noembed&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>canvas_content_described</strong>: The &lt;canvas&gt; element may not be accessible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/canvas_content_described.html#%7B%22message%22%3A%22Verify%20accessibility%20of%20the%20%3Ccanvas%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify accessibility of the &lt;canvas&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_alt_background</strong>: Background images that convey important information must have a text alternative that describes the image + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_background.html#%7B%22message%22%3A%22Verify%20important%20background%20image%20information%20has%20a%20text%20alternative%20in%20system%20high%20contrast%20mode%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify important background image information has a text alternative in system high contrast mode</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.2.1 Audio-only and Video-only (Prerecorded) [A]</h2> + <div>For prerecorded audio-only or video-only media, an alternative provides equivalent information.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>media_audio_transcribed</strong>: Audio information should also be available in text form + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_audio_transcribed.html#%7B%22message%22%3A%22Provide%20transcripts%20for%20audio%20files%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Provide transcripts for audio files</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.2.2 Captions (Prerecorded) [A]</h2> + <div>Captions are provided for all prerecorded audio content in synchronized media.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>caption_track_exists</strong>: A &lt;video&gt; element must have a text alternative for any meaningful audio content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/caption_track_exists.html#%7B%22message%22%3A%22Verify%20that%20captions%20are%20available%20for%20any%20meaningful%20audio%20or%20provide%20a%20caption%20track%20for%20the%20%3Cvideo%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that captions are available for any meaningful audio or provide a caption track for the &lt;video&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.2.3 Audio Description or Media Alternative (Prerecorded) [A]</h2> + <div>An alternative for time-based media or audio description of the prerecorded video content is provided for synchronized media.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>media_track_available</strong>: Pre-recorded media should have an audio track that describes visual information + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_track_available.html#%7B%22message%22%3A%22Verify%20availability%20of%20a%20user-selectable%20audio%20track%20with%20description%20of%20visual%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify availability of a user-selectable audio track with description of visual content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.2.4 Captions (Live) [AA]</h2> + <div>Captions are provided for all live audio content in synchronized media.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>media_live_captioned</strong>: Live media (streaming video with audio) should have captions for audio content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_live_captioned.html#%7B%22message%22%3A%22Verify%20captions%20are%20provided%20for%20live%20media%20(streaming%20video%20with%20audio)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify captions are provided for live media (streaming video with audio)</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.2.5 Audio Description (Prerecorded) [AA]</h2> + <div>Audio description is provided for all prerecorded video content in synchronized media.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>media_track_available</strong>: Pre-recorded media should have an audio track that describes visual information + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_track_available.html#%7B%22message%22%3A%22Verify%20availability%20of%20a%20user-selectable%20audio%20track%20with%20description%20of%20visual%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify availability of a user-selectable audio track with description of visual content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.3.1 Info and Relationships [A]</h2> + <div>Information, structure, and relationships conveyed through presentation can be programmatically determined or are available in text.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>input_checkboxes_grouped</strong>: Related sets of radio buttons or checkboxes should be programmatically grouped + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_checkboxes_grouped.html#%7B%22message%22%3A%22%7B0%7D%20input%20found%20that%20has%20the%20same%20name%2C%20%5C%22%7B2%7D%5C%22%20as%20a%20%7B1%7D%20input%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_controlnamemismatch%22%7D">{0} input found that has the same name, "{2}" as a {1} input</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_checkboxes_grouped.html#%7B%22message%22%3A%22%7B0%7D%20input%20is%20not%20in%20the%20group%20with%20another%20%7B0%7D%20with%20the%20name%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_notgroupedothergrouped%22%7D">{0} input is not in the group with another {0} with the name "{1}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_checkboxes_grouped.html#%7B%22message%22%3A%22%7B0%7D%20input%20and%20others%20with%20the%20name%20%5C%22%7B1%7D%5C%22%20are%20not%20grouped%20together%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_notgroupedothernotgrouped%22%7D">{0} input and others with the name "{1}" are not grouped together</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_checkboxes_grouped.html#%7B%22message%22%3A%22%7B0%7D%20input%20is%20in%20a%20different%20group%20than%20another%20%7B0%7D%20with%20the%20name%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_notsamegroup%22%7D">{0} input is in a different group than another {0} with the name "{1}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_checkboxes_grouped.html#%7B%22message%22%3A%22Verify%20that%20this%20ungrouped%20checkbox%20input%20is%20not%20related%20to%20other%20checkboxes%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_lonecheckbox%22%7D">Verify that this ungrouped checkbox input is not related to other checkboxes</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_checkboxes_grouped.html#%7B%22message%22%3A%22Verify%20that%20this%20un-named%2C%20ungrouped%20checkbox%20input%20is%20not%20related%20to%20other%20checkboxes%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_unnamedcheckbox%22%7D">Verify that this un-named, ungrouped checkbox input is not related to other checkboxes</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_headers_ref_valid</strong>: The 'headers' attribute should refer to a valid cell in the same table + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_headers_ref_valid.html#%7B%22message%22%3A%22The%20'headers'%20attribute%20value%20%5C%22%7B0%7D%5C%22%20does%20not%20reference%20a%20valid%20'id'%20in%20this%20document%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The 'headers' attribute value "{0}" does not reference a valid 'id' in this document</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_headers_ref_valid.html#%7B%22message%22%3A%22The%20'headers'%20attribute%20value%20%5C%22%7B0%7D%5C%22%20refers%20to%20itself%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">The 'headers' attribute value "{0}" refers to itself</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_headers_ref_valid.html#%7B%22message%22%3A%22The%20'headers'%20attribute%20value%20%5C%22%7B0%7D%5C%22%20does%20not%20refer%20to%20a%20cell%20in%20the%20same%20table%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">The 'headers' attribute value "{0}" does not refer to a cell in the same table</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_headers_ref_valid.html#%7B%22message%22%3A%22The%20'headers'%20attribute%20value%20%5C%22%7B0%7D%5C%22%20does%20not%20refer%20to%20a%20cell%20indicated%20with%20%3Cth%3E%20or%20a%20role%20of%20%5C%22columnheader%5C%22%20or%20%5C%22rowheader%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_4%22%7D">The 'headers' attribute value "{0}" does not refer to a cell indicated with &lt;th&gt; or a role of "columnheader" or "rowheader"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>fieldset_label_valid</strong>: Groups with nested inputs must have unique accessible name + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_label_valid.html#%7B%22message%22%3A%22Group%2FFieldset%20does%20not%20have%20an%20accessible%20name%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Group/Fieldset does not have an accessible name</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_label_valid.html#%7B%22message%22%3A%22Group%2FFieldset%20%5C%22%7B0%7D%5C%22%20has%20a%20duplicate%20name%20to%20another%20group%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Group/Fieldset "{0}" has a duplicate name to another group</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_scope_valid</strong>: Value for 'scope' attribute must be "row", "col", "rowgroup", or "colgroup" + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_scope_valid.html#%7B%22message%22%3A%22Value%20provided%20is%20invalid%20for%20the%20'scope'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Value provided is invalid for the 'scope' attribute</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_scope_valid.html#%7B%22message%22%3A%22The%20'scope'%20attribute%20should%20only%20be%20used%20on%20a%20%3Cth%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">The 'scope' attribute should only be used on a &lt;th&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_hidden_nontabbable</strong>: A hidden element should not contain any tabbable elements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_hidden_nontabbable.html#%7B%22message%22%3A%22Element%20%5C%22%7B0%7D%5C%22%20should%20not%20be%20focusable%20within%20the%20subtree%20of%20an%20element%20with%20an%20'aria-hidden'%20attribute%20with%20value%20'true'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element "{0}" should not be focusable within the subtree of an element with an 'aria-hidden' attribute with value 'true'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_parent_required</strong>: Each element with an implicit or explicit role must be contained within a valid element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_parent_required.html#%7B%22message%22%3A%22Element%20with%20%5C%22%7B0%7D%5C%22%20role%20is%20not%20contained%20in%20or%20owned%20by%20an%20element%20with%20one%20of%20the%20following%20roles%3A%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element with "{0}" role is not contained in or owned by an element with one of the following roles: "{1}"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>form_label_unique</strong>: Form controls should have exactly one label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/form_label_unique.html#%7B%22message%22%3A%22Form%20control%20has%20more%20than%20one%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Form control has more than one label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>label_ref_valid</strong>: The 'for' attribute for a label should reference a non-empty, unique 'id' attribute of a valid element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/label_ref_valid.html#%7B%22message%22%3A%22The%20value%20%5C%22%7B0%7D%5C%22%20of%20the%20'for'%20attribute%20is%20not%20the%20'id'%20of%20a%20valid%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_invalid%22%7D">The value "{0}" of the 'for' attribute is not the 'id' of a valid element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_caption_empty</strong>: A &lt;caption&gt; element for a &lt;table> element must contain descriptive text + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_caption_empty.html#%7B%22message%22%3A%22The%20%3Ctable%3E%20element%20has%20an%20empty%20%3Ccaption%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The &lt;table&gt; element has an empty &lt;caption> element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_caption_nested</strong>: The &lt;caption&gt; element must be nested inside the associated &lt;table> element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_caption_nested.html#%7B%22message%22%3A%22%3Ccaption%3E%20element%20is%20not%20nested%20inside%20a%20%3Ctable%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">&lt;caption&gt; element is not nested inside a &lt;table> element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_headers_exists</strong>: Data table must identify headers + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_headers_exists.html#%7B%22message%22%3A%22Table%20has%20no%20headers%20identified%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Table has no headers identified</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_headers_related</strong>: For a complex data table, all &lt;th&gt; and &lt;td> elements must be related via 'header' or 'scope' attributes + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_headers_related.html#%7B%22message%22%3A%22Complex%20table%20does%20not%20have%20headers%20for%20each%20cell%20properly%20defined%20with%20'header'%20or%20'scope'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Complex table does not have headers for each cell properly defined with 'header' or 'scope'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_structure_misuse</strong>: Table elements with 'role="presentation" or 'role="none" should not have structural elements or attributes + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_structure_misuse.html#%7B%22message%22%3A%22The%20%3C%7B0%7D%3E%20element%20with%20%5C%22presentation%5C%22%20role%20or%20%5C%22none%5C%22%20role%20has%20structural%20element(s)%20and%2For%20attribute(s)%20'%7B1%7D'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The &lt;{0}&gt; element with "presentation" role or "none" role has structural element(s) and/or attribute(s) '{1}'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_summary_redundant</strong>: The table summary must not duplicate the caption + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_summary_redundant.html#%7B%22message%22%3A%22The%20table%20summary%20duplicates%20the%20caption%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The table summary duplicates the caption</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>blockquote_cite_exists</strong>: Use &lt;blockquote&gt; only for quotations, not indentation + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/blockquote_cite_exists.html#%7B%22message%22%3A%22Verify%20that%20%3Cblockquote%3E%20should%20have%20a%20'cite'%20attribute%20and%20not%20be%20used%20for%20indentation%20only%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that &lt;blockquote&gt; should have a 'cite' attribute and not be used for indentation only</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>heading_markup_misuse</strong>: Heading elements must not be used for presentation + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/heading_markup_misuse.html#%7B%22message%22%3A%22Verify%20that%20the%20heading%20element%20is%20a%20genuine%20heading%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the heading element is a genuine heading</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>list_markup_review</strong>: Proper HTML elements should be used to create a list + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/list_markup_review.html#%7B%22message%22%3A%22Verify%20this%20is%20a%20list%20and%20if%20so%2C%20modify%20to%20use%20proper%20HTML%20elements%20for%20the%20list%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_list%22%7D">Verify this is a list and if so, modify to use proper HTML elements for the list</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>text_block_heading</strong>: Heading text should use a heading element or role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_block_heading.html#%7B%22message%22%3A%22Confirm%20this%20text%20'%7B0%7D'%20is%20used%20as%20a%20heading%20and%20if%20so%2C%20modify%20to%20use%20a%20heading%20element%20or%20role%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_heading%22%7D">Confirm this text '{0}' is used as a heading and if so, modify to use a heading element or role</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>text_quoted_correctly</strong>: Quotations should be marked with &lt;q&gt; or &lt;blockquote> elements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_quoted_correctly.html#%7B%22message%22%3A%22If%20the%20following%20text%20is%20a%20quotation%2C%20mark%20it%20as%20a%20%3Cq%3E%20or%20%3Cblockquote%3E%20element%3A%20%7B0%7D%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">If the following text is a quotation, mark it as a &lt;q&gt; or &lt;blockquote> element: {0}</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>fieldset_legend_valid</strong>: &lt;fieldset&gt; elements should have a single, non-empty &lt;legend> as a label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_legend_valid.html#%7B%22message%22%3A%22%3Cfieldset%3E%20element%20does%20not%20have%20a%20%3Clegend%3E%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">&lt;fieldset&gt; element does not have a &lt;legend></a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_legend_valid.html#%7B%22message%22%3A%22%3Cfieldset%3E%20element%20has%20more%20than%20one%20%3Clegend%3E%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">&lt;fieldset&gt; element has more than one &lt;legend></a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_legend_valid.html#%7B%22message%22%3A%22%3Cfieldset%3E%20element%20%3Clegend%3E%20is%20empty%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">&lt;fieldset&gt; element &lt;legend> is empty</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_child_valid</strong>: An element with an ARIA role must own a required child + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_child_valid.html#%7B%22message%22%3A%22The%20element%20with%20role%20%5C%22%7B0%7D%5C%22%20does%20not%20own%20any%20child%20element%20with%20any%20of%20the%20following%20role(s)%3A%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_no_child%22%7D">The element with role "{0}" does not own any child element with any of the following role(s): "{1}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_child_valid.html#%7B%22message%22%3A%22The%20element%20with%20role%20%5C%22%7B0%7D%5C%22%20owns%20the%20child%20element%20with%20the%20role%20%5C%22%7B1%7D%5C%22%20that%20is%20not%20one%20of%20the%20allowed%20role(s)%3A%20%5C%22%7B2%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_invalid_child%22%7D">The element with role "{0}" owns the child element with the role "{1}" that is not one of the allowed role(s): "{2}"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_fields_grouped</strong>: Groups of logically related input elements should be contained within a &lt;fieldset&gt; element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_fields_grouped.html#%7B%22message%22%3A%22Use%20the%20%3Cfieldset%3E%20element%20to%20group%20logically%20related%20input%20elements%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Use the &lt;fieldset&gt; element to group logically related input elements</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>list_structure_proper</strong>: List elements should only be used for lists of related items + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/list_structure_proper.html#%7B%22message%22%3A%22List%20element%20is%20missing%20or%20improperly%20structured%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">List element is missing or improperly structured</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>select_options_grouped</strong>: Groups of related options within a selection list should be grouped with &lt;optgroup&gt; + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/select_options_grouped.html#%7B%22message%22%3A%22Group%20of%20related%20options%20may%20need%20%3Coptgroup%3E%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Group of related options may need &lt;optgroup&gt;</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_layout_linearized</strong>: Avoid using tables to format text documents in columns unless the table can be linearized + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_layout_linearized.html#%7B%22message%22%3A%22Verify%20table%20is%20not%20being%20used%20to%20format%20text%20content%20in%20columns%20unless%20the%20table%20can%20be%20linearized%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify table is not being used to format text content in columns unless the table can be linearized</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.3.2 Meaningful Sequence [A]</h2> + <div>When the sequence in which content is presented affects its meaning, a correct reading sequence can be programmatically determined.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>dir_attribute_valid</strong>: 'dir' attribute value must be "ltr", "rtl", or "auto" + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/dir_attribute_valid.html#%7B%22message%22%3A%22Invalid%20value%20used%20for%20the%20'dir'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Invalid value used for the 'dir' attribute</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>text_whitespace_valid</strong>: Space characters should not be used to control spacing within a word + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_whitespace_valid.html#%7B%22message%22%3A%22Space%20characters%20should%20not%20be%20used%20to%20create%20space%20between%20the%20letters%20of%20a%20word%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_text%22%7D">Space characters should not be used to create space between the letters of a word</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>style_highcontrast_visible</strong>: Windows high contrast mode must be supported when using CSS to include, position or alter non-decorative content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_highcontrast_visible.html#%7B%22message%22%3A%22Confirm%20Windows%20high%20contrast%20mode%20is%20supported%20when%20using%20CSS%20to%20include%2C%20position%20or%20alter%20non-decorative%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Confirm Windows high contrast mode is supported when using CSS to include, position or alter non-decorative content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.3.3 Sensory Characteristics [A]</h2> + <div>Instructions provided for understanding and operating content do not rely solely on sensory characteristics of components such as shape, size, visual location, orientation, or sound.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>text_sensory_misuse</strong>: Instructions should be meaningful without relying solely on shape, size, or location words + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_sensory_misuse.html#%7B%22message%22%3A%22Confirm%20the%20word(s)%20'%7B0%7D'%20of%20the%20user%20instruction%20is%20used%20to%20indicate%20a%20logical%20rather%20than%20visual%20position%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_position%22%7D">Confirm the word(s) '{0}' of the user instruction is used to indicate a logical rather than visual position</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_sensory_misuse.html#%7B%22message%22%3A%22Confirm%20the%20user%20instruction%20is%20still%20understandable%20without%20the%20word(s)%20'%7B0%7D'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_other%22%7D">Confirm the user instruction is still understandable without the word(s) '{0}'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.3.4 Orientation [AA]</h2> + <div>Content does not restrict its view and operation to a single display orientation, such as portrait or landscape.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>element_orientation_unlocked</strong>: Elements should not be restricted to either landscape or portrait orientation using CSS transform property + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_orientation_unlocked.html#%7B%22message%22%3A%22The%20element%20%3C%7B0%7D%3E%20is%20restricted%20to%20either%20landscape%20or%20portrait%20orientation%20using%20CSS%20transform%20property%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_locked%22%7D">The element &lt;{0}&gt; is restricted to either landscape or portrait orientation using CSS transform property</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.3.5 Identify Input Purpose [AA]</h2> + <div>The purpose of each input field that collects information about the user can be programmatically determined when the field serves a common purpose.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>input_autocomplete_valid</strong>: The 'autocomplete' attribute's token(s) must be appropriate for the input form field + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_autocomplete_valid.html#%7B%22message%22%3A%22The%20'autocomplete'%20attribute's%20token(s)%20are%20not%20appropriate%20for%20the%20input%20form%20field%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_inappropriate%22%7D">The 'autocomplete' attribute's token(s) are not appropriate for the input form field</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_autocomplete_valid.html#%7B%22message%22%3A%22The%20'autocomplete'%20attribute's%20token(s)%20are%20not%20appropriate%20for%20an%20input%20form%20field%20of%20any%20type%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_invalid%22%7D">The 'autocomplete' attribute's token(s) are not appropriate for an input form field of any type</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_autocomplete_valid.html#%7B%22message%22%3A%22The%20'autocomplete'%20attribute%20has%20an%20incorrect%20value%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_incorrect%22%7D">The 'autocomplete' attribute has an incorrect value</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.1 Use of Color [A]</h2> + <div>Color is not used as the only visual means of conveying information, indicating an action, prompting a response, or distinguishing a visual element.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>form_font_color</strong>: Combine color and descriptive markup to indicate required form fields + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/form_font_color.html#%7B%22message%22%3A%22Check%20color%20is%20not%20used%20as%20the%20only%20visual%20means%20to%20convey%20which%20fields%20are%20required%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Check color is not used as the only visual means to convey which fields are required</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>style_color_misuse</strong>: Combine color and descriptive markup to convey information + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_color_misuse.html#%7B%22message%22%3A%22Verify%20color%20is%20not%20used%20as%20the%20only%20visual%20means%20of%20conveying%20information%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify color is not used as the only visual means of conveying information</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.2 Audio Control [A]</h2> + <div>If any audio plays automatically for more than 3 seconds, either a mechanism is available to pause or stop the audio, or a mechanism is available to control audio volume independently from the overall system volume level.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>media_autostart_controllable</strong>: Mechanism must be available to pause or stop and control the volume of the audio that plays automatically + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_autostart_controllable.html#%7B%22message%22%3A%22Verify%20there%20is%20a%20mechanism%20to%20pause%20or%20stop%20and%20control%20the%20volume%20for%20the%20audio%20that%20plays%20automatically%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify there is a mechanism to pause or stop and control the volume for the audio that plays automatically</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.3 Contrast (Minimum) [AA]</h2> + <div>The visual presentation of text and images of text has a contrast ratio of at least 4.5:1, with a 3:1 ratio for large-scale text.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>text_contrast_sufficient</strong>: The contrast ratio of text with its background must meet WCAG AA requirements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_contrast_sufficient.html#%7B%22message%22%3A%22Text%20contrast%20of%20%7B0%7D%20with%20its%20background%20is%20less%20than%20the%20WCAG%20AA%20minimum%20requirements%20for%20text%20of%20size%20%7B1%7Dpx%20and%20weight%20of%20%7B2%7D%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_contrast%22%7D">Text contrast of {0} with its background is less than the WCAG AA minimum requirements for text of size {1}px and weight of {2}</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_contrast_sufficient.html#%7B%22message%22%3A%22The%20foreground%20text%20and%20its%20background%20color%20are%20both%20detected%20as%20%7B3%7D.%20Verify%20the%20text%20meets%20the%20WCAG%20AA%20requirements%20for%20minimum%20contrast%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_same_color%22%7D">The foreground text and its background color are both detected as {3}. Verify the text meets the WCAG AA requirements for minimum contrast</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_contrast_sufficient.html#%7B%22message%22%3A%22Verify%20the%20contrast%20ratio%20of%20the%20text%20against%20the%20lightest%20and%20the%20darkest%20colors%20of%20the%20background%20meets%20the%20WCAG%20AA%20minimum%20requirements%20for%20text%20of%20size%20%7B1%7Dpx%20and%20weight%20of%20%7B2%7D%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_graphic_background%22%7D">Verify the contrast ratio of the text against the lightest and the darkest colors of the background meets the WCAG AA minimum requirements for text of size {1}px and weight of {2}</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_contrast_sufficient.html#%7B%22message%22%3A%22Verify%20the%20contrast%20ratio%20of%20the%20text%20with%20shadow%20meets%20the%20WCAG%20AA%20minimum%20requirements%20for%20text%20of%20size%20%7B1%7Dpx%20and%20weight%20of%20%7B2%7D%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_text_shadow%22%7D">Verify the contrast ratio of the text with shadow meets the WCAG AA minimum requirements for text of size {1}px and weight of {2}</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.4 Resize text [AA]</h2> + <div>Text can be resized without assistive technology up to 200 percent without loss of content or functionality.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>style_viewport_resizable</strong>: Text must scale up to 200% without loss of content or functionality + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_viewport_resizable.html#%7B%22message%22%3A%22Verify%20that%20text%20sized%20using%20viewport%20units%20can%20be%20resized%20up%20to%20200%25%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that text sized using viewport units can be resized up to 200%</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>meta_viewport_zoomable</strong>: The 'meta[name=viewport]' should not prevent the browser zooming the content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/meta_viewport_zoomable.html#%7B%22message%22%3A%22Confirm%20the%20'meta%5Bname%3Dviewport%5D'%20with%20%5C%22%7B0%7D%5C%22%20can%20be%20zoomed%20by%20user%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_zoomable%22%7D">Confirm the 'meta[name=viewport]' with "{0}" can be zoomed by user</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.5 Images of Text [AA]</h2> + <div>If the technologies being used can achieve the visual presentation, text should not be used to convey information rather than images of text.</div> + +</div><div> + <h2>1.4.10 Reflow [AA]</h2> + <div>Content can reflow without loss of information or functionality, and without requiring scrolling in two dimensions.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>style_viewport_resizable</strong>: Text must scale up to 200% without loss of content or functionality + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_viewport_resizable.html#%7B%22message%22%3A%22Verify%20that%20text%20sized%20using%20viewport%20units%20can%20be%20resized%20up%20to%20200%25%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that text sized using viewport units can be resized up to 200%</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.11 Non-text Contrast [AA]</h2> + <div>The parts of graphical objects required to understand the content, and the visual information required to identify UI components and states, have a contrast ratio of at least 3:1 against adjacent colors.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>style_highcontrast_visible</strong>: Windows high contrast mode must be supported when using CSS to include, position or alter non-decorative content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_highcontrast_visible.html#%7B%22message%22%3A%22Confirm%20Windows%20high%20contrast%20mode%20is%20supported%20when%20using%20CSS%20to%20include%2C%20position%20or%20alter%20non-decorative%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Confirm Windows high contrast mode is supported when using CSS to include, position or alter non-decorative content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.12 Text Spacing [AA]</h2> + <div>No loss of content or functionality occurs when users change letter, word and paragraph spacing, as well as line height.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>text_spacing_valid</strong>: CSS !important should not be used in inline style to control letter or word spacing or line height + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_spacing_valid.html#%7B%22message%22%3A%22CSS%20!important%20should%20not%20be%20used%20in%20inline%20%E2%80%98letter-spacing%E2%80%99%20style%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_letter_spacing_style%22%7D">CSS !important should not be used in inline ‘letter-spacing’ style</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_spacing_valid.html#%7B%22message%22%3A%22CSS%20!important%20should%20not%20be%20used%20in%20inline%20%E2%80%98word-spacing%E2%80%99%20style%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_word_spacing_style%22%7D">CSS !important should not be used in inline ‘word-spacing’ style</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_spacing_valid.html#%7B%22message%22%3A%22CSS%20!important%20should%20not%20be%20used%20in%20inline%20%E2%80%98line-height%E2%80%99%20style%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_line_height_style%22%7D">CSS !important should not be used in inline ‘line-height’ style</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.13 Content on Hover or Focus [AA]</h2> + <div>Where hover or focus actions cause additional content to become visible and hidden, the additional content is dismissable, hoverable and persistent.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>style_hover_persistent</strong>: The pointer should be able to move over content displayed on hover + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_hover_persistent.html#%7B%22message%22%3A%22Confirm%20the%20pointer%20can%20be%20positioned%20over%20the%20displayed%20element%2C%20not%20just%20the%20trigger%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Confirm the pointer can be positioned over the displayed element, not just the trigger</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_hover_persistent.html#%7B%22message%22%3A%22Confirm%20the%20pointer%20can%20be%20positioned%20over%20all%20the%20information%20displayed%20on%20hover%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_2%22%7D">Confirm the pointer can be positioned over all the information displayed on hover</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_hover_persistent.html#%7B%22message%22%3A%22Confirm%20the%20margin%20style%20attribute%20has%20not%20prevented%20the%20pointer%20from%20hovering%20over%20the%20displayed%20element%2C%20not%20just%20the%20trigger%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_3%22%7D">Confirm the margin style attribute has not prevented the pointer from hovering over the displayed element, not just the trigger</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.1.1 Keyboard [A]</h2> + <div>All functionality of the content is operable through a keyboard interface without requiring specific timings for individual keystrokes.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>aria_activedescendant_tabindex_valid</strong>: Element using 'aria-activedescendant' property should be tabbable + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_activedescendant_tabindex_valid.html#%7B%22message%22%3A%22The%20%3C%7B0%7D%3E%20element%20using%20'aria-activedescendant'%20set%20to%20%5C%22%7B1%7D%5C%22%20is%20not%20tabbable%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The &lt;{0}&gt; element using 'aria-activedescendant' set to "{1}" is not tabbable</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_child_tabbable</strong>: UI component must have at least one tabbable descendant for keyboard access + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_child_tabbable.html#%7B%22message%22%3A%22None%20of%20the%20descendent%20elements%20with%20%5C%22%7B1%7D%5C%22%20role%20is%20tabbable%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_missing_child%22%7D">None of the descendent elements with "{1}" role is tabbable</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>element_scrollable_tabbable</strong>: Scrollable elements should be tabbable or contain tabbable content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_scrollable_tabbable.html#%7B%22message%22%3A%22The%20scrollable%20element%20%3C%7B0%7D%3E%20with%20non-interactive%20content%20is%20not%20tabbable%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_scrollable%22%7D">The scrollable element &lt;{0}&gt; with non-interactive content is not tabbable</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>iframe_interactive_tabbable</strong>: Iframe with interactive content should not be excluded from tab order using tabindex + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/iframe_interactive_tabbable.html#%7B%22message%22%3A%22The%20%3Ciframe%3E%20with%20interactive%20content%20is%20excluded%20from%20tab%20order%20using%20tabindex%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_invalid%22%7D">The &lt;iframe&gt; with interactive content is excluded from tab order using tabindex</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>application_content_accessible</strong>: Non-decorative static text and image content within an element with "application" role must be accessible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/application_content_accessible.html#%7B%22message%22%3A%22Verify%20that%20the%20non-decorative%20static%20text%20and%20image%20content%20within%20an%20element%20with%20%5C%22application%5C%22%20role%20are%20accessible%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the non-decorative static text and image content within an element with "application" role are accessible</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_keyboard_handler_exists</strong>: Interactive WAI_ARIA UI components must provide keyboard access + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_keyboard_handler_exists.html#%7B%22message%22%3A%22Verify%20the%20%3C%7B0%7D%3E%20element%20with%20%5C%22%7B1%7D%5C%22%20role%20has%20keyboard%20access%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_no_keyboard_access%22%7D">Verify the &lt;{0}&gt; element with "{1}" role has keyboard access</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>script_focus_blur_review</strong>: Scripting must not remove focus from content that normally receives focus + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/script_focus_blur_review.html#%7B%22message%22%3A%22Verify%20script%20does%20not%20remove%20focus%20from%20content%20that%20normally%20receives%20focus%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify script does not remove focus from content that normally receives focus</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>script_onclick_misuse</strong>: Scripts should not be used to emulate links + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/script_onclick_misuse.html#%7B%22message%22%3A%22Possible%20use%20of%20a%20script%20to%20emulate%20a%20link%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Possible use of a script to emulate a link</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>widget_tabbable_exists</strong>: Component must have at least one tabbable element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/widget_tabbable_exists.html#%7B%22message%22%3A%22Component%20with%20%5C%22%7B0%7D%5C%22%20role%20does%20not%20have%20a%20tabbable%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22fail_no_tabbable%22%7D">Component with "{0}" role does not have a tabbable element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>widget_tabbable_single</strong>: Components with a widget role must have no more than one tabbable element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/widget_tabbable_single.html#%7B%22message%22%3A%22Component%20with%20%5C%22%7B0%7D%5C%22%20role%20has%20more%20than%20one%20tabbable%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_multiple_tabbable%22%7D">Component with "{0}" role has more than one tabbable element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>media_keyboard_controllable</strong>: Media using &lt;audio&gt; and/or &lt;video> elements must have keyboard accessible controls + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_keyboard_controllable.html#%7B%22message%22%3A%22Verify%20media%20using%20%3Caudio%3E%20and%2For%20%3Cvideo%3E%20elements%20have%20keyboard%20accessible%20controls%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify media using &lt;audio&gt; and/or &lt;video> elements have keyboard accessible controls</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>script_onclick_avoid</strong>: Scripts should not be used to emulate links + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/script_onclick_avoid.html#%7B%22message%22%3A%22Verify%20that%20'onclick'%20events%20are%20not%20used%20in%20script%20to%20emulate%20a%20link%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that 'onclick' events are not used in script to emulate a link</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>canvas_content_described</strong>: The &lt;canvas&gt; element may not be accessible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/canvas_content_described.html#%7B%22message%22%3A%22Verify%20accessibility%20of%20the%20%3Ccanvas%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify accessibility of the &lt;canvas&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>element_mouseevent_keyboard</strong>: All interactive content with mouse event handlers must have equivalent keyboard access + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_mouseevent_keyboard.html#%7B%22message%22%3A%22Confirm%20the%20%3C%7B0%7D%3E%20element%20with%20mouse%20event%20handler(s)%20'%7B1%7D'%20has%20a%20corresponding%20keyboard%20handler(s)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Confirm the &lt;{0}&gt; element with mouse event handler(s) '{1}' has a corresponding keyboard handler(s)</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.1.2 No Keyboard Trap [A]</h2> + <div>If keyboard focus can be moved to a component using a keyboard interface, then focus can be moved away from that component using only a keyboard interface, and, if it requires more than unmodified arrow or tab keys or other standard exit methods, the user is advised of the method for moving focus away.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>download_keyboard_controllable</strong>: File download mechanisms should be keyboard-operable and preserve page focus location + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/download_keyboard_controllable.html#%7B%22message%22%3A%22Verify%20that%20the%20file%20download%20mechanism%20does%20not%20cause%20a%20keyboard%20trap%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify that the file download mechanism does not cause a keyboard trap</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.1.4 Character Key Shortcuts [A]</h2> + <div>If a keyboard shortcut is implemented using only letter, punctuation, number or symbol characters, then the shortcut can be turned off, remapped or activated only on focus.</div> + +</div><div> + <h2>2.2.1 Timing Adjustable [A]</h2> + <div>For each time limit that is set by the content, the user can turn off, adjust, or extend the limit.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>meta_redirect_optional</strong>: Page should not automatically refresh without warning or option to turn it off or adjust the time limit + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/meta_redirect_optional.html#%7B%22message%22%3A%22Check%20page%20does%20not%20automatically%20refresh%20without%20warning%20or%20options%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail%22%7D">Check page does not automatically refresh without warning or options</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/meta_redirect_optional.html#%7B%22message%22%3A%22Check%20page%20does%20not%20automatically%20refresh%20without%20warning%20or%20options%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_longrefresh%22%7D">Check page does not automatically refresh without warning or options</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>meta_refresh_delay</strong>: Pages should not refresh automatically + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/meta_refresh_delay.html#%7B%22message%22%3A%22Verify%20page%20is%20not%20being%20caused%20to%20refresh%20automatically%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify page is not being caused to refresh automatically</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.2.2 Pause, Stop, Hide [A]</h2> + <div>For moving, blinking, scrolling, or auto-updating information, the user can pause, stop, hide or adjust the information.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>blink_elem_deprecated</strong>: Content that blinks persistently must not be used + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/blink_elem_deprecated.html#%7B%22message%22%3A%22Content%20found%20that%20blinks%20persistently%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Content found that blinks persistently</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>marquee_elem_avoid</strong>: The &lt;marquee&gt; element is obsolete and should not be used + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/marquee_elem_avoid.html#%7B%22message%22%3A%22Scrolling%20content%20found%20that%20uses%20the%20obsolete%20%3Cmarquee%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Scrolling content found that uses the obsolete &lt;marquee&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>blink_css_review</strong>: Do not use the "blink" value of the 'text-decoration' property for longer than five seconds + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/blink_css_review.html#%7B%22message%22%3A%22Check%20the%20%5C%22blink%5C%22%20value%20of%20the%20CSS%20'text-decoration'%20property%20is%20not%20used%20for%20more%20than%20than%20five%20seconds%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Check the "blink" value of the CSS 'text-decoration' property is not used for more than than five seconds</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.3.1 Three Flashes or Below Threshold [A]</h2> + <div>Content does not contain anything that flashes more than three times in any one second period, or the flash is below the general flash and red flash thresholds.</div> + +</div><div> + <h2>2.4.1 Bypass Blocks [A]</h2> + <div>A mechanism is available to bypass blocks of content that are repeated on multiple Web pages.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>aria_application_label_unique</strong>: Each element with "application" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_application_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22application%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "application" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_application_labelled</strong>: Each element with "application" role must have a label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_application_labelled.html#%7B%22message%22%3A%22Element%20with%20%5C%22application%5C%22%20role%20does%20not%20have%20a%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element with "application" role does not have a label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_article_label_unique</strong>: Each element with "article" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_article_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22article%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "article" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_banner_label_unique</strong>: Each element with "banner" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_banner_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22banner%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "banner" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_banner_single</strong>: A page, document, or application should only have one element with "banner" role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_banner_single.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22banner%5C%22%20role%20found%20on%20the%20page%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "banner" role found on the page</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_complementary_label_unique</strong>: Each element with "complementary" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_complementary_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22complementary%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "complementary" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_complementary_labelled</strong>: Each element with "complementary" role must have a label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_complementary_labelled.html#%7B%22message%22%3A%22Element%20with%20%5C%22complementary%5C%22%20role%20does%20not%20have%20a%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element with "complementary" role does not have a label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_content_in_landmark</strong>: All content must reside within an element with a landmark role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_content_in_landmark.html#%7B%22message%22%3A%22Content%20is%20not%20within%20a%20landmark%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Content is not within a landmark element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_contentinfo_label_unique</strong>: Each element with "contentinfo" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_contentinfo_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22contentinfo%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "contentinfo" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_contentinfo_single</strong>: A page, document, or application should only have one element with "contentinfo" role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_contentinfo_single.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22contentinfo%5C%22%20role%20found%20on%20the%20page%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "contentinfo" role found on the page</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_document_label_unique</strong>: Each element with "document" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_document_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22document%5C%22%20roles%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "document" roles do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_form_label_unique</strong>: Each element with "form" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_form_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22form%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "form" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_landmark_name_unique</strong>: Each landmark should have a unique 'aria-labelledby' or 'aria-label' or be nested in a different parent region + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_landmark_name_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22%7B0%7D%5C%22%20landmarks%20within%20the%20same%20parent%20region%20are%20not%20distinguished%20from%20one%20another%20because%20they%20have%20the%20same%20%5C%22%7B1%7D%5C%22%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_0%22%7D">Multiple elements with "{0}" landmarks within the same parent region are not distinguished from one another because they have the same "{1}" label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_main_label_unique</strong>: Each element with "main" role must have unique label that describes its purposes + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_main_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22main%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "main" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_navigation_label_unique</strong>: Each element with "navigation" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_navigation_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22navigation%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "navigation" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_region_label_unique</strong>: Each element with "region" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_region_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22region%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "region" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_region_labelled</strong>: Each element with "region" role must have a label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_region_labelled.html#%7B%22message%22%3A%22Element%20with%20%5C%22region%5C%22%20role%20does%20not%20have%20a%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element with "region" role does not have a label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_search_label_unique</strong>: Each element with "search" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_search_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22search%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "search" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_toolbar_label_unique</strong>: Each element with "toolbar" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_toolbar_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22toolbar%5C%22%20roles%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "toolbar" roles do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>skip_main_exists</strong>: Pages must provide a way to skip directly to the main content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/skip_main_exists.html#%7B%22message%22%3A%22The%20page%20does%20not%20provide%20a%20way%20to%20quickly%20navigate%20to%20the%20main%20content%20(ARIA%20%5C%22main%5C%22%20landmark%20or%20a%20skip%20link)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The page does not provide a way to quickly navigate to the main content (ARIA "main" landmark or a skip link)</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>frame_src_valid</strong>: A &lt;frame&gt; containing non-HTML content must be made accessible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/frame_src_valid.html#%7B%22message%22%3A%22Verify%20%3Cframe%3E%20content%20is%20accessible%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify &lt;frame&gt; content is accessible</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>html_skipnav_exists</strong>: Provide a way to bypass blocks of content that are repeated on multiple Web pages + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_skipnav_exists.html#%7B%22message%22%3A%22Verify%20there%20is%20a%20way%20to%20bypass%20blocks%20of%20content%20that%20are%20repeated%20on%20multiple%20Web%20pages%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify there is a way to bypass blocks of content that are repeated on multiple Web pages</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>skip_main_described</strong>: The description of a hyperlink used to skip content must communicate where it links to + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/skip_main_described.html#%7B%22message%22%3A%22Verify%20that%20if%20this%20hyperlink%20skips%20content%2C%20the%20description%20communicates%20where%20it%20links%20to%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that if this hyperlink skips content, the description communicates where it links to</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_complementary_label_visible</strong>: Each element with "complementary" role should have a visible label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_complementary_label_visible.html#%7B%22message%22%3A%22Element%20with%20%5C%22complementary%5C%22%20role%20does%20not%20have%20a%20visible%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element with "complementary" role does not have a visible label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_contentinfo_misuse</strong>: Each element with "contentinfo" role is only permitted with an element with "main" role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_contentinfo_misuse.html#%7B%22message%22%3A%22Element%20with%20%5C%22contentinfo%5C%22%20role%20is%20present%20without%20an%20element%20with%20%5C%22main%5C%22%20role%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element with "contentinfo" role is present without an element with "main" role</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_main_label_visible</strong>: Each element with "main" role should have a unique visible label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_main_label_visible.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22main%5C%22%20role%20do%20not%20have%20unique%20visible%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "main" role do not have unique visible labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.4.2 Page Titled [A]</h2> + <div>Web pages, non-web documents, and software have titles that describe topic or purpose.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>page_title_exists</strong>: The page should have a title that correctly identifies the subject of the page + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/page_title_exists.html#%7B%22message%22%3A%22Missing%20%3Chead%3E%20element%20so%20there%20can%20be%20no%20%3Ctitle%3E%20element%20present%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Missing &lt;head&gt; element so there can be no &lt;title> element present</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/page_title_exists.html#%7B%22message%22%3A%22Missing%20%3Ctitle%3E%20element%20in%20%3Chead%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Missing &lt;title&gt; element in &lt;head> element</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/page_title_exists.html#%7B%22message%22%3A%22The%20%3Ctitle%3E%20element%20is%20empty%20(no%20innerHTML)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">The &lt;title&gt; element is empty (no innerHTML)</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>page_title_valid</strong>: Page &lt;title&gt; should be a descriptive title, rather than a filename + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/page_title_valid.html#%7B%22message%22%3A%22Verify%20that%20using%20the%20filename%20as%20the%20page%20%3Ctitle%3E%20value%20is%20descriptive%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_2%22%7D">Verify that using the filename as the page &lt;title&gt; value is descriptive</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.4.3 Focus Order [A]</h2> + <div>If content can be navigated sequentially and the navigation sequences affect meaning or operation, focusable components receive focus in an order that preserves meaning and operability.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>widget_tabbable_single</strong>: Components with a widget role must have no more than one tabbable element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/widget_tabbable_single.html#%7B%22message%22%3A%22Component%20with%20%5C%22%7B0%7D%5C%22%20role%20has%20more%20than%20one%20tabbable%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_multiple_tabbable%22%7D">Component with "{0}" role has more than one tabbable element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.4.4 Link Purpose (In Context) [A]</h2> + <div>The purpose of each link can be determined from the link text alone or from the link text together with its programmatically determined link content.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>img_alt_redundant</strong>: The text alternative for an image within a link should not repeat the link text or adjacent link text + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_redundant.html#%7B%22message%22%3A%22Link%20text%20is%20repeated%20in%20an%20image%20'alt'%20value%20within%20the%20same%20link%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Link text is repeated in an image 'alt' value within the same link</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_redundant.html#%7B%22message%22%3A%22Link%20text%20of%20previous%20link%20is%20repeated%20in%20image%20'alt'%20value%20of%20a%20link%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Link text of previous link is repeated in image 'alt' value of a link</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_redundant.html#%7B%22message%22%3A%22Image%20'alt'%20value%20within%20a%20link%20is%20repeated%20in%20link%20text%20of%20the%20link%20after%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">Image 'alt' value within a link is repeated in link text of the link after</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>a_text_purpose</strong>: Hyperlinks must have an accessible name for their purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/a_text_purpose.html#%7B%22message%22%3A%22Hyperlink%20has%20no%20link%20text%2C%20label%20or%20image%20with%20a%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_acc_name%22%7D">Hyperlink has no link text, label or image with a text alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.4.5 Multiple Ways [AA]</h2> + <div>More than one way is available to locate a Web page within a set of Web pages, except where the Web Page is the result of, or a step in, a process.</div> + +</div><div> + <h2>2.4.6 Headings and Labels [AA]</h2> + <div>Headings and labels describe topic or purpose.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>heading_content_exists</strong>: Heading elements must provide descriptive text + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/heading_content_exists.html#%7B%22message%22%3A%22Heading%20element%20has%20no%20descriptive%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Heading element has no descriptive content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.4.7 Focus Visible [AA]</h2> + <div>Any keyboard operable user interface has a mode of operation where the keyboard focus indicator is visible.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>element_tabbable_visible</strong>: A tabbable element should be visible on the screen when it has keyboard focus + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_tabbable_visible.html#%7B%22message%22%3A%22Confirm%20the%20element%20should%20be%20tabbable%20and%20if%20so%2C%20it%20becomes%20visible%20when%20it%20has%20keyboard%20focus%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_visible%22%7D">Confirm the element should be tabbable and if so, it becomes visible when it has keyboard focus</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>script_focus_blur_review</strong>: Scripting must not remove focus from content that normally receives focus + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/script_focus_blur_review.html#%7B%22message%22%3A%22Verify%20script%20does%20not%20remove%20focus%20from%20content%20that%20normally%20receives%20focus%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify script does not remove focus from content that normally receives focus</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>style_focus_visible</strong>: The keyboard focus indicator should be visible when default border or outline is modified by CSS + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_focus_visible.html#%7B%22message%22%3A%22Check%20the%20keyboard%20focus%20indicator%20is%20visible%20when%20using%20CSS%20declaration%20for%20'border'%20or%20'outline'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_focus_not_visible%22%7D">Check the keyboard focus indicator is visible when using CSS declaration for 'border' or 'outline'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.4.11 Focus Not Obscured (Minimum) [AA]</h2> + <div>When an element receives focus, it is not entirely covered by other content.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>element_tabbable_unobscured</strong>: When an element receives focus, it is not entirely covered by other content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_tabbable_unobscured.html#%7B%22message%22%3A%22Confirm%20that%20when%20the%20element%20receives%20focus%2C%20it%20is%20not%20covered%20or%2C%20if%20covered%20by%20user%20action%2C%20can%20be%20uncovered%20without%20moving%20focus%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_obscured%22%7D">Confirm that when the element receives focus, it is not covered or, if covered by user action, can be uncovered without moving focus</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.5.1 Pointer Gestures [A]</h2> + <div>All functionality that uses multipoint or path-based gestures for operation can be operated with a single pointer without a path-based gesture.</div> + +</div><div> + <h2>2.5.2 Pointer Cancellation [A]</h2> + <div>For functionality that can be operated using a single pointer, completion of the function is on the up-event with an ability to abort, undo or reverse the outcome.</div> + +</div><div> + <h2>2.5.3 Label in Name [A]</h2> + <div>For user interface components with labels that include text or images of text, the accessible name contains the text that is presented visually.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>label_name_visible</strong>: Accessible name must match or contain the visible label text + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/label_name_visible.html#%7B%22message%22%3A%22Accessible%20name%20does%20not%20match%20or%20contain%20the%20visible%20label%20text%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Accessible name does not match or contain the visible label text</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_label_visible</strong>: An input element must have an associated visible label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_visible.html#%7B%22message%22%3A%22The%20%E2%80%98placeholder%E2%80%99%20is%20the%20only%20visible%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_placeholder_only%22%7D">The ‘placeholder’ is the only visible label</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_visible.html#%7B%22message%22%3A%22The%20input%20element%20does%20not%20have%20an%20associated%20visible%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_no_label%22%7D">The input element does not have an associated visible label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.5.4 Motion Actuation [A]</h2> + <div>Functionality that can be operated by motion can also be operated by user interface components, and the motion trigger can be disabled.</div> + +</div><div> + <h2>2.5.7 Dragging Movement [AA]</h2> + <div>All functionality that uses a dragging movement for operation can be achieved by a single pointer without dragging.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>draggable_alternative_exists</strong>: A draggable element must have a "single pointer" alternative + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/draggable_alternative_exists.html#%7B%22message%22%3A%22Ensure%20the%20draggable%20element%20%5C%22%7B0%7D%5C%22%20has%20a%20%5C%22single%20pointer%5C%22%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_alternative%22%7D">Ensure the draggable element "{0}" has a "single pointer" alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.5.8 Minimum Target Size [AA]</h2> + <div>The size of the target for pointer inputs is at least 24 by 24 CSS pixels.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>target_spacing_sufficient</strong>: The target must be sufficiently sized or spaced from other targets + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/target_spacing_sufficient.html#%7B%22message%22%3A%22Undersized%20target%20%5C%22%7B0%7D%5C%22%20does%20not%20have%20sufficient%20spacing%20of%2012%20CSS%20pixels%20from%20another%20target%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22violation_spacing%22%7D">Undersized target "{0}" does not have sufficient spacing of 12 CSS pixels from another target "{1}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/target_spacing_sufficient.html#%7B%22message%22%3A%22Ensure%20the%20overlapped%20target%20%5C%22%7B0%7D%5C%22%20meets%20a%20minimum%20target%20size%20or%20has%20sufficient%20spacing%20from%20the%20overlapping%20target%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_overlap%22%7D">Ensure the overlapped target "{0}" meets a minimum target size or has sufficient spacing from the overlapping target "{1}"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.1.1 Language of Page [A]</h2> + <div>The default human language of Web pages, non-Web documents, or software can be programmatically determined.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>html_lang_exists</strong>: Page must identify the default language of the document with a 'lang' attribute + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20as%20XHTML%201.0%2C%20but%20has%20neither%20'lang'%20nor%20'xml%3Alang'%20attributes%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Page detected as XHTML 1.0, but has neither 'lang' nor 'xml:lang' attributes</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20as%20XHTML%2C%20but%20does%20not%20have%20an%20'xml%3Alang'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Page detected as XHTML, but does not have an 'xml:lang' attribute</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20as%20HTML%2C%20but%20does%20not%20have%20a%20'lang'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">Page detected as HTML, but does not have a 'lang' attribute</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20with%20'lang'%20and%20'xml%3Alang'%20attributes%20and%20primary%20languages%20do%20not%20match%3A%20%5C%22%7B0%7D%5C%22%2C%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_4%22%7D">Page detected with 'lang' and 'xml:lang' attributes and primary languages do not match: "{0}", "{1}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20with%20'lang'%20and%20'xml%3Alang'%20attributes%20that%20do%20not%20match%3A%20%5C%22%7B0%7D%5C%22%2C%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_5%22%7D">Page detected with 'lang' and 'xml:lang' attributes that do not match: "{0}", "{1}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20as%20XHTML%201.0%20with%20only%20a%20'lang'%20attribute.%20Confirm%20that%20page%20is%20only%20delivered%20via%20text%2Fhtml%20mime%20type%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_5%22%7D">Page detected as XHTML 1.0 with only a 'lang' attribute. Confirm that page is only delivered via text/html mime type</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20as%20XHTML%201.0%20with%20only%20an%20'xml%3Alang'%20attribute.%20Confirm%20that%20page%20is%20only%20delivered%20via%20xml%20mime%20type%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_6%22%7D">Page detected as XHTML 1.0 with only an 'xml:lang' attribute. Confirm that page is only delivered via xml mime type</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>html_lang_valid</strong>: The default human language of the page must be valid and specified in accordance with BCP 47 + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_valid.html#%7B%22message%22%3A%22Specified%20'lang'%20attribute%20does%20not%20include%20a%20valid%20primary%20language%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Specified 'lang' attribute does not include a valid primary language</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_valid.html#%7B%22message%22%3A%22Specified%20'lang'%20attribute%20does%20not%20conform%20to%20BCP%2047%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Specified 'lang' attribute does not conform to BCP 47</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_valid.html#%7B%22message%22%3A%22Specified%20'xml%3Alang'%20attribute%20does%20not%20include%20a%20valid%20primary%20language%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">Specified 'xml:lang' attribute does not include a valid primary language</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_valid.html#%7B%22message%22%3A%22Specified%20'xml%3Alang'%20attribute%20does%20not%20conform%20to%20BCP%2047%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_4%22%7D">Specified 'xml:lang' attribute does not conform to BCP 47</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.1.2 Language of Parts [AA]</h2> + <div>The human language of each passage or phrase in the content can be programmatically determined.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>element_lang_valid</strong>: The change in language of specific content must be valid and specified in accordance with BCP 47 + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_lang_valid.html#%7B%22message%22%3A%22Specified%20'lang'%20attribute%20does%20not%20include%20a%20valid%20primary%20language%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Specified 'lang' attribute does not include a valid primary language</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_lang_valid.html#%7B%22message%22%3A%22Specified%20'lang'%20attribute%20does%20not%20conform%20to%20BCP%2047%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Specified 'lang' attribute does not conform to BCP 47</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_lang_valid.html#%7B%22message%22%3A%22Specified%20'xml%3Alang'%20attribute%20does%20not%20include%20a%20valid%20primary%20language%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">Specified 'xml:lang' attribute does not include a valid primary language</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_lang_valid.html#%7B%22message%22%3A%22Specified%20'xml%3Alang'%20attribute%20does%20not%20conform%20to%20BCP%2047%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_4%22%7D">Specified 'xml:lang' attribute does not conform to BCP 47</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.2.1 On Focus [A]</h2> + <div>When any component receives focus, it does not initiate a change of context.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>script_focus_blur_review</strong>: Scripting must not remove focus from content that normally receives focus + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/script_focus_blur_review.html#%7B%22message%22%3A%22Verify%20script%20does%20not%20remove%20focus%20from%20content%20that%20normally%20receives%20focus%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify script does not remove focus from content that normally receives focus</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>script_select_review</strong>: No changes of context should occur when a selection value receives focus + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/script_select_review.html#%7B%22message%22%3A%22Verify%20that%20no%20change%20of%20context%20or%20action%20occurs%20when%20selection%20options%20in%20this%20component%20receive%20focus%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that no change of context or action occurs when selection options in this component receive focus</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.2.2 On Input [A]</h2> + <div>Changing the setting of any user interface component does not automatically cause a change of context unless the user has been advised of the behavior before using the component.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>form_interaction_review</strong>: User should be informed in advance when interacting with content causes a change of context + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/form_interaction_review.html#%7B%22message%22%3A%22Verify%20that%20interacting%20with%20content%20will%20not%20open%20pop-up%20windows%20or%20change%20the%20active%20window%20without%20informing%20the%20user%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that interacting with content will not open pop-up windows or change the active window without informing the user</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>form_submit_button_exists</strong>: A &lt;form&gt; element should have a submit button or an image button + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/form_submit_button_exists.html#%7B%22message%22%3A%22Verify%20the%20%3Cform%3E%20element%20has%20a%20submit%20button%20or%20an%20image%20button%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify the &lt;form&gt; element has a submit button or an image button</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_onchange_review</strong>: Users must be advised if, due to a change of element value, a form automatically submits, a new window opens, or a change in focus occurs + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_onchange_review.html#%7B%22message%22%3A%22Confirm%20that%20the%20user%20is%20advised%20if%2C%20due%20to%20a%20change%20of%20element%20value%2C%20a%20form%20automatically%20submits%2C%20a%20new%20window%20opens%2C%20or%20a%20change%20in%20focus%20occurs%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_warning%22%7D">Confirm that the user is advised if, due to a change of element value, a form automatically submits, a new window opens, or a change in focus occurs</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>a_target_warning</strong>: Users should be warned in advance if their input action will open a new window + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/a_target_warning.html#%7B%22message%22%3A%22Inform%20the%20user%20when%20their%20input%20action%20will%20open%20a%20new%20window%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_warn%22%7D">Inform the user when their input action will open a new window</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.2.3 Consistent Navigation [AA]</h2> + <div>Navigational mechanisms that are repeated on multiple Web pages within a set of Web pages occur in the same relative order each time they are repeated, unless a change is initiated by the user.</div> + +</div><div> + <h2>3.2.4 Consistent Identification [AA]</h2> + <div>Components that have the same functionality within a set of Web pages are identified consistently.</div> + +</div><div> + <h2>3.2.6 Consistent Help [AA]</h2> + <div>Make it easier to find help and support. If a Web page contains help mechanisms they occur in the same order relative to other page content, unless a change is initiated by the user.</div> + +</div><div> + <h2>3.3.1 Error Identification [A]</h2> + <div>If an input error is automatically detected, the item that is in error is identified and the error is described to the user in text.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>error_message_exists</strong>: A custom error message must reference a valid 'id' value and when triggered the message must be appropriately exposed + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/error_message_exists.html#%7B%22message%22%3A%22Custom%20error%20message%20has%20invalid%20reference%20'id'%20value%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Custom error message has invalid reference 'id' value</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/error_message_exists.html#%7B%22message%22%3A%22Custom%20error%20message%20is%20not%20visible%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Custom error message is not visible</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.3.2 Labels or Instructions [A]</h2> + <div>Labels or instructions are provided when content requires user input.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>fieldset_label_valid</strong>: Groups with nested inputs must have unique accessible name + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_label_valid.html#%7B%22message%22%3A%22Group%2FFieldset%20does%20not%20have%20an%20accessible%20name%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Group/Fieldset does not have an accessible name</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_label_valid.html#%7B%22message%22%3A%22Group%2FFieldset%20%5C%22%7B0%7D%5C%22%20has%20a%20duplicate%20name%20to%20another%20group%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Group/Fieldset "{0}" has a duplicate name to another group</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_label_after</strong>: Checkboxes and radio buttons must have a label after the input control + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_after.html#%7B%22message%22%3A%22Checkbox%20or%20radio%20button%20is%20nested%20in%20label%2C%20so%20label%20is%20not%20after%20the%20input%20control%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Checkbox or radio button is nested in label, so label is not after the input control</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_after.html#%7B%22message%22%3A%22Label%20text%20is%20located%20before%20its%20associated%20checkbox%20or%20radio%20button%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Label text is located before its associated checkbox or radio button element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_label_before</strong>: Text inputs and &lt;select&gt; elements must have a label before the input control + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_before.html#%7B%22message%22%3A%22Text%20input%20is%20nested%20in%20label%20such%20that%20input%20precedes%20the%20label%20text%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Text input is nested in label such that input precedes the label text</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_before.html#%7B%22message%22%3A%22Label%20text%20is%20located%20after%20its%20associated%20text%20input%20or%20%3Cselect%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Label text is located after its associated text input or &lt;select&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_label_visible</strong>: An input element must have an associated visible label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_visible.html#%7B%22message%22%3A%22The%20%E2%80%98placeholder%E2%80%99%20is%20the%20only%20visible%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_placeholder_only%22%7D">The ‘placeholder’ is the only visible label</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_visible.html#%7B%22message%22%3A%22The%20input%20element%20does%20not%20have%20an%20associated%20visible%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_no_label%22%7D">The input element does not have an associated visible label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>element_accesskey_labelled</strong>: An element with an assigned 'accesskey' attribute must have an associated label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_accesskey_labelled.html#%7B%22message%22%3A%22The%20element%20with%20an%20assigned%20'accesskey'%20attribute%20does%20not%20have%20an%20associated%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">The element with an assigned 'accesskey' attribute does not have an associated label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.3.3 Error Suggestion [AA]</h2> + <div>If an input error is automatically detected and suggestions for correction are known, then the suggestions are provided to the user, unless it would jeopardize the security or purpose of the content.</div> + +</div><div> + <h2>3.3.4 Error Prevention (Legal, Financial, Data) [AA]</h2> + <div>For content that cause legal commitments or financial transactions for the user to occur, that modify or delete user-controllable data in data storage systems, or that submit user test responses, the user can reverse, correct, or confirm the action.</div> + +</div><div> + <h2>3.3.7 Redundant Entry [AA]</h2> + <div>Make it easier for users to complete multi-step processes. Don't ask for the same information twice in the same session.</div> + +</div><div> + <h2>3.3.8 Accessible Authentication (Minimum) [AA]</h2> + <div>Make logins possible with less mental effort. Don't make people solve, recall, or transcribe something to log in.</div> + +</div><div> + <h2>4.1.1 Parsing [A]</h2> + <div>(Obsolete and removed) This requirement was originally adopted to address problems that assistive technology (AT) had directly parsing HTML. AT no longer has any need to directly parse HTML. Consequently, these problems either no longer exist or are addressed by other requirements.</div> + +</div><div> + <h2>4.1.2 Name, Role, Value [A]</h2> + <div>For all user interface components (including, but not limited to: form elements, links and components generated by scripts), the name and role can be programmatically determined; states, properties, and values that can be set by the user can be programmatically set; and notification of changes to these items is available to user agents, including assistive technologies.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>combobox_popup_reference</strong>: The 'aria-controls' (for ARIA 1.2) or the 'aria-owns' (for ARIA 1.0) attribute of the expanded combobox must reference a valid popup 'id' value + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_popup_reference.html#%7B%22message%22%3A%22The%20'aria-owns'%20attribute%20of%20the%20expanded%20combobox%20is%20missing%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1.0_missing_owns%22%7D">The 'aria-owns' attribute of the expanded combobox is missing</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_popup_reference.html#%7B%22message%22%3A%22The%20'aria-controls'%20attribute%20of%20the%20expanded%20combobox%20is%20missing%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1.2_missing_controls%22%7D">The 'aria-controls' attribute of the expanded combobox is missing</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_popup_reference.html#%7B%22message%22%3A%22The%20'aria-owns'%20attribute%20%5C%22%7B0%7D%5C%22%20of%20the%20expanded%20combobox%20does%20not%20reference%20a%20valid%20popup%20'id'%20value%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1.0_popup_reference_missing%22%7D">The 'aria-owns' attribute "{0}" of the expanded combobox does not reference a valid popup 'id' value</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_popup_reference.html#%7B%22message%22%3A%22The%20'aria-controls'%20attribute%20%5C%22%7B0%7D%5C%22%20of%20the%20expanded%20combobox%20does%20not%20reference%20a%20valid%20popup%20'id'%20value%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1.2_popup_reference_missing%22%7D">The 'aria-controls' attribute "{0}" of the expanded combobox does not reference a valid popup 'id' value</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_popup_reference.html#%7B%22message%22%3A%22The%20combobox%20'aria-expanded'%20attribute%20is%20true%2C%20but%20the%20combobox%20popup%20is%20not%20visible%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_combobox_expanded_hidden%22%7D">The combobox 'aria-expanded' attribute is true, but the combobox popup is not visible</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_popup_reference.html#%7B%22message%22%3A%22The%20combobox%20'aria-expanded'%20attribute%20is%20false%2C%20but%20the%20combobox%20popup%20is%20visible%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_combobox_collapsed_visible%22%7D">The combobox 'aria-expanded' attribute is false, but the combobox popup is visible</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_activedescendant_valid</strong>: The 'aria-activedescendant' property must reference the 'id' of a non-empty, non-hidden active child element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_activedescendant_valid.html#%7B%22message%22%3A%22The%20'aria-activedescendant'%20property%20is%20empty%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The 'aria-activedescendant' property is empty</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_activedescendant_valid.html#%7B%22message%22%3A%22The%20'aria-activedescendant'%20property%20references%20a%20hidden%20node%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">The 'aria-activedescendant' property references a hidden node</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_activedescendant_valid.html#%7B%22message%22%3A%22Element%20is%20not%20a%20combobox%2C%20and%20the%20referenced%20active-descendant%20element%20is%20not%20a%20valid%20descendant%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">Element is not a combobox, and the referenced active-descendant element is not a valid descendant</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>combobox_active_descendant</strong>: 'aria-activedescendant' must be used to define focus within the combobox popup, except when using a dialog popup + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_active_descendant.html#%7B%22message%22%3A%22The%20element%20referenced%20by%20'aria-activedescendant'%20%5C%22%7B0%7D%5C%22%20does%20not%20exist%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_missing%22%7D">The element referenced by 'aria-activedescendant' "{0}" does not exist</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_active_descendant.html#%7B%22message%22%3A%22The%20'aria-activedescendant'%20%5C%22%7B0%7D%5C%22%20references%20an%20element%20with%20the%20roles%20%5C%22%7B1%7D%5C%22%2C%20which%20does%20not%20have%20a%20valid%20ARIA%20role%20of%20'option'%2C%20'gridcell'%2C%20'row'%2C%20or%20'treeitem'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_active_role_invalid%22%7D">The 'aria-activedescendant' "{0}" references an element with the roles "{1}", which does not have a valid ARIA role of 'option', 'gridcell', 'row', or 'treeitem'</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_active_descendant.html#%7B%22message%22%3A%22The%20'aria-activedescendant'%20%5C%22%7B0%7D%5C%22%20references%20an%20element%20that%20does%20not%20have%20'aria-selected'%20set%20to%20true%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_active_not_selected%22%7D">The 'aria-activedescendant' "{0}" references an element that does not have 'aria-selected' set to true</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_haspopup_conflict</strong>: &lt;input&gt; element with a 'list' attribute should not use an explicit 'aria-haspopup' attribute + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_haspopup_conflict.html#%7B%22message%22%3A%22The%20%3Cinput%3E%20element%20with%20type%20%5C%22%7B0%7D%5C%22%20and%20'list'%20attribute%20uses%20an%20explicit%20'aria-haspopup'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_type_misuse%22%7D">The &lt;input&gt; element with type "{0}" and 'list' attribute uses an explicit 'aria-haspopup' attribute</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_haspopup_conflict.html#%7B%22message%22%3A%22The%20%3Cinput%3E%20element%20with%20a%20missing%20or%20invalid%20type%20and%20'list'%20attribute%20uses%20an%20explicit%20'aria-haspopup'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_misuse%22%7D">The &lt;input&gt; element with a missing or invalid type and 'list' attribute uses an explicit 'aria-haspopup' attribute</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_haspopup_conflict.html#%7B%22message%22%3A%22The%20list%20attribute%20for%20the%20%3Cinput%3E%20element%20is%20invalid%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_list_notexist%22%7D">The list attribute for the &lt;input&gt; element is invalid</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_haspopup_conflict.html#%7B%22message%22%3A%22The%20list%20attribute%20for%20the%20%3Cinput%3E%20element%20with%20the%20type%20%5C%22%7B0%7D%5C%22%20is%20invalid%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_invalid_list_type%22%7D">The list attribute for the &lt;input&gt; element with the type "{0}" is invalid</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_haspopup_conflict.html#%7B%22message%22%3A%22The%20list%20attribute%20for%20the%20%3Cinput%3E%20element%20does%20not%20reference%20a%20datalist%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_invalid_list_elem%22%7D">The list attribute for the &lt;input&gt; element does not reference a datalist element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_role_valid</strong>: ARIA roles must be valid for the element to which they are assigned + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_role_valid.html#%7B%22message%22%3A%22The%20ARIA%20role%20'%7B0%7D'%20is%20not%20valid%20for%20the%20element%20%3C%7B1%7D%3E%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The ARIA role '{0}' is not valid for the element &lt;{1}&gt;</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_role_valid.html#%7B%22message%22%3A%22The%20ARIA%20role%20'%7B0%7D'%20is%20not%20valid%20for%20the%20element%20%3C%7B1%7D%3E%20and%20may%20be%20ignored%20by%20the%20browser%20since%20the%20element%20is%20focusable%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">The ARIA role '{0}' is not valid for the element &lt;{1}&gt; and may be ignored by the browser since the element is focusable</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>combobox_autocomplete_valid</strong>: A combobox that supports autocompletion behavior must have the 'aria-autocomplete' attribute only on its text input element with a valid value; a value of '"inline"' is not supported + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_autocomplete_valid.html#%7B%22message%22%3A%22The%20combobox%20has%20the%20'aria-autocomplete'%20attribute%20incorrectly%20set%20on%20an%20element%20within%20the%20popup%20referenced%20by%20%5C%22%7B0%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The combobox has the 'aria-autocomplete' attribute incorrectly set on an element within the popup referenced by "{0}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_autocomplete_valid.html#%7B%22message%22%3A%22The%20combobox%20does%20not%20support%20an%20'aria-autocomplete'%20attribute%20value%20set%20to%20'%5C%22inline%5C%22'%20%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_inline%22%7D">The combobox does not support an 'aria-autocomplete' attribute value set to '"inline"' </a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>combobox_focusable_elements</strong>: Tabbable focus for the combobox must be allowed only on the text input, except when using a dialog popup + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_focusable_elements.html#%7B%22message%22%3A%22The%20combobox%20element%20does%20not%20allow%20DOM%20focus%20as%20required%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_not_tabbable%22%7D">The combobox element does not allow DOM focus as required</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_focusable_elements.html#%7B%22message%22%3A%22The%20popup%20of%20the%20combobox%20has%20DOM%20focus%20or%20has%20'aria-activedescendant'%20defined%2C%20which%20is%20not%20allowed%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_tabbable_child%22%7D">The popup of the combobox has DOM focus or has 'aria-activedescendant' defined, which is not allowed</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>combobox_haspopup_valid</strong>: The combobox attribute 'aria-haspopup' value must be appropriate for the role of the element referenced by 'aria-controls' (ARIA 1.2) or 'aria-owns' (ARIA 1.0) + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_haspopup_valid.html#%7B%22message%22%3A%22The%20'role'%20value%20%5C%22%7B0%7D%5C%22%20of%20the%20popup%20element%20%5C%22%7B1%7D%5C%22%20should%20be%20one%20of%20%5C%22listbox%5C%22%2C%20%5C%22grid%5C%22%2C%20%5C%22tree%5C%22%20or%20%5C%22dialog%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_popup_role_invalid%22%7D">The 'role' value "{0}" of the popup element "{1}" should be one of "listbox", "grid", "tree" or "dialog"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_haspopup_valid.html#%7B%22message%22%3A%22The%20value%20of%20the%20combobox%20'aria-haspopup'%20attribute%20%5C%22%7B0%7D%5C%22%20does%20not%20match%20the%20'role'%20value%20of%20the%20popup%20element%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_combobox_popup_role_mismatch%22%7D">The value of the combobox 'aria-haspopup' attribute "{0}" does not match the 'role' value of the popup element "{1}"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>element_tabbable_role_valid</strong>: A tabbable element must have a valid widget role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_tabbable_role_valid.html#%7B%22message%22%3A%22The%20tabbable%20element's%20role%20'%7B0%7D'%20is%20not%20a%20widget%20role%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_invalid_role%22%7D">The tabbable element's role '{0}' is not a widget role</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_tabbable_role_valid.html#%7B%22message%22%3A%22The%20tabbable%20element%20does%20not%20have%20a%20valid%20widget%20role%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_no_valid_role%22%7D">The tabbable element does not have a valid widget role</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_label_exists</strong>: Each form control must have an associated label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_exists.html#%7B%22message%22%3A%22Form%20control%20element%20%3C%7B0%7D%3E%20has%20no%20associated%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Form control element &lt;{0}&gt; has no associated label</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_exists.html#%7B%22message%22%3A%22Form%20control%20with%20%5C%22%7B0%7D%5C%22%20role%20has%20no%20associated%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Form control with "{0}" role has no associated label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_descendant_valid</strong>: Browsers ignore the explicit and implicit ARIA roles of the descendants of certain elements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_descendant_valid.html#%7B%22message%22%3A%22The%20element%20with%20role%20%5C%22%7B0%7D%5C%22%20contains%20descendants%20with%20implicit%20roles%20%5C%22%7B1%7D%5C%22%20which%20are%20ignored%20by%20browsers%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_child_implicit_role%22%7D">The element with role "{0}" contains descendants with implicit roles "{1}" which are ignored by browsers</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_descendant_valid.html#%7B%22message%22%3A%22The%20element%20with%20role%20%5C%22%7B0%7D%5C%22%20contains%20descendants%20with%20roles%20%5C%22%7B1%7D%5C%22%20which%20are%20ignored%20by%20browsers%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_child_explicit_role%22%7D">The element with role "{0}" contains descendants with roles "{1}" which are ignored by browsers</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_role_allowed</strong>: Elements must have a valid 'role' per ARIA specification + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_role_allowed.html#%7B%22message%22%3A%22The%20role%20'%7B0%7D'%20defined%20on%20the%20element%20is%20not%20valid%20per%20ARIA%20specification%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">The role '{0}' defined on the element is not valid per ARIA specification</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_role_allowed.html#%7B%22message%22%3A%22Some%20of%20the%20roles%2C%20'%7B0%7D'%2C%20defined%20on%20the%20element%20are%20not%20valid%20per%20ARIA%20specification%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Some of the roles, '{0}', defined on the element are not valid per ARIA specification</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>a_text_purpose</strong>: Hyperlinks must have an accessible name for their purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/a_text_purpose.html#%7B%22message%22%3A%22Hyperlink%20has%20no%20link%20text%2C%20label%20or%20image%20with%20a%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_acc_name%22%7D">Hyperlink has no link text, label or image with a text alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_attribute_allowed</strong>: ARIA attributes must be valid for the element's role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_allowed.html#%7B%22message%22%3A%22The%20attribute(s)%20'%7B0%7D'%20referenced%20by%20the%20element%20%3C%7B1%7D%3E%20is%20not%20a%20valid%20ARIA%20state%20or%20property%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The attribute(s) '{0}' referenced by the element &lt;{1}&gt; is not a valid ARIA state or property</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_attribute_conflict</strong>: An ARIA attribute must not conflict with the corresponding HTML attribute + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_conflict.html#%7B%22message%22%3A%22The%20ARIA%20attribute%20%5C%22%7B0%7D%5C%22%20is%20in%20conflict%20with%20the%20corresponding%20HTML%20attribute%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_conflict%22%7D">The ARIA attribute "{0}" is in conflict with the corresponding HTML attribute "{1}"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_attribute_exists</strong>: When specifying a required ARIA attribute, the value must not be empty + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_exists.html#%7B%22message%22%3A%22The%20element%20attribute(s)%3A%20'%7B0%7D'%20value%20is%20empty%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_empty_attribute%22%7D">The element attribute(s): '{0}' value is empty</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_attribute_required</strong>: The required attributes for the element with a role must be defined + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_required.html#%7B%22message%22%3A%22Element%20with%20'%7B0%7D'%20role%20does%20not%20have%20the%20required%20ARIA%20attribute(s)%3A%20'%7B1%7D'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_missing%22%7D">Element with '{0}' role does not have the required ARIA attribute(s): '{1}'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_attribute_value_valid</strong>: ARIA property values must be valid + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_value_valid.html#%7B%22message%22%3A%22The%20value%20%5C%22%7B0%7D%5C%22%20specified%20for%20attribute%20'%7B1%7D'%20on%20element%20%3C%7B2%7D%3E%20is%20not%20valid%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The value "{0}" specified for attribute '{1}' on element &lt;{2}&gt; is not valid</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_eventhandler_role_valid</strong>: Elements with event handlers must have a valid ARIA role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_eventhandler_role_valid.html#%7B%22message%22%3A%22The%20%3C%7B0%7D%3E%20element%20with%20'%7B1%7D'%20does%20not%20have%20a%20valid%20ARIA%20role%20specified%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The &lt;{0}&gt; element with '{1}' does not have a valid ARIA role specified</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_hidden_nontabbable</strong>: A hidden element should not contain any tabbable elements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_hidden_nontabbable.html#%7B%22message%22%3A%22Element%20%5C%22%7B0%7D%5C%22%20should%20not%20be%20focusable%20within%20the%20subtree%20of%20an%20element%20with%20an%20'aria-hidden'%20attribute%20with%20value%20'true'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element "{0}" should not be focusable within the subtree of an element with an 'aria-hidden' attribute with value 'true'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_id_unique</strong>: The ARIA property must reference a non-empty unique id of an existing element that is visible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_id_unique.html#%7B%22message%22%3A%22The%20'id'%20%5C%22%7B0%7D%5C%22%20specified%20for%20the%20ARIA%20property%20'%7B1%7D'%20value%20is%20not%20valid%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The 'id' "{0}" specified for the ARIA property '{1}' value is not valid</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_widget_labelled</strong>: Interactive component must have a programmatically associated name + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_widget_labelled.html#%7B%22message%22%3A%22Interactive%20component%20with%20ARIA%20role%20'%7B0%7D'%20does%20not%20have%20a%20programmatically%20associated%20name%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Interactive component with ARIA role '{0}' does not have a programmatically associated name</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>combobox_design_valid</strong>: The combobox design pattern must be valid for ARIA 1.2 + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_design_valid.html#%7B%22message%22%3A%22The%20combobox%20design%20pattern%20is%20detected%20as%20ARIA%201.1%2C%20which%20is%20not%20allowed%20by%20ARIA%201.2%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1.1%22%7D">The combobox design pattern is detected as ARIA 1.1, which is not allowed by ARIA 1.2</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>frame_title_exists</strong>: Inline frames must have a unique, non-empty 'title' attribute + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/frame_title_exists.html#%7B%22message%22%3A%22Inline%20frame%20does%20not%20have%20a%20'title'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Inline frame does not have a 'title' attribute</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>label_content_exists</strong>: A &lt;label&gt; element must have non-empty descriptive text that identifies the purpose of the interactive component + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/label_content_exists.html#%7B%22message%22%3A%22The%20%3Clabel%3E%20element%20does%20not%20have%20descriptive%20text%20that%20identifies%20the%20expected%20input%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The &lt;label&gt; element does not have descriptive text that identifies the expected input</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>list_children_valid</strong>: List component with "group" role must limit children to &lt;listitem&gt; elements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/list_children_valid.html#%7B%22message%22%3A%22List%20component%20with%20%5C%22group%5C%22%20role%20has%20children%20that%20are%20not%20%3Clistitem%3E%20elements%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">List component with "group" role has children that are not &lt;listitem&gt; elements</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_aria_descendants</strong>: Table structure elements cannot specify an explicit 'role' within table containers + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_aria_descendants.html#%7B%22message%22%3A%22An%20explicit%20ARIA%20'role'%20is%20not%20valid%20for%20%3C%7B0%7D%3E%20element%20within%20an%20ARIA%20role%20'%7B1%7D'%20per%20the%20ARIA%20in%20HTML%20specification%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22explicit_role%22%7D">An explicit ARIA 'role' is not valid for &lt;{0}&gt; element within an ARIA role '{1}' per the ARIA in HTML specification</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_accessiblename_exists</strong>: Elements with certain roles should have accessible names + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_accessiblename_exists.html#%7B%22message%22%3A%22Element%20%3C%7B0%7D%3E%20with%20%5C%22%7B1%7D%5C%22%20role%20has%20no%20accessible%20name%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_no_accessible_name%22%7D">Element &lt;{0}&gt; with "{1}" role has no accessible name</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_attribute_redundant</strong>: An ARIA attribute should not be redundant with a corresponding HTML attribute + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_redundant.html#%7B%22message%22%3A%22The%20ARIA%20attribute%20%5C%22%7B0%7D%5C%22%20is%20redundant%20with%20the%20HTML%20attribute%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_redundant%22%7D">The ARIA attribute "{0}" is redundant with the HTML attribute "{1}"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>canvas_content_described</strong>: The &lt;canvas&gt; element may not be accessible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/canvas_content_described.html#%7B%22message%22%3A%22Verify%20accessibility%20of%20the%20%3Ccanvas%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify accessibility of the &lt;canvas&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>4.1.3 Status Messages [AA]</h2> + <div>In content implemented using markup languages, status messages can be programmatically determined through role or properties such that they can be presented to the user by assistive technologies without receiving focus.</div> + +</div><div> + <h2>HTML specification [NA]</h2> + <div>The HTML specification issues that cause accessibility issues may be covered by other rules and will be reported under those accessibility requirements. However, some non-conforming HTML specification issues are still reported.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>element_id_unique</strong>: Element 'id' attribute values must be unique within a document + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_id_unique.html#%7B%22message%22%3A%22The%20%3C%7B0%7D%3E%20element%20has%20the%20id%20%5C%22%7B1%7D%5C%22%20that%20is%20empty%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The &lt;{0}&gt; element has the id "{1}" that is empty</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_id_unique.html#%7B%22message%22%3A%22The%20%3C%7B0%7D%3E%20element%20has%20the%20id%20%5C%22%7B1%7D%5C%22%20that%20is%20already%20in%20use%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">The &lt;{0}&gt; element has the id "{1}" that is already in use</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>element_accesskey_unique</strong>: 'accesskey' attribute values on each element must be unique for the page + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_accesskey_unique.html#%7B%22message%22%3A%22'accesskey'%20attribute%20value%20on%20the%20element%20is%20not%20unique%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">'accesskey' attribute value on the element is not unique</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>element_attribute_deprecated</strong>: Avoid use of obsolete features if possible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_attribute_deprecated.html#%7B%22message%22%3A%22The%20%3C%7B0%7D%3E%20element%20is%20deprecated%20in%20HTML%205%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_elem%22%7D">The &lt;{0}&gt; element is deprecated in HTML 5</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_attribute_deprecated.html#%7B%22message%22%3A%22The%20HTML%20attribute(s)%20%5C%22%7B0%7D%5C%22%20is%20deprecated%20in%20HTML%205%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_attr%22%7D">The HTML attribute(s) "{0}" is deprecated in HTML 5</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_attribute_deprecated.html#%7B%22message%22%3A%22The%20HTML%20attribute(s)%20%5C%22%7B0%7D%5C%22%20is%20deprecated%20for%20the%20%3C%7B1%7D%3E%20element%20in%20HTML%205%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_elem_attr%22%7D">The HTML attribute(s) "{0}" is deprecated for the &lt;{1}&gt; element in HTML 5</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>ARIA specification [NA]</h2> + <div>The ARIA specification issues that cause accessibility issues may be covered by other rules and will be reported under those accessibility requirements. However, some non-conforming ARIA specification issues are still reported.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>aria_attribute_valid</strong>: ARIA attributes should be valid for the element and ARIA role to which they are assigned + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_valid.html#%7B%22message%22%3A%22The%20ARIA%20attributes%20%5C%22%7B0%7D%5C%22%20are%20not%20valid%20for%20the%20element%20%3C%7B1%7D%3E%20with%20ARIA%20role%20%5C%22%7B2%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_invalid_role_attr%22%7D">The ARIA attributes "{0}" are not valid for the element &lt;{1}&gt; with ARIA role "{2}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_valid.html#%7B%22message%22%3A%22The%20ARIA%20attributes%20%5C%22%7B0%7D%5C%22%20are%20not%20valid%20for%20the%20element%20%3C%7B1%7D%3E%20with%20implicit%20ARIA%20role%20%5C%22%7B2%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_invalid_implicit_role_attr%22%7D">The ARIA attributes "{0}" are not valid for the element &lt;{1}&gt; with implicit ARIA role "{2}"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_alt_null</strong>: When the intent is to mark an image as decorative with an empty 'alt' attribute, the 'aria' or 'title' attributes should not be used + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_null.html#%7B%22message%22%3A%22The%20image%20'alt'%20attribute%20is%20empty%2C%20but%20the%20'aria'%20label%20is%20not%20empty%20and%20overrides%20the%20'alt'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_aria_override%22%7D">The image 'alt' attribute is empty, but the 'aria' label is not empty and overrides the 'alt' attribute</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_attribute_deprecated</strong>: No deprecated ARIA role or attribute should be used + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_deprecated.html#%7B%22message%22%3A%22The%20ARIA%20role%20%5C%22%7B0%7D%5C%22%20is%20deprecated%20in%20the%20ARIA%20specification%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_aria_role%22%7D">The ARIA role "{0}" is deprecated in the ARIA specification</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_deprecated.html#%7B%22message%22%3A%22The%20ARIA%20attributes%20%5C%22%7B0%7D%5C%22%20are%20deprecated%20in%20the%20ARIA%20specification%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_aria_attr%22%7D">The ARIA attributes "{0}" are deprecated in the ARIA specification</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_deprecated.html#%7B%22message%22%3A%22The%20ARIA%20attributes%20%5C%22%7B0%7D%5C%22%20are%20deprecated%20for%20the%20role%20%5C%22%7B1%7D%5C%22%20in%20the%20ARIA%20specification%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_role_attr%22%7D">The ARIA attributes "{0}" are deprecated for the role "{1}" in the ARIA specification</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_accessiblename_exists</strong>: Elements with certain roles should have accessible names + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_accessiblename_exists.html#%7B%22message%22%3A%22Element%20%3C%7B0%7D%3E%20with%20%5C%22%7B1%7D%5C%22%20role%20has%20no%20accessible%20name%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_no_accessible_name_image%22%7D">Element &lt;{0}&gt; with "{1}" role has no accessible name</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_role_redundant</strong>: An explicitly-assigned ARIA role should not be redundant with the implicit role of the element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_role_redundant.html#%7B%22message%22%3A%22The%20explicitly-assigned%20ARIA%20role%20%5C%22%7B0%7D%5C%22%20is%20redundant%20with%20the%20implicit%20role%20of%20the%20element%20%3C%7B1%7D%3E%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_redundant%22%7D">The explicitly-assigned ARIA role "{0}" is redundant with the implicit role of the element &lt;{1}&gt;</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div> + </div><div id="IBM_Accessibility_next" style="padding: 1rem; display:none"> +<div> + <h2>1.1.1 Non-text Content [A]</h2> + <div>All non-text content that is presented to the user has a text alternative that serves the equivalent purpose.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>applet_alt_exists</strong>: &lt;applet&gt; elements must provide an 'alt' attribute and an alternative description + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/applet_alt_exists.html#%7B%22message%22%3A%22An%20%3Capplet%3E%20element%20does%20not%20have%20an%20'alt'%20attribute%20that%20provides%20a%20short%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">An &lt;applet&gt; element does not have an 'alt' attribute that provides a short text alternative</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/applet_alt_exists.html#%7B%22message%22%3A%22The%20'alt'%20attribute%20value%20for%20an%20%3Capplet%3E%20element%20duplicates%20the%20'code'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">The 'alt' attribute value for an &lt;applet&gt; element duplicates the 'code' attribute</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/applet_alt_exists.html#%7B%22message%22%3A%22An%20%3Capplet%3E%20element%20provides%20alternative%20text%2C%20but%20does%20not%20provide%20inner%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">An &lt;applet&gt; element provides alternative text, but does not provide inner content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_alt_redundant</strong>: The text alternative for an image within a link should not repeat the link text or adjacent link text + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_redundant.html#%7B%22message%22%3A%22Link%20text%20is%20repeated%20in%20an%20image%20'alt'%20value%20within%20the%20same%20link%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Link text is repeated in an image 'alt' value within the same link</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_redundant.html#%7B%22message%22%3A%22Link%20text%20of%20previous%20link%20is%20repeated%20in%20image%20'alt'%20value%20of%20a%20link%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Link text of previous link is repeated in image 'alt' value of a link</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_redundant.html#%7B%22message%22%3A%22Image%20'alt'%20value%20within%20a%20link%20is%20repeated%20in%20link%20text%20of%20the%20link%20after%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">Image 'alt' value within a link is repeated in link text of the link after</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_alt_valid</strong>: Images must have accessible names unless they are decorative or redundant + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_valid.html#%7B%22message%22%3A%22Image%20'alt'%20attribute%20value%20consists%20only%20of%20blank%20space(s)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_blank_alt%22%7D">Image 'alt' attribute value consists only of blank space(s)</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_valid.html#%7B%22message%22%3A%22The%20image%20has%20neither%20an%20accessible%20name%20nor%20is%20marked%20as%20decorative%20or%20redundant%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_no_alt%22%7D">The image has neither an accessible name nor is marked as decorative or redundant</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_valid.html#%7B%22message%22%3A%22The%20image%20does%20not%20have%20an%20'alt'%20attribute%20or%20ARIA%20label%2C%20and%20the%20'title'%20attribute%20value%20consists%20only%20of%20blank%20space(s)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_blank_title%22%7D">The image does not have an 'alt' attribute or ARIA label, and the 'title' attribute value consists only of blank space(s)</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>area_alt_exists</strong>: &lt;area&gt; elements in an image map must have a text alternative + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/area_alt_exists.html#%7B%22message%22%3A%22%3Carea%3E%20element%20in%20an%20image%20map%20has%20no%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">&lt;area&gt; element in an image map has no text alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>imagebutton_alt_exists</strong>: The &lt;input&gt; element of type "image" should have a text alternative + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/imagebutton_alt_exists.html#%7B%22message%22%3A%22The%20%3Cinput%3E%20element%20of%20type%20%5C%22image%5C%22%20has%20no%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail%22%7D">The &lt;input&gt; element of type "image" has no text alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>imagemap_alt_exists</strong>: An image map and each &lt;area&gt; element in an image map must have text alternative(s) + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/imagemap_alt_exists.html#%7B%22message%22%3A%22Image%20map%20or%20child%20%3Carea%3E%20has%20no%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Image map or child &lt;area&gt; has no text alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_alt_decorative</strong>: Image designated as decorative must have 'alt="" + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_decorative.html#%7B%22message%22%3A%22Image%20designated%20as%20decorative%20has%20non-null%20'alt'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Image designated as decorative has non-null 'alt' attribute</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_alt_null</strong>: When the intent is to mark an image as decorative with an empty 'alt' attribute, the 'aria' or 'title' attributes should not be used + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_null.html#%7B%22message%22%3A%22The%20image%20'alt'%20attribute%20is%20empty%2C%20but%20the%20'title'%20attribute%20is%20not%20empty%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_decorative%22%7D">The image 'alt' attribute is empty, but the 'title' attribute is not empty</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>object_text_exists</strong>: &lt;object&gt; element must have a text alternative for the content rendered by the object + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/object_text_exists.html#%7B%22message%22%3A%22An%20%3Cobject%3E%20element%20does%20not%20have%20a%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_no_text_alternative%22%7D">An &lt;object&gt; element does not have a text alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>application_content_accessible</strong>: Non-decorative static text and image content within an element with "application" role must be accessible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/application_content_accessible.html#%7B%22message%22%3A%22Verify%20that%20the%20non-decorative%20static%20text%20and%20image%20content%20within%20an%20element%20with%20%5C%22application%5C%22%20role%20are%20accessible%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the non-decorative static text and image content within an element with "application" role are accessible</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_alt_misuse</strong>: 'alt' attribute value must be a good inline replacement for the image + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_misuse.html#%7B%22message%22%3A%22Verify%20that%20the%20file%20name%20serves%20as%20a%20good%20inline%20replacement%20for%20the%20image%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the file name serves as a good inline replacement for the image</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_ismap_misuse</strong>: Server-side image map hot-spots must have duplicate text links + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_ismap_misuse.html#%7B%22message%22%3A%22Server-side%20image%20map%20hot-spots%20do%20not%20have%20duplicate%20text%20links%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Server-side image map hot-spots do not have duplicate text links</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_longdesc_misuse</strong>: The 'longdesc' attribute must reference HTML content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_longdesc_misuse.html#%7B%22message%22%3A%22Verify%20that%20the%20file%20designated%20by%20the%20'longdesc'%20attribute%20contains%20valid%20HTML%20content%20(file%20extension%20not%20recognized)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the file designated by the 'longdesc' attribute contains valid HTML content (file extension not recognized)</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>media_alt_exists</strong>: Audio or video on the page must have a short text alternative that describes the media content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_alt_exists.html#%7B%22message%22%3A%22Filename%20used%20as%20label%20for%20embedded%20audio%20or%20video%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Filename used as label for embedded audio or video</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>style_background_decorative</strong>: Images included by using CSS alone must not convey important information + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_background_decorative.html#%7B%22message%22%3A%22Verify%20the%20CSS%20background%20image%20does%20not%20convey%20important%20information%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify the CSS background image does not convey important information</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>style_highcontrast_visible</strong>: Windows high contrast mode must be supported when using CSS to include, position or alter non-decorative content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_highcontrast_visible.html#%7B%22message%22%3A%22Confirm%20Windows%20high%20contrast%20mode%20is%20supported%20when%20using%20CSS%20to%20include%2C%20position%20or%20alter%20non-decorative%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Confirm Windows high contrast mode is supported when using CSS to include, position or alter non-decorative content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>figure_label_exists</strong>: A &lt;figure&gt; element must have an associated label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/figure_label_exists.html#%7B%22message%22%3A%22The%20%3Cfigure%3E%20element%20does%20not%20have%20an%20associated%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The &lt;figure&gt; element does not have an associated label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>embed_alt_exists</strong>: Provide alternative content for &lt;embed&gt; elements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/embed_alt_exists.html#%7B%22message%22%3A%22Verify%20that%20the%20%3Cembed%3E%20element%20has%20alternative%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the &lt;embed&gt; element has alternative content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>embed_noembed_exists</strong>: &lt;embed&gt; elements should be immediately followed by a non-embedded element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/embed_noembed_exists.html#%7B%22message%22%3A%22Verify%20that%20the%20%3Cembed%3E%20element%20is%20immediately%20followed%20by%20a%20non-embedded%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the &lt;embed&gt; element is immediately followed by a non-embedded element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>media_alt_brief</strong>: Alternative text in 'alt' attribute should be brief (&lt;150 characters) + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_alt_brief.html#%7B%22message%22%3A%22Text%20alternative%20is%20more%20than%20150%20characters%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Text alternative is more than 150 characters</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>noembed_content_exists</strong>: &lt;noembed&gt; elements should contain descriptive text + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/noembed_content_exists.html#%7B%22message%22%3A%22Add%20descriptive%20text%20to%20the%20%3Cnoembed%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Add descriptive text to the &lt;noembed&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>canvas_content_described</strong>: The &lt;canvas&gt; element may not be accessible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/canvas_content_described.html#%7B%22message%22%3A%22Verify%20accessibility%20of%20the%20%3Ccanvas%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify accessibility of the &lt;canvas&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_alt_background</strong>: Background images that convey important information must have a text alternative that describes the image + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_background.html#%7B%22message%22%3A%22Verify%20important%20background%20image%20information%20has%20a%20text%20alternative%20in%20system%20high%20contrast%20mode%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify important background image information has a text alternative in system high contrast mode</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.2.1 Audio-only and Video-only (Prerecorded) [A]</h2> + <div>For prerecorded audio-only or video-only media, an alternative provides equivalent information.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>media_audio_transcribed</strong>: Audio information should also be available in text form + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_audio_transcribed.html#%7B%22message%22%3A%22Provide%20transcripts%20for%20audio%20files%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Provide transcripts for audio files</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.2.2 Captions (Prerecorded) [A]</h2> + <div>Captions are provided for all prerecorded audio content in synchronized media.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>caption_track_exists</strong>: A &lt;video&gt; element must have a text alternative for any meaningful audio content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/caption_track_exists.html#%7B%22message%22%3A%22Verify%20that%20captions%20are%20available%20for%20any%20meaningful%20audio%20or%20provide%20a%20caption%20track%20for%20the%20%3Cvideo%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that captions are available for any meaningful audio or provide a caption track for the &lt;video&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.2.3 Audio Description or Media Alternative (Prerecorded) [A]</h2> + <div>An alternative for time-based media or audio description of the prerecorded video content is provided for synchronized media.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>media_track_available</strong>: Pre-recorded media should have an audio track that describes visual information + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_track_available.html#%7B%22message%22%3A%22Verify%20availability%20of%20a%20user-selectable%20audio%20track%20with%20description%20of%20visual%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify availability of a user-selectable audio track with description of visual content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.2.4 Captions (Live) [AA]</h2> + <div>Captions are provided for all live audio content in synchronized media.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>media_live_captioned</strong>: Live media (streaming video with audio) should have captions for audio content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_live_captioned.html#%7B%22message%22%3A%22Verify%20captions%20are%20provided%20for%20live%20media%20(streaming%20video%20with%20audio)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify captions are provided for live media (streaming video with audio)</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.2.5 Audio Description (Prerecorded) [AA]</h2> + <div>Audio description is provided for all prerecorded video content in synchronized media.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>media_track_available</strong>: Pre-recorded media should have an audio track that describes visual information + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_track_available.html#%7B%22message%22%3A%22Verify%20availability%20of%20a%20user-selectable%20audio%20track%20with%20description%20of%20visual%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify availability of a user-selectable audio track with description of visual content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.3.1 Info and Relationships [A]</h2> + <div>Information, structure, and relationships conveyed through presentation can be programmatically determined or are available in text.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>input_checkboxes_grouped</strong>: Related sets of radio buttons or checkboxes should be programmatically grouped + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_checkboxes_grouped.html#%7B%22message%22%3A%22%7B0%7D%20input%20found%20that%20has%20the%20same%20name%2C%20%5C%22%7B2%7D%5C%22%20as%20a%20%7B1%7D%20input%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_controlnamemismatch%22%7D">{0} input found that has the same name, "{2}" as a {1} input</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_checkboxes_grouped.html#%7B%22message%22%3A%22%7B0%7D%20input%20is%20not%20in%20the%20group%20with%20another%20%7B0%7D%20with%20the%20name%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_notgroupedothergrouped%22%7D">{0} input is not in the group with another {0} with the name "{1}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_checkboxes_grouped.html#%7B%22message%22%3A%22%7B0%7D%20input%20and%20others%20with%20the%20name%20%5C%22%7B1%7D%5C%22%20are%20not%20grouped%20together%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_notgroupedothernotgrouped%22%7D">{0} input and others with the name "{1}" are not grouped together</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_checkboxes_grouped.html#%7B%22message%22%3A%22%7B0%7D%20input%20is%20in%20a%20different%20group%20than%20another%20%7B0%7D%20with%20the%20name%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_notsamegroup%22%7D">{0} input is in a different group than another {0} with the name "{1}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_checkboxes_grouped.html#%7B%22message%22%3A%22Verify%20that%20this%20ungrouped%20checkbox%20input%20is%20not%20related%20to%20other%20checkboxes%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_lonecheckbox%22%7D">Verify that this ungrouped checkbox input is not related to other checkboxes</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_checkboxes_grouped.html#%7B%22message%22%3A%22Verify%20that%20this%20un-named%2C%20ungrouped%20checkbox%20input%20is%20not%20related%20to%20other%20checkboxes%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_unnamedcheckbox%22%7D">Verify that this un-named, ungrouped checkbox input is not related to other checkboxes</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_headers_ref_valid</strong>: The 'headers' attribute should refer to a valid cell in the same table + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_headers_ref_valid.html#%7B%22message%22%3A%22The%20'headers'%20attribute%20value%20%5C%22%7B0%7D%5C%22%20does%20not%20reference%20a%20valid%20'id'%20in%20this%20document%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The 'headers' attribute value "{0}" does not reference a valid 'id' in this document</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_headers_ref_valid.html#%7B%22message%22%3A%22The%20'headers'%20attribute%20value%20%5C%22%7B0%7D%5C%22%20refers%20to%20itself%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">The 'headers' attribute value "{0}" refers to itself</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_headers_ref_valid.html#%7B%22message%22%3A%22The%20'headers'%20attribute%20value%20%5C%22%7B0%7D%5C%22%20does%20not%20refer%20to%20a%20cell%20in%20the%20same%20table%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">The 'headers' attribute value "{0}" does not refer to a cell in the same table</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_headers_ref_valid.html#%7B%22message%22%3A%22The%20'headers'%20attribute%20value%20%5C%22%7B0%7D%5C%22%20does%20not%20refer%20to%20a%20cell%20indicated%20with%20%3Cth%3E%20or%20a%20role%20of%20%5C%22columnheader%5C%22%20or%20%5C%22rowheader%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_4%22%7D">The 'headers' attribute value "{0}" does not refer to a cell indicated with &lt;th&gt; or a role of "columnheader" or "rowheader"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>fieldset_label_valid</strong>: Groups with nested inputs must have unique accessible name + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_label_valid.html#%7B%22message%22%3A%22Group%2FFieldset%20does%20not%20have%20an%20accessible%20name%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Group/Fieldset does not have an accessible name</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_label_valid.html#%7B%22message%22%3A%22Group%2FFieldset%20%5C%22%7B0%7D%5C%22%20has%20a%20duplicate%20name%20to%20another%20group%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Group/Fieldset "{0}" has a duplicate name to another group</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_scope_valid</strong>: Value for 'scope' attribute must be "row", "col", "rowgroup", or "colgroup" + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_scope_valid.html#%7B%22message%22%3A%22Value%20provided%20is%20invalid%20for%20the%20'scope'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Value provided is invalid for the 'scope' attribute</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_scope_valid.html#%7B%22message%22%3A%22The%20'scope'%20attribute%20should%20only%20be%20used%20on%20a%20%3Cth%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">The 'scope' attribute should only be used on a &lt;th&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_hidden_nontabbable</strong>: A hidden element should not contain any tabbable elements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_hidden_nontabbable.html#%7B%22message%22%3A%22Element%20%5C%22%7B0%7D%5C%22%20should%20not%20be%20focusable%20within%20the%20subtree%20of%20an%20element%20with%20an%20'aria-hidden'%20attribute%20with%20value%20'true'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element "{0}" should not be focusable within the subtree of an element with an 'aria-hidden' attribute with value 'true'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_parent_required</strong>: Each element with an implicit or explicit role must be contained within a valid element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_parent_required.html#%7B%22message%22%3A%22Element%20with%20%5C%22%7B0%7D%5C%22%20role%20is%20not%20contained%20in%20or%20owned%20by%20an%20element%20with%20one%20of%20the%20following%20roles%3A%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element with "{0}" role is not contained in or owned by an element with one of the following roles: "{1}"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>form_label_unique</strong>: Form controls should have exactly one label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/form_label_unique.html#%7B%22message%22%3A%22Form%20control%20has%20more%20than%20one%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Form control has more than one label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>label_ref_valid</strong>: The 'for' attribute for a label should reference a non-empty, unique 'id' attribute of a valid element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/label_ref_valid.html#%7B%22message%22%3A%22The%20value%20%5C%22%7B0%7D%5C%22%20of%20the%20'for'%20attribute%20is%20not%20the%20'id'%20of%20a%20valid%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_invalid%22%7D">The value "{0}" of the 'for' attribute is not the 'id' of a valid element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_caption_empty</strong>: A &lt;caption&gt; element for a &lt;table> element must contain descriptive text + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_caption_empty.html#%7B%22message%22%3A%22The%20%3Ctable%3E%20element%20has%20an%20empty%20%3Ccaption%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The &lt;table&gt; element has an empty &lt;caption> element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_caption_nested</strong>: The &lt;caption&gt; element must be nested inside the associated &lt;table> element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_caption_nested.html#%7B%22message%22%3A%22%3Ccaption%3E%20element%20is%20not%20nested%20inside%20a%20%3Ctable%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">&lt;caption&gt; element is not nested inside a &lt;table> element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_headers_exists</strong>: Data table must identify headers + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_headers_exists.html#%7B%22message%22%3A%22Table%20has%20no%20headers%20identified%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Table has no headers identified</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_headers_related</strong>: For a complex data table, all &lt;th&gt; and &lt;td> elements must be related via 'header' or 'scope' attributes + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_headers_related.html#%7B%22message%22%3A%22Complex%20table%20does%20not%20have%20headers%20for%20each%20cell%20properly%20defined%20with%20'header'%20or%20'scope'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Complex table does not have headers for each cell properly defined with 'header' or 'scope'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_structure_misuse</strong>: Table elements with 'role="presentation" or 'role="none" should not have structural elements or attributes + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_structure_misuse.html#%7B%22message%22%3A%22The%20%3C%7B0%7D%3E%20element%20with%20%5C%22presentation%5C%22%20role%20or%20%5C%22none%5C%22%20role%20has%20structural%20element(s)%20and%2For%20attribute(s)%20'%7B1%7D'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The &lt;{0}&gt; element with "presentation" role or "none" role has structural element(s) and/or attribute(s) '{1}'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_summary_redundant</strong>: The table summary must not duplicate the caption + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_summary_redundant.html#%7B%22message%22%3A%22The%20table%20summary%20duplicates%20the%20caption%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The table summary duplicates the caption</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>blockquote_cite_exists</strong>: Use &lt;blockquote&gt; only for quotations, not indentation + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/blockquote_cite_exists.html#%7B%22message%22%3A%22Verify%20that%20%3Cblockquote%3E%20should%20have%20a%20'cite'%20attribute%20and%20not%20be%20used%20for%20indentation%20only%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that &lt;blockquote&gt; should have a 'cite' attribute and not be used for indentation only</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>heading_markup_misuse</strong>: Heading elements must not be used for presentation + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/heading_markup_misuse.html#%7B%22message%22%3A%22Verify%20that%20the%20heading%20element%20is%20a%20genuine%20heading%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the heading element is a genuine heading</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>list_markup_review</strong>: Proper HTML elements should be used to create a list + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/list_markup_review.html#%7B%22message%22%3A%22Verify%20this%20is%20a%20list%20and%20if%20so%2C%20modify%20to%20use%20proper%20HTML%20elements%20for%20the%20list%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_list%22%7D">Verify this is a list and if so, modify to use proper HTML elements for the list</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>text_block_heading</strong>: Heading text should use a heading element or role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_block_heading.html#%7B%22message%22%3A%22Confirm%20this%20text%20'%7B0%7D'%20is%20used%20as%20a%20heading%20and%20if%20so%2C%20modify%20to%20use%20a%20heading%20element%20or%20role%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_heading%22%7D">Confirm this text '{0}' is used as a heading and if so, modify to use a heading element or role</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>text_quoted_correctly</strong>: Quotations should be marked with &lt;q&gt; or &lt;blockquote> elements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_quoted_correctly.html#%7B%22message%22%3A%22If%20the%20following%20text%20is%20a%20quotation%2C%20mark%20it%20as%20a%20%3Cq%3E%20or%20%3Cblockquote%3E%20element%3A%20%7B0%7D%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">If the following text is a quotation, mark it as a &lt;q&gt; or &lt;blockquote> element: {0}</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>fieldset_legend_valid</strong>: &lt;fieldset&gt; elements should have a single, non-empty &lt;legend> as a label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_legend_valid.html#%7B%22message%22%3A%22%3Cfieldset%3E%20element%20does%20not%20have%20a%20%3Clegend%3E%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">&lt;fieldset&gt; element does not have a &lt;legend></a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_legend_valid.html#%7B%22message%22%3A%22%3Cfieldset%3E%20element%20has%20more%20than%20one%20%3Clegend%3E%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">&lt;fieldset&gt; element has more than one &lt;legend></a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_legend_valid.html#%7B%22message%22%3A%22%3Cfieldset%3E%20element%20%3Clegend%3E%20is%20empty%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">&lt;fieldset&gt; element &lt;legend> is empty</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_child_valid</strong>: An element with an ARIA role must own a required child + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_child_valid.html#%7B%22message%22%3A%22The%20element%20with%20role%20%5C%22%7B0%7D%5C%22%20does%20not%20own%20any%20child%20element%20with%20any%20of%20the%20following%20role(s)%3A%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_no_child%22%7D">The element with role "{0}" does not own any child element with any of the following role(s): "{1}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_child_valid.html#%7B%22message%22%3A%22The%20element%20with%20role%20%5C%22%7B0%7D%5C%22%20owns%20the%20child%20element%20with%20the%20role%20%5C%22%7B1%7D%5C%22%20that%20is%20not%20one%20of%20the%20allowed%20role(s)%3A%20%5C%22%7B2%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_invalid_child%22%7D">The element with role "{0}" owns the child element with the role "{1}" that is not one of the allowed role(s): "{2}"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_fields_grouped</strong>: Groups of logically related input elements should be contained within a &lt;fieldset&gt; element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_fields_grouped.html#%7B%22message%22%3A%22Use%20the%20%3Cfieldset%3E%20element%20to%20group%20logically%20related%20input%20elements%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Use the &lt;fieldset&gt; element to group logically related input elements</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>list_structure_proper</strong>: List elements should only be used for lists of related items + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/list_structure_proper.html#%7B%22message%22%3A%22List%20element%20is%20missing%20or%20improperly%20structured%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">List element is missing or improperly structured</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>select_options_grouped</strong>: Groups of related options within a selection list should be grouped with &lt;optgroup&gt; + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/select_options_grouped.html#%7B%22message%22%3A%22Group%20of%20related%20options%20may%20need%20%3Coptgroup%3E%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Group of related options may need &lt;optgroup&gt;</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_layout_linearized</strong>: Avoid using tables to format text documents in columns unless the table can be linearized + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_layout_linearized.html#%7B%22message%22%3A%22Verify%20table%20is%20not%20being%20used%20to%20format%20text%20content%20in%20columns%20unless%20the%20table%20can%20be%20linearized%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify table is not being used to format text content in columns unless the table can be linearized</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.3.2 Meaningful Sequence [A]</h2> + <div>When the sequence in which content is presented affects its meaning, a correct reading sequence can be programmatically determined.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>dir_attribute_valid</strong>: 'dir' attribute value must be "ltr", "rtl", or "auto" + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/dir_attribute_valid.html#%7B%22message%22%3A%22Invalid%20value%20used%20for%20the%20'dir'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Invalid value used for the 'dir' attribute</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>text_whitespace_valid</strong>: Space characters should not be used to control spacing within a word + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_whitespace_valid.html#%7B%22message%22%3A%22Space%20characters%20should%20not%20be%20used%20to%20create%20space%20between%20the%20letters%20of%20a%20word%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_text%22%7D">Space characters should not be used to create space between the letters of a word</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>style_highcontrast_visible</strong>: Windows high contrast mode must be supported when using CSS to include, position or alter non-decorative content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_highcontrast_visible.html#%7B%22message%22%3A%22Confirm%20Windows%20high%20contrast%20mode%20is%20supported%20when%20using%20CSS%20to%20include%2C%20position%20or%20alter%20non-decorative%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Confirm Windows high contrast mode is supported when using CSS to include, position or alter non-decorative content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.3.3 Sensory Characteristics [A]</h2> + <div>Instructions provided for understanding and operating content do not rely solely on sensory characteristics of components such as shape, size, visual location, orientation, or sound.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>text_sensory_misuse</strong>: Instructions should be meaningful without relying solely on shape, size, or location words + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_sensory_misuse.html#%7B%22message%22%3A%22Confirm%20the%20word(s)%20'%7B0%7D'%20of%20the%20user%20instruction%20is%20used%20to%20indicate%20a%20logical%20rather%20than%20visual%20position%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_position%22%7D">Confirm the word(s) '{0}' of the user instruction is used to indicate a logical rather than visual position</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_sensory_misuse.html#%7B%22message%22%3A%22Confirm%20the%20user%20instruction%20is%20still%20understandable%20without%20the%20word(s)%20'%7B0%7D'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_other%22%7D">Confirm the user instruction is still understandable without the word(s) '{0}'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.3.4 Orientation [AA]</h2> + <div>Content does not restrict its view and operation to a single display orientation, such as portrait or landscape.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>element_orientation_unlocked</strong>: Elements should not be restricted to either landscape or portrait orientation using CSS transform property + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_orientation_unlocked.html#%7B%22message%22%3A%22The%20element%20%3C%7B0%7D%3E%20is%20restricted%20to%20either%20landscape%20or%20portrait%20orientation%20using%20CSS%20transform%20property%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_locked%22%7D">The element &lt;{0}&gt; is restricted to either landscape or portrait orientation using CSS transform property</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.3.5 Identify Input Purpose [AA]</h2> + <div>The purpose of each input field that collects information about the user can be programmatically determined when the field serves a common purpose.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>input_autocomplete_valid</strong>: The 'autocomplete' attribute's token(s) must be appropriate for the input form field + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_autocomplete_valid.html#%7B%22message%22%3A%22The%20'autocomplete'%20attribute's%20token(s)%20are%20not%20appropriate%20for%20the%20input%20form%20field%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_inappropriate%22%7D">The 'autocomplete' attribute's token(s) are not appropriate for the input form field</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_autocomplete_valid.html#%7B%22message%22%3A%22The%20'autocomplete'%20attribute's%20token(s)%20are%20not%20appropriate%20for%20an%20input%20form%20field%20of%20any%20type%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_invalid%22%7D">The 'autocomplete' attribute's token(s) are not appropriate for an input form field of any type</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_autocomplete_valid.html#%7B%22message%22%3A%22The%20'autocomplete'%20attribute%20has%20an%20incorrect%20value%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_incorrect%22%7D">The 'autocomplete' attribute has an incorrect value</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.1 Use of Color [A]</h2> + <div>Color is not used as the only visual means of conveying information, indicating an action, prompting a response, or distinguishing a visual element.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>form_font_color</strong>: Combine color and descriptive markup to indicate required form fields + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/form_font_color.html#%7B%22message%22%3A%22Check%20color%20is%20not%20used%20as%20the%20only%20visual%20means%20to%20convey%20which%20fields%20are%20required%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Check color is not used as the only visual means to convey which fields are required</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>style_color_misuse</strong>: Combine color and descriptive markup to convey information + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_color_misuse.html#%7B%22message%22%3A%22Verify%20color%20is%20not%20used%20as%20the%20only%20visual%20means%20of%20conveying%20information%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify color is not used as the only visual means of conveying information</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.2 Audio Control [A]</h2> + <div>If any audio plays automatically for more than 3 seconds, either a mechanism is available to pause or stop the audio, or a mechanism is available to control audio volume independently from the overall system volume level.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>media_autostart_controllable</strong>: Mechanism must be available to pause or stop and control the volume of the audio that plays automatically + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_autostart_controllable.html#%7B%22message%22%3A%22Verify%20there%20is%20a%20mechanism%20to%20pause%20or%20stop%20and%20control%20the%20volume%20for%20the%20audio%20that%20plays%20automatically%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify there is a mechanism to pause or stop and control the volume for the audio that plays automatically</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.3 Contrast (Minimum) [AA]</h2> + <div>The visual presentation of text and images of text has a contrast ratio of at least 4.5:1, with a 3:1 ratio for large-scale text.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>text_contrast_sufficient</strong>: The contrast ratio of text with its background must meet WCAG AA requirements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_contrast_sufficient.html#%7B%22message%22%3A%22Text%20contrast%20of%20%7B0%7D%20with%20its%20background%20is%20less%20than%20the%20WCAG%20AA%20minimum%20requirements%20for%20text%20of%20size%20%7B1%7Dpx%20and%20weight%20of%20%7B2%7D%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_contrast%22%7D">Text contrast of {0} with its background is less than the WCAG AA minimum requirements for text of size {1}px and weight of {2}</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_contrast_sufficient.html#%7B%22message%22%3A%22The%20foreground%20text%20and%20its%20background%20color%20are%20both%20detected%20as%20%7B3%7D.%20Verify%20the%20text%20meets%20the%20WCAG%20AA%20requirements%20for%20minimum%20contrast%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_same_color%22%7D">The foreground text and its background color are both detected as {3}. Verify the text meets the WCAG AA requirements for minimum contrast</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_contrast_sufficient.html#%7B%22message%22%3A%22Verify%20the%20contrast%20ratio%20of%20the%20text%20against%20the%20lightest%20and%20the%20darkest%20colors%20of%20the%20background%20meets%20the%20WCAG%20AA%20minimum%20requirements%20for%20text%20of%20size%20%7B1%7Dpx%20and%20weight%20of%20%7B2%7D%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_graphic_background%22%7D">Verify the contrast ratio of the text against the lightest and the darkest colors of the background meets the WCAG AA minimum requirements for text of size {1}px and weight of {2}</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_contrast_sufficient.html#%7B%22message%22%3A%22Verify%20the%20contrast%20ratio%20of%20the%20text%20with%20shadow%20meets%20the%20WCAG%20AA%20minimum%20requirements%20for%20text%20of%20size%20%7B1%7Dpx%20and%20weight%20of%20%7B2%7D%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_text_shadow%22%7D">Verify the contrast ratio of the text with shadow meets the WCAG AA minimum requirements for text of size {1}px and weight of {2}</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.4 Resize text [AA]</h2> + <div>Text can be resized without assistive technology up to 200 percent without loss of content or functionality.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>style_viewport_resizable</strong>: Text must scale up to 200% without loss of content or functionality + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_viewport_resizable.html#%7B%22message%22%3A%22Verify%20that%20text%20sized%20using%20viewport%20units%20can%20be%20resized%20up%20to%20200%25%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that text sized using viewport units can be resized up to 200%</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>meta_viewport_zoomable</strong>: The 'meta[name=viewport]' should not prevent the browser zooming the content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/meta_viewport_zoomable.html#%7B%22message%22%3A%22Confirm%20the%20'meta%5Bname%3Dviewport%5D'%20with%20%5C%22%7B0%7D%5C%22%20can%20be%20zoomed%20by%20user%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_zoomable%22%7D">Confirm the 'meta[name=viewport]' with "{0}" can be zoomed by user</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.5 Images of Text [AA]</h2> + <div>If the technologies being used can achieve the visual presentation, text should not be used to convey information rather than images of text.</div> + +</div><div> + <h2>1.4.10 Reflow [AA]</h2> + <div>Content can reflow without loss of information or functionality, and without requiring scrolling in two dimensions.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>style_viewport_resizable</strong>: Text must scale up to 200% without loss of content or functionality + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_viewport_resizable.html#%7B%22message%22%3A%22Verify%20that%20text%20sized%20using%20viewport%20units%20can%20be%20resized%20up%20to%20200%25%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that text sized using viewport units can be resized up to 200%</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.11 Non-text Contrast [AA]</h2> + <div>The parts of graphical objects required to understand the content, and the visual information required to identify UI components and states, have a contrast ratio of at least 3:1 against adjacent colors.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>style_highcontrast_visible</strong>: Windows high contrast mode must be supported when using CSS to include, position or alter non-decorative content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_highcontrast_visible.html#%7B%22message%22%3A%22Confirm%20Windows%20high%20contrast%20mode%20is%20supported%20when%20using%20CSS%20to%20include%2C%20position%20or%20alter%20non-decorative%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Confirm Windows high contrast mode is supported when using CSS to include, position or alter non-decorative content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.12 Text Spacing [AA]</h2> + <div>No loss of content or functionality occurs when users change letter, word and paragraph spacing, as well as line height.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>text_spacing_valid</strong>: CSS !important should not be used in inline style to control letter or word spacing or line height + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_spacing_valid.html#%7B%22message%22%3A%22CSS%20!important%20should%20not%20be%20used%20in%20inline%20%E2%80%98letter-spacing%E2%80%99%20style%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_letter_spacing_style%22%7D">CSS !important should not be used in inline ‘letter-spacing’ style</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_spacing_valid.html#%7B%22message%22%3A%22CSS%20!important%20should%20not%20be%20used%20in%20inline%20%E2%80%98word-spacing%E2%80%99%20style%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_word_spacing_style%22%7D">CSS !important should not be used in inline ‘word-spacing’ style</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_spacing_valid.html#%7B%22message%22%3A%22CSS%20!important%20should%20not%20be%20used%20in%20inline%20%E2%80%98line-height%E2%80%99%20style%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_line_height_style%22%7D">CSS !important should not be used in inline ‘line-height’ style</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.13 Content on Hover or Focus [AA]</h2> + <div>Where hover or focus actions cause additional content to become visible and hidden, the additional content is dismissable, hoverable and persistent.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>style_hover_persistent</strong>: The pointer should be able to move over content displayed on hover + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_hover_persistent.html#%7B%22message%22%3A%22Confirm%20the%20pointer%20can%20be%20positioned%20over%20the%20displayed%20element%2C%20not%20just%20the%20trigger%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Confirm the pointer can be positioned over the displayed element, not just the trigger</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_hover_persistent.html#%7B%22message%22%3A%22Confirm%20the%20pointer%20can%20be%20positioned%20over%20all%20the%20information%20displayed%20on%20hover%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_2%22%7D">Confirm the pointer can be positioned over all the information displayed on hover</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_hover_persistent.html#%7B%22message%22%3A%22Confirm%20the%20margin%20style%20attribute%20has%20not%20prevented%20the%20pointer%20from%20hovering%20over%20the%20displayed%20element%2C%20not%20just%20the%20trigger%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_3%22%7D">Confirm the margin style attribute has not prevented the pointer from hovering over the displayed element, not just the trigger</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.1.1 Keyboard [A]</h2> + <div>All functionality of the content is operable through a keyboard interface without requiring specific timings for individual keystrokes.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>aria_activedescendant_tabindex_valid</strong>: Element using 'aria-activedescendant' property should be tabbable + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_activedescendant_tabindex_valid.html#%7B%22message%22%3A%22The%20%3C%7B0%7D%3E%20element%20using%20'aria-activedescendant'%20set%20to%20%5C%22%7B1%7D%5C%22%20is%20not%20tabbable%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The &lt;{0}&gt; element using 'aria-activedescendant' set to "{1}" is not tabbable</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_child_tabbable</strong>: UI component must have at least one tabbable descendant for keyboard access + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_child_tabbable.html#%7B%22message%22%3A%22None%20of%20the%20descendent%20elements%20with%20%5C%22%7B1%7D%5C%22%20role%20is%20tabbable%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_missing_child%22%7D">None of the descendent elements with "{1}" role is tabbable</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>element_scrollable_tabbable</strong>: Scrollable elements should be tabbable or contain tabbable content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_scrollable_tabbable.html#%7B%22message%22%3A%22The%20scrollable%20element%20%3C%7B0%7D%3E%20with%20non-interactive%20content%20is%20not%20tabbable%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_scrollable%22%7D">The scrollable element &lt;{0}&gt; with non-interactive content is not tabbable</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>iframe_interactive_tabbable</strong>: Iframe with interactive content should not be excluded from tab order using tabindex + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/iframe_interactive_tabbable.html#%7B%22message%22%3A%22The%20%3Ciframe%3E%20with%20interactive%20content%20is%20excluded%20from%20tab%20order%20using%20tabindex%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_invalid%22%7D">The &lt;iframe&gt; with interactive content is excluded from tab order using tabindex</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>application_content_accessible</strong>: Non-decorative static text and image content within an element with "application" role must be accessible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/application_content_accessible.html#%7B%22message%22%3A%22Verify%20that%20the%20non-decorative%20static%20text%20and%20image%20content%20within%20an%20element%20with%20%5C%22application%5C%22%20role%20are%20accessible%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the non-decorative static text and image content within an element with "application" role are accessible</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_keyboard_handler_exists</strong>: Interactive WAI_ARIA UI components must provide keyboard access + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_keyboard_handler_exists.html#%7B%22message%22%3A%22Verify%20the%20%3C%7B0%7D%3E%20element%20with%20%5C%22%7B1%7D%5C%22%20role%20has%20keyboard%20access%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_no_keyboard_access%22%7D">Verify the &lt;{0}&gt; element with "{1}" role has keyboard access</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>script_focus_blur_review</strong>: Scripting must not remove focus from content that normally receives focus + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/script_focus_blur_review.html#%7B%22message%22%3A%22Verify%20script%20does%20not%20remove%20focus%20from%20content%20that%20normally%20receives%20focus%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify script does not remove focus from content that normally receives focus</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>script_onclick_misuse</strong>: Scripts should not be used to emulate links + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/script_onclick_misuse.html#%7B%22message%22%3A%22Possible%20use%20of%20a%20script%20to%20emulate%20a%20link%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Possible use of a script to emulate a link</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>widget_tabbable_exists</strong>: Component must have at least one tabbable element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/widget_tabbable_exists.html#%7B%22message%22%3A%22Component%20with%20%5C%22%7B0%7D%5C%22%20role%20does%20not%20have%20a%20tabbable%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22fail_no_tabbable%22%7D">Component with "{0}" role does not have a tabbable element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>widget_tabbable_single</strong>: Components with a widget role must have no more than one tabbable element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/widget_tabbable_single.html#%7B%22message%22%3A%22Component%20with%20%5C%22%7B0%7D%5C%22%20role%20has%20more%20than%20one%20tabbable%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_multiple_tabbable%22%7D">Component with "{0}" role has more than one tabbable element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>media_keyboard_controllable</strong>: Media using &lt;audio&gt; and/or &lt;video> elements must have keyboard accessible controls + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_keyboard_controllable.html#%7B%22message%22%3A%22Verify%20media%20using%20%3Caudio%3E%20and%2For%20%3Cvideo%3E%20elements%20have%20keyboard%20accessible%20controls%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify media using &lt;audio&gt; and/or &lt;video> elements have keyboard accessible controls</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>script_onclick_avoid</strong>: Scripts should not be used to emulate links + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/script_onclick_avoid.html#%7B%22message%22%3A%22Verify%20that%20'onclick'%20events%20are%20not%20used%20in%20script%20to%20emulate%20a%20link%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that 'onclick' events are not used in script to emulate a link</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>canvas_content_described</strong>: The &lt;canvas&gt; element may not be accessible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/canvas_content_described.html#%7B%22message%22%3A%22Verify%20accessibility%20of%20the%20%3Ccanvas%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify accessibility of the &lt;canvas&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>element_mouseevent_keyboard</strong>: All interactive content with mouse event handlers must have equivalent keyboard access + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_mouseevent_keyboard.html#%7B%22message%22%3A%22Confirm%20the%20%3C%7B0%7D%3E%20element%20with%20mouse%20event%20handler(s)%20'%7B1%7D'%20has%20a%20corresponding%20keyboard%20handler(s)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Confirm the &lt;{0}&gt; element with mouse event handler(s) '{1}' has a corresponding keyboard handler(s)</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.1.2 No Keyboard Trap [A]</h2> + <div>If keyboard focus can be moved to a component using a keyboard interface, then focus can be moved away from that component using only a keyboard interface, and, if it requires more than unmodified arrow or tab keys or other standard exit methods, the user is advised of the method for moving focus away.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>download_keyboard_controllable</strong>: File download mechanisms should be keyboard-operable and preserve page focus location + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/download_keyboard_controllable.html#%7B%22message%22%3A%22Verify%20that%20the%20file%20download%20mechanism%20does%20not%20cause%20a%20keyboard%20trap%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify that the file download mechanism does not cause a keyboard trap</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.1.4 Character Key Shortcuts [A]</h2> + <div>If a keyboard shortcut is implemented using only letter, punctuation, number or symbol characters, then the shortcut can be turned off, remapped or activated only on focus.</div> + +</div><div> + <h2>2.2.1 Timing Adjustable [A]</h2> + <div>For each time limit that is set by the content, the user can turn off, adjust, or extend the limit.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>meta_redirect_optional</strong>: Page should not automatically refresh without warning or option to turn it off or adjust the time limit + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/meta_redirect_optional.html#%7B%22message%22%3A%22Check%20page%20does%20not%20automatically%20refresh%20without%20warning%20or%20options%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail%22%7D">Check page does not automatically refresh without warning or options</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/meta_redirect_optional.html#%7B%22message%22%3A%22Check%20page%20does%20not%20automatically%20refresh%20without%20warning%20or%20options%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_longrefresh%22%7D">Check page does not automatically refresh without warning or options</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>meta_refresh_delay</strong>: Pages should not refresh automatically + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/meta_refresh_delay.html#%7B%22message%22%3A%22Verify%20page%20is%20not%20being%20caused%20to%20refresh%20automatically%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify page is not being caused to refresh automatically</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.2.2 Pause, Stop, Hide [A]</h2> + <div>For moving, blinking, scrolling, or auto-updating information, the user can pause, stop, hide or adjust the information.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>blink_elem_deprecated</strong>: Content that blinks persistently must not be used + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/blink_elem_deprecated.html#%7B%22message%22%3A%22Content%20found%20that%20blinks%20persistently%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Content found that blinks persistently</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>marquee_elem_avoid</strong>: The &lt;marquee&gt; element is obsolete and should not be used + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/marquee_elem_avoid.html#%7B%22message%22%3A%22Scrolling%20content%20found%20that%20uses%20the%20obsolete%20%3Cmarquee%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Scrolling content found that uses the obsolete &lt;marquee&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>blink_css_review</strong>: Do not use the "blink" value of the 'text-decoration' property for longer than five seconds + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/blink_css_review.html#%7B%22message%22%3A%22Check%20the%20%5C%22blink%5C%22%20value%20of%20the%20CSS%20'text-decoration'%20property%20is%20not%20used%20for%20more%20than%20than%20five%20seconds%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Check the "blink" value of the CSS 'text-decoration' property is not used for more than than five seconds</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.3.1 Three Flashes or Below Threshold [A]</h2> + <div>Content does not contain anything that flashes more than three times in any one second period, or the flash is below the general flash and red flash thresholds.</div> + +</div><div> + <h2>2.4.1 Bypass Blocks [A]</h2> + <div>A mechanism is available to bypass blocks of content that are repeated on multiple Web pages.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>aria_application_label_unique</strong>: Each element with "application" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_application_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22application%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "application" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_application_labelled</strong>: Each element with "application" role must have a label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_application_labelled.html#%7B%22message%22%3A%22Element%20with%20%5C%22application%5C%22%20role%20does%20not%20have%20a%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element with "application" role does not have a label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_article_label_unique</strong>: Each element with "article" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_article_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22article%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "article" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_banner_label_unique</strong>: Each element with "banner" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_banner_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22banner%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "banner" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_banner_single</strong>: A page, document, or application should only have one element with "banner" role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_banner_single.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22banner%5C%22%20role%20found%20on%20the%20page%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "banner" role found on the page</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_complementary_label_unique</strong>: Each element with "complementary" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_complementary_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22complementary%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "complementary" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_complementary_labelled</strong>: Each element with "complementary" role must have a label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_complementary_labelled.html#%7B%22message%22%3A%22Element%20with%20%5C%22complementary%5C%22%20role%20does%20not%20have%20a%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element with "complementary" role does not have a label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_content_in_landmark</strong>: All content must reside within an element with a landmark role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_content_in_landmark.html#%7B%22message%22%3A%22Content%20is%20not%20within%20a%20landmark%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Content is not within a landmark element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_contentinfo_label_unique</strong>: Each element with "contentinfo" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_contentinfo_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22contentinfo%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "contentinfo" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_contentinfo_single</strong>: A page, document, or application should only have one element with "contentinfo" role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_contentinfo_single.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22contentinfo%5C%22%20role%20found%20on%20the%20page%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "contentinfo" role found on the page</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_document_label_unique</strong>: Each element with "document" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_document_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22document%5C%22%20roles%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "document" roles do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_form_label_unique</strong>: Each element with "form" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_form_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22form%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "form" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_landmark_name_unique</strong>: Each landmark should have a unique 'aria-labelledby' or 'aria-label' or be nested in a different parent region + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_landmark_name_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22%7B0%7D%5C%22%20landmarks%20within%20the%20same%20parent%20region%20are%20not%20distinguished%20from%20one%20another%20because%20they%20have%20the%20same%20%5C%22%7B1%7D%5C%22%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_0%22%7D">Multiple elements with "{0}" landmarks within the same parent region are not distinguished from one another because they have the same "{1}" label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_main_label_unique</strong>: Each element with "main" role must have unique label that describes its purposes + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_main_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22main%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "main" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_navigation_label_unique</strong>: Each element with "navigation" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_navigation_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22navigation%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "navigation" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_region_label_unique</strong>: Each element with "region" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_region_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22region%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "region" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_region_labelled</strong>: Each element with "region" role must have a label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_region_labelled.html#%7B%22message%22%3A%22Element%20with%20%5C%22region%5C%22%20role%20does%20not%20have%20a%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element with "region" role does not have a label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_search_label_unique</strong>: Each element with "search" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_search_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22search%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "search" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_toolbar_label_unique</strong>: Each element with "toolbar" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_toolbar_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22toolbar%5C%22%20roles%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "toolbar" roles do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>skip_main_exists</strong>: Pages must provide a way to skip directly to the main content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/skip_main_exists.html#%7B%22message%22%3A%22The%20page%20does%20not%20provide%20a%20way%20to%20quickly%20navigate%20to%20the%20main%20content%20(ARIA%20%5C%22main%5C%22%20landmark%20or%20a%20skip%20link)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The page does not provide a way to quickly navigate to the main content (ARIA "main" landmark or a skip link)</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>frame_src_valid</strong>: A &lt;frame&gt; containing non-HTML content must be made accessible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/frame_src_valid.html#%7B%22message%22%3A%22Verify%20%3Cframe%3E%20content%20is%20accessible%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify &lt;frame&gt; content is accessible</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>html_skipnav_exists</strong>: Provide a way to bypass blocks of content that are repeated on multiple Web pages + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_skipnav_exists.html#%7B%22message%22%3A%22Verify%20there%20is%20a%20way%20to%20bypass%20blocks%20of%20content%20that%20are%20repeated%20on%20multiple%20Web%20pages%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify there is a way to bypass blocks of content that are repeated on multiple Web pages</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>skip_main_described</strong>: The description of a hyperlink used to skip content must communicate where it links to + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/skip_main_described.html#%7B%22message%22%3A%22Verify%20that%20if%20this%20hyperlink%20skips%20content%2C%20the%20description%20communicates%20where%20it%20links%20to%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that if this hyperlink skips content, the description communicates where it links to</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_complementary_label_visible</strong>: Each element with "complementary" role should have a visible label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_complementary_label_visible.html#%7B%22message%22%3A%22Element%20with%20%5C%22complementary%5C%22%20role%20does%20not%20have%20a%20visible%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element with "complementary" role does not have a visible label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_contentinfo_misuse</strong>: Each element with "contentinfo" role is only permitted with an element with "main" role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_contentinfo_misuse.html#%7B%22message%22%3A%22Element%20with%20%5C%22contentinfo%5C%22%20role%20is%20present%20without%20an%20element%20with%20%5C%22main%5C%22%20role%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element with "contentinfo" role is present without an element with "main" role</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_main_label_visible</strong>: Each element with "main" role should have a unique visible label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_main_label_visible.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22main%5C%22%20role%20do%20not%20have%20unique%20visible%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "main" role do not have unique visible labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.4.2 Page Titled [A]</h2> + <div>Web pages, non-web documents, and software have titles that describe topic or purpose.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>page_title_exists</strong>: The page should have a title that correctly identifies the subject of the page + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/page_title_exists.html#%7B%22message%22%3A%22Missing%20%3Chead%3E%20element%20so%20there%20can%20be%20no%20%3Ctitle%3E%20element%20present%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Missing &lt;head&gt; element so there can be no &lt;title> element present</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/page_title_exists.html#%7B%22message%22%3A%22Missing%20%3Ctitle%3E%20element%20in%20%3Chead%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Missing &lt;title&gt; element in &lt;head> element</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/page_title_exists.html#%7B%22message%22%3A%22The%20%3Ctitle%3E%20element%20is%20empty%20(no%20innerHTML)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">The &lt;title&gt; element is empty (no innerHTML)</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>page_title_valid</strong>: Page &lt;title&gt; should be a descriptive title, rather than a filename + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/page_title_valid.html#%7B%22message%22%3A%22Verify%20that%20using%20the%20filename%20as%20the%20page%20%3Ctitle%3E%20value%20is%20descriptive%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_2%22%7D">Verify that using the filename as the page &lt;title&gt; value is descriptive</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.4.3 Focus Order [A]</h2> + <div>If content can be navigated sequentially and the navigation sequences affect meaning or operation, focusable components receive focus in an order that preserves meaning and operability.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>widget_tabbable_single</strong>: Components with a widget role must have no more than one tabbable element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/widget_tabbable_single.html#%7B%22message%22%3A%22Component%20with%20%5C%22%7B0%7D%5C%22%20role%20has%20more%20than%20one%20tabbable%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_multiple_tabbable%22%7D">Component with "{0}" role has more than one tabbable element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.4.4 Link Purpose (In Context) [A]</h2> + <div>The purpose of each link can be determined from the link text alone or from the link text together with its programmatically determined link content.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>img_alt_redundant</strong>: The text alternative for an image within a link should not repeat the link text or adjacent link text + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_redundant.html#%7B%22message%22%3A%22Link%20text%20is%20repeated%20in%20an%20image%20'alt'%20value%20within%20the%20same%20link%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Link text is repeated in an image 'alt' value within the same link</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_redundant.html#%7B%22message%22%3A%22Link%20text%20of%20previous%20link%20is%20repeated%20in%20image%20'alt'%20value%20of%20a%20link%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Link text of previous link is repeated in image 'alt' value of a link</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_redundant.html#%7B%22message%22%3A%22Image%20'alt'%20value%20within%20a%20link%20is%20repeated%20in%20link%20text%20of%20the%20link%20after%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">Image 'alt' value within a link is repeated in link text of the link after</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>a_text_purpose</strong>: Hyperlinks must have an accessible name for their purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/a_text_purpose.html#%7B%22message%22%3A%22Hyperlink%20has%20no%20link%20text%2C%20label%20or%20image%20with%20a%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_acc_name%22%7D">Hyperlink has no link text, label or image with a text alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.4.5 Multiple Ways [AA]</h2> + <div>More than one way is available to locate a Web page within a set of Web pages, except where the Web Page is the result of, or a step in, a process.</div> + +</div><div> + <h2>2.4.6 Headings and Labels [AA]</h2> + <div>Headings and labels describe topic or purpose.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>heading_content_exists</strong>: Heading elements must provide descriptive text + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/heading_content_exists.html#%7B%22message%22%3A%22Heading%20element%20has%20no%20descriptive%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Heading element has no descriptive content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.4.7 Focus Visible [AA]</h2> + <div>Any keyboard operable user interface has a mode of operation where the keyboard focus indicator is visible.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>element_tabbable_visible</strong>: A tabbable element should be visible on the screen when it has keyboard focus + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_tabbable_visible.html#%7B%22message%22%3A%22Confirm%20the%20element%20should%20be%20tabbable%20and%20if%20so%2C%20it%20becomes%20visible%20when%20it%20has%20keyboard%20focus%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_visible%22%7D">Confirm the element should be tabbable and if so, it becomes visible when it has keyboard focus</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>script_focus_blur_review</strong>: Scripting must not remove focus from content that normally receives focus + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/script_focus_blur_review.html#%7B%22message%22%3A%22Verify%20script%20does%20not%20remove%20focus%20from%20content%20that%20normally%20receives%20focus%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify script does not remove focus from content that normally receives focus</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>style_focus_visible</strong>: The keyboard focus indicator should be visible when default border or outline is modified by CSS + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_focus_visible.html#%7B%22message%22%3A%22Check%20the%20keyboard%20focus%20indicator%20is%20visible%20when%20using%20CSS%20declaration%20for%20'border'%20or%20'outline'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_focus_not_visible%22%7D">Check the keyboard focus indicator is visible when using CSS declaration for 'border' or 'outline'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.4.11 Focus Not Obscured (Minimum) [AA]</h2> + <div>When an element receives focus, it is not entirely covered by other content.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>element_tabbable_unobscured</strong>: When an element receives focus, it is not entirely covered by other content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_tabbable_unobscured.html#%7B%22message%22%3A%22Confirm%20that%20when%20the%20element%20receives%20focus%2C%20it%20is%20not%20covered%20or%2C%20if%20covered%20by%20user%20action%2C%20can%20be%20uncovered%20without%20moving%20focus%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_obscured%22%7D">Confirm that when the element receives focus, it is not covered or, if covered by user action, can be uncovered without moving focus</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.5.1 Pointer Gestures [A]</h2> + <div>All functionality that uses multipoint or path-based gestures for operation can be operated with a single pointer without a path-based gesture.</div> + +</div><div> + <h2>2.5.2 Pointer Cancellation [A]</h2> + <div>For functionality that can be operated using a single pointer, completion of the function is on the up-event with an ability to abort, undo or reverse the outcome.</div> + +</div><div> + <h2>2.5.3 Label in Name [A]</h2> + <div>For user interface components with labels that include text or images of text, the accessible name contains the text that is presented visually.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>label_name_visible</strong>: Accessible name must match or contain the visible label text + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/label_name_visible.html#%7B%22message%22%3A%22Accessible%20name%20does%20not%20match%20or%20contain%20the%20visible%20label%20text%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Accessible name does not match or contain the visible label text</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_label_visible</strong>: An input element must have an associated visible label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_visible.html#%7B%22message%22%3A%22The%20%E2%80%98placeholder%E2%80%99%20is%20the%20only%20visible%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_placeholder_only%22%7D">The ‘placeholder’ is the only visible label</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_visible.html#%7B%22message%22%3A%22The%20input%20element%20does%20not%20have%20an%20associated%20visible%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_no_label%22%7D">The input element does not have an associated visible label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.5.4 Motion Actuation [A]</h2> + <div>Functionality that can be operated by motion can also be operated by user interface components, and the motion trigger can be disabled.</div> + +</div><div> + <h2>2.5.7 Dragging Movement [AA]</h2> + <div>All functionality that uses a dragging movement for operation can be achieved by a single pointer without dragging.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>draggable_alternative_exists</strong>: A draggable element must have a "single pointer" alternative + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/draggable_alternative_exists.html#%7B%22message%22%3A%22Ensure%20the%20draggable%20element%20%5C%22%7B0%7D%5C%22%20has%20a%20%5C%22single%20pointer%5C%22%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_alternative%22%7D">Ensure the draggable element "{0}" has a "single pointer" alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.5.8 Minimum Target Size [AA]</h2> + <div>The size of the target for pointer inputs is at least 24 by 24 CSS pixels.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>target_spacing_sufficient</strong>: The target must be sufficiently sized or spaced from other targets + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/target_spacing_sufficient.html#%7B%22message%22%3A%22Undersized%20target%20%5C%22%7B0%7D%5C%22%20does%20not%20have%20sufficient%20spacing%20of%2012%20CSS%20pixels%20from%20another%20target%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22violation_spacing%22%7D">Undersized target "{0}" does not have sufficient spacing of 12 CSS pixels from another target "{1}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/target_spacing_sufficient.html#%7B%22message%22%3A%22Ensure%20the%20overlapped%20target%20%5C%22%7B0%7D%5C%22%20meets%20a%20minimum%20target%20size%20or%20has%20sufficient%20spacing%20from%20the%20overlapping%20target%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_overlap%22%7D">Ensure the overlapped target "{0}" meets a minimum target size or has sufficient spacing from the overlapping target "{1}"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.1.1 Language of Page [A]</h2> + <div>The default human language of Web pages, non-Web documents, or software can be programmatically determined.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>html_lang_exists</strong>: Page must identify the default language of the document with a 'lang' attribute + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20as%20XHTML%201.0%2C%20but%20has%20neither%20'lang'%20nor%20'xml%3Alang'%20attributes%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Page detected as XHTML 1.0, but has neither 'lang' nor 'xml:lang' attributes</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20as%20XHTML%2C%20but%20does%20not%20have%20an%20'xml%3Alang'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Page detected as XHTML, but does not have an 'xml:lang' attribute</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20as%20HTML%2C%20but%20does%20not%20have%20a%20'lang'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">Page detected as HTML, but does not have a 'lang' attribute</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20with%20'lang'%20and%20'xml%3Alang'%20attributes%20and%20primary%20languages%20do%20not%20match%3A%20%5C%22%7B0%7D%5C%22%2C%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_4%22%7D">Page detected with 'lang' and 'xml:lang' attributes and primary languages do not match: "{0}", "{1}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20with%20'lang'%20and%20'xml%3Alang'%20attributes%20that%20do%20not%20match%3A%20%5C%22%7B0%7D%5C%22%2C%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_5%22%7D">Page detected with 'lang' and 'xml:lang' attributes that do not match: "{0}", "{1}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20as%20XHTML%201.0%20with%20only%20a%20'lang'%20attribute.%20Confirm%20that%20page%20is%20only%20delivered%20via%20text%2Fhtml%20mime%20type%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_5%22%7D">Page detected as XHTML 1.0 with only a 'lang' attribute. Confirm that page is only delivered via text/html mime type</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20as%20XHTML%201.0%20with%20only%20an%20'xml%3Alang'%20attribute.%20Confirm%20that%20page%20is%20only%20delivered%20via%20xml%20mime%20type%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_6%22%7D">Page detected as XHTML 1.0 with only an 'xml:lang' attribute. Confirm that page is only delivered via xml mime type</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>html_lang_valid</strong>: The default human language of the page must be valid and specified in accordance with BCP 47 + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_valid.html#%7B%22message%22%3A%22Specified%20'lang'%20attribute%20does%20not%20include%20a%20valid%20primary%20language%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Specified 'lang' attribute does not include a valid primary language</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_valid.html#%7B%22message%22%3A%22Specified%20'lang'%20attribute%20does%20not%20conform%20to%20BCP%2047%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Specified 'lang' attribute does not conform to BCP 47</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_valid.html#%7B%22message%22%3A%22Specified%20'xml%3Alang'%20attribute%20does%20not%20include%20a%20valid%20primary%20language%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">Specified 'xml:lang' attribute does not include a valid primary language</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_valid.html#%7B%22message%22%3A%22Specified%20'xml%3Alang'%20attribute%20does%20not%20conform%20to%20BCP%2047%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_4%22%7D">Specified 'xml:lang' attribute does not conform to BCP 47</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.1.2 Language of Parts [AA]</h2> + <div>The human language of each passage or phrase in the content can be programmatically determined.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>element_lang_valid</strong>: The change in language of specific content must be valid and specified in accordance with BCP 47 + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_lang_valid.html#%7B%22message%22%3A%22Specified%20'lang'%20attribute%20does%20not%20include%20a%20valid%20primary%20language%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Specified 'lang' attribute does not include a valid primary language</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_lang_valid.html#%7B%22message%22%3A%22Specified%20'lang'%20attribute%20does%20not%20conform%20to%20BCP%2047%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Specified 'lang' attribute does not conform to BCP 47</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_lang_valid.html#%7B%22message%22%3A%22Specified%20'xml%3Alang'%20attribute%20does%20not%20include%20a%20valid%20primary%20language%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">Specified 'xml:lang' attribute does not include a valid primary language</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_lang_valid.html#%7B%22message%22%3A%22Specified%20'xml%3Alang'%20attribute%20does%20not%20conform%20to%20BCP%2047%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_4%22%7D">Specified 'xml:lang' attribute does not conform to BCP 47</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.2.1 On Focus [A]</h2> + <div>When any component receives focus, it does not initiate a change of context.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>script_focus_blur_review</strong>: Scripting must not remove focus from content that normally receives focus + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/script_focus_blur_review.html#%7B%22message%22%3A%22Verify%20script%20does%20not%20remove%20focus%20from%20content%20that%20normally%20receives%20focus%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify script does not remove focus from content that normally receives focus</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>script_select_review</strong>: No changes of context should occur when a selection value receives focus + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/script_select_review.html#%7B%22message%22%3A%22Verify%20that%20no%20change%20of%20context%20or%20action%20occurs%20when%20selection%20options%20in%20this%20component%20receive%20focus%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that no change of context or action occurs when selection options in this component receive focus</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.2.2 On Input [A]</h2> + <div>Changing the setting of any user interface component does not automatically cause a change of context unless the user has been advised of the behavior before using the component.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>form_interaction_review</strong>: User should be informed in advance when interacting with content causes a change of context + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/form_interaction_review.html#%7B%22message%22%3A%22Verify%20that%20interacting%20with%20content%20will%20not%20open%20pop-up%20windows%20or%20change%20the%20active%20window%20without%20informing%20the%20user%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that interacting with content will not open pop-up windows or change the active window without informing the user</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>form_submit_button_exists</strong>: A &lt;form&gt; element should have a submit button or an image button + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/form_submit_button_exists.html#%7B%22message%22%3A%22Verify%20the%20%3Cform%3E%20element%20has%20a%20submit%20button%20or%20an%20image%20button%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify the &lt;form&gt; element has a submit button or an image button</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_onchange_review</strong>: Users must be advised if, due to a change of element value, a form automatically submits, a new window opens, or a change in focus occurs + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_onchange_review.html#%7B%22message%22%3A%22Confirm%20that%20the%20user%20is%20advised%20if%2C%20due%20to%20a%20change%20of%20element%20value%2C%20a%20form%20automatically%20submits%2C%20a%20new%20window%20opens%2C%20or%20a%20change%20in%20focus%20occurs%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_warning%22%7D">Confirm that the user is advised if, due to a change of element value, a form automatically submits, a new window opens, or a change in focus occurs</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>a_target_warning</strong>: Users should be warned in advance if their input action will open a new window + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/a_target_warning.html#%7B%22message%22%3A%22Inform%20the%20user%20when%20their%20input%20action%20will%20open%20a%20new%20window%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_warn%22%7D">Inform the user when their input action will open a new window</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.2.3 Consistent Navigation [AA]</h2> + <div>Navigational mechanisms that are repeated on multiple Web pages within a set of Web pages occur in the same relative order each time they are repeated, unless a change is initiated by the user.</div> + +</div><div> + <h2>3.2.4 Consistent Identification [AA]</h2> + <div>Components that have the same functionality within a set of Web pages are identified consistently.</div> + +</div><div> + <h2>3.2.6 Consistent Help [AA]</h2> + <div>Make it easier to find help and support. If a Web page contains help mechanisms they occur in the same order relative to other page content, unless a change is initiated by the user.</div> + +</div><div> + <h2>3.3.1 Error Identification [A]</h2> + <div>If an input error is automatically detected, the item that is in error is identified and the error is described to the user in text.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>error_message_exists</strong>: A custom error message must reference a valid 'id' value and when triggered the message must be appropriately exposed + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/error_message_exists.html#%7B%22message%22%3A%22Custom%20error%20message%20has%20invalid%20reference%20'id'%20value%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Custom error message has invalid reference 'id' value</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/error_message_exists.html#%7B%22message%22%3A%22Custom%20error%20message%20is%20not%20visible%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Custom error message is not visible</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.3.2 Labels or Instructions [A]</h2> + <div>Labels or instructions are provided when content requires user input.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>fieldset_label_valid</strong>: Groups with nested inputs must have unique accessible name + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_label_valid.html#%7B%22message%22%3A%22Group%2FFieldset%20does%20not%20have%20an%20accessible%20name%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Group/Fieldset does not have an accessible name</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_label_valid.html#%7B%22message%22%3A%22Group%2FFieldset%20%5C%22%7B0%7D%5C%22%20has%20a%20duplicate%20name%20to%20another%20group%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Group/Fieldset "{0}" has a duplicate name to another group</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_label_after</strong>: Checkboxes and radio buttons must have a label after the input control + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_after.html#%7B%22message%22%3A%22Checkbox%20or%20radio%20button%20is%20nested%20in%20label%2C%20so%20label%20is%20not%20after%20the%20input%20control%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Checkbox or radio button is nested in label, so label is not after the input control</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_after.html#%7B%22message%22%3A%22Label%20text%20is%20located%20before%20its%20associated%20checkbox%20or%20radio%20button%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Label text is located before its associated checkbox or radio button element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_label_before</strong>: Text inputs and &lt;select&gt; elements must have a label before the input control + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_before.html#%7B%22message%22%3A%22Text%20input%20is%20nested%20in%20label%20such%20that%20input%20precedes%20the%20label%20text%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Text input is nested in label such that input precedes the label text</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_before.html#%7B%22message%22%3A%22Label%20text%20is%20located%20after%20its%20associated%20text%20input%20or%20%3Cselect%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Label text is located after its associated text input or &lt;select&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_label_visible</strong>: An input element must have an associated visible label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_visible.html#%7B%22message%22%3A%22The%20%E2%80%98placeholder%E2%80%99%20is%20the%20only%20visible%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_placeholder_only%22%7D">The ‘placeholder’ is the only visible label</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_visible.html#%7B%22message%22%3A%22The%20input%20element%20does%20not%20have%20an%20associated%20visible%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_no_label%22%7D">The input element does not have an associated visible label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>element_accesskey_labelled</strong>: An element with an assigned 'accesskey' attribute must have an associated label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_accesskey_labelled.html#%7B%22message%22%3A%22The%20element%20with%20an%20assigned%20'accesskey'%20attribute%20does%20not%20have%20an%20associated%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">The element with an assigned 'accesskey' attribute does not have an associated label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.3.3 Error Suggestion [AA]</h2> + <div>If an input error is automatically detected and suggestions for correction are known, then the suggestions are provided to the user, unless it would jeopardize the security or purpose of the content.</div> + +</div><div> + <h2>3.3.4 Error Prevention (Legal, Financial, Data) [AA]</h2> + <div>For content that cause legal commitments or financial transactions for the user to occur, that modify or delete user-controllable data in data storage systems, or that submit user test responses, the user can reverse, correct, or confirm the action.</div> + +</div><div> + <h2>3.3.7 Redundant Entry [AA]</h2> + <div>Make it easier for users to complete multi-step processes. Don't ask for the same information twice in the same session.</div> + +</div><div> + <h2>3.3.8 Accessible Authentication (Minimum) [AA]</h2> + <div>Make logins possible with less mental effort. Don't make people solve, recall, or transcribe something to log in.</div> + +</div><div> + <h2>4.1.1 Parsing [A]</h2> + <div>(Obsolete and removed) This requirement was originally adopted to address problems that assistive technology (AT) had directly parsing HTML. AT no longer has any need to directly parse HTML. Consequently, these problems either no longer exist or are addressed by other requirements.</div> + +</div><div> + <h2>4.1.2 Name, Role, Value [A]</h2> + <div>For all user interface components (including, but not limited to: form elements, links and components generated by scripts), the name and role can be programmatically determined; states, properties, and values that can be set by the user can be programmatically set; and notification of changes to these items is available to user agents, including assistive technologies.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>combobox_popup_reference</strong>: The 'aria-controls' (for ARIA 1.2) or the 'aria-owns' (for ARIA 1.0) attribute of the expanded combobox must reference a valid popup 'id' value + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_popup_reference.html#%7B%22message%22%3A%22The%20'aria-owns'%20attribute%20of%20the%20expanded%20combobox%20is%20missing%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1.0_missing_owns%22%7D">The 'aria-owns' attribute of the expanded combobox is missing</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_popup_reference.html#%7B%22message%22%3A%22The%20'aria-controls'%20attribute%20of%20the%20expanded%20combobox%20is%20missing%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1.2_missing_controls%22%7D">The 'aria-controls' attribute of the expanded combobox is missing</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_popup_reference.html#%7B%22message%22%3A%22The%20'aria-owns'%20attribute%20%5C%22%7B0%7D%5C%22%20of%20the%20expanded%20combobox%20does%20not%20reference%20a%20valid%20popup%20'id'%20value%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1.0_popup_reference_missing%22%7D">The 'aria-owns' attribute "{0}" of the expanded combobox does not reference a valid popup 'id' value</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_popup_reference.html#%7B%22message%22%3A%22The%20'aria-controls'%20attribute%20%5C%22%7B0%7D%5C%22%20of%20the%20expanded%20combobox%20does%20not%20reference%20a%20valid%20popup%20'id'%20value%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1.2_popup_reference_missing%22%7D">The 'aria-controls' attribute "{0}" of the expanded combobox does not reference a valid popup 'id' value</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_popup_reference.html#%7B%22message%22%3A%22The%20combobox%20'aria-expanded'%20attribute%20is%20true%2C%20but%20the%20combobox%20popup%20is%20not%20visible%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_combobox_expanded_hidden%22%7D">The combobox 'aria-expanded' attribute is true, but the combobox popup is not visible</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_popup_reference.html#%7B%22message%22%3A%22The%20combobox%20'aria-expanded'%20attribute%20is%20false%2C%20but%20the%20combobox%20popup%20is%20visible%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_combobox_collapsed_visible%22%7D">The combobox 'aria-expanded' attribute is false, but the combobox popup is visible</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_activedescendant_valid</strong>: The 'aria-activedescendant' property must reference the 'id' of a non-empty, non-hidden active child element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_activedescendant_valid.html#%7B%22message%22%3A%22The%20'aria-activedescendant'%20property%20is%20empty%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The 'aria-activedescendant' property is empty</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_activedescendant_valid.html#%7B%22message%22%3A%22The%20'aria-activedescendant'%20property%20references%20a%20hidden%20node%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">The 'aria-activedescendant' property references a hidden node</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_activedescendant_valid.html#%7B%22message%22%3A%22Element%20is%20not%20a%20combobox%2C%20and%20the%20referenced%20active-descendant%20element%20is%20not%20a%20valid%20descendant%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">Element is not a combobox, and the referenced active-descendant element is not a valid descendant</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>combobox_active_descendant</strong>: 'aria-activedescendant' must be used to define focus within the combobox popup, except when using a dialog popup + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_active_descendant.html#%7B%22message%22%3A%22The%20element%20referenced%20by%20'aria-activedescendant'%20%5C%22%7B0%7D%5C%22%20does%20not%20exist%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_missing%22%7D">The element referenced by 'aria-activedescendant' "{0}" does not exist</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_active_descendant.html#%7B%22message%22%3A%22The%20'aria-activedescendant'%20%5C%22%7B0%7D%5C%22%20references%20an%20element%20with%20the%20roles%20%5C%22%7B1%7D%5C%22%2C%20which%20does%20not%20have%20a%20valid%20ARIA%20role%20of%20'option'%2C%20'gridcell'%2C%20'row'%2C%20or%20'treeitem'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_active_role_invalid%22%7D">The 'aria-activedescendant' "{0}" references an element with the roles "{1}", which does not have a valid ARIA role of 'option', 'gridcell', 'row', or 'treeitem'</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_active_descendant.html#%7B%22message%22%3A%22The%20'aria-activedescendant'%20%5C%22%7B0%7D%5C%22%20references%20an%20element%20that%20does%20not%20have%20'aria-selected'%20set%20to%20true%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_active_not_selected%22%7D">The 'aria-activedescendant' "{0}" references an element that does not have 'aria-selected' set to true</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_haspopup_conflict</strong>: &lt;input&gt; element with a 'list' attribute should not use an explicit 'aria-haspopup' attribute + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_haspopup_conflict.html#%7B%22message%22%3A%22The%20%3Cinput%3E%20element%20with%20type%20%5C%22%7B0%7D%5C%22%20and%20'list'%20attribute%20uses%20an%20explicit%20'aria-haspopup'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_type_misuse%22%7D">The &lt;input&gt; element with type "{0}" and 'list' attribute uses an explicit 'aria-haspopup' attribute</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_haspopup_conflict.html#%7B%22message%22%3A%22The%20%3Cinput%3E%20element%20with%20a%20missing%20or%20invalid%20type%20and%20'list'%20attribute%20uses%20an%20explicit%20'aria-haspopup'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_misuse%22%7D">The &lt;input&gt; element with a missing or invalid type and 'list' attribute uses an explicit 'aria-haspopup' attribute</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_haspopup_conflict.html#%7B%22message%22%3A%22The%20list%20attribute%20for%20the%20%3Cinput%3E%20element%20is%20invalid%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_list_notexist%22%7D">The list attribute for the &lt;input&gt; element is invalid</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_haspopup_conflict.html#%7B%22message%22%3A%22The%20list%20attribute%20for%20the%20%3Cinput%3E%20element%20with%20the%20type%20%5C%22%7B0%7D%5C%22%20is%20invalid%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_invalid_list_type%22%7D">The list attribute for the &lt;input&gt; element with the type "{0}" is invalid</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_haspopup_conflict.html#%7B%22message%22%3A%22The%20list%20attribute%20for%20the%20%3Cinput%3E%20element%20does%20not%20reference%20a%20datalist%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_invalid_list_elem%22%7D">The list attribute for the &lt;input&gt; element does not reference a datalist element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_role_valid</strong>: ARIA roles must be valid for the element to which they are assigned + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_role_valid.html#%7B%22message%22%3A%22The%20ARIA%20role%20'%7B0%7D'%20is%20not%20valid%20for%20the%20element%20%3C%7B1%7D%3E%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The ARIA role '{0}' is not valid for the element &lt;{1}&gt;</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_role_valid.html#%7B%22message%22%3A%22The%20ARIA%20role%20'%7B0%7D'%20is%20not%20valid%20for%20the%20element%20%3C%7B1%7D%3E%20and%20may%20be%20ignored%20by%20the%20browser%20since%20the%20element%20is%20focusable%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">The ARIA role '{0}' is not valid for the element &lt;{1}&gt; and may be ignored by the browser since the element is focusable</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>combobox_autocomplete_valid</strong>: A combobox that supports autocompletion behavior must have the 'aria-autocomplete' attribute only on its text input element with a valid value; a value of '"inline"' is not supported + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_autocomplete_valid.html#%7B%22message%22%3A%22The%20combobox%20has%20the%20'aria-autocomplete'%20attribute%20incorrectly%20set%20on%20an%20element%20within%20the%20popup%20referenced%20by%20%5C%22%7B0%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The combobox has the 'aria-autocomplete' attribute incorrectly set on an element within the popup referenced by "{0}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_autocomplete_valid.html#%7B%22message%22%3A%22The%20combobox%20does%20not%20support%20an%20'aria-autocomplete'%20attribute%20value%20set%20to%20'%5C%22inline%5C%22'%20%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_inline%22%7D">The combobox does not support an 'aria-autocomplete' attribute value set to '"inline"' </a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>combobox_focusable_elements</strong>: Tabbable focus for the combobox must be allowed only on the text input, except when using a dialog popup + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_focusable_elements.html#%7B%22message%22%3A%22The%20combobox%20element%20does%20not%20allow%20DOM%20focus%20as%20required%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_not_tabbable%22%7D">The combobox element does not allow DOM focus as required</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_focusable_elements.html#%7B%22message%22%3A%22The%20popup%20of%20the%20combobox%20has%20DOM%20focus%20or%20has%20'aria-activedescendant'%20defined%2C%20which%20is%20not%20allowed%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_tabbable_child%22%7D">The popup of the combobox has DOM focus or has 'aria-activedescendant' defined, which is not allowed</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>combobox_haspopup_valid</strong>: The combobox attribute 'aria-haspopup' value must be appropriate for the role of the element referenced by 'aria-controls' (ARIA 1.2) or 'aria-owns' (ARIA 1.0) + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_haspopup_valid.html#%7B%22message%22%3A%22The%20'role'%20value%20%5C%22%7B0%7D%5C%22%20of%20the%20popup%20element%20%5C%22%7B1%7D%5C%22%20should%20be%20one%20of%20%5C%22listbox%5C%22%2C%20%5C%22grid%5C%22%2C%20%5C%22tree%5C%22%20or%20%5C%22dialog%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_popup_role_invalid%22%7D">The 'role' value "{0}" of the popup element "{1}" should be one of "listbox", "grid", "tree" or "dialog"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_haspopup_valid.html#%7B%22message%22%3A%22The%20value%20of%20the%20combobox%20'aria-haspopup'%20attribute%20%5C%22%7B0%7D%5C%22%20does%20not%20match%20the%20'role'%20value%20of%20the%20popup%20element%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_combobox_popup_role_mismatch%22%7D">The value of the combobox 'aria-haspopup' attribute "{0}" does not match the 'role' value of the popup element "{1}"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>element_tabbable_role_valid</strong>: A tabbable element must have a valid widget role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_tabbable_role_valid.html#%7B%22message%22%3A%22The%20tabbable%20element's%20role%20'%7B0%7D'%20is%20not%20a%20widget%20role%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_invalid_role%22%7D">The tabbable element's role '{0}' is not a widget role</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_tabbable_role_valid.html#%7B%22message%22%3A%22The%20tabbable%20element%20does%20not%20have%20a%20valid%20widget%20role%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_no_valid_role%22%7D">The tabbable element does not have a valid widget role</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_label_exists</strong>: Each form control must have an associated label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_exists.html#%7B%22message%22%3A%22Form%20control%20element%20%3C%7B0%7D%3E%20has%20no%20associated%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Form control element &lt;{0}&gt; has no associated label</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_exists.html#%7B%22message%22%3A%22Form%20control%20with%20%5C%22%7B0%7D%5C%22%20role%20has%20no%20associated%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Form control with "{0}" role has no associated label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_descendant_valid</strong>: Browsers ignore the explicit and implicit ARIA roles of the descendants of certain elements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_descendant_valid.html#%7B%22message%22%3A%22The%20element%20with%20role%20%5C%22%7B0%7D%5C%22%20contains%20descendants%20with%20implicit%20roles%20%5C%22%7B1%7D%5C%22%20which%20are%20ignored%20by%20browsers%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_child_implicit_role%22%7D">The element with role "{0}" contains descendants with implicit roles "{1}" which are ignored by browsers</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_descendant_valid.html#%7B%22message%22%3A%22The%20element%20with%20role%20%5C%22%7B0%7D%5C%22%20contains%20descendants%20with%20roles%20%5C%22%7B1%7D%5C%22%20which%20are%20ignored%20by%20browsers%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_child_explicit_role%22%7D">The element with role "{0}" contains descendants with roles "{1}" which are ignored by browsers</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_role_allowed</strong>: Elements must have a valid 'role' per ARIA specification + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_role_allowed.html#%7B%22message%22%3A%22The%20role%20'%7B0%7D'%20defined%20on%20the%20element%20is%20not%20valid%20per%20ARIA%20specification%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">The role '{0}' defined on the element is not valid per ARIA specification</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_role_allowed.html#%7B%22message%22%3A%22Some%20of%20the%20roles%2C%20'%7B0%7D'%2C%20defined%20on%20the%20element%20are%20not%20valid%20per%20ARIA%20specification%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Some of the roles, '{0}', defined on the element are not valid per ARIA specification</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>a_text_purpose</strong>: Hyperlinks must have an accessible name for their purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/a_text_purpose.html#%7B%22message%22%3A%22Hyperlink%20has%20no%20link%20text%2C%20label%20or%20image%20with%20a%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_acc_name%22%7D">Hyperlink has no link text, label or image with a text alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_attribute_allowed</strong>: ARIA attributes must be valid for the element's role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_allowed.html#%7B%22message%22%3A%22The%20attribute(s)%20'%7B0%7D'%20referenced%20by%20the%20element%20%3C%7B1%7D%3E%20is%20not%20a%20valid%20ARIA%20state%20or%20property%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The attribute(s) '{0}' referenced by the element &lt;{1}&gt; is not a valid ARIA state or property</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_attribute_conflict</strong>: An ARIA attribute must not conflict with the corresponding HTML attribute + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_conflict.html#%7B%22message%22%3A%22The%20ARIA%20attribute%20%5C%22%7B0%7D%5C%22%20is%20in%20conflict%20with%20the%20corresponding%20HTML%20attribute%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_conflict%22%7D">The ARIA attribute "{0}" is in conflict with the corresponding HTML attribute "{1}"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_attribute_exists</strong>: When specifying a required ARIA attribute, the value must not be empty + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_exists.html#%7B%22message%22%3A%22The%20element%20attribute(s)%3A%20'%7B0%7D'%20value%20is%20empty%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_empty_attribute%22%7D">The element attribute(s): '{0}' value is empty</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_attribute_required</strong>: The required attributes for the element with a role must be defined + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_required.html#%7B%22message%22%3A%22Element%20with%20'%7B0%7D'%20role%20does%20not%20have%20the%20required%20ARIA%20attribute(s)%3A%20'%7B1%7D'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_missing%22%7D">Element with '{0}' role does not have the required ARIA attribute(s): '{1}'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_attribute_value_valid</strong>: ARIA property values must be valid + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_value_valid.html#%7B%22message%22%3A%22The%20value%20%5C%22%7B0%7D%5C%22%20specified%20for%20attribute%20'%7B1%7D'%20on%20element%20%3C%7B2%7D%3E%20is%20not%20valid%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The value "{0}" specified for attribute '{1}' on element &lt;{2}&gt; is not valid</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_eventhandler_role_valid</strong>: Elements with event handlers must have a valid ARIA role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_eventhandler_role_valid.html#%7B%22message%22%3A%22The%20%3C%7B0%7D%3E%20element%20with%20'%7B1%7D'%20does%20not%20have%20a%20valid%20ARIA%20role%20specified%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The &lt;{0}&gt; element with '{1}' does not have a valid ARIA role specified</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_hidden_nontabbable</strong>: A hidden element should not contain any tabbable elements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_hidden_nontabbable.html#%7B%22message%22%3A%22Element%20%5C%22%7B0%7D%5C%22%20should%20not%20be%20focusable%20within%20the%20subtree%20of%20an%20element%20with%20an%20'aria-hidden'%20attribute%20with%20value%20'true'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element "{0}" should not be focusable within the subtree of an element with an 'aria-hidden' attribute with value 'true'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_id_unique</strong>: The ARIA property must reference a non-empty unique id of an existing element that is visible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_id_unique.html#%7B%22message%22%3A%22The%20'id'%20%5C%22%7B0%7D%5C%22%20specified%20for%20the%20ARIA%20property%20'%7B1%7D'%20value%20is%20not%20valid%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The 'id' "{0}" specified for the ARIA property '{1}' value is not valid</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_widget_labelled</strong>: Interactive component must have a programmatically associated name + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_widget_labelled.html#%7B%22message%22%3A%22Interactive%20component%20with%20ARIA%20role%20'%7B0%7D'%20does%20not%20have%20a%20programmatically%20associated%20name%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Interactive component with ARIA role '{0}' does not have a programmatically associated name</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>combobox_design_valid</strong>: The combobox design pattern must be valid for ARIA 1.2 + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_design_valid.html#%7B%22message%22%3A%22The%20combobox%20design%20pattern%20is%20detected%20as%20ARIA%201.1%2C%20which%20is%20not%20allowed%20by%20ARIA%201.2%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1.1%22%7D">The combobox design pattern is detected as ARIA 1.1, which is not allowed by ARIA 1.2</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>frame_title_exists</strong>: Inline frames must have a unique, non-empty 'title' attribute + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/frame_title_exists.html#%7B%22message%22%3A%22Inline%20frame%20does%20not%20have%20a%20'title'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Inline frame does not have a 'title' attribute</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>label_content_exists</strong>: A &lt;label&gt; element must have non-empty descriptive text that identifies the purpose of the interactive component + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/label_content_exists.html#%7B%22message%22%3A%22The%20%3Clabel%3E%20element%20does%20not%20have%20descriptive%20text%20that%20identifies%20the%20expected%20input%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The &lt;label&gt; element does not have descriptive text that identifies the expected input</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>list_children_valid</strong>: List component with "group" role must limit children to &lt;listitem&gt; elements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/list_children_valid.html#%7B%22message%22%3A%22List%20component%20with%20%5C%22group%5C%22%20role%20has%20children%20that%20are%20not%20%3Clistitem%3E%20elements%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">List component with "group" role has children that are not &lt;listitem&gt; elements</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_aria_descendants</strong>: Table structure elements cannot specify an explicit 'role' within table containers + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_aria_descendants.html#%7B%22message%22%3A%22An%20explicit%20ARIA%20'role'%20is%20not%20valid%20for%20%3C%7B0%7D%3E%20element%20within%20an%20ARIA%20role%20'%7B1%7D'%20per%20the%20ARIA%20in%20HTML%20specification%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22explicit_role%22%7D">An explicit ARIA 'role' is not valid for &lt;{0}&gt; element within an ARIA role '{1}' per the ARIA in HTML specification</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_accessiblename_exists</strong>: Elements with certain roles should have accessible names + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_accessiblename_exists.html#%7B%22message%22%3A%22Element%20%3C%7B0%7D%3E%20with%20%5C%22%7B1%7D%5C%22%20role%20has%20no%20accessible%20name%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_no_accessible_name%22%7D">Element &lt;{0}&gt; with "{1}" role has no accessible name</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_attribute_redundant</strong>: An ARIA attribute should not be redundant with a corresponding HTML attribute + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_redundant.html#%7B%22message%22%3A%22The%20ARIA%20attribute%20%5C%22%7B0%7D%5C%22%20is%20redundant%20with%20the%20HTML%20attribute%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_redundant%22%7D">The ARIA attribute "{0}" is redundant with the HTML attribute "{1}"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>canvas_content_described</strong>: The &lt;canvas&gt; element may not be accessible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/canvas_content_described.html#%7B%22message%22%3A%22Verify%20accessibility%20of%20the%20%3Ccanvas%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify accessibility of the &lt;canvas&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>4.1.3 Status Messages [AA]</h2> + <div>In content implemented using markup languages, status messages can be programmatically determined through role or properties such that they can be presented to the user by assistive technologies without receiving focus.</div> + +</div><div> + <h2>HTML specification [NA]</h2> + <div>The HTML specification issues that cause accessibility issues may be covered by other rules and will be reported under those accessibility requirements. However, some non-conforming HTML specification issues are still reported.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>element_id_unique</strong>: Element 'id' attribute values must be unique within a document + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_id_unique.html#%7B%22message%22%3A%22The%20%3C%7B0%7D%3E%20element%20has%20the%20id%20%5C%22%7B1%7D%5C%22%20that%20is%20empty%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The &lt;{0}&gt; element has the id "{1}" that is empty</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_id_unique.html#%7B%22message%22%3A%22The%20%3C%7B0%7D%3E%20element%20has%20the%20id%20%5C%22%7B1%7D%5C%22%20that%20is%20already%20in%20use%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">The &lt;{0}&gt; element has the id "{1}" that is already in use</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>element_accesskey_unique</strong>: 'accesskey' attribute values on each element must be unique for the page + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_accesskey_unique.html#%7B%22message%22%3A%22'accesskey'%20attribute%20value%20on%20the%20element%20is%20not%20unique%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">'accesskey' attribute value on the element is not unique</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>element_attribute_deprecated</strong>: Avoid use of obsolete features if possible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_attribute_deprecated.html#%7B%22message%22%3A%22The%20%3C%7B0%7D%3E%20element%20is%20deprecated%20in%20HTML%205%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_elem%22%7D">The &lt;{0}&gt; element is deprecated in HTML 5</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_attribute_deprecated.html#%7B%22message%22%3A%22The%20HTML%20attribute(s)%20%5C%22%7B0%7D%5C%22%20is%20deprecated%20in%20HTML%205%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_attr%22%7D">The HTML attribute(s) "{0}" is deprecated in HTML 5</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_attribute_deprecated.html#%7B%22message%22%3A%22The%20HTML%20attribute(s)%20%5C%22%7B0%7D%5C%22%20is%20deprecated%20for%20the%20%3C%7B1%7D%3E%20element%20in%20HTML%205%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_elem_attr%22%7D">The HTML attribute(s) "{0}" is deprecated for the &lt;{1}&gt; element in HTML 5</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>ARIA specification [NA]</h2> + <div>The ARIA specification issues that cause accessibility issues may be covered by other rules and will be reported under those accessibility requirements. However, some non-conforming ARIA specification issues are still reported.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>aria_attribute_valid</strong>: ARIA attributes should be valid for the element and ARIA role to which they are assigned + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_valid.html#%7B%22message%22%3A%22The%20ARIA%20attributes%20%5C%22%7B0%7D%5C%22%20are%20not%20valid%20for%20the%20element%20%3C%7B1%7D%3E%20with%20ARIA%20role%20%5C%22%7B2%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_invalid_role_attr%22%7D">The ARIA attributes "{0}" are not valid for the element &lt;{1}&gt; with ARIA role "{2}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_valid.html#%7B%22message%22%3A%22The%20ARIA%20attributes%20%5C%22%7B0%7D%5C%22%20are%20not%20valid%20for%20the%20element%20%3C%7B1%7D%3E%20with%20implicit%20ARIA%20role%20%5C%22%7B2%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_invalid_implicit_role_attr%22%7D">The ARIA attributes "{0}" are not valid for the element &lt;{1}&gt; with implicit ARIA role "{2}"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_alt_null</strong>: When the intent is to mark an image as decorative with an empty 'alt' attribute, the 'aria' or 'title' attributes should not be used + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_null.html#%7B%22message%22%3A%22The%20image%20'alt'%20attribute%20is%20empty%2C%20but%20the%20'aria'%20label%20is%20not%20empty%20and%20overrides%20the%20'alt'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_aria_override%22%7D">The image 'alt' attribute is empty, but the 'aria' label is not empty and overrides the 'alt' attribute</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_attribute_deprecated</strong>: No deprecated ARIA role or attribute should be used + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_deprecated.html#%7B%22message%22%3A%22The%20ARIA%20role%20%5C%22%7B0%7D%5C%22%20is%20deprecated%20in%20the%20ARIA%20specification%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_aria_role%22%7D">The ARIA role "{0}" is deprecated in the ARIA specification</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_deprecated.html#%7B%22message%22%3A%22The%20ARIA%20attributes%20%5C%22%7B0%7D%5C%22%20are%20deprecated%20in%20the%20ARIA%20specification%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_aria_attr%22%7D">The ARIA attributes "{0}" are deprecated in the ARIA specification</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_deprecated.html#%7B%22message%22%3A%22The%20ARIA%20attributes%20%5C%22%7B0%7D%5C%22%20are%20deprecated%20for%20the%20role%20%5C%22%7B1%7D%5C%22%20in%20the%20ARIA%20specification%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_role_attr%22%7D">The ARIA attributes "{0}" are deprecated for the role "{1}" in the ARIA specification</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_accessiblename_exists</strong>: Elements with certain roles should have accessible names + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_accessiblename_exists.html#%7B%22message%22%3A%22Element%20%3C%7B0%7D%3E%20with%20%5C%22%7B1%7D%5C%22%20role%20has%20no%20accessible%20name%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_no_accessible_name_image%22%7D">Element &lt;{0}&gt; with "{1}" role has no accessible name</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_role_redundant</strong>: An explicitly-assigned ARIA role should not be redundant with the implicit role of the element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_role_redundant.html#%7B%22message%22%3A%22The%20explicitly-assigned%20ARIA%20role%20%5C%22%7B0%7D%5C%22%20is%20redundant%20with%20the%20implicit%20role%20of%20the%20element%20%3C%7B1%7D%3E%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_redundant%22%7D">The explicitly-assigned ARIA role "{0}" is redundant with the implicit role of the element &lt;{1}&gt;</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div> + </div><div id="WCAG_2_2" style="padding: 1rem; display:none"> +<div> + <h2>1.1.1 Non-text Content [A]</h2> + <div>All non-text content that is presented to the user has a text alternative that serves the equivalent purpose.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>applet_alt_exists</strong>: &lt;applet&gt; elements must provide an 'alt' attribute and an alternative description + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/applet_alt_exists.html#%7B%22message%22%3A%22An%20%3Capplet%3E%20element%20does%20not%20have%20an%20'alt'%20attribute%20that%20provides%20a%20short%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">An &lt;applet&gt; element does not have an 'alt' attribute that provides a short text alternative</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/applet_alt_exists.html#%7B%22message%22%3A%22The%20'alt'%20attribute%20value%20for%20an%20%3Capplet%3E%20element%20duplicates%20the%20'code'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">The 'alt' attribute value for an &lt;applet&gt; element duplicates the 'code' attribute</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/applet_alt_exists.html#%7B%22message%22%3A%22An%20%3Capplet%3E%20element%20provides%20alternative%20text%2C%20but%20does%20not%20provide%20inner%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">An &lt;applet&gt; element provides alternative text, but does not provide inner content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_alt_redundant</strong>: The text alternative for an image within a link should not repeat the link text or adjacent link text + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_redundant.html#%7B%22message%22%3A%22Link%20text%20is%20repeated%20in%20an%20image%20'alt'%20value%20within%20the%20same%20link%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Link text is repeated in an image 'alt' value within the same link</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_redundant.html#%7B%22message%22%3A%22Link%20text%20of%20previous%20link%20is%20repeated%20in%20image%20'alt'%20value%20of%20a%20link%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Link text of previous link is repeated in image 'alt' value of a link</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_redundant.html#%7B%22message%22%3A%22Image%20'alt'%20value%20within%20a%20link%20is%20repeated%20in%20link%20text%20of%20the%20link%20after%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">Image 'alt' value within a link is repeated in link text of the link after</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_alt_valid</strong>: Images must have accessible names unless they are decorative or redundant + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_valid.html#%7B%22message%22%3A%22Image%20'alt'%20attribute%20value%20consists%20only%20of%20blank%20space(s)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_blank_alt%22%7D">Image 'alt' attribute value consists only of blank space(s)</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_valid.html#%7B%22message%22%3A%22The%20image%20has%20neither%20an%20accessible%20name%20nor%20is%20marked%20as%20decorative%20or%20redundant%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_no_alt%22%7D">The image has neither an accessible name nor is marked as decorative or redundant</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_valid.html#%7B%22message%22%3A%22The%20image%20does%20not%20have%20an%20'alt'%20attribute%20or%20ARIA%20label%2C%20and%20the%20'title'%20attribute%20value%20consists%20only%20of%20blank%20space(s)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_blank_title%22%7D">The image does not have an 'alt' attribute or ARIA label, and the 'title' attribute value consists only of blank space(s)</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>area_alt_exists</strong>: &lt;area&gt; elements in an image map must have a text alternative + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/area_alt_exists.html#%7B%22message%22%3A%22%3Carea%3E%20element%20in%20an%20image%20map%20has%20no%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">&lt;area&gt; element in an image map has no text alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>imagebutton_alt_exists</strong>: The &lt;input&gt; element of type "image" should have a text alternative + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/imagebutton_alt_exists.html#%7B%22message%22%3A%22The%20%3Cinput%3E%20element%20of%20type%20%5C%22image%5C%22%20has%20no%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail%22%7D">The &lt;input&gt; element of type "image" has no text alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>imagemap_alt_exists</strong>: An image map and each &lt;area&gt; element in an image map must have text alternative(s) + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/imagemap_alt_exists.html#%7B%22message%22%3A%22Image%20map%20or%20child%20%3Carea%3E%20has%20no%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Image map or child &lt;area&gt; has no text alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_alt_decorative</strong>: Image designated as decorative must have 'alt="" + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_decorative.html#%7B%22message%22%3A%22Image%20designated%20as%20decorative%20has%20non-null%20'alt'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Image designated as decorative has non-null 'alt' attribute</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_alt_null</strong>: When the intent is to mark an image as decorative with an empty 'alt' attribute, the 'aria' or 'title' attributes should not be used + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_null.html#%7B%22message%22%3A%22The%20image%20'alt'%20attribute%20is%20empty%2C%20but%20the%20'title'%20attribute%20is%20not%20empty%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_decorative%22%7D">The image 'alt' attribute is empty, but the 'title' attribute is not empty</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>object_text_exists</strong>: &lt;object&gt; element must have a text alternative for the content rendered by the object + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/object_text_exists.html#%7B%22message%22%3A%22An%20%3Cobject%3E%20element%20does%20not%20have%20a%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_no_text_alternative%22%7D">An &lt;object&gt; element does not have a text alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>svg_graphics_labelled</strong>: A non-decorative SVG element must have an accessible name + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/svg_graphics_labelled.html#%7B%22message%22%3A%22The%20SVG%20element%20has%20no%20accessible%20name%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_acc_name%22%7D">The SVG element has no accessible name</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>application_content_accessible</strong>: Non-decorative static text and image content within an element with "application" role must be accessible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/application_content_accessible.html#%7B%22message%22%3A%22Verify%20that%20the%20non-decorative%20static%20text%20and%20image%20content%20within%20an%20element%20with%20%5C%22application%5C%22%20role%20are%20accessible%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the non-decorative static text and image content within an element with "application" role are accessible</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_alt_misuse</strong>: 'alt' attribute value must be a good inline replacement for the image + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_misuse.html#%7B%22message%22%3A%22Verify%20that%20the%20file%20name%20serves%20as%20a%20good%20inline%20replacement%20for%20the%20image%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the file name serves as a good inline replacement for the image</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_ismap_misuse</strong>: Server-side image map hot-spots must have duplicate text links + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_ismap_misuse.html#%7B%22message%22%3A%22Server-side%20image%20map%20hot-spots%20do%20not%20have%20duplicate%20text%20links%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Server-side image map hot-spots do not have duplicate text links</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_longdesc_misuse</strong>: The 'longdesc' attribute must reference HTML content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_longdesc_misuse.html#%7B%22message%22%3A%22Verify%20that%20the%20file%20designated%20by%20the%20'longdesc'%20attribute%20contains%20valid%20HTML%20content%20(file%20extension%20not%20recognized)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the file designated by the 'longdesc' attribute contains valid HTML content (file extension not recognized)</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>media_alt_exists</strong>: Audio or video on the page must have a short text alternative that describes the media content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_alt_exists.html#%7B%22message%22%3A%22Filename%20used%20as%20label%20for%20embedded%20audio%20or%20video%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Filename used as label for embedded audio or video</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>style_background_decorative</strong>: Images included by using CSS alone must not convey important information + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_background_decorative.html#%7B%22message%22%3A%22Verify%20the%20CSS%20background%20image%20does%20not%20convey%20important%20information%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify the CSS background image does not convey important information</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>figure_label_exists</strong>: A &lt;figure&gt; element must have an associated label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/figure_label_exists.html#%7B%22message%22%3A%22The%20%3Cfigure%3E%20element%20does%20not%20have%20an%20associated%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The &lt;figure&gt; element does not have an associated label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>embed_alt_exists</strong>: Provide alternative content for &lt;embed&gt; elements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/embed_alt_exists.html#%7B%22message%22%3A%22Verify%20that%20the%20%3Cembed%3E%20element%20has%20alternative%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the &lt;embed&gt; element has alternative content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>embed_noembed_exists</strong>: &lt;embed&gt; elements should be immediately followed by a non-embedded element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/embed_noembed_exists.html#%7B%22message%22%3A%22Verify%20that%20the%20%3Cembed%3E%20element%20is%20immediately%20followed%20by%20a%20non-embedded%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the &lt;embed&gt; element is immediately followed by a non-embedded element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>media_alt_brief</strong>: Alternative text in 'alt' attribute should be brief (&lt;150 characters) + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_alt_brief.html#%7B%22message%22%3A%22Text%20alternative%20is%20more%20than%20150%20characters%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Text alternative is more than 150 characters</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>noembed_content_exists</strong>: &lt;noembed&gt; elements should contain descriptive text + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/noembed_content_exists.html#%7B%22message%22%3A%22Add%20descriptive%20text%20to%20the%20%3Cnoembed%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Add descriptive text to the &lt;noembed&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>canvas_content_described</strong>: The &lt;canvas&gt; element may not be accessible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/canvas_content_described.html#%7B%22message%22%3A%22Verify%20accessibility%20of%20the%20%3Ccanvas%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify accessibility of the &lt;canvas&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_alt_background</strong>: Background images that convey important information must have a text alternative that describes the image + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_background.html#%7B%22message%22%3A%22Verify%20important%20background%20image%20information%20has%20a%20text%20alternative%20in%20system%20high%20contrast%20mode%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify important background image information has a text alternative in system high contrast mode</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>style_highcontrast_visible</strong>: Windows high contrast mode must be supported when using CSS to include, position or alter non-decorative content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_highcontrast_visible.html#%7B%22message%22%3A%22Confirm%20Windows%20high%20contrast%20mode%20is%20supported%20when%20using%20CSS%20to%20include%2C%20position%20or%20alter%20non-decorative%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Confirm Windows high contrast mode is supported when using CSS to include, position or alter non-decorative content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.2.1 Audio-only and Video-only (Prerecorded) [A]</h2> + <div>For prerecorded audio-only or video-only media, an alternative provides equivalent information.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>media_audio_transcribed</strong>: Audio information should also be available in text form + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_audio_transcribed.html#%7B%22message%22%3A%22Provide%20transcripts%20for%20audio%20files%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Provide transcripts for audio files</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.2.2 Captions (Prerecorded) [A]</h2> + <div>Captions are provided for all prerecorded audio content in synchronized media.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>caption_track_exists</strong>: A &lt;video&gt; element must have a text alternative for any meaningful audio content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/caption_track_exists.html#%7B%22message%22%3A%22Verify%20that%20captions%20are%20available%20for%20any%20meaningful%20audio%20or%20provide%20a%20caption%20track%20for%20the%20%3Cvideo%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that captions are available for any meaningful audio or provide a caption track for the &lt;video&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.2.3 Audio Description or Media Alternative (Prerecorded) [A]</h2> + <div>An alternative for time-based media or audio description of the prerecorded video content is provided for synchronized media.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>media_track_available</strong>: Pre-recorded media should have an audio track that describes visual information + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_track_available.html#%7B%22message%22%3A%22Verify%20availability%20of%20a%20user-selectable%20audio%20track%20with%20description%20of%20visual%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify availability of a user-selectable audio track with description of visual content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.2.4 Captions (Live) [AA]</h2> + <div>Captions are provided for all live audio content in synchronized media.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>media_live_captioned</strong>: Live media (streaming video with audio) should have captions for audio content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_live_captioned.html#%7B%22message%22%3A%22Verify%20captions%20are%20provided%20for%20live%20media%20(streaming%20video%20with%20audio)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify captions are provided for live media (streaming video with audio)</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.2.5 Audio Description (Prerecorded) [AA]</h2> + <div>Audio description is provided for all prerecorded video content in synchronized media.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>media_track_available</strong>: Pre-recorded media should have an audio track that describes visual information + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_track_available.html#%7B%22message%22%3A%22Verify%20availability%20of%20a%20user-selectable%20audio%20track%20with%20description%20of%20visual%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify availability of a user-selectable audio track with description of visual content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.3.1 Info and Relationships [A]</h2> + <div>Information, structure, and relationships conveyed through presentation can be programmatically determined or are available in text.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>input_checkboxes_grouped</strong>: Related sets of radio buttons or checkboxes should be programmatically grouped + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_checkboxes_grouped.html#%7B%22message%22%3A%22%7B0%7D%20input%20found%20that%20has%20the%20same%20name%2C%20%5C%22%7B2%7D%5C%22%20as%20a%20%7B1%7D%20input%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_controlnamemismatch%22%7D">{0} input found that has the same name, "{2}" as a {1} input</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_checkboxes_grouped.html#%7B%22message%22%3A%22%7B0%7D%20input%20is%20not%20in%20the%20group%20with%20another%20%7B0%7D%20with%20the%20name%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_notgroupedothergrouped%22%7D">{0} input is not in the group with another {0} with the name "{1}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_checkboxes_grouped.html#%7B%22message%22%3A%22%7B0%7D%20input%20and%20others%20with%20the%20name%20%5C%22%7B1%7D%5C%22%20are%20not%20grouped%20together%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_notgroupedothernotgrouped%22%7D">{0} input and others with the name "{1}" are not grouped together</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_checkboxes_grouped.html#%7B%22message%22%3A%22%7B0%7D%20input%20is%20in%20a%20different%20group%20than%20another%20%7B0%7D%20with%20the%20name%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_notsamegroup%22%7D">{0} input is in a different group than another {0} with the name "{1}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_checkboxes_grouped.html#%7B%22message%22%3A%22Verify%20that%20this%20ungrouped%20checkbox%20input%20is%20not%20related%20to%20other%20checkboxes%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_lonecheckbox%22%7D">Verify that this ungrouped checkbox input is not related to other checkboxes</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_checkboxes_grouped.html#%7B%22message%22%3A%22Verify%20that%20this%20un-named%2C%20ungrouped%20checkbox%20input%20is%20not%20related%20to%20other%20checkboxes%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_unnamedcheckbox%22%7D">Verify that this un-named, ungrouped checkbox input is not related to other checkboxes</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_headers_ref_valid</strong>: The 'headers' attribute should refer to a valid cell in the same table + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_headers_ref_valid.html#%7B%22message%22%3A%22The%20'headers'%20attribute%20value%20%5C%22%7B0%7D%5C%22%20does%20not%20reference%20a%20valid%20'id'%20in%20this%20document%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The 'headers' attribute value "{0}" does not reference a valid 'id' in this document</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_headers_ref_valid.html#%7B%22message%22%3A%22The%20'headers'%20attribute%20value%20%5C%22%7B0%7D%5C%22%20refers%20to%20itself%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">The 'headers' attribute value "{0}" refers to itself</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_headers_ref_valid.html#%7B%22message%22%3A%22The%20'headers'%20attribute%20value%20%5C%22%7B0%7D%5C%22%20does%20not%20refer%20to%20a%20cell%20in%20the%20same%20table%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">The 'headers' attribute value "{0}" does not refer to a cell in the same table</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_headers_ref_valid.html#%7B%22message%22%3A%22The%20'headers'%20attribute%20value%20%5C%22%7B0%7D%5C%22%20does%20not%20refer%20to%20a%20cell%20indicated%20with%20%3Cth%3E%20or%20a%20role%20of%20%5C%22columnheader%5C%22%20or%20%5C%22rowheader%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_4%22%7D">The 'headers' attribute value "{0}" does not refer to a cell indicated with &lt;th&gt; or a role of "columnheader" or "rowheader"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>fieldset_label_valid</strong>: Groups with nested inputs must have unique accessible name + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_label_valid.html#%7B%22message%22%3A%22Group%2FFieldset%20does%20not%20have%20an%20accessible%20name%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Group/Fieldset does not have an accessible name</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_label_valid.html#%7B%22message%22%3A%22Group%2FFieldset%20%5C%22%7B0%7D%5C%22%20has%20a%20duplicate%20name%20to%20another%20group%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Group/Fieldset "{0}" has a duplicate name to another group</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_scope_valid</strong>: Value for 'scope' attribute must be "row", "col", "rowgroup", or "colgroup" + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_scope_valid.html#%7B%22message%22%3A%22Value%20provided%20is%20invalid%20for%20the%20'scope'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Value provided is invalid for the 'scope' attribute</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_scope_valid.html#%7B%22message%22%3A%22The%20'scope'%20attribute%20should%20only%20be%20used%20on%20a%20%3Cth%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">The 'scope' attribute should only be used on a &lt;th&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_hidden_nontabbable</strong>: A hidden element should not contain any tabbable elements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_hidden_nontabbable.html#%7B%22message%22%3A%22Element%20%5C%22%7B0%7D%5C%22%20should%20not%20be%20focusable%20within%20the%20subtree%20of%20an%20element%20with%20an%20'aria-hidden'%20attribute%20with%20value%20'true'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element "{0}" should not be focusable within the subtree of an element with an 'aria-hidden' attribute with value 'true'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_parent_required</strong>: Each element with an implicit or explicit role must be contained within a valid element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_parent_required.html#%7B%22message%22%3A%22Element%20with%20%5C%22%7B0%7D%5C%22%20role%20is%20not%20contained%20in%20or%20owned%20by%20an%20element%20with%20one%20of%20the%20following%20roles%3A%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element with "{0}" role is not contained in or owned by an element with one of the following roles: "{1}"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>form_label_unique</strong>: Form controls should have exactly one label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/form_label_unique.html#%7B%22message%22%3A%22Form%20control%20has%20more%20than%20one%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Form control has more than one label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>label_ref_valid</strong>: The 'for' attribute for a label should reference a non-empty, unique 'id' attribute of a valid element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/label_ref_valid.html#%7B%22message%22%3A%22The%20value%20%5C%22%7B0%7D%5C%22%20of%20the%20'for'%20attribute%20is%20not%20the%20'id'%20of%20a%20valid%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_invalid%22%7D">The value "{0}" of the 'for' attribute is not the 'id' of a valid element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_caption_empty</strong>: A &lt;caption&gt; element for a &lt;table> element must contain descriptive text + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_caption_empty.html#%7B%22message%22%3A%22The%20%3Ctable%3E%20element%20has%20an%20empty%20%3Ccaption%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The &lt;table&gt; element has an empty &lt;caption> element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_caption_nested</strong>: The &lt;caption&gt; element must be nested inside the associated &lt;table> element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_caption_nested.html#%7B%22message%22%3A%22%3Ccaption%3E%20element%20is%20not%20nested%20inside%20a%20%3Ctable%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">&lt;caption&gt; element is not nested inside a &lt;table> element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_headers_exists</strong>: Data table must identify headers + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_headers_exists.html#%7B%22message%22%3A%22Table%20has%20no%20headers%20identified%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Table has no headers identified</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_headers_related</strong>: For a complex data table, all &lt;th&gt; and &lt;td> elements must be related via 'header' or 'scope' attributes + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_headers_related.html#%7B%22message%22%3A%22Complex%20table%20does%20not%20have%20headers%20for%20each%20cell%20properly%20defined%20with%20'header'%20or%20'scope'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Complex table does not have headers for each cell properly defined with 'header' or 'scope'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_structure_misuse</strong>: Table elements with 'role="presentation" or 'role="none" should not have structural elements or attributes + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_structure_misuse.html#%7B%22message%22%3A%22The%20%3C%7B0%7D%3E%20element%20with%20%5C%22presentation%5C%22%20role%20or%20%5C%22none%5C%22%20role%20has%20structural%20element(s)%20and%2For%20attribute(s)%20'%7B1%7D'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The &lt;{0}&gt; element with "presentation" role or "none" role has structural element(s) and/or attribute(s) '{1}'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_summary_redundant</strong>: The table summary must not duplicate the caption + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_summary_redundant.html#%7B%22message%22%3A%22The%20table%20summary%20duplicates%20the%20caption%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The table summary duplicates the caption</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>blockquote_cite_exists</strong>: Use &lt;blockquote&gt; only for quotations, not indentation + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/blockquote_cite_exists.html#%7B%22message%22%3A%22Verify%20that%20%3Cblockquote%3E%20should%20have%20a%20'cite'%20attribute%20and%20not%20be%20used%20for%20indentation%20only%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that &lt;blockquote&gt; should have a 'cite' attribute and not be used for indentation only</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>heading_markup_misuse</strong>: Heading elements must not be used for presentation + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/heading_markup_misuse.html#%7B%22message%22%3A%22Verify%20that%20the%20heading%20element%20is%20a%20genuine%20heading%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the heading element is a genuine heading</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>list_markup_review</strong>: Proper HTML elements should be used to create a list + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/list_markup_review.html#%7B%22message%22%3A%22Verify%20this%20is%20a%20list%20and%20if%20so%2C%20modify%20to%20use%20proper%20HTML%20elements%20for%20the%20list%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_list%22%7D">Verify this is a list and if so, modify to use proper HTML elements for the list</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>text_block_heading</strong>: Heading text should use a heading element or role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_block_heading.html#%7B%22message%22%3A%22Confirm%20this%20text%20'%7B0%7D'%20is%20used%20as%20a%20heading%20and%20if%20so%2C%20modify%20to%20use%20a%20heading%20element%20or%20role%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_heading%22%7D">Confirm this text '{0}' is used as a heading and if so, modify to use a heading element or role</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>text_quoted_correctly</strong>: Quotations should be marked with &lt;q&gt; or &lt;blockquote> elements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_quoted_correctly.html#%7B%22message%22%3A%22If%20the%20following%20text%20is%20a%20quotation%2C%20mark%20it%20as%20a%20%3Cq%3E%20or%20%3Cblockquote%3E%20element%3A%20%7B0%7D%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">If the following text is a quotation, mark it as a &lt;q&gt; or &lt;blockquote> element: {0}</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>fieldset_legend_valid</strong>: &lt;fieldset&gt; elements should have a single, non-empty &lt;legend> as a label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_legend_valid.html#%7B%22message%22%3A%22%3Cfieldset%3E%20element%20does%20not%20have%20a%20%3Clegend%3E%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">&lt;fieldset&gt; element does not have a &lt;legend></a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_legend_valid.html#%7B%22message%22%3A%22%3Cfieldset%3E%20element%20has%20more%20than%20one%20%3Clegend%3E%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">&lt;fieldset&gt; element has more than one &lt;legend></a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_legend_valid.html#%7B%22message%22%3A%22%3Cfieldset%3E%20element%20%3Clegend%3E%20is%20empty%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">&lt;fieldset&gt; element &lt;legend> is empty</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_child_valid</strong>: An element with an ARIA role must own a required child + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_child_valid.html#%7B%22message%22%3A%22The%20element%20with%20role%20%5C%22%7B0%7D%5C%22%20does%20not%20own%20any%20child%20element%20with%20any%20of%20the%20following%20role(s)%3A%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_no_child%22%7D">The element with role "{0}" does not own any child element with any of the following role(s): "{1}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_child_valid.html#%7B%22message%22%3A%22The%20element%20with%20role%20%5C%22%7B0%7D%5C%22%20owns%20the%20child%20element%20with%20the%20role%20%5C%22%7B1%7D%5C%22%20that%20is%20not%20one%20of%20the%20allowed%20role(s)%3A%20%5C%22%7B2%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_invalid_child%22%7D">The element with role "{0}" owns the child element with the role "{1}" that is not one of the allowed role(s): "{2}"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_fields_grouped</strong>: Groups of logically related input elements should be contained within a &lt;fieldset&gt; element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_fields_grouped.html#%7B%22message%22%3A%22Use%20the%20%3Cfieldset%3E%20element%20to%20group%20logically%20related%20input%20elements%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Use the &lt;fieldset&gt; element to group logically related input elements</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>list_structure_proper</strong>: List elements should only be used for lists of related items + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/list_structure_proper.html#%7B%22message%22%3A%22List%20element%20is%20missing%20or%20improperly%20structured%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">List element is missing or improperly structured</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>select_options_grouped</strong>: Groups of related options within a selection list should be grouped with &lt;optgroup&gt; + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/select_options_grouped.html#%7B%22message%22%3A%22Group%20of%20related%20options%20may%20need%20%3Coptgroup%3E%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Group of related options may need &lt;optgroup&gt;</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_layout_linearized</strong>: Avoid using tables to format text documents in columns unless the table can be linearized + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_layout_linearized.html#%7B%22message%22%3A%22Verify%20table%20is%20not%20being%20used%20to%20format%20text%20content%20in%20columns%20unless%20the%20table%20can%20be%20linearized%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify table is not being used to format text content in columns unless the table can be linearized</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.3.2 Meaningful Sequence [A]</h2> + <div>When the sequence in which content is presented affects its meaning, a correct reading sequence can be programmatically determined.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>dir_attribute_valid</strong>: 'dir' attribute value must be "ltr", "rtl", or "auto" + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/dir_attribute_valid.html#%7B%22message%22%3A%22Invalid%20value%20used%20for%20the%20'dir'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Invalid value used for the 'dir' attribute</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>text_whitespace_valid</strong>: Space characters should not be used to control spacing within a word + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_whitespace_valid.html#%7B%22message%22%3A%22Space%20characters%20should%20not%20be%20used%20to%20create%20space%20between%20the%20letters%20of%20a%20word%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_text%22%7D">Space characters should not be used to create space between the letters of a word</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>style_highcontrast_visible</strong>: Windows high contrast mode must be supported when using CSS to include, position or alter non-decorative content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_highcontrast_visible.html#%7B%22message%22%3A%22Confirm%20Windows%20high%20contrast%20mode%20is%20supported%20when%20using%20CSS%20to%20include%2C%20position%20or%20alter%20non-decorative%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Confirm Windows high contrast mode is supported when using CSS to include, position or alter non-decorative content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.3.3 Sensory Characteristics [A]</h2> + <div>Instructions provided for understanding and operating content do not rely solely on sensory characteristics of components such as shape, size, visual location, orientation, or sound.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>text_sensory_misuse</strong>: Instructions should be meaningful without relying solely on shape, size, or location words + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_sensory_misuse.html#%7B%22message%22%3A%22Confirm%20the%20word(s)%20'%7B0%7D'%20of%20the%20user%20instruction%20is%20used%20to%20indicate%20a%20logical%20rather%20than%20visual%20position%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_position%22%7D">Confirm the word(s) '{0}' of the user instruction is used to indicate a logical rather than visual position</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_sensory_misuse.html#%7B%22message%22%3A%22Confirm%20the%20user%20instruction%20is%20still%20understandable%20without%20the%20word(s)%20'%7B0%7D'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_other%22%7D">Confirm the user instruction is still understandable without the word(s) '{0}'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.3.4 Orientation [AA]</h2> + <div>Content does not restrict its view and operation to a single display orientation, such as portrait or landscape.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>element_orientation_unlocked</strong>: Elements should not be restricted to either landscape or portrait orientation using CSS transform property + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_orientation_unlocked.html#%7B%22message%22%3A%22The%20element%20%3C%7B0%7D%3E%20is%20restricted%20to%20either%20landscape%20or%20portrait%20orientation%20using%20CSS%20transform%20property%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_locked%22%7D">The element &lt;{0}&gt; is restricted to either landscape or portrait orientation using CSS transform property</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.3.5 Identify Input Purpose [AA]</h2> + <div>The purpose of each input field that collects information about the user can be programmatically determined when the field serves a common purpose.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>input_autocomplete_valid</strong>: The 'autocomplete' attribute's token(s) must be appropriate for the input form field + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_autocomplete_valid.html#%7B%22message%22%3A%22The%20'autocomplete'%20attribute's%20token(s)%20are%20not%20appropriate%20for%20the%20input%20form%20field%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_inappropriate%22%7D">The 'autocomplete' attribute's token(s) are not appropriate for the input form field</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_autocomplete_valid.html#%7B%22message%22%3A%22The%20'autocomplete'%20attribute's%20token(s)%20are%20not%20appropriate%20for%20an%20input%20form%20field%20of%20any%20type%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_invalid%22%7D">The 'autocomplete' attribute's token(s) are not appropriate for an input form field of any type</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_autocomplete_valid.html#%7B%22message%22%3A%22The%20'autocomplete'%20attribute%20has%20an%20incorrect%20value%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_incorrect%22%7D">The 'autocomplete' attribute has an incorrect value</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.1 Use of Color [A]</h2> + <div>Color is not used as the only visual means of conveying information, indicating an action, prompting a response, or distinguishing a visual element.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>form_font_color</strong>: Combine color and descriptive markup to indicate required form fields + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/form_font_color.html#%7B%22message%22%3A%22Check%20color%20is%20not%20used%20as%20the%20only%20visual%20means%20to%20convey%20which%20fields%20are%20required%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Check color is not used as the only visual means to convey which fields are required</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>style_color_misuse</strong>: Combine color and descriptive markup to convey information + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_color_misuse.html#%7B%22message%22%3A%22Verify%20color%20is%20not%20used%20as%20the%20only%20visual%20means%20of%20conveying%20information%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify color is not used as the only visual means of conveying information</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.2 Audio Control [A]</h2> + <div>If any audio plays automatically for more than 3 seconds, either a mechanism is available to pause or stop the audio, or a mechanism is available to control audio volume independently from the overall system volume level.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>media_autostart_controllable</strong>: Mechanism must be available to pause or stop and control the volume of the audio that plays automatically + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_autostart_controllable.html#%7B%22message%22%3A%22Verify%20there%20is%20a%20mechanism%20to%20pause%20or%20stop%20and%20control%20the%20volume%20for%20the%20audio%20that%20plays%20automatically%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify there is a mechanism to pause or stop and control the volume for the audio that plays automatically</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.3 Contrast (Minimum) [AA]</h2> + <div>The visual presentation of text and images of text has a contrast ratio of at least 4.5:1, with a 3:1 ratio for large-scale text.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>text_contrast_sufficient</strong>: The contrast ratio of text with its background must meet WCAG AA requirements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_contrast_sufficient.html#%7B%22message%22%3A%22Text%20contrast%20of%20%7B0%7D%20with%20its%20background%20is%20less%20than%20the%20WCAG%20AA%20minimum%20requirements%20for%20text%20of%20size%20%7B1%7Dpx%20and%20weight%20of%20%7B2%7D%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_contrast%22%7D">Text contrast of {0} with its background is less than the WCAG AA minimum requirements for text of size {1}px and weight of {2}</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_contrast_sufficient.html#%7B%22message%22%3A%22The%20foreground%20text%20and%20its%20background%20color%20are%20both%20detected%20as%20%7B3%7D.%20Verify%20the%20text%20meets%20the%20WCAG%20AA%20requirements%20for%20minimum%20contrast%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_same_color%22%7D">The foreground text and its background color are both detected as {3}. Verify the text meets the WCAG AA requirements for minimum contrast</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_contrast_sufficient.html#%7B%22message%22%3A%22Verify%20the%20contrast%20ratio%20of%20the%20text%20against%20the%20lightest%20and%20the%20darkest%20colors%20of%20the%20background%20meets%20the%20WCAG%20AA%20minimum%20requirements%20for%20text%20of%20size%20%7B1%7Dpx%20and%20weight%20of%20%7B2%7D%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_graphic_background%22%7D">Verify the contrast ratio of the text against the lightest and the darkest colors of the background meets the WCAG AA minimum requirements for text of size {1}px and weight of {2}</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_contrast_sufficient.html#%7B%22message%22%3A%22Verify%20the%20contrast%20ratio%20of%20the%20text%20with%20shadow%20meets%20the%20WCAG%20AA%20minimum%20requirements%20for%20text%20of%20size%20%7B1%7Dpx%20and%20weight%20of%20%7B2%7D%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_text_shadow%22%7D">Verify the contrast ratio of the text with shadow meets the WCAG AA minimum requirements for text of size {1}px and weight of {2}</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.4 Resize text [AA]</h2> + <div>Text can be resized without assistive technology up to 200 percent without loss of content or functionality.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>style_viewport_resizable</strong>: Text must scale up to 200% without loss of content or functionality + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_viewport_resizable.html#%7B%22message%22%3A%22Verify%20that%20text%20sized%20using%20viewport%20units%20can%20be%20resized%20up%20to%20200%25%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that text sized using viewport units can be resized up to 200%</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>meta_viewport_zoomable</strong>: The 'meta[name=viewport]' should not prevent the browser zooming the content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/meta_viewport_zoomable.html#%7B%22message%22%3A%22Confirm%20the%20'meta%5Bname%3Dviewport%5D'%20with%20%5C%22%7B0%7D%5C%22%20can%20be%20zoomed%20by%20user%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_zoomable%22%7D">Confirm the 'meta[name=viewport]' with "{0}" can be zoomed by user</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.5 Images of Text [AA]</h2> + <div>If the technologies being used can achieve the visual presentation, text should not be used to convey information rather than images of text.</div> + +</div><div> + <h2>1.4.10 Reflow [AA]</h2> + <div>Content can reflow without loss of information or functionality, and without requiring scrolling in two dimensions.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>style_viewport_resizable</strong>: Text must scale up to 200% without loss of content or functionality + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_viewport_resizable.html#%7B%22message%22%3A%22Verify%20that%20text%20sized%20using%20viewport%20units%20can%20be%20resized%20up%20to%20200%25%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that text sized using viewport units can be resized up to 200%</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.11 Non-text Contrast [AA]</h2> + <div>The parts of graphical objects required to understand the content, and the visual information required to identify UI components and states, have a contrast ratio of at least 3:1 against adjacent colors.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>style_highcontrast_visible</strong>: Windows high contrast mode must be supported when using CSS to include, position or alter non-decorative content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_highcontrast_visible.html#%7B%22message%22%3A%22Confirm%20Windows%20high%20contrast%20mode%20is%20supported%20when%20using%20CSS%20to%20include%2C%20position%20or%20alter%20non-decorative%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Confirm Windows high contrast mode is supported when using CSS to include, position or alter non-decorative content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.12 Text Spacing [AA]</h2> + <div>No loss of content or functionality occurs when users change letter, word and paragraph spacing, as well as line height.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>text_spacing_valid</strong>: CSS !important should not be used in inline style to control letter or word spacing or line height + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_spacing_valid.html#%7B%22message%22%3A%22CSS%20!important%20should%20not%20be%20used%20in%20inline%20%E2%80%98letter-spacing%E2%80%99%20style%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_letter_spacing_style%22%7D">CSS !important should not be used in inline ‘letter-spacing’ style</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_spacing_valid.html#%7B%22message%22%3A%22CSS%20!important%20should%20not%20be%20used%20in%20inline%20%E2%80%98word-spacing%E2%80%99%20style%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_word_spacing_style%22%7D">CSS !important should not be used in inline ‘word-spacing’ style</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_spacing_valid.html#%7B%22message%22%3A%22CSS%20!important%20should%20not%20be%20used%20in%20inline%20%E2%80%98line-height%E2%80%99%20style%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_line_height_style%22%7D">CSS !important should not be used in inline ‘line-height’ style</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.13 Content on Hover or Focus [AA]</h2> + <div>Where hover or focus actions cause additional content to become visible and hidden, the additional content is dismissable, hoverable and persistent.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>style_hover_persistent</strong>: The pointer should be able to move over content displayed on hover + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_hover_persistent.html#%7B%22message%22%3A%22Confirm%20the%20pointer%20can%20be%20positioned%20over%20the%20displayed%20element%2C%20not%20just%20the%20trigger%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Confirm the pointer can be positioned over the displayed element, not just the trigger</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_hover_persistent.html#%7B%22message%22%3A%22Confirm%20the%20pointer%20can%20be%20positioned%20over%20all%20the%20information%20displayed%20on%20hover%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_2%22%7D">Confirm the pointer can be positioned over all the information displayed on hover</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_hover_persistent.html#%7B%22message%22%3A%22Confirm%20the%20margin%20style%20attribute%20has%20not%20prevented%20the%20pointer%20from%20hovering%20over%20the%20displayed%20element%2C%20not%20just%20the%20trigger%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_3%22%7D">Confirm the margin style attribute has not prevented the pointer from hovering over the displayed element, not just the trigger</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.1.1 Keyboard [A]</h2> + <div>All functionality of the content is operable through a keyboard interface without requiring specific timings for individual keystrokes.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>aria_activedescendant_tabindex_valid</strong>: Element using 'aria-activedescendant' property should be tabbable + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_activedescendant_tabindex_valid.html#%7B%22message%22%3A%22The%20%3C%7B0%7D%3E%20element%20using%20'aria-activedescendant'%20set%20to%20%5C%22%7B1%7D%5C%22%20is%20not%20tabbable%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The &lt;{0}&gt; element using 'aria-activedescendant' set to "{1}" is not tabbable</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_child_tabbable</strong>: UI component must have at least one tabbable descendant for keyboard access + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_child_tabbable.html#%7B%22message%22%3A%22None%20of%20the%20descendent%20elements%20with%20%5C%22%7B1%7D%5C%22%20role%20is%20tabbable%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_missing_child%22%7D">None of the descendent elements with "{1}" role is tabbable</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>element_scrollable_tabbable</strong>: Scrollable elements should be tabbable or contain tabbable content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_scrollable_tabbable.html#%7B%22message%22%3A%22The%20scrollable%20element%20%3C%7B0%7D%3E%20with%20non-interactive%20content%20is%20not%20tabbable%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_scrollable%22%7D">The scrollable element &lt;{0}&gt; with non-interactive content is not tabbable</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>iframe_interactive_tabbable</strong>: Iframe with interactive content should not be excluded from tab order using tabindex + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/iframe_interactive_tabbable.html#%7B%22message%22%3A%22The%20%3Ciframe%3E%20with%20interactive%20content%20is%20excluded%20from%20tab%20order%20using%20tabindex%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_invalid%22%7D">The &lt;iframe&gt; with interactive content is excluded from tab order using tabindex</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>application_content_accessible</strong>: Non-decorative static text and image content within an element with "application" role must be accessible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/application_content_accessible.html#%7B%22message%22%3A%22Verify%20that%20the%20non-decorative%20static%20text%20and%20image%20content%20within%20an%20element%20with%20%5C%22application%5C%22%20role%20are%20accessible%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the non-decorative static text and image content within an element with "application" role are accessible</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_keyboard_handler_exists</strong>: Interactive WAI_ARIA UI components must provide keyboard access + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_keyboard_handler_exists.html#%7B%22message%22%3A%22Verify%20the%20%3C%7B0%7D%3E%20element%20with%20%5C%22%7B1%7D%5C%22%20role%20has%20keyboard%20access%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_no_keyboard_access%22%7D">Verify the &lt;{0}&gt; element with "{1}" role has keyboard access</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>script_focus_blur_review</strong>: Scripting must not remove focus from content that normally receives focus + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/script_focus_blur_review.html#%7B%22message%22%3A%22Verify%20script%20does%20not%20remove%20focus%20from%20content%20that%20normally%20receives%20focus%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify script does not remove focus from content that normally receives focus</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>script_onclick_misuse</strong>: Scripts should not be used to emulate links + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/script_onclick_misuse.html#%7B%22message%22%3A%22Possible%20use%20of%20a%20script%20to%20emulate%20a%20link%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Possible use of a script to emulate a link</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>widget_tabbable_exists</strong>: Component must have at least one tabbable element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/widget_tabbable_exists.html#%7B%22message%22%3A%22Component%20with%20%5C%22%7B0%7D%5C%22%20role%20does%20not%20have%20a%20tabbable%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22fail_no_tabbable%22%7D">Component with "{0}" role does not have a tabbable element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>widget_tabbable_single</strong>: Components with a widget role must have no more than one tabbable element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/widget_tabbable_single.html#%7B%22message%22%3A%22Component%20with%20%5C%22%7B0%7D%5C%22%20role%20has%20more%20than%20one%20tabbable%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_multiple_tabbable%22%7D">Component with "{0}" role has more than one tabbable element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>media_keyboard_controllable</strong>: Media using &lt;audio&gt; and/or &lt;video> elements must have keyboard accessible controls + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_keyboard_controllable.html#%7B%22message%22%3A%22Verify%20media%20using%20%3Caudio%3E%20and%2For%20%3Cvideo%3E%20elements%20have%20keyboard%20accessible%20controls%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify media using &lt;audio&gt; and/or &lt;video> elements have keyboard accessible controls</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>script_onclick_avoid</strong>: Scripts should not be used to emulate links + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/script_onclick_avoid.html#%7B%22message%22%3A%22Verify%20that%20'onclick'%20events%20are%20not%20used%20in%20script%20to%20emulate%20a%20link%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that 'onclick' events are not used in script to emulate a link</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>canvas_content_described</strong>: The &lt;canvas&gt; element may not be accessible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/canvas_content_described.html#%7B%22message%22%3A%22Verify%20accessibility%20of%20the%20%3Ccanvas%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify accessibility of the &lt;canvas&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>element_mouseevent_keyboard</strong>: All interactive content with mouse event handlers must have equivalent keyboard access + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_mouseevent_keyboard.html#%7B%22message%22%3A%22Confirm%20the%20%3C%7B0%7D%3E%20element%20with%20mouse%20event%20handler(s)%20'%7B1%7D'%20has%20a%20corresponding%20keyboard%20handler(s)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Confirm the &lt;{0}&gt; element with mouse event handler(s) '{1}' has a corresponding keyboard handler(s)</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.1.2 No Keyboard Trap [A]</h2> + <div>If keyboard focus can be moved to a component using a keyboard interface, then focus can be moved away from that component using only a keyboard interface, and, if it requires more than unmodified arrow or tab keys or other standard exit methods, the user is advised of the method for moving focus away.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>download_keyboard_controllable</strong>: File download mechanisms should be keyboard-operable and preserve page focus location + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/download_keyboard_controllable.html#%7B%22message%22%3A%22Verify%20that%20the%20file%20download%20mechanism%20does%20not%20cause%20a%20keyboard%20trap%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify that the file download mechanism does not cause a keyboard trap</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.1.4 Character Key Shortcuts [A]</h2> + <div>If a keyboard shortcut is implemented using only letter, punctuation, number or symbol characters, then the shortcut can be turned off, remapped or activated only on focus.</div> + +</div><div> + <h2>2.2.1 Timing Adjustable [A]</h2> + <div>For each time limit that is set by the content, the user can turn off, adjust, or extend the limit.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>meta_redirect_optional</strong>: Page should not automatically refresh without warning or option to turn it off or adjust the time limit + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/meta_redirect_optional.html#%7B%22message%22%3A%22Check%20page%20does%20not%20automatically%20refresh%20without%20warning%20or%20options%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail%22%7D">Check page does not automatically refresh without warning or options</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/meta_redirect_optional.html#%7B%22message%22%3A%22Check%20page%20does%20not%20automatically%20refresh%20without%20warning%20or%20options%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_longrefresh%22%7D">Check page does not automatically refresh without warning or options</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>meta_refresh_delay</strong>: Pages should not refresh automatically + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/meta_refresh_delay.html#%7B%22message%22%3A%22Verify%20page%20is%20not%20being%20caused%20to%20refresh%20automatically%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify page is not being caused to refresh automatically</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.2.2 Pause, Stop, Hide [A]</h2> + <div>For moving, blinking, scrolling, or auto-updating information, the user can pause, stop, hide or adjust the information.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>blink_elem_deprecated</strong>: Content that blinks persistently must not be used + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/blink_elem_deprecated.html#%7B%22message%22%3A%22Content%20found%20that%20blinks%20persistently%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Content found that blinks persistently</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>marquee_elem_avoid</strong>: The &lt;marquee&gt; element is obsolete and should not be used + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/marquee_elem_avoid.html#%7B%22message%22%3A%22Scrolling%20content%20found%20that%20uses%20the%20obsolete%20%3Cmarquee%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Scrolling content found that uses the obsolete &lt;marquee&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>blink_css_review</strong>: Do not use the "blink" value of the 'text-decoration' property for longer than five seconds + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/blink_css_review.html#%7B%22message%22%3A%22Check%20the%20%5C%22blink%5C%22%20value%20of%20the%20CSS%20'text-decoration'%20property%20is%20not%20used%20for%20more%20than%20than%20five%20seconds%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Check the "blink" value of the CSS 'text-decoration' property is not used for more than than five seconds</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.3.1 Three Flashes or Below Threshold [A]</h2> + <div>Content does not contain anything that flashes more than three times in any one second period, or the flash is below the general flash and red flash thresholds.</div> + +</div><div> + <h2>2.4.1 Bypass Blocks [A]</h2> + <div>A mechanism is available to bypass blocks of content that are repeated on multiple Web pages.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>aria_application_label_unique</strong>: Each element with "application" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_application_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22application%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "application" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_application_labelled</strong>: Each element with "application" role must have a label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_application_labelled.html#%7B%22message%22%3A%22Element%20with%20%5C%22application%5C%22%20role%20does%20not%20have%20a%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element with "application" role does not have a label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_article_label_unique</strong>: Each element with "article" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_article_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22article%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "article" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_banner_label_unique</strong>: Each element with "banner" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_banner_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22banner%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "banner" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_banner_single</strong>: A page, document, or application should only have one element with "banner" role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_banner_single.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22banner%5C%22%20role%20found%20on%20the%20page%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "banner" role found on the page</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_complementary_label_unique</strong>: Each element with "complementary" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_complementary_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22complementary%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "complementary" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_complementary_labelled</strong>: Each element with "complementary" role must have a label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_complementary_labelled.html#%7B%22message%22%3A%22Element%20with%20%5C%22complementary%5C%22%20role%20does%20not%20have%20a%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element with "complementary" role does not have a label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_contentinfo_label_unique</strong>: Each element with "contentinfo" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_contentinfo_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22contentinfo%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "contentinfo" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_contentinfo_single</strong>: A page, document, or application should only have one element with "contentinfo" role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_contentinfo_single.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22contentinfo%5C%22%20role%20found%20on%20the%20page%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "contentinfo" role found on the page</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_document_label_unique</strong>: Each element with "document" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_document_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22document%5C%22%20roles%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "document" roles do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_form_label_unique</strong>: Each element with "form" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_form_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22form%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "form" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_main_label_unique</strong>: Each element with "main" role must have unique label that describes its purposes + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_main_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22main%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "main" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_navigation_label_unique</strong>: Each element with "navigation" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_navigation_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22navigation%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "navigation" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_region_label_unique</strong>: Each element with "region" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_region_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22region%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "region" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_region_labelled</strong>: Each element with "region" role must have a label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_region_labelled.html#%7B%22message%22%3A%22Element%20with%20%5C%22region%5C%22%20role%20does%20not%20have%20a%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element with "region" role does not have a label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_search_label_unique</strong>: Each element with "search" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_search_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22search%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "search" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_toolbar_label_unique</strong>: Each element with "toolbar" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_toolbar_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22toolbar%5C%22%20roles%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "toolbar" roles do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>skip_main_exists</strong>: Pages must provide a way to skip directly to the main content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/skip_main_exists.html#%7B%22message%22%3A%22The%20page%20does%20not%20provide%20a%20way%20to%20quickly%20navigate%20to%20the%20main%20content%20(ARIA%20%5C%22main%5C%22%20landmark%20or%20a%20skip%20link)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The page does not provide a way to quickly navigate to the main content (ARIA "main" landmark or a skip link)</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>frame_src_valid</strong>: A &lt;frame&gt; containing non-HTML content must be made accessible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/frame_src_valid.html#%7B%22message%22%3A%22Verify%20%3Cframe%3E%20content%20is%20accessible%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify &lt;frame&gt; content is accessible</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>html_skipnav_exists</strong>: Provide a way to bypass blocks of content that are repeated on multiple Web pages + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_skipnav_exists.html#%7B%22message%22%3A%22Verify%20there%20is%20a%20way%20to%20bypass%20blocks%20of%20content%20that%20are%20repeated%20on%20multiple%20Web%20pages%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify there is a way to bypass blocks of content that are repeated on multiple Web pages</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>skip_main_described</strong>: The description of a hyperlink used to skip content must communicate where it links to + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/skip_main_described.html#%7B%22message%22%3A%22Verify%20that%20if%20this%20hyperlink%20skips%20content%2C%20the%20description%20communicates%20where%20it%20links%20to%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that if this hyperlink skips content, the description communicates where it links to</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_complementary_label_visible</strong>: Each element with "complementary" role should have a visible label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_complementary_label_visible.html#%7B%22message%22%3A%22Element%20with%20%5C%22complementary%5C%22%20role%20does%20not%20have%20a%20visible%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element with "complementary" role does not have a visible label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_content_in_landmark</strong>: All content must reside within an element with a landmark role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_content_in_landmark.html#%7B%22message%22%3A%22Content%20is%20not%20within%20a%20landmark%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Content is not within a landmark element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_contentinfo_misuse</strong>: Each element with "contentinfo" role is only permitted with an element with "main" role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_contentinfo_misuse.html#%7B%22message%22%3A%22Element%20with%20%5C%22contentinfo%5C%22%20role%20is%20present%20without%20an%20element%20with%20%5C%22main%5C%22%20role%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element with "contentinfo" role is present without an element with "main" role</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_landmark_name_unique</strong>: Each landmark should have a unique 'aria-labelledby' or 'aria-label' or be nested in a different parent region + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_landmark_name_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22%7B0%7D%5C%22%20landmarks%20within%20the%20same%20parent%20region%20are%20not%20distinguished%20from%20one%20another%20because%20they%20have%20the%20same%20%5C%22%7B1%7D%5C%22%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_0%22%7D">Multiple elements with "{0}" landmarks within the same parent region are not distinguished from one another because they have the same "{1}" label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_main_label_visible</strong>: Each element with "main" role should have a unique visible label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_main_label_visible.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22main%5C%22%20role%20do%20not%20have%20unique%20visible%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "main" role do not have unique visible labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.4.2 Page Titled [A]</h2> + <div>Web pages, non-web documents, and software have titles that describe topic or purpose.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>page_title_exists</strong>: The page should have a title that correctly identifies the subject of the page + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/page_title_exists.html#%7B%22message%22%3A%22Missing%20%3Chead%3E%20element%20so%20there%20can%20be%20no%20%3Ctitle%3E%20element%20present%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Missing &lt;head&gt; element so there can be no &lt;title> element present</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/page_title_exists.html#%7B%22message%22%3A%22Missing%20%3Ctitle%3E%20element%20in%20%3Chead%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Missing &lt;title&gt; element in &lt;head> element</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/page_title_exists.html#%7B%22message%22%3A%22The%20%3Ctitle%3E%20element%20is%20empty%20(no%20innerHTML)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">The &lt;title&gt; element is empty (no innerHTML)</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>page_title_valid</strong>: Page &lt;title&gt; should be a descriptive title, rather than a filename + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/page_title_valid.html#%7B%22message%22%3A%22Verify%20that%20using%20the%20filename%20as%20the%20page%20%3Ctitle%3E%20value%20is%20descriptive%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_2%22%7D">Verify that using the filename as the page &lt;title&gt; value is descriptive</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.4.3 Focus Order [A]</h2> + <div>If content can be navigated sequentially and the navigation sequences affect meaning or operation, focusable components receive focus in an order that preserves meaning and operability.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>widget_tabbable_single</strong>: Components with a widget role must have no more than one tabbable element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/widget_tabbable_single.html#%7B%22message%22%3A%22Component%20with%20%5C%22%7B0%7D%5C%22%20role%20has%20more%20than%20one%20tabbable%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_multiple_tabbable%22%7D">Component with "{0}" role has more than one tabbable element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.4.4 Link Purpose (In Context) [A]</h2> + <div>The purpose of each link can be determined from the link text alone or from the link text together with its programmatically determined link content.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>img_alt_redundant</strong>: The text alternative for an image within a link should not repeat the link text or adjacent link text + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_redundant.html#%7B%22message%22%3A%22Link%20text%20is%20repeated%20in%20an%20image%20'alt'%20value%20within%20the%20same%20link%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Link text is repeated in an image 'alt' value within the same link</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_redundant.html#%7B%22message%22%3A%22Link%20text%20of%20previous%20link%20is%20repeated%20in%20image%20'alt'%20value%20of%20a%20link%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Link text of previous link is repeated in image 'alt' value of a link</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_redundant.html#%7B%22message%22%3A%22Image%20'alt'%20value%20within%20a%20link%20is%20repeated%20in%20link%20text%20of%20the%20link%20after%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">Image 'alt' value within a link is repeated in link text of the link after</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>a_text_purpose</strong>: Hyperlinks must have an accessible name for their purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/a_text_purpose.html#%7B%22message%22%3A%22Hyperlink%20has%20no%20link%20text%2C%20label%20or%20image%20with%20a%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_acc_name%22%7D">Hyperlink has no link text, label or image with a text alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.4.5 Multiple Ways [AA]</h2> + <div>More than one way is available to locate a Web page within a set of Web pages, except where the Web Page is the result of, or a step in, a process.</div> + +</div><div> + <h2>2.4.6 Headings and Labels [AA]</h2> + <div>Headings and labels describe topic or purpose.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>heading_content_exists</strong>: Heading elements must provide descriptive text + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/heading_content_exists.html#%7B%22message%22%3A%22Heading%20element%20has%20no%20descriptive%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Heading element has no descriptive content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.4.7 Focus Visible [AA]</h2> + <div>Any keyboard operable user interface has a mode of operation where the keyboard focus indicator is visible.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>element_tabbable_visible</strong>: A tabbable element should be visible on the screen when it has keyboard focus + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_tabbable_visible.html#%7B%22message%22%3A%22Confirm%20the%20element%20should%20be%20tabbable%20and%20if%20so%2C%20it%20becomes%20visible%20when%20it%20has%20keyboard%20focus%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_visible%22%7D">Confirm the element should be tabbable and if so, it becomes visible when it has keyboard focus</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>script_focus_blur_review</strong>: Scripting must not remove focus from content that normally receives focus + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/script_focus_blur_review.html#%7B%22message%22%3A%22Verify%20script%20does%20not%20remove%20focus%20from%20content%20that%20normally%20receives%20focus%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify script does not remove focus from content that normally receives focus</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>style_focus_visible</strong>: The keyboard focus indicator should be visible when default border or outline is modified by CSS + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_focus_visible.html#%7B%22message%22%3A%22Check%20the%20keyboard%20focus%20indicator%20is%20visible%20when%20using%20CSS%20declaration%20for%20'border'%20or%20'outline'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_focus_not_visible%22%7D">Check the keyboard focus indicator is visible when using CSS declaration for 'border' or 'outline'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.4.11 Focus Not Obscured (Minimum) [AA]</h2> + <div>When an element receives focus, it is not entirely covered by other content.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>element_tabbable_unobscured</strong>: When an element receives focus, it is not entirely covered by other content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_tabbable_unobscured.html#%7B%22message%22%3A%22Confirm%20that%20when%20the%20element%20receives%20focus%2C%20it%20is%20not%20covered%20or%2C%20if%20covered%20by%20user%20action%2C%20can%20be%20uncovered%20without%20moving%20focus%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_obscured%22%7D">Confirm that when the element receives focus, it is not covered or, if covered by user action, can be uncovered without moving focus</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.5.1 Pointer Gestures [A]</h2> + <div>All functionality that uses multipoint or path-based gestures for operation can be operated with a single pointer without a path-based gesture.</div> + +</div><div> + <h2>2.5.2 Pointer Cancellation [A]</h2> + <div>For functionality that can be operated using a single pointer, completion of the function is on the up-event with an ability to abort, undo or reverse the outcome.</div> + +</div><div> + <h2>2.5.3 Label in Name [A]</h2> + <div>For user interface components with labels that include text or images of text, the accessible name contains the text that is presented visually.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>label_name_visible</strong>: Accessible name must match or contain the visible label text + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/label_name_visible.html#%7B%22message%22%3A%22Accessible%20name%20does%20not%20match%20or%20contain%20the%20visible%20label%20text%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Accessible name does not match or contain the visible label text</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_label_visible</strong>: An input element must have an associated visible label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_visible.html#%7B%22message%22%3A%22The%20%E2%80%98placeholder%E2%80%99%20is%20the%20only%20visible%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_placeholder_only%22%7D">The ‘placeholder’ is the only visible label</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_visible.html#%7B%22message%22%3A%22The%20input%20element%20does%20not%20have%20an%20associated%20visible%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_no_label%22%7D">The input element does not have an associated visible label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.5.4 Motion Actuation [A]</h2> + <div>Functionality that can be operated by motion can also be operated by user interface components, and the motion trigger can be disabled.</div> + +</div><div> + <h2>2.5.7 Dragging Movement [AA]</h2> + <div>All functionality that uses a dragging movement for operation can be achieved by a single pointer without dragging.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>draggable_alternative_exists</strong>: A draggable element must have a "single pointer" alternative + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/draggable_alternative_exists.html#%7B%22message%22%3A%22Ensure%20the%20draggable%20element%20%5C%22%7B0%7D%5C%22%20has%20a%20%5C%22single%20pointer%5C%22%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_alternative%22%7D">Ensure the draggable element "{0}" has a "single pointer" alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.5.8 Minimum Target Size [AA]</h2> + <div>The size of the target for pointer inputs is at least 24 by 24 CSS pixels.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>target_spacing_sufficient</strong>: The target must be sufficiently sized or spaced from other targets + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/target_spacing_sufficient.html#%7B%22message%22%3A%22Undersized%20target%20%5C%22%7B0%7D%5C%22%20does%20not%20have%20sufficient%20spacing%20of%2012%20CSS%20pixels%20from%20another%20target%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22violation_spacing%22%7D">Undersized target "{0}" does not have sufficient spacing of 12 CSS pixels from another target "{1}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/target_spacing_sufficient.html#%7B%22message%22%3A%22Ensure%20the%20overlapped%20target%20%5C%22%7B0%7D%5C%22%20meets%20a%20minimum%20target%20size%20or%20has%20sufficient%20spacing%20from%20the%20overlapping%20target%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_overlap%22%7D">Ensure the overlapped target "{0}" meets a minimum target size or has sufficient spacing from the overlapping target "{1}"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.1.1 Language of Page [A]</h2> + <div>The default human language of Web pages, non-Web documents, or software can be programmatically determined.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>html_lang_exists</strong>: Page must identify the default language of the document with a 'lang' attribute + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20as%20XHTML%201.0%2C%20but%20has%20neither%20'lang'%20nor%20'xml%3Alang'%20attributes%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Page detected as XHTML 1.0, but has neither 'lang' nor 'xml:lang' attributes</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20as%20XHTML%2C%20but%20does%20not%20have%20an%20'xml%3Alang'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Page detected as XHTML, but does not have an 'xml:lang' attribute</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20as%20HTML%2C%20but%20does%20not%20have%20a%20'lang'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">Page detected as HTML, but does not have a 'lang' attribute</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20with%20'lang'%20and%20'xml%3Alang'%20attributes%20and%20primary%20languages%20do%20not%20match%3A%20%5C%22%7B0%7D%5C%22%2C%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_4%22%7D">Page detected with 'lang' and 'xml:lang' attributes and primary languages do not match: "{0}", "{1}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20with%20'lang'%20and%20'xml%3Alang'%20attributes%20that%20do%20not%20match%3A%20%5C%22%7B0%7D%5C%22%2C%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_5%22%7D">Page detected with 'lang' and 'xml:lang' attributes that do not match: "{0}", "{1}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20as%20XHTML%201.0%20with%20only%20a%20'lang'%20attribute.%20Confirm%20that%20page%20is%20only%20delivered%20via%20text%2Fhtml%20mime%20type%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_5%22%7D">Page detected as XHTML 1.0 with only a 'lang' attribute. Confirm that page is only delivered via text/html mime type</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20as%20XHTML%201.0%20with%20only%20an%20'xml%3Alang'%20attribute.%20Confirm%20that%20page%20is%20only%20delivered%20via%20xml%20mime%20type%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_6%22%7D">Page detected as XHTML 1.0 with only an 'xml:lang' attribute. Confirm that page is only delivered via xml mime type</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>html_lang_valid</strong>: The default human language of the page must be valid and specified in accordance with BCP 47 + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_valid.html#%7B%22message%22%3A%22Specified%20'lang'%20attribute%20does%20not%20include%20a%20valid%20primary%20language%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Specified 'lang' attribute does not include a valid primary language</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_valid.html#%7B%22message%22%3A%22Specified%20'lang'%20attribute%20does%20not%20conform%20to%20BCP%2047%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Specified 'lang' attribute does not conform to BCP 47</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_valid.html#%7B%22message%22%3A%22Specified%20'xml%3Alang'%20attribute%20does%20not%20include%20a%20valid%20primary%20language%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">Specified 'xml:lang' attribute does not include a valid primary language</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_valid.html#%7B%22message%22%3A%22Specified%20'xml%3Alang'%20attribute%20does%20not%20conform%20to%20BCP%2047%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_4%22%7D">Specified 'xml:lang' attribute does not conform to BCP 47</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.1.2 Language of Parts [AA]</h2> + <div>The human language of each passage or phrase in the content can be programmatically determined.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>element_lang_valid</strong>: The change in language of specific content must be valid and specified in accordance with BCP 47 + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_lang_valid.html#%7B%22message%22%3A%22Specified%20'lang'%20attribute%20does%20not%20include%20a%20valid%20primary%20language%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Specified 'lang' attribute does not include a valid primary language</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_lang_valid.html#%7B%22message%22%3A%22Specified%20'lang'%20attribute%20does%20not%20conform%20to%20BCP%2047%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Specified 'lang' attribute does not conform to BCP 47</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_lang_valid.html#%7B%22message%22%3A%22Specified%20'xml%3Alang'%20attribute%20does%20not%20include%20a%20valid%20primary%20language%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">Specified 'xml:lang' attribute does not include a valid primary language</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_lang_valid.html#%7B%22message%22%3A%22Specified%20'xml%3Alang'%20attribute%20does%20not%20conform%20to%20BCP%2047%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_4%22%7D">Specified 'xml:lang' attribute does not conform to BCP 47</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.2.1 On Focus [A]</h2> + <div>When any component receives focus, it does not initiate a change of context.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>script_focus_blur_review</strong>: Scripting must not remove focus from content that normally receives focus + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/script_focus_blur_review.html#%7B%22message%22%3A%22Verify%20script%20does%20not%20remove%20focus%20from%20content%20that%20normally%20receives%20focus%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify script does not remove focus from content that normally receives focus</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>script_select_review</strong>: No changes of context should occur when a selection value receives focus + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/script_select_review.html#%7B%22message%22%3A%22Verify%20that%20no%20change%20of%20context%20or%20action%20occurs%20when%20selection%20options%20in%20this%20component%20receive%20focus%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that no change of context or action occurs when selection options in this component receive focus</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.2.2 On Input [A]</h2> + <div>Changing the setting of any user interface component does not automatically cause a change of context unless the user has been advised of the behavior before using the component.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>form_interaction_review</strong>: User should be informed in advance when interacting with content causes a change of context + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/form_interaction_review.html#%7B%22message%22%3A%22Verify%20that%20interacting%20with%20content%20will%20not%20open%20pop-up%20windows%20or%20change%20the%20active%20window%20without%20informing%20the%20user%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that interacting with content will not open pop-up windows or change the active window without informing the user</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>form_submit_button_exists</strong>: A &lt;form&gt; element should have a submit button or an image button + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/form_submit_button_exists.html#%7B%22message%22%3A%22Verify%20the%20%3Cform%3E%20element%20has%20a%20submit%20button%20or%20an%20image%20button%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify the &lt;form&gt; element has a submit button or an image button</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_onchange_review</strong>: Users must be advised if, due to a change of element value, a form automatically submits, a new window opens, or a change in focus occurs + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_onchange_review.html#%7B%22message%22%3A%22Confirm%20that%20the%20user%20is%20advised%20if%2C%20due%20to%20a%20change%20of%20element%20value%2C%20a%20form%20automatically%20submits%2C%20a%20new%20window%20opens%2C%20or%20a%20change%20in%20focus%20occurs%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_warning%22%7D">Confirm that the user is advised if, due to a change of element value, a form automatically submits, a new window opens, or a change in focus occurs</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>a_target_warning</strong>: Users should be warned in advance if their input action will open a new window + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/a_target_warning.html#%7B%22message%22%3A%22Inform%20the%20user%20when%20their%20input%20action%20will%20open%20a%20new%20window%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_warn%22%7D">Inform the user when their input action will open a new window</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.2.3 Consistent Navigation [AA]</h2> + <div>Navigational mechanisms that are repeated on multiple Web pages within a set of Web pages occur in the same relative order each time they are repeated, unless a change is initiated by the user.</div> + +</div><div> + <h2>3.2.4 Consistent Identification [AA]</h2> + <div>Components that have the same functionality within a set of Web pages are identified consistently.</div> + +</div><div> + <h2>3.2.6 Consistent Help [AA]</h2> + <div>Make it easier to find help and support. If a Web page contains help mechanisms they occur in the same order relative to other page content, unless a change is initiated by the user.</div> + +</div><div> + <h2>3.3.1 Error Identification [A]</h2> + <div>If an input error is automatically detected, the item that is in error is identified and the error is described to the user in text.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>error_message_exists</strong>: A custom error message must reference a valid 'id' value and when triggered the message must be appropriately exposed + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/error_message_exists.html#%7B%22message%22%3A%22Custom%20error%20message%20has%20invalid%20reference%20'id'%20value%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Custom error message has invalid reference 'id' value</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/error_message_exists.html#%7B%22message%22%3A%22Custom%20error%20message%20is%20not%20visible%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Custom error message is not visible</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.3.2 Labels or Instructions [A]</h2> + <div>Labels or instructions are provided when content requires user input.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>fieldset_label_valid</strong>: Groups with nested inputs must have unique accessible name + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_label_valid.html#%7B%22message%22%3A%22Group%2FFieldset%20does%20not%20have%20an%20accessible%20name%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Group/Fieldset does not have an accessible name</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_label_valid.html#%7B%22message%22%3A%22Group%2FFieldset%20%5C%22%7B0%7D%5C%22%20has%20a%20duplicate%20name%20to%20another%20group%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Group/Fieldset "{0}" has a duplicate name to another group</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_label_after</strong>: Checkboxes and radio buttons must have a label after the input control + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_after.html#%7B%22message%22%3A%22Checkbox%20or%20radio%20button%20is%20nested%20in%20label%2C%20so%20label%20is%20not%20after%20the%20input%20control%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Checkbox or radio button is nested in label, so label is not after the input control</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_after.html#%7B%22message%22%3A%22Label%20text%20is%20located%20before%20its%20associated%20checkbox%20or%20radio%20button%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Label text is located before its associated checkbox or radio button element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_label_before</strong>: Text inputs and &lt;select&gt; elements must have a label before the input control + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_before.html#%7B%22message%22%3A%22Text%20input%20is%20nested%20in%20label%20such%20that%20input%20precedes%20the%20label%20text%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Text input is nested in label such that input precedes the label text</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_before.html#%7B%22message%22%3A%22Label%20text%20is%20located%20after%20its%20associated%20text%20input%20or%20%3Cselect%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Label text is located after its associated text input or &lt;select&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_label_visible</strong>: An input element must have an associated visible label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_visible.html#%7B%22message%22%3A%22The%20%E2%80%98placeholder%E2%80%99%20is%20the%20only%20visible%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_placeholder_only%22%7D">The ‘placeholder’ is the only visible label</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_visible.html#%7B%22message%22%3A%22The%20input%20element%20does%20not%20have%20an%20associated%20visible%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_no_label%22%7D">The input element does not have an associated visible label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>element_accesskey_labelled</strong>: An element with an assigned 'accesskey' attribute must have an associated label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_accesskey_labelled.html#%7B%22message%22%3A%22The%20element%20with%20an%20assigned%20'accesskey'%20attribute%20does%20not%20have%20an%20associated%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">The element with an assigned 'accesskey' attribute does not have an associated label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.3.3 Error Suggestion [AA]</h2> + <div>If an input error is automatically detected and suggestions for correction are known, then the suggestions are provided to the user, unless it would jeopardize the security or purpose of the content.</div> + +</div><div> + <h2>3.3.4 Error Prevention (Legal, Financial, Data) [AA]</h2> + <div>For content that cause legal commitments or financial transactions for the user to occur, that modify or delete user-controllable data in data storage systems, or that submit user test responses, the user can reverse, correct, or confirm the action.</div> + +</div><div> + <h2>3.3.7 Redundant Entry [AA]</h2> + <div>Make it easier for users to complete multi-step processes. Don't ask for the same information twice in the same session.</div> + +</div><div> + <h2>3.3.8 Accessible Authentication (Minimum) [AA]</h2> + <div>Make logins possible with less mental effort. Don't make people solve, recall, or transcribe something to log in.</div> + +</div><div> + <h2>4.1.1 Parsing [A]</h2> + <div>(Obsolete and removed) This requirement was originally adopted to address problems that assistive technology (AT) had directly parsing HTML. AT no longer has any need to directly parse HTML. Consequently, these problems either no longer exist or are addressed by other requirements.</div> + +</div><div> + <h2>4.1.2 Name, Role, Value [A]</h2> + <div>For all user interface components (including, but not limited to: form elements, links and components generated by scripts), the name and role can be programmatically determined; states, properties, and values that can be set by the user can be programmatically set; and notification of changes to these items is available to user agents, including assistive technologies.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>combobox_popup_reference</strong>: The 'aria-controls' (for ARIA 1.2) or the 'aria-owns' (for ARIA 1.0) attribute of the expanded combobox must reference a valid popup 'id' value + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_popup_reference.html#%7B%22message%22%3A%22The%20'aria-owns'%20attribute%20of%20the%20expanded%20combobox%20is%20missing%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1.0_missing_owns%22%7D">The 'aria-owns' attribute of the expanded combobox is missing</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_popup_reference.html#%7B%22message%22%3A%22The%20'aria-controls'%20attribute%20of%20the%20expanded%20combobox%20is%20missing%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1.2_missing_controls%22%7D">The 'aria-controls' attribute of the expanded combobox is missing</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_popup_reference.html#%7B%22message%22%3A%22The%20'aria-owns'%20attribute%20%5C%22%7B0%7D%5C%22%20of%20the%20expanded%20combobox%20does%20not%20reference%20a%20valid%20popup%20'id'%20value%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1.0_popup_reference_missing%22%7D">The 'aria-owns' attribute "{0}" of the expanded combobox does not reference a valid popup 'id' value</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_popup_reference.html#%7B%22message%22%3A%22The%20'aria-controls'%20attribute%20%5C%22%7B0%7D%5C%22%20of%20the%20expanded%20combobox%20does%20not%20reference%20a%20valid%20popup%20'id'%20value%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1.2_popup_reference_missing%22%7D">The 'aria-controls' attribute "{0}" of the expanded combobox does not reference a valid popup 'id' value</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_popup_reference.html#%7B%22message%22%3A%22The%20combobox%20'aria-expanded'%20attribute%20is%20true%2C%20but%20the%20combobox%20popup%20is%20not%20visible%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_combobox_expanded_hidden%22%7D">The combobox 'aria-expanded' attribute is true, but the combobox popup is not visible</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_popup_reference.html#%7B%22message%22%3A%22The%20combobox%20'aria-expanded'%20attribute%20is%20false%2C%20but%20the%20combobox%20popup%20is%20visible%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_combobox_collapsed_visible%22%7D">The combobox 'aria-expanded' attribute is false, but the combobox popup is visible</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_activedescendant_valid</strong>: The 'aria-activedescendant' property must reference the 'id' of a non-empty, non-hidden active child element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_activedescendant_valid.html#%7B%22message%22%3A%22The%20'aria-activedescendant'%20property%20is%20empty%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The 'aria-activedescendant' property is empty</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_activedescendant_valid.html#%7B%22message%22%3A%22The%20'aria-activedescendant'%20property%20references%20a%20hidden%20node%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">The 'aria-activedescendant' property references a hidden node</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_activedescendant_valid.html#%7B%22message%22%3A%22Element%20is%20not%20a%20combobox%2C%20and%20the%20referenced%20active-descendant%20element%20is%20not%20a%20valid%20descendant%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">Element is not a combobox, and the referenced active-descendant element is not a valid descendant</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>combobox_active_descendant</strong>: 'aria-activedescendant' must be used to define focus within the combobox popup, except when using a dialog popup + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_active_descendant.html#%7B%22message%22%3A%22The%20element%20referenced%20by%20'aria-activedescendant'%20%5C%22%7B0%7D%5C%22%20does%20not%20exist%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_missing%22%7D">The element referenced by 'aria-activedescendant' "{0}" does not exist</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_active_descendant.html#%7B%22message%22%3A%22The%20'aria-activedescendant'%20%5C%22%7B0%7D%5C%22%20references%20an%20element%20with%20the%20roles%20%5C%22%7B1%7D%5C%22%2C%20which%20does%20not%20have%20a%20valid%20ARIA%20role%20of%20'option'%2C%20'gridcell'%2C%20'row'%2C%20or%20'treeitem'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_active_role_invalid%22%7D">The 'aria-activedescendant' "{0}" references an element with the roles "{1}", which does not have a valid ARIA role of 'option', 'gridcell', 'row', or 'treeitem'</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_active_descendant.html#%7B%22message%22%3A%22The%20'aria-activedescendant'%20%5C%22%7B0%7D%5C%22%20references%20an%20element%20that%20does%20not%20have%20'aria-selected'%20set%20to%20true%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_active_not_selected%22%7D">The 'aria-activedescendant' "{0}" references an element that does not have 'aria-selected' set to true</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_haspopup_conflict</strong>: &lt;input&gt; element with a 'list' attribute should not use an explicit 'aria-haspopup' attribute + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_haspopup_conflict.html#%7B%22message%22%3A%22The%20%3Cinput%3E%20element%20with%20type%20%5C%22%7B0%7D%5C%22%20and%20'list'%20attribute%20uses%20an%20explicit%20'aria-haspopup'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_type_misuse%22%7D">The &lt;input&gt; element with type "{0}" and 'list' attribute uses an explicit 'aria-haspopup' attribute</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_haspopup_conflict.html#%7B%22message%22%3A%22The%20%3Cinput%3E%20element%20with%20a%20missing%20or%20invalid%20type%20and%20'list'%20attribute%20uses%20an%20explicit%20'aria-haspopup'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_misuse%22%7D">The &lt;input&gt; element with a missing or invalid type and 'list' attribute uses an explicit 'aria-haspopup' attribute</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_haspopup_conflict.html#%7B%22message%22%3A%22The%20list%20attribute%20for%20the%20%3Cinput%3E%20element%20is%20invalid%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_list_notexist%22%7D">The list attribute for the &lt;input&gt; element is invalid</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_haspopup_conflict.html#%7B%22message%22%3A%22The%20list%20attribute%20for%20the%20%3Cinput%3E%20element%20with%20the%20type%20%5C%22%7B0%7D%5C%22%20is%20invalid%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_invalid_list_type%22%7D">The list attribute for the &lt;input&gt; element with the type "{0}" is invalid</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_haspopup_conflict.html#%7B%22message%22%3A%22The%20list%20attribute%20for%20the%20%3Cinput%3E%20element%20does%20not%20reference%20a%20datalist%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_invalid_list_elem%22%7D">The list attribute for the &lt;input&gt; element does not reference a datalist element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_role_valid</strong>: ARIA roles must be valid for the element to which they are assigned + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_role_valid.html#%7B%22message%22%3A%22The%20ARIA%20role%20'%7B0%7D'%20is%20not%20valid%20for%20the%20element%20%3C%7B1%7D%3E%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The ARIA role '{0}' is not valid for the element &lt;{1}&gt;</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_role_valid.html#%7B%22message%22%3A%22The%20ARIA%20role%20'%7B0%7D'%20is%20not%20valid%20for%20the%20element%20%3C%7B1%7D%3E%20and%20may%20be%20ignored%20by%20the%20browser%20since%20the%20element%20is%20focusable%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">The ARIA role '{0}' is not valid for the element &lt;{1}&gt; and may be ignored by the browser since the element is focusable</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>combobox_autocomplete_valid</strong>: A combobox that supports autocompletion behavior must have the 'aria-autocomplete' attribute only on its text input element with a valid value; a value of '"inline"' is not supported + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_autocomplete_valid.html#%7B%22message%22%3A%22The%20combobox%20has%20the%20'aria-autocomplete'%20attribute%20incorrectly%20set%20on%20an%20element%20within%20the%20popup%20referenced%20by%20%5C%22%7B0%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The combobox has the 'aria-autocomplete' attribute incorrectly set on an element within the popup referenced by "{0}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_autocomplete_valid.html#%7B%22message%22%3A%22The%20combobox%20does%20not%20support%20an%20'aria-autocomplete'%20attribute%20value%20set%20to%20'%5C%22inline%5C%22'%20%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_inline%22%7D">The combobox does not support an 'aria-autocomplete' attribute value set to '"inline"' </a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>combobox_focusable_elements</strong>: Tabbable focus for the combobox must be allowed only on the text input, except when using a dialog popup + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_focusable_elements.html#%7B%22message%22%3A%22The%20combobox%20element%20does%20not%20allow%20DOM%20focus%20as%20required%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_not_tabbable%22%7D">The combobox element does not allow DOM focus as required</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_focusable_elements.html#%7B%22message%22%3A%22The%20popup%20of%20the%20combobox%20has%20DOM%20focus%20or%20has%20'aria-activedescendant'%20defined%2C%20which%20is%20not%20allowed%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_tabbable_child%22%7D">The popup of the combobox has DOM focus or has 'aria-activedescendant' defined, which is not allowed</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>combobox_haspopup_valid</strong>: The combobox attribute 'aria-haspopup' value must be appropriate for the role of the element referenced by 'aria-controls' (ARIA 1.2) or 'aria-owns' (ARIA 1.0) + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_haspopup_valid.html#%7B%22message%22%3A%22The%20'role'%20value%20%5C%22%7B0%7D%5C%22%20of%20the%20popup%20element%20%5C%22%7B1%7D%5C%22%20should%20be%20one%20of%20%5C%22listbox%5C%22%2C%20%5C%22grid%5C%22%2C%20%5C%22tree%5C%22%20or%20%5C%22dialog%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_popup_role_invalid%22%7D">The 'role' value "{0}" of the popup element "{1}" should be one of "listbox", "grid", "tree" or "dialog"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_haspopup_valid.html#%7B%22message%22%3A%22The%20value%20of%20the%20combobox%20'aria-haspopup'%20attribute%20%5C%22%7B0%7D%5C%22%20does%20not%20match%20the%20'role'%20value%20of%20the%20popup%20element%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_combobox_popup_role_mismatch%22%7D">The value of the combobox 'aria-haspopup' attribute "{0}" does not match the 'role' value of the popup element "{1}"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_label_exists</strong>: Each form control must have an associated label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_exists.html#%7B%22message%22%3A%22Form%20control%20element%20%3C%7B0%7D%3E%20has%20no%20associated%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Form control element &lt;{0}&gt; has no associated label</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_exists.html#%7B%22message%22%3A%22Form%20control%20with%20%5C%22%7B0%7D%5C%22%20role%20has%20no%20associated%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Form control with "{0}" role has no associated label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_descendant_valid</strong>: Browsers ignore the explicit and implicit ARIA roles of the descendants of certain elements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_descendant_valid.html#%7B%22message%22%3A%22The%20element%20with%20role%20%5C%22%7B0%7D%5C%22%20contains%20descendants%20with%20implicit%20roles%20%5C%22%7B1%7D%5C%22%20which%20are%20ignored%20by%20browsers%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_child_implicit_role%22%7D">The element with role "{0}" contains descendants with implicit roles "{1}" which are ignored by browsers</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_descendant_valid.html#%7B%22message%22%3A%22The%20element%20with%20role%20%5C%22%7B0%7D%5C%22%20contains%20descendants%20with%20roles%20%5C%22%7B1%7D%5C%22%20which%20are%20ignored%20by%20browsers%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_child_explicit_role%22%7D">The element with role "{0}" contains descendants with roles "{1}" which are ignored by browsers</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_role_allowed</strong>: Elements must have a valid 'role' per ARIA specification + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_role_allowed.html#%7B%22message%22%3A%22The%20role%20'%7B0%7D'%20defined%20on%20the%20element%20is%20not%20valid%20per%20ARIA%20specification%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">The role '{0}' defined on the element is not valid per ARIA specification</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_role_allowed.html#%7B%22message%22%3A%22Some%20of%20the%20roles%2C%20'%7B0%7D'%2C%20defined%20on%20the%20element%20are%20not%20valid%20per%20ARIA%20specification%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Some of the roles, '{0}', defined on the element are not valid per ARIA specification</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>a_text_purpose</strong>: Hyperlinks must have an accessible name for their purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/a_text_purpose.html#%7B%22message%22%3A%22Hyperlink%20has%20no%20link%20text%2C%20label%20or%20image%20with%20a%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_acc_name%22%7D">Hyperlink has no link text, label or image with a text alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_attribute_allowed</strong>: ARIA attributes must be valid for the element's role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_allowed.html#%7B%22message%22%3A%22The%20attribute(s)%20'%7B0%7D'%20referenced%20by%20the%20element%20%3C%7B1%7D%3E%20is%20not%20a%20valid%20ARIA%20state%20or%20property%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The attribute(s) '{0}' referenced by the element &lt;{1}&gt; is not a valid ARIA state or property</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_attribute_conflict</strong>: An ARIA attribute must not conflict with the corresponding HTML attribute + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_conflict.html#%7B%22message%22%3A%22The%20ARIA%20attribute%20%5C%22%7B0%7D%5C%22%20is%20in%20conflict%20with%20the%20corresponding%20HTML%20attribute%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_conflict%22%7D">The ARIA attribute "{0}" is in conflict with the corresponding HTML attribute "{1}"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_attribute_exists</strong>: When specifying a required ARIA attribute, the value must not be empty + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_exists.html#%7B%22message%22%3A%22The%20element%20attribute(s)%3A%20'%7B0%7D'%20value%20is%20empty%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_empty_attribute%22%7D">The element attribute(s): '{0}' value is empty</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_attribute_required</strong>: The required attributes for the element with a role must be defined + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_required.html#%7B%22message%22%3A%22Element%20with%20'%7B0%7D'%20role%20does%20not%20have%20the%20required%20ARIA%20attribute(s)%3A%20'%7B1%7D'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_missing%22%7D">Element with '{0}' role does not have the required ARIA attribute(s): '{1}'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_attribute_value_valid</strong>: ARIA property values must be valid + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_value_valid.html#%7B%22message%22%3A%22The%20value%20%5C%22%7B0%7D%5C%22%20specified%20for%20attribute%20'%7B1%7D'%20on%20element%20%3C%7B2%7D%3E%20is%20not%20valid%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The value "{0}" specified for attribute '{1}' on element &lt;{2}&gt; is not valid</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_eventhandler_role_valid</strong>: Elements with event handlers must have a valid ARIA role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_eventhandler_role_valid.html#%7B%22message%22%3A%22The%20%3C%7B0%7D%3E%20element%20with%20'%7B1%7D'%20does%20not%20have%20a%20valid%20ARIA%20role%20specified%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The &lt;{0}&gt; element with '{1}' does not have a valid ARIA role specified</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_hidden_nontabbable</strong>: A hidden element should not contain any tabbable elements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_hidden_nontabbable.html#%7B%22message%22%3A%22Element%20%5C%22%7B0%7D%5C%22%20should%20not%20be%20focusable%20within%20the%20subtree%20of%20an%20element%20with%20an%20'aria-hidden'%20attribute%20with%20value%20'true'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element "{0}" should not be focusable within the subtree of an element with an 'aria-hidden' attribute with value 'true'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_id_unique</strong>: The ARIA property must reference a non-empty unique id of an existing element that is visible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_id_unique.html#%7B%22message%22%3A%22The%20'id'%20%5C%22%7B0%7D%5C%22%20specified%20for%20the%20ARIA%20property%20'%7B1%7D'%20value%20is%20not%20valid%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The 'id' "{0}" specified for the ARIA property '{1}' value is not valid</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_widget_labelled</strong>: Interactive component must have a programmatically associated name + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_widget_labelled.html#%7B%22message%22%3A%22Interactive%20component%20with%20ARIA%20role%20'%7B0%7D'%20does%20not%20have%20a%20programmatically%20associated%20name%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Interactive component with ARIA role '{0}' does not have a programmatically associated name</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>combobox_design_valid</strong>: The combobox design pattern must be valid for ARIA 1.2 + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_design_valid.html#%7B%22message%22%3A%22The%20combobox%20design%20pattern%20is%20detected%20as%20ARIA%201.1%2C%20which%20is%20not%20allowed%20by%20ARIA%201.2%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1.1%22%7D">The combobox design pattern is detected as ARIA 1.1, which is not allowed by ARIA 1.2</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>frame_title_exists</strong>: Inline frames must have a unique, non-empty 'title' attribute + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/frame_title_exists.html#%7B%22message%22%3A%22Inline%20frame%20does%20not%20have%20a%20'title'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Inline frame does not have a 'title' attribute</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>label_content_exists</strong>: A &lt;label&gt; element must have non-empty descriptive text that identifies the purpose of the interactive component + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/label_content_exists.html#%7B%22message%22%3A%22The%20%3Clabel%3E%20element%20does%20not%20have%20descriptive%20text%20that%20identifies%20the%20expected%20input%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The &lt;label&gt; element does not have descriptive text that identifies the expected input</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>list_children_valid</strong>: List component with "group" role must limit children to &lt;listitem&gt; elements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/list_children_valid.html#%7B%22message%22%3A%22List%20component%20with%20%5C%22group%5C%22%20role%20has%20children%20that%20are%20not%20%3Clistitem%3E%20elements%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">List component with "group" role has children that are not &lt;listitem&gt; elements</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_aria_descendants</strong>: Table structure elements cannot specify an explicit 'role' within table containers + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_aria_descendants.html#%7B%22message%22%3A%22An%20explicit%20ARIA%20'role'%20is%20not%20valid%20for%20%3C%7B0%7D%3E%20element%20within%20an%20ARIA%20role%20'%7B1%7D'%20per%20the%20ARIA%20in%20HTML%20specification%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22explicit_role%22%7D">An explicit ARIA 'role' is not valid for &lt;{0}&gt; element within an ARIA role '{1}' per the ARIA in HTML specification</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>element_tabbable_role_valid</strong>: A tabbable element must have a valid widget role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_tabbable_role_valid.html#%7B%22message%22%3A%22The%20tabbable%20element's%20role%20'%7B0%7D'%20is%20not%20a%20widget%20role%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_invalid_role%22%7D">The tabbable element's role '{0}' is not a widget role</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_tabbable_role_valid.html#%7B%22message%22%3A%22The%20tabbable%20element%20does%20not%20have%20a%20valid%20widget%20role%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_no_valid_role%22%7D">The tabbable element does not have a valid widget role</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_accessiblename_exists</strong>: Elements with certain roles should have accessible names + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_accessiblename_exists.html#%7B%22message%22%3A%22Element%20%3C%7B0%7D%3E%20with%20%5C%22%7B1%7D%5C%22%20role%20has%20no%20accessible%20name%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_no_accessible_name%22%7D">Element &lt;{0}&gt; with "{1}" role has no accessible name</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_attribute_redundant</strong>: An ARIA attribute should not be redundant with a corresponding HTML attribute + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_redundant.html#%7B%22message%22%3A%22The%20ARIA%20attribute%20%5C%22%7B0%7D%5C%22%20is%20redundant%20with%20the%20HTML%20attribute%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_redundant%22%7D">The ARIA attribute "{0}" is redundant with the HTML attribute "{1}"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>canvas_content_described</strong>: The &lt;canvas&gt; element may not be accessible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/canvas_content_described.html#%7B%22message%22%3A%22Verify%20accessibility%20of%20the%20%3Ccanvas%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify accessibility of the &lt;canvas&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>4.1.3 Status Messages [AA]</h2> + <div>In content implemented using markup languages, status messages can be programmatically determined through role or properties such that they can be presented to the user by assistive technologies without receiving focus.</div> + +</div> + </div><div id="WCAG_2_1" style="padding: 1rem; display:none"> +<div> + <h2>1.1.1 Non-text Content [A]</h2> + <div>All non-text content that is presented to the user has a text alternative that serves the equivalent purpose.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>applet_alt_exists</strong>: &lt;applet&gt; elements must provide an 'alt' attribute and an alternative description + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/applet_alt_exists.html#%7B%22message%22%3A%22An%20%3Capplet%3E%20element%20does%20not%20have%20an%20'alt'%20attribute%20that%20provides%20a%20short%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">An &lt;applet&gt; element does not have an 'alt' attribute that provides a short text alternative</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/applet_alt_exists.html#%7B%22message%22%3A%22The%20'alt'%20attribute%20value%20for%20an%20%3Capplet%3E%20element%20duplicates%20the%20'code'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">The 'alt' attribute value for an &lt;applet&gt; element duplicates the 'code' attribute</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/applet_alt_exists.html#%7B%22message%22%3A%22An%20%3Capplet%3E%20element%20provides%20alternative%20text%2C%20but%20does%20not%20provide%20inner%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">An &lt;applet&gt; element provides alternative text, but does not provide inner content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_alt_redundant</strong>: The text alternative for an image within a link should not repeat the link text or adjacent link text + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_redundant.html#%7B%22message%22%3A%22Link%20text%20is%20repeated%20in%20an%20image%20'alt'%20value%20within%20the%20same%20link%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Link text is repeated in an image 'alt' value within the same link</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_redundant.html#%7B%22message%22%3A%22Link%20text%20of%20previous%20link%20is%20repeated%20in%20image%20'alt'%20value%20of%20a%20link%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Link text of previous link is repeated in image 'alt' value of a link</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_redundant.html#%7B%22message%22%3A%22Image%20'alt'%20value%20within%20a%20link%20is%20repeated%20in%20link%20text%20of%20the%20link%20after%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">Image 'alt' value within a link is repeated in link text of the link after</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_alt_valid</strong>: Images must have accessible names unless they are decorative or redundant + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_valid.html#%7B%22message%22%3A%22Image%20'alt'%20attribute%20value%20consists%20only%20of%20blank%20space(s)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_blank_alt%22%7D">Image 'alt' attribute value consists only of blank space(s)</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_valid.html#%7B%22message%22%3A%22The%20image%20has%20neither%20an%20accessible%20name%20nor%20is%20marked%20as%20decorative%20or%20redundant%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_no_alt%22%7D">The image has neither an accessible name nor is marked as decorative or redundant</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_valid.html#%7B%22message%22%3A%22The%20image%20does%20not%20have%20an%20'alt'%20attribute%20or%20ARIA%20label%2C%20and%20the%20'title'%20attribute%20value%20consists%20only%20of%20blank%20space(s)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_blank_title%22%7D">The image does not have an 'alt' attribute or ARIA label, and the 'title' attribute value consists only of blank space(s)</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>area_alt_exists</strong>: &lt;area&gt; elements in an image map must have a text alternative + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/area_alt_exists.html#%7B%22message%22%3A%22%3Carea%3E%20element%20in%20an%20image%20map%20has%20no%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">&lt;area&gt; element in an image map has no text alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>imagebutton_alt_exists</strong>: The &lt;input&gt; element of type "image" should have a text alternative + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/imagebutton_alt_exists.html#%7B%22message%22%3A%22The%20%3Cinput%3E%20element%20of%20type%20%5C%22image%5C%22%20has%20no%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail%22%7D">The &lt;input&gt; element of type "image" has no text alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>imagemap_alt_exists</strong>: An image map and each &lt;area&gt; element in an image map must have text alternative(s) + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/imagemap_alt_exists.html#%7B%22message%22%3A%22Image%20map%20or%20child%20%3Carea%3E%20has%20no%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Image map or child &lt;area&gt; has no text alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_alt_decorative</strong>: Image designated as decorative must have 'alt="" + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_decorative.html#%7B%22message%22%3A%22Image%20designated%20as%20decorative%20has%20non-null%20'alt'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Image designated as decorative has non-null 'alt' attribute</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_alt_null</strong>: When the intent is to mark an image as decorative with an empty 'alt' attribute, the 'aria' or 'title' attributes should not be used + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_null.html#%7B%22message%22%3A%22The%20image%20'alt'%20attribute%20is%20empty%2C%20but%20the%20'title'%20attribute%20is%20not%20empty%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_decorative%22%7D">The image 'alt' attribute is empty, but the 'title' attribute is not empty</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>object_text_exists</strong>: &lt;object&gt; element must have a text alternative for the content rendered by the object + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/object_text_exists.html#%7B%22message%22%3A%22An%20%3Cobject%3E%20element%20does%20not%20have%20a%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_no_text_alternative%22%7D">An &lt;object&gt; element does not have a text alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>svg_graphics_labelled</strong>: A non-decorative SVG element must have an accessible name + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/svg_graphics_labelled.html#%7B%22message%22%3A%22The%20SVG%20element%20has%20no%20accessible%20name%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_acc_name%22%7D">The SVG element has no accessible name</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>application_content_accessible</strong>: Non-decorative static text and image content within an element with "application" role must be accessible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/application_content_accessible.html#%7B%22message%22%3A%22Verify%20that%20the%20non-decorative%20static%20text%20and%20image%20content%20within%20an%20element%20with%20%5C%22application%5C%22%20role%20are%20accessible%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the non-decorative static text and image content within an element with "application" role are accessible</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_alt_misuse</strong>: 'alt' attribute value must be a good inline replacement for the image + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_misuse.html#%7B%22message%22%3A%22Verify%20that%20the%20file%20name%20serves%20as%20a%20good%20inline%20replacement%20for%20the%20image%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the file name serves as a good inline replacement for the image</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_ismap_misuse</strong>: Server-side image map hot-spots must have duplicate text links + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_ismap_misuse.html#%7B%22message%22%3A%22Server-side%20image%20map%20hot-spots%20do%20not%20have%20duplicate%20text%20links%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Server-side image map hot-spots do not have duplicate text links</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_longdesc_misuse</strong>: The 'longdesc' attribute must reference HTML content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_longdesc_misuse.html#%7B%22message%22%3A%22Verify%20that%20the%20file%20designated%20by%20the%20'longdesc'%20attribute%20contains%20valid%20HTML%20content%20(file%20extension%20not%20recognized)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the file designated by the 'longdesc' attribute contains valid HTML content (file extension not recognized)</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>media_alt_exists</strong>: Audio or video on the page must have a short text alternative that describes the media content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_alt_exists.html#%7B%22message%22%3A%22Filename%20used%20as%20label%20for%20embedded%20audio%20or%20video%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Filename used as label for embedded audio or video</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>style_background_decorative</strong>: Images included by using CSS alone must not convey important information + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_background_decorative.html#%7B%22message%22%3A%22Verify%20the%20CSS%20background%20image%20does%20not%20convey%20important%20information%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify the CSS background image does not convey important information</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>figure_label_exists</strong>: A &lt;figure&gt; element must have an associated label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/figure_label_exists.html#%7B%22message%22%3A%22The%20%3Cfigure%3E%20element%20does%20not%20have%20an%20associated%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The &lt;figure&gt; element does not have an associated label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>embed_alt_exists</strong>: Provide alternative content for &lt;embed&gt; elements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/embed_alt_exists.html#%7B%22message%22%3A%22Verify%20that%20the%20%3Cembed%3E%20element%20has%20alternative%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the &lt;embed&gt; element has alternative content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>embed_noembed_exists</strong>: &lt;embed&gt; elements should be immediately followed by a non-embedded element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/embed_noembed_exists.html#%7B%22message%22%3A%22Verify%20that%20the%20%3Cembed%3E%20element%20is%20immediately%20followed%20by%20a%20non-embedded%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the &lt;embed&gt; element is immediately followed by a non-embedded element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>media_alt_brief</strong>: Alternative text in 'alt' attribute should be brief (&lt;150 characters) + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_alt_brief.html#%7B%22message%22%3A%22Text%20alternative%20is%20more%20than%20150%20characters%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Text alternative is more than 150 characters</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>noembed_content_exists</strong>: &lt;noembed&gt; elements should contain descriptive text + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/noembed_content_exists.html#%7B%22message%22%3A%22Add%20descriptive%20text%20to%20the%20%3Cnoembed%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Add descriptive text to the &lt;noembed&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>canvas_content_described</strong>: The &lt;canvas&gt; element may not be accessible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/canvas_content_described.html#%7B%22message%22%3A%22Verify%20accessibility%20of%20the%20%3Ccanvas%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify accessibility of the &lt;canvas&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_alt_background</strong>: Background images that convey important information must have a text alternative that describes the image + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_background.html#%7B%22message%22%3A%22Verify%20important%20background%20image%20information%20has%20a%20text%20alternative%20in%20system%20high%20contrast%20mode%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify important background image information has a text alternative in system high contrast mode</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>style_highcontrast_visible</strong>: Windows high contrast mode must be supported when using CSS to include, position or alter non-decorative content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_highcontrast_visible.html#%7B%22message%22%3A%22Confirm%20Windows%20high%20contrast%20mode%20is%20supported%20when%20using%20CSS%20to%20include%2C%20position%20or%20alter%20non-decorative%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Confirm Windows high contrast mode is supported when using CSS to include, position or alter non-decorative content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.2.1 Audio-only and Video-only (Prerecorded) [A]</h2> + <div>For prerecorded audio-only or video-only media, an alternative provides equivalent information.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>media_audio_transcribed</strong>: Audio information should also be available in text form + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_audio_transcribed.html#%7B%22message%22%3A%22Provide%20transcripts%20for%20audio%20files%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Provide transcripts for audio files</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.2.2 Captions (Prerecorded) [A]</h2> + <div>Captions are provided for all prerecorded audio content in synchronized media.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>caption_track_exists</strong>: A &lt;video&gt; element must have a text alternative for any meaningful audio content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/caption_track_exists.html#%7B%22message%22%3A%22Verify%20that%20captions%20are%20available%20for%20any%20meaningful%20audio%20or%20provide%20a%20caption%20track%20for%20the%20%3Cvideo%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that captions are available for any meaningful audio or provide a caption track for the &lt;video&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.2.3 Audio Description or Media Alternative (Prerecorded) [A]</h2> + <div>An alternative for time-based media or audio description of the prerecorded video content is provided for synchronized media.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>media_track_available</strong>: Pre-recorded media should have an audio track that describes visual information + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_track_available.html#%7B%22message%22%3A%22Verify%20availability%20of%20a%20user-selectable%20audio%20track%20with%20description%20of%20visual%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify availability of a user-selectable audio track with description of visual content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.2.4 Captions (Live) [AA]</h2> + <div>Captions are provided for all live audio content in synchronized media.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>media_live_captioned</strong>: Live media (streaming video with audio) should have captions for audio content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_live_captioned.html#%7B%22message%22%3A%22Verify%20captions%20are%20provided%20for%20live%20media%20(streaming%20video%20with%20audio)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify captions are provided for live media (streaming video with audio)</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.2.5 Audio Description (Prerecorded) [AA]</h2> + <div>Audio description is provided for all prerecorded video content in synchronized media.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>media_track_available</strong>: Pre-recorded media should have an audio track that describes visual information + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_track_available.html#%7B%22message%22%3A%22Verify%20availability%20of%20a%20user-selectable%20audio%20track%20with%20description%20of%20visual%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify availability of a user-selectable audio track with description of visual content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.3.1 Info and Relationships [A]</h2> + <div>Information, structure, and relationships conveyed through presentation can be programmatically determined or are available in text.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>input_checkboxes_grouped</strong>: Related sets of radio buttons or checkboxes should be programmatically grouped + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_checkboxes_grouped.html#%7B%22message%22%3A%22%7B0%7D%20input%20found%20that%20has%20the%20same%20name%2C%20%5C%22%7B2%7D%5C%22%20as%20a%20%7B1%7D%20input%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_controlnamemismatch%22%7D">{0} input found that has the same name, "{2}" as a {1} input</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_checkboxes_grouped.html#%7B%22message%22%3A%22%7B0%7D%20input%20is%20not%20in%20the%20group%20with%20another%20%7B0%7D%20with%20the%20name%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_notgroupedothergrouped%22%7D">{0} input is not in the group with another {0} with the name "{1}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_checkboxes_grouped.html#%7B%22message%22%3A%22%7B0%7D%20input%20and%20others%20with%20the%20name%20%5C%22%7B1%7D%5C%22%20are%20not%20grouped%20together%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_notgroupedothernotgrouped%22%7D">{0} input and others with the name "{1}" are not grouped together</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_checkboxes_grouped.html#%7B%22message%22%3A%22%7B0%7D%20input%20is%20in%20a%20different%20group%20than%20another%20%7B0%7D%20with%20the%20name%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_notsamegroup%22%7D">{0} input is in a different group than another {0} with the name "{1}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_checkboxes_grouped.html#%7B%22message%22%3A%22Verify%20that%20this%20ungrouped%20checkbox%20input%20is%20not%20related%20to%20other%20checkboxes%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_lonecheckbox%22%7D">Verify that this ungrouped checkbox input is not related to other checkboxes</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_checkboxes_grouped.html#%7B%22message%22%3A%22Verify%20that%20this%20un-named%2C%20ungrouped%20checkbox%20input%20is%20not%20related%20to%20other%20checkboxes%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_unnamedcheckbox%22%7D">Verify that this un-named, ungrouped checkbox input is not related to other checkboxes</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_headers_ref_valid</strong>: The 'headers' attribute should refer to a valid cell in the same table + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_headers_ref_valid.html#%7B%22message%22%3A%22The%20'headers'%20attribute%20value%20%5C%22%7B0%7D%5C%22%20does%20not%20reference%20a%20valid%20'id'%20in%20this%20document%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The 'headers' attribute value "{0}" does not reference a valid 'id' in this document</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_headers_ref_valid.html#%7B%22message%22%3A%22The%20'headers'%20attribute%20value%20%5C%22%7B0%7D%5C%22%20refers%20to%20itself%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">The 'headers' attribute value "{0}" refers to itself</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_headers_ref_valid.html#%7B%22message%22%3A%22The%20'headers'%20attribute%20value%20%5C%22%7B0%7D%5C%22%20does%20not%20refer%20to%20a%20cell%20in%20the%20same%20table%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">The 'headers' attribute value "{0}" does not refer to a cell in the same table</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_headers_ref_valid.html#%7B%22message%22%3A%22The%20'headers'%20attribute%20value%20%5C%22%7B0%7D%5C%22%20does%20not%20refer%20to%20a%20cell%20indicated%20with%20%3Cth%3E%20or%20a%20role%20of%20%5C%22columnheader%5C%22%20or%20%5C%22rowheader%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_4%22%7D">The 'headers' attribute value "{0}" does not refer to a cell indicated with &lt;th&gt; or a role of "columnheader" or "rowheader"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>fieldset_label_valid</strong>: Groups with nested inputs must have unique accessible name + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_label_valid.html#%7B%22message%22%3A%22Group%2FFieldset%20does%20not%20have%20an%20accessible%20name%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Group/Fieldset does not have an accessible name</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_label_valid.html#%7B%22message%22%3A%22Group%2FFieldset%20%5C%22%7B0%7D%5C%22%20has%20a%20duplicate%20name%20to%20another%20group%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Group/Fieldset "{0}" has a duplicate name to another group</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_scope_valid</strong>: Value for 'scope' attribute must be "row", "col", "rowgroup", or "colgroup" + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_scope_valid.html#%7B%22message%22%3A%22Value%20provided%20is%20invalid%20for%20the%20'scope'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Value provided is invalid for the 'scope' attribute</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_scope_valid.html#%7B%22message%22%3A%22The%20'scope'%20attribute%20should%20only%20be%20used%20on%20a%20%3Cth%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">The 'scope' attribute should only be used on a &lt;th&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_hidden_nontabbable</strong>: A hidden element should not contain any tabbable elements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_hidden_nontabbable.html#%7B%22message%22%3A%22Element%20%5C%22%7B0%7D%5C%22%20should%20not%20be%20focusable%20within%20the%20subtree%20of%20an%20element%20with%20an%20'aria-hidden'%20attribute%20with%20value%20'true'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element "{0}" should not be focusable within the subtree of an element with an 'aria-hidden' attribute with value 'true'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_parent_required</strong>: Each element with an implicit or explicit role must be contained within a valid element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_parent_required.html#%7B%22message%22%3A%22Element%20with%20%5C%22%7B0%7D%5C%22%20role%20is%20not%20contained%20in%20or%20owned%20by%20an%20element%20with%20one%20of%20the%20following%20roles%3A%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element with "{0}" role is not contained in or owned by an element with one of the following roles: "{1}"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>form_label_unique</strong>: Form controls should have exactly one label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/form_label_unique.html#%7B%22message%22%3A%22Form%20control%20has%20more%20than%20one%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Form control has more than one label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>label_ref_valid</strong>: The 'for' attribute for a label should reference a non-empty, unique 'id' attribute of a valid element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/label_ref_valid.html#%7B%22message%22%3A%22The%20value%20%5C%22%7B0%7D%5C%22%20of%20the%20'for'%20attribute%20is%20not%20the%20'id'%20of%20a%20valid%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_invalid%22%7D">The value "{0}" of the 'for' attribute is not the 'id' of a valid element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_caption_empty</strong>: A &lt;caption&gt; element for a &lt;table> element must contain descriptive text + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_caption_empty.html#%7B%22message%22%3A%22The%20%3Ctable%3E%20element%20has%20an%20empty%20%3Ccaption%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The &lt;table&gt; element has an empty &lt;caption> element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_caption_nested</strong>: The &lt;caption&gt; element must be nested inside the associated &lt;table> element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_caption_nested.html#%7B%22message%22%3A%22%3Ccaption%3E%20element%20is%20not%20nested%20inside%20a%20%3Ctable%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">&lt;caption&gt; element is not nested inside a &lt;table> element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_headers_exists</strong>: Data table must identify headers + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_headers_exists.html#%7B%22message%22%3A%22Table%20has%20no%20headers%20identified%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Table has no headers identified</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_headers_related</strong>: For a complex data table, all &lt;th&gt; and &lt;td> elements must be related via 'header' or 'scope' attributes + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_headers_related.html#%7B%22message%22%3A%22Complex%20table%20does%20not%20have%20headers%20for%20each%20cell%20properly%20defined%20with%20'header'%20or%20'scope'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Complex table does not have headers for each cell properly defined with 'header' or 'scope'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_structure_misuse</strong>: Table elements with 'role="presentation" or 'role="none" should not have structural elements or attributes + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_structure_misuse.html#%7B%22message%22%3A%22The%20%3C%7B0%7D%3E%20element%20with%20%5C%22presentation%5C%22%20role%20or%20%5C%22none%5C%22%20role%20has%20structural%20element(s)%20and%2For%20attribute(s)%20'%7B1%7D'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The &lt;{0}&gt; element with "presentation" role or "none" role has structural element(s) and/or attribute(s) '{1}'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_summary_redundant</strong>: The table summary must not duplicate the caption + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_summary_redundant.html#%7B%22message%22%3A%22The%20table%20summary%20duplicates%20the%20caption%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The table summary duplicates the caption</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>blockquote_cite_exists</strong>: Use &lt;blockquote&gt; only for quotations, not indentation + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/blockquote_cite_exists.html#%7B%22message%22%3A%22Verify%20that%20%3Cblockquote%3E%20should%20have%20a%20'cite'%20attribute%20and%20not%20be%20used%20for%20indentation%20only%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that &lt;blockquote&gt; should have a 'cite' attribute and not be used for indentation only</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>heading_markup_misuse</strong>: Heading elements must not be used for presentation + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/heading_markup_misuse.html#%7B%22message%22%3A%22Verify%20that%20the%20heading%20element%20is%20a%20genuine%20heading%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the heading element is a genuine heading</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>list_markup_review</strong>: Proper HTML elements should be used to create a list + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/list_markup_review.html#%7B%22message%22%3A%22Verify%20this%20is%20a%20list%20and%20if%20so%2C%20modify%20to%20use%20proper%20HTML%20elements%20for%20the%20list%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_list%22%7D">Verify this is a list and if so, modify to use proper HTML elements for the list</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>text_block_heading</strong>: Heading text should use a heading element or role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_block_heading.html#%7B%22message%22%3A%22Confirm%20this%20text%20'%7B0%7D'%20is%20used%20as%20a%20heading%20and%20if%20so%2C%20modify%20to%20use%20a%20heading%20element%20or%20role%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_heading%22%7D">Confirm this text '{0}' is used as a heading and if so, modify to use a heading element or role</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>text_quoted_correctly</strong>: Quotations should be marked with &lt;q&gt; or &lt;blockquote> elements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_quoted_correctly.html#%7B%22message%22%3A%22If%20the%20following%20text%20is%20a%20quotation%2C%20mark%20it%20as%20a%20%3Cq%3E%20or%20%3Cblockquote%3E%20element%3A%20%7B0%7D%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">If the following text is a quotation, mark it as a &lt;q&gt; or &lt;blockquote> element: {0}</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>fieldset_legend_valid</strong>: &lt;fieldset&gt; elements should have a single, non-empty &lt;legend> as a label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_legend_valid.html#%7B%22message%22%3A%22%3Cfieldset%3E%20element%20does%20not%20have%20a%20%3Clegend%3E%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">&lt;fieldset&gt; element does not have a &lt;legend></a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_legend_valid.html#%7B%22message%22%3A%22%3Cfieldset%3E%20element%20has%20more%20than%20one%20%3Clegend%3E%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">&lt;fieldset&gt; element has more than one &lt;legend></a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_legend_valid.html#%7B%22message%22%3A%22%3Cfieldset%3E%20element%20%3Clegend%3E%20is%20empty%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">&lt;fieldset&gt; element &lt;legend> is empty</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_child_valid</strong>: An element with an ARIA role must own a required child + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_child_valid.html#%7B%22message%22%3A%22The%20element%20with%20role%20%5C%22%7B0%7D%5C%22%20does%20not%20own%20any%20child%20element%20with%20any%20of%20the%20following%20role(s)%3A%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_no_child%22%7D">The element with role "{0}" does not own any child element with any of the following role(s): "{1}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_child_valid.html#%7B%22message%22%3A%22The%20element%20with%20role%20%5C%22%7B0%7D%5C%22%20owns%20the%20child%20element%20with%20the%20role%20%5C%22%7B1%7D%5C%22%20that%20is%20not%20one%20of%20the%20allowed%20role(s)%3A%20%5C%22%7B2%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_invalid_child%22%7D">The element with role "{0}" owns the child element with the role "{1}" that is not one of the allowed role(s): "{2}"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_fields_grouped</strong>: Groups of logically related input elements should be contained within a &lt;fieldset&gt; element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_fields_grouped.html#%7B%22message%22%3A%22Use%20the%20%3Cfieldset%3E%20element%20to%20group%20logically%20related%20input%20elements%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Use the &lt;fieldset&gt; element to group logically related input elements</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>list_structure_proper</strong>: List elements should only be used for lists of related items + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/list_structure_proper.html#%7B%22message%22%3A%22List%20element%20is%20missing%20or%20improperly%20structured%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">List element is missing or improperly structured</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>select_options_grouped</strong>: Groups of related options within a selection list should be grouped with &lt;optgroup&gt; + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/select_options_grouped.html#%7B%22message%22%3A%22Group%20of%20related%20options%20may%20need%20%3Coptgroup%3E%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Group of related options may need &lt;optgroup&gt;</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_layout_linearized</strong>: Avoid using tables to format text documents in columns unless the table can be linearized + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_layout_linearized.html#%7B%22message%22%3A%22Verify%20table%20is%20not%20being%20used%20to%20format%20text%20content%20in%20columns%20unless%20the%20table%20can%20be%20linearized%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify table is not being used to format text content in columns unless the table can be linearized</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.3.2 Meaningful Sequence [A]</h2> + <div>When the sequence in which content is presented affects its meaning, a correct reading sequence can be programmatically determined.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>dir_attribute_valid</strong>: 'dir' attribute value must be "ltr", "rtl", or "auto" + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/dir_attribute_valid.html#%7B%22message%22%3A%22Invalid%20value%20used%20for%20the%20'dir'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Invalid value used for the 'dir' attribute</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>text_whitespace_valid</strong>: Space characters should not be used to control spacing within a word + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_whitespace_valid.html#%7B%22message%22%3A%22Space%20characters%20should%20not%20be%20used%20to%20create%20space%20between%20the%20letters%20of%20a%20word%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_text%22%7D">Space characters should not be used to create space between the letters of a word</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>style_highcontrast_visible</strong>: Windows high contrast mode must be supported when using CSS to include, position or alter non-decorative content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_highcontrast_visible.html#%7B%22message%22%3A%22Confirm%20Windows%20high%20contrast%20mode%20is%20supported%20when%20using%20CSS%20to%20include%2C%20position%20or%20alter%20non-decorative%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Confirm Windows high contrast mode is supported when using CSS to include, position or alter non-decorative content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.3.3 Sensory Characteristics [A]</h2> + <div>Instructions provided for understanding and operating content do not rely solely on sensory characteristics of components such as shape, size, visual location, orientation, or sound.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>text_sensory_misuse</strong>: Instructions should be meaningful without relying solely on shape, size, or location words + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_sensory_misuse.html#%7B%22message%22%3A%22Confirm%20the%20word(s)%20'%7B0%7D'%20of%20the%20user%20instruction%20is%20used%20to%20indicate%20a%20logical%20rather%20than%20visual%20position%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_position%22%7D">Confirm the word(s) '{0}' of the user instruction is used to indicate a logical rather than visual position</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_sensory_misuse.html#%7B%22message%22%3A%22Confirm%20the%20user%20instruction%20is%20still%20understandable%20without%20the%20word(s)%20'%7B0%7D'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_other%22%7D">Confirm the user instruction is still understandable without the word(s) '{0}'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.3.4 Orientation [AA]</h2> + <div>Content does not restrict its view and operation to a single display orientation, such as portrait or landscape.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>element_orientation_unlocked</strong>: Elements should not be restricted to either landscape or portrait orientation using CSS transform property + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_orientation_unlocked.html#%7B%22message%22%3A%22The%20element%20%3C%7B0%7D%3E%20is%20restricted%20to%20either%20landscape%20or%20portrait%20orientation%20using%20CSS%20transform%20property%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_locked%22%7D">The element &lt;{0}&gt; is restricted to either landscape or portrait orientation using CSS transform property</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.3.5 Identify Input Purpose [AA]</h2> + <div>The purpose of each input field that collects information about the user can be programmatically determined when the field serves a common purpose.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>input_autocomplete_valid</strong>: The 'autocomplete' attribute's token(s) must be appropriate for the input form field + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_autocomplete_valid.html#%7B%22message%22%3A%22The%20'autocomplete'%20attribute's%20token(s)%20are%20not%20appropriate%20for%20the%20input%20form%20field%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_inappropriate%22%7D">The 'autocomplete' attribute's token(s) are not appropriate for the input form field</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_autocomplete_valid.html#%7B%22message%22%3A%22The%20'autocomplete'%20attribute's%20token(s)%20are%20not%20appropriate%20for%20an%20input%20form%20field%20of%20any%20type%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_invalid%22%7D">The 'autocomplete' attribute's token(s) are not appropriate for an input form field of any type</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_autocomplete_valid.html#%7B%22message%22%3A%22The%20'autocomplete'%20attribute%20has%20an%20incorrect%20value%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_incorrect%22%7D">The 'autocomplete' attribute has an incorrect value</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.1 Use of Color [A]</h2> + <div>Color is not used as the only visual means of conveying information, indicating an action, prompting a response, or distinguishing a visual element.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>form_font_color</strong>: Combine color and descriptive markup to indicate required form fields + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/form_font_color.html#%7B%22message%22%3A%22Check%20color%20is%20not%20used%20as%20the%20only%20visual%20means%20to%20convey%20which%20fields%20are%20required%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Check color is not used as the only visual means to convey which fields are required</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>style_color_misuse</strong>: Combine color and descriptive markup to convey information + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_color_misuse.html#%7B%22message%22%3A%22Verify%20color%20is%20not%20used%20as%20the%20only%20visual%20means%20of%20conveying%20information%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify color is not used as the only visual means of conveying information</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.2 Audio Control [A]</h2> + <div>If any audio plays automatically for more than 3 seconds, either a mechanism is available to pause or stop the audio, or a mechanism is available to control audio volume independently from the overall system volume level.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>media_autostart_controllable</strong>: Mechanism must be available to pause or stop and control the volume of the audio that plays automatically + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_autostart_controllable.html#%7B%22message%22%3A%22Verify%20there%20is%20a%20mechanism%20to%20pause%20or%20stop%20and%20control%20the%20volume%20for%20the%20audio%20that%20plays%20automatically%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify there is a mechanism to pause or stop and control the volume for the audio that plays automatically</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.3 Contrast (Minimum) [AA]</h2> + <div>The visual presentation of text and images of text has a contrast ratio of at least 4.5:1, with a 3:1 ratio for large-scale text.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>text_contrast_sufficient</strong>: The contrast ratio of text with its background must meet WCAG AA requirements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_contrast_sufficient.html#%7B%22message%22%3A%22Text%20contrast%20of%20%7B0%7D%20with%20its%20background%20is%20less%20than%20the%20WCAG%20AA%20minimum%20requirements%20for%20text%20of%20size%20%7B1%7Dpx%20and%20weight%20of%20%7B2%7D%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_contrast%22%7D">Text contrast of {0} with its background is less than the WCAG AA minimum requirements for text of size {1}px and weight of {2}</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_contrast_sufficient.html#%7B%22message%22%3A%22The%20foreground%20text%20and%20its%20background%20color%20are%20both%20detected%20as%20%7B3%7D.%20Verify%20the%20text%20meets%20the%20WCAG%20AA%20requirements%20for%20minimum%20contrast%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_same_color%22%7D">The foreground text and its background color are both detected as {3}. Verify the text meets the WCAG AA requirements for minimum contrast</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_contrast_sufficient.html#%7B%22message%22%3A%22Verify%20the%20contrast%20ratio%20of%20the%20text%20against%20the%20lightest%20and%20the%20darkest%20colors%20of%20the%20background%20meets%20the%20WCAG%20AA%20minimum%20requirements%20for%20text%20of%20size%20%7B1%7Dpx%20and%20weight%20of%20%7B2%7D%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_graphic_background%22%7D">Verify the contrast ratio of the text against the lightest and the darkest colors of the background meets the WCAG AA minimum requirements for text of size {1}px and weight of {2}</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_contrast_sufficient.html#%7B%22message%22%3A%22Verify%20the%20contrast%20ratio%20of%20the%20text%20with%20shadow%20meets%20the%20WCAG%20AA%20minimum%20requirements%20for%20text%20of%20size%20%7B1%7Dpx%20and%20weight%20of%20%7B2%7D%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_text_shadow%22%7D">Verify the contrast ratio of the text with shadow meets the WCAG AA minimum requirements for text of size {1}px and weight of {2}</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.4 Resize text [AA]</h2> + <div>Text can be resized without assistive technology up to 200 percent without loss of content or functionality.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>style_viewport_resizable</strong>: Text must scale up to 200% without loss of content or functionality + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_viewport_resizable.html#%7B%22message%22%3A%22Verify%20that%20text%20sized%20using%20viewport%20units%20can%20be%20resized%20up%20to%20200%25%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that text sized using viewport units can be resized up to 200%</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>meta_viewport_zoomable</strong>: The 'meta[name=viewport]' should not prevent the browser zooming the content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/meta_viewport_zoomable.html#%7B%22message%22%3A%22Confirm%20the%20'meta%5Bname%3Dviewport%5D'%20with%20%5C%22%7B0%7D%5C%22%20can%20be%20zoomed%20by%20user%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_zoomable%22%7D">Confirm the 'meta[name=viewport]' with "{0}" can be zoomed by user</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.5 Images of Text [AA]</h2> + <div>If the technologies being used can achieve the visual presentation, text should not be used to convey information rather than images of text.</div> + +</div><div> + <h2>1.4.10 Reflow [AA]</h2> + <div>Content can reflow without loss of information or functionality, and without requiring scrolling in two dimensions.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>style_viewport_resizable</strong>: Text must scale up to 200% without loss of content or functionality + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_viewport_resizable.html#%7B%22message%22%3A%22Verify%20that%20text%20sized%20using%20viewport%20units%20can%20be%20resized%20up%20to%20200%25%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that text sized using viewport units can be resized up to 200%</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.11 Non-text Contrast [AA]</h2> + <div>The parts of graphical objects required to understand the content, and the visual information required to identify UI components and states, have a contrast ratio of at least 3:1 against adjacent colors.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>style_highcontrast_visible</strong>: Windows high contrast mode must be supported when using CSS to include, position or alter non-decorative content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_highcontrast_visible.html#%7B%22message%22%3A%22Confirm%20Windows%20high%20contrast%20mode%20is%20supported%20when%20using%20CSS%20to%20include%2C%20position%20or%20alter%20non-decorative%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Confirm Windows high contrast mode is supported when using CSS to include, position or alter non-decorative content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.12 Text Spacing [AA]</h2> + <div>No loss of content or functionality occurs when users change letter, word and paragraph spacing, as well as line height.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>text_spacing_valid</strong>: CSS !important should not be used in inline style to control letter or word spacing or line height + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_spacing_valid.html#%7B%22message%22%3A%22CSS%20!important%20should%20not%20be%20used%20in%20inline%20%E2%80%98letter-spacing%E2%80%99%20style%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_letter_spacing_style%22%7D">CSS !important should not be used in inline ‘letter-spacing’ style</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_spacing_valid.html#%7B%22message%22%3A%22CSS%20!important%20should%20not%20be%20used%20in%20inline%20%E2%80%98word-spacing%E2%80%99%20style%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_word_spacing_style%22%7D">CSS !important should not be used in inline ‘word-spacing’ style</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_spacing_valid.html#%7B%22message%22%3A%22CSS%20!important%20should%20not%20be%20used%20in%20inline%20%E2%80%98line-height%E2%80%99%20style%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_line_height_style%22%7D">CSS !important should not be used in inline ‘line-height’ style</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.13 Content on Hover or Focus [AA]</h2> + <div>Where hover or focus actions cause additional content to become visible and hidden, the additional content is dismissable, hoverable and persistent.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>style_hover_persistent</strong>: The pointer should be able to move over content displayed on hover + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_hover_persistent.html#%7B%22message%22%3A%22Confirm%20the%20pointer%20can%20be%20positioned%20over%20the%20displayed%20element%2C%20not%20just%20the%20trigger%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Confirm the pointer can be positioned over the displayed element, not just the trigger</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_hover_persistent.html#%7B%22message%22%3A%22Confirm%20the%20pointer%20can%20be%20positioned%20over%20all%20the%20information%20displayed%20on%20hover%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_2%22%7D">Confirm the pointer can be positioned over all the information displayed on hover</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_hover_persistent.html#%7B%22message%22%3A%22Confirm%20the%20margin%20style%20attribute%20has%20not%20prevented%20the%20pointer%20from%20hovering%20over%20the%20displayed%20element%2C%20not%20just%20the%20trigger%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_3%22%7D">Confirm the margin style attribute has not prevented the pointer from hovering over the displayed element, not just the trigger</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.1.1 Keyboard [A]</h2> + <div>All functionality of the content is operable through a keyboard interface without requiring specific timings for individual keystrokes.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>aria_activedescendant_tabindex_valid</strong>: Element using 'aria-activedescendant' property should be tabbable + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_activedescendant_tabindex_valid.html#%7B%22message%22%3A%22The%20%3C%7B0%7D%3E%20element%20using%20'aria-activedescendant'%20set%20to%20%5C%22%7B1%7D%5C%22%20is%20not%20tabbable%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The &lt;{0}&gt; element using 'aria-activedescendant' set to "{1}" is not tabbable</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_child_tabbable</strong>: UI component must have at least one tabbable descendant for keyboard access + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_child_tabbable.html#%7B%22message%22%3A%22None%20of%20the%20descendent%20elements%20with%20%5C%22%7B1%7D%5C%22%20role%20is%20tabbable%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_missing_child%22%7D">None of the descendent elements with "{1}" role is tabbable</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>element_scrollable_tabbable</strong>: Scrollable elements should be tabbable or contain tabbable content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_scrollable_tabbable.html#%7B%22message%22%3A%22The%20scrollable%20element%20%3C%7B0%7D%3E%20with%20non-interactive%20content%20is%20not%20tabbable%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_scrollable%22%7D">The scrollable element &lt;{0}&gt; with non-interactive content is not tabbable</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>iframe_interactive_tabbable</strong>: Iframe with interactive content should not be excluded from tab order using tabindex + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/iframe_interactive_tabbable.html#%7B%22message%22%3A%22The%20%3Ciframe%3E%20with%20interactive%20content%20is%20excluded%20from%20tab%20order%20using%20tabindex%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_invalid%22%7D">The &lt;iframe&gt; with interactive content is excluded from tab order using tabindex</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>application_content_accessible</strong>: Non-decorative static text and image content within an element with "application" role must be accessible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/application_content_accessible.html#%7B%22message%22%3A%22Verify%20that%20the%20non-decorative%20static%20text%20and%20image%20content%20within%20an%20element%20with%20%5C%22application%5C%22%20role%20are%20accessible%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the non-decorative static text and image content within an element with "application" role are accessible</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_keyboard_handler_exists</strong>: Interactive WAI_ARIA UI components must provide keyboard access + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_keyboard_handler_exists.html#%7B%22message%22%3A%22Verify%20the%20%3C%7B0%7D%3E%20element%20with%20%5C%22%7B1%7D%5C%22%20role%20has%20keyboard%20access%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_no_keyboard_access%22%7D">Verify the &lt;{0}&gt; element with "{1}" role has keyboard access</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>script_focus_blur_review</strong>: Scripting must not remove focus from content that normally receives focus + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/script_focus_blur_review.html#%7B%22message%22%3A%22Verify%20script%20does%20not%20remove%20focus%20from%20content%20that%20normally%20receives%20focus%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify script does not remove focus from content that normally receives focus</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>script_onclick_misuse</strong>: Scripts should not be used to emulate links + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/script_onclick_misuse.html#%7B%22message%22%3A%22Possible%20use%20of%20a%20script%20to%20emulate%20a%20link%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Possible use of a script to emulate a link</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>widget_tabbable_exists</strong>: Component must have at least one tabbable element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/widget_tabbable_exists.html#%7B%22message%22%3A%22Component%20with%20%5C%22%7B0%7D%5C%22%20role%20does%20not%20have%20a%20tabbable%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22fail_no_tabbable%22%7D">Component with "{0}" role does not have a tabbable element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>widget_tabbable_single</strong>: Components with a widget role must have no more than one tabbable element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/widget_tabbable_single.html#%7B%22message%22%3A%22Component%20with%20%5C%22%7B0%7D%5C%22%20role%20has%20more%20than%20one%20tabbable%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_multiple_tabbable%22%7D">Component with "{0}" role has more than one tabbable element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>media_keyboard_controllable</strong>: Media using &lt;audio&gt; and/or &lt;video> elements must have keyboard accessible controls + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_keyboard_controllable.html#%7B%22message%22%3A%22Verify%20media%20using%20%3Caudio%3E%20and%2For%20%3Cvideo%3E%20elements%20have%20keyboard%20accessible%20controls%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify media using &lt;audio&gt; and/or &lt;video> elements have keyboard accessible controls</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>script_onclick_avoid</strong>: Scripts should not be used to emulate links + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/script_onclick_avoid.html#%7B%22message%22%3A%22Verify%20that%20'onclick'%20events%20are%20not%20used%20in%20script%20to%20emulate%20a%20link%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that 'onclick' events are not used in script to emulate a link</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>canvas_content_described</strong>: The &lt;canvas&gt; element may not be accessible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/canvas_content_described.html#%7B%22message%22%3A%22Verify%20accessibility%20of%20the%20%3Ccanvas%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify accessibility of the &lt;canvas&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>element_mouseevent_keyboard</strong>: All interactive content with mouse event handlers must have equivalent keyboard access + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_mouseevent_keyboard.html#%7B%22message%22%3A%22Confirm%20the%20%3C%7B0%7D%3E%20element%20with%20mouse%20event%20handler(s)%20'%7B1%7D'%20has%20a%20corresponding%20keyboard%20handler(s)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Confirm the &lt;{0}&gt; element with mouse event handler(s) '{1}' has a corresponding keyboard handler(s)</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.1.2 No Keyboard Trap [A]</h2> + <div>If keyboard focus can be moved to a component using a keyboard interface, then focus can be moved away from that component using only a keyboard interface, and, if it requires more than unmodified arrow or tab keys or other standard exit methods, the user is advised of the method for moving focus away.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>download_keyboard_controllable</strong>: File download mechanisms should be keyboard-operable and preserve page focus location + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/download_keyboard_controllable.html#%7B%22message%22%3A%22Verify%20that%20the%20file%20download%20mechanism%20does%20not%20cause%20a%20keyboard%20trap%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify that the file download mechanism does not cause a keyboard trap</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.1.4 Character Key Shortcuts [A]</h2> + <div>If a keyboard shortcut is implemented using only letter, punctuation, number or symbol characters, then the shortcut can be turned off, remapped or activated only on focus.</div> + +</div><div> + <h2>2.2.1 Timing Adjustable [A]</h2> + <div>For each time limit that is set by the content, the user can turn off, adjust, or extend the limit.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>meta_redirect_optional</strong>: Page should not automatically refresh without warning or option to turn it off or adjust the time limit + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/meta_redirect_optional.html#%7B%22message%22%3A%22Check%20page%20does%20not%20automatically%20refresh%20without%20warning%20or%20options%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail%22%7D">Check page does not automatically refresh without warning or options</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/meta_redirect_optional.html#%7B%22message%22%3A%22Check%20page%20does%20not%20automatically%20refresh%20without%20warning%20or%20options%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_longrefresh%22%7D">Check page does not automatically refresh without warning or options</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>meta_refresh_delay</strong>: Pages should not refresh automatically + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/meta_refresh_delay.html#%7B%22message%22%3A%22Verify%20page%20is%20not%20being%20caused%20to%20refresh%20automatically%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify page is not being caused to refresh automatically</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.2.2 Pause, Stop, Hide [A]</h2> + <div>For moving, blinking, scrolling, or auto-updating information, the user can pause, stop, hide or adjust the information.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>blink_elem_deprecated</strong>: Content that blinks persistently must not be used + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/blink_elem_deprecated.html#%7B%22message%22%3A%22Content%20found%20that%20blinks%20persistently%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Content found that blinks persistently</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>marquee_elem_avoid</strong>: The &lt;marquee&gt; element is obsolete and should not be used + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/marquee_elem_avoid.html#%7B%22message%22%3A%22Scrolling%20content%20found%20that%20uses%20the%20obsolete%20%3Cmarquee%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Scrolling content found that uses the obsolete &lt;marquee&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>blink_css_review</strong>: Do not use the "blink" value of the 'text-decoration' property for longer than five seconds + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/blink_css_review.html#%7B%22message%22%3A%22Check%20the%20%5C%22blink%5C%22%20value%20of%20the%20CSS%20'text-decoration'%20property%20is%20not%20used%20for%20more%20than%20than%20five%20seconds%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Check the "blink" value of the CSS 'text-decoration' property is not used for more than than five seconds</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.3.1 Three Flashes or Below Threshold [A]</h2> + <div>Content does not contain anything that flashes more than three times in any one second period, or the flash is below the general flash and red flash thresholds.</div> + +</div><div> + <h2>2.4.1 Bypass Blocks [A]</h2> + <div>A mechanism is available to bypass blocks of content that are repeated on multiple Web pages.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>aria_application_label_unique</strong>: Each element with "application" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_application_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22application%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "application" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_application_labelled</strong>: Each element with "application" role must have a label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_application_labelled.html#%7B%22message%22%3A%22Element%20with%20%5C%22application%5C%22%20role%20does%20not%20have%20a%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element with "application" role does not have a label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_article_label_unique</strong>: Each element with "article" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_article_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22article%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "article" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_banner_label_unique</strong>: Each element with "banner" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_banner_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22banner%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "banner" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_banner_single</strong>: A page, document, or application should only have one element with "banner" role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_banner_single.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22banner%5C%22%20role%20found%20on%20the%20page%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "banner" role found on the page</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_complementary_label_unique</strong>: Each element with "complementary" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_complementary_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22complementary%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "complementary" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_complementary_labelled</strong>: Each element with "complementary" role must have a label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_complementary_labelled.html#%7B%22message%22%3A%22Element%20with%20%5C%22complementary%5C%22%20role%20does%20not%20have%20a%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element with "complementary" role does not have a label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_contentinfo_label_unique</strong>: Each element with "contentinfo" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_contentinfo_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22contentinfo%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "contentinfo" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_contentinfo_single</strong>: A page, document, or application should only have one element with "contentinfo" role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_contentinfo_single.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22contentinfo%5C%22%20role%20found%20on%20the%20page%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "contentinfo" role found on the page</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_document_label_unique</strong>: Each element with "document" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_document_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22document%5C%22%20roles%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "document" roles do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_form_label_unique</strong>: Each element with "form" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_form_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22form%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "form" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_main_label_unique</strong>: Each element with "main" role must have unique label that describes its purposes + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_main_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22main%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "main" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_navigation_label_unique</strong>: Each element with "navigation" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_navigation_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22navigation%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "navigation" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_region_label_unique</strong>: Each element with "region" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_region_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22region%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "region" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_region_labelled</strong>: Each element with "region" role must have a label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_region_labelled.html#%7B%22message%22%3A%22Element%20with%20%5C%22region%5C%22%20role%20does%20not%20have%20a%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element with "region" role does not have a label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_search_label_unique</strong>: Each element with "search" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_search_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22search%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "search" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_toolbar_label_unique</strong>: Each element with "toolbar" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_toolbar_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22toolbar%5C%22%20roles%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "toolbar" roles do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>skip_main_exists</strong>: Pages must provide a way to skip directly to the main content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/skip_main_exists.html#%7B%22message%22%3A%22The%20page%20does%20not%20provide%20a%20way%20to%20quickly%20navigate%20to%20the%20main%20content%20(ARIA%20%5C%22main%5C%22%20landmark%20or%20a%20skip%20link)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The page does not provide a way to quickly navigate to the main content (ARIA "main" landmark or a skip link)</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>frame_src_valid</strong>: A &lt;frame&gt; containing non-HTML content must be made accessible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/frame_src_valid.html#%7B%22message%22%3A%22Verify%20%3Cframe%3E%20content%20is%20accessible%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify &lt;frame&gt; content is accessible</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>html_skipnav_exists</strong>: Provide a way to bypass blocks of content that are repeated on multiple Web pages + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_skipnav_exists.html#%7B%22message%22%3A%22Verify%20there%20is%20a%20way%20to%20bypass%20blocks%20of%20content%20that%20are%20repeated%20on%20multiple%20Web%20pages%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify there is a way to bypass blocks of content that are repeated on multiple Web pages</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>skip_main_described</strong>: The description of a hyperlink used to skip content must communicate where it links to + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/skip_main_described.html#%7B%22message%22%3A%22Verify%20that%20if%20this%20hyperlink%20skips%20content%2C%20the%20description%20communicates%20where%20it%20links%20to%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that if this hyperlink skips content, the description communicates where it links to</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_complementary_label_visible</strong>: Each element with "complementary" role should have a visible label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_complementary_label_visible.html#%7B%22message%22%3A%22Element%20with%20%5C%22complementary%5C%22%20role%20does%20not%20have%20a%20visible%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element with "complementary" role does not have a visible label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_content_in_landmark</strong>: All content must reside within an element with a landmark role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_content_in_landmark.html#%7B%22message%22%3A%22Content%20is%20not%20within%20a%20landmark%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Content is not within a landmark element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_contentinfo_misuse</strong>: Each element with "contentinfo" role is only permitted with an element with "main" role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_contentinfo_misuse.html#%7B%22message%22%3A%22Element%20with%20%5C%22contentinfo%5C%22%20role%20is%20present%20without%20an%20element%20with%20%5C%22main%5C%22%20role%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element with "contentinfo" role is present without an element with "main" role</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_landmark_name_unique</strong>: Each landmark should have a unique 'aria-labelledby' or 'aria-label' or be nested in a different parent region + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_landmark_name_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22%7B0%7D%5C%22%20landmarks%20within%20the%20same%20parent%20region%20are%20not%20distinguished%20from%20one%20another%20because%20they%20have%20the%20same%20%5C%22%7B1%7D%5C%22%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_0%22%7D">Multiple elements with "{0}" landmarks within the same parent region are not distinguished from one another because they have the same "{1}" label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_main_label_visible</strong>: Each element with "main" role should have a unique visible label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_main_label_visible.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22main%5C%22%20role%20do%20not%20have%20unique%20visible%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "main" role do not have unique visible labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.4.2 Page Titled [A]</h2> + <div>Web pages, non-web documents, and software have titles that describe topic or purpose.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>page_title_exists</strong>: The page should have a title that correctly identifies the subject of the page + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/page_title_exists.html#%7B%22message%22%3A%22Missing%20%3Chead%3E%20element%20so%20there%20can%20be%20no%20%3Ctitle%3E%20element%20present%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Missing &lt;head&gt; element so there can be no &lt;title> element present</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/page_title_exists.html#%7B%22message%22%3A%22Missing%20%3Ctitle%3E%20element%20in%20%3Chead%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Missing &lt;title&gt; element in &lt;head> element</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/page_title_exists.html#%7B%22message%22%3A%22The%20%3Ctitle%3E%20element%20is%20empty%20(no%20innerHTML)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">The &lt;title&gt; element is empty (no innerHTML)</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>page_title_valid</strong>: Page &lt;title&gt; should be a descriptive title, rather than a filename + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/page_title_valid.html#%7B%22message%22%3A%22Verify%20that%20using%20the%20filename%20as%20the%20page%20%3Ctitle%3E%20value%20is%20descriptive%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_2%22%7D">Verify that using the filename as the page &lt;title&gt; value is descriptive</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.4.3 Focus Order [A]</h2> + <div>If content can be navigated sequentially and the navigation sequences affect meaning or operation, focusable components receive focus in an order that preserves meaning and operability.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>widget_tabbable_single</strong>: Components with a widget role must have no more than one tabbable element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/widget_tabbable_single.html#%7B%22message%22%3A%22Component%20with%20%5C%22%7B0%7D%5C%22%20role%20has%20more%20than%20one%20tabbable%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_multiple_tabbable%22%7D">Component with "{0}" role has more than one tabbable element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.4.4 Link Purpose (In Context) [A]</h2> + <div>The purpose of each link can be determined from the link text alone or from the link text together with its programmatically determined link content.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>img_alt_redundant</strong>: The text alternative for an image within a link should not repeat the link text or adjacent link text + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_redundant.html#%7B%22message%22%3A%22Link%20text%20is%20repeated%20in%20an%20image%20'alt'%20value%20within%20the%20same%20link%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Link text is repeated in an image 'alt' value within the same link</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_redundant.html#%7B%22message%22%3A%22Link%20text%20of%20previous%20link%20is%20repeated%20in%20image%20'alt'%20value%20of%20a%20link%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Link text of previous link is repeated in image 'alt' value of a link</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_redundant.html#%7B%22message%22%3A%22Image%20'alt'%20value%20within%20a%20link%20is%20repeated%20in%20link%20text%20of%20the%20link%20after%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">Image 'alt' value within a link is repeated in link text of the link after</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>a_text_purpose</strong>: Hyperlinks must have an accessible name for their purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/a_text_purpose.html#%7B%22message%22%3A%22Hyperlink%20has%20no%20link%20text%2C%20label%20or%20image%20with%20a%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_acc_name%22%7D">Hyperlink has no link text, label or image with a text alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.4.5 Multiple Ways [AA]</h2> + <div>More than one way is available to locate a Web page within a set of Web pages, except where the Web Page is the result of, or a step in, a process.</div> + +</div><div> + <h2>2.4.6 Headings and Labels [AA]</h2> + <div>Headings and labels describe topic or purpose.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>heading_content_exists</strong>: Heading elements must provide descriptive text + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/heading_content_exists.html#%7B%22message%22%3A%22Heading%20element%20has%20no%20descriptive%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Heading element has no descriptive content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.4.7 Focus Visible [AA]</h2> + <div>Any keyboard operable user interface has a mode of operation where the keyboard focus indicator is visible.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>element_tabbable_visible</strong>: A tabbable element should be visible on the screen when it has keyboard focus + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_tabbable_visible.html#%7B%22message%22%3A%22Confirm%20the%20element%20should%20be%20tabbable%20and%20if%20so%2C%20it%20becomes%20visible%20when%20it%20has%20keyboard%20focus%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_visible%22%7D">Confirm the element should be tabbable and if so, it becomes visible when it has keyboard focus</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>script_focus_blur_review</strong>: Scripting must not remove focus from content that normally receives focus + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/script_focus_blur_review.html#%7B%22message%22%3A%22Verify%20script%20does%20not%20remove%20focus%20from%20content%20that%20normally%20receives%20focus%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify script does not remove focus from content that normally receives focus</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>style_focus_visible</strong>: The keyboard focus indicator should be visible when default border or outline is modified by CSS + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_focus_visible.html#%7B%22message%22%3A%22Check%20the%20keyboard%20focus%20indicator%20is%20visible%20when%20using%20CSS%20declaration%20for%20'border'%20or%20'outline'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_focus_not_visible%22%7D">Check the keyboard focus indicator is visible when using CSS declaration for 'border' or 'outline'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.5.1 Pointer Gestures [A]</h2> + <div>All functionality that uses multipoint or path-based gestures for operation can be operated with a single pointer without a path-based gesture.</div> + +</div><div> + <h2>2.5.2 Pointer Cancellation [A]</h2> + <div>For functionality that can be operated using a single pointer, completion of the function is on the up-event with an ability to abort, undo or reverse the outcome.</div> + +</div><div> + <h2>2.5.3 Label in Name [A]</h2> + <div>For user interface components with labels that include text or images of text, the accessible name contains the text that is presented visually.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>label_name_visible</strong>: Accessible name must match or contain the visible label text + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/label_name_visible.html#%7B%22message%22%3A%22Accessible%20name%20does%20not%20match%20or%20contain%20the%20visible%20label%20text%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Accessible name does not match or contain the visible label text</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_label_visible</strong>: An input element must have an associated visible label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_visible.html#%7B%22message%22%3A%22The%20%E2%80%98placeholder%E2%80%99%20is%20the%20only%20visible%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_placeholder_only%22%7D">The ‘placeholder’ is the only visible label</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_visible.html#%7B%22message%22%3A%22The%20input%20element%20does%20not%20have%20an%20associated%20visible%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_no_label%22%7D">The input element does not have an associated visible label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.5.4 Motion Actuation [A]</h2> + <div>Functionality that can be operated by motion can also be operated by user interface components, and the motion trigger can be disabled.</div> + +</div><div> + <h2>3.1.1 Language of Page [A]</h2> + <div>The default human language of Web pages, non-Web documents, or software can be programmatically determined.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>html_lang_exists</strong>: Page must identify the default language of the document with a 'lang' attribute + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20as%20XHTML%201.0%2C%20but%20has%20neither%20'lang'%20nor%20'xml%3Alang'%20attributes%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Page detected as XHTML 1.0, but has neither 'lang' nor 'xml:lang' attributes</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20as%20XHTML%2C%20but%20does%20not%20have%20an%20'xml%3Alang'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Page detected as XHTML, but does not have an 'xml:lang' attribute</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20as%20HTML%2C%20but%20does%20not%20have%20a%20'lang'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">Page detected as HTML, but does not have a 'lang' attribute</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20with%20'lang'%20and%20'xml%3Alang'%20attributes%20and%20primary%20languages%20do%20not%20match%3A%20%5C%22%7B0%7D%5C%22%2C%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_4%22%7D">Page detected with 'lang' and 'xml:lang' attributes and primary languages do not match: "{0}", "{1}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20with%20'lang'%20and%20'xml%3Alang'%20attributes%20that%20do%20not%20match%3A%20%5C%22%7B0%7D%5C%22%2C%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_5%22%7D">Page detected with 'lang' and 'xml:lang' attributes that do not match: "{0}", "{1}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20as%20XHTML%201.0%20with%20only%20a%20'lang'%20attribute.%20Confirm%20that%20page%20is%20only%20delivered%20via%20text%2Fhtml%20mime%20type%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_5%22%7D">Page detected as XHTML 1.0 with only a 'lang' attribute. Confirm that page is only delivered via text/html mime type</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20as%20XHTML%201.0%20with%20only%20an%20'xml%3Alang'%20attribute.%20Confirm%20that%20page%20is%20only%20delivered%20via%20xml%20mime%20type%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_6%22%7D">Page detected as XHTML 1.0 with only an 'xml:lang' attribute. Confirm that page is only delivered via xml mime type</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>html_lang_valid</strong>: The default human language of the page must be valid and specified in accordance with BCP 47 + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_valid.html#%7B%22message%22%3A%22Specified%20'lang'%20attribute%20does%20not%20include%20a%20valid%20primary%20language%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Specified 'lang' attribute does not include a valid primary language</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_valid.html#%7B%22message%22%3A%22Specified%20'lang'%20attribute%20does%20not%20conform%20to%20BCP%2047%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Specified 'lang' attribute does not conform to BCP 47</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_valid.html#%7B%22message%22%3A%22Specified%20'xml%3Alang'%20attribute%20does%20not%20include%20a%20valid%20primary%20language%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">Specified 'xml:lang' attribute does not include a valid primary language</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_valid.html#%7B%22message%22%3A%22Specified%20'xml%3Alang'%20attribute%20does%20not%20conform%20to%20BCP%2047%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_4%22%7D">Specified 'xml:lang' attribute does not conform to BCP 47</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.1.2 Language of Parts [AA]</h2> + <div>The human language of each passage or phrase in the content can be programmatically determined.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>element_lang_valid</strong>: The change in language of specific content must be valid and specified in accordance with BCP 47 + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_lang_valid.html#%7B%22message%22%3A%22Specified%20'lang'%20attribute%20does%20not%20include%20a%20valid%20primary%20language%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Specified 'lang' attribute does not include a valid primary language</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_lang_valid.html#%7B%22message%22%3A%22Specified%20'lang'%20attribute%20does%20not%20conform%20to%20BCP%2047%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Specified 'lang' attribute does not conform to BCP 47</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_lang_valid.html#%7B%22message%22%3A%22Specified%20'xml%3Alang'%20attribute%20does%20not%20include%20a%20valid%20primary%20language%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">Specified 'xml:lang' attribute does not include a valid primary language</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_lang_valid.html#%7B%22message%22%3A%22Specified%20'xml%3Alang'%20attribute%20does%20not%20conform%20to%20BCP%2047%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_4%22%7D">Specified 'xml:lang' attribute does not conform to BCP 47</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.2.1 On Focus [A]</h2> + <div>When any component receives focus, it does not initiate a change of context.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>script_focus_blur_review</strong>: Scripting must not remove focus from content that normally receives focus + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/script_focus_blur_review.html#%7B%22message%22%3A%22Verify%20script%20does%20not%20remove%20focus%20from%20content%20that%20normally%20receives%20focus%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify script does not remove focus from content that normally receives focus</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>script_select_review</strong>: No changes of context should occur when a selection value receives focus + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/script_select_review.html#%7B%22message%22%3A%22Verify%20that%20no%20change%20of%20context%20or%20action%20occurs%20when%20selection%20options%20in%20this%20component%20receive%20focus%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that no change of context or action occurs when selection options in this component receive focus</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.2.2 On Input [A]</h2> + <div>Changing the setting of any user interface component does not automatically cause a change of context unless the user has been advised of the behavior before using the component.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>form_interaction_review</strong>: User should be informed in advance when interacting with content causes a change of context + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/form_interaction_review.html#%7B%22message%22%3A%22Verify%20that%20interacting%20with%20content%20will%20not%20open%20pop-up%20windows%20or%20change%20the%20active%20window%20without%20informing%20the%20user%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that interacting with content will not open pop-up windows or change the active window without informing the user</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>form_submit_button_exists</strong>: A &lt;form&gt; element should have a submit button or an image button + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/form_submit_button_exists.html#%7B%22message%22%3A%22Verify%20the%20%3Cform%3E%20element%20has%20a%20submit%20button%20or%20an%20image%20button%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify the &lt;form&gt; element has a submit button or an image button</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_onchange_review</strong>: Users must be advised if, due to a change of element value, a form automatically submits, a new window opens, or a change in focus occurs + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_onchange_review.html#%7B%22message%22%3A%22Confirm%20that%20the%20user%20is%20advised%20if%2C%20due%20to%20a%20change%20of%20element%20value%2C%20a%20form%20automatically%20submits%2C%20a%20new%20window%20opens%2C%20or%20a%20change%20in%20focus%20occurs%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_warning%22%7D">Confirm that the user is advised if, due to a change of element value, a form automatically submits, a new window opens, or a change in focus occurs</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>a_target_warning</strong>: Users should be warned in advance if their input action will open a new window + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/a_target_warning.html#%7B%22message%22%3A%22Inform%20the%20user%20when%20their%20input%20action%20will%20open%20a%20new%20window%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_warn%22%7D">Inform the user when their input action will open a new window</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.2.3 Consistent Navigation [AA]</h2> + <div>Navigational mechanisms that are repeated on multiple Web pages within a set of Web pages occur in the same relative order each time they are repeated, unless a change is initiated by the user.</div> + +</div><div> + <h2>3.2.4 Consistent Identification [AA]</h2> + <div>Components that have the same functionality within a set of Web pages are identified consistently.</div> + +</div><div> + <h2>3.3.1 Error Identification [A]</h2> + <div>If an input error is automatically detected, the item that is in error is identified and the error is described to the user in text.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>error_message_exists</strong>: A custom error message must reference a valid 'id' value and when triggered the message must be appropriately exposed + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/error_message_exists.html#%7B%22message%22%3A%22Custom%20error%20message%20has%20invalid%20reference%20'id'%20value%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Custom error message has invalid reference 'id' value</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/error_message_exists.html#%7B%22message%22%3A%22Custom%20error%20message%20is%20not%20visible%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Custom error message is not visible</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.3.2 Labels or Instructions [A]</h2> + <div>Labels or instructions are provided when content requires user input.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>fieldset_label_valid</strong>: Groups with nested inputs must have unique accessible name + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_label_valid.html#%7B%22message%22%3A%22Group%2FFieldset%20does%20not%20have%20an%20accessible%20name%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Group/Fieldset does not have an accessible name</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_label_valid.html#%7B%22message%22%3A%22Group%2FFieldset%20%5C%22%7B0%7D%5C%22%20has%20a%20duplicate%20name%20to%20another%20group%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Group/Fieldset "{0}" has a duplicate name to another group</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_label_after</strong>: Checkboxes and radio buttons must have a label after the input control + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_after.html#%7B%22message%22%3A%22Checkbox%20or%20radio%20button%20is%20nested%20in%20label%2C%20so%20label%20is%20not%20after%20the%20input%20control%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Checkbox or radio button is nested in label, so label is not after the input control</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_after.html#%7B%22message%22%3A%22Label%20text%20is%20located%20before%20its%20associated%20checkbox%20or%20radio%20button%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Label text is located before its associated checkbox or radio button element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_label_before</strong>: Text inputs and &lt;select&gt; elements must have a label before the input control + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_before.html#%7B%22message%22%3A%22Text%20input%20is%20nested%20in%20label%20such%20that%20input%20precedes%20the%20label%20text%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Text input is nested in label such that input precedes the label text</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_before.html#%7B%22message%22%3A%22Label%20text%20is%20located%20after%20its%20associated%20text%20input%20or%20%3Cselect%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Label text is located after its associated text input or &lt;select&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_label_visible</strong>: An input element must have an associated visible label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_visible.html#%7B%22message%22%3A%22The%20%E2%80%98placeholder%E2%80%99%20is%20the%20only%20visible%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_placeholder_only%22%7D">The ‘placeholder’ is the only visible label</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_visible.html#%7B%22message%22%3A%22The%20input%20element%20does%20not%20have%20an%20associated%20visible%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_no_label%22%7D">The input element does not have an associated visible label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>element_accesskey_labelled</strong>: An element with an assigned 'accesskey' attribute must have an associated label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_accesskey_labelled.html#%7B%22message%22%3A%22The%20element%20with%20an%20assigned%20'accesskey'%20attribute%20does%20not%20have%20an%20associated%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">The element with an assigned 'accesskey' attribute does not have an associated label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.3.3 Error Suggestion [AA]</h2> + <div>If an input error is automatically detected and suggestions for correction are known, then the suggestions are provided to the user, unless it would jeopardize the security or purpose of the content.</div> + +</div><div> + <h2>3.3.4 Error Prevention (Legal, Financial, Data) [AA]</h2> + <div>For content that cause legal commitments or financial transactions for the user to occur, that modify or delete user-controllable data in data storage systems, or that submit user test responses, the user can reverse, correct, or confirm the action.</div> + +</div><div> + <h2>4.1.1 Parsing [A]</h2> + <div>(Obsolete and removed) This requirement was originally adopted to address problems that assistive technology (AT) had directly parsing HTML. AT no longer has any need to directly parse HTML. Consequently, these problems either no longer exist or are addressed by other requirements.</div> + +</div><div> + <h2>4.1.2 Name, Role, Value [A]</h2> + <div>For all user interface components (including, but not limited to: form elements, links and components generated by scripts), the name and role can be programmatically determined; states, properties, and values that can be set by the user can be programmatically set; and notification of changes to these items is available to user agents, including assistive technologies.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>combobox_popup_reference</strong>: The 'aria-controls' (for ARIA 1.2) or the 'aria-owns' (for ARIA 1.0) attribute of the expanded combobox must reference a valid popup 'id' value + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_popup_reference.html#%7B%22message%22%3A%22The%20'aria-owns'%20attribute%20of%20the%20expanded%20combobox%20is%20missing%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1.0_missing_owns%22%7D">The 'aria-owns' attribute of the expanded combobox is missing</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_popup_reference.html#%7B%22message%22%3A%22The%20'aria-controls'%20attribute%20of%20the%20expanded%20combobox%20is%20missing%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1.2_missing_controls%22%7D">The 'aria-controls' attribute of the expanded combobox is missing</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_popup_reference.html#%7B%22message%22%3A%22The%20'aria-owns'%20attribute%20%5C%22%7B0%7D%5C%22%20of%20the%20expanded%20combobox%20does%20not%20reference%20a%20valid%20popup%20'id'%20value%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1.0_popup_reference_missing%22%7D">The 'aria-owns' attribute "{0}" of the expanded combobox does not reference a valid popup 'id' value</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_popup_reference.html#%7B%22message%22%3A%22The%20'aria-controls'%20attribute%20%5C%22%7B0%7D%5C%22%20of%20the%20expanded%20combobox%20does%20not%20reference%20a%20valid%20popup%20'id'%20value%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1.2_popup_reference_missing%22%7D">The 'aria-controls' attribute "{0}" of the expanded combobox does not reference a valid popup 'id' value</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_popup_reference.html#%7B%22message%22%3A%22The%20combobox%20'aria-expanded'%20attribute%20is%20true%2C%20but%20the%20combobox%20popup%20is%20not%20visible%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_combobox_expanded_hidden%22%7D">The combobox 'aria-expanded' attribute is true, but the combobox popup is not visible</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_popup_reference.html#%7B%22message%22%3A%22The%20combobox%20'aria-expanded'%20attribute%20is%20false%2C%20but%20the%20combobox%20popup%20is%20visible%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_combobox_collapsed_visible%22%7D">The combobox 'aria-expanded' attribute is false, but the combobox popup is visible</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_activedescendant_valid</strong>: The 'aria-activedescendant' property must reference the 'id' of a non-empty, non-hidden active child element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_activedescendant_valid.html#%7B%22message%22%3A%22The%20'aria-activedescendant'%20property%20is%20empty%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The 'aria-activedescendant' property is empty</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_activedescendant_valid.html#%7B%22message%22%3A%22The%20'aria-activedescendant'%20property%20references%20a%20hidden%20node%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">The 'aria-activedescendant' property references a hidden node</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_activedescendant_valid.html#%7B%22message%22%3A%22Element%20is%20not%20a%20combobox%2C%20and%20the%20referenced%20active-descendant%20element%20is%20not%20a%20valid%20descendant%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">Element is not a combobox, and the referenced active-descendant element is not a valid descendant</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>combobox_active_descendant</strong>: 'aria-activedescendant' must be used to define focus within the combobox popup, except when using a dialog popup + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_active_descendant.html#%7B%22message%22%3A%22The%20element%20referenced%20by%20'aria-activedescendant'%20%5C%22%7B0%7D%5C%22%20does%20not%20exist%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_missing%22%7D">The element referenced by 'aria-activedescendant' "{0}" does not exist</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_active_descendant.html#%7B%22message%22%3A%22The%20'aria-activedescendant'%20%5C%22%7B0%7D%5C%22%20references%20an%20element%20with%20the%20roles%20%5C%22%7B1%7D%5C%22%2C%20which%20does%20not%20have%20a%20valid%20ARIA%20role%20of%20'option'%2C%20'gridcell'%2C%20'row'%2C%20or%20'treeitem'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_active_role_invalid%22%7D">The 'aria-activedescendant' "{0}" references an element with the roles "{1}", which does not have a valid ARIA role of 'option', 'gridcell', 'row', or 'treeitem'</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_active_descendant.html#%7B%22message%22%3A%22The%20'aria-activedescendant'%20%5C%22%7B0%7D%5C%22%20references%20an%20element%20that%20does%20not%20have%20'aria-selected'%20set%20to%20true%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_active_not_selected%22%7D">The 'aria-activedescendant' "{0}" references an element that does not have 'aria-selected' set to true</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_haspopup_conflict</strong>: &lt;input&gt; element with a 'list' attribute should not use an explicit 'aria-haspopup' attribute + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_haspopup_conflict.html#%7B%22message%22%3A%22The%20%3Cinput%3E%20element%20with%20type%20%5C%22%7B0%7D%5C%22%20and%20'list'%20attribute%20uses%20an%20explicit%20'aria-haspopup'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_type_misuse%22%7D">The &lt;input&gt; element with type "{0}" and 'list' attribute uses an explicit 'aria-haspopup' attribute</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_haspopup_conflict.html#%7B%22message%22%3A%22The%20%3Cinput%3E%20element%20with%20a%20missing%20or%20invalid%20type%20and%20'list'%20attribute%20uses%20an%20explicit%20'aria-haspopup'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_misuse%22%7D">The &lt;input&gt; element with a missing or invalid type and 'list' attribute uses an explicit 'aria-haspopup' attribute</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_haspopup_conflict.html#%7B%22message%22%3A%22The%20list%20attribute%20for%20the%20%3Cinput%3E%20element%20is%20invalid%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_list_notexist%22%7D">The list attribute for the &lt;input&gt; element is invalid</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_haspopup_conflict.html#%7B%22message%22%3A%22The%20list%20attribute%20for%20the%20%3Cinput%3E%20element%20with%20the%20type%20%5C%22%7B0%7D%5C%22%20is%20invalid%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_invalid_list_type%22%7D">The list attribute for the &lt;input&gt; element with the type "{0}" is invalid</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_haspopup_conflict.html#%7B%22message%22%3A%22The%20list%20attribute%20for%20the%20%3Cinput%3E%20element%20does%20not%20reference%20a%20datalist%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_invalid_list_elem%22%7D">The list attribute for the &lt;input&gt; element does not reference a datalist element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_role_valid</strong>: ARIA roles must be valid for the element to which they are assigned + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_role_valid.html#%7B%22message%22%3A%22The%20ARIA%20role%20'%7B0%7D'%20is%20not%20valid%20for%20the%20element%20%3C%7B1%7D%3E%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The ARIA role '{0}' is not valid for the element &lt;{1}&gt;</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_role_valid.html#%7B%22message%22%3A%22The%20ARIA%20role%20'%7B0%7D'%20is%20not%20valid%20for%20the%20element%20%3C%7B1%7D%3E%20and%20may%20be%20ignored%20by%20the%20browser%20since%20the%20element%20is%20focusable%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">The ARIA role '{0}' is not valid for the element &lt;{1}&gt; and may be ignored by the browser since the element is focusable</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>combobox_autocomplete_valid</strong>: A combobox that supports autocompletion behavior must have the 'aria-autocomplete' attribute only on its text input element with a valid value; a value of '"inline"' is not supported + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_autocomplete_valid.html#%7B%22message%22%3A%22The%20combobox%20has%20the%20'aria-autocomplete'%20attribute%20incorrectly%20set%20on%20an%20element%20within%20the%20popup%20referenced%20by%20%5C%22%7B0%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The combobox has the 'aria-autocomplete' attribute incorrectly set on an element within the popup referenced by "{0}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_autocomplete_valid.html#%7B%22message%22%3A%22The%20combobox%20does%20not%20support%20an%20'aria-autocomplete'%20attribute%20value%20set%20to%20'%5C%22inline%5C%22'%20%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_inline%22%7D">The combobox does not support an 'aria-autocomplete' attribute value set to '"inline"' </a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>combobox_focusable_elements</strong>: Tabbable focus for the combobox must be allowed only on the text input, except when using a dialog popup + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_focusable_elements.html#%7B%22message%22%3A%22The%20combobox%20element%20does%20not%20allow%20DOM%20focus%20as%20required%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_not_tabbable%22%7D">The combobox element does not allow DOM focus as required</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_focusable_elements.html#%7B%22message%22%3A%22The%20popup%20of%20the%20combobox%20has%20DOM%20focus%20or%20has%20'aria-activedescendant'%20defined%2C%20which%20is%20not%20allowed%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_tabbable_child%22%7D">The popup of the combobox has DOM focus or has 'aria-activedescendant' defined, which is not allowed</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>combobox_haspopup_valid</strong>: The combobox attribute 'aria-haspopup' value must be appropriate for the role of the element referenced by 'aria-controls' (ARIA 1.2) or 'aria-owns' (ARIA 1.0) + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_haspopup_valid.html#%7B%22message%22%3A%22The%20'role'%20value%20%5C%22%7B0%7D%5C%22%20of%20the%20popup%20element%20%5C%22%7B1%7D%5C%22%20should%20be%20one%20of%20%5C%22listbox%5C%22%2C%20%5C%22grid%5C%22%2C%20%5C%22tree%5C%22%20or%20%5C%22dialog%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_popup_role_invalid%22%7D">The 'role' value "{0}" of the popup element "{1}" should be one of "listbox", "grid", "tree" or "dialog"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_haspopup_valid.html#%7B%22message%22%3A%22The%20value%20of%20the%20combobox%20'aria-haspopup'%20attribute%20%5C%22%7B0%7D%5C%22%20does%20not%20match%20the%20'role'%20value%20of%20the%20popup%20element%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_combobox_popup_role_mismatch%22%7D">The value of the combobox 'aria-haspopup' attribute "{0}" does not match the 'role' value of the popup element "{1}"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_label_exists</strong>: Each form control must have an associated label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_exists.html#%7B%22message%22%3A%22Form%20control%20element%20%3C%7B0%7D%3E%20has%20no%20associated%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Form control element &lt;{0}&gt; has no associated label</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_exists.html#%7B%22message%22%3A%22Form%20control%20with%20%5C%22%7B0%7D%5C%22%20role%20has%20no%20associated%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Form control with "{0}" role has no associated label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_descendant_valid</strong>: Browsers ignore the explicit and implicit ARIA roles of the descendants of certain elements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_descendant_valid.html#%7B%22message%22%3A%22The%20element%20with%20role%20%5C%22%7B0%7D%5C%22%20contains%20descendants%20with%20implicit%20roles%20%5C%22%7B1%7D%5C%22%20which%20are%20ignored%20by%20browsers%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_child_implicit_role%22%7D">The element with role "{0}" contains descendants with implicit roles "{1}" which are ignored by browsers</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_descendant_valid.html#%7B%22message%22%3A%22The%20element%20with%20role%20%5C%22%7B0%7D%5C%22%20contains%20descendants%20with%20roles%20%5C%22%7B1%7D%5C%22%20which%20are%20ignored%20by%20browsers%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_child_explicit_role%22%7D">The element with role "{0}" contains descendants with roles "{1}" which are ignored by browsers</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_role_allowed</strong>: Elements must have a valid 'role' per ARIA specification + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_role_allowed.html#%7B%22message%22%3A%22The%20role%20'%7B0%7D'%20defined%20on%20the%20element%20is%20not%20valid%20per%20ARIA%20specification%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">The role '{0}' defined on the element is not valid per ARIA specification</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_role_allowed.html#%7B%22message%22%3A%22Some%20of%20the%20roles%2C%20'%7B0%7D'%2C%20defined%20on%20the%20element%20are%20not%20valid%20per%20ARIA%20specification%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Some of the roles, '{0}', defined on the element are not valid per ARIA specification</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>a_text_purpose</strong>: Hyperlinks must have an accessible name for their purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/a_text_purpose.html#%7B%22message%22%3A%22Hyperlink%20has%20no%20link%20text%2C%20label%20or%20image%20with%20a%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_acc_name%22%7D">Hyperlink has no link text, label or image with a text alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_attribute_allowed</strong>: ARIA attributes must be valid for the element's role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_allowed.html#%7B%22message%22%3A%22The%20attribute(s)%20'%7B0%7D'%20referenced%20by%20the%20element%20%3C%7B1%7D%3E%20is%20not%20a%20valid%20ARIA%20state%20or%20property%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The attribute(s) '{0}' referenced by the element &lt;{1}&gt; is not a valid ARIA state or property</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_attribute_conflict</strong>: An ARIA attribute must not conflict with the corresponding HTML attribute + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_conflict.html#%7B%22message%22%3A%22The%20ARIA%20attribute%20%5C%22%7B0%7D%5C%22%20is%20in%20conflict%20with%20the%20corresponding%20HTML%20attribute%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_conflict%22%7D">The ARIA attribute "{0}" is in conflict with the corresponding HTML attribute "{1}"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_attribute_exists</strong>: When specifying a required ARIA attribute, the value must not be empty + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_exists.html#%7B%22message%22%3A%22The%20element%20attribute(s)%3A%20'%7B0%7D'%20value%20is%20empty%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_empty_attribute%22%7D">The element attribute(s): '{0}' value is empty</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_attribute_required</strong>: The required attributes for the element with a role must be defined + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_required.html#%7B%22message%22%3A%22Element%20with%20'%7B0%7D'%20role%20does%20not%20have%20the%20required%20ARIA%20attribute(s)%3A%20'%7B1%7D'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_missing%22%7D">Element with '{0}' role does not have the required ARIA attribute(s): '{1}'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_attribute_value_valid</strong>: ARIA property values must be valid + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_value_valid.html#%7B%22message%22%3A%22The%20value%20%5C%22%7B0%7D%5C%22%20specified%20for%20attribute%20'%7B1%7D'%20on%20element%20%3C%7B2%7D%3E%20is%20not%20valid%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The value "{0}" specified for attribute '{1}' on element &lt;{2}&gt; is not valid</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_eventhandler_role_valid</strong>: Elements with event handlers must have a valid ARIA role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_eventhandler_role_valid.html#%7B%22message%22%3A%22The%20%3C%7B0%7D%3E%20element%20with%20'%7B1%7D'%20does%20not%20have%20a%20valid%20ARIA%20role%20specified%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The &lt;{0}&gt; element with '{1}' does not have a valid ARIA role specified</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_hidden_nontabbable</strong>: A hidden element should not contain any tabbable elements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_hidden_nontabbable.html#%7B%22message%22%3A%22Element%20%5C%22%7B0%7D%5C%22%20should%20not%20be%20focusable%20within%20the%20subtree%20of%20an%20element%20with%20an%20'aria-hidden'%20attribute%20with%20value%20'true'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element "{0}" should not be focusable within the subtree of an element with an 'aria-hidden' attribute with value 'true'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_id_unique</strong>: The ARIA property must reference a non-empty unique id of an existing element that is visible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_id_unique.html#%7B%22message%22%3A%22The%20'id'%20%5C%22%7B0%7D%5C%22%20specified%20for%20the%20ARIA%20property%20'%7B1%7D'%20value%20is%20not%20valid%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The 'id' "{0}" specified for the ARIA property '{1}' value is not valid</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_widget_labelled</strong>: Interactive component must have a programmatically associated name + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_widget_labelled.html#%7B%22message%22%3A%22Interactive%20component%20with%20ARIA%20role%20'%7B0%7D'%20does%20not%20have%20a%20programmatically%20associated%20name%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Interactive component with ARIA role '{0}' does not have a programmatically associated name</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>combobox_design_valid</strong>: The combobox design pattern must be valid for ARIA 1.2 + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_design_valid.html#%7B%22message%22%3A%22The%20combobox%20design%20pattern%20is%20detected%20as%20ARIA%201.1%2C%20which%20is%20not%20allowed%20by%20ARIA%201.2%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1.1%22%7D">The combobox design pattern is detected as ARIA 1.1, which is not allowed by ARIA 1.2</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>frame_title_exists</strong>: Inline frames must have a unique, non-empty 'title' attribute + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/frame_title_exists.html#%7B%22message%22%3A%22Inline%20frame%20does%20not%20have%20a%20'title'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Inline frame does not have a 'title' attribute</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>label_content_exists</strong>: A &lt;label&gt; element must have non-empty descriptive text that identifies the purpose of the interactive component + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/label_content_exists.html#%7B%22message%22%3A%22The%20%3Clabel%3E%20element%20does%20not%20have%20descriptive%20text%20that%20identifies%20the%20expected%20input%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The &lt;label&gt; element does not have descriptive text that identifies the expected input</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>list_children_valid</strong>: List component with "group" role must limit children to &lt;listitem&gt; elements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/list_children_valid.html#%7B%22message%22%3A%22List%20component%20with%20%5C%22group%5C%22%20role%20has%20children%20that%20are%20not%20%3Clistitem%3E%20elements%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">List component with "group" role has children that are not &lt;listitem&gt; elements</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_aria_descendants</strong>: Table structure elements cannot specify an explicit 'role' within table containers + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_aria_descendants.html#%7B%22message%22%3A%22An%20explicit%20ARIA%20'role'%20is%20not%20valid%20for%20%3C%7B0%7D%3E%20element%20within%20an%20ARIA%20role%20'%7B1%7D'%20per%20the%20ARIA%20in%20HTML%20specification%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22explicit_role%22%7D">An explicit ARIA 'role' is not valid for &lt;{0}&gt; element within an ARIA role '{1}' per the ARIA in HTML specification</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>element_tabbable_role_valid</strong>: A tabbable element must have a valid widget role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_tabbable_role_valid.html#%7B%22message%22%3A%22The%20tabbable%20element's%20role%20'%7B0%7D'%20is%20not%20a%20widget%20role%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_invalid_role%22%7D">The tabbable element's role '{0}' is not a widget role</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_tabbable_role_valid.html#%7B%22message%22%3A%22The%20tabbable%20element%20does%20not%20have%20a%20valid%20widget%20role%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_no_valid_role%22%7D">The tabbable element does not have a valid widget role</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_accessiblename_exists</strong>: Elements with certain roles should have accessible names + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_accessiblename_exists.html#%7B%22message%22%3A%22Element%20%3C%7B0%7D%3E%20with%20%5C%22%7B1%7D%5C%22%20role%20has%20no%20accessible%20name%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_no_accessible_name%22%7D">Element &lt;{0}&gt; with "{1}" role has no accessible name</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_attribute_redundant</strong>: An ARIA attribute should not be redundant with a corresponding HTML attribute + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_redundant.html#%7B%22message%22%3A%22The%20ARIA%20attribute%20%5C%22%7B0%7D%5C%22%20is%20redundant%20with%20the%20HTML%20attribute%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_redundant%22%7D">The ARIA attribute "{0}" is redundant with the HTML attribute "{1}"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>canvas_content_described</strong>: The &lt;canvas&gt; element may not be accessible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/canvas_content_described.html#%7B%22message%22%3A%22Verify%20accessibility%20of%20the%20%3Ccanvas%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify accessibility of the &lt;canvas&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>4.1.3 Status Messages [AA]</h2> + <div>In content implemented using markup languages, status messages can be programmatically determined through role or properties such that they can be presented to the user by assistive technologies without receiving focus.</div> + +</div> + </div><div id="WCAG_2_0" style="padding: 1rem; display:none"> +<div> + <h2>1.1.1 Non-text Content [A]</h2> + <div>All non-text content that is presented to the user has a text alternative that serves the equivalent purpose.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>applet_alt_exists</strong>: &lt;applet&gt; elements must provide an 'alt' attribute and an alternative description + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/applet_alt_exists.html#%7B%22message%22%3A%22An%20%3Capplet%3E%20element%20does%20not%20have%20an%20'alt'%20attribute%20that%20provides%20a%20short%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">An &lt;applet&gt; element does not have an 'alt' attribute that provides a short text alternative</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/applet_alt_exists.html#%7B%22message%22%3A%22The%20'alt'%20attribute%20value%20for%20an%20%3Capplet%3E%20element%20duplicates%20the%20'code'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">The 'alt' attribute value for an &lt;applet&gt; element duplicates the 'code' attribute</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/applet_alt_exists.html#%7B%22message%22%3A%22An%20%3Capplet%3E%20element%20provides%20alternative%20text%2C%20but%20does%20not%20provide%20inner%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">An &lt;applet&gt; element provides alternative text, but does not provide inner content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_alt_redundant</strong>: The text alternative for an image within a link should not repeat the link text or adjacent link text + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_redundant.html#%7B%22message%22%3A%22Link%20text%20is%20repeated%20in%20an%20image%20'alt'%20value%20within%20the%20same%20link%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Link text is repeated in an image 'alt' value within the same link</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_redundant.html#%7B%22message%22%3A%22Link%20text%20of%20previous%20link%20is%20repeated%20in%20image%20'alt'%20value%20of%20a%20link%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Link text of previous link is repeated in image 'alt' value of a link</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_redundant.html#%7B%22message%22%3A%22Image%20'alt'%20value%20within%20a%20link%20is%20repeated%20in%20link%20text%20of%20the%20link%20after%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">Image 'alt' value within a link is repeated in link text of the link after</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_alt_valid</strong>: Images must have accessible names unless they are decorative or redundant + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_valid.html#%7B%22message%22%3A%22Image%20'alt'%20attribute%20value%20consists%20only%20of%20blank%20space(s)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_blank_alt%22%7D">Image 'alt' attribute value consists only of blank space(s)</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_valid.html#%7B%22message%22%3A%22The%20image%20has%20neither%20an%20accessible%20name%20nor%20is%20marked%20as%20decorative%20or%20redundant%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_no_alt%22%7D">The image has neither an accessible name nor is marked as decorative or redundant</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_valid.html#%7B%22message%22%3A%22The%20image%20does%20not%20have%20an%20'alt'%20attribute%20or%20ARIA%20label%2C%20and%20the%20'title'%20attribute%20value%20consists%20only%20of%20blank%20space(s)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_blank_title%22%7D">The image does not have an 'alt' attribute or ARIA label, and the 'title' attribute value consists only of blank space(s)</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>area_alt_exists</strong>: &lt;area&gt; elements in an image map must have a text alternative + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/area_alt_exists.html#%7B%22message%22%3A%22%3Carea%3E%20element%20in%20an%20image%20map%20has%20no%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">&lt;area&gt; element in an image map has no text alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>imagebutton_alt_exists</strong>: The &lt;input&gt; element of type "image" should have a text alternative + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/imagebutton_alt_exists.html#%7B%22message%22%3A%22The%20%3Cinput%3E%20element%20of%20type%20%5C%22image%5C%22%20has%20no%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail%22%7D">The &lt;input&gt; element of type "image" has no text alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>imagemap_alt_exists</strong>: An image map and each &lt;area&gt; element in an image map must have text alternative(s) + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/imagemap_alt_exists.html#%7B%22message%22%3A%22Image%20map%20or%20child%20%3Carea%3E%20has%20no%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Image map or child &lt;area&gt; has no text alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_alt_decorative</strong>: Image designated as decorative must have 'alt="" + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_decorative.html#%7B%22message%22%3A%22Image%20designated%20as%20decorative%20has%20non-null%20'alt'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Image designated as decorative has non-null 'alt' attribute</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_alt_null</strong>: When the intent is to mark an image as decorative with an empty 'alt' attribute, the 'aria' or 'title' attributes should not be used + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_null.html#%7B%22message%22%3A%22The%20image%20'alt'%20attribute%20is%20empty%2C%20but%20the%20'title'%20attribute%20is%20not%20empty%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_decorative%22%7D">The image 'alt' attribute is empty, but the 'title' attribute is not empty</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>object_text_exists</strong>: &lt;object&gt; element must have a text alternative for the content rendered by the object + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/object_text_exists.html#%7B%22message%22%3A%22An%20%3Cobject%3E%20element%20does%20not%20have%20a%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_no_text_alternative%22%7D">An &lt;object&gt; element does not have a text alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>svg_graphics_labelled</strong>: A non-decorative SVG element must have an accessible name + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/svg_graphics_labelled.html#%7B%22message%22%3A%22The%20SVG%20element%20has%20no%20accessible%20name%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_acc_name%22%7D">The SVG element has no accessible name</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>application_content_accessible</strong>: Non-decorative static text and image content within an element with "application" role must be accessible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/application_content_accessible.html#%7B%22message%22%3A%22Verify%20that%20the%20non-decorative%20static%20text%20and%20image%20content%20within%20an%20element%20with%20%5C%22application%5C%22%20role%20are%20accessible%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the non-decorative static text and image content within an element with "application" role are accessible</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_alt_misuse</strong>: 'alt' attribute value must be a good inline replacement for the image + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_misuse.html#%7B%22message%22%3A%22Verify%20that%20the%20file%20name%20serves%20as%20a%20good%20inline%20replacement%20for%20the%20image%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the file name serves as a good inline replacement for the image</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_ismap_misuse</strong>: Server-side image map hot-spots must have duplicate text links + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_ismap_misuse.html#%7B%22message%22%3A%22Server-side%20image%20map%20hot-spots%20do%20not%20have%20duplicate%20text%20links%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Server-side image map hot-spots do not have duplicate text links</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_longdesc_misuse</strong>: The 'longdesc' attribute must reference HTML content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_longdesc_misuse.html#%7B%22message%22%3A%22Verify%20that%20the%20file%20designated%20by%20the%20'longdesc'%20attribute%20contains%20valid%20HTML%20content%20(file%20extension%20not%20recognized)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the file designated by the 'longdesc' attribute contains valid HTML content (file extension not recognized)</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>media_alt_exists</strong>: Audio or video on the page must have a short text alternative that describes the media content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_alt_exists.html#%7B%22message%22%3A%22Filename%20used%20as%20label%20for%20embedded%20audio%20or%20video%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Filename used as label for embedded audio or video</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>style_background_decorative</strong>: Images included by using CSS alone must not convey important information + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_background_decorative.html#%7B%22message%22%3A%22Verify%20the%20CSS%20background%20image%20does%20not%20convey%20important%20information%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify the CSS background image does not convey important information</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>figure_label_exists</strong>: A &lt;figure&gt; element must have an associated label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/figure_label_exists.html#%7B%22message%22%3A%22The%20%3Cfigure%3E%20element%20does%20not%20have%20an%20associated%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The &lt;figure&gt; element does not have an associated label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>embed_alt_exists</strong>: Provide alternative content for &lt;embed&gt; elements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/embed_alt_exists.html#%7B%22message%22%3A%22Verify%20that%20the%20%3Cembed%3E%20element%20has%20alternative%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the &lt;embed&gt; element has alternative content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>embed_noembed_exists</strong>: &lt;embed&gt; elements should be immediately followed by a non-embedded element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/embed_noembed_exists.html#%7B%22message%22%3A%22Verify%20that%20the%20%3Cembed%3E%20element%20is%20immediately%20followed%20by%20a%20non-embedded%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the &lt;embed&gt; element is immediately followed by a non-embedded element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>media_alt_brief</strong>: Alternative text in 'alt' attribute should be brief (&lt;150 characters) + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_alt_brief.html#%7B%22message%22%3A%22Text%20alternative%20is%20more%20than%20150%20characters%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Text alternative is more than 150 characters</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>noembed_content_exists</strong>: &lt;noembed&gt; elements should contain descriptive text + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/noembed_content_exists.html#%7B%22message%22%3A%22Add%20descriptive%20text%20to%20the%20%3Cnoembed%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Add descriptive text to the &lt;noembed&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>canvas_content_described</strong>: The &lt;canvas&gt; element may not be accessible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/canvas_content_described.html#%7B%22message%22%3A%22Verify%20accessibility%20of%20the%20%3Ccanvas%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify accessibility of the &lt;canvas&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>img_alt_background</strong>: Background images that convey important information must have a text alternative that describes the image + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_background.html#%7B%22message%22%3A%22Verify%20important%20background%20image%20information%20has%20a%20text%20alternative%20in%20system%20high%20contrast%20mode%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify important background image information has a text alternative in system high contrast mode</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>style_highcontrast_visible</strong>: Windows high contrast mode must be supported when using CSS to include, position or alter non-decorative content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_highcontrast_visible.html#%7B%22message%22%3A%22Confirm%20Windows%20high%20contrast%20mode%20is%20supported%20when%20using%20CSS%20to%20include%2C%20position%20or%20alter%20non-decorative%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Confirm Windows high contrast mode is supported when using CSS to include, position or alter non-decorative content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.2.1 Audio-only and Video-only (Prerecorded) [A]</h2> + <div>For prerecorded audio-only or video-only media, an alternative provides equivalent information.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>media_audio_transcribed</strong>: Audio information should also be available in text form + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_audio_transcribed.html#%7B%22message%22%3A%22Provide%20transcripts%20for%20audio%20files%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Provide transcripts for audio files</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.2.2 Captions (Prerecorded) [A]</h2> + <div>Captions are provided for all prerecorded audio content in synchronized media.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>caption_track_exists</strong>: A &lt;video&gt; element must have a text alternative for any meaningful audio content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/caption_track_exists.html#%7B%22message%22%3A%22Verify%20that%20captions%20are%20available%20for%20any%20meaningful%20audio%20or%20provide%20a%20caption%20track%20for%20the%20%3Cvideo%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that captions are available for any meaningful audio or provide a caption track for the &lt;video&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.2.3 Audio Description or Media Alternative (Prerecorded) [A]</h2> + <div>An alternative for time-based media or audio description of the prerecorded video content is provided for synchronized media.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>media_track_available</strong>: Pre-recorded media should have an audio track that describes visual information + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_track_available.html#%7B%22message%22%3A%22Verify%20availability%20of%20a%20user-selectable%20audio%20track%20with%20description%20of%20visual%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify availability of a user-selectable audio track with description of visual content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.2.4 Captions (Live) [AA]</h2> + <div>Captions are provided for all live audio content in synchronized media.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>media_live_captioned</strong>: Live media (streaming video with audio) should have captions for audio content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_live_captioned.html#%7B%22message%22%3A%22Verify%20captions%20are%20provided%20for%20live%20media%20(streaming%20video%20with%20audio)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify captions are provided for live media (streaming video with audio)</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.2.5 Audio Description (Prerecorded) [AA]</h2> + <div>Audio description is provided for all prerecorded video content in synchronized media.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>media_track_available</strong>: Pre-recorded media should have an audio track that describes visual information + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_track_available.html#%7B%22message%22%3A%22Verify%20availability%20of%20a%20user-selectable%20audio%20track%20with%20description%20of%20visual%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify availability of a user-selectable audio track with description of visual content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.3.1 Info and Relationships [A]</h2> + <div>Information, structure, and relationships conveyed through presentation can be programmatically determined or are available in text.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>input_checkboxes_grouped</strong>: Related sets of radio buttons or checkboxes should be programmatically grouped + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_checkboxes_grouped.html#%7B%22message%22%3A%22%7B0%7D%20input%20found%20that%20has%20the%20same%20name%2C%20%5C%22%7B2%7D%5C%22%20as%20a%20%7B1%7D%20input%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_controlnamemismatch%22%7D">{0} input found that has the same name, "{2}" as a {1} input</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_checkboxes_grouped.html#%7B%22message%22%3A%22%7B0%7D%20input%20is%20not%20in%20the%20group%20with%20another%20%7B0%7D%20with%20the%20name%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_notgroupedothergrouped%22%7D">{0} input is not in the group with another {0} with the name "{1}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_checkboxes_grouped.html#%7B%22message%22%3A%22%7B0%7D%20input%20and%20others%20with%20the%20name%20%5C%22%7B1%7D%5C%22%20are%20not%20grouped%20together%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_notgroupedothernotgrouped%22%7D">{0} input and others with the name "{1}" are not grouped together</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_checkboxes_grouped.html#%7B%22message%22%3A%22%7B0%7D%20input%20is%20in%20a%20different%20group%20than%20another%20%7B0%7D%20with%20the%20name%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_notsamegroup%22%7D">{0} input is in a different group than another {0} with the name "{1}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_checkboxes_grouped.html#%7B%22message%22%3A%22Verify%20that%20this%20ungrouped%20checkbox%20input%20is%20not%20related%20to%20other%20checkboxes%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_lonecheckbox%22%7D">Verify that this ungrouped checkbox input is not related to other checkboxes</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_checkboxes_grouped.html#%7B%22message%22%3A%22Verify%20that%20this%20un-named%2C%20ungrouped%20checkbox%20input%20is%20not%20related%20to%20other%20checkboxes%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_unnamedcheckbox%22%7D">Verify that this un-named, ungrouped checkbox input is not related to other checkboxes</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_headers_ref_valid</strong>: The 'headers' attribute should refer to a valid cell in the same table + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_headers_ref_valid.html#%7B%22message%22%3A%22The%20'headers'%20attribute%20value%20%5C%22%7B0%7D%5C%22%20does%20not%20reference%20a%20valid%20'id'%20in%20this%20document%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The 'headers' attribute value "{0}" does not reference a valid 'id' in this document</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_headers_ref_valid.html#%7B%22message%22%3A%22The%20'headers'%20attribute%20value%20%5C%22%7B0%7D%5C%22%20refers%20to%20itself%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">The 'headers' attribute value "{0}" refers to itself</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_headers_ref_valid.html#%7B%22message%22%3A%22The%20'headers'%20attribute%20value%20%5C%22%7B0%7D%5C%22%20does%20not%20refer%20to%20a%20cell%20in%20the%20same%20table%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">The 'headers' attribute value "{0}" does not refer to a cell in the same table</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_headers_ref_valid.html#%7B%22message%22%3A%22The%20'headers'%20attribute%20value%20%5C%22%7B0%7D%5C%22%20does%20not%20refer%20to%20a%20cell%20indicated%20with%20%3Cth%3E%20or%20a%20role%20of%20%5C%22columnheader%5C%22%20or%20%5C%22rowheader%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_4%22%7D">The 'headers' attribute value "{0}" does not refer to a cell indicated with &lt;th&gt; or a role of "columnheader" or "rowheader"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>fieldset_label_valid</strong>: Groups with nested inputs must have unique accessible name + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_label_valid.html#%7B%22message%22%3A%22Group%2FFieldset%20does%20not%20have%20an%20accessible%20name%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Group/Fieldset does not have an accessible name</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_label_valid.html#%7B%22message%22%3A%22Group%2FFieldset%20%5C%22%7B0%7D%5C%22%20has%20a%20duplicate%20name%20to%20another%20group%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Group/Fieldset "{0}" has a duplicate name to another group</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_scope_valid</strong>: Value for 'scope' attribute must be "row", "col", "rowgroup", or "colgroup" + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_scope_valid.html#%7B%22message%22%3A%22Value%20provided%20is%20invalid%20for%20the%20'scope'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Value provided is invalid for the 'scope' attribute</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_scope_valid.html#%7B%22message%22%3A%22The%20'scope'%20attribute%20should%20only%20be%20used%20on%20a%20%3Cth%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">The 'scope' attribute should only be used on a &lt;th&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_hidden_nontabbable</strong>: A hidden element should not contain any tabbable elements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_hidden_nontabbable.html#%7B%22message%22%3A%22Element%20%5C%22%7B0%7D%5C%22%20should%20not%20be%20focusable%20within%20the%20subtree%20of%20an%20element%20with%20an%20'aria-hidden'%20attribute%20with%20value%20'true'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element "{0}" should not be focusable within the subtree of an element with an 'aria-hidden' attribute with value 'true'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_parent_required</strong>: Each element with an implicit or explicit role must be contained within a valid element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_parent_required.html#%7B%22message%22%3A%22Element%20with%20%5C%22%7B0%7D%5C%22%20role%20is%20not%20contained%20in%20or%20owned%20by%20an%20element%20with%20one%20of%20the%20following%20roles%3A%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element with "{0}" role is not contained in or owned by an element with one of the following roles: "{1}"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>form_label_unique</strong>: Form controls should have exactly one label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/form_label_unique.html#%7B%22message%22%3A%22Form%20control%20has%20more%20than%20one%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Form control has more than one label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>label_ref_valid</strong>: The 'for' attribute for a label should reference a non-empty, unique 'id' attribute of a valid element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/label_ref_valid.html#%7B%22message%22%3A%22The%20value%20%5C%22%7B0%7D%5C%22%20of%20the%20'for'%20attribute%20is%20not%20the%20'id'%20of%20a%20valid%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_invalid%22%7D">The value "{0}" of the 'for' attribute is not the 'id' of a valid element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_caption_empty</strong>: A &lt;caption&gt; element for a &lt;table> element must contain descriptive text + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_caption_empty.html#%7B%22message%22%3A%22The%20%3Ctable%3E%20element%20has%20an%20empty%20%3Ccaption%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The &lt;table&gt; element has an empty &lt;caption> element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_caption_nested</strong>: The &lt;caption&gt; element must be nested inside the associated &lt;table> element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_caption_nested.html#%7B%22message%22%3A%22%3Ccaption%3E%20element%20is%20not%20nested%20inside%20a%20%3Ctable%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">&lt;caption&gt; element is not nested inside a &lt;table> element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_headers_exists</strong>: Data table must identify headers + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_headers_exists.html#%7B%22message%22%3A%22Table%20has%20no%20headers%20identified%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Table has no headers identified</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_headers_related</strong>: For a complex data table, all &lt;th&gt; and &lt;td> elements must be related via 'header' or 'scope' attributes + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_headers_related.html#%7B%22message%22%3A%22Complex%20table%20does%20not%20have%20headers%20for%20each%20cell%20properly%20defined%20with%20'header'%20or%20'scope'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Complex table does not have headers for each cell properly defined with 'header' or 'scope'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_structure_misuse</strong>: Table elements with 'role="presentation" or 'role="none" should not have structural elements or attributes + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_structure_misuse.html#%7B%22message%22%3A%22The%20%3C%7B0%7D%3E%20element%20with%20%5C%22presentation%5C%22%20role%20or%20%5C%22none%5C%22%20role%20has%20structural%20element(s)%20and%2For%20attribute(s)%20'%7B1%7D'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The &lt;{0}&gt; element with "presentation" role or "none" role has structural element(s) and/or attribute(s) '{1}'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_summary_redundant</strong>: The table summary must not duplicate the caption + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_summary_redundant.html#%7B%22message%22%3A%22The%20table%20summary%20duplicates%20the%20caption%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The table summary duplicates the caption</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>blockquote_cite_exists</strong>: Use &lt;blockquote&gt; only for quotations, not indentation + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/blockquote_cite_exists.html#%7B%22message%22%3A%22Verify%20that%20%3Cblockquote%3E%20should%20have%20a%20'cite'%20attribute%20and%20not%20be%20used%20for%20indentation%20only%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that &lt;blockquote&gt; should have a 'cite' attribute and not be used for indentation only</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>heading_markup_misuse</strong>: Heading elements must not be used for presentation + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/heading_markup_misuse.html#%7B%22message%22%3A%22Verify%20that%20the%20heading%20element%20is%20a%20genuine%20heading%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the heading element is a genuine heading</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>list_markup_review</strong>: Proper HTML elements should be used to create a list + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/list_markup_review.html#%7B%22message%22%3A%22Verify%20this%20is%20a%20list%20and%20if%20so%2C%20modify%20to%20use%20proper%20HTML%20elements%20for%20the%20list%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_list%22%7D">Verify this is a list and if so, modify to use proper HTML elements for the list</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>text_block_heading</strong>: Heading text should use a heading element or role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_block_heading.html#%7B%22message%22%3A%22Confirm%20this%20text%20'%7B0%7D'%20is%20used%20as%20a%20heading%20and%20if%20so%2C%20modify%20to%20use%20a%20heading%20element%20or%20role%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_heading%22%7D">Confirm this text '{0}' is used as a heading and if so, modify to use a heading element or role</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>text_quoted_correctly</strong>: Quotations should be marked with &lt;q&gt; or &lt;blockquote> elements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_quoted_correctly.html#%7B%22message%22%3A%22If%20the%20following%20text%20is%20a%20quotation%2C%20mark%20it%20as%20a%20%3Cq%3E%20or%20%3Cblockquote%3E%20element%3A%20%7B0%7D%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">If the following text is a quotation, mark it as a &lt;q&gt; or &lt;blockquote> element: {0}</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>fieldset_legend_valid</strong>: &lt;fieldset&gt; elements should have a single, non-empty &lt;legend> as a label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_legend_valid.html#%7B%22message%22%3A%22%3Cfieldset%3E%20element%20does%20not%20have%20a%20%3Clegend%3E%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">&lt;fieldset&gt; element does not have a &lt;legend></a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_legend_valid.html#%7B%22message%22%3A%22%3Cfieldset%3E%20element%20has%20more%20than%20one%20%3Clegend%3E%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">&lt;fieldset&gt; element has more than one &lt;legend></a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_legend_valid.html#%7B%22message%22%3A%22%3Cfieldset%3E%20element%20%3Clegend%3E%20is%20empty%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">&lt;fieldset&gt; element &lt;legend> is empty</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_child_valid</strong>: An element with an ARIA role must own a required child + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_child_valid.html#%7B%22message%22%3A%22The%20element%20with%20role%20%5C%22%7B0%7D%5C%22%20does%20not%20own%20any%20child%20element%20with%20any%20of%20the%20following%20role(s)%3A%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_no_child%22%7D">The element with role "{0}" does not own any child element with any of the following role(s): "{1}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_child_valid.html#%7B%22message%22%3A%22The%20element%20with%20role%20%5C%22%7B0%7D%5C%22%20owns%20the%20child%20element%20with%20the%20role%20%5C%22%7B1%7D%5C%22%20that%20is%20not%20one%20of%20the%20allowed%20role(s)%3A%20%5C%22%7B2%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_invalid_child%22%7D">The element with role "{0}" owns the child element with the role "{1}" that is not one of the allowed role(s): "{2}"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_fields_grouped</strong>: Groups of logically related input elements should be contained within a &lt;fieldset&gt; element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_fields_grouped.html#%7B%22message%22%3A%22Use%20the%20%3Cfieldset%3E%20element%20to%20group%20logically%20related%20input%20elements%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Use the &lt;fieldset&gt; element to group logically related input elements</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>list_structure_proper</strong>: List elements should only be used for lists of related items + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/list_structure_proper.html#%7B%22message%22%3A%22List%20element%20is%20missing%20or%20improperly%20structured%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">List element is missing or improperly structured</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>select_options_grouped</strong>: Groups of related options within a selection list should be grouped with &lt;optgroup&gt; + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/select_options_grouped.html#%7B%22message%22%3A%22Group%20of%20related%20options%20may%20need%20%3Coptgroup%3E%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Group of related options may need &lt;optgroup&gt;</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_layout_linearized</strong>: Avoid using tables to format text documents in columns unless the table can be linearized + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_layout_linearized.html#%7B%22message%22%3A%22Verify%20table%20is%20not%20being%20used%20to%20format%20text%20content%20in%20columns%20unless%20the%20table%20can%20be%20linearized%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify table is not being used to format text content in columns unless the table can be linearized</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.3.2 Meaningful Sequence [A]</h2> + <div>When the sequence in which content is presented affects its meaning, a correct reading sequence can be programmatically determined.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>dir_attribute_valid</strong>: 'dir' attribute value must be "ltr", "rtl", or "auto" + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/dir_attribute_valid.html#%7B%22message%22%3A%22Invalid%20value%20used%20for%20the%20'dir'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Invalid value used for the 'dir' attribute</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>text_whitespace_valid</strong>: Space characters should not be used to control spacing within a word + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_whitespace_valid.html#%7B%22message%22%3A%22Space%20characters%20should%20not%20be%20used%20to%20create%20space%20between%20the%20letters%20of%20a%20word%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_text%22%7D">Space characters should not be used to create space between the letters of a word</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>style_highcontrast_visible</strong>: Windows high contrast mode must be supported when using CSS to include, position or alter non-decorative content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_highcontrast_visible.html#%7B%22message%22%3A%22Confirm%20Windows%20high%20contrast%20mode%20is%20supported%20when%20using%20CSS%20to%20include%2C%20position%20or%20alter%20non-decorative%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Confirm Windows high contrast mode is supported when using CSS to include, position or alter non-decorative content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.3.3 Sensory Characteristics [A]</h2> + <div>Instructions provided for understanding and operating content do not rely solely on sensory characteristics of components such as shape, size, visual location, orientation, or sound.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>text_sensory_misuse</strong>: Instructions should be meaningful without relying solely on shape, size, or location words + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_sensory_misuse.html#%7B%22message%22%3A%22Confirm%20the%20word(s)%20'%7B0%7D'%20of%20the%20user%20instruction%20is%20used%20to%20indicate%20a%20logical%20rather%20than%20visual%20position%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_position%22%7D">Confirm the word(s) '{0}' of the user instruction is used to indicate a logical rather than visual position</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_sensory_misuse.html#%7B%22message%22%3A%22Confirm%20the%20user%20instruction%20is%20still%20understandable%20without%20the%20word(s)%20'%7B0%7D'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_other%22%7D">Confirm the user instruction is still understandable without the word(s) '{0}'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.1 Use of Color [A]</h2> + <div>Color is not used as the only visual means of conveying information, indicating an action, prompting a response, or distinguishing a visual element.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>form_font_color</strong>: Combine color and descriptive markup to indicate required form fields + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/form_font_color.html#%7B%22message%22%3A%22Check%20color%20is%20not%20used%20as%20the%20only%20visual%20means%20to%20convey%20which%20fields%20are%20required%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Check color is not used as the only visual means to convey which fields are required</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>style_color_misuse</strong>: Combine color and descriptive markup to convey information + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_color_misuse.html#%7B%22message%22%3A%22Verify%20color%20is%20not%20used%20as%20the%20only%20visual%20means%20of%20conveying%20information%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify color is not used as the only visual means of conveying information</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.2 Audio Control [A]</h2> + <div>If any audio plays automatically for more than 3 seconds, either a mechanism is available to pause or stop the audio, or a mechanism is available to control audio volume independently from the overall system volume level.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>media_autostart_controllable</strong>: Mechanism must be available to pause or stop and control the volume of the audio that plays automatically + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_autostart_controllable.html#%7B%22message%22%3A%22Verify%20there%20is%20a%20mechanism%20to%20pause%20or%20stop%20and%20control%20the%20volume%20for%20the%20audio%20that%20plays%20automatically%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify there is a mechanism to pause or stop and control the volume for the audio that plays automatically</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.3 Contrast (Minimum) [AA]</h2> + <div>The visual presentation of text and images of text has a contrast ratio of at least 4.5:1, with a 3:1 ratio for large-scale text.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>text_contrast_sufficient</strong>: The contrast ratio of text with its background must meet WCAG AA requirements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_contrast_sufficient.html#%7B%22message%22%3A%22Text%20contrast%20of%20%7B0%7D%20with%20its%20background%20is%20less%20than%20the%20WCAG%20AA%20minimum%20requirements%20for%20text%20of%20size%20%7B1%7Dpx%20and%20weight%20of%20%7B2%7D%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_contrast%22%7D">Text contrast of {0} with its background is less than the WCAG AA minimum requirements for text of size {1}px and weight of {2}</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_contrast_sufficient.html#%7B%22message%22%3A%22The%20foreground%20text%20and%20its%20background%20color%20are%20both%20detected%20as%20%7B3%7D.%20Verify%20the%20text%20meets%20the%20WCAG%20AA%20requirements%20for%20minimum%20contrast%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_same_color%22%7D">The foreground text and its background color are both detected as {3}. Verify the text meets the WCAG AA requirements for minimum contrast</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_contrast_sufficient.html#%7B%22message%22%3A%22Verify%20the%20contrast%20ratio%20of%20the%20text%20against%20the%20lightest%20and%20the%20darkest%20colors%20of%20the%20background%20meets%20the%20WCAG%20AA%20minimum%20requirements%20for%20text%20of%20size%20%7B1%7Dpx%20and%20weight%20of%20%7B2%7D%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_graphic_background%22%7D">Verify the contrast ratio of the text against the lightest and the darkest colors of the background meets the WCAG AA minimum requirements for text of size {1}px and weight of {2}</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/text_contrast_sufficient.html#%7B%22message%22%3A%22Verify%20the%20contrast%20ratio%20of%20the%20text%20with%20shadow%20meets%20the%20WCAG%20AA%20minimum%20requirements%20for%20text%20of%20size%20%7B1%7Dpx%20and%20weight%20of%20%7B2%7D%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_text_shadow%22%7D">Verify the contrast ratio of the text with shadow meets the WCAG AA minimum requirements for text of size {1}px and weight of {2}</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.4 Resize text [AA]</h2> + <div>Text can be resized without assistive technology up to 200 percent without loss of content or functionality.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>style_viewport_resizable</strong>: Text must scale up to 200% without loss of content or functionality + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_viewport_resizable.html#%7B%22message%22%3A%22Verify%20that%20text%20sized%20using%20viewport%20units%20can%20be%20resized%20up%20to%20200%25%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that text sized using viewport units can be resized up to 200%</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>meta_viewport_zoomable</strong>: The 'meta[name=viewport]' should not prevent the browser zooming the content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/meta_viewport_zoomable.html#%7B%22message%22%3A%22Confirm%20the%20'meta%5Bname%3Dviewport%5D'%20with%20%5C%22%7B0%7D%5C%22%20can%20be%20zoomed%20by%20user%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_zoomable%22%7D">Confirm the 'meta[name=viewport]' with "{0}" can be zoomed by user</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>1.4.5 Images of Text [AA]</h2> + <div>If the technologies being used can achieve the visual presentation, text should not be used to convey information rather than images of text.</div> + +</div><div> + <h2>2.1.1 Keyboard [A]</h2> + <div>All functionality of the content is operable through a keyboard interface without requiring specific timings for individual keystrokes.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>aria_activedescendant_tabindex_valid</strong>: Element using 'aria-activedescendant' property should be tabbable + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_activedescendant_tabindex_valid.html#%7B%22message%22%3A%22The%20%3C%7B0%7D%3E%20element%20using%20'aria-activedescendant'%20set%20to%20%5C%22%7B1%7D%5C%22%20is%20not%20tabbable%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The &lt;{0}&gt; element using 'aria-activedescendant' set to "{1}" is not tabbable</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_child_tabbable</strong>: UI component must have at least one tabbable descendant for keyboard access + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_child_tabbable.html#%7B%22message%22%3A%22None%20of%20the%20descendent%20elements%20with%20%5C%22%7B1%7D%5C%22%20role%20is%20tabbable%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_missing_child%22%7D">None of the descendent elements with "{1}" role is tabbable</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>element_scrollable_tabbable</strong>: Scrollable elements should be tabbable or contain tabbable content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_scrollable_tabbable.html#%7B%22message%22%3A%22The%20scrollable%20element%20%3C%7B0%7D%3E%20with%20non-interactive%20content%20is%20not%20tabbable%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_scrollable%22%7D">The scrollable element &lt;{0}&gt; with non-interactive content is not tabbable</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>iframe_interactive_tabbable</strong>: Iframe with interactive content should not be excluded from tab order using tabindex + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/iframe_interactive_tabbable.html#%7B%22message%22%3A%22The%20%3Ciframe%3E%20with%20interactive%20content%20is%20excluded%20from%20tab%20order%20using%20tabindex%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_invalid%22%7D">The &lt;iframe&gt; with interactive content is excluded from tab order using tabindex</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>application_content_accessible</strong>: Non-decorative static text and image content within an element with "application" role must be accessible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/application_content_accessible.html#%7B%22message%22%3A%22Verify%20that%20the%20non-decorative%20static%20text%20and%20image%20content%20within%20an%20element%20with%20%5C%22application%5C%22%20role%20are%20accessible%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that the non-decorative static text and image content within an element with "application" role are accessible</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_keyboard_handler_exists</strong>: Interactive WAI_ARIA UI components must provide keyboard access + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_keyboard_handler_exists.html#%7B%22message%22%3A%22Verify%20the%20%3C%7B0%7D%3E%20element%20with%20%5C%22%7B1%7D%5C%22%20role%20has%20keyboard%20access%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_no_keyboard_access%22%7D">Verify the &lt;{0}&gt; element with "{1}" role has keyboard access</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>script_focus_blur_review</strong>: Scripting must not remove focus from content that normally receives focus + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/script_focus_blur_review.html#%7B%22message%22%3A%22Verify%20script%20does%20not%20remove%20focus%20from%20content%20that%20normally%20receives%20focus%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify script does not remove focus from content that normally receives focus</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>script_onclick_misuse</strong>: Scripts should not be used to emulate links + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/script_onclick_misuse.html#%7B%22message%22%3A%22Possible%20use%20of%20a%20script%20to%20emulate%20a%20link%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Possible use of a script to emulate a link</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>widget_tabbable_exists</strong>: Component must have at least one tabbable element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/widget_tabbable_exists.html#%7B%22message%22%3A%22Component%20with%20%5C%22%7B0%7D%5C%22%20role%20does%20not%20have%20a%20tabbable%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22fail_no_tabbable%22%7D">Component with "{0}" role does not have a tabbable element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>widget_tabbable_single</strong>: Components with a widget role must have no more than one tabbable element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/widget_tabbable_single.html#%7B%22message%22%3A%22Component%20with%20%5C%22%7B0%7D%5C%22%20role%20has%20more%20than%20one%20tabbable%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_multiple_tabbable%22%7D">Component with "{0}" role has more than one tabbable element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>media_keyboard_controllable</strong>: Media using &lt;audio&gt; and/or &lt;video> elements must have keyboard accessible controls + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/media_keyboard_controllable.html#%7B%22message%22%3A%22Verify%20media%20using%20%3Caudio%3E%20and%2For%20%3Cvideo%3E%20elements%20have%20keyboard%20accessible%20controls%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify media using &lt;audio&gt; and/or &lt;video> elements have keyboard accessible controls</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>script_onclick_avoid</strong>: Scripts should not be used to emulate links + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/script_onclick_avoid.html#%7B%22message%22%3A%22Verify%20that%20'onclick'%20events%20are%20not%20used%20in%20script%20to%20emulate%20a%20link%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that 'onclick' events are not used in script to emulate a link</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>canvas_content_described</strong>: The &lt;canvas&gt; element may not be accessible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/canvas_content_described.html#%7B%22message%22%3A%22Verify%20accessibility%20of%20the%20%3Ccanvas%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify accessibility of the &lt;canvas&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>element_mouseevent_keyboard</strong>: All interactive content with mouse event handlers must have equivalent keyboard access + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_mouseevent_keyboard.html#%7B%22message%22%3A%22Confirm%20the%20%3C%7B0%7D%3E%20element%20with%20mouse%20event%20handler(s)%20'%7B1%7D'%20has%20a%20corresponding%20keyboard%20handler(s)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Confirm the &lt;{0}&gt; element with mouse event handler(s) '{1}' has a corresponding keyboard handler(s)</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.1.2 No Keyboard Trap [A]</h2> + <div>If keyboard focus can be moved to a component using a keyboard interface, then focus can be moved away from that component using only a keyboard interface, and, if it requires more than unmodified arrow or tab keys or other standard exit methods, the user is advised of the method for moving focus away.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>download_keyboard_controllable</strong>: File download mechanisms should be keyboard-operable and preserve page focus location + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/download_keyboard_controllable.html#%7B%22message%22%3A%22Verify%20that%20the%20file%20download%20mechanism%20does%20not%20cause%20a%20keyboard%20trap%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify that the file download mechanism does not cause a keyboard trap</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.2.1 Timing Adjustable [A]</h2> + <div>For each time limit that is set by the content, the user can turn off, adjust, or extend the limit.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>meta_redirect_optional</strong>: Page should not automatically refresh without warning or option to turn it off or adjust the time limit + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/meta_redirect_optional.html#%7B%22message%22%3A%22Check%20page%20does%20not%20automatically%20refresh%20without%20warning%20or%20options%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail%22%7D">Check page does not automatically refresh without warning or options</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/meta_redirect_optional.html#%7B%22message%22%3A%22Check%20page%20does%20not%20automatically%20refresh%20without%20warning%20or%20options%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_longrefresh%22%7D">Check page does not automatically refresh without warning or options</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>meta_refresh_delay</strong>: Pages should not refresh automatically + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/meta_refresh_delay.html#%7B%22message%22%3A%22Verify%20page%20is%20not%20being%20caused%20to%20refresh%20automatically%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify page is not being caused to refresh automatically</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.2.2 Pause, Stop, Hide [A]</h2> + <div>For moving, blinking, scrolling, or auto-updating information, the user can pause, stop, hide or adjust the information.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>blink_elem_deprecated</strong>: Content that blinks persistently must not be used + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/blink_elem_deprecated.html#%7B%22message%22%3A%22Content%20found%20that%20blinks%20persistently%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Content found that blinks persistently</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>marquee_elem_avoid</strong>: The &lt;marquee&gt; element is obsolete and should not be used + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/marquee_elem_avoid.html#%7B%22message%22%3A%22Scrolling%20content%20found%20that%20uses%20the%20obsolete%20%3Cmarquee%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Scrolling content found that uses the obsolete &lt;marquee&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>blink_css_review</strong>: Do not use the "blink" value of the 'text-decoration' property for longer than five seconds + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/blink_css_review.html#%7B%22message%22%3A%22Check%20the%20%5C%22blink%5C%22%20value%20of%20the%20CSS%20'text-decoration'%20property%20is%20not%20used%20for%20more%20than%20than%20five%20seconds%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Check the "blink" value of the CSS 'text-decoration' property is not used for more than than five seconds</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.3.1 Three Flashes or Below Threshold [A]</h2> + <div>Content does not contain anything that flashes more than three times in any one second period, or the flash is below the general flash and red flash thresholds.</div> + +</div><div> + <h2>2.4.1 Bypass Blocks [A]</h2> + <div>A mechanism is available to bypass blocks of content that are repeated on multiple Web pages.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>aria_application_label_unique</strong>: Each element with "application" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_application_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22application%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "application" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_application_labelled</strong>: Each element with "application" role must have a label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_application_labelled.html#%7B%22message%22%3A%22Element%20with%20%5C%22application%5C%22%20role%20does%20not%20have%20a%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element with "application" role does not have a label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_article_label_unique</strong>: Each element with "article" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_article_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22article%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "article" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_banner_label_unique</strong>: Each element with "banner" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_banner_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22banner%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "banner" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_banner_single</strong>: A page, document, or application should only have one element with "banner" role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_banner_single.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22banner%5C%22%20role%20found%20on%20the%20page%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "banner" role found on the page</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_complementary_label_unique</strong>: Each element with "complementary" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_complementary_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22complementary%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "complementary" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_complementary_labelled</strong>: Each element with "complementary" role must have a label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_complementary_labelled.html#%7B%22message%22%3A%22Element%20with%20%5C%22complementary%5C%22%20role%20does%20not%20have%20a%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element with "complementary" role does not have a label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_contentinfo_label_unique</strong>: Each element with "contentinfo" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_contentinfo_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22contentinfo%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "contentinfo" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_contentinfo_single</strong>: A page, document, or application should only have one element with "contentinfo" role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_contentinfo_single.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22contentinfo%5C%22%20role%20found%20on%20the%20page%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "contentinfo" role found on the page</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_document_label_unique</strong>: Each element with "document" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_document_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22document%5C%22%20roles%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "document" roles do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_form_label_unique</strong>: Each element with "form" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_form_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22form%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "form" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_main_label_unique</strong>: Each element with "main" role must have unique label that describes its purposes + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_main_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22main%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "main" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_navigation_label_unique</strong>: Each element with "navigation" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_navigation_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22navigation%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "navigation" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_region_label_unique</strong>: Each element with "region" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_region_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22region%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "region" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_region_labelled</strong>: Each element with "region" role must have a label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_region_labelled.html#%7B%22message%22%3A%22Element%20with%20%5C%22region%5C%22%20role%20does%20not%20have%20a%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element with "region" role does not have a label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_search_label_unique</strong>: Each element with "search" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_search_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22search%5C%22%20role%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "search" role do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_toolbar_label_unique</strong>: Each element with "toolbar" role must have a unique label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_toolbar_label_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22toolbar%5C%22%20roles%20do%20not%20have%20unique%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "toolbar" roles do not have unique labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>skip_main_exists</strong>: Pages must provide a way to skip directly to the main content + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/skip_main_exists.html#%7B%22message%22%3A%22The%20page%20does%20not%20provide%20a%20way%20to%20quickly%20navigate%20to%20the%20main%20content%20(ARIA%20%5C%22main%5C%22%20landmark%20or%20a%20skip%20link)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The page does not provide a way to quickly navigate to the main content (ARIA "main" landmark or a skip link)</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>frame_src_valid</strong>: A &lt;frame&gt; containing non-HTML content must be made accessible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/frame_src_valid.html#%7B%22message%22%3A%22Verify%20%3Cframe%3E%20content%20is%20accessible%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify &lt;frame&gt; content is accessible</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>html_skipnav_exists</strong>: Provide a way to bypass blocks of content that are repeated on multiple Web pages + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_skipnav_exists.html#%7B%22message%22%3A%22Verify%20there%20is%20a%20way%20to%20bypass%20blocks%20of%20content%20that%20are%20repeated%20on%20multiple%20Web%20pages%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify there is a way to bypass blocks of content that are repeated on multiple Web pages</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>skip_main_described</strong>: The description of a hyperlink used to skip content must communicate where it links to + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/skip_main_described.html#%7B%22message%22%3A%22Verify%20that%20if%20this%20hyperlink%20skips%20content%2C%20the%20description%20communicates%20where%20it%20links%20to%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that if this hyperlink skips content, the description communicates where it links to</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_complementary_label_visible</strong>: Each element with "complementary" role should have a visible label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_complementary_label_visible.html#%7B%22message%22%3A%22Element%20with%20%5C%22complementary%5C%22%20role%20does%20not%20have%20a%20visible%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element with "complementary" role does not have a visible label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_content_in_landmark</strong>: All content must reside within an element with a landmark role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_content_in_landmark.html#%7B%22message%22%3A%22Content%20is%20not%20within%20a%20landmark%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Content is not within a landmark element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_contentinfo_misuse</strong>: Each element with "contentinfo" role is only permitted with an element with "main" role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_contentinfo_misuse.html#%7B%22message%22%3A%22Element%20with%20%5C%22contentinfo%5C%22%20role%20is%20present%20without%20an%20element%20with%20%5C%22main%5C%22%20role%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element with "contentinfo" role is present without an element with "main" role</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_landmark_name_unique</strong>: Each landmark should have a unique 'aria-labelledby' or 'aria-label' or be nested in a different parent region + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_landmark_name_unique.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22%7B0%7D%5C%22%20landmarks%20within%20the%20same%20parent%20region%20are%20not%20distinguished%20from%20one%20another%20because%20they%20have%20the%20same%20%5C%22%7B1%7D%5C%22%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_0%22%7D">Multiple elements with "{0}" landmarks within the same parent region are not distinguished from one another because they have the same "{1}" label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_main_label_visible</strong>: Each element with "main" role should have a unique visible label that describes its purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_main_label_visible.html#%7B%22message%22%3A%22Multiple%20elements%20with%20%5C%22main%5C%22%20role%20do%20not%20have%20unique%20visible%20labels%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Multiple elements with "main" role do not have unique visible labels</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.4.2 Page Titled [A]</h2> + <div>Web pages, non-web documents, and software have titles that describe topic or purpose.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>page_title_exists</strong>: The page should have a title that correctly identifies the subject of the page + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/page_title_exists.html#%7B%22message%22%3A%22Missing%20%3Chead%3E%20element%20so%20there%20can%20be%20no%20%3Ctitle%3E%20element%20present%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Missing &lt;head&gt; element so there can be no &lt;title> element present</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/page_title_exists.html#%7B%22message%22%3A%22Missing%20%3Ctitle%3E%20element%20in%20%3Chead%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Missing &lt;title&gt; element in &lt;head> element</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/page_title_exists.html#%7B%22message%22%3A%22The%20%3Ctitle%3E%20element%20is%20empty%20(no%20innerHTML)%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">The &lt;title&gt; element is empty (no innerHTML)</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>page_title_valid</strong>: Page &lt;title&gt; should be a descriptive title, rather than a filename + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/page_title_valid.html#%7B%22message%22%3A%22Verify%20that%20using%20the%20filename%20as%20the%20page%20%3Ctitle%3E%20value%20is%20descriptive%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_2%22%7D">Verify that using the filename as the page &lt;title&gt; value is descriptive</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.4.3 Focus Order [A]</h2> + <div>If content can be navigated sequentially and the navigation sequences affect meaning or operation, focusable components receive focus in an order that preserves meaning and operability.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>widget_tabbable_single</strong>: Components with a widget role must have no more than one tabbable element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/widget_tabbable_single.html#%7B%22message%22%3A%22Component%20with%20%5C%22%7B0%7D%5C%22%20role%20has%20more%20than%20one%20tabbable%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_multiple_tabbable%22%7D">Component with "{0}" role has more than one tabbable element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.4.4 Link Purpose (In Context) [A]</h2> + <div>The purpose of each link can be determined from the link text alone or from the link text together with its programmatically determined link content.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>img_alt_redundant</strong>: The text alternative for an image within a link should not repeat the link text or adjacent link text + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_redundant.html#%7B%22message%22%3A%22Link%20text%20is%20repeated%20in%20an%20image%20'alt'%20value%20within%20the%20same%20link%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Link text is repeated in an image 'alt' value within the same link</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_redundant.html#%7B%22message%22%3A%22Link%20text%20of%20previous%20link%20is%20repeated%20in%20image%20'alt'%20value%20of%20a%20link%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Link text of previous link is repeated in image 'alt' value of a link</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/img_alt_redundant.html#%7B%22message%22%3A%22Image%20'alt'%20value%20within%20a%20link%20is%20repeated%20in%20link%20text%20of%20the%20link%20after%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">Image 'alt' value within a link is repeated in link text of the link after</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>a_text_purpose</strong>: Hyperlinks must have an accessible name for their purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/a_text_purpose.html#%7B%22message%22%3A%22Hyperlink%20has%20no%20link%20text%2C%20label%20or%20image%20with%20a%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_acc_name%22%7D">Hyperlink has no link text, label or image with a text alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.4.5 Multiple Ways [AA]</h2> + <div>More than one way is available to locate a Web page within a set of Web pages, except where the Web Page is the result of, or a step in, a process.</div> + +</div><div> + <h2>2.4.6 Headings and Labels [AA]</h2> + <div>Headings and labels describe topic or purpose.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>heading_content_exists</strong>: Heading elements must provide descriptive text + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/heading_content_exists.html#%7B%22message%22%3A%22Heading%20element%20has%20no%20descriptive%20content%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Heading element has no descriptive content</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>2.4.7 Focus Visible [AA]</h2> + <div>Any keyboard operable user interface has a mode of operation where the keyboard focus indicator is visible.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>element_tabbable_visible</strong>: A tabbable element should be visible on the screen when it has keyboard focus + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_tabbable_visible.html#%7B%22message%22%3A%22Confirm%20the%20element%20should%20be%20tabbable%20and%20if%20so%2C%20it%20becomes%20visible%20when%20it%20has%20keyboard%20focus%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_visible%22%7D">Confirm the element should be tabbable and if so, it becomes visible when it has keyboard focus</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>script_focus_blur_review</strong>: Scripting must not remove focus from content that normally receives focus + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/script_focus_blur_review.html#%7B%22message%22%3A%22Verify%20script%20does%20not%20remove%20focus%20from%20content%20that%20normally%20receives%20focus%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify script does not remove focus from content that normally receives focus</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>style_focus_visible</strong>: The keyboard focus indicator should be visible when default border or outline is modified by CSS + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/style_focus_visible.html#%7B%22message%22%3A%22Check%20the%20keyboard%20focus%20indicator%20is%20visible%20when%20using%20CSS%20declaration%20for%20'border'%20or%20'outline'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_focus_not_visible%22%7D">Check the keyboard focus indicator is visible when using CSS declaration for 'border' or 'outline'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.1.1 Language of Page [A]</h2> + <div>The default human language of Web pages, non-Web documents, or software can be programmatically determined.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>html_lang_exists</strong>: Page must identify the default language of the document with a 'lang' attribute + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20as%20XHTML%201.0%2C%20but%20has%20neither%20'lang'%20nor%20'xml%3Alang'%20attributes%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Page detected as XHTML 1.0, but has neither 'lang' nor 'xml:lang' attributes</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20as%20XHTML%2C%20but%20does%20not%20have%20an%20'xml%3Alang'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Page detected as XHTML, but does not have an 'xml:lang' attribute</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20as%20HTML%2C%20but%20does%20not%20have%20a%20'lang'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">Page detected as HTML, but does not have a 'lang' attribute</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20with%20'lang'%20and%20'xml%3Alang'%20attributes%20and%20primary%20languages%20do%20not%20match%3A%20%5C%22%7B0%7D%5C%22%2C%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_4%22%7D">Page detected with 'lang' and 'xml:lang' attributes and primary languages do not match: "{0}", "{1}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20with%20'lang'%20and%20'xml%3Alang'%20attributes%20that%20do%20not%20match%3A%20%5C%22%7B0%7D%5C%22%2C%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_5%22%7D">Page detected with 'lang' and 'xml:lang' attributes that do not match: "{0}", "{1}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20as%20XHTML%201.0%20with%20only%20a%20'lang'%20attribute.%20Confirm%20that%20page%20is%20only%20delivered%20via%20text%2Fhtml%20mime%20type%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_5%22%7D">Page detected as XHTML 1.0 with only a 'lang' attribute. Confirm that page is only delivered via text/html mime type</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_exists.html#%7B%22message%22%3A%22Page%20detected%20as%20XHTML%201.0%20with%20only%20an%20'xml%3Alang'%20attribute.%20Confirm%20that%20page%20is%20only%20delivered%20via%20xml%20mime%20type%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_6%22%7D">Page detected as XHTML 1.0 with only an 'xml:lang' attribute. Confirm that page is only delivered via xml mime type</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>html_lang_valid</strong>: The default human language of the page must be valid and specified in accordance with BCP 47 + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_valid.html#%7B%22message%22%3A%22Specified%20'lang'%20attribute%20does%20not%20include%20a%20valid%20primary%20language%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Specified 'lang' attribute does not include a valid primary language</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_valid.html#%7B%22message%22%3A%22Specified%20'lang'%20attribute%20does%20not%20conform%20to%20BCP%2047%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Specified 'lang' attribute does not conform to BCP 47</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_valid.html#%7B%22message%22%3A%22Specified%20'xml%3Alang'%20attribute%20does%20not%20include%20a%20valid%20primary%20language%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">Specified 'xml:lang' attribute does not include a valid primary language</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/html_lang_valid.html#%7B%22message%22%3A%22Specified%20'xml%3Alang'%20attribute%20does%20not%20conform%20to%20BCP%2047%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_4%22%7D">Specified 'xml:lang' attribute does not conform to BCP 47</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.1.2 Language of Parts [AA]</h2> + <div>The human language of each passage or phrase in the content can be programmatically determined.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>element_lang_valid</strong>: The change in language of specific content must be valid and specified in accordance with BCP 47 + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_lang_valid.html#%7B%22message%22%3A%22Specified%20'lang'%20attribute%20does%20not%20include%20a%20valid%20primary%20language%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Specified 'lang' attribute does not include a valid primary language</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_lang_valid.html#%7B%22message%22%3A%22Specified%20'lang'%20attribute%20does%20not%20conform%20to%20BCP%2047%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Specified 'lang' attribute does not conform to BCP 47</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_lang_valid.html#%7B%22message%22%3A%22Specified%20'xml%3Alang'%20attribute%20does%20not%20include%20a%20valid%20primary%20language%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">Specified 'xml:lang' attribute does not include a valid primary language</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_lang_valid.html#%7B%22message%22%3A%22Specified%20'xml%3Alang'%20attribute%20does%20not%20conform%20to%20BCP%2047%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_4%22%7D">Specified 'xml:lang' attribute does not conform to BCP 47</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.2.1 On Focus [A]</h2> + <div>When any component receives focus, it does not initiate a change of context.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>script_focus_blur_review</strong>: Scripting must not remove focus from content that normally receives focus + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/script_focus_blur_review.html#%7B%22message%22%3A%22Verify%20script%20does%20not%20remove%20focus%20from%20content%20that%20normally%20receives%20focus%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify script does not remove focus from content that normally receives focus</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>script_select_review</strong>: No changes of context should occur when a selection value receives focus + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/script_select_review.html#%7B%22message%22%3A%22Verify%20that%20no%20change%20of%20context%20or%20action%20occurs%20when%20selection%20options%20in%20this%20component%20receive%20focus%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that no change of context or action occurs when selection options in this component receive focus</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.2.2 On Input [A]</h2> + <div>Changing the setting of any user interface component does not automatically cause a change of context unless the user has been advised of the behavior before using the component.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>form_interaction_review</strong>: User should be informed in advance when interacting with content causes a change of context + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/form_interaction_review.html#%7B%22message%22%3A%22Verify%20that%20interacting%20with%20content%20will%20not%20open%20pop-up%20windows%20or%20change%20the%20active%20window%20without%20informing%20the%20user%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify that interacting with content will not open pop-up windows or change the active window without informing the user</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>form_submit_button_exists</strong>: A &lt;form&gt; element should have a submit button or an image button + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/form_submit_button_exists.html#%7B%22message%22%3A%22Verify%20the%20%3Cform%3E%20element%20has%20a%20submit%20button%20or%20an%20image%20button%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Verify the &lt;form&gt; element has a submit button or an image button</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_onchange_review</strong>: Users must be advised if, due to a change of element value, a form automatically submits, a new window opens, or a change in focus occurs + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_onchange_review.html#%7B%22message%22%3A%22Confirm%20that%20the%20user%20is%20advised%20if%2C%20due%20to%20a%20change%20of%20element%20value%2C%20a%20form%20automatically%20submits%2C%20a%20new%20window%20opens%2C%20or%20a%20change%20in%20focus%20occurs%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_warning%22%7D">Confirm that the user is advised if, due to a change of element value, a form automatically submits, a new window opens, or a change in focus occurs</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>a_target_warning</strong>: Users should be warned in advance if their input action will open a new window + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/a_target_warning.html#%7B%22message%22%3A%22Inform%20the%20user%20when%20their%20input%20action%20will%20open%20a%20new%20window%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_warn%22%7D">Inform the user when their input action will open a new window</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.2.3 Consistent Navigation [AA]</h2> + <div>Navigational mechanisms that are repeated on multiple Web pages within a set of Web pages occur in the same relative order each time they are repeated, unless a change is initiated by the user.</div> + +</div><div> + <h2>3.2.4 Consistent Identification [AA]</h2> + <div>Components that have the same functionality within a set of Web pages are identified consistently.</div> + +</div><div> + <h2>3.3.1 Error Identification [A]</h2> + <div>If an input error is automatically detected, the item that is in error is identified and the error is described to the user in text.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>error_message_exists</strong>: A custom error message must reference a valid 'id' value and when triggered the message must be appropriately exposed + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/error_message_exists.html#%7B%22message%22%3A%22Custom%20error%20message%20has%20invalid%20reference%20'id'%20value%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Custom error message has invalid reference 'id' value</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/error_message_exists.html#%7B%22message%22%3A%22Custom%20error%20message%20is%20not%20visible%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Custom error message is not visible</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.3.2 Labels or Instructions [A]</h2> + <div>Labels or instructions are provided when content requires user input.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>fieldset_label_valid</strong>: Groups with nested inputs must have unique accessible name + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_label_valid.html#%7B%22message%22%3A%22Group%2FFieldset%20does%20not%20have%20an%20accessible%20name%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Group/Fieldset does not have an accessible name</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/fieldset_label_valid.html#%7B%22message%22%3A%22Group%2FFieldset%20%5C%22%7B0%7D%5C%22%20has%20a%20duplicate%20name%20to%20another%20group%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Group/Fieldset "{0}" has a duplicate name to another group</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_label_after</strong>: Checkboxes and radio buttons must have a label after the input control + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_after.html#%7B%22message%22%3A%22Checkbox%20or%20radio%20button%20is%20nested%20in%20label%2C%20so%20label%20is%20not%20after%20the%20input%20control%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Checkbox or radio button is nested in label, so label is not after the input control</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_after.html#%7B%22message%22%3A%22Label%20text%20is%20located%20before%20its%20associated%20checkbox%20or%20radio%20button%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Label text is located before its associated checkbox or radio button element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_label_before</strong>: Text inputs and &lt;select&gt; elements must have a label before the input control + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_before.html#%7B%22message%22%3A%22Text%20input%20is%20nested%20in%20label%20such%20that%20input%20precedes%20the%20label%20text%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Text input is nested in label such that input precedes the label text</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_before.html#%7B%22message%22%3A%22Label%20text%20is%20located%20after%20its%20associated%20text%20input%20or%20%3Cselect%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Label text is located after its associated text input or &lt;select&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_label_visible</strong>: An input element must have an associated visible label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_visible.html#%7B%22message%22%3A%22The%20%E2%80%98placeholder%E2%80%99%20is%20the%20only%20visible%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_placeholder_only%22%7D">The ‘placeholder’ is the only visible label</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_visible.html#%7B%22message%22%3A%22The%20input%20element%20does%20not%20have%20an%20associated%20visible%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_no_label%22%7D">The input element does not have an associated visible label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>element_accesskey_labelled</strong>: An element with an assigned 'accesskey' attribute must have an associated label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_accesskey_labelled.html#%7B%22message%22%3A%22The%20element%20with%20an%20assigned%20'accesskey'%20attribute%20does%20not%20have%20an%20associated%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">The element with an assigned 'accesskey' attribute does not have an associated label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div><div> + <h2>3.3.3 Error Suggestion [AA]</h2> + <div>If an input error is automatically detected and suggestions for correction are known, then the suggestions are provided to the user, unless it would jeopardize the security or purpose of the content.</div> + +</div><div> + <h2>3.3.4 Error Prevention (Legal, Financial, Data) [AA]</h2> + <div>For content that cause legal commitments or financial transactions for the user to occur, that modify or delete user-controllable data in data storage systems, or that submit user test responses, the user can reverse, correct, or confirm the action.</div> + +</div><div> + <h2>4.1.1 Parsing [A]</h2> + <div>(Obsolete and removed) This requirement was originally adopted to address problems that assistive technology (AT) had directly parsing HTML. AT no longer has any need to directly parse HTML. Consequently, these problems either no longer exist or are addressed by other requirements.</div> + +</div><div> + <h2>4.1.2 Name, Role, Value [A]</h2> + <div>For all user interface components (including, but not limited to: form elements, links and components generated by scripts), the name and role can be programmatically determined; states, properties, and values that can be set by the user can be programmatically set; and notification of changes to these items is available to user agents, including assistive technologies.</div> + <bx-unordered-list style="margin-top: .5rem"><bx-list-item><strong>combobox_popup_reference</strong>: The 'aria-controls' (for ARIA 1.2) or the 'aria-owns' (for ARIA 1.0) attribute of the expanded combobox must reference a valid popup 'id' value + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_popup_reference.html#%7B%22message%22%3A%22The%20'aria-owns'%20attribute%20of%20the%20expanded%20combobox%20is%20missing%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1.0_missing_owns%22%7D">The 'aria-owns' attribute of the expanded combobox is missing</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_popup_reference.html#%7B%22message%22%3A%22The%20'aria-controls'%20attribute%20of%20the%20expanded%20combobox%20is%20missing%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1.2_missing_controls%22%7D">The 'aria-controls' attribute of the expanded combobox is missing</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_popup_reference.html#%7B%22message%22%3A%22The%20'aria-owns'%20attribute%20%5C%22%7B0%7D%5C%22%20of%20the%20expanded%20combobox%20does%20not%20reference%20a%20valid%20popup%20'id'%20value%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1.0_popup_reference_missing%22%7D">The 'aria-owns' attribute "{0}" of the expanded combobox does not reference a valid popup 'id' value</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_popup_reference.html#%7B%22message%22%3A%22The%20'aria-controls'%20attribute%20%5C%22%7B0%7D%5C%22%20of%20the%20expanded%20combobox%20does%20not%20reference%20a%20valid%20popup%20'id'%20value%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1.2_popup_reference_missing%22%7D">The 'aria-controls' attribute "{0}" of the expanded combobox does not reference a valid popup 'id' value</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_popup_reference.html#%7B%22message%22%3A%22The%20combobox%20'aria-expanded'%20attribute%20is%20true%2C%20but%20the%20combobox%20popup%20is%20not%20visible%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_combobox_expanded_hidden%22%7D">The combobox 'aria-expanded' attribute is true, but the combobox popup is not visible</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_popup_reference.html#%7B%22message%22%3A%22The%20combobox%20'aria-expanded'%20attribute%20is%20false%2C%20but%20the%20combobox%20popup%20is%20visible%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_combobox_collapsed_visible%22%7D">The combobox 'aria-expanded' attribute is false, but the combobox popup is visible</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_activedescendant_valid</strong>: The 'aria-activedescendant' property must reference the 'id' of a non-empty, non-hidden active child element + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_activedescendant_valid.html#%7B%22message%22%3A%22The%20'aria-activedescendant'%20property%20is%20empty%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The 'aria-activedescendant' property is empty</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_activedescendant_valid.html#%7B%22message%22%3A%22The%20'aria-activedescendant'%20property%20references%20a%20hidden%20node%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">The 'aria-activedescendant' property references a hidden node</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_activedescendant_valid.html#%7B%22message%22%3A%22Element%20is%20not%20a%20combobox%2C%20and%20the%20referenced%20active-descendant%20element%20is%20not%20a%20valid%20descendant%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_3%22%7D">Element is not a combobox, and the referenced active-descendant element is not a valid descendant</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>combobox_active_descendant</strong>: 'aria-activedescendant' must be used to define focus within the combobox popup, except when using a dialog popup + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_active_descendant.html#%7B%22message%22%3A%22The%20element%20referenced%20by%20'aria-activedescendant'%20%5C%22%7B0%7D%5C%22%20does%20not%20exist%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_missing%22%7D">The element referenced by 'aria-activedescendant' "{0}" does not exist</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_active_descendant.html#%7B%22message%22%3A%22The%20'aria-activedescendant'%20%5C%22%7B0%7D%5C%22%20references%20an%20element%20with%20the%20roles%20%5C%22%7B1%7D%5C%22%2C%20which%20does%20not%20have%20a%20valid%20ARIA%20role%20of%20'option'%2C%20'gridcell'%2C%20'row'%2C%20or%20'treeitem'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_active_role_invalid%22%7D">The 'aria-activedescendant' "{0}" references an element with the roles "{1}", which does not have a valid ARIA role of 'option', 'gridcell', 'row', or 'treeitem'</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_active_descendant.html#%7B%22message%22%3A%22The%20'aria-activedescendant'%20%5C%22%7B0%7D%5C%22%20references%20an%20element%20that%20does%20not%20have%20'aria-selected'%20set%20to%20true%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_active_not_selected%22%7D">The 'aria-activedescendant' "{0}" references an element that does not have 'aria-selected' set to true</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_haspopup_conflict</strong>: &lt;input&gt; element with a 'list' attribute should not use an explicit 'aria-haspopup' attribute + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_haspopup_conflict.html#%7B%22message%22%3A%22The%20%3Cinput%3E%20element%20with%20type%20%5C%22%7B0%7D%5C%22%20and%20'list'%20attribute%20uses%20an%20explicit%20'aria-haspopup'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_type_misuse%22%7D">The &lt;input&gt; element with type "{0}" and 'list' attribute uses an explicit 'aria-haspopup' attribute</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_haspopup_conflict.html#%7B%22message%22%3A%22The%20%3Cinput%3E%20element%20with%20a%20missing%20or%20invalid%20type%20and%20'list'%20attribute%20uses%20an%20explicit%20'aria-haspopup'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_misuse%22%7D">The &lt;input&gt; element with a missing or invalid type and 'list' attribute uses an explicit 'aria-haspopup' attribute</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_haspopup_conflict.html#%7B%22message%22%3A%22The%20list%20attribute%20for%20the%20%3Cinput%3E%20element%20is%20invalid%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_list_notexist%22%7D">The list attribute for the &lt;input&gt; element is invalid</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_haspopup_conflict.html#%7B%22message%22%3A%22The%20list%20attribute%20for%20the%20%3Cinput%3E%20element%20with%20the%20type%20%5C%22%7B0%7D%5C%22%20is%20invalid%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_invalid_list_type%22%7D">The list attribute for the &lt;input&gt; element with the type "{0}" is invalid</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_haspopup_conflict.html#%7B%22message%22%3A%22The%20list%20attribute%20for%20the%20%3Cinput%3E%20element%20does%20not%20reference%20a%20datalist%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_invalid_list_elem%22%7D">The list attribute for the &lt;input&gt; element does not reference a datalist element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_role_valid</strong>: ARIA roles must be valid for the element to which they are assigned + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_role_valid.html#%7B%22message%22%3A%22The%20ARIA%20role%20'%7B0%7D'%20is%20not%20valid%20for%20the%20element%20%3C%7B1%7D%3E%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The ARIA role '{0}' is not valid for the element &lt;{1}&gt;</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_role_valid.html#%7B%22message%22%3A%22The%20ARIA%20role%20'%7B0%7D'%20is%20not%20valid%20for%20the%20element%20%3C%7B1%7D%3E%20and%20may%20be%20ignored%20by%20the%20browser%20since%20the%20element%20is%20focusable%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">The ARIA role '{0}' is not valid for the element &lt;{1}&gt; and may be ignored by the browser since the element is focusable</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>combobox_autocomplete_valid</strong>: A combobox that supports autocompletion behavior must have the 'aria-autocomplete' attribute only on its text input element with a valid value; a value of '"inline"' is not supported + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_autocomplete_valid.html#%7B%22message%22%3A%22The%20combobox%20has%20the%20'aria-autocomplete'%20attribute%20incorrectly%20set%20on%20an%20element%20within%20the%20popup%20referenced%20by%20%5C%22%7B0%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The combobox has the 'aria-autocomplete' attribute incorrectly set on an element within the popup referenced by "{0}"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_autocomplete_valid.html#%7B%22message%22%3A%22The%20combobox%20does%20not%20support%20an%20'aria-autocomplete'%20attribute%20value%20set%20to%20'%5C%22inline%5C%22'%20%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_inline%22%7D">The combobox does not support an 'aria-autocomplete' attribute value set to '"inline"' </a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>combobox_focusable_elements</strong>: Tabbable focus for the combobox must be allowed only on the text input, except when using a dialog popup + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_focusable_elements.html#%7B%22message%22%3A%22The%20combobox%20element%20does%20not%20allow%20DOM%20focus%20as%20required%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_not_tabbable%22%7D">The combobox element does not allow DOM focus as required</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_focusable_elements.html#%7B%22message%22%3A%22The%20popup%20of%20the%20combobox%20has%20DOM%20focus%20or%20has%20'aria-activedescendant'%20defined%2C%20which%20is%20not%20allowed%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_tabbable_child%22%7D">The popup of the combobox has DOM focus or has 'aria-activedescendant' defined, which is not allowed</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>combobox_haspopup_valid</strong>: The combobox attribute 'aria-haspopup' value must be appropriate for the role of the element referenced by 'aria-controls' (ARIA 1.2) or 'aria-owns' (ARIA 1.0) + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_haspopup_valid.html#%7B%22message%22%3A%22The%20'role'%20value%20%5C%22%7B0%7D%5C%22%20of%20the%20popup%20element%20%5C%22%7B1%7D%5C%22%20should%20be%20one%20of%20%5C%22listbox%5C%22%2C%20%5C%22grid%5C%22%2C%20%5C%22tree%5C%22%20or%20%5C%22dialog%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_popup_role_invalid%22%7D">The 'role' value "{0}" of the popup element "{1}" should be one of "listbox", "grid", "tree" or "dialog"</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_haspopup_valid.html#%7B%22message%22%3A%22The%20value%20of%20the%20combobox%20'aria-haspopup'%20attribute%20%5C%22%7B0%7D%5C%22%20does%20not%20match%20the%20'role'%20value%20of%20the%20popup%20element%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_combobox_popup_role_mismatch%22%7D">The value of the combobox 'aria-haspopup' attribute "{0}" does not match the 'role' value of the popup element "{1}"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>input_label_exists</strong>: Each form control must have an associated label + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_exists.html#%7B%22message%22%3A%22Form%20control%20element%20%3C%7B0%7D%3E%20has%20no%20associated%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Form control element &lt;{0}&gt; has no associated label</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/input_label_exists.html#%7B%22message%22%3A%22Form%20control%20with%20%5C%22%7B0%7D%5C%22%20role%20has%20no%20associated%20label%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">Form control with "{0}" role has no associated label</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_descendant_valid</strong>: Browsers ignore the explicit and implicit ARIA roles of the descendants of certain elements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_descendant_valid.html#%7B%22message%22%3A%22The%20element%20with%20role%20%5C%22%7B0%7D%5C%22%20contains%20descendants%20with%20implicit%20roles%20%5C%22%7B1%7D%5C%22%20which%20are%20ignored%20by%20browsers%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22potential_child_implicit_role%22%7D">The element with role "{0}" contains descendants with implicit roles "{1}" which are ignored by browsers</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_descendant_valid.html#%7B%22message%22%3A%22The%20element%20with%20role%20%5C%22%7B0%7D%5C%22%20contains%20descendants%20with%20roles%20%5C%22%7B1%7D%5C%22%20which%20are%20ignored%20by%20browsers%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_child_explicit_role%22%7D">The element with role "{0}" contains descendants with roles "{1}" which are ignored by browsers</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_role_allowed</strong>: Elements must have a valid 'role' per ARIA specification + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_role_allowed.html#%7B%22message%22%3A%22The%20role%20'%7B0%7D'%20defined%20on%20the%20element%20is%20not%20valid%20per%20ARIA%20specification%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_2%22%7D">The role '{0}' defined on the element is not valid per ARIA specification</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.nrst0{fill:none;} +.nrst1{fill:#F1C21B;} +</style> +<rect class="nrst0" width="16" height="16"/> +<path class="nrst1" d="M14.9,13.3l-6.5-12C8.3,1,8,0.9,7.8,1.1c-0.1,0-0.2,0.1-0.2,0.2l-6.5,12c-0.1,0.1-0.1,0.3,0,0.5 +C1.2,13.9,1.3,14,1.5,14h13c0.2,0,0.3-0.1,0.4-0.2C15,13.6,15,13.4,14.9,13.3z M7.4,4h1.1v5H7.4V4z M8,11.8c-0.4,0-0.8-0.4-0.8-0.8 +s0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,11.8,8,11.8z"/> +<g><g><g> +<rect x="7.45" y="4" width="1.1" height="5"/> +</g></g><g><g> +<circle cx="8" cy="11" r="0.8"/> +</g></g></g> +</svg>&nbsp;Needs review</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_role_allowed.html#%7B%22message%22%3A%22Some%20of%20the%20roles%2C%20'%7B0%7D'%2C%20defined%20on%20the%20element%20are%20not%20valid%20per%20ARIA%20specification%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22POTENTIAL%22%5D%2C%22reasonId%22%3A%22Potential_1%22%7D">Some of the roles, '{0}', defined on the element are not valid per ARIA specification</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>a_text_purpose</strong>: Hyperlinks must have an accessible name for their purpose + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/a_text_purpose.html#%7B%22message%22%3A%22Hyperlink%20has%20no%20link%20text%2C%20label%20or%20image%20with%20a%20text%20alternative%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_acc_name%22%7D">Hyperlink has no link text, label or image with a text alternative</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_attribute_allowed</strong>: ARIA attributes must be valid for the element's role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_allowed.html#%7B%22message%22%3A%22The%20attribute(s)%20'%7B0%7D'%20referenced%20by%20the%20element%20%3C%7B1%7D%3E%20is%20not%20a%20valid%20ARIA%20state%20or%20property%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The attribute(s) '{0}' referenced by the element &lt;{1}&gt; is not a valid ARIA state or property</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_attribute_conflict</strong>: An ARIA attribute must not conflict with the corresponding HTML attribute + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_conflict.html#%7B%22message%22%3A%22The%20ARIA%20attribute%20%5C%22%7B0%7D%5C%22%20is%20in%20conflict%20with%20the%20corresponding%20HTML%20attribute%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_conflict%22%7D">The ARIA attribute "{0}" is in conflict with the corresponding HTML attribute "{1}"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_attribute_exists</strong>: When specifying a required ARIA attribute, the value must not be empty + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_exists.html#%7B%22message%22%3A%22The%20element%20attribute(s)%3A%20'%7B0%7D'%20value%20is%20empty%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_empty_attribute%22%7D">The element attribute(s): '{0}' value is empty</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_attribute_required</strong>: The required attributes for the element with a role must be defined + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_required.html#%7B%22message%22%3A%22Element%20with%20'%7B0%7D'%20role%20does%20not%20have%20the%20required%20ARIA%20attribute(s)%3A%20'%7B1%7D'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_missing%22%7D">Element with '{0}' role does not have the required ARIA attribute(s): '{1}'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_attribute_value_valid</strong>: ARIA property values must be valid + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_value_valid.html#%7B%22message%22%3A%22The%20value%20%5C%22%7B0%7D%5C%22%20specified%20for%20attribute%20'%7B1%7D'%20on%20element%20%3C%7B2%7D%3E%20is%20not%20valid%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The value "{0}" specified for attribute '{1}' on element &lt;{2}&gt; is not valid</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_eventhandler_role_valid</strong>: Elements with event handlers must have a valid ARIA role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_eventhandler_role_valid.html#%7B%22message%22%3A%22The%20%3C%7B0%7D%3E%20element%20with%20'%7B1%7D'%20does%20not%20have%20a%20valid%20ARIA%20role%20specified%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The &lt;{0}&gt; element with '{1}' does not have a valid ARIA role specified</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_hidden_nontabbable</strong>: A hidden element should not contain any tabbable elements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_hidden_nontabbable.html#%7B%22message%22%3A%22Element%20%5C%22%7B0%7D%5C%22%20should%20not%20be%20focusable%20within%20the%20subtree%20of%20an%20element%20with%20an%20'aria-hidden'%20attribute%20with%20value%20'true'%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Element "{0}" should not be focusable within the subtree of an element with an 'aria-hidden' attribute with value 'true'</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_id_unique</strong>: The ARIA property must reference a non-empty unique id of an existing element that is visible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_id_unique.html#%7B%22message%22%3A%22The%20'id'%20%5C%22%7B0%7D%5C%22%20specified%20for%20the%20ARIA%20property%20'%7B1%7D'%20value%20is%20not%20valid%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The 'id' "{0}" specified for the ARIA property '{1}' value is not valid</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_widget_labelled</strong>: Interactive component must have a programmatically associated name + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_widget_labelled.html#%7B%22message%22%3A%22Interactive%20component%20with%20ARIA%20role%20'%7B0%7D'%20does%20not%20have%20a%20programmatically%20associated%20name%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Interactive component with ARIA role '{0}' does not have a programmatically associated name</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>combobox_design_valid</strong>: The combobox design pattern must be valid for ARIA 1.2 + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/combobox_design_valid.html#%7B%22message%22%3A%22The%20combobox%20design%20pattern%20is%20detected%20as%20ARIA%201.1%2C%20which%20is%20not%20allowed%20by%20ARIA%201.2%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1.1%22%7D">The combobox design pattern is detected as ARIA 1.1, which is not allowed by ARIA 1.2</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>frame_title_exists</strong>: Inline frames must have a unique, non-empty 'title' attribute + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/frame_title_exists.html#%7B%22message%22%3A%22Inline%20frame%20does%20not%20have%20a%20'title'%20attribute%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">Inline frame does not have a 'title' attribute</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>label_content_exists</strong>: A &lt;label&gt; element must have non-empty descriptive text that identifies the purpose of the interactive component + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/label_content_exists.html#%7B%22message%22%3A%22The%20%3Clabel%3E%20element%20does%20not%20have%20descriptive%20text%20that%20identifies%20the%20expected%20input%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">The &lt;label&gt; element does not have descriptive text that identifies the expected input</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>list_children_valid</strong>: List component with "group" role must limit children to &lt;listitem&gt; elements + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/list_children_valid.html#%7B%22message%22%3A%22List%20component%20with%20%5C%22group%5C%22%20role%20has%20children%20that%20are%20not%20%3Clistitem%3E%20elements%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%7D">List component with "group" role has children that are not &lt;listitem&gt; elements</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>table_aria_descendants</strong>: Table structure elements cannot specify an explicit 'role' within table containers + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.vst0{fill:none;} +.vst1{fill:#A2191F;} +.vst2{fill:#FFFFFF;fill-opacity:0;} +</style> +<rect class="vst0" width="16" height="16"/> +<path class="vst1" d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +<path class="vst2" d="M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"/> +</svg>&nbsp;Violation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/table_aria_descendants.html#%7B%22message%22%3A%22An%20explicit%20ARIA%20'role'%20is%20not%20valid%20for%20%3C%7B0%7D%3E%20element%20within%20an%20ARIA%20role%20'%7B1%7D'%20per%20the%20ARIA%20in%20HTML%20specification%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22explicit_role%22%7D">An explicit ARIA 'role' is not valid for &lt;{0}&gt; element within an ARIA role '{1}' per the ARIA in HTML specification</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>element_tabbable_role_valid</strong>: A tabbable element must have a valid widget role + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_tabbable_role_valid.html#%7B%22message%22%3A%22The%20tabbable%20element's%20role%20'%7B0%7D'%20is%20not%20a%20widget%20role%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_invalid_role%22%7D">The tabbable element's role '{0}' is not a widget role</a></bx-list-item><bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/element_tabbable_role_valid.html#%7B%22message%22%3A%22The%20tabbable%20element%20does%20not%20have%20a%20valid%20widget%20role%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_no_valid_role%22%7D">The tabbable element does not have a valid widget role</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_accessiblename_exists</strong>: Elements with certain roles should have accessible names + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_accessiblename_exists.html#%7B%22message%22%3A%22Element%20%3C%7B0%7D%3E%20with%20%5C%22%7B1%7D%5C%22%20role%20has%20no%20accessible%20name%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_no_accessible_name%22%7D">Element &lt;{0}&gt; with "{1}" role has no accessible name</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>aria_attribute_redundant</strong>: An ARIA attribute should not be redundant with a corresponding HTML attribute + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/aria_attribute_redundant.html#%7B%22message%22%3A%22The%20ARIA%20attribute%20%5C%22%7B0%7D%5C%22%20is%20redundant%20with%20the%20HTML%20attribute%20%5C%22%7B1%7D%5C%22%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22fail_redundant%22%7D">The ARIA attribute "{0}" is redundant with the HTML attribute "{1}"</a></bx-list-item> + </bx-unordered-list> + </bx-list-item><bx-list-item><strong>canvas_content_described</strong>: The &lt;canvas&gt; element may not be accessible + <bx-unordered-list nested> + <bx-list-item><span class="issueLevel"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" +width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve" aria-hidden="true"> +<style type="text/css"> +.st0{fill:none;} +.st1{fill:#0043CE;} +.st2{fill:#FFFFFF;} +.st3{font-family:'IBMPlexSerif';} +.st4{font-size:12.9996px;} +</style> +<rect class="st0" width="16" height="16"/> +<path class="st1" d="M14,15H2c-0.6,0-1-0.4-1-1V2c0-0.6,0.4-1,1-1h12c0.6,0,1,0.4,1,1v12C15,14.6,14.6,15,14,15z"/> +<text transform="matrix(1 0 0 1 5.9528 12.5044)" class="st2 st3 st4">i</text> +</svg>&nbsp;Recommendation</span> &mdash; + <a target="_blank" rel="noopener noreferrer" href="./en-US/canvas_content_described.html#%7B%22message%22%3A%22Verify%20accessibility%20of%20the%20%3Ccanvas%3E%20element%22%2C%22msgArgs%22%3A%5B%22%7B0%7D%22%2C%22%7B1%7D%22%2C%22%7B3%7D%22%2C%22%7B4%7D%22%5D%2C%22value%22%3A%5B%22RECOMMENDATION%22%2C%22MANUAL%22%5D%2C%22reasonId%22%3A%22Manual_1%22%7D">Verify accessibility of the &lt;canvas&gt; element</a></bx-list-item> + </bx-unordered-list> + </bx-list-item></bx-unordered-list> +</div> + </div> + </main> + </body> +</html> \ No newline at end of file diff --git a/rule-server/src/static/archives/2024.12.12/js/ace-debug.js b/rule-server/src/static/archives/2024.12.12/js/ace-debug.js new file mode 100644 index 000000000..71308a09a --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/js/ace-debug.js @@ -0,0 +1,31611 @@ +/*! + * Copyright:: 2016,2017,2019,2020- IBM, Inc + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +var ace; +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./src/v2/aria/ARIADefinitions.ts": +/*!****************************************!*\ + !*** ./src/v2/aria/ARIADefinitions.ts ***! + \****************************************/ +/***/ ((__unused_webpack_module, exports) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ARIADefinitions = void 0; +var ARIADefinitions = /** @class */ (function () { + function ARIADefinitions() { + } + ARIADefinitions.nameFromContent = function (role) { + return (role in ARIADefinitions.designPatterns) + && ARIADefinitions.designPatterns[role].nameFrom + && ARIADefinitions.designPatterns[role].nameFrom.includes("contents"); + }; + /* + * array of WAI-ARIA global states and properties + * @see https://www.w3.org/TR/wai-aria-1.2/#global_states + */ + ARIADefinitions.globalProperties = ["aria-atomic", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-details", "aria-flowto", "aria-hidden", "aria-keyshortcuts", + "aria-label", "aria-labelledby", "aria-live", "aria-owns", "aria-relevant", "aria-roledescription" + // the following are deprecated in ARIA 1.2, will indicate deprecation in individual role + , + 'aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid' + ]; + //properties contains id(s) that refer to other element(s) + ARIADefinitions.referenceProperties = ["aria-owns", "aria-controls", "aria-describedby", "aria-labelledby", "aria-flowto", "aria-activedescendant"]; + // deprecated roles + ARIADefinitions.globalDeprecatedRoles = [ + 'directory', 'doc-biblioentry', 'doc-endnote' + ]; + // the following are deprecated in ARIA 1.1 for all the roles + ARIADefinitions.globalDeprecatedProperties = [ + 'aria-grabbed', 'aria-dropeffect' + ]; + /* + * XSD data types for all WAI-ARIA properties + * along with valid values when the data type is NMTOKEN + * WAI-ARIA properties data types explaned: + * type: Used to identify the type of values allowed for the WAI-ARIA property + * values: Used to identify specific values of an WAI-ARIA property when type is nmtoken + * hiddenIDRefSupported: Used to identify if the WAI-ARIA property supports referencing hidden ID + * true: refers to WAI-ARIA property supports hidden ID references + * false: refers to WAI-ARIA property does not support hidden ID references + * Default value will be set to false, if not specified. + */ + ARIADefinitions.propertyDataTypes = { + "aria-activedescendant": { + type: "http://www.w3.org/2001/XMLSchema#idref", + hiddenIDRefSupported: true + }, + "aria-atomic": { + type: "http://www.w3.org/2001/XMLSchema#boolean" + }, + "aria-autocomplete": { + type: "http://www.w3.org/2001/XMLSchema#nmtoken", + values: ["inline", "list", "both", "none", "undefined"] //add undefined to handle value empty + }, + "aria-busy": { + type: "http://www.w3.org/2001/XMLSchema#boolean" + }, + "aria-checked": { + type: "http://www.w3.org/2001/XMLSchema#nmtoken", + values: ["true", "false", "mixed", "undefined"] + }, + "aria-colcount": { + type: "http://www.w3.org/2001/XMLSchema#int" + }, + "aria-colindex": { + type: "http://www.w3.org/2001/XMLSchema#int" + }, + "aria-colspan": { + type: "http://www.w3.org/2001/XMLSchema#int" + }, + "aria-controls": { + type: "http://www.w3.org/2001/XMLSchema#idrefs", + hiddenIDRefSupported: true + }, + "aria-current": { + type: "http://www.w3.org/2001/XMLSchema#nmtoken", + values: ["page", "step", "location", "date", "time", "true", "false", "undefined"] //add undefined for empty value + }, + "aria-describedby": { + type: "http://www.w3.org/2001/XMLSchema#idrefs", + hiddenIDRefSupported: true + }, + "aria-details": { + type: "http://www.w3.org/2001/XMLSchema#idrefs" + }, + "aria-disabled": { + type: "http://www.w3.org/2001/XMLSchema#boolean" + }, + "aria-dropeffect": { + type: "http://www.w3.org/2001/XMLSchema#nmtokens", + values: ["copy", "move", "link", "execute", "popup", "none"] + }, + "aria-errormessage": { + type: "http://www.w3.org/2001/XMLSchema#idref", + hiddenIDRefSupported: true + }, + "aria-expanded": { + type: "http://www.w3.org/2001/XMLSchema#nmtoken", + values: ["true", "false", "undefined"] + }, + "aria-flowto": { + type: "http://www.w3.org/2001/XMLSchema#idrefs", + hiddenIDRefSupported: false + }, + "aria-grabbed": { + type: "http://www.w3.org/2001/XMLSchema#nmtoken", + values: ["true", "false", "undefined"] + }, + "aria-haspopup": { + type: "http://www.w3.org/2001/XMLSchema#nmtoken", + values: ["true", "false", "menu", "listbox", "tree", "grid", "dialog"] + }, + "aria-hidden": { + type: "http://www.w3.org/2001/XMLSchema#nmtoken", + values: ["true", "false", "undefined"] + }, + "aria-invalid": { + type: "http://www.w3.org/2001/XMLSchema#nmtoken", + values: ["true", "false", "spelling", "grammar", "undefined"] //add undefined for empty value + }, + "aria-keyshortcuts": { + type: "http://www.w3.org/2001/XMLSchema#string" + }, + "aria-label": { + type: "http://www.w3.org/2001/XMLSchema#string" + }, + "aria-labelledby": { + type: "http://www.w3.org/2001/XMLSchema#idrefs", + hiddenIDRefSupported: true + }, + "aria-level": { + type: "http://www.w3.org/2001/XMLSchema#int" + }, + "aria-live": { + type: "http://www.w3.org/2001/XMLSchema#nmtoken", + values: ["off", "polite", "assertive"] + }, + "aria-modal": { + type: "http://www.w3.org/2001/XMLSchema#boolean" + }, + "aria-multiline": { + type: "http://www.w3.org/2001/XMLSchema#boolean" + }, + "aria-multiselectable": { + type: "http://www.w3.org/2001/XMLSchema#boolean" + }, + "aria-orientation": { + type: "http://www.w3.org/2001/XMLSchema#nmtoken", + values: ["horizontal", "vertical", "undefined"] + }, + "aria-owns": { + type: "http://www.w3.org/2001/XMLSchema#idrefs", + hiddenIDRefSupported: true + }, + "aria-placeholder": { + type: "http://www.w3.org/2001/XMLSchema#string" + }, + "aria-posinset": { + type: "http://www.w3.org/2001/XMLSchema#int" + }, + "aria-pressed": { + type: "http://www.w3.org/2001/XMLSchema#nmtoken", + values: ["true", "false", "mixed", "undefined"] + }, + "aria-readonly": { + type: "http://www.w3.org/2001/XMLSchema#boolean" + }, + "aria-relevant": { + type: "http://www.w3.org/2001/XMLSchema#nmtokens", + values: ["additions", "removals", "text", "all"] + }, + "aria-required": { + type: "http://www.w3.org/2001/XMLSchema#boolean" + }, + "aria-roledescription": { + type: "http://www.w3.org/2001/XMLSchema#string" + }, + "aria-rowcount": { + type: "http://www.w3.org/2001/XMLSchema#int" + }, + "aria-rowindex": { + type: "http://www.w3.org/2001/XMLSchema#int" + }, + "aria-rowspan": { + type: "http://www.w3.org/2001/XMLSchema#int" + }, + "aria-selected": { + type: "http://www.w3.org/2001/XMLSchema#nmtoken", + values: ["true", "false", "undefined"] + }, + "aria-setsize": { + type: "http://www.w3.org/2001/XMLSchema#int" + }, + "aria-sort": { + type: "http://www.w3.org/2001/XMLSchema#nmtoken", + values: ["ascending", "descending", "other", "none"] + }, + "aria-valuemax": { + type: "http://www.w3.org/2001/XMLSchema#decimal" + }, + "aria-valuemin": { + type: "http://www.w3.org/2001/XMLSchema#decimal" + }, + "aria-valuenow": { + type: "http://www.w3.org/2001/XMLSchema#decimal" + }, + "aria-valuetext": { + type: "http://www.w3.org/2001/XMLSchema#string" + } + }; + /* + * design patterns for concrete WAI-ARIA roles + * legitimate keys for each role include: + * + * - container: appropriate container(s) for that role + * - props: states and properties that may be associated with this role (in addition to the global states and properties listed above) + * - reqProps: required states or properties for this role + * - reqChildren: required children for this role + * - htmlEquiv: HTML equivalent for this role + * - roleType: one of widget, structure, landmark, liveRegion, window (as seen in https://www.w3.org/TR/wai-aria-1.2/#roles_categorization) + * - nameRequired: determines whether an accessible name is required for a widget (see ARIA spec.) + * - nameFrom: determines how an accessible name is supplied (author or content - see ARIA spec.) + * - deprecated: if present, indicates that the role is deprecated, and provides a list of alternative role(s) + */ + ARIADefinitions.designPatterns = { + "alert": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "liveRegion", + nameRequired: false, + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "alertdialog": { + container: null, + props: ["aria-modal"], + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "window", + nameRequired: true, + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "application": { + container: null, + props: ["aria-activedescendant", "aria-expanded"], + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameRequired: true, + nameFrom: ["author"] + }, + "article": { + container: null, + props: ["aria-posinset", "aria-setsize"], + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "banner": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "blockquote": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "button": { + container: null, + props: ["aria-expanded", "aria-pressed"], + reqProps: null, + reqChildren: null, + htmlEquiv: "button | input[@type='button']", + roleType: "widget", + nameRequired: true, + nameFrom: ["author", "contents"], + presentationalChildren: true, + deprecatedProps: ['aria-errormessage', 'aria-invalid'] + }, + "caption": { + container: ["figure", "grid", "table", "treegrid"], + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "cell": { + container: ["row"], + props: ["aria-colindex", "aria-colspan", "aria-rowindex", "aria-rowspan"], + reqProps: null, + reqChildren: null, + htmlEquiv: "td", + roleType: "structure", + nameFrom: ["author", "contents"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "checkbox": { + container: null, + props: ["aria-expanded", "aria-readonly", "aria-required"], + reqProps: ["aria-checked"], + reqChildren: null, + htmlEquiv: "input[@type='checkbox']", + roleType: "widget", + nameRequired: true, + nameFrom: ["author", "contents"], + presentationalChildren: true, + deprecatedProps: ['aria-haspopup'] + }, + "code": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "columnheader": { + container: ["row"], + props: ["aria-colindex", "aria-colspan", "aria-expanded", "aria-readonly", "aria-required", "aria-rowindex", "aria-rowspan", "aria-selected", "aria-sort"], + reqProps: null, + reqChildren: null, + htmlEquiv: "th[@scope='col']", + roleType: "structure", + nameRequired: true, + nameFrom: ["author", "contents"] + }, + "combobox": { + container: null, + props: ["aria-controls", "aria-activedescendant", "aria-autocomplete", "aria-readonly", "aria-required"], + reqProps: ["aria-expanded"], + reqChildren: [], + htmlEquiv: null, + roleType: "widget", + nameRequired: true, + nameFrom: ["author"] + }, + "complementary": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "comment": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameRequired: false, + nameFrom: ["author", "contents"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "contentinfo": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "definition": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "deletion": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "dialog": { + container: null, + props: ["aria-modal"], + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "window", + nameRequired: true, + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "directory": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["author"], + deprecated: true, + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "doc-abstract": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-acknowledgments": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-afterword": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-appendix": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-backlink": { + container: null, + props: ["aria-disabled", "aria-expanded", "aria-haspopup"], + reqProps: null, + reqChildren: null, + htmlEquiv: "a | link", + roleType: "widget", + nameRequired: true, + nameFrom: ["author", "contents"] + }, + "doc-biblioentry": { + container: ["list"], + props: ["aria-level", "aria-posinset", "aria-setsize"], + reqProps: null, + reqChildren: null, + htmlEquiv: "li", + roleType: "structure", + nameRequired: true, + nameFrom: ["author"] + }, + "doc-bibliography": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-biblioref": { + container: null, + props: ["aria-disabled", "aria-expanded", "aria-haspopup"], + reqProps: null, + reqChildren: null, + htmlEquiv: "a | link", + roleType: "widget", + nameRequired: true, + nameFrom: ["author", "contents"] + }, + "doc-chapter": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-colophon": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: true, + nameFrom: ["author"] + }, + "doc-conclusion": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-cover": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: "img", + roleType: "structure", + nameRequired: false, + nameFrom: ["author"], + presentationalChildren: true + }, + "doc-credit": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-credits": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-dedication": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-endnote": { + container: ["list"], + props: ["aria-level", "aria-posinset", "aria-setsize"], + reqProps: null, + reqChildren: null, + htmlEquiv: "li", + roleType: "structure", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-endnotes": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: true, + nameFrom: ["author"] + }, + "doc-epigraph": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-epilogue": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-errata": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-example": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-footnote": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-foreword": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-glossary": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-glossref": { + container: null, + props: ["aria-disabled", "aria-expanded", "aria-haspopup"], + reqProps: null, + reqChildren: null, + htmlEquiv: "a | link", + roleType: "widget", + nameRequired: true, + nameFrom: ["author", "contents"] + }, + "doc-index": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-introduction": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-noteref": { + container: null, + props: ["aria-disabled", "aria-expanded", "aria-haspopup"], + reqProps: null, + reqChildren: null, + htmlEquiv: "a | link", + roleType: "widget", + nameRequired: true, + nameFrom: ["author", "contents"] + }, + "doc-notice": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-pagebreak": { + container: null, + props: ["aria-orientation"], + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameRequired: true, + nameFrom: ["author", "contents"], + presentationalChildren: true + }, + "doc-pagelist": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-pagefooter": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + }, + "doc-pageheader": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + }, + "doc-part": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-preface": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-prologue": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-pullquote": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-qna": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-subtitle": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameRequired: false, + nameFrom: ["author", "contents"] + }, + "doc-tip": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-toc": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "document": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameRequired: false, + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "emphasis": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "feed": { + container: null, + props: null, + reqProps: null, + reqChildren: ["article"], + htmlEquiv: null, + roleType: "structure", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "figure": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "form": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: "form", + roleType: "landmark", + nameRequired: true, + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "generic": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: "div | span", + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby", "aria-roledescription"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "graphics-document": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + nameRequired: true, + nameFrom: ["author"] + }, + "graphics-object": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + nameRequired: false, + nameFrom: ["author"] + }, + "graphics-symbol": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + nameRequired: true, + nameFrom: ["author"], + presentationalChildren: true + }, + "grid": { + container: null, + props: ["aria-activedescendant", "aria-colcount", "aria-multiselectable", "aria-readonly", "aria-rowcount"], + reqProps: null, + reqChildren: ["row", "rowgroup"], + htmlEquiv: "table", + roleType: "widget", + nameRequired: true, + nameFrom: ["author"], + deprecatedProps: ['aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "gridcell": { + container: ["row"], + props: ["aria-colindex", "aria-colspan", "aria-disabled", "aria-errormessage", "aria-expanded", "aria-haspopup", "aria-invalid", "aria-readonly", "aria-required", "aria-rowindex", "aria-rowspan", "aria-selected"], + reqProps: null, + reqChildren: null, + htmlEquiv: "td", + roleType: "widget", + nameFrom: ["author", "contents"] + }, + "group": { + container: null, + props: ["aria-activedescendant"], + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["author"], + deprecatedProps: ['aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "heading": { + container: null, + props: null, + reqProps: ["aria-level"], + reqChildren: null, + htmlEquiv: "h1 | h2 | h3 | h4 | h5 | h6", + roleType: "structure", + nameRequired: true, + nameFrom: ["author", "contents"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "img": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: "img", + roleType: "structure", + nameRequired: true, + nameFrom: ["author"], + presentationalChildren: true, + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "image": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: "img", + roleType: "structure", + nameRequired: true, + nameFrom: ["author"], + presentationalChildren: true, + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "insertion": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "link": { + container: null, + props: ["aria-expanded"], + reqProps: null, + reqChildren: null, + htmlEquiv: "a | link", + roleType: "widget", + nameRequired: true, + nameFrom: ["author", "contents"], + deprecatedProps: ['aria-errormessage', 'aria-invalid'] + }, + "list": { + container: null, + props: null, + reqProps: null, + reqChildren: ["listitem"], + htmlEquiv: "ol | ul", + roleType: "structure", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "listbox": { + container: null, + props: ["aria-activedescendant", "aria-expanded", "aria-multiselectable", "aria-orientation", "aria-readonly", "aria-required"], + reqProps: null, + reqChildren: ["group", "option"], + htmlEquiv: null, + roleType: "widget", + nameRequired: true, + nameFrom: ["author"], + deprecatedProps: ['aria-haspopup'] + }, + "listitem": { + container: ["list"], + props: ["aria-level", "aria-posinset", "aria-setsize"], + reqProps: null, + reqChildren: null, + htmlEquiv: "li", + roleType: "structure", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "log": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "liveRegion", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "main": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "mark": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: "mark", + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "marquee": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "liveRegion", + nameRequired: true, + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "math": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["author"], + presentationalChildren: false, + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "menu": { + container: null, + props: ["aria-activedescendant", "aria-orientation"], + reqProps: null, + reqChildren: ["group", "menuitem", "menuitemcheckbox", "menuitemradio"], + htmlEquiv: null, + roleType: "widget", + nameRequired: false, + nameFrom: ["author"], + deprecatedProps: ['aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "menubar": { + container: null, + props: ["aria-activedescendant", "aria-orientation"], + reqProps: null, + reqChildren: ["group", "menuitem", "menuitemcheckbox", "menuitemradio"], + htmlEquiv: null, + roleType: "widget", + nameRequired: false, + nameFrom: ["author"], + deprecatedProps: ['aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "menuitem": { + container: ["group", "menu", "menubar"], + props: ["aria-expanded", "aria-posinset", "aria-setsize"], + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "widget", + nameRequired: true, + nameFrom: ["author", "contents"], + deprecatedProps: ['aria-errormessage', 'aria-invalid'] + }, + "menuitemcheckbox": { + container: ["group", "menu", "menubar"], + props: ["aria-expanded", "aria-posinset", "aria-setsize"], + reqProps: ["aria-checked"], + reqChildren: null, + htmlEquiv: null, + roleType: "widget", + nameRequired: true, + nameFrom: ["author", "contents"], + presentationalChildren: true, + deprecatedProps: ['aria-errormessage', 'aria-invalid'] + }, + "menuitemradio": { + container: ["group", "menu", "menubar"], + props: ["aria-expanded", "aria-posinset", "aria-setsize"], + reqProps: ["aria-checked"], + reqChildren: null, + htmlEquiv: null, + roleType: "widget", + nameRequired: true, + nameFrom: ["author", "contents"], + presentationalChildren: true, + deprecatedProps: ['aria-errormessage', 'aria-invalid'] + }, + "meter": { + container: null, + props: ["aria-valuemax", "aria-valuemin", "aria-valuetext"], + reqProps: ["aria-valuenow"], + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameRequired: true, + nameFrom: ["author"], + presentationalChildren: true, + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "navigation": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "none": { + container: null, + props: [], + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "note": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "option": { + container: ["group", "listbox"], + props: ["aria-selected", "aria-checked", "aria-posinset", "aria-setsize"], + reqProps: null, + reqChildren: null, + htmlEquiv: "option", + roleType: "widget", + nameRequired: true, + nameFrom: ["author", "contents"], + presentationalChildren: true, + deprecatedProps: ['aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "paragraph": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "presentation": { + container: null, + props: [], + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "progressbar": { + container: null, + props: ["aria-valuemax", "aria-valuemin", "aria-valuenow", "aria-valuetext"], + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "widget", + nameRequired: true, + nameFrom: ["author"], + presentationalChildren: true, + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "radio": { + container: null, + props: ["aria-posinset", "aria-setsize"], + reqProps: ["aria-checked"], + reqChildren: null, + htmlEquiv: "input[@type='radio']", + roleType: "widget", + nameRequired: true, + nameFrom: ["author", "contents"], + presentationalChildren: true, + deprecatedProps: ['aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "radiogroup": { + container: null, + props: ["aria-activedescendant", "aria-orientation", "aria-readonly", "aria-required"], + reqProps: null, + reqChildren: ["radio"], + htmlEquiv: null, + roleType: "widget", + nameRequired: true, + nameFrom: ["author"], + deprecatedProps: ['aria-haspopup'] + }, + "region": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: true, + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "row": { + container: ["grid", "rowgroup", "table", "treegrid"], + props: ["aria-activedescendant", "aria-colindex", "aria-expanded", "aria-level", "aria-posinset", "aria-rowindex", "aria-selected", "aria-setsize"], + reqProps: null, + reqChildren: ["cell", "columnheader", "gridcell", "rowheader"], + htmlEquiv: "tr", + roleType: "structure", + nameFrom: ["author", "contents"], + deprecatedProps: ['aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "rowgroup": { + container: ["grid", "table", "treegrid"], + props: [], + reqProps: null, + reqChildren: ["row"], + htmlEquiv: "tbody | tfoot | thead", + roleType: "structure", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "rowheader": { + container: ["row"], + props: ["aria-colindex", "aria-colspan", "aria-expanded", "aria-readonly", "aria-required", "aria-rowindex", "aria-rowspan", "aria-selected", "aria-sort"], + reqProps: null, + reqChildren: null, + htmlEquiv: "th[@scope='row']", + roleType: "structure", + nameRequired: true, + nameFrom: ["author", "contents"] + }, + "scrollbar": { + container: null, + props: ["aria-orientation", "aria-valuemax", "aria-valuemin", "aria-valuetext"], + reqProps: ["aria-controls", "aria-valuenow"], + reqChildren: null, + htmlEquiv: null, + roleType: "widget", + nameRequired: false, + nameFrom: ["author"], + presentationalChildren: true, + deprecatedProps: ['aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "search": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "searchbox": { + container: null, + props: ["aria-activedescendant", "aria-autocomplete", "aria-multiline", "aria-placeholder", "aria-readonly", "aria-required"], + reqProps: null, + reqChildren: null, + htmlEquiv: "input[@type='search']", + roleType: "widget", + nameRequired: true, + nameFrom: ["author"] + }, + "separator": { + container: null, + props: ["aria-orientation"], + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["author"], + presentationalChildren: true, + deprecatedProps: ['aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "slider": { + container: null, + props: ["aria-orientation", "aria-readonly", "aria-valuemax", "aria-valuemin", "aria-valuetext"], + reqProps: ["aria-valuenow"], + reqChildren: null, + htmlEquiv: null, + roleType: "widget", + nameRequired: true, + nameFrom: ["author"], + presentationalChildren: true + }, + "spinbutton": { + container: null, + props: ["aria-activedescendant", "aria-readonly", "aria-required", "aria-valuemax", "aria-valuemin", "aria-valuenow", "aria-valuetext"], + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "widget", + nameRequired: true, + nameFrom: ["author"], + deprecatedProps: ['aria-haspopup'] + }, + "status": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "liveRegion", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "strong": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "subscript": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "suggestion": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "superscript": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "switch": { + container: null, + props: ["aria-expanded", "aria-readonly", "aria-required"], + reqProps: ["aria-checked"], + reqChildren: null, + htmlEquiv: null, + roleType: "widget", + nameRequired: true, + nameFrom: ["author", "contents"], + presentationalChildren: true, + deprecatedProps: ['aria-haspopup'] + }, + "tab": { + container: ["tablist"], + props: ["aria-expanded", "aria-posinset", "aria-selected", "aria-setsize"], + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "widget", + nameRequired: true, + nameFrom: ["author", "contents"], + presentationalChildren: true, + deprecatedProps: ['aria-errormessage', 'aria-invalid'] + }, + "table": { + container: null, + props: ["aria-colcount", "aria-rowcount"], + reqProps: null, + reqChildren: ["row", "rowgroup", "caption"], + htmlEquiv: "table", + roleType: "structure", + nameRequired: true, + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "tablist": { + container: null, + props: ["aria-activedescendant", "aria-multiselectable", "aria-orientation"], + reqProps: null, + reqChildren: ["tab"], + htmlEquiv: null, + roleType: "widget", + nameRequired: false, + nameFrom: ["author"], + deprecatedProps: ['aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "tabpanel": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "widget", + nameRequired: true, + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "term": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: "dfn", + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "textbox": { + container: null, + props: ["aria-activedescendant", "aria-autocomplete", "aria-multiline", "aria-placeholder", "aria-readonly", "aria-required"], + reqProps: null, + reqChildren: null, + htmlEquiv: "input[@type='text']", + roleType: "widget", + nameRequired: true, + nameFrom: ["author"] + }, + "time": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "timer": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "liveRegion", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "toolbar": { + container: null, + props: ["aria-activedescendant", "aria-orientation"], + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["author"], + deprecatedProps: ['aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "tooltip": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameRequired: false, + nameFrom: ["author", "contents"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "tree": { + container: null, + props: ["aria-activedescendant", "aria-multiselectable", "aria-orientation", "aria-required"], + reqProps: null, + reqChildren: ["group", "treeitem"], + htmlEquiv: null, + roleType: "widget", + nameRequired: true, + nameFrom: ["author"], + deprecatedProps: ['aria-haspopup'] + }, + "treegrid": { + container: null, + props: ["aria-activedescendant", "aria-colcount", "aria-multiselectable", "aria-orientation", "aria-readonly", "aria-required", "aria-rowcount"], + reqProps: null, + reqChildren: ["row", "rowgroup"], + htmlEquiv: null, + roleType: "widget", + nameRequired: true, + nameFrom: ["author"], + deprecatedProps: ['aria-haspopup'] + }, + "treeitem": { + container: ["group", "tree"], + props: ["aria-checked", "aria-expanded", "aria-level", "aria-posinset", "aria-selected", "aria-setsize"], + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "widget", + nameRequired: true, + nameFrom: ["author", "contents"], + deprecatedProps: ['aria-errormessage', 'aria-invalid'] + }, + }; // end designPatterns + // copied from https://html.spec.whatwg.org/multipage/semantics-other.html#disabled-elements + // https://html.spec.whatwg.org/multipage/input.html#input-type-attr-summary + ARIADefinitions.elementsAllowedDisabled = ["button", "input", "select", "textarea", "optgroup", "option", "fieldset"]; // also form-associated custom element + ARIADefinitions.elementsAllowedRequired = ["select", "textarea"]; // remove 'input' and add to the individual element, becuase required is not supported on input@type="range", "color", "hidden" or any button types + ARIADefinitions.elementsAllowedReadOnly = ["textarea"]; // remove 'input' and add to the individual element, because readonly is not supported on input@type="checkbox", "radio", "range", "color", "file", hidden" or any button types + /* https://www.w3.org/TR/html-aria/#docconformance + * documentConformanceRequirement contains properties of the tags related to role without any additional attribute value + * documentConformanceRequirementSpecialTags contains those tags that require special considerations + */ + ARIADefinitions.documentConformanceRequirement = { + "abbr": { + implicitRole: null, + validRoles: ["any"], + globalAriaAttributesValid: true, + prohibitedAriaAttributesWhenNoImplicitRole: ["aria-label", "aria-labelledby"] + }, + "address": { + implicitRole: ["group"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "article": { + implicitRole: ["article"], + validRoles: ["application", "document", "feed", "main", "none", "presentation", "region"], + globalAriaAttributesValid: true + }, + "aside": { + implicitRole: ["complementary"], + validRoles: ["doc-dedication", "doc-example", "doc-footnote", "doc-glossary", "doc-pullquote", "doc-tip", "feed", "none", "note", "presentation", "region", "search"], + globalAriaAttributesValid: true + }, + "audio": { + implicitRole: null, + validRoles: ["application"], + globalAriaAttributesValid: true + }, + "b": { + implicitRole: ["generic"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "base": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "bdi": { + implicitRole: ["generic"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "bdo": { + implicitRole: ["generic"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "blockquote": { + implicitRole: ["blockquote"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "body": { + implicitRole: ["generic"], + validRoles: null, + otherDisallowedAriaAttributes: ['aria-hidden'], + globalAriaAttributesValid: true + }, + "br": { + implicitRole: null, + validRoles: ["none", "presentation"], + globalAriaAttributesValid: false, + otherAllowedAriaAttributes: ["aria-hidden"] + }, + "button": { + implicitRole: ["button"], + validRoles: ["checkbox", "combobox", "gridcell", "link", "menuitem", "menuitemcheckbox", "menuitemradio", "option", "radio", "separator", "slider", "switch", "tab", "treeitem"], + globalAriaAttributesValid: true + }, + "canvas": { + implicitRole: null, + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "caption": { + implicitRole: ['caption'], + validRoles: null, + globalAriaAttributesValid: true, + allowAttributesFromImplicitRole: false + }, + "cite": { + implicitRole: null, + validRoles: ["any"], + globalAriaAttributesValid: true, + prohibitedAriaAttributesWhenNoImplicitRole: ["aria-label", "aria-labelledby"] + }, + "code": { + implicitRole: ["code"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "col": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "colgroup": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "data": { + implicitRole: ["generic"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "datalist": { + implicitRole: ["listbox"], + validRoles: null, + globalAriaAttributesValid: false, + allowAttributesFromImplicitRole: false + }, + "dd": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: true + }, + "del": { + implicitRole: ["deletion"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "details": { + implicitRole: ["group"], + validRoles: null, + globalAriaAttributesValid: true + }, + "dfn": { + implicitRole: ["term"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "dialog": { + implicitRole: ["dialog"], + validRoles: ["alertdialog"], + globalAriaAttributesValid: true + }, + "dl": { + implicitRole: null, + validRoles: ["group", "list", "none", "presentation"], + globalAriaAttributesValid: true + }, + "dt": { + implicitRole: ["term"], + validRoles: ["listitem"], + globalAriaAttributesValid: true + }, + "em": { + implicitRole: null, + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "embed": { + implicitRole: null, + validRoles: ["application", "document", "img", "none", "presentation"], + globalAriaAttributesValid: true + }, + "fieldset": { + implicitRole: ["group"], + validRoles: ["none", "presentation", "radiogroup"], + globalAriaAttributesValid: true + }, + "figcaption": { + implicitRole: null, + validRoles: ["group", "none", "presentation"], + globalAriaAttributesValid: true, + prohibitedAriaAttributesWhenNoImplicitRole: ["aria-label", "aria-labelledby"] + }, + "form": { + implicitRole: ["form"], + validRoles: ["none", "presentation", "search"], + globalAriaAttributesValid: true + }, + "head": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "hgroup": { + implicitRole: ["group"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "h1": { + implicitRole: ["heading"], + validRoles: ["doc-subtitle", "none", "presentation", "tab"], + globalAriaAttributesValid: true + }, + "h2": { + implicitRole: ["heading"], + validRoles: ["doc-subtitle", "none", "presentation", "tab"], + globalAriaAttributesValid: true + }, + "h3": { + implicitRole: ["heading"], + validRoles: ["doc-subtitle", "none", "presentation", "tab"], + globalAriaAttributesValid: true + }, + "h4": { + implicitRole: ["heading"], + validRoles: ["doc-subtitle", "none", "presentation", "tab"], + globalAriaAttributesValid: true + }, + "h5": { + implicitRole: ["heading"], + validRoles: ["doc-subtitle", "none", "presentation", "tab"], + globalAriaAttributesValid: true + }, + "h6": { + implicitRole: ["heading"], + validRoles: ["doc-subtitle", "none", "presentation", "tab"], + globalAriaAttributesValid: true + }, + "hr": { + implicitRole: ["separator"], + validRoles: ["doc-pagebreak", "none", "presentation"], + globalAriaAttributesValid: true + }, + "html": { + implicitRole: ["document"], + validRoles: null, + globalAriaAttributesValid: false, + allowAttributesFromImplicitRole: false + }, + "i": { + implicitRole: ["generic"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "iframe": { + implicitRole: null, + validRoles: ["application", "document", "img", "none", "presentation"], + globalAriaAttributesValid: true + }, + "ins": { + implicitRole: ["insertion"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "kbd": { + implicitRole: null, + validRoles: ["any"], + globalAriaAttributesValid: true, + prohibitedAriaAttributesWhenNoImplicitRole: ["aria-label", "aria-labelledby"] + }, + "label": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: true, + prohibitedAriaAttributesWhenNoImplicitRole: ["aria-label", "aria-labelledby"] + }, + "legend": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: true, + prohibitedAriaAttributesWhenNoImplicitRole: ["aria-label", "aria-labelledby"] + }, + "link": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "main": { + implicitRole: ["main"], + validRoles: null, + globalAriaAttributesValid: true + }, + "map": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "mark": { + implicitRole: null, + validRoles: ["any"], + globalAriaAttributesValid: true, + prohibitedAriaAttributesWhenNoImplicitRole: ["aria-label", "aria-labelledby"] + }, + "math": { + implicitRole: ["math"], + validRoles: null, + globalAriaAttributesValid: true + }, + "menu": { + implicitRole: ["list"], + validRoles: ["group", "listbox", "menu", "menubar", "none", "presentation", "radiogroup", "tablist", "toolbar", "tree"], + globalAriaAttributesValid: true + }, + "meta": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "meter": { + implicitRole: ["meter"], + validRoles: null, + globalAriaAttributesValid: true, + otherDisallowedAriaAttributes: ['aria-valuemax', 'aria-valuemin'], + allowAttributesFromImplicitRole: false + }, + "nav": { + implicitRole: ["navigation"], + validRoles: ["doc-index", "doc-pagelist", "doc-toc", "menu", "menubar", "tablist", "none", "presentation"], + globalAriaAttributesValid: true + }, + "noscript": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "object": { + implicitRole: null, + validRoles: ["application", "document", "img"], + globalAriaAttributesValid: true + }, + "ol": { + implicitRole: ["list"], + validRoles: ["group", "listbox", "menu", "menubar", "none", "presentation", "radiogroup", "tablist", "toolbar", "tree"], + globalAriaAttributesValid: true + }, + "optgroup": { + implicitRole: ["group"], + validRoles: null, + globalAriaAttributesValid: true + }, + "option": { + implicitRole: ["option"], + validRoles: null, + globalAriaAttributesValid: true, + otherDisallowedAriaAttributes: ["aria-selected"] + }, + "output": { + implicitRole: ["status"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "p": { + implicitRole: ["paragraph"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "param": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "picture": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false, + otherAllowedAriaAttributes: ["aria-hidden"] + }, + "pre": { + implicitRole: ["generic"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "progress": { + implicitRole: ["progressbar"], + validRoles: null, + globalAriaAttributesValid: true, + otherDisallowedAriaAttributes: ["aria-valuemax"] + }, + "q": { + implicitRole: ["generic"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "rp": { + implicitRole: null, + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "rt": { + implicitRole: null, + validRoles: ["any"], + globalAriaAttributesValid: true, + prohibitedAriaAttributesWhenNoImplicitRole: ["aria-label", "aria-labelledby"] + }, + "ruby": { + implicitRole: null, + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "s": { + implicitRole: ["deletion"], + validRoles: ["any"], + globalAriaAttributesValid: true, + otherDisallowedAriaAttributes: ["aria-label", "aria-labelledby"] + }, + "samp": { + implicitRole: ["generic"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "script": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "search": { + implicitRole: ['search'], + validRoles: ['search', 'form', 'group', 'none', 'presentation', 'region'], + globalAriaAttributesValid: true + }, + "slot": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "small": { + implicitRole: ["generic"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "source": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "span": { + implicitRole: ["generic"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "strong": { + implicitRole: ["strong"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "style": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "sub": { + implicitRole: ["subscript"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "sup": { + implicitRole: ["superscript"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "svg": { + implicitRole: ["graphics-document"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "table": { + implicitRole: ["table"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "template": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "textarea": { + implicitRole: ["textbox"], + validRoles: null, + globalAriaAttributesValid: true + }, + "tfoot": { + implicitRole: ["rowgroup"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "thead": { + implicitRole: ["rowgroup"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "time": { + implicitRole: ["time"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "title": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "track": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "u": { + implicitRole: ["generic"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "ul": { + implicitRole: ["list"], + validRoles: ["group", "listbox", "menu", "menubar", "none", "presentation", "radiogroup", "tablist", "toolbar", "tree"], + globalAriaAttributesValid: true + }, + "var": { + implicitRole: null, + validRoles: ["any"], + globalAriaAttributesValid: true, + prohibitedAriaAttributesWhenNoImplicitRole: ["aria-label", "aria-labelledby"] + }, + "video": { + implicitRole: null, + validRoles: ["application"], + globalAriaAttributesValid: true + }, + "wbr": { + implicitRole: null, + validRoles: ["none", "presentation"], + globalAriaAttributesValid: false, + otherAllowedAriaAttributes: ["aria-hidden"] + } + }; // end documentConformanceRequirement + ARIADefinitions.documentConformanceRequirementSpecialTags = { + "a": { + "with-href": { + implicitRole: ["link"], + //roleCondition: " when non-empty href attribute is present", + validRoles: ["button", "checkbox", "doc-backlink", "doc-biblioref", "doc-glossref", "doc-noteref", "menuitem", "menuitemcheckbox", "menuitemradio", "option", "radio", "switch", "tab", "treeitem"], + globalAriaAttributesValid: true, + otherDisallowedAriaAttributes: ["aria-disabled=true"] + }, + "without-href": { + implicitRole: ["generic"], + //roleCondition: " when href attribute is not present", + validRoles: ["any"], + globalAriaAttributesValid: true + } + }, + "area": { + "with-href": { + implicitRole: ["link"], + //roleCondition: " when non-empty href attribute is present", + validRoles: null, + globalAriaAttributesValid: true + }, + "without-href": { + implicitRole: ["generic"], + //roleCondition: " when href attribute is not present", + validRoles: ["button", "link"], + globalAriaAttributesValid: true + } + }, + // TODO + // "autonomous custom element": { + // implicitRole: ["Role exposed from author defined ElementInternals. Otherwise no corresponding role."], + // validRoles: ["If role defined by ElementInternals", "any role", "no role Otherwise"], + // globalAriaAttributesValid: true + // }, + "div": { + "child-dl": { + implicitRole: ["generic"], + validRoles: ["presentation", "none"], + globalAriaAttributesValid: true + }, + "no-child-dl": { + implicitRole: ["generic"], + validRoles: ["any"], + globalAriaAttributesValid: true + } + }, + "figure": { + "child-figcaption": { + implicitRole: ["figure"], + validRoles: ['doc-example'], + globalAriaAttributesValid: true + }, + "no-child-figcaption": { + implicitRole: ["figure"], + validRoles: ["any"], + globalAriaAttributesValid: true + } + }, + "footer": { + "des-section-article-aside-main-nav": { + implicitRole: ["generic"], + //roleCondition: " when descendant of an article, aside, main, nav or section element", + validRoles: ["doc-footnote", "group", "none", "presentation"], + globalAriaAttributesValid: true + }, + "other": { + implicitRole: ["contentinfo"], + //roleCondition: " when not a descendant of an article, aside, main, nav or section element", + validRoles: ["doc-footnote", "group", "none", "presentation"], + globalAriaAttributesValid: true + } + }, + // TODO + // "form-associated custom element": { + // implicitRole: ["Role exposed from author defined ElementInternals. Otherwise 'generic'."], + // validRoles: ["If role defined by ElementInternals", "form-related roles: button", "checkbox", "combobox", "group", "listbox", "progressbar", "radio", "radiogroup", "searchbox", "slider", "spinbutton", "switch", "textbox", "no role Otherwise"], + // globalAriaAttributesValid: true + // }, + "header": { + "des-section-article-aside-main-nav": { + implicitRole: ["generic"], + //roleCondition: " when descendant of an article, aside, main, nav or section element", + validRoles: ["group", "none", "presentation"], + globalAriaAttributesValid: true + }, + "other": { + implicitRole: ["banner"], + //roleCondition: " when not a descendant of an article, aside, main, nav or section element", + validRoles: ["group", "none", "presentation"], + globalAriaAttributesValid: true + } + }, + "img": { + "img-with-accname": { + implicitRole: ["img"], + //roleCondition: "when accessible name presents", + validRoles: ["button", "checkbox", "doc-cover", "link", "menuitem", "menuitemcheckbox", "menuitemradio", "meter", "option", "progressbar", "radio", "scrollbar", "separator", "slider", "switch", "tab", "treeitem"], + globalAriaAttributesValid: true + }, + "img-without-accname-empty-alt": { + implicitRole: ["presentation", "none"], + //roleCondition: "when no accessible name presents and alt=''", + validRoles: null, + globalAriaAttributesValid: false, + otherAllowedAriaAttributes: ["aria-hidden=true"] + }, + "img-without-accname-no-alt": { + implicitRole: ["img"], + //roleCondition: "when neither accessible name no alt presents", + validRoles: ["presentation", "none"], + globalAriaAttributesValid: false, + otherAllowedAriaAttributes: ["aria-hidden=true"] + } + }, + "input": { + "button": { + implicitRole: ["button"], + validRoles: ["checkbox", "combobox", "gridcell", "link", "menuitem", "menuitemcheckbox", "menuitemradio", "option", "radio", "slider", "switch", "tab", "treeitem"], + globalAriaAttributesValid: true + }, + "checkbox-with-aria-pressed": { + implicitRole: ["checkbox"], + //roleCondition: " with type=checkbox and aria-pressed attribute is present", + validRoles: ["menuitemcheckbox", "option", "switch", "button"], + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-required"], + otherDisallowedAriaAttributes: ["aria-checked"] + }, + "checkbox-without-aria-pressed": { + implicitRole: ["checkbox"], + //roleCondition: " with type=checkbox and aria-pressed attribute is not present", + validRoles: ["menuitemcheckbox", "option", "switch"], + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-required"], + otherDisallowedAriaAttributes: ["aria-checked"] + }, + "color": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: true + }, + "date": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-required", "aria-readonly"], + otherRolesForAttributes: ["textbox"] + }, + "datetime-local": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-required", "aria-readonly"], + otherRolesForAttributes: ["textbox"] + }, + "email-no-list": { + implicitRole: ["textbox"], + //roleCondition: " with type=email and no list attribute is present", + validRoles: null, + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-placeholder", "aria-required", "aria-readonly"], + otherRolesForAttributes: ["textbox"] + }, + "email-with-list": { + implicitRole: ["combobox"], + validRoles: null, + globalAriaAttributesValid: true + }, + "file": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-required"], + }, + "hidden": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "image": { + implicitRole: ["button"], + validRoles: ["checkbox", "gridcell", "link", "menuitem", "menuitemcheckbox", "menuitemradio", "option", "radio", "slider", "switch", "tab", "treeitem"], + globalAriaAttributesValid: true + }, + "month": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-readonly"], + otherRolesForAttributes: ["textbox"] + }, + "number": { + implicitRole: ["spinbutton"], + validRoles: null, + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-placeholder", "aria-required", "aria-readonly"], + }, + "password": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-placeholder", "aria-required", "aria-readonly"], + otherRolesForAttributes: ["textbox"] + }, + "radio": { + implicitRole: ["radio"], + validRoles: ["menuitemradio"], + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-required"], + otherDisallowedAriaAttributes: ["aria-checked"] + }, + "range": { + implicitRole: ["slider"], + validRoles: null, + globalAriaAttributesValid: true, + otherDisallowedAriaAttributes: ["aria-valuemax", "aria-valuemin"] + }, + "reset": { + implicitRole: ["button"], + validRoles: ["checkbox", "combobox", "gridcell", "link", "menuitem", "menuitemcheckbox", "menuitemradio", "option", "radio", "slider", "switch", "tab", "treeitem"], + globalAriaAttributesValid: true + }, + "search-no-list": { + implicitRole: ["searchbox"], + validRoles: null, + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-placeholder", "aria-required", "aria-readonly"] + }, + "search-with-list": { + implicitRole: ["combobox"], + validRoles: null, + globalAriaAttributesValid: true + }, + "submit": { + implicitRole: ["button"], + validRoles: ["checkbox", "combobox", "gridcell", "link", "menuitem", "menuitemcheckbox", "menuitemradio", "option", "radio", "slider", "switch", "tab", "treeitem"], + globalAriaAttributesValid: true + }, + "tel-no-list": { + implicitRole: ["textbox"], + validRoles: null, + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-placeholder", "aria-required", "aria-readonly"] + }, + "tel-with-list": { + implicitRole: ["combobox"], + validRoles: null, + globalAriaAttributesValid: true + }, + "text-no-list": { + implicitRole: ["textbox"], + validRoles: ["combobox", "searchbox", "spinbutton"], + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-placeholder", "aria-required", "aria-readonly"] + }, + "text-with-list": { + implicitRole: ["combobox"], + validRoles: null, + globalAriaAttributesValid: true + // otherDisallowedAriaAttributes: ["aria-haspopup"] // covered in a different rule + }, + "time": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-readonly"], + otherRolesForAttributes: ["textbox"] + }, + "url-no-list": { + implicitRole: ["textbox"], + validRoles: null, + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-placeholder", "aria-required", "aria-readonly"] + }, + "url-with-list": { + implicitRole: ["combobox"], + validRoles: null, + globalAriaAttributesValid: true + }, + "week": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-readonly"], + otherRolesForAttributes: ["textbox"] + }, + "default-with-list": { + // input with a missing or invalid type, with a list attribute + implicitRole: ["combobox"], + validRoles: null, + globalAriaAttributesValid: true + }, + "default-no-list": { + // input with a missing or invalid type, with a list attribute + implicitRole: ["textbox"], + validRoles: null, + globalAriaAttributesValid: true + } + }, + "li": { + "child-of-list-role": { + implicitRole: ['listitem'], + validRoles: null, + globalAriaAttributesValid: true + }, + "no-child-of-list-role": { + implicitRole: ['generic'], + validRoles: ["any"], + globalAriaAttributesValid: true + } + }, + "section": { + "with-name": { + implicitRole: ["region"], + validRoles: ["alert", "alertdialog", "application", "banner", "complementary", "contentinfo", "dialog", "doc-abstract", "doc-acknowledgments", "doc-afterword", "doc-appendix", "doc-bibliography", "doc-chapter", "doc-colophon", "doc-conclusion", "doc-credit", "doc-credits", "doc-dedication", "doc-endnotes", "doc-epigraph", "doc-epilogue", "doc-errata", "doc-example", "doc-foreword", "doc-glossary", "doc-index", "doc-introduction", "doc-notice", "doc-pagelist", "doc-part", "doc-preface", "doc-prologue", "doc-pullquote", "doc-qna", "doc-toc", "document", "feed", "group", "log", "main", "marquee", "navigation", "none", "note", "presentation", "search", "status", "tabpanel"], + globalAriaAttributesValid: true + }, + "without-name": { + implicitRole: null, + validRoles: ["alert", "alertdialog", "application", "banner", "complementary", "contentinfo", "dialog", "doc-abstract", "doc-acknowledgments", "doc-afterword", "doc-appendix", "doc-bibliography", "doc-chapter", "doc-colophon", "doc-conclusion", "doc-credit", "doc-credits", "doc-dedication", "doc-endnotes", "doc-epigraph", "doc-epilogue", "doc-errata", "doc-example", "doc-foreword", "doc-glossary", "doc-index", "doc-introduction", "doc-notice", "doc-pagelist", "doc-part", "doc-preface", "doc-prologue", "doc-pullquote", "doc-qna", "doc-toc", "document", "feed", "group", "log", "main", "marquee", "navigation", "none", "note", "presentation", "search", "status", "tabpanel"], + globalAriaAttributesValid: true + } + }, + "select": { + "no-multiple-attr-size-gt1": { + //roleCondition: " with a multiple attribute or a size attribute having value greater than 1" + implicitRole: ["combobox"], + validRoles: ["menu"], + globalAriaAttributesValid: true, + otherDisallowedAriaAttributes: ["aria-multiselectable"] + }, + "multiple-attr-size-gt1": { + //roleCondition: " with no multiple attribute and no size attribute having value greater than 1" + implicitRole: ["listbox"], + validRoles: null, + globalAriaAttributesValid: true, + otherDisallowedAriaAttributes: ["aria-multiselectable"] + } + }, + "summary": { + "first-summary-of-detail": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-disabled", "aria-haspopup"] + }, + "no-first-summary-of-detail": { + implicitRole: null, + validRoles: ["any"], + globalAriaAttributesValid: true + } + }, + "tbody": { + "des-table": { + implicitRole: ["rowgroup"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "des-grid": { + implicitRole: ["rowgroup"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "des-treegrid": { + implicitRole: ["rowgroup"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "des-other": { + implicitRole: null, + validRoles: ["any"], + globalAriaAttributesValid: true + } + }, + "td": { + "des-table": { + implicitRole: ["cell"], + validRoles: null, + globalAriaAttributesValid: true + }, + "des-grid": { + implicitRole: ["gridcell"], + validRoles: null, + globalAriaAttributesValid: true + }, + "des-treegrid": { + implicitRole: ["gridcell"], + validRoles: null, + globalAriaAttributesValid: true + }, + "des-other": { + implicitRole: null, + validRoles: ["any"], + globalAriaAttributesValid: true + } + }, + "th": { + "des-table-grid-treegrid-row-scope": { + implicitRole: ["rowheader", "cell"], + validRoles: null, + globalAriaAttributesValid: true + }, + "des-table-grid-treegrid-column-scope": { + implicitRole: ["columnheader", "cell"], + validRoles: null, + globalAriaAttributesValid: true + }, + "des-other": { + implicitRole: null, + validRoles: ["any"], + globalAriaAttributesValid: true + } + }, + "tr": { + "des-table": { + implicitRole: ["row"], + validRoles: null, + globalAriaAttributesValid: true + }, + "des-grid": { + implicitRole: ["row"], + validRoles: null, + globalAriaAttributesValid: true + }, + "des-treegrid": { + implicitRole: ["row"], + validRoles: null, + globalAriaAttributesValid: true + }, + "des-other": { + implicitRole: null, + validRoles: ["any"], + globalAriaAttributesValid: true + } + }, + "default": { + implicitRole: null, + //roleCondition: "", + validRoles: ["any"], + globalAriaAttributesValid: true + } + }; // end of documentConformanceRequirementSpecialTags + // map aria attribute to the corresponding native attribute, apply to any element applicable + // note this mapping is for the related attributes in the same element without checking the parent tree. + // refer to https://w3c.github.io/html-aria/ + ARIADefinitions.relatedAriaHtmlAttributes = { + "aria-checked": { + conflict: [{ + ariaAttributeValue: "false", + htmlAttributeNames: ["checked"], + htmlAttributeValues: null + }], + overlapping: [{ + ariaAttributeValue: "true", + htmlAttributeNames: ["checked"], + htmlAttributeValues: null + }] + }, + "aria-disabled": { + conflict: [{ + ariaAttributeValue: "false", + htmlAttributeNames: ["disabled"], + htmlAttributeValues: null + }], + overlapping: [{ + ariaAttributeValue: "true", + htmlAttributeNames: ["disabled"], + htmlAttributeValues: null + }] + }, + "aria-hidden": { + conflict: [{ + ariaAttributeValue: "false", + htmlAttributeNames: ["hidden"], + htmlAttributeValues: ["hidden,null"] + }, + { + ariaAttributeValue: "true", + htmlAttributeNames: ["hidden"], + htmlAttributeValues: ["until-found"] + }], + overlapping: [{ + ariaAttributeValue: "true", + htmlAttributeNames: ["hidden"], + htmlAttributeValues: ["hidden,null"] + }] + }, + "aria-placeholder": { + conflict: [{ + ariaAttributeValue: null, + htmlAttributeNames: ["placeholder"], + htmlAttributeValues: null + }] + }, + "aria-valuemax": { + conflict: [{ + ariaAttributeValue: null, + htmlAttributeNames: ["max"], + htmlAttributeValues: null + }] + //overlap case covered in the role definition: Authors SHOULD NOT use aria-valuemax on any element which allows the max attribute. Use the max attribute instead. + }, + "aria-valuemin": { + conflict: [{ + ariaAttributeValue: null, + htmlAttributeNames: ["min"], + htmlAttributeValues: null + }] + ////overlap case covered in the role definition:Authors SHOULD NOT use aria-valuemin on any element which allows the min attribute. Use the min attribute instead. + }, + "aria-readonly": { + conflict: [{ + ariaAttributeValue: "false", + htmlAttributeNames: ["readonly", "contenteditable", "iscontenteditable"], + htmlAttributeValues: [null, "false", "false"] + }], + overlapping: [{ + ariaAttributeValue: "true", + htmlAttributeNames: ["readonly", "contenteditable", "iscontenteditable"], + htmlAttributeValues: [null, "true", "true"] + }] + }, + "aria-required": { + conflict: [{ + ariaAttributeValue: "false", + htmlAttributeNames: ["required"], + htmlAttributeValues: null + }], + overlapping: [{ + ariaAttributeValue: "true", + htmlAttributeNames: ["required"], + htmlAttributeValues: null + }] + }, + "aria-colspan": { + conflict: [{ + // conflict occurs if both values are different + ariaAttributeValue: "VALUE", + htmlAttributeNames: ["colspan"], + htmlAttributeValues: ["VALUE"] + }], + overlapping: [{ + // overlap occurs if both exists + ariaAttributeValue: null, + htmlAttributeNames: ["colspan"], + htmlAttributeValues: null + }] + }, + "aria-rowspan": { + conflict: [{ + // conflict occurs if both values are different + ariaAttributeValue: "VALUE", + htmlAttributeNames: ["rowspan"], + htmlAttributeValues: ["VALUE"] + }], + overlapping: [{ + // overlap occurs if both exists + ariaAttributeValue: null, + htmlAttributeNames: ["rowspan"], + htmlAttributeValues: null + }] + }, + /** "aria-autocomplete": { + conflict: [{ + // conflict occurs if both exists, aria value is only for custom widget, rather than native + ariaAttributeValue: null, + htmlAttributeNames: ["autocomplete"], + htmlAttributeValues: null + }] + } */ + }; + ARIADefinitions.containers = []; + return ARIADefinitions; +}()); +exports.ARIADefinitions = ARIADefinitions; +; +var containerArray = []; +for (var roleDesign in ARIADefinitions.designPatterns) { + var containers = ARIADefinitions.designPatterns[roleDesign].container; + if (containers !== null) { + for (var _i = 0, containers_1 = containers; _i < containers_1.length; _i++) { + var container = containers_1[_i]; + if (containerArray.indexOf(container) == -1) { + containerArray.push(container); + } + } + } +} +ARIADefinitions.containers = containerArray; + + +/***/ }), + +/***/ "./src/v2/aria/ARIAMapper.ts": +/*!***********************************!*\ + !*** ./src/v2/aria/ARIAMapper.ts ***! + \***********************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ARIAMapper = void 0; +var ARIADefinitions_1 = __webpack_require__(/*! ./ARIADefinitions */ "./src/v2/aria/ARIADefinitions.ts"); +var CommonMapper_1 = __webpack_require__(/*! ../common/CommonMapper */ "./src/v2/common/CommonMapper.ts"); +var DOMUtil_1 = __webpack_require__(/*! ../dom/DOMUtil */ "./src/v2/dom/DOMUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../../v4/util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../../v4/util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var fragment_1 = __webpack_require__(/*! ../checker/accessibility/util/fragment */ "./src/v2/checker/accessibility/util/fragment.ts"); +var ARIAWalker_1 = __webpack_require__(/*! ./ARIAWalker */ "./src/v2/aria/ARIAWalker.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../../v4/util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +var DOMWalker_1 = __webpack_require__(/*! ../dom/DOMWalker */ "./src/v2/dom/DOMWalker.ts"); +var AccNameUtil_1 = __webpack_require__(/*! ../../v4/util/AccNameUtil */ "./src/v4/util/AccNameUtil.ts"); +var ARIAMapper = /** @class */ (function (_super) { + __extends(ARIAMapper, _super); + function ARIAMapper() { + return _super !== null && _super.apply(this, arguments) || this; + } + ARIAMapper.prototype.childrenCanHaveRole = function (node, role) { + // if (node.nodeType === 1 /* Node.ELEMENT_NODE */) { + // const elem = node as Element; + // if (elem.getAttribute("aria-hidden") === "true") { + // return false; + // } + // } + return !(role in ARIADefinitions_1.ARIADefinitions.designPatterns && ARIADefinitions_1.ARIADefinitions.designPatterns[role].presentationalChildren); + }; + ARIAMapper.prototype.getRole = function (node) { + var role = ARIAMapper.nodeToRole(node); + return role; + }; + ARIAMapper.prototype.getNamespace = function () { + return "aria"; + }; + ARIAMapper.prototype.getAttributes = function (node) { + var retVal = {}; + if (node.nodeType === 1 /* Node.ELEMENT_NODE */) { + var elem_1 = node; + for (var idx = 0; idx < elem_1.attributes.length; ++idx) { + var attrInfo = elem_1.attributes[idx]; + var name_1 = attrInfo.name.toLowerCase(); + if (name_1.startsWith("aria-")) { + retVal[name_1.substring(5)] = attrInfo.nodeValue; + } + } + var applyAttrRole = function (nodeName) { + if (!(nodeName in ARIAMapper.elemAttrValueCalculators)) + return; + for (var attr in ARIAMapper.elemAttrValueCalculators[nodeName]) { + if (!(attr in retVal)) { + var value = ARIAMapper.elemAttrValueCalculators[nodeName][attr]; + if (typeof value != "undefined" && value !== null) { + if (typeof value !== typeof "") { + value = value(elem_1); + } + retVal[attr] = value; + } + } + } + }; + applyAttrRole("global"); + applyAttrRole(node.nodeName.toLowerCase()); + } + else if (node.nodeType === 3 /* Node.TEXT_NODE */) { + for (var attr in ARIAMapper.textAttrValueCalculators) { + var val = ARIAMapper.textAttrValueCalculators[attr](node); + if (typeof val != "undefined" && val !== null) { + retVal[attr] = val; + } + } + } + return retVal; + }; + ARIAMapper.getAriaOwnedBy = function (elem) { + var doc = fragment_1.FragmentUtil.getOwnerFragment(elem); + if (!CacheUtil_1.CacheUtil.getCache(doc, "ARIAMapper::precalcOwned", false)) { + var owners = doc.querySelectorAll("[aria-owns]"); + for (var iOwner = 0; iOwner < owners.length; ++iOwner) { + var owner = owners[iOwner]; + var ownIds = owner.getAttribute("aria-owns").split(/ +/g); + for (var iId = 0; iId < ownIds.length; ++iId) { + var owned = doc.getElementById(ownIds[iId]); + //ignore if the aria-owns point to the element itself + if (owned && !DOMUtil_1.DOMUtil.sameNode(owner, owned)) { + CacheUtil_1.CacheUtil.setCache(owned, "aria-owned", owner); + } + } + } + CacheUtil_1.CacheUtil.setCache(doc, "ARIAMapper::precalcOwned", true); + } + return CacheUtil_1.CacheUtil.getCache(elem, "aria-owned", null); + }; + ARIAMapper.prototype.getNodeHierarchy = function (node) { + if (!node) + return []; + if (node.nodeType !== 1) { + var parentHierarchy = this.getNodeHierarchy(DOMWalker_1.DOMWalker.parentElement(node)); + var parentInfo = parentHierarchy.length > 0 ? parentHierarchy[parentHierarchy.length - 1] : { + role: "", + rolePath: "", + roleCount: {}, + childrenCanHaveRole: true + }; + var nodeHierarchy = []; + // Set hierarchy + for (var _i = 0, parentHierarchy_1 = parentHierarchy; _i < parentHierarchy_1.length; _i++) { + var item = parentHierarchy_1[_i]; + nodeHierarchy.push(item); + } + nodeHierarchy.push({ + attributes: {}, + bounds: this.getBounds(node), + namespace: this.getNamespace(), + node: node, + role: this.getRole(node) || "none", + rolePath: parentInfo.rolePath + "/" + (this.getRole(node) || "none"), + roleCount: {}, + childrenCanHaveRole: parentInfo.childrenCanHaveRole + }); + return nodeHierarchy; + } + else { + var elem = node; + var nodeHierarchy = CacheUtil_1.CacheUtil.getCache(elem, "ARIAMapper::getNodeHierarchy", null); + if (!nodeHierarchy) { + // This element hasn't been processed yet - but ::reset processes them all in the right order + // Get details about the correct parent first + var parent_1 = ARIAMapper.getAriaOwnedBy(elem); + if (!parent_1) { + parent_1 = DOMWalker_1.DOMWalker.parentElement(elem); + } + while (parent_1 && parent_1.nodeType !== 1) { + parent_1 = DOMWalker_1.DOMWalker.parentElement(elem); + } + var parentHierarchy = parent_1 ? this.getNodeHierarchy(parent_1) : []; + var parentInfo = parentHierarchy.length > 0 ? parentHierarchy[parentHierarchy.length - 1] : { + role: "", + rolePath: "", + roleCount: {}, + childrenCanHaveRole: true + }; + while (parentInfo.role === "none" || parentInfo.role === "/none") { + parent_1 = ARIAMapper.getAriaOwnedBy(parent_1) || DOMWalker_1.DOMWalker.parentElement(parent_1); + parentHierarchy = parent_1 ? this.getNodeHierarchy(parent_1) : []; + parentInfo = parentHierarchy[parentHierarchy.length - 1]; + } + // Set initial node info + var nodeInfo = { + attributes: elem.nodeType === 1 ? this.getAttributes(elem) : {}, + bounds: this.getBounds(elem), + namespace: this.getNamespace(), + node: elem, + role: this.getRole(elem) || "none", + rolePath: "", + roleCount: {}, + childrenCanHaveRole: true + }; + // Adjust role if we're within a presentational container + var presentationalContainer = !parentInfo.childrenCanHaveRole; + if (presentationalContainer) { + nodeInfo.role = "none"; + } + else { + nodeInfo.childrenCanHaveRole = parentInfo.childrenCanHaveRole + && this.childrenCanHaveRole(elem, nodeInfo.role); + } + // Set the paths + if (nodeInfo.role !== "none") { + parentInfo.roleCount[nodeInfo.role] = (parentInfo.roleCount[nodeInfo.role] || 0) + 1; + nodeInfo.rolePath = parentInfo.rolePath + "/" + nodeInfo.role + "[" + parentInfo.roleCount[nodeInfo.role] + "]"; + } + else { + nodeInfo.rolePath = parentInfo.rolePath; + } + // Set hierarchy + nodeHierarchy = []; + for (var _a = 0, parentHierarchy_2 = parentHierarchy; _a < parentHierarchy_2.length; _a++) { + var item = parentHierarchy_2[_a]; + nodeHierarchy.push(item); + } + nodeHierarchy.push(nodeInfo); + CacheUtil_1.CacheUtil.setCache(elem, "ARIAMapper::getNodeHierarchy", nodeHierarchy); + } + return nodeHierarchy; + } + }; + ARIAMapper.prototype.reset = function (node) { + ARIAMapper.nameComputationId = 0; + this.hierarchyRole = []; + this.hierarchyResults = []; + this.hierarchyPath = [{ + rolePath: "", + roleCount: {} + }]; + // Get to the topmost node + var goodNode = node; + var next; + while (next = DOMWalker_1.DOMWalker.parentNode(goodNode)) { + goodNode = next; + } + ; + // Walk the tree and set the hierarchies in the right order + var ariaWalker = new ARIAWalker_1.ARIAWalker(goodNode, false, goodNode); + do { + if (ariaWalker.node.nodeType === 1) { + this.getNodeHierarchy(ariaWalker.node); + } + } while (ariaWalker.nextNode()); + }; + ARIAMapper.prototype.openScope = function (node) { + if (this.hierarchyRole === null) { + this.reset(node); + } + this.pushHierarchy(node); + for (var idx = 0; idx < this.hierarchyResults.length; ++idx) { + if (this.hierarchyResults[idx].role[0] === "/") { + this.hierarchyResults[idx].role = this.hierarchyResults[idx].role.substring(1); + } + } + return this.hierarchyResults; + }; + ARIAMapper.prototype.pushHierarchy = function (node) { + // If we're not an element, no special handling + var nodeHierarchy = []; + // Determine our node info + nodeHierarchy = this.getNodeHierarchy(node); + var nodeInfo = nodeHierarchy[nodeHierarchy.length - 1]; + this.hierarchyRole.push(nodeInfo.role); + if (nodeInfo.role !== "none") { + this.hierarchyPath.push(nodeInfo); + } + this.hierarchyResults = nodeHierarchy; + }; + ARIAMapper.prototype.closeScope = function (node) { + var retVal = []; + for (var _i = 0, _a = this.hierarchyResults; _i < _a.length; _i++) { + var res = _a[_i]; + // const temp = res.node; + // res.node = null; + // let cloned = JSON.parse(JSON.stringify(res)); + // cloned.node = res.node = temp; + // retVal.push(cloned); + retVal.push(res); + } + if (retVal.length > 0) { + retVal[retVal.length - 1].role = "/" + retVal[retVal.length - 1].role; + var parent_2 = DOMWalker_1.DOMWalker.parentElement(node); + this.hierarchyResults = parent_2 ? CacheUtil_1.CacheUtil.getCache(parent_2, "ARIAMapper::getNodeInfo", []) : []; + } + return retVal; + }; + /**public static computeName(cur: Node) : string { + ++ARIAMapper.nameComputationId; + return ARIAMapper.computeNameHelp(ARIAMapper.nameComputationId, cur, false, false); + } + + public static computeNameHelp(walkId: number, cur: Node, labelledbyTraverse: boolean, walkTraverse: boolean) : string { + // 2g. None of the other content applies to text nodes, so just do this first + if (cur.nodeType === 3 ) return cur.nodeValue; + if (cur.nodeType === 11) return ""; + if (cur.nodeType !== 1 ) { + if (walkTraverse || labelledbyTraverse) return ""; + throw new Error ("Can only compute name on Element and Text " + cur.nodeType); + } + + const elem = cur as Element; + // We've been here before - prevent recursion + if (CacheUtil.getCache(elem, "data-namewalk", null) === ""+walkId) return ""; + CacheUtil.setCache(elem, "data-namewalk", ""+walkId); + // See https://www.w3.org/TR/html-aam-1.0/#input-type-text-input-type-password-input-type-search-input-type-tel-input-type-url-and-textarea-element + + // 2a. Only show hidden content if it's referenced by a labelledby + if (!labelledbyTraverse && !VisUtil.isNodeVisible(cur)) { + return ""; + } + + // 2b. collect valid id references + if (!labelledbyTraverse && elem.hasAttribute("aria-labelledby")) { + let labelledby = elem.getAttribute("aria-labelledby").split(" "); + let validElems = []; + for (const ref of labelledby) { + const refElem = FragmentUtil.getById(cur, ref); + if (refElem && !DOMUtil.sameNode(elem, refElem)) { + validElems.push(refElem); + } + } + if (validElems.length > 0) { + let accumulated = ""; + for (const elem of validElems) { + accumulated += " " + this.computeNameHelp(walkId, elem, true, false); + } + return accumulated.trim(); + } + } + + // Since nodeToRole calls back here for form and section, we need special casing here to handle those two cases + if (["section", "form"].includes(cur.nodeName.toLowerCase())) { + if (elem.hasAttribute("aria-label") && elem.getAttribute("aria-label").trim().length > 0) { + // If I'm not an embedded control or I'm not recursing, return the aria-label + if (!labelledbyTraverse && !walkTraverse) { + return elem.getAttribute("aria-label").trim(); + } + } + if (elem.hasAttribute("title")) { + return elem.getAttribute("title"); + } + return ""; + } + + // 2c. If label or walk, and this is a control, skip to the value, otherwise provide the label + const role = ARIAMapper.nodeToRole(cur); + let isEmbeddedControl = [ + "textbox", "button", "combobox", "listbox", + "progressbar", "scrollbar", "slider", "spinbutton" + ].includes(role); + if (elem.hasAttribute("aria-label") && elem.getAttribute("aria-label").trim().length > 0) { + // If I'm not an embedded control or I'm not recursing, return the aria-label + if (!labelledbyTraverse && !walkTraverse || !isEmbeddedControl) { + return elem.getAttribute("aria-label").trim(); + } + } + + // 2d. + if (role !== "presentation" && role !== "none") { + if ((cur.nodeName.toLowerCase() === "img" || cur.nodeName.toLowerCase() === "area") && elem.hasAttribute("alt")) { + return DOMUtil.cleanWhitespace(elem.getAttribute("alt")).trim(); + } + + if (cur.nodeName.toLowerCase() === "input" && elem.hasAttribute("id") && elem.getAttribute("id").length > 0) { + let label = elem.ownerDocument.querySelector("label[for='"+elem.getAttribute("id")+"']"); + if (label) { + if (label.hasAttribute("aria-label") || (label.hasAttribute("aria-labelledby") && !CommonUtil.isIdReferToSelf(cur, label.getAttribute("aria-labelledby")))) { + return this.computeNameHelp(walkId, label, false, false); + } else { + return label.textContent; + } + } + } + if (cur.nodeName.toLowerCase() === "fieldset") { + if( (<Element>cur).querySelector("legend")){ + let legend = (<Element>cur).querySelector("legend"); + return legend.innerText; + }else{ + return this.computeNameHelp(walkId, cur, false, false); + } + + } + + } + + // 2e. + if ((walkTraverse || labelledbyTraverse) && isEmbeddedControl) { + // If the embedded control has role textbox, return its value. + if (role === "textbox") { + if (elem.nodeName.toLowerCase() === "input") { + if (elem.hasAttribute("value")) return elem.getAttribute("value"); + } else { + walkTraverse = false; + } + } + + // If the embedded control has role button, return the text alternative of the button. + if (role === "button") { + if (elem.nodeName.toLowerCase() === "input") { + let type = elem.getAttribute("type").toLowerCase(); + if (["button", "submit", "reset"].includes(type)) { + if (elem.hasAttribute("value")) return elem.getAttribute("value"); + if (type === "submit") return "Submit"; + if (type === "reset") return "Reset"; + } + } else { + walkTraverse = false; + } + } + + // TODO: If the embedded control has role combobox or listbox, return the text alternative of the chosen option. + if (role === "combobox") { + if (elem.hasAttribute("aria-activedescendant")) { + let selected = FragmentUtil.getById(elem, "aria-activedescendant"); + if (selected && !DOMUtil.sameNode(elem, selected)) { + return ARIAMapper.computeNameHelp(walkId, selected, false, false); + } + } + } + + // If the embedded control has role range (e.g., a spinbutton or slider): + if (["progressbar", "scrollbar", "slider", "spinbutton"].includes(role)) { + // If the aria-valuetext property is present, return its value, + if (elem.hasAttribute("aria-valuetext")) return elem.getAttribute("aria-valuetext"); + // Otherwise, if the aria-valuenow property is present, return its value, + if (elem.hasAttribute("aria-valuenow")) return elem.getAttribute("aria-valuenow"); + // TODO: Otherwise, use the value as specified by a host language attribute. + } + } + + // 2f. 2h. + if (walkTraverse || ARIADefinitions.nameFromContent(role) || labelledbyTraverse) { + // 2fi. Set the accumulated text to the empty string. + let accumulated = ""; + // 2fii. Check for CSS generated textual content associated with the current node and + // include it in the accumulated text. The CSS :before and :after pseudo elements [CSS2] + // can provide textual content for elements that have a content model. + // For :before pseudo elements, User agents MUST prepend CSS textual content, without + // a space, to the textual content of the current node. + // For :after pseudo elements, User agents MUST append CSS textual content, without a + // space, to the textual content of the current node. + let before = null; + before = elem.ownerDocument.defaultView.getComputedStyle(elem,"before").content; + + if (before && before !== "none") { + before = before.replace(/^"/,"").replace(/"$/,""); + accumulated += before; + } + // 2fiii. For each child node of the current node: + // Set the current node to the child node. + // Compute the text alternative of the current node beginning with step 2. Set the result + // to that text alternative. + // Append the result to the accumulated text. + if (elem.nodeName.toUpperCase() === "SLOT") { + //if no assignedNode, check its own text + if (!(elem as HTMLSlotElement).assignedNodes() || (elem as HTMLSlotElement).assignedNodes().length === 0) { + let innerText = CommonUtil.getInnerText(elem); + if (innerText && innerText !== null && innerText.trim().length > 0) + accumulated += " " + innerText; + } else { + // check text from all assigned nodes + for (const slotChild of (elem as HTMLSlotElement).assignedNodes()) { + let nextChildContent = ARIAMapper.computeNameHelp(walkId, slotChild, labelledbyTraverse, true); + accumulated += " " + nextChildContent; + } + } + } else { + let walkChild = elem.firstChild; + while (walkChild) { + let nextChildContent = ARIAMapper.computeNameHelp(walkId, walkChild, labelledbyTraverse, true); + accumulated += " " + nextChildContent; + walkChild = walkChild.nextSibling; + } + } + + let after = null; + try { + after = elem.ownerDocument.defaultView.getComputedStyle(elem,"after").content; + } catch (e) {} + + if (after && after !== "none") { + after = after.replace(/^"/,"").replace(/"$/,""); + accumulated += after; + } + // 2fiv. Return the accumulated text. + accumulated = accumulated.replace(/\s+/g," ").trim(); + if (accumulated.trim().length > 0) { + return accumulated; + } + } + + // 2i. Otherwise, if the current node has a Tooltip attribute, return its value. + if (elem.hasAttribute("title")) { + return elem.getAttribute("title"); + } + if (elem.tagName.toLowerCase() === "svg") { + let title = elem.querySelector("title"); + if (title) { + return title.textContent || title.innerText; + } + } + + return ""; + } + */ + /* if (role in ARIADefinitions.designPatterns + && ARIADefinitions.designPatterns[role].nameFrom + && ARIADefinitions.designPatterns[role].nameFrom.includes("contents")) + { + name = elem.textContent; + } + if (elem.nodeName.toLowerCase() === "input" && elem.hasAttribute("id") && elem.getAttribute("id").trim().length > 0) { + name = elem.ownerDocument.querySelector("label[for='"+elem.getAttribute("id").trim()+"']").textContent; + } + if (elem.hasAttribute("aria-label")) { + name = elem.getAttribute("aria-label"); + } + if (elem.hasAttribute("aria-labelledby")) { + name = ""; + const ids = elem.getAttribute("aria-labelledby").split(" "); + for (const id of ids) { + name += FragmentUtil.getById(elem, id).textContent + " "; + } + name = name.trim(); + } + return name; + }*/ + ARIAMapper.nodeToRole = function (node) { + if (node.nodeType === 3 /* Node.TEXT_NODE */) { + return "text"; + } + else if (node.nodeType !== 1 /* Node.ELEMENT_NODE */) { + return null; + } + var elem = node; + if (!elem || elem.nodeType !== 1 /* Node.ELEMENT_NODE */) { + return null; + } + // TO DO: use AriaUtil.getResolvedRole(elem) to replace the code following, which uses only the valid roles for the element based on the aria fallback rule + //const role = AriaUtil.getResolvedRole(elem); + //return role === "presentation" || role === "none" ? null : role; + if (elem.hasAttribute("role") && elem.getAttribute("role").trim().length > 0) { + var roleStr = elem.getAttribute("role").trim(); + var roles_2 = roleStr.split(" "); + for (var _i = 0, roles_1 = roles_2; _i < roles_1.length; _i++) { + var role_1 = roles_1[_i]; + if (role_1 === "presentation" || role_1 === "none") { + // If element is focusable, then presentation roles are to be ignored + if (!CommonUtil_1.CommonUtil.isFocusable(elem)) { + return null; + } + } + else if (role_1 in ARIADefinitions_1.ARIADefinitions.designPatterns) { + return role_1; + } + } + } + //return this.elemToImplicitRole(elem); + var roles = AriaUtil_1.AriaUtil.getImplicitRole(elem); + //console.log("node=" + node.nodeName +", role= " + (roles ? roles[0] : null) +", resolved=" + AriaUtil.getResolvedRole(elem)); + var role = !roles || roles.length === 0 ? null : roles[0]; + return role === "presentation" || role === "none" ? null : role; + //return AriaUtil.getResolvedRole(elem); + }; + //////////////////////////////////////////////////////////////////////////// + // Helper functions + //// + // https://www.w3.org/TR/html-aam-1.0/#mapping-html-to-accessibility-apis + ARIAMapper.elemAttrValueCalculators = { + "global": { + "name": AccNameUtil_1.AccNameUtil.computeAccessibleName //ARIAMapper.computeName + }, + "datalist": { + // set to "true" if the datalist's selection model allows multiple option elements to be + // selected at a time, and "false" otherwise + "multiselectable": function (elem) { + var id = elem.getAttribute("id"); + if (id && id.length > 0) { + var input = elem.ownerDocument.querySelector("input[list='" + id + "']"); + return "" + (elem.getAttribute("multiple") + && (elem.getAttribute("multiple") == "true" || elem.getAttribute("multiple") == "")); + } + return null; + } + }, + "h1": { + "level": "1" + }, + "h2": { + "level": "2" + }, + "h3": { + "level": "3" + }, + "h4": { + "level": "4" + }, + "h5": { + "level": "5" + }, + "h6": { + "level": "6" + }, + "input": { + // - type="checkbox" state set to "mixed" if the element's indeterminate IDL attribute + // is true, or "true" if the element's checkedness is true, or "false" otherwise + // - type="radio" state set to "true" if the element's checkedness is true, or "false" + // otherwise. + "checked": function (elem) { + if (elem.getAttribute("type") === "checkbox" || elem.getAttribute("type") === "radio") { + return "" + elem.checked; + } + return null; + } + // - type="radio" and not in menu reflecting number of type=radio input elements + // within the radio button group + , + "setsize": function (elem) { return null; throw new Error("NOT IMPLEMENTED"); } + // - type="radio" and not in menu value reflecting the elements position + // within the radio button group." + , + "posinset": function (elem) { return null; throw new Error("NOT IMPLEMENTED"); } + // input (type attribute in the Text, Search, Telephone, URL, or E-mail states with a + // suggestions source element) combobox role, with the aria-owns property set to the same + // value as the list attribute + , + "owns": function (elem) { return null; throw new Error("NOT IMPLEMENTED"); } + }, + "keygen": { + "multiselectable": "false" + }, + "li": { + // Number of li elements within the ol, ul, menu + "setsize": function (elem) { + var parent = DOMUtil_1.DOMUtil.getAncestor(elem, ["ol", "ul", "menu"]); + if (!parent) + return null; + var lis = parent.querySelectorAll("li"); + var otherlis = parent.querySelectorAll("ol li, ul li, menu li"); + return "" + (lis.length - otherlis.length); + } + // Position of li element within the ol, ul, menu + , + "posinset": function (elem) { + var parent = DOMUtil_1.DOMUtil.getAncestor(elem, ["ol", "ul", "menu"]); + if (!parent) + return null; + var lis = parent.querySelectorAll("li"); + var num = 0; + for (var idx = 0; idx < lis.length; ++idx) { + var li = lis[idx]; + if (DOMUtil_1.DOMUtil.sameNode(parent, DOMUtil_1.DOMUtil.getAncestor(li, ["ol", "ul", "menu"]))) { + return "" + num; + } + ++num; + } + return null; + } + }, + "menuitem": { + // type = checkbox or radio, set to "true" if the checked attribute + // is present, and "false" otherwise + "checked": function (elem) { return "" + !!(elem.getAttribute("checked") + && (elem.getAttribute("checked") == "true" || elem.getAttribute("checked") == "")); } + }, + "option": { + // set to "true" if the element's selectedness is true, or "false" otherwise. + "selected": function (elem) { return "" + !!(elem.getAttribute("selected") + && (elem.getAttribute("selected") == "true" || elem.getAttribute("selected") == "")); } + }, + "progress": { + "valuemax": function (elem) { return elem.getAttribute("max") || "1"; }, + "valuemin": function (elem) { return "0"; }, + "valuenow": function (elem) { return elem.getAttribute("value"); } + } + }; + ARIAMapper.textAttrValueCalculators = { + "name": function (node) { return node.nodeValue; } + }; + ARIAMapper.nameComputationId = 0; + return ARIAMapper; +}(CommonMapper_1.CommonMapper)); +exports.ARIAMapper = ARIAMapper; + + +/***/ }), + +/***/ "./src/v2/aria/ARIAWalker.ts": +/*!***********************************!*\ + !*** ./src/v2/aria/ARIAWalker.ts ***! + \***********************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ARIAWalker = void 0; +var fragment_1 = __webpack_require__(/*! ../checker/accessibility/util/fragment */ "./src/v2/checker/accessibility/util/fragment.ts"); +var ARIAMapper_1 = __webpack_require__(/*! ./ARIAMapper */ "./src/v2/aria/ARIAMapper.ts"); +var VisUtil_1 = __webpack_require__(/*! ../../v4/util/VisUtil */ "./src/v4/util/VisUtil.ts"); +var DOMWalker_1 = __webpack_require__(/*! ../dom/DOMWalker */ "./src/v2/dom/DOMWalker.ts"); +/** + * Walks in an ARIA order + * + * See also ../dom/DOMWalker + */ +var ARIAWalker = /** @class */ (function () { + function ARIAWalker(element, bEnd, root) { + this.root = root || element; + if (this.root.nodeType === 9) { + this.root = this.root.documentElement; + } + this.node = element; + // if (this.node.nodeType === 9) { + // this.node = (this.node as Document).documentElement + // } + this.bEndTag = (bEnd == undefined ? false : bEnd == true); + } + ARIAWalker.prototype.atRoot = function () { + if (this.ownerElement) + return false; + if (this.root === this.node) { + return true; + } + else if (this.root.isSameNode) { + return this.root.isSameNode(this.node); + } + else if (this.root.compareDocumentPosition) { + return this.root.compareDocumentPosition(this.node) === 0; + } + else { + // Not supported in this environment - try our best + return this.node.parentNode === null; + } + }; + ARIAWalker.prototype.nextNode = function () { + var skipOwned = false; + do { + skipOwned = false; + // console.log(this.node.nodeName, this.bEndTag?"END":"START", this.node.nodeType === 1 && (this.node as any).getAttribute("id")); + if (!this.bEndTag) { + var iframeNode = this.node; + var elementNode = this.node; + var slotElement = this.node; + if (this.node.nodeType === 1 /* Node.ELEMENT_NODE */ + && this.node.nodeName.toUpperCase() === "IFRAME" + && VisUtil_1.VisUtil.isNodeVisible(iframeNode) + && iframeNode.contentDocument + && iframeNode.contentDocument.documentElement) { + var ownerElement = this.node; + this.node = iframeNode.contentDocument.documentElement; + this.node.ownerElement = ownerElement; + } + else if (this.node.nodeType === 1 /* Node.ELEMENT_NODE */ + && VisUtil_1.VisUtil.isNodeVisible(elementNode) + && elementNode.shadowRoot + && elementNode.shadowRoot.firstChild) { + var ownerElement = this.node; + this.node = elementNode.shadowRoot; + this.node.ownerElement = ownerElement; + DOMWalker_1.DOMWalker.assignSlots(this.node); + } + else if (this.node.nodeType === 1 + && elementNode.nodeName.toLowerCase() === "slot" + && slotElement.assignedNodes().length > 0) { + this.node = slotElement.assignedNodes()[0]; + } + else if ((this.node.nodeType === 1 /* Node.ELEMENT_NODE */ || this.node.nodeType === 11 /* Node.DOCUMENT_FRAGMENT_NODE */) + && DOMWalker_1.DOMWalker.firstChildNotOwnedBySlot(this.node)) { + this.node = DOMWalker_1.DOMWalker.firstChildNotOwnedBySlot(this.node); + } + else { + this.bEndTag = true; + } + } + else { + if (this.atRoot()) { + return false; + } + else if (this.node.slotOwner) { + var slotOwner = this.node.slotOwner; + var nextSlotIndex = this.node.slotIndex + 1; + // delete (this.node as any).slotOwner; + // delete (this.node as any).slotIndex; + if (nextSlotIndex < slotOwner.assignedNodes().length) { + this.node = slotOwner.assignedNodes()[nextSlotIndex]; + this.bEndTag = false; + } + else { + this.node = slotOwner; + this.bEndTag = true; + } + } + else if (this.node.ownerElement) { + this.node = this.node.ownerElement; + this.bEndTag = true; + } + else if (DOMWalker_1.DOMWalker.nextSiblingNotOwnedBySlot(this.node)) { + this.node = DOMWalker_1.DOMWalker.nextSiblingNotOwnedBySlot(this.node); + this.bEndTag = false; + skipOwned = true; + } + else if (this.node.parentNode) { + if (this.node.parentNode.nodeType === 1 && this.node.parentNode.hasAttribute("aria-owns")) { + var ownIds = this.node.parentNode.getAttribute("aria-owns").split(/ +/g); + if (this.node.nodeType !== 1 || !this.node.hasAttribute("id")) { + this.node = fragment_1.FragmentUtil.getOwnerFragment(this.node).getElementById(ownIds[0]); + this.bEndTag = false; + } + else { + var idx = ownIds.indexOf(this.node.getAttribute("id")); + if (idx === ownIds.length - 1) { + // last one + this.node = this.node.parentNode; + this.bEndTag = true; + } + else { + // grab next + this.node = fragment_1.FragmentUtil.getOwnerFragment(this.node).getElementById(ownIds[idx + 1]); + this.bEndTag = false; + } + } + } + this.node = this.node.parentNode; + this.bEndTag = true; + } + else { + return false; + } + } + } while ((this.node.nodeType !== 1 /* Node.ELEMENT_NODE */ && this.node.nodeType !== 11 && this.node.nodeType !== 3 /* Node.TEXT_NODE */) + || (this.node.nodeType === 1 && this.node.getAttribute("aChecker") === "ACE") + || (skipOwned && this.node.nodeType === 1 && !!ARIAMapper_1.ARIAMapper.getAriaOwnedBy(this.node))); + return true; + }; + ARIAWalker.prototype.prevNode = function () { + var skipOwned = false; + do { + skipOwned = false; + if (this.bEndTag) { + var iframeNode = this.node; + var elementNode = this.node; + if (this.node.nodeType === 1 /* Node.ELEMENT_NODE */ + && this.node.nodeName.toUpperCase() === "IFRAME" + && VisUtil_1.VisUtil.isNodeVisible(iframeNode) + && iframeNode.contentDocument + && iframeNode.contentDocument.documentElement) { + var ownerElement = this.node; + this.node = iframeNode.contentDocument.documentElement; + this.node.ownerElement = ownerElement; + } + else if (this.node.nodeType === 1 /* Node.ELEMENT_NODE */ + && VisUtil_1.VisUtil.isNodeVisible(elementNode) + && elementNode.shadowRoot + && elementNode.shadowRoot.lastChild) { + var ownerElement = this.node; + this.node = elementNode.shadowRoot; + this.node.ownerElement = ownerElement; + DOMWalker_1.DOMWalker.assignSlots(this.node); + } + else if ((this.node.nodeType === 1 /* Node.ELEMENT_NODE */ || this.node.nodeType === 11) + && DOMWalker_1.DOMWalker.lastChildNotOwnedBySlot(this.node)) { + this.node = DOMWalker_1.DOMWalker.lastChildNotOwnedBySlot(this.node); + } + else { + this.bEndTag = false; + } + } + else { + if (this.atRoot()) { + return false; + } + else if (DOMWalker_1.DOMWalker.previousSiblingNotOwnedBySlot(this.node)) { + this.node = DOMWalker_1.DOMWalker.previousSiblingNotOwnedBySlot(this.node); + this.bEndTag = true; + } + else if (this.node.ownerElement) { + this.node = this.node.ownerElement; + this.bEndTag = false; + skipOwned = true; + } + else if (this.node.parentNode) { + if (this.node.parentNode.nodeType === 1 && this.node.parentNode.hasAttribute("aria-owns")) { + var ownIds = this.node.parentNode.getAttribute("aria-owns").split(/ +/g); + if (this.node.nodeType !== 1 || !this.node.hasAttribute("id")) { + this.node = fragment_1.FragmentUtil.getOwnerFragment(this.node).getElementById(ownIds[0]); + this.bEndTag = false; + } + else { + var idx = ownIds.indexOf(this.node.getAttribute("id")); + if (idx === ownIds.length - 1) { + // last one + this.node = this.node.parentNode; + this.bEndTag = true; + } + else { + // grab next + this.node = fragment_1.FragmentUtil.getOwnerFragment(this.node).getElementById(ownIds[idx + 1]); + this.bEndTag = false; + } + } + } + this.node = this.node.parentNode; + this.bEndTag = false; + } + else { + return false; + } + } + } while ((this.node.nodeType !== 1 /* Node.ELEMENT_NODE */ && this.node.nodeType !== 11) + || (this.node.nodeType === 1 && this.node.getAttribute("aChecker") === "ACE") + || (skipOwned && this.node.nodeType === 1 && !!ARIAMapper_1.ARIAMapper.getAriaOwnedBy(this.node))); + return true; + }; + return ARIAWalker; +}()); +exports.ARIAWalker = ARIAWalker; + + +/***/ }), + +/***/ "./src/v2/checker/accessibility/util/ancestor.ts": +/*!*******************************************************!*\ + !*** ./src/v2/checker/accessibility/util/ancestor.ts ***! + \*******************************************************/ +/***/ ((__unused_webpack_module, exports) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AncestorUtil = void 0; +var AncestorUtil = /** @class */ (function () { + function AncestorUtil() { + } + AncestorUtil.isPresentationFrame = function (contextHierarchy) { + if (contextHierarchy && contextHierarchy.dom) { + // Skip current node because we want ancestry + for (var idx = contextHierarchy.dom.length - 2; idx >= 0; --idx) { + var elem = contextHierarchy.dom[idx].node; + if (elem.nodeType === 1 + && elem.nodeName.toLowerCase() === "iframe" + && (elem.getAttribute("role") === "presentation" || elem.getAttribute("aria-hidden") === "true")) { + return true; + } + } + } + return false; + }; + AncestorUtil.isFrame = function (contextHierarchy) { + if (contextHierarchy && contextHierarchy.dom) { + // Skip current node because we want ancestry + for (var idx = contextHierarchy.dom.length - 2; idx >= 0; --idx) { + var elem = contextHierarchy.dom[idx].node; + if (elem.nodeType === 1 && elem.nodeName.toLowerCase() === "iframe") { + return true; + } + } + } + return false; + }; + return AncestorUtil; +}()); +exports.AncestorUtil = AncestorUtil; + + +/***/ }), + +/***/ "./src/v2/checker/accessibility/util/fragment.ts": +/*!*******************************************************!*\ + !*** ./src/v2/checker/accessibility/util/fragment.ts ***! + \*******************************************************/ +/***/ ((__unused_webpack_module, exports) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.FragmentUtil = void 0; +var FragmentUtil = /** @class */ (function () { + function FragmentUtil() { + } + FragmentUtil.getOwnerFragment = function (node) { + var n = node; + while (n.parentNode && (n = n.parentNode)) { + if (n.nodeType === 11) { + return n; + } + } + return node.ownerDocument; + }; + FragmentUtil.getById = function (node, id) { + return this.getOwnerFragment(node).getElementById(id); + }; + FragmentUtil.getAncestor = function (hierarchies, elemName) { + var matches = hierarchies["dom"].filter(function (info) { return info.role === elemName; }); + return matches.length > 0 && matches[0].node || null; + }; + FragmentUtil.getAncestorWithRole = function (hierarchies, role) { + var matches = hierarchies["aria"].filter(function (info) { return info.role === role; }); + return matches.length > 0 && matches[0].node || null; + }; + return FragmentUtil; +}()); +exports.FragmentUtil = FragmentUtil; + + +/***/ }), + +/***/ "./src/v2/checker/accessibility/util/lang.ts": +/*!***************************************************!*\ + !*** ./src/v2/checker/accessibility/util/lang.ts ***! + \***************************************************/ +/***/ ((__unused_webpack_module, exports) => { + + +/****************************************************************************** + Copyright:: 2021- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LangUtil = void 0; +// From https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry +var validPrimaryLangs = [ + ["aa", "ab", "ae", "af", "ak", "am", "an", "ar", "as", "av", "ay", "az", "aaa", "aab", "aac", "aad", "aae", "aaf", "aag", "aah", "aai", "aak", "aal", "aam", "aan", "aao", "aap", "aaq", "aas", "aat", "aau", "aav", "aaw", "aax", "aaz", "aba", "abb", "abc", "abd", "abe", "abf", "abg", "abh", "abi", "abj", "abl", "abm", "abn", "abo", "abp", "abq", "abr", "abs", "abt", "abu", "abv", "abw", "abx", "aby", "abz", "aca", "acb", "acd", "ace", "acf", "ach", "aci", "ack", "acl", "acm", "acn", "acp", "acq", "acr", "acs", "act", "acu", "acv", "acw", "acx", "acy", "acz", "ada", "adb", "add", "ade", "adf", "adg", "adh", "adi", "adj", "adl", "adn", "ado", "adp", "adq", "adr", "ads", "adt", "adu", "adw", "adx", "ady", "adz", "aea", "aeb", "aec", "aed", "aee", "aek", "ael", "aem", "aen", "aeq", "aer", "aes", "aeu", "aew", "aey", "aez", "afa", "afb", "afd", "afe", "afg", "afh", "afi", "afk", "afn", "afo", "afp", "afs", "aft", "afu", "afz", "aga", "agb", "agc", "agd", "age", "agf", "agg", "agh", "agi", "agj", "agk", "agl", "agm", "agn", "ago", "agp", "agq", "agr", "ags", "agt", "agu", "agv", "agw", "agx", "agy", "agz", "aha", "ahb", "ahg", "ahh", "ahi", "ahk", "ahl", "ahm", "ahn", "aho", "ahp", "ahr", "ahs", "aht", "aia", "aib", "aic", "aid", "aie", "aif", "aig", "aih", "aii", "aij", "aik", "ail", "aim", "ain", "aio", "aip", "aiq", "air", "ais", "ait", "aiw", "aix", "aiy", "aja", "ajg", "aji", "ajn", "ajp", "ajt", "aju", "ajw", "ajz", "akb", "akc", "akd", "ake", "akf", "akg", "akh", "aki", "akj", "akk", "akl", "akm", "ako", "akp", "akq", "akr", "aks", "akt", "aku", "akv", "akw", "akx", "aky", "akz", "ala", "alc", "ald", "ale", "alf", "alg", "alh", "ali", "alj", "alk", "all", "alm", "aln", "alo", "alp", "alq", "alr", "als", "alt", "alu", "alv", "alw", "alx", "aly", "alz", "ama", "amb", "amc", "ame", "amf", "amg", "ami", "amj", "amk", "aml", "amm", "amn", "amo", "amp", "amq", "amr", "ams", "amt", "amu", "amv", "amw", "amx", "amy", "amz", "ana", "anb", "anc", "and", "ane", "anf", "ang", "anh", "ani", "anj", "ank", "anl", "anm", "ann", "ano", "anp", "anq", "anr", "ans", "ant", "anu", "anv", "anw", "anx", "any", "anz", "aoa", "aob", "aoc", "aod", "aoe", "aof", "aog", "aoh", "aoi", "aoj", "aok", "aol", "aom", "aon", "aor", "aos", "aot", "aou", "aox", "aoz", "apa", "apb", "apc", "apd", "ape", "apf", "apg", "aph", "api", "apj", "apk", "apl", "apm", "apn", "apo", "app", "apq", "apr", "aps", "apt", "apu", "apv", "apw", "apx", "apy", "apz", "aqa", "aqc", "aqd", "aqg", "aqk", "aql", "aqm", "aqn", "aqp", "aqr", "aqt", "aqz", "arb", "arc", "ard", "are", "arh", "ari", "arj", "ark", "arl", "arn", "aro", "arp", "arq", "arr", "ars", "art", "aru", "arv", "arw", "arx", "ary", "arz", "asa", "asb", "asc", "asd", "ase", "asf", "asg", "ash", "asi", "asj", "ask", "asl", "asn", "aso", "asp", "asq", "asr", "ass", "ast", "asu", "asv", "asw", "asx", "asy", "asz", "ata", "atb", "atc", "atd", "ate", "atg", "ath", "ati", "atj", "atk", "atl", "atm", "atn", "ato", "atp", "atq", "atr", "ats", "att", "atu", "atv", "atw", "atx", "aty", "atz", "aua", "aub", "auc", "aud", "aue", "auf", "aug", "auh", "aui", "auj", "auk", "aul", "aum", "aun", "auo", "aup", "auq", "aur", "aus", "aut", "auu", "auw", "aux", "auy", "auz", "avb", "avd", "avi", "avk", "avl", "avm", "avn", "avo", "avs", "avt", "avu", "avv", "awa", "awb", "awc", "awd", "awe", "awg", "awh", "awi", "awk", "awm", "awn", "awo", "awr", "aws", "awt", "awu", "awv", "aww", "awx", "awy", "axb", "axe", "axg", "axk", "axl", "axm", "axx", "aya", "ayb", "ayc", "ayd", "aye", "ayg", "ayh", "ayi", "ayk", "ayl", "ayn", "ayo", "ayp", "ayq", "ayr", "ays", "ayt", "ayu", "ayx", "ayy", "ayz", "aza", "azb", "azc", "azd", "azg", "azj", "azm", "azn", "azo", "azt", "azz"], + ["ba", "be", "bg", "bh", "bi", "bm", "bn", "bo", "br", "bs", "baa", "bab", "bac", "bad", "bae", "baf", "bag", "bah", "bai", "baj", "bal", "ban", "bao", "bap", "bar", "bas", "bat", "bau", "bav", "baw", "bax", "bay", "baz", "bba", "bbb", "bbc", "bbd", "bbe", "bbf", "bbg", "bbh", "bbi", "bbj", "bbk", "bbl", "bbm", "bbn", "bbo", "bbp", "bbq", "bbr", "bbs", "bbt", "bbu", "bbv", "bbw", "bbx", "bby", "bbz", "bca", "bcb", "bcc", "bcd", "bce", "bcf", "bcg", "bch", "bci", "bcj", "bck", "bcl", "bcm", "bcn", "bco", "bcp", "bcq", "bcr", "bcs", "bct", "bcu", "bcv", "bcw", "bcy", "bcz", "bda", "bdb", "bdc", "bdd", "bde", "bdf", "bdg", "bdh", "bdi", "bdj", "bdk", "bdl", "bdm", "bdn", "bdo", "bdp", "bdq", "bdr", "bds", "bdt", "bdu", "bdv", "bdw", "bdx", "bdy", "bdz", "bea", "beb", "bec", "bed", "bee", "bef", "beg", "beh", "bei", "bej", "bek", "bem", "beo", "bep", "beq", "ber", "bes", "bet", "beu", "bev", "bew", "bex", "bey", "bez", "bfa", "bfb", "bfc", "bfd", "bfe", "bff", "bfg", "bfh", "bfi", "bfj", "bfk", "bfl", "bfm", "bfn", "bfo", "bfp", "bfq", "bfr", "bfs", "bft", "bfu", "bfw", "bfx", "bfy", "bfz", "bga", "bgb", "bgc", "bgd", "bge", "bgf", "bgg", "bgi", "bgj", "bgk", "bgl", "bgm", "bgn", "bgo", "bgp", "bgq", "bgr", "bgs", "bgt", "bgu", "bgv", "bgw", "bgx", "bgy", "bgz", "bha", "bhb", "bhc", "bhd", "bhe", "bhf", "bhg", "bhh", "bhi", "bhj", "bhk", "bhl", "bhm", "bhn", "bho", "bhp", "bhq", "bhr", "bhs", "bht", "bhu", "bhv", "bhw", "bhx", "bhy", "bhz", "bia", "bib", "bic", "bid", "bie", "bif", "big", "bij", "bik", "bil", "bim", "bin", "bio", "bip", "biq", "bir", "bit", "biu", "biv", "biw", "bix", "biy", "biz", "bja", "bjb", "bjc", "bjd", "bje", "bjf", "bjg", "bjh", "bji", "bjj", "bjk", "bjl", "bjm", "bjn", "bjo", "bjp", "bjq", "bjr", "bjs", "bjt", "bju", "bjv", "bjw", "bjx", "bjy", "bjz", "bka", "bkb", "bkc", "bkd", "bkf", "bkg", "bkh", "bki", "bkj", "bkk", "bkl", "bkm", "bkn", "bko", "bkp", "bkq", "bkr", "bks", "bkt", "bku", "bkv", "bkw", "bkx", "bky", "bkz", "bla", "blb", "blc", "bld", "ble", "blf", "blg", "blh", "bli", "blj", "blk", "bll", "blm", "bln", "blo", "blp", "blq", "blr", "bls", "blt", "blv", "blw", "blx", "bly", "blz", "bma", "bmb", "bmc", "bmd", "bme", "bmf", "bmg", "bmh", "bmi", "bmj", "bmk", "bml", "bmm", "bmn", "bmo", "bmp", "bmq", "bmr", "bms", "bmt", "bmu", "bmv", "bmw", "bmx", "bmy", "bmz", "bna", "bnb", "bnc", "bnd", "bne", "bnf", "bng", "bni", "bnj", "bnk", "bnl", "bnm", "bnn", "bno", "bnp", "bnq", "bnr", "bns", "bnt", "bnu", "bnv", "bnw", "bnx", "bny", "bnz", "boa", "bob", "boe", "bof", "bog", "boh", "boi", "boj", "bok", "bol", "bom", "bon", "boo", "bop", "boq", "bor", "bot", "bou", "bov", "bow", "box", "boy", "boz", "bpa", "bpb", "bpd", "bpe", "bpg", "bph", "bpi", "bpj", "bpk", "bpl", "bpm", "bpn", "bpo", "bpp", "bpq", "bpr", "bps", "bpt", "bpu", "bpv", "bpw", "bpx", "bpy", "bpz", "bqa", "bqb", "bqc", "bqd", "bqf", "bqg", "bqh", "bqi", "bqj", "bqk", "bql", "bqm", "bqn", "bqo", "bqp", "bqq", "bqr", "bqs", "bqt", "bqu", "bqv", "bqw", "bqx", "bqy", "bqz", "bra", "brb", "brc", "brd", "brf", "brg", "brh", "bri", "brj", "brk", "brl", "brm", "brn", "bro", "brp", "brq", "brr", "brs", "brt", "bru", "brv", "brw", "brx", "bry", "brz", "bsa", "bsb", "bsc", "bse", "bsf", "bsg", "bsh", "bsi", "bsj", "bsk", "bsl", "bsm", "bsn", "bso", "bsp", "bsq", "bsr", "bss", "bst", "bsu", "bsv", "bsw", "bsx", "bsy", "bta", "btb", "btc", "btd", "bte", "btf", "btg", "bth", "bti", "btj", "btk", "btl", "btm", "btn", "bto", "btp", "btq", "btr", "bts", "btt", "btu", "btv", "btw", "btx", "bty", "btz", "bua", "bub", "buc", "bud", "bue", "buf", "bug", "buh", "bui", "buj", "buk", "bum", "bun", "buo", "bup", "buq", "bus", "but", "buu", "buv", "buw", "bux", "buy", "buz", "bva", "bvb", "bvc", "bvd", "bve", "bvf", "bvg", "bvh", "bvi", "bvj", "bvk", "bvl", "bvm", "bvn", "bvo", "bvp", "bvq", "bvr", "bvt", "bvu", "bvv", "bvw", "bvx", "bvy", "bvz", "bwa", "bwb", "bwc", "bwd", "bwe", "bwf", "bwg", "bwh", "bwi", "bwj", "bwk", "bwl", "bwm", "bwn", "bwo", "bwp", "bwq", "bwr", "bws", "bwt", "bwu", "bww", "bwx", "bwy", "bwz", "bxa", "bxb", "bxc", "bxd", "bxe", "bxf", "bxg", "bxh", "bxi", "bxj", "bxk", "bxl", "bxm", "bxn", "bxo", "bxp", "bxq", "bxr", "bxs", "bxu", "bxv", "bxw", "bxx", "bxz", "bya", "byb", "byc", "byd", "bye", "byf", "byg", "byh", "byi", "byj", "byk", "byl", "bym", "byn", "byo", "byp", "byq", "byr", "bys", "byt", "byv", "byw", "byx", "byy", "byz", "bza", "bzb", "bzc", "bzd", "bze", "bzf", "bzg", "bzh", "bzi", "bzj", "bzk", "bzl", "bzm", "bzn", "bzo", "bzp", "bzq", "bzr", "bzs", "bzt", "bzu", "bzv", "bzw", "bzx", "bzy", "bzz"], + ["ca", "ce", "ch", "co", "cr", "cs", "cu", "cv", "cy", "caa", "cab", "cac", "cad", "cae", "caf", "cag", "cah", "cai", "caj", "cak", "cal", "cam", "can", "cao", "cap", "caq", "car", "cas", "cau", "cav", "caw", "cax", "cay", "caz", "cba", "cbb", "cbc", "cbd", "cbe", "cbg", "cbh", "cbi", "cbj", "cbk", "cbl", "cbn", "cbo", "cbq", "cbr", "cbs", "cbt", "cbu", "cbv", "cbw", "cby", "cca", "ccc", "ccd", "cce", "ccg", "cch", "ccj", "ccl", "ccm", "ccn", "cco", "ccp", "ccq", "ccr", "ccs", "cda", "cdc", "cdd", "cde", "cdf", "cdg", "cdh", "cdi", "cdj", "cdm", "cdn", "cdo", "cdr", "cds", "cdy", "cdz", "cea", "ceb", "ceg", "cek", "cel", "cen", "cet", "cey", "cfa", "cfd", "cfg", "cfm", "cga", "cgc", "cgg", "cgk", "chb", "chc", "chd", "chf", "chg", "chh", "chj", "chk", "chl", "chm", "chn", "cho", "chp", "chq", "chr", "cht", "chw", "chx", "chy", "chz", "cia", "cib", "cic", "cid", "cie", "cih", "cik", "cim", "cin", "cip", "cir", "ciw", "ciy", "cja", "cje", "cjh", "cji", "cjk", "cjm", "cjn", "cjo", "cjp", "cjr", "cjs", "cjv", "cjy", "cka", "ckb", "ckh", "ckl", "ckm", "ckn", "cko", "ckq", "ckr", "cks", "ckt", "cku", "ckv", "ckx", "cky", "ckz", "cla", "clc", "cld", "cle", "clh", "cli", "clj", "clk", "cll", "clm", "clo", "clt", "clu", "clw", "cly", "cma", "cmc", "cme", "cmg", "cmi", "cmk", "cml", "cmm", "cmn", "cmo", "cmr", "cms", "cmt", "cna", "cnb", "cnc", "cng", "cnh", "cni", "cnk", "cnl", "cno", "cnp", "cnr", "cns", "cnt", "cnu", "cnw", "cnx", "coa", "cob", "coc", "cod", "coe", "cof", "cog", "coh", "coj", "cok", "col", "com", "con", "coo", "cop", "coq", "cot", "cou", "cov", "cow", "cox", "coy", "coz", "cpa", "cpb", "cpc", "cpe", "cpf", "cpg", "cpi", "cpn", "cpo", "cpp", "cps", "cpu", "cpx", "cpy", "cqd", "cqu", "cra", "crb", "crc", "crd", "crf", "crg", "crh", "cri", "crj", "crk", "crl", "crm", "crn", "cro", "crp", "crq", "crr", "crs", "crt", "crv", "crw", "crx", "cry", "crz", "csa", "csb", "csc", "csd", "cse", "csf", "csg", "csh", "csi", "csj", "csk", "csl", "csm", "csn", "cso", "csp", "csq", "csr", "css", "cst", "csu", "csv", "csw", "csx", "csy", "csz", "cta", "ctc", "ctd", "cte", "ctg", "cth", "ctl", "ctm", "ctn", "cto", "ctp", "cts", "ctt", "ctu", "cty", "ctz", "cua", "cub", "cuc", "cug", "cuh", "cui", "cuj", "cuk", "cul", "cum", "cuo", "cup", "cuq", "cur", "cus", "cut", "cuu", "cuv", "cuw", "cux", "cuy", "cvg", "cvn", "cwa", "cwb", "cwd", "cwe", "cwg", "cwt", "cya", "cyb", "cyo", "czh", "czk", "czn", "czo", "czt"], + ["da", "de", "dv", "dz", "daa", "dac", "dad", "dae", "daf", "dag", "dah", "dai", "daj", "dak", "dal", "dam", "dao", "dap", "daq", "dar", "das", "dau", "dav", "daw", "dax", "day", "daz", "dba", "dbb", "dbd", "dbe", "dbf", "dbg", "dbi", "dbj", "dbl", "dbm", "dbn", "dbo", "dbp", "dbq", "dbr", "dbt", "dbu", "dbv", "dbw", "dby", "dcc", "dcr", "dda", "ddd", "dde", "ddg", "ddi", "ddj", "ddn", "ddo", "ddr", "dds", "ddw", "dec", "ded", "dee", "def", "deg", "deh", "dei", "dek", "del", "dem", "den", "dep", "deq", "der", "des", "dev", "dez", "dga", "dgb", "dgc", "dgd", "dge", "dgg", "dgh", "dgi", "dgk", "dgl", "dgn", "dgo", "dgr", "dgs", "dgt", "dgu", "dgw", "dgx", "dgz", "dha", "dhd", "dhg", "dhi", "dhl", "dhm", "dhn", "dho", "dhr", "dhs", "dhu", "dhv", "dhw", "dhx", "dia", "dib", "dic", "did", "dif", "dig", "dih", "dii", "dij", "dik", "dil", "dim", "din", "dio", "dip", "diq", "dir", "dis", "dit", "diu", "diw", "dix", "diy", "diz", "dja", "djb", "djc", "djd", "dje", "djf", "dji", "djj", "djk", "djl", "djm", "djn", "djo", "djr", "dju", "djw", "dka", "dkg", "dkk", "dkl", "dkr", "dks", "dkx", "dlg", "dlk", "dlm", "dln", "dma", "dmb", "dmc", "dmd", "dme", "dmf", "dmg", "dmk", "dml", "dmm", "dmn", "dmo", "dmr", "dms", "dmu", "dmv", "dmw", "dmx", "dmy", "dna", "dnd", "dne", "dng", "dni", "dnj", "dnk", "dnn", "dno", "dnr", "dnt", "dnu", "dnv", "dnw", "dny", "doa", "dob", "doc", "doe", "dof", "doh", "doi", "dok", "dol", "don", "doo", "dop", "doq", "dor", "dos", "dot", "dov", "dow", "dox", "doy", "doz", "dpp", "dra", "drb", "drc", "drd", "dre", "drg", "drh", "dri", "drl", "drn", "dro", "drq", "drr", "drs", "drt", "dru", "drw", "dry", "dsb", "dse", "dsh", "dsi", "dsl", "dsn", "dso", "dsq", "dta", "dtb", "dtd", "dth", "dti", "dtk", "dtm", "dtn", "dto", "dtp", "dtr", "dts", "dtt", "dtu", "dty", "dua", "dub", "duc", "dud", "due", "duf", "dug", "duh", "dui", "duj", "duk", "dul", "dum", "dun", "duo", "dup", "duq", "dur", "dus", "duu", "duv", "duw", "dux", "duy", "duz", "dva", "dwa", "dwk", "dwl", "dwr", "dws", "dwu", "dww", "dwy", "dwz", "dya", "dyb", "dyd", "dyg", "dyi", "dym", "dyn", "dyo", "dyu", "dyy", "dza", "dzd", "dze", "dzg", "dzl", "dzn"], + ["ee", "el", "en", "eo", "es", "et", "eu", "eaa", "ebc", "ebg", "ebk", "ebo", "ebr", "ebu", "ecr", "ecs", "ecy", "eee", "efa", "efe", "efi", "ega", "egl", "ego", "egx", "egy", "ehs", "ehu", "eip", "eit", "eiv", "eja", "eka", "ekc", "eke", "ekg", "eki", "ekk", "ekl", "ekm", "eko", "ekp", "ekr", "eky", "ele", "elh", "eli", "elk", "elm", "elo", "elp", "elu", "elx", "ema", "emb", "eme", "emg", "emi", "emk", "emm", "emn", "emo", "emp", "emq", "ems", "emu", "emw", "emx", "emy", "emz", "ena", "enb", "enc", "end", "enf", "enh", "enl", "enm", "enn", "eno", "enq", "enr", "enu", "env", "enw", "enx", "eot", "epi", "era", "erg", "erh", "eri", "erk", "ero", "err", "ers", "ert", "erw", "ese", "esg", "esh", "esi", "esk", "esl", "esm", "esn", "eso", "esq", "ess", "esu", "esx", "esy", "etb", "etc", "eth", "etn", "eto", "etr", "ets", "ett", "etu", "etx", "etz", "euq", "eve", "evh", "evn", "ewo", "ext", "eya", "eyo", "eza", "eze"], + ["fa", "ff", "fi", "fj", "fo", "fr", "fy", "faa", "fab", "fad", "faf", "fag", "fah", "fai", "faj", "fak", "fal", "fam", "fan", "fap", "far", "fat", "fau", "fax", "fay", "faz", "fbl", "fcs", "fer", "ffi", "ffm", "fgr", "fia", "fie", "fif", "fil", "fip", "fir", "fit", "fiu", "fiw", "fkk", "fkv", "fla", "flh", "fli", "fll", "fln", "flr", "fly", "fmp", "fmu", "fnb", "fng", "fni", "fod", "foi", "fom", "fon", "for", "fos", "fox", "fpe", "fqs", "frc", "frd", "frk", "frm", "fro", "frp", "frq", "frr", "frs", "frt", "fse", "fsl", "fss", "fub", "fuc", "fud", "fue", "fuf", "fuh", "fui", "fuj", "fum", "fun", "fuq", "fur", "fut", "fuu", "fuv", "fuy", "fvr", "fwa", "fwe"], + ["ga", "gd", "gl", "gn", "gu", "gv", "gaa", "gab", "gac", "gad", "gae", "gaf", "gag", "gah", "gai", "gaj", "gak", "gal", "gam", "gan", "gao", "gap", "gaq", "gar", "gas", "gat", "gau", "gav", "gaw", "gax", "gay", "gaz", "gba", "gbb", "gbc", "gbd", "gbe", "gbf", "gbg", "gbh", "gbi", "gbj", "gbk", "gbl", "gbm", "gbn", "gbo", "gbp", "gbq", "gbr", "gbs", "gbu", "gbv", "gbw", "gbx", "gby", "gbz", "gcc", "gcd", "gce", "gcf", "gcl", "gcn", "gcr", "gct", "gda", "gdb", "gdc", "gdd", "gde", "gdf", "gdg", "gdh", "gdi", "gdj", "gdk", "gdl", "gdm", "gdn", "gdo", "gdq", "gdr", "gds", "gdt", "gdu", "gdx", "gea", "geb", "gec", "ged", "gef", "geg", "geh", "gei", "gej", "gek", "gel", "gem", "geq", "ges", "gev", "gew", "gex", "gey", "gez", "gfk", "gft", "gfx", "gga", "ggb", "ggd", "gge", "ggg", "ggk", "ggl", "ggn", "ggo", "ggr", "ggt", "ggu", "ggw", "gha", "ghc", "ghe", "ghh", "ghk", "ghl", "ghn", "gho", "ghr", "ghs", "ght", "gia", "gib", "gic", "gid", "gie", "gig", "gih", "gii", "gil", "gim", "gin", "gio", "gip", "giq", "gir", "gis", "git", "giu", "giw", "gix", "giy", "giz", "gji", "gjk", "gjm", "gjn", "gjr", "gju", "gka", "gkd", "gke", "gkn", "gko", "gkp", "gku", "glb", "glc", "gld", "glh", "gli", "glj", "glk", "gll", "glo", "glr", "glu", "glw", "gly", "gma", "gmb", "gmd", "gme", "gmg", "gmh", "gml", "gmm", "gmn", "gmq", "gmr", "gmu", "gmv", "gmw", "gmx", "gmy", "gmz", "gna", "gnb", "gnc", "gnd", "gne", "gng", "gnh", "gni", "gnj", "gnk", "gnl", "gnm", "gnn", "gno", "gnq", "gnr", "gnt", "gnu", "gnw", "gnz", "goa", "gob", "goc", "god", "goe", "gof", "gog", "goh", "goi", "goj", "gok", "gol", "gom", "gon", "goo", "gop", "goq", "gor", "gos", "got", "gou", "gow", "gox", "goy", "goz", "gpa", "gpe", "gpn", "gqa", "gqi", "gqn", "gqr", "gqu", "gra", "grb", "grc", "grd", "grg", "grh", "gri", "grj", "grk", "grm", "gro", "grq", "grr", "grs", "grt", "gru", "grv", "grw", "grx", "gry", "grz", "gse", "gsg", "gsl", "gsm", "gsn", "gso", "gsp", "gss", "gsw", "gta", "gti", "gtu", "gua", "gub", "guc", "gud", "gue", "guf", "gug", "guh", "gui", "guk", "gul", "gum", "gun", "guo", "gup", "guq", "gur", "gus", "gut", "guu", "guv", "guw", "gux", "guz", "gva", "gvc", "gve", "gvf", "gvj", "gvl", "gvm", "gvn", "gvo", "gvp", "gvr", "gvs", "gvy", "gwa", "gwb", "gwc", "gwd", "gwe", "gwf", "gwg", "gwi", "gwj", "gwm", "gwn", "gwr", "gwt", "gwu", "gww", "gwx", "gxx", "gya", "gyb", "gyd", "gye", "gyf", "gyg", "gyi", "gyl", "gym", "gyn", "gyo", "gyr", "gyy", "gyz", "gza", "gzi", "gzn"], + ["ha", "he", "hi", "ho", "hr", "ht", "hu", "hy", "hz", "haa", "hab", "hac", "had", "hae", "haf", "hag", "hah", "hai", "haj", "hak", "hal", "ham", "han", "hao", "hap", "haq", "har", "has", "hav", "haw", "hax", "hay", "haz", "hba", "hbb", "hbn", "hbo", "hbu", "hca", "hch", "hdn", "hds", "hdy", "hea", "hed", "heg", "heh", "hei", "hem", "hgm", "hgw", "hhi", "hhr", "hhy", "hia", "hib", "hid", "hif", "hig", "hih", "hii", "hij", "hik", "hil", "him", "hio", "hir", "hit", "hiw", "hix", "hji", "hka", "hke", "hkh", "hkk", "hkn", "hks", "hla", "hlb", "hld", "hle", "hlt", "hlu", "hma", "hmb", "hmc", "hmd", "hme", "hmf", "hmg", "hmh", "hmi", "hmj", "hmk", "hml", "hmm", "hmn", "hmp", "hmq", "hmr", "hms", "hmt", "hmu", "hmv", "hmw", "hmx", "hmy", "hmz", "hna", "hnd", "hne", "hng", "hnh", "hni", "hnj", "hnn", "hno", "hns", "hnu", "hoa", "hob", "hoc", "hod", "hoe", "hoh", "hoi", "hoj", "hok", "hol", "hom", "hoo", "hop", "hor", "hos", "hot", "hov", "how", "hoy", "hoz", "hpo", "hps", "hra", "hrc", "hre", "hrk", "hrm", "hro", "hrp", "hrr", "hrt", "hru", "hrw", "hrx", "hrz", "hsb", "hsh", "hsl", "hsn", "hss", "hti", "hto", "hts", "htu", "htx", "hub", "huc", "hud", "hue", "huf", "hug", "huh", "hui", "huj", "huk", "hul", "hum", "huo", "hup", "huq", "hur", "hus", "hut", "huu", "huv", "huw", "hux", "huy", "huz", "hvc", "hve", "hvk", "hvn", "hvv", "hwa", "hwc", "hwo", "hya", "hyw", "hyx"], + ["ia", "id", "ie", "ig", "ii", "ik", "in", "io", "is", "it", "iu", "iw", "iai", "ian", "iap", "iar", "iba", "ibb", "ibd", "ibe", "ibg", "ibh", "ibi", "ibl", "ibm", "ibn", "ibr", "ibu", "iby", "ica", "ich", "icl", "icr", "ida", "idb", "idc", "idd", "ide", "idi", "idr", "ids", "idt", "idu", "ifa", "ifb", "ife", "iff", "ifk", "ifm", "ifu", "ify", "igb", "ige", "igg", "igl", "igm", "ign", "igo", "igs", "igw", "ihb", "ihi", "ihp", "ihw", "iin", "iir", "ijc", "ije", "ijj", "ijn", "ijo", "ijs", "ike", "iki", "ikk", "ikl", "iko", "ikp", "ikr", "iks", "ikt", "ikv", "ikw", "ikx", "ikz", "ila", "ilb", "ilg", "ili", "ilk", "ill", "ilm", "ilo", "ilp", "ils", "ilu", "ilv", "ilw", "ima", "ime", "imi", "iml", "imn", "imo", "imr", "ims", "imy", "inb", "inc", "ine", "ing", "inh", "inj", "inl", "inm", "inn", "ino", "inp", "ins", "int", "inz", "ior", "iou", "iow", "ipi", "ipo", "iqu", "iqw", "ira", "ire", "irh", "iri", "irk", "irn", "iro", "irr", "iru", "irx", "iry", "isa", "isc", "isd", "ise", "isg", "ish", "isi", "isk", "ism", "isn", "iso", "isr", "ist", "isu", "itb", "itc", "itd", "ite", "iti", "itk", "itl", "itm", "ito", "itr", "its", "itt", "itv", "itw", "itx", "ity", "itz", "ium", "ivb", "ivv", "iwk", "iwm", "iwo", "iws", "ixc", "ixl", "iya", "iyo", "iyx", "izh", "izi", "izr", "izz"], + ["ja", "ji", "jv", "jw", "jaa", "jab", "jac", "jad", "jae", "jaf", "jah", "jaj", "jak", "jal", "jam", "jan", "jao", "jaq", "jar", "jas", "jat", "jau", "jax", "jay", "jaz", "jbe", "jbi", "jbj", "jbk", "jbm", "jbn", "jbo", "jbr", "jbt", "jbu", "jbw", "jcs", "jct", "jda", "jdg", "jdt", "jeb", "jee", "jeg", "jeh", "jei", "jek", "jel", "jen", "jer", "jet", "jeu", "jgb", "jge", "jgk", "jgo", "jhi", "jhs", "jia", "jib", "jic", "jid", "jie", "jig", "jih", "jii", "jil", "jim", "jio", "jiq", "jit", "jiu", "jiv", "jiy", "jje", "jjr", "jka", "jkm", "jko", "jkp", "jkr", "jks", "jku", "jle", "jls", "jma", "jmb", "jmc", "jmd", "jmi", "jml", "jmn", "jmr", "jms", "jmw", "jmx", "jna", "jnd", "jng", "jni", "jnj", "jnl", "jns", "job", "jod", "jog", "jor", "jos", "jow", "jpa", "jpr", "jpx", "jqr", "jra", "jrb", "jrr", "jrt", "jru", "jsl", "jua", "jub", "juc", "jud", "juh", "jui", "juk", "jul", "jum", "jun", "juo", "jup", "jur", "jus", "jut", "juu", "juw", "juy", "jvd", "jvn", "jwi", "jya", "jye", "jyy"], + ["ka", "kg", "ki", "kj", "kk", "kl", "km", "kn", "ko", "kr", "ks", "ku", "kv", "kw", "ky", "kaa", "kab", "kac", "kad", "kae", "kaf", "kag", "kah", "kai", "kaj", "kak", "kam", "kao", "kap", "kaq", "kar", "kav", "kaw", "kax", "kay", "kba", "kbb", "kbc", "kbd", "kbe", "kbf", "kbg", "kbh", "kbi", "kbj", "kbk", "kbl", "kbm", "kbn", "kbo", "kbp", "kbq", "kbr", "kbs", "kbt", "kbu", "kbv", "kbw", "kbx", "kby", "kbz", "kca", "kcb", "kcc", "kcd", "kce", "kcf", "kcg", "kch", "kci", "kcj", "kck", "kcl", "kcm", "kcn", "kco", "kcp", "kcq", "kcr", "kcs", "kct", "kcu", "kcv", "kcw", "kcx", "kcy", "kcz", "kda", "kdc", "kdd", "kde", "kdf", "kdg", "kdh", "kdi", "kdj", "kdk", "kdl", "kdm", "kdn", "kdo", "kdp", "kdq", "kdr", "kdt", "kdu", "kdv", "kdw", "kdx", "kdy", "kdz", "kea", "keb", "kec", "ked", "kee", "kef", "keg", "keh", "kei", "kej", "kek", "kel", "kem", "ken", "keo", "kep", "keq", "ker", "kes", "ket", "keu", "kev", "kew", "kex", "key", "kez", "kfa", "kfb", "kfc", "kfd", "kfe", "kff", "kfg", "kfh", "kfi", "kfj", "kfk", "kfl", "kfm", "kfn", "kfo", "kfp", "kfq", "kfr", "kfs", "kft", "kfu", "kfv", "kfw", "kfx", "kfy", "kfz", "kga", "kgb", "kgc", "kgd", "kge", "kgf", "kgg", "kgh", "kgi", "kgj", "kgk", "kgl", "kgm", "kgn", "kgo", "kgp", "kgq", "kgr", "kgs", "kgt", "kgu", "kgv", "kgw", "kgx", "kgy", "kha", "lyg", "khb", "khc", "khd", "khe", "khf", "khg", "khh", "khi", "khj", "khk", "khl", "khn", "kho", "khp", "khq", "khr", "khs", "kht", "khu", "khv", "khw", "khx", "khy", "khz", "kia", "kib", "kic", "kid", "kie", "kif", "kig", "kih", "kii", "kij", "kil", "kim", "kio", "kip", "kiq", "kis", "kit", "kiu", "kiv", "kiw", "kix", "kiy", "kiz", "kja", "kjb", "kjc", "kjd", "kje", "kjf", "kjg", "kjh", "kji", "kjj", "kjk", "kjl", "kjm", "kjn", "kjo", "kjp", "kjq", "kjr", "kjs", "kjt", "kju", "kjv", "kjx", "kjy", "kjz", "kka", "kkb", "kkc", "kkd", "kke", "kkf", "kkg", "kkh", "kki", "kkj", "kkk", "kkl", "kkm", "kkn", "kko", "kkp", "kkq", "kkr", "kks", "kkt", "kku", "kkv", "kkw", "kkx", "kky", "kkz", "kla", "klb", "klc", "kld", "kle", "klf", "klg", "klh", "kli", "klj", "klk", "kll", "klm", "kln", "klo", "klp", "klq", "klr", "kls", "klt", "klu", "klv", "klw", "klx", "kly", "klz", "kma", "kmb", "kmc", "kmd", "kme", "kmf", "kmg", "kmh", "kmi", "kmj", "kmk", "kml", "kmm", "kmn", "kmo", "kmp", "kmq", "kmr", "kms", "kmt", "kmu", "kmv", "kmw", "kmx", "kmy", "kmz", "kna", "knb", "knc", "knd", "kne", "knf", "kng", "kni", "knj", "knk", "knl", "knm", "knn", "kno", "knp", "knq", "knr", "kns", "knt", "knu", "knv", "knw", "knx", "kny", "knz", "koa", "koc", "kod", "koe", "kof", "kog", "koh", "koi", "koj", "kok", "kol", "koo", "kop", "koq", "kos", "kot", "kou", "kov", "kow", "kox", "koy", "koz", "kpa", "kpb", "kpc", "kpd", "kpe", "kpf", "kpg", "kph", "kpi", "kpj", "kpk", "kpl", "kpm", "kpn", "kpo", "kpp", "kpq", "kpr", "kps", "kpt", "kpu", "kpv", "kpw", "kpx", "kpy", "kpz", "kqa", "kqb", "kqc", "kqd", "kqe", "kqf", "kqg", "kqh", "kqi", "kqj", "kqk", "kql", "kqm", "kqn", "kqo", "kqp", "kqq", "kqr", "kqs", "kqt", "kqu", "kqv", "kqw", "kqx", "kqy", "kqz", "kra", "krb", "krc", "krd", "kre", "krf", "krh", "kri", "krj", "krk", "krl", "krm", "krn", "kro", "krp", "krr", "krs", "krt", "kru", "krv", "krw", "krx", "kry", "krz", "ksa", "ksb", "ksc", "ksd", "kse", "ksf", "ksg", "ksh", "ksi", "ksj", "ksk", "ksl", "ksm", "ksn", "kso", "ksp", "ksq", "ksr", "kss", "kst", "ksu", "ksv", "ksw", "ksx", "ksy", "ksz", "kta", "ktb", "ktc", "ktd", "kte", "ktf", "ktg", "kth", "kti", "ktj", "ktk", "ktl", "ktm", "ktn", "kto", "ktp", "ktq", "ktr", "kts", "ktt", "ktu", "ktv", "ktw", "ktx", "kty", "ktz", "kub", "kuc", "kud", "kue", "kuf", "kug", "kuh", "kui", "kuj", "kuk", "kul", "kum", "kun", "kuo", "kup", "kuq", "kus", "kut", "kuu", "kuv", "kuw", "kux", "kuy", "kuz", "kva", "kvb", "kvc", "kvd", "kve", "kvf", "kvg", "kvh", "kvi", "kvj", "kvk", "kvl", "kvm", "kvn", "kvo", "kvp", "kvq", "kvr", "kvs", "kvt", "kvu", "kvv", "kvw", "kvx", "kvy", "kvz", "kwa", "kwb", "kwc", "kwd", "kwe", "kwf", "kwg", "kwh", "kwi", "kwj", "kwk", "kwl", "kwm", "kwn", "kwo", "kwp", "kwq", "kwr", "kws", "kwt", "kwu", "kwv", "kww", "kwx", "kwy", "kwz", "kxa", "kxb", "kxc", "kxd", "kxe", "kxf", "kxh", "kxi", "kxj", "kxk", "kxl", "kxm", "kxn", "kxo", "kxp", "kxq", "kxr", "kxs", "kxt", "kxu", "kxv", "kxw", "kxx", "kxy", "kxz", "kya", "kyb", "kyc", "kyd", "kye", "kyf", "kyg", "kyh", "kyi", "kyj", "kyk", "kyl", "kym", "kyn", "kyo", "kyp", "kyq", "kyr", "kys", "kyt", "kyu", "kyv", "kyw", "kyx", "kyy", "kyz", "kza", "kzb", "kzc", "kzd", "kze", "kzf", "kzg", "kzh", "kzi", "kzj", "kzk", "kzl", "kzm", "kzn", "kzo", "kzp", "kzq", "kzr", "kzs", "kzt", "kzu", "kzv", "kzw", "kzx", "kzy", "kzz"], + ["la", "lb", "lg", "li", "ln", "lo", "lt", "lu", "lv", "laa", "lab", "lac", "lad", "lae", "laf", "lag", "lah", "lai", "laj", "lak", "lal", "lam", "lan", "lap", "laq", "lar", "las", "lau", "law", "lax", "lay", "laz", "lba", "lbb", "lbc", "lbe", "lbf", "lbg", "lbi", "lbj", "lbk", "lbl", "lbm", "lbn", "lbo", "lbq", "lbr", "lbs", "lbt", "lbu", "lbv", "lbw", "lbx", "lby", "lbz", "lcc", "lcd", "lce", "lcf", "lch", "lcl", "lcm", "lcp", "lcq", "lcs", "lda", "ldb", "ldd", "ldg", "ldh", "ldi", "ldj", "ldk", "ldl", "ldm", "ldn", "ldo", "ldp", "ldq", "lea", "leb", "lec", "led", "lee", "lef", "leg", "leh", "lei", "lej", "lek", "lel", "lem", "len", "leo", "lep", "leq", "ler", "les", "let", "leu", "lev", "lew", "lex", "ley", "lez", "lfa", "lfn", "lga", "lgb", "lgg", "lgh", "lgi", "lgk", "lgl", "lgm", "lgn", "lgq", "lgr", "lgt", "lgu", "lgz", "lha", "lhh", "lhi", "lhl", "lhm", "lhn", "lhp", "lhs", "lht", "lhu", "lia", "lib", "lic", "lid", "lie", "lif", "lig", "lih", "lii", "lij", "lik", "lil", "lio", "lip", "liq", "lir", "lis", "liu", "liv", "liw", "lix", "liy", "liz", "lja", "lje", "lji", "ljl", "ljp", "ljw", "ljx", "lka", "lkb", "lkc", "lkd", "lke", "lkh", "lki", "lkj", "lkl", "lkm", "lkn", "lko", "lkr", "lks", "lkt", "lku", "lky", "lla", "llb", "llc", "lld", "lle", "llf", "llg", "llh", "lli", "llj", "llk", "lll", "llm", "lln", "llo", "llp", "llq", "lls", "llu", "llx", "lma", "lmb", "lmc", "lmd", "lme", "lmf", "lmg", "lmh", "lmi", "lmj", "lmk", "lml", "lmm", "lmn", "lmo", "lmp", "lmq", "lmr", "lmu", "lmv", "lmw", "lmx", "lmy", "lmz", "lna", "lnb", "lnd", "lng", "lnh", "lni", "lnj", "lnl", "lnm", "lnn", "lno", "lns", "lnu", "lnw", "lnz", "loa", "lob", "loc", "loe", "lof", "log", "loh", "loi", "loj", "lok", "lol", "lom", "lon", "loo", "lop", "loq", "lor", "los", "lot", "lou", "lov", "low", "lox", "loy", "loz", "lpa", "lpe", "lpn", "lpo", "lpx", "lra", "lrc", "lre", "lrg", "lri", "lrk", "lrl", "lrm", "lrn", "lro", "lrr", "lrt", "lrv", "lrz", "lsa", "lsb", "lsd", "lse", "lsg", "lsh", "lsi", "lsl", "lsm", "lsn", "lso", "lsp", "lsr", "lss", "lst", "lsv", "lsy", "ltc", "ltg", "lth", "lti", "ltn", "lto", "lts", "ltu", "lua", "luc", "lud", "lue", "luf", "lui", "luj", "luk", "lul", "lum", "lun", "luo", "lup", "luq", "lur", "lus", "lut", "luu", "luv", "luw", "luy", "luz", "lva", "lvi", "lvk", "lvs", "lvu", "lwa", "lwe", "lwg", "lwh", "lwl", "lwm", "lwo", "lws", "lwt", "lwu", "lww", "lxm", "lya", "lyg", "lyn", "lzh", "lzl", "lzn", "lzz"], + ["mg", "mh", "mi", "mk", "ml", "mn", "mo", "mr", "ms", "mt", "my", "maa", "mab", "mad", "mae", "maf", "mag", "mai", "maj", "mak", "mam", "man", "map", "maq", "mas", "mat", "mau", "mav", "maw", "max", "maz", "mba", "mbb", "mbc", "mbd", "mbe", "mbf", "mbh", "mbi", "mbj", "mbk", "mbl", "mbm", "mbn", "mbo", "mbp", "mbq", "mbr", "mbs", "mbt", "mbu", "mbv", "mbw", "mbx", "mby", "mbz", "mca", "mcb", "mcc", "mcd", "mce", "mcf", "mcg", "mch", "mci", "mcj", "mck", "mcl", "mcm", "mcn", "mco", "mcp", "mcq", "mcr", "mcs", "mct", "mcu", "mcv", "mcw", "mcx", "mcy", "mcz", "mda", "mdb", "mdc", "mdd", "mde", "mdf", "mdg", "mdh", "mdi", "mdj", "mdk", "mdl", "mdm", "mdn", "mdp", "mdq", "mdr", "mds", "mdt", "mdu", "mdv", "mdw", "mdx", "mdy", "mdz", "mea", "meb", "mec", "med", "mee", "mef", "meg", "meh", "mei", "mej", "mek", "mel", "mem", "men", "meo", "mep", "meq", "mer", "mes", "met", "meu", "mev", "mew", "mey", "mez", "mfa", "mfb", "mfc", "mfd", "mfe", "mff", "mfg", "mfh", "mfi", "mfj", "mfk", "mfl", "mfm", "mfn", "mfo", "mfp", "mfq", "mfr", "mfs", "mft", "mfu", "mfv", "mfw", "mfx", "mfy", "mfz", "mga", "mgb", "mgc", "mgd", "mge", "mgf", "mgg", "mgh", "mgi", "mgj", "mgk", "mgl", "mgm", "mgn", "mgo", "mgp", "mgq", "mgr", "mgs", "mgt", "mgu", "mgv", "mgw", "mgx", "mgy", "mgz", "mha", "mhb", "mhc", "mhd", "mhe", "mhf", "mhg", "mhh", "mhi", "mhj", "mhk", "mhl", "mhm", "mhn", "mho", "mhp", "mhq", "mhr", "mhs", "mht", "mhu", "mhw", "mhx", "mhy", "mhz", "mia", "mib", "mic", "mid", "mie", "mif", "mig", "mih", "mii", "mij", "mik", "mil", "mim", "min", "mio", "mip", "miq", "mir", "mis", "mit", "miu", "miw", "mix", "miy", "miz", "mja", "mjb", "mjc", "mjd", "mje", "mjg", "mjh", "mji", "mjj", "mjk", "mjl", "mjm", "mjn", "mjo", "mjp", "mjq", "mjr", "mjs", "mjt", "mju", "mjv", "mjw", "mjx", "mjy", "mjz", "mka", "mkb", "mkc", "mke", "mkf", "mkg", "mkh", "mki", "mkj", "mkk", "mkl", "mkm", "mkn", "mko", "mkp", "mkq", "mkr", "mks", "mkt", "mku", "mkv", "mkw", "mkx", "mky", "mkz", "mla", "mlb", "mlc", "mld", "mle", "mlf", "mlh", "mli", "mlj", "mlk", "mll", "mlm", "mln", "mlo", "mlp", "mlq", "mlr", "mls", "mlu", "mlv", "mlw", "mlx", "mlz", "mma", "mmb", "mmc", "mmd", "mme", "mmf", "mmg", "mmh", "mmi", "mmj", "mmk", "mml", "mmm", "mmn", "mmo", "mmp", "mmq", "mmr", "mmt", "mmu", "mmv", "mmw", "mmx", "mmy", "mmz", "mna", "mnb", "mnc", "mnd", "mne", "mnf", "mng", "mnh", "mni", "mnj", "mnk", "mnl", "mnm", "mnn", "mno", "mnp", "mnq", "mnr", "mns", "mnt", "mnu", "mnv", "mnw", "mnx", "mny", "mnz", "moa", "moc", "mod", "moe", "mof", "mog", "moh", "moi", "moj", "mok", "mom", "moo", "mop", "moq", "mor", "mos", "mot", "mou", "mov", "mow", "mox", "moy", "moz", "mpa", "mpb", "mpc", "mpd", "mpe", "mpg", "mph", "mpi", "mpj", "mpk", "mpl", "mpm", "mpn", "mpo", "mpp", "mpq", "mpr", "mps", "mpt", "mpu", "mpv", "mpw", "mpx", "mpy", "mpz", "mqa", "mqb", "mqc", "mqe", "mqf", "mqg", "mqh", "mqi", "mqj", "mqk", "mql", "mqm", "mqn", "mqo", "mqp", "mqq", "mqr", "mqs", "mqt", "mqu", "mqv", "mqw", "mqx", "mqy", "mqz", "mra", "mrb", "mrc", "mrd", "mre", "mrf", "mrg", "mrh", "mrj", "mrk", "mrl", "mrm", "mrn", "mro", "mrp", "mrq", "mrr", "mrs", "mrt", "mru", "mrv", "mrw", "mrx", "mry", "mrz", "msb", "msc", "msd", "mse", "msf", "msg", "msh", "msi", "msj", "msk", "msl", "msm", "msn", "mso", "msp", "msq", "msr", "mss", "mst", "msu", "msv", "msw", "msx", "msy", "msz", "mta", "mtb", "mtc", "mtd", "mte", "mtf", "mtg", "mth", "mti", "mtj", "mtk", "mtl", "mtm", "mtn", "mto", "mtp", "mtq", "mtr", "mts", "mtt", "mtu", "mtv", "mtw", "mtx", "mty", "mua", "mub", "muc", "mud", "mue", "mug", "muh", "mui", "muj", "muk", "mul", "mum", "mun", "muo", "mup", "muq", "mur", "mus", "mut", "muu", "muv", "mux", "muy", "muz", "mva", "mvb", "mvd", "mve", "mvf", "mvg", "mvh", "mvi", "mvk", "mvl", "mvm", "mvn", "mvo", "mvp", "mvq", "mvr", "mvs", "mvt", "mvu", "mvv", "mvw", "mvx", "mvy", "mvz", "mwa", "mwb", "mwc", "mwd", "mwe", "mwf", "mwg", "mwh", "mwi", "mwj", "mwk", "mwl", "mwm", "mwn", "mwo", "mwp", "mwq", "mwr", "mws", "mwt", "mwu", "mwv", "mww", "mwx", "mwy", "mwz", "mxa", "mxb", "mxc", "mxd", "mxe", "mxf", "mxg", "mxh", "mxi", "mxj", "mxk", "mxl", "mxm", "mxn", "mxo", "mxp", "mxq", "mxr", "mxs", "mxt", "mxu", "mxv", "mxw", "mxx", "mxy", "mxz", "myb", "myc", "myd", "mye", "myf", "myg", "myh", "myi", "myj", "myk", "myl", "mym", "myn", "myo", "myp", "myq", "myr", "mys", "myt", "myu", "myv", "myw", "myx", "myy", "myz", "mza", "mzb", "mzc", "mzd", "mze", "mzg", "mzh", "mzi", "mzj", "mzk", "mzl", "mzm", "mzn", "mzo", "mzp", "mzq", "mzr", "mzs", "mzt", "mzu", "mzv", "mzw", "mzx", "mzy", "mzz"], + ["na", "nb", "nd", "ne", "ng", "nl", "nn", "no", "nr", "nv", "ny", "naa", "nab", "nac", "nad", "nae", "naf", "nag", "nah", "nai", "naj", "nak", "nal", "nam", "nan", "nao", "nap", "naq", "nar", "nas", "nat", "naw", "nax", "nay", "naz", "nba", "nbb", "nbc", "nbd", "nbe", "nbf", "nbg", "nbh", "nbi", "nbj", "nbk", "nbm", "nbn", "nbo", "nbp", "nbq", "nbr", "nbs", "nbt", "nbu", "nbv", "nbw", "nbx", "nby", "nca", "ncb", "ncc", "ncd", "nce", "ncf", "ncg", "nch", "nci", "ncj", "nck", "ncl", "ncm", "ncn", "nco", "ncp", "ncq", "ncr", "ncs", "nct", "ncu", "ncx", "ncz", "nda", "ndb", "ndc", "ndd", "ndf", "ndg", "ndh", "ndi", "ndj", "ndk", "ndl", "ndm", "ndn", "ndp", "ndq", "ndr", "nds", "ndt", "ndu", "ndv", "ndw", "ndx", "ndy", "ndz", "nea", "neb", "nec", "ned", "nee", "nef", "neg", "neh", "nei", "nej", "nek", "nem", "nen", "neo", "neq", "ner", "nes", "net", "neu", "nev", "new", "nex", "ney", "nez", "nfa", "nfd", "nfl", "nfr", "nfu", "nga", "ngb", "ngc", "ngd", "nge", "ngf", "ngg", "ngh", "ngi", "ngj", "ngk", "ngl", "ngm", "ngn", "ngo", "ngp", "ngq", "ngr", "ngs", "ngt", "ngu", "ngv", "ngw", "ngx", "ngy", "ngz", "nha", "nhb", "nhc", "nhd", "nhe", "nhf", "nhg", "nhh", "nhi", "nhk", "nhm", "nhn", "nho", "nhp", "nhq", "nhr", "nht", "nhu", "nhv", "nhw", "nhx", "nhy", "nhz", "nia", "nib", "nic", "nid", "nie", "nif", "nig", "nih", "nii", "nij", "nik", "nil", "nim", "nin", "nio", "niq", "nir", "nis", "nit", "niu", "niv", "niw", "nix", "niy", "niz", "nja", "njb", "njd", "njh", "nji", "njj", "njl", "njm", "njn", "njo", "njr", "njs", "njt", "nju", "njx", "njy", "njz", "nka", "nkb", "nkc", "nkd", "nke", "nkf", "nkg", "nkh", "nki", "nkj", "nkk", "nkm", "nkn", "nko", "nkp", "nkq", "nkr", "nks", "nkt", "nku", "nkv", "nkw", "nkx", "nkz", "nla", "nlc", "nle", "nlg", "nli", "nlj", "nlk", "nll", "nlm", "nln", "nlo", "nlq", "nlr", "nlu", "nlv", "nlw", "nlx", "nly", "nlz", "nma", "nmb", "nmc", "nmd", "nme", "nmf", "nmg", "nmh", "nmi", "nmj", "nmk", "nml", "nmm", "nmn", "nmo", "nmp", "nmq", "nmr", "nms", "nmt", "nmu", "nmv", "nmw", "nmx", "nmy", "nmz", "nna", "nnb", "nnc", "nnd", "nne", "nnf", "nng", "nnh", "nni", "nnj", "nnk", "nnl", "nnm", "nnn", "nnp", "nnq", "nnr", "nns", "nnt", "nnu", "nnv", "nnw", "nnx", "nny", "nnz", "noa", "noc", "nod", "noe", "nof", "nog", "noh", "noi", "noj", "nok", "nol", "nom", "non", "noo", "nop", "noq", "nos", "not", "nou", "nov", "now", "noy", "noz", "npa", "npb", "npg", "nph", "npi", "npl", "npn", "npo", "nps", "npu", "npx", "npy", "nqg", "nqk", "nql", "nqm", "nqn", "nqo", "nqq", "nqt", "nqy", "nra", "nrb", "nrc", "nre", "nrf", "nrg", "nri", "nrk", "nrl", "nrm", "nrn", "nrp", "nrr", "nrt", "nru", "nrx", "nrz", "nsa", "nsb", "nsc", "nsd", "nse", "nsf", "nsg", "nsh", "nsi", "nsk", "nsl", "nsm", "nsn", "nso", "nsp", "nsq", "nsr", "nss", "nst", "nsu", "nsv", "nsw", "nsx", "nsy", "nsz", "ntd", "nte", "ntg", "nti", "ntj", "ntk", "ntm", "nto", "ntp", "ntr", "nts", "ntu", "ntw", "ntx", "nty", "ntz", "nua", "nub", "nuc", "nud", "nue", "nuf", "nug", "nuh", "nui", "nuj", "nuk", "nul", "num", "nun", "nuo", "nup", "nuq", "nur", "nus", "nut", "nuu", "nuv", "nuw", "nux", "nuy", "nuz", "nvh", "nvm", "nvo", "nwa", "nwb", "nwc", "nwe", "nwg", "nwi", "nwm", "nwo", "nwr", "nwx", "nwy", "nxa", "nxd", "nxe", "nxg", "nxi", "nxk", "nxl", "nxm", "nxn", "nxo", "nxq", "nxr", "nxu", "nxx", "nyb", "nyc", "nyd", "nye", "nyf", "nyg", "nyh", "nyi", "nyj", "nyk", "nyl", "nym", "nyn", "nyo", "nyp", "nyq", "nyr", "nys", "nyt", "nyu", "nyv", "nyw", "nyx", "nyy", "nza", "nzb", "nzd", "nzi", "nzk", "nzm", "nzs", "nzu", "nzy", "nzz"], + ["oc", "oj", "om", "or", "os", "oaa", "oac", "oar", "oav", "obi", "obk", "obl", "obm", "obo", "obr", "obt", "obu", "oca", "och", "ocm", "oco", "ocu", "oda", "odk", "odt", "odu", "ofo", "ofs", "ofu", "ogb", "ogc", "oge", "ogg", "ogo", "ogu", "oht", "ohu", "oia", "oin", "ojb", "ojc", "ojg", "ojp", "ojs", "ojv", "ojw", "oka", "okb", "okc", "okd", "oke", "okg", "okh", "oki", "okj", "okk", "okl", "okm", "okn", "oko", "okr", "oks", "oku", "okv", "okx", "okz", "ola", "old", "ole", "olk", "olm", "olo", "olr", "olt", "olu", "oma", "omb", "omc", "ome", "omg", "omi", "omk", "oml", "omn", "omo", "omp", "omq", "omr", "omt", "omu", "omv", "omw", "omx", "omy", "ona", "onb", "one", "ong", "oni", "onj", "onk", "onn", "ono", "onp", "onr", "ons", "ont", "onu", "onw", "onx", "ood", "oog", "oon", "oor", "oos", "opa", "opk", "opm", "opo", "opt", "opy", "ora", "orc", "ore", "org", "orh", "orn", "oro", "orr", "ors", "ort", "oru", "orv", "orw", "orx", "ory", "orz", "osa", "osc", "osi", "osn", "oso", "osp", "ost", "osu", "osx", "ota", "otb", "otd", "ote", "oti", "otk", "otl", "otm", "otn", "oto", "otq", "otr", "ots", "ott", "otu", "otw", "otx", "oty", "otz", "oua", "oub", "oue", "oui", "oum", "oun", "ovd", "owi", "owl", "oyb", "oyd", "oym", "oyy", "ozm"], + ["pa", "pi", "pl", "ps", "pt", "paa", "pab", "pac", "pad", "pae", "paf", "pag", "pah", "pai", "pak", "pal", "pam", "pao", "pap", "paq", "par", "pas", "pat", "pau", "pav", "paw", "pax", "pay", "paz", "pbb", "pbc", "pbe", "pbf", "pbg", "pbh", "pbi", "pbl", "pbm", "pbn", "pbo", "pbp", "pbr", "pbs", "pbt", "pbu", "pbv", "pby", "pbz", "pca", "pcb", "pcc", "pcd", "pce", "pcf", "pcg", "pch", "pci", "pcj", "pck", "pcl", "pcm", "pcn", "pcp", "pcr", "pcw", "pda", "pdc", "pdi", "pdn", "pdo", "pdt", "pdu", "pea", "peb", "ped", "pee", "pef", "peg", "peh", "pei", "pej", "pek", "pel", "pem", "peo", "pep", "peq", "pes", "pev", "pex", "pey", "pez", "pfa", "pfe", "pfl", "pga", "pgd", "pgg", "pgi", "pgk", "pgl", "pgn", "pgs", "pgu", "pgy", "pgz", "pha", "phd", "phg", "phh", "phi", "phk", "phl", "phm", "phn", "pho", "phq", "phr", "pht", "phu", "phv", "phw", "pia", "pib", "pic", "pid", "pie", "pif", "pig", "pih", "pii", "pij", "pil", "pim", "pin", "pio", "pip", "pir", "pis", "pit", "piu", "piv", "piw", "pix", "piy", "piz", "pjt", "pka", "pkb", "pkc", "pkg", "pkh", "pkn", "pko", "pkp", "pkr", "pks", "pkt", "pku", "pla", "plb", "plc", "pld", "ple", "plf", "plg", "plh", "plj", "plk", "pll", "pln", "plo", "plp", "plq", "plr", "pls", "plt", "plu", "plv", "plw", "ply", "plz", "pma", "pmb", "pmc", "pmd", "pme", "pmf", "pmh", "pmi", "pmj", "pmk", "pml", "pmm", "pmn", "pmo", "pmq", "pmr", "pms", "pmt", "pmu", "pmw", "pmx", "pmy", "pmz", "pna", "pnb", "pnc", "pnd", "pne", "png", "pnh", "pni", "pnj", "pnk", "pnl", "pnm", "pnn", "pno", "pnp", "pnq", "pnr", "pns", "pnt", "pnu", "pnv", "pnw", "pnx", "pny", "pnz", "poc", "pod", "poe", "pof", "pog", "poh", "poi", "pok", "pom", "pon", "poo", "pop", "poq", "pos", "pot", "pov", "pow", "pox", "poy", "poz", "ppa", "ppe", "ppi", "ppk", "ppl", "ppm", "ppn", "ppo", "ppp", "ppq", "ppr", "pps", "ppt", "ppu", "pqa", "pqe", "pqm", "pqw", "pra", "prb", "prc", "prd", "pre", "prf", "prg", "prh", "pri", "prk", "prl", "prm", "prn", "pro", "prp", "prq", "prr", "prs", "prt", "pru", "prw", "prx", "pry", "prz", "psa", "psc", "psd", "pse", "psg", "psh", "psi", "psl", "psm", "psn", "pso", "psp", "psq", "psr", "pss", "pst", "psu", "psw", "psy", "pta", "pth", "pti", "ptn", "pto", "ptp", "ptq", "ptr", "ptt", "ptu", "ptv", "ptw", "pty", "pua", "pub", "puc", "pud", "pue", "puf", "pug", "pui", "puj", "puk", "pum", "puo", "pup", "puq", "pur", "put", "puu", "puw", "pux", "puy", "puz", "pwa", "pwb", "pwg", "pwi", "pwm", "pwn", "pwo", "pwr", "pww", "pxm", "pye", "pym", "pyn", "pys", "pyu", "pyx", "pyy", "pzn"], + ["qu", "qua", "qub", "quc", "qud", "quf", "qug", "quh", "qui", "quk", "qul", "qum", "qun", "qup", "quq", "qur", "qus", "quv", "quw", "qux", "quy", "quz", "qva", "qvc", "qve", "qvh", "qvi", "qvj", "qvl", "qvm", "qvn", "qvo", "qvp", "qvs", "qvw", "qvy", "qvz", "qwa", "qwc", "qwe", "qwh", "qwm", "qws", "qwt", "qxa", "qxc", "qxh", "qxl", "qxn", "qxo", "qxp", "qxq", "qxr", "qxs", "qxt", "qxu", "qxw", "qya", "qyp"], + ["rm", "rn", "ro", "ru", "rw", "raa", "rab", "rac", "rad", "raf", "rag", "rah", "rai", "raj", "rak", "ral", "ram", "ran", "rao", "rap", "raq", "rar", "ras", "rat", "rau", "rav", "raw", "rax", "ray", "raz", "rbb", "rbk", "rbl", "rbp", "rcf", "rdb", "rea", "reb", "ree", "reg", "rei", "rej", "rel", "rem", "ren", "rer", "res", "ret", "rey", "rga", "rge", "rgk", "rgn", "rgr", "rgs", "rgu", "rhg", "rhp", "ria", "rie", "rif", "ril", "rim", "rin", "rir", "rit", "riu", "rjg", "rji", "rjs", "rka", "rkb", "rkh", "rki", "rkm", "rkt", "rkw", "rma", "rmb", "rmc", "rmd", "rme", "rmf", "rmg", "rmh", "rmi", "rmk", "rml", "rmm", "rmn", "rmo", "rmp", "rmq", "rmr", "rms", "rmt", "rmu", "rmv", "rmw", "rmx", "rmy", "rmz", "rna", "rnd", "rng", "rnl", "rnn", "rnp", "rnr", "rnw", "roa", "rob", "roc", "rod", "roe", "rof", "rog", "rol", "rom", "roo", "rop", "ror", "rou", "row", "rpn", "rpt", "rri", "rro", "rrt", "rsb", "rsi", "rsl", "rsm", "rtc", "rth", "rtm", "rts", "rtw", "rub", "ruc", "rue", "ruf", "rug", "ruh", "rui", "ruk", "ruo", "rup", "ruq", "rut", "ruu", "ruy", "ruz", "rwa", "rwk", "rwl", "rwm", "rwo", "rwr", "rxd", "rxw", "ryn", "rys", "ryu", "rzh"], + ["sa", "sc", "sd", "se", "sg", "sh", "si", "sk", "sl", "sm", "sn", "so", "sq", "sr", "ss", "st", "su", "sv", "sw", "saa", "sab", "sac", "sad", "sae", "saf", "sah", "sai", "saj", "sak", "sal", "sam", "sao", "sap", "saq", "sar", "sas", "sat", "sau", "sav", "saw", "sax", "say", "saz", "sba", "sbb", "sbc", "sbd", "sbe", "sbf", "sbg", "sbh", "sbi", "sbj", "sbk", "sbl", "sbm", "sbn", "sbo", "sbp", "sbq", "sbr", "sbs", "sbt", "sbu", "sbv", "sbw", "sbx", "sby", "sbz", "sca", "scb", "sce", "scf", "scg", "sch", "sci", "sck", "scl", "scn", "sco", "scp", "scq", "scs", "sct", "scu", "scv", "scw", "scx", "sda", "sdb", "sdc", "sde", "sdf", "sdg", "sdh", "sdj", "sdk", "sdl", "sdm", "sdn", "sdo", "sdp", "sdq", "sdr", "sds", "sdt", "sdu", "sdv", "sdx", "sdz", "sea", "seb", "sec", "sed", "see", "sef", "seg", "seh", "sei", "sej", "sek", "sel", "sem", "sen", "seo", "sep", "seq", "ser", "ses", "set", "seu", "sev", "sew", "sey", "sez", "sfb", "sfe", "sfm", "sfs", "sfw", "sga", "sgb", "sgc", "sgd", "sge", "sgg", "sgh", "sgi", "sgj", "sgk", "sgl", "sgm", "sgn", "sgo", "sgp", "sgr", "sgs", "sgt", "sgu", "sgw", "sgx", "sgy", "sgz", "sha", "shb", "shc", "shd", "she", "shg", "shh", "shi", "shj", "shk", "shl", "shm", "shn", "sho", "shp", "shq", "shr", "shs", "sht", "shu", "shv", "shw", "shx", "shy", "shz", "sia", "sib", "sid", "sie", "sif", "sig", "sih", "sii", "sij", "sik", "sil", "sim", "sio", "sip", "siq", "sir", "sis", "sit", "siu", "siv", "siw", "six", "siy", "siz", "sja", "sjb", "sjd", "sje", "sjg", "sjk", "sjl", "sjm", "sjn", "sjo", "sjp", "sjr", "sjs", "sjt", "sju", "sjw", "ska", "skb", "skc", "skd", "ske", "skf", "skg", "skh", "ski", "skj", "skk", "skm", "skn", "sko", "skp", "skq", "skr", "sks", "skt", "sku", "skv", "skw", "skx", "sky", "skz", "sla", "slc", "sld", "sle", "slf", "slg", "slh", "sli", "slj", "sll", "slm", "sln", "slp", "slq", "slr", "sls", "slt", "slu", "slw", "slx", "sly", "slz", "sma", "smb", "smc", "smd", "smf", "smg", "smh", "smi", "smj", "smk", "sml", "smm", "smn", "smp", "smq", "smr", "sms", "smt", "smu", "smv", "smw", "smx", "smy", "smz", "snb", "snc", "sne", "snf", "sng", "snh", "sni", "snj", "snk", "snl", "snm", "snn", "sno", "snp", "snq", "snr", "sns", "snu", "snv", "snw", "snx", "sny", "snz", "soa", "sob", "soc", "sod", "soe", "sog", "soh", "soi", "soj", "sok", "sol", "son", "soo", "sop", "soq", "sor", "sos", "sou", "sov", "sow", "sox", "soy", "soz", "spb", "spc", "spd", "spe", "spg", "spi", "spk", "spl", "spm", "spn", "spo", "spp", "spq", "spr", "sps", "spt", "spu", "spv", "spx", "spy", "sqa", "sqh", "sqj", "sqk", "sqm", "sqn", "sqo", "sqq", "sqr", "sqs", "sqt", "squ", "sqx", "sra", "srb", "src", "sre", "srf", "srg", "srh", "sri", "srk", "srl", "srm", "srn", "sro", "srq", "srr", "srs", "srt", "sru", "srv", "srw", "srx", "sry", "srz", "ssa", "ssb", "ssc", "ssd", "sse", "ssf", "ssg", "ssh", "ssi", "ssj", "ssk", "ssl", "ssm", "ssn", "sso", "ssp", "ssq", "ssr", "sss", "sst", "ssu", "ssv", "ssx", "ssy", "ssz", "sta", "stb", "std", "ste", "stf", "stg", "sth", "sti", "stj", "stk", "stl", "stm", "stn", "sto", "stp", "stq", "str", "sts", "stt", "stu", "stv", "stw", "sty", "sua", "sub", "suc", "sue", "sug", "sui", "suj", "suk", "sul", "sum", "suo", "suq", "sur", "sus", "sut", "suv", "suw", "sux", "suy", "suz", "sva", "svb", "svc", "sve", "svk", "svm", "svr", "svs", "svx", "swb", "swc", "swf", "swg", "swh", "swi", "swj", "swk", "swl", "swm", "swn", "swo", "swp", "swq", "swr", "sws", "swt", "swu", "swv", "sww", "swx", "swy", "sxb", "sxc", "sxe", "sxg", "sxk", "sxl", "sxm", "sxn", "sxo", "sxr", "sxs", "sxu", "sxw", "sya", "syb", "syc", "syd", "syi", "syk", "syl", "sym", "syn", "syo", "syr", "sys", "syw", "syx", "syy", "sza", "szb", "szc", "szd", "sze", "szg", "szl", "szn", "szp", "szs", "szv", "szw", "szy"], + ["ta", "te", "tg", "th", "ti", "tk", "tl", "tn", "to", "tr", "ts", "tt", "tw", "ty", "taa", "tab", "tac", "tad", "tae", "taf", "tag", "tai", "taj", "tak", "tal", "tan", "tao", "tap", "taq", "tar", "tas", "tau", "tav", "taw", "tax", "tay", "taz", "tba", "tbb", "tbc", "tbd", "tbe", "tbf", "tbg", "tbh", "tbi", "tbj", "tbk", "tbl", "tbm", "tbn", "tbo", "tbp", "tbq", "tbr", "tbs", "tbt", "tbu", "tbv", "tbw", "tbx", "tby", "tbz", "tca", "tcb", "tcc", "tcd", "tce", "tcf", "tcg", "tch", "tci", "tck", "tcl", "tcm", "tcn", "tco", "tcp", "tcq", "tcs", "tct", "tcu", "tcw", "tcx", "tcy", "tcz", "tda", "tdb", "tdc", "tdd", "tde", "tdf", "tdg", "tdh", "tdi", "tdj", "tdk", "tdl", "tdm", "tdn", "tdo", "tdq", "tdr", "tds", "tdt", "tdu", "tdv", "tdx", "tdy", "tea", "teb", "tec", "ted", "tee", "tef", "teg", "teh", "tei", "tek", "tem", "ten", "teo", "tep", "teq", "ter", "tes", "tet", "teu", "tev", "tew", "tex", "tey", "tez", "tfi", "tfn", "tfo", "tfr", "tft", "tga", "tgb", "tgc", "tgd", "tge", "tgf", "tgg", "tgh", "tgi", "tgj", "tgn", "tgo", "tgp", "tgq", "tgr", "tgs", "tgt", "tgu", "tgv", "tgw", "tgx", "tgy", "tgz", "thc", "thd", "the", "thf", "thh", "thi", "thk", "thl", "thm", "thn", "thp", "thq", "thr", "ths", "tht", "thu", "thv", "thw", "thx", "thy", "thz", "tia", "tic", "tid", "tie", "tif", "tig", "tih", "tii", "tij", "tik", "til", "tim", "tin", "tio", "tip", "tiq", "tis", "tit", "tiu", "tiv", "tiw", "tix", "tiy", "tiz", "tja", "tjg", "tji", "tjj", "tjl", "tjm", "tjn", "tjo", "tjp", "tjs", "tju", "tjw", "tka", "tkb", "tkd", "tke", "tkf", "tkg", "tkk", "tkl", "tkm", "tkn", "tkp", "tkq", "tkr", "tks", "tkt", "tku", "tkv", "tkw", "tkx", "tkz", "tla", "tlb", "tlc", "tld", "tlf", "tlg", "tlh", "tli", "tlj", "tlk", "tll", "tlm", "tln", "tlo", "tlp", "tlq", "tlr", "tls", "tlt", "tlu", "tlv", "tlw", "tlx", "tly", "tma", "tmb", "tmc", "tmd", "tme", "tmf", "tmg", "tmh", "tmi", "tmj", "tmk", "tml", "tmm", "tmn", "tmo", "tmp", "tmq", "tmr", "tms", "tmt", "tmu", "tmv", "tmw", "tmy", "tmz", "tna", "tnb", "tnc", "tnd", "tne", "tnf", "tng", "tnh", "tni", "tnk", "tnl", "tnm", "tnn", "tno", "tnp", "tnq", "tnr", "tns", "tnt", "tnu", "tnv", "tnw", "tnx", "tny", "tnz", "tob", "toc", "tod", "toe", "tof", "tog", "toh", "toi", "toj", "tol", "tom", "too", "top", "toq", "tor", "tos", "tou", "tov", "tow", "tox", "toy", "toz", "tpa", "tpc", "tpe", "tpf", "tpg", "tpi", "tpj", "tpk", "tpl", "tpm", "tpn", "tpo", "tpp", "tpq", "tpr", "tpt", "tpu", "tpv", "tpw", "tpx", "tpy", "tpz", "tqb", "tql", "tqm", "tqn", "tqo", "tqp", "tqq", "tqr", "tqt", "tqu", "tqw", "tra", "trb", "trc", "trd", "tre", "trf", "trg", "trh", "tri", "trj", "trk", "trl", "trm", "trn", "tro", "trp", "trq", "trr", "trs", "trt", "tru", "trv", "trw", "trx", "try", "trz", "tsa", "tsb", "tsc", "tsd", "tse", "tsf", "tsg", "tsh", "tsi", "tsj", "tsk", "tsl", "tsm", "tsp", "tsq", "tsr", "tss", "tst", "tsu", "tsv", "tsw", "tsx", "tsy", "tsz", "tta", "ttb", "ttc", "ttd", "tte", "ttf", "ttg", "tth", "tti", "ttj", "ttk", "ttl", "ttm", "ttn", "tto", "ttp", "ttq", "ttr", "tts", "ttt", "ttu", "ttv", "ttw", "tty", "ttz", "tua", "tub", "tuc", "tud", "tue", "tuf", "tug", "tuh", "tui", "tuj", "tul", "tum", "tun", "tuo", "tup", "tuq", "tus", "tut", "tuu", "tuv", "tuw", "tux", "tuy", "tuz", "tva", "tvd", "tve", "tvk", "tvl", "tvm", "tvn", "tvo", "tvs", "tvt", "tvu", "tvw", "tvx", "tvy", "twa", "twb", "twc", "twd", "twe", "twf", "twg", "twh", "twl", "twm", "twn", "two", "twp", "twq", "twr", "twt", "twu", "tww", "twx", "twy", "txa", "txb", "txc", "txe", "txg", "txh", "txi", "txj", "txm", "txn", "txo", "txq", "txr", "txs", "txt", "txu", "txx", "txy", "tya", "tye", "tyh", "tyi", "tyj", "tyl", "tyn", "typ", "tyr", "tys", "tyt", "tyu", "tyv", "tyx", "tyy", "tyz", "tza", "tzh", "tzj", "tzl", "tzm", "tzn", "tzo", "tzx"], + ["ug", "uk", "ur", "uz", "uam", "uan", "uar", "uba", "ubi", "ubl", "ubr", "ubu", "uby", "uda", "ude", "udg", "udi", "udj", "udl", "udm", "udu", "ues", "ufi", "uga", "ugb", "uge", "ugn", "ugo", "ugy", "uha", "uhn", "uis", "uiv", "uji", "uka", "ukg", "ukh", "uki", "ukk", "ukl", "ukp", "ukq", "uks", "uku", "ukv", "ukw", "uky", "ula", "ulb", "ulc", "ule", "ulf", "uli", "ulk", "ull", "ulm", "uln", "ulu", "ulw", "uma", "umb", "umc", "umd", "umg", "umi", "umm", "umn", "umo", "ump", "umr", "ums", "umu", "una", "und", "une", "ung", "uni", "unk", "unm", "unn", "unp", "unr", "unu", "unx", "unz", "uok", "upi", "upv", "ura", "urb", "urc", "ure", "urf", "urg", "urh", "uri", "urj", "urk", "url", "urm", "urn", "uro", "urp", "urr", "urt", "uru", "urv", "urw", "urx", "ury", "urz", "usa", "ush", "usi", "usk", "usp", "uss", "usu", "uta", "ute", "uth", "utp", "utr", "utu", "uum", "uun", "uur", "uuu", "uve", "uvh", "uvl", "uwa", "uya", "uzn", "uzs"], + ["ve", "vi", "vo", "vaa", "vae", "vaf", "vag", "vah", "vai", "vaj", "val", "vam", "van", "vao", "vap", "var", "vas", "vau", "vav", "vay", "vbb", "vbk", "vec", "ved", "vel", "vem", "veo", "vep", "ver", "vgr", "vgt", "vic", "vid", "vif", "vig", "vil", "vin", "vis", "vit", "viv", "vka", "vki", "vkj", "vkk", "vkl", "vkm", "vkn", "vko", "vkp", "vkt", "vku", "vkz", "vlp", "vls", "vma", "vmb", "vmc", "vmd", "vme", "vmf", "vmg", "vmh", "vmi", "vmj", "vmk", "vml", "vmm", "vmp", "vmq", "vmr", "vms", "vmu", "vmv", "vmw", "vmx", "vmy", "vmz", "vnk", "vnm", "vnp", "vor", "vot", "vra", "vro", "vrs", "vrt", "vsi", "vsl", "vsv", "vto", "vum", "vun", "vut", "vwa"], + ["wa", "wo", "waa", "wab", "wac", "wad", "wae", "waf", "wag", "wah", "wai", "waj", "wak", "wal", "wam", "wan", "wao", "wap", "waq", "war", "was", "wat", "wau", "wav", "waw", "wax", "way", "waz", "wba", "wbb", "wbe", "wbf", "wbh", "wbi", "wbj", "wbk", "wbl", "wbm", "wbp", "wbq", "wbr", "wbs", "wbt", "wbv", "wbw", "wca", "wci", "wdd", "wdg", "wdj", "wdk", "wdu", "wdy", "wea", "wec", "wed", "weg", "weh", "wei", "wem", "wen", "weo", "wep", "wer", "wes", "wet", "weu", "wew", "wfg", "wga", "wgb", "wgg", "wgi", "wgo", "wgu", "wgw", "wgy", "wha", "whg", "whk", "whu", "wib", "wic", "wie", "wif", "wig", "wih", "wii", "wij", "wik", "wil", "wim", "win", "wir", "wit", "wiu", "wiv", "wiw", "wiy", "wja", "wji", "wka", "wkb", "wkd", "wkl", "wkr", "wku", "wkw", "wky", "wla", "wlc", "wle", "wlg", "wlh", "wli", "wlk", "wll", "wlm", "wlo", "wlr", "wls", "wlu", "wlv", "wlw", "wlx", "wly", "wma", "wmb", "wmc", "wmd", "wme", "wmg", "wmh", "wmi", "wmm", "wmn", "wmo", "wms", "wmt", "wmw", "wmx", "wnb", "wnc", "wnd", "wne", "wng", "wni", "wnk", "wnm", "wnn", "wno", "wnp", "wnu", "wnw", "wny", "woa", "wob", "woc", "wod", "woe", "wof", "wog", "woi", "wok", "wom", "won", "woo", "wor", "wos", "wow", "woy", "wpc", "wra", "wrb", "wrd", "wrg", "wrh", "wri", "wrk", "wrl", "wrm", "wrn", "wro", "wrp", "wrr", "wrs", "wru", "wrv", "wrw", "wrx", "wry", "wrz", "wsa", "wsg", "wsi", "wsk", "wsr", "wss", "wsu", "wsv", "wtf", "wth", "wti", "wtk", "wtm", "wtw", "wua", "wub", "wud", "wuh", "wul", "wum", "wun", "wur", "wut", "wuu", "wuv", "wux", "wuy", "wwa", "wwb", "wwo", "wwr", "www", "wxa", "wxw", "wya", "wyb", "wyi", "wym", "wyr", "wyy"], + ["xh", "xaa", "xab", "xac", "xad", "xae", "xag", "xai", "xaj", "xak", "xal", "xam", "xan", "xao", "xap", "xaq", "xar", "xas", "xat", "xau", "xav", "xaw", "xay", "xba", "xbb", "xbc", "xbd", "xbe", "xbg", "xbi", "xbj", "xbm", "xbn", "xbo", "xbp", "xbr", "xbw", "xbx", "xby", "xcb", "xcc", "xce", "xcg", "xch", "xcl", "xcm", "xcn", "xco", "xcr", "xct", "xcu", "xcv", "xcw", "xcy", "xda", "xdc", "xdk", "xdm", "xdo", "xdy", "xeb", "xed", "xeg", "xel", "xem", "xep", "xer", "xes", "xet", "xeu", "xfa", "xga", "xgb", "xgd", "xgf", "xgg", "xgi", "xgl", "xgm", "xgn", "xgr", "xgu", "xgw", "xha", "xhc", "xhd", "xhe", "xhr", "xht", "xhu", "xhv", "xia", "xib", "xii", "xil", "xin", "xip", "xir", "xis", "xiv", "xiy", "xjb", "xjt", "xka", "xkb", "xkc", "xkd", "xke", "xkf", "xkg", "xkh", "xki", "xkj", "xkk", "xkl", "xkn", "xko", "xkp", "xkq", "xkr", "xks", "xkt", "xku", "xkv", "xkw", "xkx", "xky", "xkz", "xla", "xlb", "xlc", "xld", "xle", "xlg", "xli", "xln", "xlo", "xlp", "xls", "xlu", "xly", "xma", "xmb", "xmc", "xmd", "xme", "xmf", "xmg", "xmh", "xmj", "xmk", "xml", "xmm", "xmn", "xmo", "xmp", "xmq", "xmr", "xms", "xmt", "xmu", "xmv", "xmw", "xmx", "xmy", "xmz", "xna", "xnb", "xnd", "xng", "xnh", "xni", "xnj", "xnk", "xnm", "xnn", "xno", "xnq", "xnr", "xns", "xnt", "xnu", "xny", "xnz", "xoc", "xod", "xog", "xoi", "xok", "xom", "xon", "xoo", "xop", "xor", "xow", "xpa", "xpb", "xpc", "xpd", "xpe", "xpf", "xpg", "xph", "xpi", "xpj", "xpk", "xpl", "xpm", "xpn", "xpo", "xpp", "xpq", "xpr", "xps", "xpt", "xpu", "xpv", "xpw", "xpx", "xpy", "xpz", "xqa", "xqt", "xra", "xrb", "xrd", "xre", "xrg", "xri", "xrm", "xrn", "xrq", "xrr", "xrt", "xru", "xrw", "xsa", "xsb", "xsc", "xsd", "xse", "xsh", "xsi", "xsj", "xsl", "xsm", "xsn", "xso", "xsp", "xsq", "xsr", "xss", "xsu", "xsv", "xsy", "xta", "xtb", "xtc", "xtd", "xte", "xtg", "xth", "xti", "xtj", "xtl", "xtm", "xtn", "xto", "xtp", "xtq", "xtr", "xts", "xtt", "xtu", "xtv", "xtw", "xty", "xtz", "xua", "xub", "xud", "xug", "xuj", "xul", "xum", "xun", "xuo", "xup", "xur", "xut", "xuu", "xve", "xvi", "xvn", "xvo", "xvs", "xwa", "xwc", "xwd", "xwe", "xwg", "xwj", "xwk", "xwl", "xwo", "xwr", "xwt", "xww", "xxb", "xxk", "xxm", "xxr", "xxt", "xya", "xyb", "xyj", "xyk", "xyl", "xyt", "xyy", "xzh", "xzm", "xzp"], + ["yi", "yo", "yaa", "yab", "yac", "yad", "yae", "yaf", "yag", "yah", "yai", "yaj", "yak", "yal", "yam", "yan", "yao", "yap", "yaq", "yar", "yas", "yat", "yau", "yav", "yaw", "yax", "yay", "yaz", "yba", "ybb", "ybd", "ybe", "ybh", "ybi", "ybj", "ybk", "ybl", "ybm", "ybn", "ybo", "ybx", "yby", "ych", "ycl", "ycn", "ycp", "yda", "ydd", "yde", "ydg", "ydk", "yds", "yea", "yec", "yee", "yei", "yej", "yel", "yen", "yer", "yes", "yet", "yeu", "yev", "yey", "yga", "ygi", "ygl", "ygm", "ygp", "ygr", "ygs", "ygu", "ygw", "yha", "yhd", "yhl", "yhs", "yia", "yif", "yig", "yih", "yii", "yij", "yik", "yil", "yim", "yin", "yip", "yiq", "yir", "yis", "yit", "yiu", "yiv", "yix", "yiy", "yiz", "yka", "ykg", "yki", "ykk", "ykl", "ykm", "ykn", "yko", "ykr", "ykt", "yku", "yky", "yla", "ylb", "yle", "ylg", "yli", "yll", "ylm", "yln", "ylo", "ylr", "ylu", "yly", "yma", "ymb", "ymc", "ymd", "yme", "ymg", "ymh", "ymi", "ymk", "yml", "ymm", "ymn", "ymo", "ymp", "ymq", "ymr", "yms", "ymt", "ymx", "ymz", "yna", "ynd", "yne", "yng", "ynh", "ynk", "ynl", "ynn", "yno", "ynq", "yns", "ynu", "yob", "yog", "yoi", "yok", "yol", "yom", "yon", "yos", "yot", "yox", "yoy", "ypa", "ypb", "ypg", "yph", "ypk", "ypm", "ypn", "ypo", "ypp", "ypz", "yra", "yrb", "yre", "yri", "yrk", "yrl", "yrm", "yrn", "yro", "yrs", "yrw", "yry", "ysc", "ysd", "ysg", "ysl", "ysm", "ysn", "yso", "ysp", "ysr", "yss", "ysy", "yta", "ytl", "ytp", "ytw", "yty", "yua", "yub", "yuc", "yud", "yue", "yuf", "yug", "yui", "yuj", "yuk", "yul", "yum", "yun", "yup", "yuq", "yur", "yut", "yuu", "yuw", "yux", "yuy", "yuz", "yva", "yvt", "ywa", "ywg", "ywl", "ywn", "ywq", "ywr", "ywt", "ywu", "yww", "yxa", "yxg", "yxl", "yxm", "yxu", "yxy", "yyr", "yyu", "yyz", "yzg", "yzk"], + ["za", "zh", "zu", "zaa", "zab", "zac", "zad", "zae", "zaf", "zag", "zah", "zai", "zaj", "zak", "zal", "zam", "zao", "zap", "zaq", "zar", "zas", "zat", "zau", "zav", "zaw", "zax", "zay", "zaz", "zba", "zbc", "zbe", "zbl", "zbt", "zbu", "zbw", "zca", "zch", "zdj", "zea", "zeg", "zeh", "zen", "zga", "zgb", "zgh", "zgm", "zgn", "zgr", "zhb", "zhd", "zhi", "zhn", "zhw", "zhx", "zia", "zib", "zik", "zil", "zim", "zin", "zir", "ziw", "ziz", "zka", "zkb", "zkd", "zkg", "zkh", "zkk", "zkn", "zko", "zkp", "zkr", "zkt", "zku", "zkv", "zkz", "zla", "zle", "zlj", "zlm", "zln", "zlq", "zls", "zlw", "zma", "zmb", "zmc", "zmd", "zme", "zmf", "zmg", "zmh", "zmi", "zmj", "zmk", "zml", "zmm", "zmn", "zmo", "zmp", "zmq", "zmr", "zms", "zmt", "zmu", "zmv", "zmw", "zmx", "zmy", "zmz", "zna", "znd", "zne", "zng", "znk", "zns", "zoc", "zoh", "zom", "zoo", "zoq", "zor", "zos", "zpa", "zpb", "zpc", "zpd", "zpe", "zpf", "zpg", "zph", "zpi", "zpj", "zpk", "zpl", "zpm", "zpn", "zpo", "zpp", "zpq", "zpr", "zps", "zpt", "zpu", "zpv", "zpw", "zpx", "zpy", "zpz", "zqe", "zra", "zrg", "zrn", "zro", "zrp", "zrs", "zsa", "zsk", "zsl", "zsm", "zsr", "zsu", "zte", "ztg", "ztl", "ztm", "ztn", "ztp", "ztq", "zts", "ztt", "ztu", "ztx", "zty", "zua", "zuh", "zum", "zun", "zuy", "zwa", "zxx", "zyb", "zyg", "zyj", "zyn", "zyp", "zza", "zzj"] +]; +var LangUtil = /** @class */ (function () { + function LangUtil() { + } + /* Determine if given string is a valid BCP 47 string */ + LangUtil.isBcp47 = function (langStr) { + return /^(([a-zA-Z]{2,3}(-[a-zA-Z](-[a-zA-Z]{3}){0,2})?|[a-zA-Z]{4}|[a-zA-Z]{5,8})(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-([0-9a-zA-Z]{5,8}|[0-9][a-zA-Z]{3}))*(-[0-9a-wy-zA-WY-Z](-[a-zA-Z0-9]{2,8})+)*(-x(-[a-zA-Z0-9]{1,8})+)?|x(-[a-zA-Z0-9]{1,8})+|(en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE|art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang))$/.test(langStr); + }; + LangUtil.validPrimaryLang = function (langStr) { + var primary = langStr.toLowerCase(); + if (primary.includes("-")) { + primary = primary.split("-")[0]; + } + if (!primary.match(/[a-z]{2,3}/)) + return false; + // qaa..qtz + if (primary.length === 3 + && primary.charAt(0) === "q" + && primary.charCodeAt(1) >= 97 && primary.charCodeAt(1) <= 116 + && primary.charCodeAt(2) >= 97 && primary.charCodeAt(2) <= 122) { + } + return validPrimaryLangs[primary.charCodeAt(0) - 97].includes(primary); + }; + LangUtil.matchPrimaryLang = function (lang1, lang2) { + var primary1 = lang1; + if (primary1.includes("-")) { + primary1 = primary1.split("-")[0]; + } + var primary2 = lang2; + if (primary2.includes("-")) { + primary2 = primary2.split("-")[0]; + } + return primary1.toLowerCase() === primary2.toLowerCase(); + }; + return LangUtil; +}()); +exports.LangUtil = LangUtil; + + +/***/ }), + +/***/ "./src/v2/common/CommonMapper.ts": +/*!***************************************!*\ + !*** ./src/v2/common/CommonMapper.ts ***! + \***************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CommonMapper = void 0; +var DOMWalker_1 = __webpack_require__(/*! ../dom/DOMWalker */ "./src/v2/dom/DOMWalker.ts"); +var CommonMapper = /** @class */ (function () { + function CommonMapper() { + this.hierarchyRole = null; + this.hierarchyPath = null; + this.hierarchyResults = null; + } + CommonMapper.prototype.getBounds = function (node) { + return null; + }; + CommonMapper.prototype.reset = function (node) { + this.hierarchyRole = []; + this.hierarchyResults = []; + this.hierarchyPath = [{ + rolePath: "", + roleCount: {} + }]; + var ancestors = []; + var parent = DOMWalker_1.DOMWalker.parentNode(node); + while (parent && parent.nodeType != 9 /* Node.DOCUMENT_NODE */) { + ancestors.push(parent); + parent = DOMWalker_1.DOMWalker.parentNode(parent); + } + ancestors = ancestors.reverse(); + for (var _i = 0, ancestors_1 = ancestors; _i < ancestors_1.length; _i++) { + var ancestor = ancestors_1[_i]; + var siblings = []; + var sibling = ancestor.previousSibling; + while (sibling) { + siblings.push(sibling); + sibling = sibling.previousSibling; + } + siblings = siblings.reverse(); + for (var _a = 0, siblings_1 = siblings; _a < siblings_1.length; _a++) { + var sibling_1 = siblings_1[_a]; + this.pushHierarchy(sibling_1); + this.popHierarchy(); + } + this.pushHierarchy(ancestor); + } + }; + CommonMapper.prototype.pushHierarchy = function (node) { + var role = this.getRole(node) || "none"; + this.hierarchyRole.push(role); + if (role !== "none") { + var parentPathInfo = this.hierarchyPath[this.hierarchyPath.length - 1]; + parentPathInfo.roleCount[role] = (parentPathInfo.roleCount[role] || 0) + 1; + this.hierarchyPath.push({ + "rolePath": parentPathInfo.rolePath + "/" + role + "[" + parentPathInfo.roleCount[role] + "]", + "roleCount": {} + }); + } + var attr = {}; + if (node.nodeType === 1) { + attr = this.getAttributes(node); + } + this.hierarchyResults.push({ + node: node, + namespace: this.getNamespace(), + role: role, + attributes: attr, + rolePath: this.hierarchyPath[this.hierarchyPath.length - 1].rolePath, + bounds: this.getBounds(node) + }); + }; + CommonMapper.prototype.popHierarchy = function () { + var role = this.hierarchyRole.pop(); + if (role !== "none") { + this.hierarchyPath.pop(); + } + this.hierarchyResults.pop(); + }; + CommonMapper.prototype.openScope = function (node) { + if (this.hierarchyRole === null) { + this.reset(node); + } + this.pushHierarchy(node); + return this.hierarchyResults; + }; + CommonMapper.prototype.closeScope = function (node) { + var retVal = []; + for (var _i = 0, _a = this.hierarchyResults; _i < _a.length; _i++) { + var res = _a[_i]; + // const temp = res.node; + // res.node = null; + // let cloned = JSON.parse(JSON.stringify(res)); + // cloned.node = res.node = temp; + // retVal.push(cloned); + retVal.push(res); + } + retVal[retVal.length - 1].role = "/" + retVal[retVal.length - 1].role; + this.popHierarchy(); + return retVal; + }; + return CommonMapper; +}()); +exports.CommonMapper = CommonMapper; + + +/***/ }), + +/***/ "./src/v2/common/Context.ts": +/*!**********************************!*\ + !*** ./src/v2/common/Context.ts ***! + \**********************************/ +/***/ ((__unused_webpack_module, exports) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Context = exports.PartInfo = exports.AttrInfo = void 0; +// Context that will cause this rule to execute. +// Context syntax: +// Triggers: +// aria:role - Triggers on element with ARIA role role +// aria:role[attribute] - Triggers on elements with the equivalent logical +// aria- attribute (e.g., button[disabled] will trigger on +// <button disabled> or <div role="button" aria-disabled="true">) +// role[attribute=value] - Similar to above, with case-sensitive match +// to value +// role[attribute~value] - Similar to above, with case-insensitive match +// dom:element - Triggers on an element with the specified name +// dom:element[attribute] - Triggers on a dom element with the specified attribute +// dom:*[attribute] - Triggers on all elements with the specified attribute +// Combining triggers: +// trigger1 trigger2 - Triggers on elements with trigger2 within an +// element with trigger1 +// !trigger1 trigger2 - Triggers on elements with trigger2 not within +// element with trigger1 +// trigger1>trigger2 - Triggers on elements with trigger2 with an +// an immediate parent with trigger1 +// trigger1+trigger2 - Triggers on elements with trigger2 with an +// immediate previous sibling with trigger1 +// trigger1~trigger2 - Triggers on elements with trigger2 with an +// some earlier sibling with trigger1 +// context,context - Triggers on elements with either context +var AttrInfo = /** @class */ (function () { + function AttrInfo(inclusive, attr, eq, value) { + this.inclusive = inclusive; + this.attr = attr; + this.eq = eq; + this.value = value; + if (!inclusive + && ((typeof eq) !== "undefined" && eq.length > 0)) { + throw new Error("Cannot have !attr" + eq + " context"); + } + if (inclusive && (typeof eq) !== "undefined" && eq.length > 0 && ((typeof value) === "undefined" || value.length === 0)) { + throw new Error("Cannot have equivalence check without a value"); + } + } + AttrInfo.prototype.matches = function (context) { + var ruleAttrPart = this; + var elemAttrs = context.attributes; + if (!(ruleAttrPart.attr in elemAttrs)) { + return !ruleAttrPart.inclusive; + } + else if (!ruleAttrPart.inclusive) { + return false; + } + else if (!ruleAttrPart.eq) { + // inclusive match and I have that attribute and no equivalence defined + return true; + } + else { + // inclusive match and I have that attribute and equivalence defined + var attrValue = elemAttrs[ruleAttrPart.attr]; + if (ruleAttrPart.eq === "=") { + return ruleAttrPart.value === attrValue; + } + else if (ruleAttrPart.eq === "!=") { + return ruleAttrPart.value !== attrValue; + } + else if (ruleAttrPart.eq === "~") { + return ruleAttrPart.value === attrValue; + } + else if (ruleAttrPart.eq === "!~") { + return ruleAttrPart.value !== attrValue; + } + else { + throw new Error("Context equivalence operator not supported"); + } + } + }; + return AttrInfo; +}()); +exports.AttrInfo = AttrInfo; +var PartInfo = /** @class */ (function () { + function PartInfo(inclusive, namespace, role, attrs, connector) { + this.inclusive = inclusive; + this.namespace = namespace; + this.role = role; + this.attrs = attrs; + this.connector = connector; + if (role === "*" && !inclusive) { + throw new Error("!* context not supported"); + } + } + PartInfo.prototype.matches = function (contextHier, hierLevel) { + var rulePart = this; + var ruleRoleMatch = (rulePart.namespace in contextHier) && contextHier[rulePart.namespace][hierLevel] + && (contextHier[rulePart.namespace][hierLevel].role === rulePart.role + || contextHier[rulePart.namespace][hierLevel].role !== "none" && rulePart.role === "*"); + if (ruleRoleMatch + && rulePart.role === "*" + && rulePart.namespace === "dom" + && (contextHier[rulePart.namespace][hierLevel].role === "#text" + || contextHier[rulePart.namespace][hierLevel].role === "/#text")) { + ruleRoleMatch = false; + } + if (rulePart.inclusive && !ruleRoleMatch) + return false; + if (!rulePart.inclusive && !ruleRoleMatch) + return true; + // Match the attributes + var ruleAttrs = rulePart.attrs; + var elemContext = contextHier[rulePart.namespace][hierLevel]; + var match = true; + for (var _i = 0, ruleAttrs_1 = ruleAttrs; _i < ruleAttrs_1.length; _i++) { + var ruleAttrPart = ruleAttrs_1[_i]; + match = match && ruleAttrPart.matches(elemContext); + } + if (!rulePart.inclusive) + match = !match; + return match; + }; + return PartInfo; +}()); +exports.PartInfo = PartInfo; +var Context = /** @class */ (function () { + function Context(context) { + this.contextInfo = []; + var contextHierMatches = context.match(/!?[/a-zA-Z:0-9*\-_]+(\[[^\]]+\])*[ >+~]?/g); + var results = []; + for (var _i = 0, contextHierMatches_1 = contextHierMatches; _i < contextHierMatches_1.length; _i++) { + var part = contextHierMatches_1[_i]; + var parts = part.match(/(!?)([/a-zA-Z:0-9*\-_]+)((\[[^\]]+\])*)([ >+~]?)/); + var attrInfo = []; + for (var _a = 0, _b = parts[3].match(/\[([^\]]+)\]/g) || []; _a < _b.length; _a++) { + var attrPart = _b[_a]; + var attrParts = attrPart.match(/\[(!?)([a-z:A-Z*\-_]+)(!?[=~])?([^\]]+)?\]/); + attrInfo.push(new AttrInfo(attrParts[1] !== "!", attrParts[2].toLowerCase(), attrParts[3], attrParts[4])); + } + parts[2] = parts[2].toLowerCase(); + var nsParts = parts[2].split(":"); + var incl = parts[1] !== "!"; + var ns = nsParts.shift(); + var role = nsParts.join(":"); + var partInfo = new PartInfo(incl, ns, role, attrInfo, parts[parts.length - 1]); + results.push(partInfo); + } + this.contextInfo = results; + } + Context.cleanContext = function (context) { + context = context.toLowerCase().trim(); + context = context.replace(/ +!/g, " !"); + context = context.replace(/ +([>+~,])/g, "$1"); + context = context.replace(/([>+~,]) +/g, "$1"); + context = context.replace(/ +/g, " "); + return context.trim(); + }; + Context.parse = function (context) { + var contexts = Context.splitMultiple(Context.cleanContext(context)); + var retVal = []; + for (var i = 0; i < contexts.length; ++i) { + var ctx = new Context(contexts[i]); + retVal.push(ctx); + } + return retVal; + }; + /** + * Handles initial processing of splitting on comma - context,context + * @param context + */ + Context.splitMultiple = function (context) { + var contexts = []; + if (context) { + if (context.indexOf(",") === -1) { + contexts.push(context); + } + else { + for (var _i = 0, _a = context.split(","); _i < _a.length; _i++) { + var c = _a[_i]; + contexts.push(c); + } + } + } + return contexts; + }; + return Context; +}()); +exports.Context = Context; + + +/***/ }), + +/***/ "./src/v2/common/Engine.ts": +/*!*********************************!*\ + !*** ./src/v2/common/Engine.ts ***! + \*********************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Engine = void 0; +var DOMWalker_1 = __webpack_require__(/*! ../dom/DOMWalker */ "./src/v2/dom/DOMWalker.ts"); +var Context_1 = __webpack_require__(/*! ./Context */ "./src/v2/common/Context.ts"); +var Config_1 = __webpack_require__(/*! ../config/Config */ "./src/v2/config/Config.ts"); +var DOMMapper_1 = __webpack_require__(/*! ../dom/DOMMapper */ "./src/v2/dom/DOMMapper.ts"); +var DOMUtil_1 = __webpack_require__(/*! ../dom/DOMUtil */ "./src/v2/dom/DOMUtil.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../../v4/util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +var IRule_1 = __webpack_require__(/*! ../../v4/api/IRule */ "./src/v4/api/IRule.ts"); +var VisUtil_1 = __webpack_require__(/*! ../../v4/util/VisUtil */ "./src/v4/util/VisUtil.ts"); +var WrappedRule = /** @class */ (function () { + function WrappedRule(rule, parsedInfo) { + this.rule = rule; + this.parsedInfo = parsedInfo; + this.ns = this.parsedInfo.contextInfo[this.parsedInfo.contextInfo.length - 1].namespace; + Config_1.Config.DEBUG && console.log("Added Rule:", rule.id, JSON.stringify(this.parsedInfo)); + } + /** + * This function is responsible converting the node into a snippet which can be added to report. + * + * Note: This function will take the node and extract the node name and the attributes and build the snippet based on this. + * + * TODO: Future, maybe we can extract more then just single line, add more info or even add closing tags etc... + * + * @param {HTMLElement} node - The html element to convert into element snippet with node name and attributes only. + * + * @return {String} nodeSnippet - return the element snippet of the element that was provided which only contains, + * nodename and attributes. i.e. <table id=\"layout_table1\" role=\"presentation\"> + * + * @memberOf this + */ + WrappedRule.convertNodeToSnippet = function (node) { + // Variable Decleration + var nodeSnippet = ''; + // Extract the node name and add it to the node snippet + nodeSnippet += '<' + node.nodeName.toLowerCase(); + // Extract all the node attributes as an array + var nodeAttributes = node.attributes; + // In the case there are attributes on this node + if (nodeAttributes !== null && typeof nodeAttributes !== 'undefined') { + // Loop over all theses attributes and add the name and value to the nodeSnippet which will be returned + for (var i = nodeAttributes.length - 1; i >= 0; i--) { + if (nodeAttributes[i].name === "data-namewalk") + continue; + // Add the attribute name and value. + nodeSnippet += ' ' + nodeAttributes[i].name + '="' + nodeAttributes[i].value + '"'; + } + } + // Close the node + nodeSnippet += '>'; + // Return the node snippet + return nodeSnippet; + }; + WrappedRule.prototype.run = function (engine, context, options, contextHierarchies) { + var startTime = new Date().getTime(); + var results; + try { + results = this.rule.run(context, options, contextHierarchies); + } + catch (e) { + var err = e; + console.error("RULE EXCEPTION:", this.rule.id, context.dom.rolePath, err.stack); + throw e; + } + var endTime = new Date().getTime(); + if (!results) + results = []; + if (!(results instanceof Array)) { + results = [results]; + } + var retVal = []; + for (var _i = 0, results_1 = results; _i < results_1.length; _i++) { + var result = results_1[_i]; + var message = engine.getMessage(this.rule.id, result.reasonId, result.messageArgs); + var path = {}; + for (var ns in context) { + path[ns] = context[ns].rolePath; + } + var ruleId = this.rule.id.replace(/^(.*)\$\$\d+$/, "$1"); + retVal.push({ + ruleId: ruleId, + value: result.value, + node: context["dom"].node, + path: path, + ruleTime: endTime - startTime, + reasonId: result.reasonId, + message: message, + messageArgs: result.messageArgs, + apiArgs: result.apiArgs, + bounds: context["dom"].bounds, + snippet: WrappedRule.convertNodeToSnippet(context["dom"].node) + }); + } + return retVal; + }; + return WrappedRule; +}()); +var Engine = /** @class */ (function () { + function Engine() { + this.mappers = {}; + this.ruleMap = {}; + this.wrappedRuleMap = {}; + this.nlsMap = {}; + this.helpMap = {}; + this.inclRules = {}; + this.exclRules = {}; + // Need a DOM Mapper as a minimum + this.addMapper(new DOMMapper_1.DOMMapper()); + } + Engine.getLanguages = function () { + var env = typeof process !== "undefined" && typeof process.nodeType === "undefined" && process.env; + // If all else fails, default to US English + var nodeLang = "en-US"; + if (env) { + nodeLang = env.LANG || env.LANGUAGE || env.LC_ALL || env.LC_MESSAGES; + if (nodeLang && nodeLang.length > 0) { + nodeLang = nodeLang.split(".")[0].replace(/_/g, "-"); + } + else { + nodeLang = "en-US"; + } + } + return typeof navigator !== "undefined" && navigator.languages || [nodeLang]; + }; + Engine.prototype.run = function (root, options) { + if (root === null) { + return Promise.reject("null document"); + } + if (root.nodeType === 9 /* Node.DOCUMENT_NODE */) { + root = root.documentElement; + } + root.ownerDocument && (root.ownerDocument.PT_CHECK_HIDDEN_CONTENT = false); + CacheUtil_1.CacheUtil.clearCaches(root); + var walker = new DOMWalker_1.DOMWalker(root, false, root, true); + var retVal = { + results: [], + numExecuted: 0, + ruleTime: 0, + totalTime: 0 + }; + var start = new Date().getTime(); + // Reset the role mappers + for (var namespace in this.mappers) { + this.mappers[namespace].reset(root); + } + // Initialize the context detector + do { + // Get the context information from the rule mappers + var contextHierarchies = {}; + for (var namespace in this.mappers) { + if (!walker.bEndTag) { + contextHierarchies[namespace] = this.mappers[namespace].openScope(walker.node); + // if (namespace === "dom" && walker.node.nodeType === 1 /* Node.ELEMENT_NODE */) { + // const elem = walker.node as Element; + // let id; + // if (elem.hasAttribute("id") && (id = elem.getAttribute("id").trim()).length > 0) { + // if (root.ownerDocument.getElementById(id) === elem) { + // contextHierarchies["dom"][contextHierarchies["dom"].length-1].rolePath = "//*[@id='"+id+"']"; + // } + // } + // } + } + else { + contextHierarchies[namespace] = this.mappers[namespace].closeScope(walker.node); + } + } + if (walker.node.nodeType !== 11 + && (VisUtil_1.VisUtil.isNodeVisible(walker.node) + // || walker.node.nodeName.toLowerCase() === "head" + || walker.node.nodeName.toLowerCase() === "meta" + || walker.node.nodeName.toLowerCase() === "style" + || walker.node.nodeName.toLowerCase() === "datalist" + || walker.node.nodeName.toLowerCase() === "param" + || !DOMUtil_1.DOMUtil.getAncestor(walker.node, ["body"]))) { + var context = {}; + for (var ns in contextHierarchies) { + var nsHier = contextHierarchies[ns]; + var lastHier = nsHier[nsHier.length - 1]; + context[ns] = lastHier; + } + var matchingRules = this.getMatchingRules(contextHierarchies); + var depMatch = {}; + for (var _i = 0, matchingRules_1 = matchingRules; _i < matchingRules_1.length; _i++) { + var matchingRule = matchingRules_1[_i]; + var fulfillsDependencies = true; + for (var _a = 0, _b = matchingRule.rule.dependencies || []; _a < _b.length; _a++) { + var dep = _b[_a]; + if (!depMatch[dep]) + fulfillsDependencies = false; + } + if (fulfillsDependencies) { + var results = []; + try { + results = matchingRule.run(this, context, options, contextHierarchies); + } + catch (err) { + // Wrapper shows error in console. Skip this rule as N/A + // We don't want to kill the engine + } + // If out of scope, it fulfills the dependency + if (results.length === 0) { + depMatch[matchingRule.rule.id] = true; + } + for (var _c = 0, results_2 = results; _c < results_2.length; _c++) { + var result = results_2[_c]; + retVal.results.push(result); + retVal.ruleTime += result.ruleTime; + retVal.numExecuted++; + if (result.value[1] === IRule_1.eRuleConfidence.PASS) { + depMatch[result.ruleId] = true; + } + } + } + } + } + } while (walker.nextNode()); + CacheUtil_1.CacheUtil.clearCaches(root); + retVal.totalTime = new Date().getTime() - start; + return Promise.resolve(retVal); + }; + Engine.prototype.enableRules = function (ruleIds) { + for (var ruleId in this.ruleMap) { + this.ruleMap[ruleId].enabled = false; + } + for (var _i = 0, _a = ruleIds || []; _i < _a.length; _i++) { + var ruleId = _a[_i]; + if (!(ruleId in this.ruleMap)) { + console.warn("WARNING: Rule Id", ruleId, "could not be enabled."); + } + else { + this.ruleMap[ruleId].enabled = true; + } + } + }; + Engine.prototype.getRule = function (ruleId) { + return this.ruleMap[ruleId]; + }; + Engine.prototype.getRulesIds = function () { + var retVal = []; + for (var ruleId in this.ruleMap) { + retVal.push(ruleId); + } + return retVal; + }; + Engine.prototype.addRules = function (rules) { + for (var _i = 0, rules_1 = rules; _i < rules_1.length; _i++) { + var rule = rules_1[_i]; + this.addRule(rule, true); + } + this._sortRules(); + }; + Engine.prototype.addRule = function (rule, skipSort) { + var ctxs = Context_1.Context.parse(rule.context); + var idx = 0; + var ruleId = rule.id; + if (ruleId in this.ruleMap) { + console.log("WARNING: Rule", ruleId, "already added to engine. Ignoring..."); + return; + } + this.ruleMap[ruleId] = rule; + for (var _i = 0, ctxs_1 = ctxs; _i < ctxs_1.length; _i++) { + var ctx = ctxs_1[_i]; + var wrapId = ruleId; + if (idx >= 1) { + wrapId = ruleId + "$$" + idx; + } + ++idx; + var wrappedRule = new WrappedRule(rule, ctx); + this.wrappedRuleMap[wrapId] = wrappedRule; + var parts = wrappedRule.parsedInfo.contextInfo; + var lastPart = parts[parts.length - 1]; + var triggerRole = lastPart.namespace + ":" + lastPart.role; + if (lastPart.inclusive) { + this.inclRules[triggerRole] = this.inclRules[triggerRole] || []; + this.inclRules[triggerRole].push(wrappedRule); + } + else { + this.exclRules[triggerRole] = this.exclRules[triggerRole] || []; + this.exclRules[triggerRole].push(wrappedRule); + } + } + if (!skipSort) { + this._sortRules(); + } + }; + Engine.prototype._sortRules = function () { + for (var role in this.inclRules) { + this.inclRules[role].sort(function (ruleA, ruleB) { + var hasDepA = ruleA.rule.dependencies && ruleA.rule.dependencies.length > 0; + var hasDepB = ruleB.rule.dependencies && ruleB.rule.dependencies.length > 0; + // If B depends on A, sort A before B + if (hasDepB && ruleB.rule.dependencies.includes(ruleA.rule.id)) + return -1; + // If A depends on B, sort B before A + if (hasDepA && ruleA.rule.dependencies.includes(ruleB.rule.id)) + return 1; + // Otherwise, doesn't matter + return 0; + }); + } + for (var role in this.exclRules) { + this.exclRules[role].sort(function (ruleA, ruleB) { + var hasDepA = ruleA.rule.dependencies && ruleA.rule.dependencies.length > 0; + var hasDepB = ruleB.rule.dependencies && ruleB.rule.dependencies.length > 0; + // If B depends on A, sort A before B + if (hasDepB && ruleB.rule.dependencies.includes(ruleA.rule.id)) + return -1; + // If A depends on B, sort B before A + if (hasDepA && ruleA.rule.dependencies.includes(ruleB.rule.id)) + return 1; + // Otherwise, doesn't matter + return 0; + }); + } + }; + Engine.prototype.addNlsMap = function (map) { + for (var key in map) { + this.nlsMap[key] = map[key]; + } + }; + Engine.prototype.addHelpMap = function (map) { + for (var key in map) { + this.helpMap[key] = map[key]; + } + }; + Engine.prototype.getMessage = function (ruleId, ruleIdx, msgArgs) { + var splitter = ruleId.indexOf("$$"); + if (splitter >= 0) { + ruleId = ruleId.substring(0, splitter); + } + if (!(ruleId in this.nlsMap)) + return ruleId; + var messageTemplate = this.nlsMap[ruleId][ruleIdx || 0]; + if (!messageTemplate) + return ruleId + "_" + ruleIdx; + return messageTemplate.replace(/\{(\d+)\}/g, function (matchedStr, matchedNum, matchedIndex) { return msgArgs[matchedNum]; }); + }; + Engine.prototype.getHelp = function (ruleId, reasonId, archiveId) { + if (!archiveId) { + // Set to the latest + archiveId = "latest"; + } + return "".concat(Config_1.Config.helpRoot, "/").concat(archiveId, "/doc").concat(this.getHelpRel(ruleId, reasonId)); + }; + Engine.prototype.getHelpRel = function (ruleId, ruleIdx) { + var splitter = ruleId.indexOf("$$"); + if (splitter >= 0) { + ruleId = ruleId.substring(0, splitter); + } + if (!(ruleId in this.helpMap)) + return ruleId; + ruleIdx = ruleIdx || 0; + var helpStr = null; + if (ruleIdx in this.helpMap[ruleId]) { + helpStr = this.helpMap[ruleId][ruleIdx || 0]; + } + else { + helpStr = this.helpMap[ruleId][0]; + } + if (!helpStr) + return ruleId + "_" + ruleIdx; + return helpStr; + }; + Engine.prototype.addMapper = function (mapper) { + this.mappers[mapper.getNamespace()] = mapper; + }; + Engine.match = function (rule, contextHier) { + var ruleParts = rule.parsedInfo.contextInfo; + var partIdx = ruleParts.length - 1; + var curNS = ruleParts[partIdx].namespace; + var curHier = contextHier[curNS][contextHier[curNS].length - 1]; + var contextNode = curHier.node; + // If the end of the rule part doesn't match the end of the hierarchy, we don't have a match + if (!ruleParts[partIdx].matches(contextHier, contextHier[curNS].length - 1)) { + return false; + } + // If there was only one part, we have a match + if (ruleParts.length === 1) { + return true; + } + // Need to deal with parent parts. To walk the hierarchy, these need to be + // all in the same namespace. Confirm that is true. + curNS = ruleParts[0].namespace; + curHier = contextHier[curNS][contextHier[curNS].length - 1]; + --partIdx; + if (ruleParts.slice(0, ruleParts.length - 1).some(function (part) { return part.namespace !== curNS; })) { + console.error("[ERROR] Rule ".concat(rule.rule.id, " has inconsitent parent namespaces")); + return false; + } + // If the target node matches the end of the hierarchy, move up past it, otherwise, start at the end + var hierIdx = contextHier[curNS].length - (curHier.node.isSameNode(contextNode) ? 2 : 1); + while (hierIdx >= 0 && partIdx >= 0) { + var part = ruleParts[partIdx]; + var matchesPart = ruleParts[partIdx].matches(contextHier, hierIdx); + if (part.connector === ">") { + if (!matchesPart) { + // Direct parent check and doesn't match + return false; + } + else { + // Direct parent check and does match + --partIdx; + --hierIdx; + } + } + else if (part.connector === " ") { + if (part.inclusive) { + // inclusive ancestor match + if (matchesPart) { + --partIdx; + } + // If doesn't match, just move up the role hierarchy + --hierIdx; + } + else if (!matchesPart) { + // exclusive ancestor match and current matches + return false; + } + else { + // exclusive ancestor match and current doesn't match - check for other ancestors + var parentMatch = false; + for (var searchIdx = hierIdx - 1; !parentMatch && searchIdx >= 0; --searchIdx) { + parentMatch = !ruleParts[partIdx].matches(contextHier, searchIdx); + } + if (parentMatch) + return false; + else + --partIdx; + } + } + else { + throw new Error("Context connector " + part.connector + " is not supported"); + } + } + return partIdx === -1; + }; + Engine.prototype.getMatchingRules = function (ctxHier) { + var matches = []; + function addMatches(rules) { + for (var _i = 0, rules_2 = rules; _i < rules_2.length; _i++) { + var rule = rules_2[_i]; + if (rule.rule.enabled && Engine.match(rule, ctxHier)) { + matches.push(rule); + } + } + } + for (var ns in ctxHier) { + var role = ns + ":" + (ctxHier[ns].length > 0 ? ctxHier[ns][ctxHier[ns].length - 1].role : "none"); + if (role in this.inclRules) { + addMatches(this.inclRules[role]); + } + for (var xRole in this.exclRules) { + if (xRole !== role) { + addMatches(this.exclRules[xRole]); + } + } + if (role !== ns + ":none") { + if (role.startsWith(ns + ":/")) { + if (ns + ":/*" in this.inclRules) { + addMatches(this.inclRules[ns + ":/*"]); + } + } + else { + if (ns + ":*" in this.inclRules) { + addMatches(this.inclRules[ns + ":*"]); + } + } + } + } + return this.sortDeps(matches); + }; + /** + * Sorts the rules in order to execute dependencies in the correct order + * @param inRules List of wrapped rules to sort + * @returns Sorted list of wrapped rules + */ + Engine.prototype.sortDeps = function (inRules) { + var depRules = []; + for (var _i = 0, inRules_1 = inRules; _i < inRules_1.length; _i++) { + var rule = inRules_1[_i]; + depRules.push(rule); + } + var retVal = []; + var 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. + var change = false; + do { + change = false; + for (var idx = 0; idx < depRules.length; ++idx) { + var depRule = depRules[idx]; + if (depRule.rule.id in idToRule) + continue; + var allMatch = true; + if (depRule.rule.dependencies && depRule.rule.dependencies.length > 0) { + for (var _a = 0, _b = depRule.rule.dependencies; _a < _b.length; _a++) { + var depId = _b[_a]; + 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); + } + } + } while (change); + return retVal; + }; + return Engine; +}()); +exports.Engine = Engine; + + +/***/ }), + +/***/ "./src/v2/config/Config.ts": +/*!*********************************!*\ + !*** ./src/v2/config/Config.ts ***! + \*********************************/ +/***/ ((__unused_webpack_module, exports) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Config = void 0; +var Config = /** @class */ (function () { + function Config() { + } + Config.DEBUG = false; + Config.helpRoot = "https://able.ibm.com/rules/archives"; + return Config; +}()); +exports.Config = Config; + + +/***/ }), + +/***/ "./src/v2/dom/DOMMapper.ts": +/*!*********************************!*\ + !*** ./src/v2/dom/DOMMapper.ts ***! + \*********************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DOMMapper = void 0; +var CommonMapper_1 = __webpack_require__(/*! ../common/CommonMapper */ "./src/v2/common/CommonMapper.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../../v4/util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +var DOMMapper = /** @class */ (function (_super) { + __extends(DOMMapper, _super); + function DOMMapper() { + return _super !== null && _super.apply(this, arguments) || this; + } + DOMMapper.prototype.getRole = function (node) { + return node.nodeName.toLowerCase(); + }; + DOMMapper.prototype.getNamespace = function () { + return "dom"; + }; + DOMMapper.prototype.getAttributes = function (node) { + var retVal = {}; + if (node.nodeType === 1 /* Node.ELEMENT_NODE */) { + var elem = node; + for (var idx = 0; idx < elem.attributes.length; ++idx) { + var attrInfo = elem.attributes[idx]; + retVal[attrInfo.name.toLowerCase()] = attrInfo.nodeValue; + } + } + return retVal; + }; + /** + * get scaled bounds for screenshot etc. adjusted for devicePixelRatio and scroll + * @param node + * @returns + */ + DOMMapper.prototype.getBounds = function (node) { + if (node.nodeType !== 1 /*Node.ELEMENT_NODE*/) + return null; + var bunds = CacheUtil_1.CacheUtil.getCache(node, "DOMMapper_Bounds", undefined); + if (bunds === undefined) { + var adjustment = 1; + if (node.ownerDocument && node.ownerDocument.defaultView && node.ownerDocument.defaultView.devicePixelRatio) { + adjustment = node.ownerDocument.defaultView.devicePixelRatio; + } + var bounds = node.getBoundingClientRect(); + // Do a check whether bounds has value as we use different tool (htmlUnit, browser) to call this function + if (bounds) { + var scrollX_1 = node && node.ownerDocument && node.ownerDocument.defaultView && node.ownerDocument.defaultView.scrollX || 0; + var scrollY_1 = node && node.ownerDocument && node.ownerDocument.defaultView && node.ownerDocument.defaultView.scrollY || 0; + var ret = { + "left": Math.ceil((bounds.left + scrollX_1) * adjustment), + "top": Math.ceil((bounds.top + scrollY_1) * adjustment), + "height": Math.ceil(bounds.height * adjustment), + "width": Math.ceil(bounds.width * adjustment) + }; + CacheUtil_1.CacheUtil.setCache(node, "DOMMapper_Bounds", ret); + return ret; + } + return null; + } + return bunds; + }; + /** + * get real CSS bounds in css pixels, adjusted for scroll only + * @param node + * @returns + */ + DOMMapper.prototype.getUnadjustedBounds = function (node) { + if (node.nodeType !== 1 /*Node.ELEMENT_NODE*/) + return null; + var bunds = CacheUtil_1.CacheUtil.getCache(node, "DOMMapper_UnadjustedBounds", undefined); + if (bunds === undefined) { + var bounds = node.getBoundingClientRect(); + // adjusted for scroll if any + if (bounds) { + var scrollX_2 = node && node.ownerDocument && node.ownerDocument.defaultView && node.ownerDocument.defaultView.scrollX || 0; + var scrollY_2 = node && node.ownerDocument && node.ownerDocument.defaultView && node.ownerDocument.defaultView.scrollY || 0; + var ret = { + "left": Math.ceil(bounds.left + scrollX_2), + "top": Math.ceil(bounds.top + scrollY_2), + "height": Math.ceil(bounds.height), + "width": Math.ceil(bounds.width) + }; + CacheUtil_1.CacheUtil.setCache(node, "DOMMapper_UnadjustedBounds", ret); + return ret; + } + return null; + } + return bunds; + }; + return DOMMapper; +}(CommonMapper_1.CommonMapper)); +exports.DOMMapper = DOMMapper; + + +/***/ }), + +/***/ "./src/v2/dom/DOMUtil.ts": +/*!*******************************!*\ + !*** ./src/v2/dom/DOMUtil.ts ***! + \*******************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DOMUtil = void 0; +var DOMWalker_1 = __webpack_require__(/*! ./DOMWalker */ "./src/v2/dom/DOMWalker.ts"); +var DOMUtil = /** @class */ (function () { + function DOMUtil() { + } + DOMUtil.hasParent = function (node, names) { + var p = DOMWalker_1.DOMWalker.parentElement(node); + while (p && !names.includes(p.nodeName)) { + p = DOMWalker_1.DOMWalker.parentElement(p); + } + return !!p; + }; + DOMUtil.getAncestor = function (node, names) { + var p = DOMWalker_1.DOMWalker.parentElement(node); + while (p && !names.includes(p.nodeName.toLowerCase())) { + p = DOMWalker_1.DOMWalker.parentElement(p); + } + return p; + }; + DOMUtil.sameNode = function (a, b) { + if (a === b) { + return true; + } + else if (a.isSameNode) { + return a.isSameNode(b); + } + else if (a.compareDocumentPosition) { + return a.compareDocumentPosition(b) === 0; + } + else { + // Not supported in this environment - try our best + return true; + } + }; + DOMUtil.cleanWhitespace = function (s) { + var retVal = s.replace(/[ \t\r\n]/g, " ").replace(/ +/g, " "); + return retVal; + }; + DOMUtil.cleanSpace = function (s) { + var retVal = s.replace(/ +/g, " "); + return retVal; + }; + // return true if element1 and element2 (cells) are in the same table + DOMUtil.isInSameTable = function (element1, element2) { + if (element1 && element2) { + var parentName = ['table']; + var parent1 = DOMUtil.getAncestor(element1, parentName); + var parent2 = DOMUtil.getAncestor(element2, parentName); + if (parent1 !== null && parent2 != null && DOMUtil.sameNode(parent1, parent2)) + return true; + } + return false; + }; + DOMUtil.shadowRootNode = function (node) { + var nd = node; + while (nd != null && nd.nodeType !== 11 /* Node.DOCUMENT_FRAGMENT_NODE */) + nd = nd.parentNode; + return nd; + }; + /** + * Copies objects, but retains Node attributes as references + * @param rhs + */ + DOMUtil.objectCopyWithNodeRefs = function (rhs) { + if (!rhs) + return rhs; + if (typeof rhs !== "object") { + if (typeof rhs === "function") { + return rhs; + } + else { + return JSON.parse(JSON.stringify(rhs)); + } + } + else if (rhs instanceof Node || !!rhs.nodeType) { + return rhs; + } + else { + var retVal = void 0; + if (rhs.constructor.name === "Array") { + retVal = []; + for (var _i = 0, rhs_1 = rhs; _i < rhs_1.length; _i++) { + var item = rhs_1[_i]; + retVal.push(this.objectCopyWithNodeRefs(item)); + } + } + else { + retVal = {}; + for (var key in rhs) { + retVal[key] = this.objectCopyWithNodeRefs(rhs[key]); + } + } + return retVal; + } + }; + DOMUtil.getAncestorWithAttribute = function (element, attrName, attrValue) { + var walkNode = DOMWalker_1.DOMWalker.parentNode(element); + while (walkNode !== null) { + if (walkNode.nodeType === 1 /* Node.ELEMENT_NODE */ && walkNode.getAttribute(attrName) === attrValue) + return walkNode; + walkNode = DOMWalker_1.DOMWalker.parentNode(walkNode); + } + return null; + }; + return DOMUtil; +}()); +exports.DOMUtil = DOMUtil; + + +/***/ }), + +/***/ "./src/v2/dom/DOMWalker.ts": +/*!*********************************!*\ + !*** ./src/v2/dom/DOMWalker.ts ***! + \*********************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DOMWalker = void 0; +var VisUtil_1 = __webpack_require__(/*! ../../v4/util/VisUtil */ "./src/v4/util/VisUtil.ts"); +/** + * Walks in a DOM order + * + * Assumption that nodes of shadow DOMs call assignSlots on the shadow root before + * doing other processing in that tree. If you walk into a shadow root, the DOMWalker + * will do it automatically. + * + * See also ../aria/ARIAWalker + */ +var DOMWalker = /** @class */ (function () { + function DOMWalker(element, bEnd, root, considerHidden, DEBUG) { + this.DEBUGIDX = 0; + this.indent = 0; + this.DEBUG = !!DEBUG; + this.root = root || ((element && element.ownerDocument) ? element.ownerDocument.documentElement : element); + if (this.root.nodeType === 9) { + this.root = this.root.documentElement; + } + this.node = element; + if (this.node.nodeType === 9) { + this.node = this.node.documentElement; + } + this.bEndTag = (bEnd == undefined ? false : bEnd == true); + this.considerHidden = considerHidden || false; + } + DOMWalker.prototype.elem = function () { + return this.node.nodeType === 1 && this.node || null; + }; + DOMWalker.parentNode = function (node) { + if (node === null) + return null; + var p = node.parentNode; + if (node.slotOwner) { + p = node.slotOwner; + } + else if (node.ownerElement) { + p = node.ownerElement; + } + else if (p && p.nodeType === 11) { + if (p.host) { + p = p.host; + } + else { + p = null; + } + } + return p; + }; + DOMWalker.parentElement = function (node) { + var elem = node; + do { + elem = DOMWalker.parentNode(elem); + } while (elem && elem.nodeType !== 1); + return elem; + }; + DOMWalker.assignSlots = function (root) { + var slots = root.querySelectorAll("slot"); + for (var iSlot = 0; iSlot < slots.length; ++iSlot) { + var processSlot = slots[iSlot]; + var assignedNodes = processSlot.assignedNodes(); + for (var iAssigned = 0; iAssigned < assignedNodes.length; ++iAssigned) { + assignedNodes[iAssigned].slotOwner = processSlot; + assignedNodes[iAssigned].slotIndex = iAssigned; + } + } + }; + DOMWalker.firstChildNotOwnedBySlot = function (node) { + var retVal = node.firstChild; + while (retVal && retVal.slotOwner) { + retVal = retVal.nextSibling; + } + return retVal; + }; + DOMWalker.lastChildNotOwnedBySlot = function (node) { + var retVal = node.lastChild; + while (retVal && retVal.slotOwner) { + retVal = retVal.previousSibling; + } + return retVal; + }; + DOMWalker.nextSiblingNotOwnedBySlot = function (node) { + var retVal = node.nextSibling; + while (retVal && retVal.slotOwner) { + retVal = retVal.nextSibling; + } + return retVal; + }; + DOMWalker.previousSiblingNotOwnedBySlot = function (node) { + var retVal = node.previousSibling; + while (retVal && retVal.slotOwner) { + retVal = retVal.previousSibling; + } + return retVal; + }; + DOMWalker.prototype.atRoot = function () { + if (this.ownerElement) + return false; + if (this.root === this.node) { + return true; + } + else if (this.root.isSameNode) { + return this.root.isSameNode(this.node); + } + else if (this.root.compareDocumentPosition) { + return this.root.compareDocumentPosition(this.node) === 0; + } + else { + // Not supported in this environment - try our best + return this.node.parentNode === null; + } + }; + DOMWalker.prototype.nextNode = function () { + var _this = this; + var indent = function () { + var s = ""; + for (var idx = 0; idx < _this.indent; ++idx) { + s += " "; + } + return s; + }; + var DBG = false; //this.DEBUGIDX >= 7 && this.DEBUGIDX <= 10; + var startName = this.node.nodeName; + if (!this.node) { + this.bEndTag = false; + return false; + } + do { + //console.log(this.node.nodeName, this.bEndTag?"END":"START", this.node.nodeType === 1 && (this.node as any).getAttribute("id")); + if (!this.bEndTag) { + var iframeNode = this.node; + var elementNode = this.node; + var slotElement = this.node; + if (this.node.nodeType === 1 /* Node.ELEMENT_NODE */ + && this.node.nodeName.toUpperCase() === "IFRAME" + && (this.considerHidden ? VisUtil_1.VisUtil.isNodeVisible(iframeNode) : true) + && iframeNode.contentDocument + && iframeNode.contentDocument.documentElement) { + DBG && console.log("!!!Into Frame"); + var ownerElement = this.node; + this.node = iframeNode.contentDocument.documentElement; + this.node.ownerElement = ownerElement; + } + else if (this.node.nodeType === 1 /* Node.ELEMENT_NODE */ + && (this.considerHidden ? VisUtil_1.VisUtil.isNodeVisible(elementNode) : true) + && elementNode.shadowRoot + && elementNode.shadowRoot.firstChild) { + DBG && console.log("!!!Into shadow root"); + var ownerElement = this.node; + this.node = elementNode.shadowRoot; + this.node.ownerElement = ownerElement; + DOMWalker.assignSlots(this.node); + } + else if (this.node.nodeType === 1 + && elementNode.nodeName.toLowerCase() === "slot" + && slotElement.assignedNodes().length > 0) { + DBG && console.log("!!!Into slot"); + this.node = slotElement.assignedNodes()[0]; + } + else if ((this.node.nodeType === 1 /* Node.ELEMENT_NODE */ || this.node.nodeType === 11 /* Node.DOCUMENT_FRAGMENT_NODE */) + && DOMWalker.firstChildNotOwnedBySlot(this.node)) { + DBG && console.log("!!!First child"); + this.node = DOMWalker.firstChildNotOwnedBySlot(this.node); + } + else { + DBG && console.log("!!!Flip to end tag"); + this.bEndTag = true; + } + } + else { + DBG && console.log("!!!1"); + if (this.atRoot()) { + DBG && console.log("!!!Done at root"); + return false; + } + else if (this.node.slotOwner) { + var slotOwner = this.node.slotOwner; + var nextSlotIndex = this.node.slotIndex + 1; + // delete (this.node as any).slotOwner; + // delete (this.node as any).slotIndex; + if (nextSlotIndex < slotOwner.assignedNodes().length) { + DBG && console.log("!!!Next slot child"); + this.node = slotOwner.assignedNodes()[nextSlotIndex]; + this.bEndTag = false; + } + else { + DBG && console.log("!!!Back up to slot owner"); + this.node = slotOwner; + this.bEndTag = true; + } + } + else if (this.node.ownerElement) { + DBG && console.log("!!!Up to frame owner"); + this.node = this.node.ownerElement; + this.bEndTag = true; + } + else if (DOMWalker.nextSiblingNotOwnedBySlot(this.node)) { + DBG && console.log("!!!Next sibling"); + this.node = DOMWalker.nextSiblingNotOwnedBySlot(this.node); + this.bEndTag = false; + } + else if (this.node.parentNode) { + DBG && console.log("!!!Parent"); + this.node = this.node.parentNode; + this.bEndTag = true; + } + else { + DBG && console.log("!!!Done with walk"); + return false; + } + } + if (DBG && ((this.node.nodeType !== 1 && this.node.nodeType !== 11 && this.node.nodeType !== 3) + || (this.node.nodeType === 1 && this.node.getAttribute("aChecker") === "ACE"))) { + this.DEBUG && console.log(indent() + "<".concat(this.bEndTag ? "/" : "").concat(this.node.nodeName, "> (from ").concat(startName, ") ").concat(this.DEBUGIDX++, " SKIPPED")); + } + } while ((this.node.nodeType !== 1 && this.node.nodeType !== 11 && this.node.nodeType !== 3) + || (this.node.nodeType === 1 && this.node.getAttribute("aChecker") === "ACE")); + if (this.bEndTag) + this.indent -= 2; + this.DEBUG && console.log(indent() + "<".concat(this.bEndTag ? "/" : "").concat(this.node.nodeName, "> (from ").concat(startName, ") ").concat(this.DEBUGIDX++)); + this.DEBUG && this.node.slotOwner && console.log(indent() + "slotOwner: ".concat(this.node.slotOwner.nodeName)); + this.DEBUG && this.node.slotIndex && console.log(indent() + "slotIndex: ".concat(this.node.slotIndex)); + this.DEBUG && this.node.ownerElement && console.log(indent() + "ownerElement: ".concat(this.node.ownerElement.nodeName)); + if (!this.bEndTag) + this.indent += 2; + return true; + }; + DOMWalker.prototype.prevNode = function () { + do { + if (this.bEndTag) { + var iframeNode = this.node; + var elementNode = this.node; + if (this.node.nodeType === 1 /* Node.ELEMENT_NODE */ + && this.node.nodeName.toUpperCase() === "IFRAME" + && (this.considerHidden ? VisUtil_1.VisUtil.isNodeVisible(iframeNode) : true) + && iframeNode.contentDocument + && iframeNode.contentDocument.documentElement) { + var ownerElement = this.node; + this.node = iframeNode.contentDocument.documentElement; + this.node.ownerElement = ownerElement; + } + else if (this.node.nodeType === 1 /* Node.ELEMENT_NODE */ + && (this.considerHidden ? VisUtil_1.VisUtil.isNodeVisible(elementNode) : true) + && elementNode.shadowRoot + && elementNode.shadowRoot.lastChild) { + var ownerElement = this.node; + this.node = elementNode.shadowRoot; + this.node.ownerElement = ownerElement; + DOMWalker.assignSlots(this.node); + } + else if ((this.node.nodeType === 1 /* Node.ELEMENT_NODE */ || this.node.nodeType === 11) + && DOMWalker.lastChildNotOwnedBySlot(this.node)) { + this.node = DOMWalker.lastChildNotOwnedBySlot(this.node); + } + else { + this.bEndTag = false; + } + } + else { + if (this.atRoot()) { + return false; + } + else if (DOMWalker.previousSiblingNotOwnedBySlot(this.node)) { + this.node = DOMWalker.previousSiblingNotOwnedBySlot(this.node); + this.bEndTag = true; + } + else if (this.node.ownerElement) { + this.node = this.node.ownerElement; + this.bEndTag = false; + } + else if (this.node.parentNode) { + this.node = this.node.parentNode; + this.bEndTag = false; + } + else { + return false; + } + } + } while ((this.node.nodeType !== 1 /* Node.ELEMENT_NODE */ && this.node.nodeType !== 11 && this.node.nodeType !== 3) + || (this.node.nodeType === 1 && this.node.getAttribute("aChecker") === "ACE")); + return true; + }; + return DOMWalker; +}()); +exports.DOMWalker = DOMWalker; + + +/***/ }), + +/***/ "./src/v2/style/StyleMapper.ts": +/*!*************************************!*\ + !*** ./src/v2/style/StyleMapper.ts ***! + \*************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.StyleMapper = void 0; +var CommonMapper_1 = __webpack_require__(/*! ../common/CommonMapper */ "./src/v2/common/CommonMapper.ts"); +var StyleMapper = /** @class */ (function (_super) { + __extends(StyleMapper, _super); + function StyleMapper() { + return _super !== null && _super.apply(this, arguments) || this; + } + StyleMapper.prototype.getRole = function (node) { + return "computed"; + }; + StyleMapper.prototype.getNamespace = function () { + return "css"; + }; + StyleMapper.prototype.getAttributes = function (node) { + var retVal = {}; + if (node.nodeType === 1 /* Node.ELEMENT_NODE */) { + var elem = node; + var style = elem.ownerDocument.defaultView.getComputedStyle(elem); + for (var idx = 0; idx < style.length; ++idx) { + var name_1 = style[idx].toLowerCase(); + retVal[name_1] = style[name_1]; + } + } + return retVal; + }; + return StyleMapper; +}(CommonMapper_1.CommonMapper)); +exports.StyleMapper = StyleMapper; + + +/***/ }), + +/***/ "./src/v4/api/IGuideline.ts": +/*!**********************************!*\ + !*** ./src/v4/api/IGuideline.ts ***! + \**********************************/ +/***/ ((__unused_webpack_module, exports) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.eGuidelineType = exports.eGuidelineCategory = exports.eToolkitLevel = void 0; +var eToolkitLevel; +(function (eToolkitLevel) { + eToolkitLevel["LEVEL_ONE"] = "1"; + eToolkitLevel["LEVEL_TWO"] = "2"; + eToolkitLevel["LEVEL_THREE"] = "3"; + eToolkitLevel["LEVEL_FOUR"] = "4"; +})(eToolkitLevel = exports.eToolkitLevel || (exports.eToolkitLevel = {})); +var eGuidelineCategory; +(function (eGuidelineCategory) { + eGuidelineCategory["ACCESSIBILITY"] = "Accessibility"; + eGuidelineCategory["DESIGN"] = "Design"; + eGuidelineCategory["OTHER"] = "Other"; +})(eGuidelineCategory = exports.eGuidelineCategory || (exports.eGuidelineCategory = {})); +var eGuidelineType; +(function (eGuidelineType) { + eGuidelineType["DEFAULT"] = "default"; + eGuidelineType["EXTENSION"] = "extension"; +})(eGuidelineType = exports.eGuidelineType || (exports.eGuidelineType = {})); + + +/***/ }), + +/***/ "./src/v4/api/IRule.ts": +/*!*****************************!*\ + !*** ./src/v4/api/IRule.ts ***! + \*****************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.eRulesetType = exports.eRuleCategory = exports.eToolkitLevel = exports.RuleManual = exports.RulePotential = exports.RuleFail = exports.RuleRender = exports.RulePass = exports.eRulePolicy = exports.eRuleConfidence = void 0; +var eRuleConfidence; +(function (eRuleConfidence) { + eRuleConfidence["PASS"] = "PASS"; + eRuleConfidence["FAIL"] = "FAIL"; + eRuleConfidence["POTENTIAL"] = "POTENTIAL"; + eRuleConfidence["MANUAL"] = "MANUAL"; +})(eRuleConfidence = exports.eRuleConfidence || (exports.eRuleConfidence = {})); +var eRulePolicy; +(function (eRulePolicy) { + eRulePolicy["VIOLATION"] = "VIOLATION"; + eRulePolicy["RECOMMENDATION"] = "RECOMMENDATION"; + eRulePolicy["INFORMATION"] = "INFORMATION"; +})(eRulePolicy = exports.eRulePolicy || (exports.eRulePolicy = {})); +function RulePass(reasonId, messageArgs, apiArgs) { + if (typeof reasonId === "undefined" || reasonId === null) + throw new Error("Reason ID must be defined"); + return { + value: [eRulePolicy.INFORMATION, eRuleConfidence.PASS], + reasonId: reasonId, + messageArgs: messageArgs || [], + apiArgs: apiArgs || [] + }; +} +exports.RulePass = RulePass; +function RuleRender(reasonId, messageArgs, apiArgs) { + if (typeof reasonId === "undefined" || reasonId === null) + throw new Error("Reason ID must be defined"); + return { + value: [eRulePolicy.INFORMATION, eRuleConfidence.PASS], + reasonId: 0, + messageArgs: messageArgs || [], + apiArgs: apiArgs || [] + }; +} +exports.RuleRender = RuleRender; +function RuleFail(reasonId, messageArgs, apiArgs) { + if (typeof reasonId === "undefined" || reasonId === null) + throw new Error("Reason ID must be defined"); + return { + value: [eRulePolicy.INFORMATION, eRuleConfidence.FAIL], + reasonId: reasonId, + messageArgs: messageArgs || [], + apiArgs: apiArgs || [] + }; +} +exports.RuleFail = RuleFail; +function RulePotential(reasonId, messageArgs, apiArgs) { + if (typeof reasonId === "undefined" || reasonId === null) + throw new Error("Reason ID must be defined"); + return { + value: [eRulePolicy.INFORMATION, eRuleConfidence.POTENTIAL], + reasonId: reasonId, + messageArgs: messageArgs || [], + apiArgs: apiArgs || [] + }; +} +exports.RulePotential = RulePotential; +function RuleManual(reasonId, messageArgs, apiArgs) { + if (typeof reasonId === "undefined" || reasonId === null) + throw new Error("Reason ID must be defined"); + return { + value: [eRulePolicy.INFORMATION, eRuleConfidence.MANUAL], + reasonId: reasonId, + messageArgs: messageArgs || [], + apiArgs: apiArgs || [] + }; +} +exports.RuleManual = RuleManual; +/** + * @deprecated See ./IGuideline + */ +var IGuideline_1 = __webpack_require__(/*! ./IGuideline */ "./src/v4/api/IGuideline.ts"); +Object.defineProperty(exports, "eToolkitLevel", ({ enumerable: true, get: function () { return IGuideline_1.eToolkitLevel; } })); +/** + * @deprecated See ./IGuideline:eGuidelineCategory + */ +var IGuideline_2 = __webpack_require__(/*! ./IGuideline */ "./src/v4/api/IGuideline.ts"); +Object.defineProperty(exports, "eRuleCategory", ({ enumerable: true, get: function () { return IGuideline_2.eGuidelineCategory; } })); +/** + * @deprecated See ./IGuideline:eGuidelineType + */ +var IGuideline_3 = __webpack_require__(/*! ./IGuideline */ "./src/v4/api/IGuideline.ts"); +Object.defineProperty(exports, "eRulesetType", ({ enumerable: true, get: function () { return IGuideline_3.eGuidelineType; } })); + + +/***/ }), + +/***/ "./src/v4/checker/Checker.ts": +/*!***********************************!*\ + !*** ./src/v4/checker/Checker.ts ***! + \***********************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Checker = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var Engine_1 = __webpack_require__(/*! ../../v2/common/Engine */ "./src/v2/common/Engine.ts"); +var ARIAMapper_1 = __webpack_require__(/*! ../../v2/aria/ARIAMapper */ "./src/v2/aria/ARIAMapper.ts"); +var StyleMapper_1 = __webpack_require__(/*! ../../v2/style/StyleMapper */ "./src/v2/style/StyleMapper.ts"); +var rulesets_1 = __webpack_require__(/*! ../rulesets */ "./src/v4/rulesets.ts"); +var checkRulesV4 = __webpack_require__(/*! ../rules */ "./src/v4/rules/index.ts"); +var IGuideline_1 = __webpack_require__(/*! ../api/IGuideline */ "./src/v4/api/IGuideline.ts"); +var checkRules = []; +var checkNls = {}; +var checkHelp = {}; +function _initialize() { + var langs = JSON.parse(JSON.stringify(Engine_1.Engine.getLanguages())); + // Default lang to en-US if nothing else specified is found + langs.push("en-US"); + // Process V4 rules into the V2 format + for (var rulename in checkRulesV4) { + // Convert rule + var v4Rule = checkRulesV4[rulename]; + checkRules.push(v4Rule); + // Go backwards because the first lang is the preferred, so + // earlier languages will override later languages + for (var idx = langs.length - 1; idx >= 0; --idx) { + var langId = langs[idx]; + if (langId in v4Rule.messages) { + checkNls[v4Rule.id] = v4Rule.messages[langId]; + checkNls[v4Rule.id][0] = checkNls[v4Rule.id].group; + } + if (langId in v4Rule.help) { + checkHelp[v4Rule.id] = {}; + for (var reasonId in v4Rule.help[langId]) { + checkHelp[v4Rule.id][reasonId] = "/".concat(langId, "/").concat(v4Rule.help[langId][reasonId]); + } + checkNls[v4Rule.id][0] = checkNls[v4Rule.id].group; + } + } + // Convert RS + for (var _i = 0, _a = v4Rule.rulesets; _i < _a.length; _i++) { + var rsSection = _a[_i]; + for (var _b = 0, _c = rulesets_1.a11yRulesets; _b < _c.length; _b++) { + var rs = _c[_b]; + var checkRsIds = typeof rsSection.id === "string" ? [rsSection.id] : rsSection.id; + if (checkRsIds.includes(rs.id)) { + for (var _d = 0, _e = rs.checkpoints; _d < _e.length; _d++) { + var cp = _e[_d]; + var checkCPIds = typeof rsSection.num === "string" ? [rsSection.num] : rsSection.num; + if (checkCPIds.includes(cp.num)) { + cp.rules = cp.rules || []; + cp.rules.push({ + id: v4Rule.id, + reasonCodes: rsSection.reasonCodes, + level: rsSection.level, + toolkitLevel: rsSection.toolkitLevel + }); + } + } + } + } + } + } +} +_initialize(); +var Checker = /** @class */ (function () { + function Checker() { + this.guidelines = []; + /** + * @deprecated Use getGuidelines(). + */ + this.rulesets = this.guidelines; + /** + * @deprecated Use getGuidelineIds(). + */ + this.rulesetIds = []; + this.rulesetRules = {}; + this.ruleLevels = {}; + this.ruleReasonLevels = {}; + this.ruleCategory = {}; + var engine = this.engine = new Engine_1.Engine(); + engine.addMapper(new ARIAMapper_1.ARIAMapper()); + engine.addMapper(new StyleMapper_1.StyleMapper()); + engine.addRules(checkRules); + engine.addNlsMap(checkNls); + engine.addHelpMap(checkHelp); + for (var _i = 0, a11yRulesets_1 = rulesets_1.a11yRulesets; _i < a11yRulesets_1.length; _i++) { + var rs = a11yRulesets_1[_i]; + this.addRuleset(rs); + } + } + /** + * Adds a guideline to the engine. If the id already exists, the previous guideline will be replaced. + * @param guideline + */ + Checker.prototype.addGuideline = function (guideline) { + if (guideline.id in this.rulesetRules) { + this.removeGuideline(guideline.id); + } + this.guidelines.push(guideline); + this.rulesetIds.push(guideline.id); + var ruleIds = []; + for (var _i = 0, _a = guideline.checkpoints; _i < _a.length; _i++) { + var cp = _a[_i]; + cp.rules = cp.rules || []; + for (var _b = 0, _c = cp.rules; _b < _c.length; _b++) { + var rule = _c[_b]; + if (rule.enabled !== false) { + ruleIds.push(rule.id); + //this.ruleLevels[rule.id] = this.ruleLevels[rule.id] || {}; + //this.ruleLevels[rule.id][guideline.id] = rule.level; + this.ruleReasonLevels[rule.id] = this.ruleReasonLevels[rule.id] || {}; + this.ruleReasonLevels[rule.id][guideline.id] = this.ruleReasonLevels[rule.id][guideline.id] || {}; + var code = rule.reasonCodes ? rule.reasonCodes.join('--') : "None"; + this.ruleReasonLevels[rule.id][guideline.id][code] = rule.level; + this.ruleCategory[rule.id] = this.ruleCategory[rule.id] || {}; + this.ruleCategory[rule.id][guideline.id] = guideline.category; + } + } + } + this.rulesetRules[guideline.id] = ruleIds; + }; + /** + * Enable a rule for all guidelines + * @param ruleId + */ + Checker.prototype.enableRule = function (ruleId) { + for (var _i = 0, _a = this.getGuidelines(); _i < _a.length; _i++) { + var guideline = _a[_i]; + var updated = false; + for (var _b = 0, _c = guideline.checkpoints; _b < _c.length; _b++) { + var cp = _c[_b]; + for (var _d = 0, _e = cp.rules; _d < _e.length; _d++) { + var rule = _e[_d]; + if (rule.enabled === false) { + updated = true; + delete rule.enabled; + } + } + } + if (updated) { + this.addGuideline(guideline); + } + } + }; + /** + * Disable a rule for all guidelines + * @param ruleId + */ + Checker.prototype.disableRule = function (ruleId) { + for (var _i = 0, _a = this.getGuidelines(); _i < _a.length; _i++) { + var guideline = _a[_i]; + var updated = false; + for (var _b = 0, _c = guideline.checkpoints; _b < _c.length; _b++) { + var cp = _c[_b]; + for (var _d = 0, _e = cp.rules; _d < _e.length; _d++) { + var rule = _e[_d]; + if (rule.enabled !== false) { + updated = true; + rule.enabled = false; + } + } + } + if (updated) { + this.addGuideline(guideline); + } + } + }; + /** + * Remove a guideline from the engine + * + * Generally, there isn't a good reason to do this. Users should just not select the guideline as an option in check + * @param guidelineId + */ + Checker.prototype.removeGuideline = function (guidelineId) { + if (guidelineId in this.rulesetRules) { + delete this.rulesetRules[guidelineId]; + this.rulesets = this.guidelines = this.guidelines.filter(function (guideline) { return guideline.id !== guidelineId; }); + this.rulesetIds = this.getGuidelineIds(); + } + }; + /** + * Get the guidelines available in the engine + * @returns + */ + Checker.prototype.getGuidelines = function () { + return JSON.parse(JSON.stringify(this.guidelines)); + }; + /** + * Get the ids of the guidelines available in the engine + * @returns + */ + Checker.prototype.getGuidelineIds = function () { + return this.guidelines.map(function (guideline) { return guideline.id; }); + }; + /** + * + * @deprecated See addGuideline + */ + Checker.prototype.addRuleset = function (rs) { + this.addGuideline(rs); + }; + /** + * Perform a check of the specified node/document + * @param node DOMNode or Document on which to run the check + * @param guidelineIds Guideline ids to check with to specify which rules to run + * @returns + */ + Checker.prototype.check = function (node, guidelineIds) { + // Determine which rules to run + var ruleIds = []; + // Fix the input + if (!guidelineIds) { + ruleIds = this.engine.getRulesIds(); + } + else { + if (typeof guidelineIds === "string") { + guidelineIds = [guidelineIds]; + } + for (var _i = 0, guidelineIds_1 = guidelineIds; _i < guidelineIds_1.length; _i++) { + var rsId = guidelineIds_1[_i]; + if (rsId in this.rulesetRules) { + ruleIds = ruleIds.concat(this.rulesetRules[rsId]); + } + } + } + this.engine.enableRules(ruleIds); + // Add the report levels + var myThis = this; + return this.engine.run(node) + .then(function (report) { + report.nls = {}; + for (var _i = 0, _a = report.results; _i < _a.length; _i++) { + var result = _a[_i]; + if (result.ruleId in checkNls) { + report.nls[result.ruleId] = report.nls[result.ruleId] || { + 0: checkNls[result.ruleId][0] + }; + if (result.reasonId in checkNls[result.ruleId]) { + report.nls[result.ruleId][result.reasonId] = checkNls[result.ruleId][result.reasonId]; + } + } + //result.value[0] = myThis.getLevel(guidelineIds as string[], result.ruleId); + var code = result.reasonId ? result.reasonId : "None"; + result.value[0] = myThis.getReasonLevel(guidelineIds, result.ruleId, code); + result.category = myThis.getCategory(guidelineIds, result.ruleId); + delete result.path.css; + } + return report; + }); + }; + Checker.prototype.getLevel = function (rsIds, ruleId) { + if (!rsIds) + return IRule_1.eRulePolicy.INFORMATION; + var rsInfo = this.ruleLevels[ruleId]; + var retVal = null; + if (rsIds) { + if (!(ruleId in this.ruleLevels)) { + throw new Error("Rule triggered for which we have no rule level information: " + ruleId); + } + for (var _i = 0, rsIds_1 = rsIds; _i < rsIds_1.length; _i++) { + var rsId = rsIds_1[_i]; + if (rsId in rsInfo) { + if (rsInfo[rsId] === IRule_1.eRulePolicy.VIOLATION) { + retVal = IRule_1.eRulePolicy.VIOLATION; + } + else if (rsInfo[rsId] === IRule_1.eRulePolicy.RECOMMENDATION && retVal === null) { + retVal = IRule_1.eRulePolicy.RECOMMENDATION; + } + else if (retVal === null) { + retVal = IRule_1.eRulePolicy.INFORMATION; + } + } + } + } + if (retVal === null) { + throw new Error("Rule triggered for which we have no rule level information: " + ruleId); + } + return retVal; + }; + Checker.prototype.getReasonLevel = function (rsIds, ruleId, reasonCode) { + if (!rsIds) + return IRule_1.eRulePolicy.INFORMATION; + var rsInfo = this.ruleReasonLevels[ruleId]; + var retVal = null; + if (rsIds) { + if (!(ruleId in this.ruleReasonLevels)) { + throw new Error("Rule triggered for which we have no rule level information " + ruleId); + } + var _loop_1 = function (rsId) { + if (rsId in rsInfo) { + var reCode_1 = new RegExp("(^|--)".concat(reasonCode, "($|--)")); + Object.keys(rsInfo[rsId]).forEach(function (code) { + var level = null; + if (code === 'None') + level = rsInfo[rsId]["None"]; + else if (reCode_1.test(code)) + level = rsInfo[rsId][code]; + if (level !== null) { + if (level === IRule_1.eRulePolicy.VIOLATION) { + retVal = IRule_1.eRulePolicy.VIOLATION; + } + else if (level === IRule_1.eRulePolicy.RECOMMENDATION && retVal === null) { + retVal = IRule_1.eRulePolicy.RECOMMENDATION; + } + else if (retVal === null) { + retVal = IRule_1.eRulePolicy.INFORMATION; + } + } + }); + if (retVal === null) { + retVal = IRule_1.eRulePolicy.INFORMATION; + } + } + }; + for (var _i = 0, rsIds_2 = rsIds; _i < rsIds_2.length; _i++) { + var rsId = rsIds_2[_i]; + _loop_1(rsId); + } + } + if (retVal === null) { + throw new Error("Rule triggered for which we have no rule level information: " + ruleId); + } + return retVal; + }; + Checker.prototype.getCategory = function (rsIds, ruleId) { + var rsInfo = this.ruleCategory[ruleId]; + var retVal = ""; + if (!(ruleId in this.ruleCategory)) { + return IGuideline_1.eGuidelineCategory.OTHER; + } + if (!rsIds) { + rsIds = this.getGuidelineIds(); + } + for (var _i = 0, rsIds_3 = rsIds; _i < rsIds_3.length; _i++) { + var rsId = rsIds_3[_i]; + if (rsId in rsInfo) { + return rsInfo[rsId]; + } + } + return IGuideline_1.eGuidelineCategory.OTHER; + }; + return Checker; +}()); +exports.Checker = Checker; + + +/***/ }), + +/***/ "./src/v4/rules/a_target_warning.ts": +/*!******************************************!*\ + !*** ./src/v4/rules/a_target_warning.ts ***! + \******************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.a_target_warning = void 0; +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +exports.a_target_warning = { + id: "a_target_warning", + context: "dom:a[target],dom:area[target],dom:base[target]", + refactor: { + "WCAG20_A_TargetAndText": { + "Pass_0": "pass", + "Potential_1": "potential_warn" + } + }, + help: { + "en-US": { + "group": "a_target_warning.html", + "pass": "a_target_warning.html", + "potential_warn": "a_target_warning.html" + } + }, + messages: { + "en-US": { + "group": "Users should be warned in advance if their input action will open a new window", + "pass": "The user is warned in advance that the input action opens a new window", + "potential_warn": "Inform the user when their input action will open a new window" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: "3.2.2", + level: IRule_2.eRulePolicy.RECOMMENDATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // skip the rule if it's AT hidden and not tabbable + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext) && !CommonUtil_1.CommonUtil.isTabbable(ruleContext)) + return null; + var params = { + paramWinText: { + value: ["new window", "new tab"], + type: "array" + } + }; + var tStr = ruleContext.getAttribute("target"); + var passed = tStr == "_parent" || tStr == "_self" || tStr == "_top" || CommonUtil_1.CommonUtil.getFrameByName(ruleContext, tStr) != null; + if (!passed) { + // Name is not part of this frameset – must have potential to create new window? + // See if a new window is mentioned + var textStr = CommonUtil_1.CommonUtil.getInnerText(ruleContext); + if (ruleContext.hasAttribute("title")) + textStr += " " + ruleContext.getAttribute("title"); + for (var i = 0; !passed && i < params.paramWinText.value.length; ++i) + if (textStr.indexOf(params.paramWinText.value[i]) != -1) + passed = true; + } + return passed ? (0, IRule_1.RulePass)("pass") : (0, IRule_1.RulePotential)("potential_warn"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/a_text_purpose.ts": +/*!****************************************!*\ + !*** ./src/v4/rules/a_text_purpose.ts ***! + \****************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.a_text_purpose = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AccNameUtil_1 = __webpack_require__(/*! ../util/AccNameUtil */ "./src/v4/util/AccNameUtil.ts"); +exports.a_text_purpose = { + id: "a_text_purpose", + // doc-biblioref is a link + context: "aria:link,aria:doc-biblioref", + refactor: { + "WCAG20_A_HasText": { + "Pass_0": "pass", + "Fail_1": "fail_acc_name" + } + }, + help: { + "en-US": { + "group": "a_text_purpose.html", + "pass": "a_text_purpose.html", + "fail_acc_name": "a_text_purpose.html" + } + }, + messages: { + "en-US": { + "group": "Hyperlinks must have an accessible name for their purpose", + "pass": "Hyperlink has a description of its purpose", + "fail_acc_name": "Hyperlink has no link text, label or image with a text alternative" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: ["2.4.4", "4.1.2"], + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: "c487ae", + run: function (context, options) { + var ruleContext = context["dom"].node; + //skip the check if the element is hidden or disabled + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) { + return null; + } + // Rule only passes if an element has inner content, + // in the case that there is only hidden content under the the element it is a violation + var accName_pair = AccNameUtil_1.AccNameUtil.computeAccessibleName(ruleContext); + var passed = (accName_pair && accName_pair.name && accName_pair.name.trim().length > 0) + /**ARIAMapper.computeName(ruleContext).trim().length > 0*/ + || CommonUtil_1.CommonUtil.nonTabableChildCheck(ruleContext); + if (!passed) { + return (0, IRule_1.RuleFail)("fail_acc_name"); + } + else { + return (0, IRule_1.RulePass)("pass"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/applet_alt_exists.ts": +/*!*******************************************!*\ + !*** ./src/v4/rules/applet_alt_exists.ts ***! + \*******************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.applet_alt_exists = void 0; +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +exports.applet_alt_exists = { + 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": "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": { + "group": "<applet> elements must provide an 'alt' attribute and an alternative description", + "Pass_0": "Rule Passed", + "Fail_1": "An <applet> element does not have an 'alt' attribute that provides a short text alternative", + "Fail_2": "The 'alt' attribute value for an <applet> element duplicates the 'code' attribute", + "Fail_3": "An <applet> element provides alternative text, but does not provide inner content" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: "1.1.1", + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + // JCH - NO OUT OF SCOPE hidden in context + if (!CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "alt")) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + var alt = ruleContext.getAttribute("alt").trim(); + if (ruleContext.hasAttribute("code") && alt == ruleContext.getAttribute("code").trim()) { + return (0, IRule_1.RuleFail)("Fail_2"); + } + else if (!CommonUtil_1.CommonUtil.hasInnerContentHidden(ruleContext)) { + return (0, IRule_1.RuleFail)("Fail_3"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/application_content_accessible.ts": +/*!********************************************************!*\ + !*** ./src/v4/rules/application_content_accessible.ts ***! + \********************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.application_content_accessible = void 0; +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +exports.application_content_accessible = { + 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: "application_content_accessible.html", + "Pass_0": "application_content_accessible.html", + "Potential_1": "application_content_accessible.html" + } + }, + messages: { + "en-US": { + "group": "Non-decorative static text and image content within an element with \"application\" role must be accessible", + "Pass_0": "Rule Passed", + "Potential_1": "Verify that the non-decorative static text and image content within an element with \"application\" role are accessible" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: ["1.1.1", "2.1.1"], + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = true; + var children = ruleContext.childNodes; + for (var i = 0; passed && i < children.length; i++) { + if (children[i].nodeType === 1) { + if (VisUtil_1.VisUtil.isNodeVisible(children[i])) { + passed = AriaUtil_1.AriaUtil.hasRoleInSemantics(children[i], "document") || AriaUtil_1.AriaUtil.hasRoleInSemantics(children[i], "article"); + } + } + else if (children[i].nodeType === 3) { + passed = children[i].nodeValue.trim().length === 0; + } + } + return passed ? (0, IRule_1.RulePass)("Pass_0") : (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/area_alt_exists.ts": +/*!*****************************************!*\ + !*** ./src/v4/rules/area_alt_exists.ts ***! + \*****************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.area_alt_exists = void 0; +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +exports.area_alt_exists = { + id: "area_alt_exists", + context: "dom:area", + refactor: { + "WCAG20_Area_HasAlt": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "group": "area_alt_exists.html", + "Pass_0": "area_alt_exists.html", + "Fail_1": "area_alt_exists.html" + } + }, + messages: { + "en-US": { + "group": "<area> elements in an image map must have a text alternative", + "Pass_0": "Rule Passed", + "Fail_1": "<area> element in an image map has no text alternative" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: "1.1.1", + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + // JCH - NO OUT OF SCOPE hidden in context + if (CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "alt")) { + return (0, IRule_1.RulePass)("Pass_0"); + } + else { + return (0, IRule_1.RuleFail)("Fail_1"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_accessiblename_exists.ts": +/*!****************************************************!*\ + !*** ./src/v4/rules/aria_accessiblename_exists.ts ***! + \****************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_accessiblename_exists = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +var AccNameUtil_1 = __webpack_require__(/*! ../util/AccNameUtil */ "./src/v4/util/AccNameUtil.ts"); +exports.aria_accessiblename_exists = { + id: "aria_accessiblename_exists", + context: "aria:columnheader, aria:form, aria:heading, aria:rowheader, aria:table, aria:graphics-document,aria:graphics-symbol, aria:img,aria:image, doc-backlink, doc-biblioentry, doc-biblioref, doc-glossref, doc-noteref, doc-pagebreak, doc-example", + help: { + "en-US": { + "pass": "aria_accessiblename_exists.html", + "fail_no_accessible_name": "aria_accessiblename_exists.html", + "fail_no_accessible_name_image": "aria_accessiblename_exists.html", + "group": "aria_accessiblename_exists.html" + } + }, + messages: { + "en-US": { + "pass": "An accessible name is provided for the element", + "fail_no_accessible_name": "Element <{0}> with \"{1}\" role has no accessible name", + "fail_no_accessible_name_image": "Element <{0}> with \"{1}\" role has no accessible name", + "group": "Elements with certain roles should have accessible names" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE, + reasonCodes: ["fail_no_accessible_name"] + }, + { + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["ARIA"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE, + reasonCodes: ["fail_no_accessible_name_image"] + }], + act: [{ "23a2a8": { "fail_no_accessible_name_image": "fail" } }], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var nodeName = ruleContext.nodeName.toLocaleLowerCase(); + // svg element is handled in svg_graphics_labbelled rule and image rules + if (nodeName === 'svg' || nodeName === 'img') + return; + // when table element with a caption as first child + if (nodeName === 'table' + && ruleContext.firstElementChild && ruleContext.firstElementChild.nodeName.toLowerCase() === 'caption' + && ruleContext.firstElementChild.textContent && ruleContext.firstElementChild.textContent.trim().length > 0) + return (0, IRule_1.RulePass)("pass"); + var invalidRoles = AriaUtil_1.AriaUtil.getRolesUndefinedByAria(ruleContext); + if (invalidRoles && invalidRoles.length > 0) + return null; + var deprecatedRoles = AriaUtil_1.AriaUtil.getDeprecatedAriaRoles(ruleContext); + if (deprecatedRoles && deprecatedRoles.length > 0) + return null; + var deprecatedAttributes = AriaUtil_1.AriaUtil.getDeprecatedAriaAttributes(ruleContext); + if (deprecatedAttributes && deprecatedAttributes.length > 0) + return null; + var role = AriaUtil_1.AriaUtil.getResolvedRole(ruleContext); + var name_pair = AccNameUtil_1.AccNameUtil.computeAccessibleName(ruleContext); + if (!name_pair || !name_pair.name || name_pair.name.trim().length === 0) { + if (role === 'img' || role === 'image') + return (0, IRule_1.RuleFail)("fail_no_accessible_name_image", [ruleContext.nodeName.toLowerCase(), role]); + return (0, IRule_1.RuleFail)("fail_no_accessible_name", [ruleContext.nodeName.toLowerCase(), role]); + } + return (0, IRule_1.RulePass)("pass"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_activedescendant_tabindex_valid.ts": +/*!**************************************************************!*\ + !*** ./src/v4/rules/aria_activedescendant_tabindex_valid.ts ***! + \**************************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_activedescendant_tabindex_valid = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.aria_activedescendant_tabindex_valid = { + id: "aria_activedescendant_tabindex_valid", + context: "dom:*[aria-activedescendant]", + refactor: { + "Rpt_Aria_InvalidTabindexForActivedescendant": { + "pass": "pass", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "pass": "aria_activedescendant_tabindex_valid.html", + "Fail_1": "aria_activedescendant_tabindex_valid.html", + "group": "aria_activedescendant_tabindex_valid.html" + } + }, + messages: { + "en-US": { + "pass": "Rule Passed", + "Fail_1": "The <{0}> element using 'aria-activedescendant' set to \"{1}\" is not tabbable", + "group": "Element using 'aria-activedescendant' property should be tabbable" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = false; + var nodeName = ruleContext.nodeName.toLowerCase(); + // Rule not supported on mobile + if (ruleContext.hasAttribute("class") && ruleContext.getAttribute("class").substring(0, 3) == "mbl") { + return null; + } + // Handle the case where the element is hidden by a disabled HTML5 attribute or aria-disabled: + // 1. In the case that this element has a disabled attribute and the element supports it, we mark this rule as passed. + // 2. In the case that this element has an aria-disabled attribute then, we mark this rule as passed. + // For both of the cases above we do not need to perform any further checks, as the element is disabled in some form or another. + if (CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) { + return null; + } + //ignore if the attribute 'aria-activedescendant' is blank + if (ruleContext.getAttribute("aria-activedescendant").trim().length === 0) + return; + // If the tabindex attribute is provided then verify that it is 0 or -1 + passed = CommonUtil_1.CommonUtil.isTabbable(ruleContext); + // pass if one of the children is tabbable. in this case, the tab will stop on the first tabbable element + if (!passed) + passed = CommonUtil_1.CommonUtil.getTabbableChildren(ruleContext) > 0; + // Build array for node token + var retToken1 = new Array(); + retToken1.push(nodeName); + // Build array for id referenced by aria-activedescendant + var retToken2 = new Array(); + retToken2.push(ruleContext.getAttribute("aria-activedescendant").split(" ").join(", ")); + //return new ValidationResult(passed, [ruleContext], '', '', passed == true ? [] : [retToken1, retToken2]); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", [retToken1.toString(), retToken2.toString()]); + } + else { + return (0, IRule_1.RulePass)("pass"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_activedescendant_valid.ts": +/*!*****************************************************!*\ + !*** ./src/v4/rules/aria_activedescendant_valid.ts ***! + \*****************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_activedescendant_valid = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var fragment_1 = __webpack_require__(/*! ../../v2/checker/accessibility/util/fragment */ "./src/v2/checker/accessibility/util/fragment.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +var DOMUtil_1 = __webpack_require__(/*! ../../v2/dom/DOMUtil */ "./src/v2/dom/DOMUtil.ts"); +exports.aria_activedescendant_valid = { + 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": "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: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "The 'aria-activedescendant' property is empty", + "Fail_2": "The 'aria-activedescendant' property references a hidden node", + "Fail_3": "Element is not a combobox, and the referenced active-descendant element is not a valid descendant", + // "Fail_4": "Element is a combobox, and the referenced active-descendant element is not controlled by this component", + "group": "The 'aria-activedescendant' property must reference the 'id' of a non-empty, non-hidden active child element" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // combobox active descendants handled by 'combobox_active_descendant' + if (AriaUtil_1.AriaUtil.hasRoleInSemantics(ruleContext, "combobox")) { + return null; + } + var descendant_id = AriaUtil_1.AriaUtil.getAriaAttribute(ruleContext, "aria-activedescendant"); + // POF1: The attribute is empty + if (!descendant_id || descendant_id.trim() === "") { + return (0, IRule_1.RuleFail)("Fail_1"); + } + var descendant = fragment_1.FragmentUtil.getById(ruleContext, descendant_id.trim()); + if (!descendant || DOMUtil_1.DOMUtil.sameNode(descendant_id, ruleContext)) { + // The referenced element doesn't exist. We let 1077 to trigger the error + return null; + } + if (!VisUtil_1.VisUtil.isNodeVisible(descendant)) { + // POF2: aria-activedescendant references a hidden node + return (0, IRule_1.RuleFail)("Fail_2"); + } + // 1. The value of aria-activedescendant refers to an element that is either a descendant of + // the element with DOM focus + if (ruleContext.contains(descendant)) { + return (0, IRule_1.RulePass)("Pass_0"); + } + var pofId = 2; + // or is a logical descendant as indicated by the aria-owns attribute. + if (ruleContext.hasAttribute("aria-owns")) { + var owned_ids = CommonUtil_1.CommonUtil.normalizeSpacing(ruleContext.getAttribute("aria-owns").trim()).split(" "); + for (var i = 0; i < owned_ids.length; i++) { + var owned_ele = fragment_1.FragmentUtil.getById(ruleContext, owned_ids[i]); + if (owned_ele && !DOMUtil_1.DOMUtil.sameNode(owned_ele, ruleContext) && owned_ele.contains(descendant)) { + return (0, IRule_1.RulePass)("Pass_0"); + } + } + } + // 2. The element with DOM focus is a textbox with aria-controls referring to an element that + // supports aria-activedescendant, and the value of aria-activedescendant specified for the + // textbox refers to either a descendant of the element controlled by the textbox or is a logical + // descendant of that controlled element as indicated by the aria-owns attribute. + // + if (AriaUtil_1.AriaUtil.hasRoleInSemantics(ruleContext, "textbox") && ruleContext.hasAttribute("aria-controls")) { + pofId = 3; + var controlled_ids = CommonUtil_1.CommonUtil.normalizeSpacing(ruleContext.getAttribute("aria-controls").trim()).split(" "); + for (var i = 0; i < controlled_ids.length; i++) { + var controlled_ele = fragment_1.FragmentUtil.getById(ruleContext, controlled_ids[i]); + if (controlled_ele && !DOMUtil_1.DOMUtil.sameNode(controlled_ele, ruleContext) && controlled_ele.contains(descendant)) { + return (0, IRule_1.RulePass)("Pass_0"); + } + if (controlled_ele.hasAttribute("aria-owns")) { + var owns_ids = CommonUtil_1.CommonUtil.normalizeSpacing(controlled_ele.getAttribute("aria-owns").trim()).split(" "); + for (var j = 0; j < owns_ids.length; j++) { + var owned_ele = fragment_1.FragmentUtil.getById(ruleContext, owns_ids[j]); + if (owned_ele && !DOMUtil_1.DOMUtil.sameNode(owned_ele, ruleContext) && owned_ele.contains(descendant)) { + return (0, IRule_1.RulePass)("Pass_0"); + } + } + } + } + } + // POF3: I'm not a combobox, and the referenced active-descendant is not a descendant and not owned by the element + // that referenced it. + if (pofId == 3) { + return (0, IRule_1.RuleFail)("Fail_3"); + } + return null; + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_application_label_unique.ts": +/*!*******************************************************!*\ + !*** ./src/v4/rules/aria_application_label_unique.ts ***! + \*******************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_application_label_unique = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +exports.aria_application_label_unique = { + 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": "aria_application_label_unique.html", + "Fail_1": "aria_application_label_unique.html", + "group": "aria_application_label_unique.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Multiple elements with \"application\" role do not have unique labels", + "group": "Each element with \"application\" role must have a unique label that describes its purpose" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Consider the Check Hidden Content setting that is set by the rules + // Also, consider Implicit role checking. + var landmarks = CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, "application", true, true); + if (landmarks.length === 0 || landmarks.length === 1) { + return null; + } + var dupes = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "aria_application_label_unique", null); + if (!dupes) { + dupes = AriaUtil_1.AriaUtil.findAriaLabelDupes(landmarks); + CacheUtil_1.CacheUtil.setCache(ruleContext.ownerDocument, "aria_application_label_unique", dupes); + } + var myLabel = AriaUtil_1.AriaUtil.getAriaLabel(ruleContext); + var passed = myLabel !== "" && (!(myLabel in dupes) || dupes[myLabel] <= 1); + //return new ValidationResult(passed, ruleContext, '', '', [ myLabel ]); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", [myLabel]); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_application_labelled.ts": +/*!***************************************************!*\ + !*** ./src/v4/rules/aria_application_labelled.ts ***! + \***************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_application_labelled = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AccNameUtil_1 = __webpack_require__(/*! ../util/AccNameUtil */ "./src/v4/util/AccNameUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.aria_application_labelled = { + id: "aria_application_labelled", + context: "aria:application", + refactor: { + "Rpt_Aria_ApplicationLandmarkLabel": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "Pass_0": "aria_application_labelled.html", + "Fail_1": "aria_application_labelled.html", + "group": "aria_application_labelled.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Element with \"application\" role does not have a label", + "group": "Each element with \"application\" role must have a label that describes its purpose" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var pair = AccNameUtil_1.AccNameUtil.computeAccessibleName(ruleContext); + if (!pair) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_article_label_unique.ts": +/*!***************************************************!*\ + !*** ./src/v4/rules/aria_article_label_unique.ts ***! + \***************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_article_label_unique = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +exports.aria_article_label_unique = { + 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": "aria_article_label_unique.html", + "Fail_1": "aria_article_label_unique.html", + "group": "aria_article_label_unique.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Multiple elements with \"article\" role do not have unique labels", + "group": "Each element with \"article\" role must have a unique label that describes its purpose" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Consider the Check Hidden Content setting that is set by the rules + // Also, consider Implicit role checking. + var landmarks = CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, "article", true, true); + if (landmarks.length === 0 || landmarks.length === 1) { + return null; + } + var dupes = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "aria_article_label_unique", null); + if (!dupes) { + dupes = AriaUtil_1.AriaUtil.findAriaLabelDupes(landmarks); + CacheUtil_1.CacheUtil.setCache(ruleContext.ownerDocument, "aria_article_label_unique", dupes); + } + var myLabel = AriaUtil_1.AriaUtil.getAriaLabel(ruleContext); + var passed = myLabel === "" || !(myLabel in dupes) || dupes[myLabel] <= 1; + //return new ValidationResult(passed, ruleContext, '', '', [ myLabel ]); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", [myLabel]); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_attribute_allowed.ts": +/*!************************************************!*\ + !*** ./src/v4/rules/aria_attribute_allowed.ts ***! + \************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_attribute_allowed = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var ARIADefinitions_1 = __webpack_require__(/*! ../../v2/aria/ARIADefinitions */ "./src/v2/aria/ARIADefinitions.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +exports.aria_attribute_allowed = { + id: "aria_attribute_allowed", + context: "dom:*", + refactor: { + "Rpt_Aria_ValidProperty": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "group": "aria_attribute_allowed.html", + "Pass_0": "aria_attribute_allowed.html", + "Fail_1": "aria_attribute_allowed.html" + } + }, + messages: { + "en-US": { + "group": "ARIA attributes must be valid for the element's role", + "Pass_0": "Rule Passed", + "Fail_1": "The attribute(s) '{0}' referenced by the element <{1}> is not a valid ARIA state or property" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: "4.1.2", + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: "5f99a7", + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var contextAttributes = ruleContext.attributes; + // This gets all elements with attributes so we still have some + // Out of Scope since not all attributes are aria + if (contextAttributes) { + var propertyDataTypes = ARIADefinitions_1.ARIADefinitions.propertyDataTypes; + var failedProperties = ""; + var testedProperties = 0; + for (var i = 0, length_1 = contextAttributes.length; i < length_1; i++) { + var attrName = contextAttributes[i].name; + if (AriaUtil_1.AriaUtil.isDefinedAriaAttribute(ruleContext, attrName)) { + testedProperties++; + // Now we just have aria attributes which can + // pass or fail based on whether there property is valid + var dataTypes = propertyDataTypes[attrName]; + if (!dataTypes) { // if property is not in valid property list + // create failedProperties comma sep list + if (failedProperties.length == 0) { + failedProperties = attrName; + } + else { + failedProperties = failedProperties + ", " + attrName; + } + } + } + } + if (testedProperties == 0) { + return null; + } + else if (failedProperties.length != 0) { + return (0, IRule_1.RuleFail)("Fail_1", [failedProperties, ruleContext.nodeName.toLowerCase()]); + } + else { + //return RulePass(1); + return (0, IRule_1.RulePass)("Pass_0"); + } + } + else { + return null; + } + // JCH - passing is based on all attributes not just aria attributes + // leading to OVER COUNTING so moved pass up + //return RulePass(1); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_attribute_conflict.ts": +/*!*************************************************!*\ + !*** ./src/v4/rules/aria_attribute_conflict.ts ***! + \*************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_attribute_conflict = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.aria_attribute_conflict = { + id: "aria_attribute_conflict", + context: "dom:*[aria-required], dom:*[aria-autocomplete], dom:*[aria-readonly], dom:*[aria-disabled], dom:*[aria-placeholder]" + + ", dom:*[aria-checked], dom:*[aria-hidden], dom:*[aria-valuemax], dom:*[aria-valuemin], dom:*[aria-colspan]" + + ", dom:*[aria-rowspan]", + help: { + "en-US": { + // "pass": "aria_attribute_conflict.html", + "fail_conflict": "aria_attribute_conflict.html", + "group": "aria_attribute_conflict.html" + } + }, + messages: { + "en-US": { + // "pass": "The ARIA attribute is not conflict with the corresponding HTML attribute", + "fail_conflict": "The ARIA attribute \"{0}\" is in conflict with the corresponding HTML attribute \"{1}\"", + "group": "An ARIA attribute must not conflict with the corresponding HTML attribute" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // dependency check: if the ARIA attribute is completely invalid, skip this check + var invalidAttributes = AriaUtil_1.AriaUtil.getInvalidAriaAttributes(ruleContext); + if (invalidAttributes && invalidAttributes.length > 0) + return null; + var ret = []; + var ariaAttributes = AriaUtil_1.AriaUtil.getUserDefinedAriaAttributes(ruleContext); + if (!ariaAttributes || ariaAttributes.length === 0) + return null; + var conflictAttributes = AriaUtil_1.AriaUtil.getConflictAriaAndHtmlAttributes(ruleContext); + for (var i = 0; i < conflictAttributes.length; i++) { + ret.push((0, IRule_1.RuleFail)("fail_conflict", [conflictAttributes[i]['ariaAttr'], conflictAttributes[i]['htmlAttr']])); + if (ariaAttributes.includes(conflictAttributes[i]['ariaAttr'])) + CommonUtil_1.CommonUtil.reduceArrayItemList([conflictAttributes[i]['ariaAttr']], ariaAttributes); + } + if (ret.length > 0) + return ret; + return null; + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_attribute_deprecated.ts": +/*!***************************************************!*\ + !*** ./src/v4/rules/aria_attribute_deprecated.ts ***! + \***************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_attribute_deprecated = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +exports.aria_attribute_deprecated = { + id: "aria_attribute_deprecated", + context: "dom:*", + help: { + "en-US": { + // "pass": "aria_attribute_deprecated.html", + "fail_aria_role": "aria_attribute_deprecated.html", + "fail_aria_attr": "aria_attribute_deprecated.html", + "fail_role_attr": "aria_attribute_deprecated.html", + "group": "aria_attribute_deprecated.html" + } + }, + messages: { + "en-US": { + // "pass": "The ARIA roles and attribute are used per specification", + "fail_aria_role": "The ARIA role \"{0}\" is deprecated in the ARIA specification", + "fail_aria_attr": "The ARIA attributes \"{0}\" are deprecated in the ARIA specification", + "fail_role_attr": "The ARIA attributes \"{0}\" are deprecated for the role \"{1}\" in the ARIA specification", + "group": "No deprecated ARIA role or attribute should be used" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next"], + "num": ["ARIA"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var ret = []; + var deprecatedRoles = AriaUtil_1.AriaUtil.getDeprecatedAriaRoles(ruleContext); + if (deprecatedRoles && deprecatedRoles.length > 0) { + for (var i = 0; i < deprecatedRoles.length; i++) + ret.push((0, IRule_1.RuleFail)('fail_aria_role', [deprecatedRoles[i]])); + } + var deprecatedAttributes = AriaUtil_1.AriaUtil.getDeprecatedAriaAttributes(ruleContext); + if (deprecatedAttributes && deprecatedAttributes.length > 0) { + for (var i = 0; i < deprecatedAttributes.length; i++) { + // "role":"any", "attribute":ariaAttrs[i]} + if (deprecatedAttributes[i].role === 'any') + ret.push((0, IRule_1.RuleFail)('fail_aria_attr', [deprecatedAttributes[i].attribute])); + else + ret.push((0, IRule_1.RuleFail)('fail_role_attr', [deprecatedAttributes[i].attribute, deprecatedAttributes[i].role])); + } + } + if (ret.length > 0) + return ret; + return null; + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_attribute_exists.ts": +/*!***********************************************!*\ + !*** ./src/v4/rules/aria_attribute_exists.ts ***! + \***********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_attribute_exists = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var ARIADefinitions_1 = __webpack_require__(/*! ../../v2/aria/ARIADefinitions */ "./src/v2/aria/ARIADefinitions.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.aria_attribute_exists = { + id: "aria_attribute_exists", + context: "dom:*[role]", + dependencies: ["aria_role_allowed"], + refactor: { + "Rpt_Aria_EmptyPropertyValue": { + "pass": "pass", + "fail_empty_attribute": "fail_empty_attribute" + } + }, + help: { + "en-US": { + "pass": "aria_attribute_exists.html", + "fail_empty_attribute": "aria_attribute_exists.html", + "group": "aria_attribute_exists.html" + } + }, + messages: { + "en-US": { + "pass": "Rule Passed", + "fail_empty_attribute": "The element attribute(s): '{0}' value is empty", + "group": "When specifying a required ARIA attribute, the value must not be empty" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: ["6a7281"], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the check if the element is hidden + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return; + var attrNameArr = new Array(); + var designPatterns = ARIADefinitions_1.ARIADefinitions.designPatterns; + var hasAttribute = CommonUtil_1.CommonUtil.hasAttribute; + var testedProperties = 0; + var role = AriaUtil_1.AriaUtil.getResolvedRole(ruleContext); + if (!role) + return; + if (designPatterns[role] && AriaUtil_1.AriaUtil.getRoleRequiredProperties(role, ruleContext) != null) { + var requiredRoleProps = AriaUtil_1.AriaUtil.getRoleRequiredProperties(role, ruleContext); + for (var i = 0, length_1 = requiredRoleProps.length; i < length_1; i++) { + var attribute = requiredRoleProps[i]; + if (hasAttribute(ruleContext, attribute)) { + testedProperties++; + var nodeValue = CommonUtil_1.CommonUtil.normalizeSpacing(ruleContext.getAttribute(requiredRoleProps[i])); + if (nodeValue.length == 0) + attrNameArr.push(requiredRoleProps[i]); + } + else if (requiredRoleProps[i] == "aria-labelledby") { + if ((role == "radiogroup") && (hasAttribute(ruleContext, "aria-label"))) { + testedProperties++; + var nodeValue = CommonUtil_1.CommonUtil.normalizeSpacing(ruleContext.getAttribute("aria-label")); + if (nodeValue.length == 0) + attrNameArr.push("aria-label"); + } + } + else if (requiredRoleProps[i] == "aria-valuenow") { + if ((role == "progressbar") && (hasAttribute(ruleContext, "aria-valuetext"))) { + testedProperties++; + var nodeValue = CommonUtil_1.CommonUtil.normalizeSpacing(ruleContext.getAttribute("aria-valuetext")); + if (nodeValue.length == 0) + attrNameArr.push("aria-valuetext"); + } + } + } + } + if (designPatterns[role]) { + var tagProperty = AriaUtil_1.AriaUtil.getElementAriaProperty(ruleContext); + var permittedRoles = []; + permittedRoles.push(role); + var allowedAttributes = AriaUtil_1.AriaUtil.getAllowedAriaAttributes(ruleContext, permittedRoles, tagProperty); + for (var i = 0, length_2 = allowedAttributes.length; i < length_2; i++) { + var attribute = allowedAttributes[i]; + if (attribute == "aria-checked" || attribute == "aria-selected" || + attribute == "aria-expanded" || attribute == "aria-orientation" || + attribute == "aria-level") { + if (hasAttribute(ruleContext, attribute)) { + testedProperties++; + var nodeValue = CommonUtil_1.CommonUtil.normalizeSpacing(ruleContext.getAttribute(attribute)); + if (nodeValue.length == 0 && !attrNameArr.includes(attribute)) { + attrNameArr.push(attribute); + } + } + } + } + } + var retMsg = new Array(); + var passed = attrNameArr.length == 0; + retMsg.push(attrNameArr.join(", ")); + //return new ValidationResult(passed, [ruleContext], attrNameArr, '', retMsg); + if (testedProperties == 0) { + return null; + } + else if (!passed) { + return (0, IRule_1.RuleFail)("fail_empty_attribute", retMsg); + } + else { + return (0, IRule_1.RulePass)("pass"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_attribute_redundant.ts": +/*!**************************************************!*\ + !*** ./src/v4/rules/aria_attribute_redundant.ts ***! + \**************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_attribute_redundant = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +exports.aria_attribute_redundant = { + id: "aria_attribute_redundant", + context: "dom:*[aria-required], dom:*[aria-autocomplete], dom:*[aria-readonly], dom:*[aria-disabled], dom:*[aria-placeholder]" + + ", dom:*[aria-checked], dom:*[aria-hidden], dom:*[aria-valuemax], dom:*[aria-valuemin], dom:*[aria-colspan]" + + ", dom:*[aria-rowspan]", + help: { + "en-US": { + "pass": "aria_attribute_redundant.html", + "fail_redundant": "aria_attribute_redundant.html", + "group": "aria_attribute_redundant.html" + } + }, + messages: { + "en-US": { + "pass": "The ARIA attribute is not redundant with a corresponding HTML attribute", + "fail_redundant": "The ARIA attribute \"{0}\" is redundant with the HTML attribute \"{1}\"", + "group": "An ARIA attribute should not be redundant with a corresponding HTML attribute" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // dependency check: if the ARIA attribute is completely invalid, skip this check + var invalidAttributes = AriaUtil_1.AriaUtil.getInvalidAriaAttributes(ruleContext); + if (invalidAttributes && invalidAttributes.length > 0) + return null; + // if conflict already reported, ignore reporting overlap + var conflictAttributes = AriaUtil_1.AriaUtil.getConflictAriaAndHtmlAttributes(ruleContext); + if (conflictAttributes && conflictAttributes.length > 0) + return null; + var domAttributes = ruleContext.attributes; + var ariaAttrs = []; + var htmlAttrs = []; + if (domAttributes) { + for (var i = 0; i < domAttributes.length; i++) { + var attrName = domAttributes[i].name.trim().toLowerCase(); + var attrValue = ruleContext.getAttribute(attrName); + if (attrValue === '') + attrValue = null; + if (attrName.substring(0, 5) === 'aria-') + ariaAttrs.push({ name: attrName, value: attrValue }); + else + htmlAttrs.push({ name: attrName, value: attrValue }); + } + } + var ret = []; + var _loop_1 = function (i) { + var examinedHtmlAtrNames = AriaUtil_1.AriaUtil.getConflictOrOverlappingHtmlAttribute(ariaAttrs[i], htmlAttrs, 'overlapping'); + if (examinedHtmlAtrNames === null) + return "continue"; + examinedHtmlAtrNames.forEach(function (item) { + if (item['result'] === 'Pass') { //pass + ret.push((0, IRule_1.RulePass)("pass")); + } + else if (item['result'] === 'Failed') { //failed + ret.push((0, IRule_1.RuleFail)("fail_redundant", [ariaAttrs[i]['name'], item['attr']])); + } + }); + }; + for (var i = 0; i < ariaAttrs.length; i++) { + _loop_1(i); + } + if (ret.length > 0) + return ret; + return null; + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_attribute_required.ts": +/*!*************************************************!*\ + !*** ./src/v4/rules/aria_attribute_required.ts ***! + \*************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_attribute_required = void 0; +var ARIADefinitions_1 = __webpack_require__(/*! ../../v2/aria/ARIADefinitions */ "./src/v2/aria/ARIADefinitions.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +exports.aria_attribute_required = { + id: "aria_attribute_required", + context: "dom:*[role]", + dependencies: ["aria_role_allowed"], + refactor: { + "Rpt_Aria_RequiredProperties": { + "Pass_0": "pass", + "Fail_1": "fail_missing" + } + }, + help: { + "en-US": { + "group": "aria_attribute_required.html", + "pass": "aria_attribute_required.html", + "fail_missing": "aria_attribute_required.html" + } + }, + messages: { + "en-US": { + "group": "The required attributes for the element with a role must be defined", + "pass": "The required attributes for the element with the role are defined", + "fail_missing": "Element with '{0}' role does not have the required ARIA attribute(s): '{1}'" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: "4.1.2", + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: "4e8ab6", + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var attrNameArr = new Array(); + var roleNameArr = new Array(); + var designPatterns = ARIADefinitions_1.ARIADefinitions.designPatterns; + //let implicitRole = ARIAMapper.elemToImplicitRole(ruleContext); + //let implicitRole = AriaUtil.getImplicitRole(ruleContext); + var hasAttribute = CommonUtil_1.CommonUtil.hasAttribute; + var testedRoles = 0; + var tagProperty = AriaUtil_1.AriaUtil.getElementAriaProperty(ruleContext); + var role = AriaUtil_1.AriaUtil.getResolvedRole(ruleContext); + if (!role) + return; + var requiredRoleProps = AriaUtil_1.AriaUtil.getRoleRequiredProperties(role, ruleContext); + if (designPatterns[role] && requiredRoleProps !== null) { + var allowedRoleProps = AriaUtil_1.AriaUtil.getAllowedAriaAttributes(ruleContext, role, tagProperty); + var roleMissingReqProp = false; + for (var i = 0, propertiesLength = requiredRoleProps.length; i < propertiesLength; i++) { + if (!allowedRoleProps.includes(requiredRoleProps[i])) + continue; + if (!hasAttribute(ruleContext, requiredRoleProps[i])) { + // If an aria-labelledby isn't present, an aria-label will meet the requirement. + if (requiredRoleProps[i] == "aria-labelledby") { + if ((!hasAttribute(ruleContext, "aria-label")) || (role != "radiogroup")) { + attrNameArr.push(requiredRoleProps[i]); + roleMissingReqProp = true; + } + } + else if (requiredRoleProps[i] == "aria-valuenow") { + if ((!hasAttribute(ruleContext, "aria-valuetext")) || (role != "progressbar")) { + attrNameArr.push(requiredRoleProps[i]); + roleMissingReqProp = true; + } + } + else if (requiredRoleProps[i] == "aria-controls" && role == "combobox") { + // Skip this check since aria-controls in the textbox of a combobox is already handled in rule HAAC_Combobox_Must_have_Text_Input + } + else { + attrNameArr.push(requiredRoleProps[i]); + roleMissingReqProp = true; + } + } + } + if (roleMissingReqProp == true) { + roleNameArr.push(role); + } + } + var passed = roleNameArr.length == 0 || attrNameArr.length == 0; // only aria attributes so NO OUT OF SCOPE + if (!passed) { + var retToken = new Array(); + retToken.push(roleNameArr.join(", ")); + retToken.push(attrNameArr.join(", ")); + return (0, IRule_1.RuleFail)("fail_missing", retToken); + } + else { + return (0, IRule_1.RulePass)("pass"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_attribute_value_valid.ts": +/*!****************************************************!*\ + !*** ./src/v4/rules/aria_attribute_value_valid.ts ***! + \****************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_attribute_value_valid = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var ARIADefinitions_1 = __webpack_require__(/*! ../../v2/aria/ARIADefinitions */ "./src/v2/aria/ARIADefinitions.ts"); +exports.aria_attribute_value_valid = { + id: "aria_attribute_value_valid", + context: "dom:*", + dependencies: ["aria_attribute_allowed"], + refactor: { + "Rpt_Aria_ValidPropertyValue": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "group": "aria_attribute_value_valid.html", + "Pass_0": "aria_attribute_value_valid.html", + "Fail_1": "aria_attribute_value_valid.html" + } + }, + messages: { + "en-US": { + "group": "ARIA property values must be valid", + "Pass_0": "Rule Passed", + "Fail_1": "The value \"{0}\" specified for attribute '{1}' on element <{2}> is not valid" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: "6a7281", + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var valueArr = new Array(); + var attrNameArr = new Array(); + var dataTypeArr = new Array(); + var propertyDataTypes = ARIADefinitions_1.ARIADefinitions.propertyDataTypes; + var contextAttributes = ruleContext.attributes; + var testedPropertyValues = 0; + if (contextAttributes) { + for (var i = 0, length_1 = contextAttributes.length; i < length_1; i++) { + var attrName = contextAttributes[i].name; + if (AriaUtil_1.AriaUtil.isDefinedAriaAttribute(ruleContext, attrName)) { + var dataTypes = propertyDataTypes[attrName]; + var nodeValue = CommonUtil_1.CommonUtil.normalizeSpacing(contextAttributes[i].nodeValue); + testedPropertyValues++; + if (dataTypes && dataTypes.values) { + if (dataTypes.values.indexOf(nodeValue) == -1) { + if (dataTypes.values.indexOf('undefined') != -1 && nodeValue.length == 0) { + //translate 'undefined' to mean '' + } + else { + // aria-relevant is represented as a space delimited list of the following values: + // additions, removals, text; or a single catch-all value all. + if (dataTypes.type === "http://www.w3.org/2001/XMLSchema#nmtokens") { + var attrValues = contextAttributes[i].nodeValue.trim().split(" "); + // if the value all is specified, it cannot have any other value + if (attrValues.length > 1 && attrValues.includes("all")) { + valueArr.push(contextAttributes[i].nodeValue.split(" ")); + attrNameArr.push(attrName); + dataTypeArr.push(dataTypes.values.toString()); + } + else { + var hash = {}; + for (var j = 0; j < attrValues.length; j++) { + // if the individual value is not in the list of allowed values + if (attrValues[j] != "" && !dataTypes.values.includes(attrValues[j])) { + if (!hash.hasOwnProperty(attrName)) { + hash[attrName] = true; + attrNameArr.push(attrName); + } + valueArr.push(attrValues[j]); + dataTypeArr.push(dataTypes.values.toString()); + } + } + } + } + else { + valueArr.push(contextAttributes[i].nodeValue.split(" ")); + attrNameArr.push(attrName); + dataTypeArr.push(dataTypes.values.toString()); + } + } + } + } + else if (dataTypes && dataTypes.type && dataTypes.type === "http://www.w3.org/2001/XMLSchema#int") { + var iVal = parseInt(nodeValue); + if (isNaN(iVal) || ("" + iVal !== nodeValue)) { + valueArr.push(nodeValue); + attrNameArr.push(attrName); + } + } + else if (dataTypes && dataTypes.type && dataTypes.type == "http://www.w3.org/2001/XMLSchema#decimal") { + var fVal = parseFloat(nodeValue); + if (isNaN(fVal)) { + valueArr.push(nodeValue); + attrNameArr.push(attrName); + } + } + else if (dataTypes && dataTypes.type && (dataTypes.type == "http://www.w3.org/2001/XMLSchema#boolean")) { + var tmpV = nodeValue.trim().toLowerCase(); + if (tmpV !== "true" && tmpV !== "false") { + valueArr.push(nodeValue); + attrNameArr.push(attrName); + } + } + else if (dataTypes && dataTypes.type && (dataTypes.type == "http://www.w3.org/2001/XMLSchema#string")) { + } + else { + testedPropertyValues--; + } + } + } + } + var retMsg = new Array(); + var passed = attrNameArr.length == 0; + retMsg.push(valueArr.join(", ")); + retMsg.push(attrNameArr.join(", ")); + retMsg.push(ruleContext.nodeName.toLowerCase()); + // retMsg.push (dataTypeArr.join(", ")); + //return new ValidationResult(passed, [ruleContext], attrNameArr, '', retMsg); + if (testedPropertyValues == 0) { + return null; + } + else if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", retMsg); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_banner_label_unique.ts": +/*!**************************************************!*\ + !*** ./src/v4/rules/aria_banner_label_unique.ts ***! + \**************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_banner_label_unique = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +exports.aria_banner_label_unique = { + 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": "aria_banner_label_unique.html", + "Fail_1": "aria_banner_label_unique.html", + "group": "aria_banner_label_unique.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Multiple elements with \"banner\" role do not have unique labels", + "group": "Each element with \"banner\" role must have a unique label that describes its purpose" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Consider the Check Hidden Content setting that is set by the rules + // Also, consider Implicit role checking. + var landmarks = CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, "banner", true, true); + if (landmarks.length === 0 || landmarks.length === 1) { + return null; + } + var dupes = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "aria_banner_label_unique", null); + if (!dupes) { + dupes = AriaUtil_1.AriaUtil.findAriaLabelDupes(landmarks); + CacheUtil_1.CacheUtil.setCache(ruleContext.ownerDocument, "aria_banner_label_unique", dupes); + } + var myLabel = AriaUtil_1.AriaUtil.getAriaLabel(ruleContext); + var passed = myLabel !== "" && (!(myLabel in dupes) || dupes[myLabel] <= 1); + //return new ValidationResult(passed, ruleContext, '', '', [ myLabel ]); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", [myLabel]); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_banner_single.ts": +/*!********************************************!*\ + !*** ./src/v4/rules/aria_banner_single.ts ***! + \********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_banner_single = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +exports.aria_banner_single = { + 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": "aria_banner_single.html", + "Fail_1": "aria_banner_single.html", + "group": "aria_banner_single.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Multiple elements with \"banner\" role found on the page", + "group": "A page, document, or application should only have one element with \"banner\" role" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (!AriaUtil_1.AriaUtil.hasRoleInSemantics(ruleContext, "banner")) { + return null; + } + var passed = AriaUtil_1.AriaUtil.getSiblingWithRoleHidden(ruleContext, "banner", true, true) === null; + //return new ValidationResult(passed, [ruleContext], 'role', '', []); + if (passed) { + return (0, IRule_1.RulePass)("Pass_0"); + } + else { + return (0, IRule_1.RuleFail)("Fail_1"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_child_tabbable.ts": +/*!*********************************************!*\ + !*** ./src/v4/rules/aria_child_tabbable.ts ***! + \*********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_child_tabbable = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var ARIADefinitions_1 = __webpack_require__(/*! ../../v2/aria/ARIADefinitions */ "./src/v2/aria/ARIADefinitions.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.aria_child_tabbable = { + id: "aria_child_tabbable", + context: "dom:*[role]", + dependencies: ["aria_role_allowed"], + refactor: { + "Rpt_Aria_MissingFocusableChild": { + "pass": "pass", + "fail_missing_child": "fail_missing_child" + } + }, + help: { + "en-US": { + "pass": "aria_child_tabbable.html", + "fail_missing_child": "aria_child_tabbable.html", + "group": "aria_child_tabbable.html" + } + }, + messages: { + "en-US": { + "pass": "Rule Passed", + "fail_missing_child": "None of the descendent elements with \"{1}\" role is tabbable", + "group": "UI component must have at least one tabbable descendant for keyboard access" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the check if the element is hidden or disabled + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) + return; + //skip the check if the element requires presentational children only + if (AriaUtil_1.AriaUtil.containsPresentationalChildrenOnly(ruleContext) || AriaUtil_1.AriaUtil.shouldBePresentationalChild(ruleContext)) + return; + // An ARIA list is not interactive + if (AriaUtil_1.AriaUtil.hasRole(ruleContext, { "list": true, "row": true, "rowgroup": true, "table": true, "grid": true })) { + return null; + } + // Not a valid message for mobile because all elements are focusable in iOS when VoiceOver is enabled. + if (ruleContext.hasAttribute("class") && ruleContext.getAttribute("class").substring(0, 3) == "mbl") { + return null; + } + //ignore datalist element check since it will be part of a input element or hidden by default + if (ruleContext.nodeName.toLowerCase() === 'datalist') + return null; + var roles = ruleContext.getAttribute("role").trim().toLowerCase().split(/\s+/); + // Determine if this is referenced by a combobox. If so, focus is controlled by the combobox + // ignore if the id of the element is referenced by another element with "aria-controls" or "aria-expanded" and with certain roles. If so, focus is controlled by the referencing element + var id = ruleContext.getAttribute("id"); + if (id && id.trim().length > 0) { + /**if (ruleContext.ownerDocument.querySelector(`*[aria-controls='${id}'][role='combobox']`)) { + return null; + } + */ + var elem = ruleContext.ownerDocument.querySelector("*[aria-controls='".concat(id, "'][aria-haspopup='true'], *[aria-controls='").concat(id, "'][aria-expanded='true']")); + var containers_1 = ['combobox', 'listbox', 'menu', 'menubar', 'radiogroup', 'tree', 'treegrid']; + if (elem && CommonUtil_1.CommonUtil.isTabbable(elem) && roles && roles.length > 0 && roles.some(function (r) { return containers_1.includes(r); })) + return null; + } + var passed = true; + var doc = ruleContext.ownerDocument; + var hasAttribute = CommonUtil_1.CommonUtil.hasAttribute; + var roleNameArr = new Array(); + var nodeName = ""; + var inScope = false; + for (var j = 0; j < roles.length; ++j) { + if (ARIADefinitions_1.ARIADefinitions.containers.includes(roles[j])) { + var disabled = hasAttribute(ruleContext, 'aria-disabled') ? ruleContext.getAttribute("aria-disabled") : ''; + if (disabled != 'true' && !hasAttribute(ruleContext, 'aria-activedescendant') && !CommonUtil_1.CommonUtil.isTabbable(ruleContext)) { + var reqChildren = ARIADefinitions_1.ARIADefinitions.designPatterns[roles[j]].reqChildren; + if (reqChildren) { + inScope = true; + passed = false; + var xp = "descendant::*["; + for (var i = 0; i < reqChildren.length; i++) { + xp += "@role='" + reqChildren[i] + "' or "; + } + xp = xp.substring(0, xp.length - 4) + ']'; + var xpathResult = doc.evaluate(xp, ruleContext, CommonUtil_1.CommonUtil.defaultNSResolver, 0 /* XPathResult.ANY_TYPE */, null); + var r = xpathResult.iterateNext(); + while (r && !passed) { + // Following are the steps that are executed at this stage to determine if the node should be classified as hidden + // or not. + // 1. Only run isNodeVisible check if hidden content should NOT be checked. In the case that hidden content is to, + // be scanned then we can just scan everything as normal. In the case that the current node is hidden we do not + // add it to the roleToElems hash at all or even do any checking for it at all. + // + // Note: The if conditions uses short-circuiting so if the first condition is not true it will not check the next one, + // so on and so forth. + if (CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(r)) { + r = xpathResult.iterateNext(); + continue; + } + passed = CommonUtil_1.CommonUtil.isTabbable(r); + // Required child is not focusable via tabindex. See if there is a grandchild that is focusable by default or by tabindex. + if (!passed) { + var xp2 = "descendant::*"; + var xpathResult2 = doc.evaluate(xp2, r, CommonUtil_1.CommonUtil.defaultNSResolver, 0 /* XPathResult.ANY_TYPE */, null); + var r2 = xpathResult2.iterateNext(); + while (r2 && !passed) { + // Following are the steps that are executed at this stage to determine if the node should be classified as hidden + // or not. + // 1. Only run isNodeVisible check if hidden content should NOT be checked. In the case that hidden content is to, + // be scanned then we can just scan everything as normal. In the case that the current node is hidden we do not + // add it to the roleToElems hash at all or even do any checking for it at all. + // + // Note: The if conditions uses short-circuiting so if the first condition is not true it will not check the next one, + // so on and so forth. + if (CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(r2)) { + r2 = xpathResult2.iterateNext(); + continue; + } + passed = CommonUtil_1.CommonUtil.isTabbable(r); + r2 = xpathResult2.iterateNext(); + } + } + if (!passed) { + roleNameArr = r.getAttribute("role").trim().split(" "); + nodeName = r.nodeName.toLowerCase(); + } + r = xpathResult.iterateNext(); + } + } + } + } + } + // Variable Decleration + var retToken1 = new Array(); + var retToken2 = new Array(); + // In the case the arrays/strings are empty, that means that there is no violation so we can reset it back to passed, the reason for this + // is that we are setting passed=false while we perform a loop which causes violation to trigger even if there is no issues. Instead of + // updating the whole rule to switch from using passed in that way simply do the check at this point. + if (nodeName.length > 0 && roleNameArr.length > 0) { + retToken1.push(nodeName); + retToken2.push(roleNameArr.join(", ")); + } + else { + passed = true; + } + //return new ValidationResult(passed, [ruleContext], 'role', '', passed == true ? [] : [retToken1, retToken2]); + if (!inScope) { + return null; + } + else if (!passed) { + return (0, IRule_1.RuleFail)("fail_missing_child", [retToken1.toString(), retToken2.toString()]); + } + else { + return (0, IRule_1.RulePass)("pass"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_child_valid.ts": +/*!******************************************!*\ + !*** ./src/v4/rules/aria_child_valid.ts ***! + \******************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_child_valid = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.aria_child_valid = { + id: "aria_child_valid", + //context: "dom:*[role]", + //dependencies: ["Rpt_Aria_ValidRole"], + context: "dom:*", + dependencies: ["aria_role_valid", "aria_descendant_valid"], + help: { + "en-US": { + "group": "aria_child_valid.html", + "Pass": "aria_child_valid.html", + "Fail_no_child": "aria_child_valid.html", + "Fail_invalid_child": "aria_child_valid.html" + } + }, + messages: { + "en-US": { + "group": "An element with an ARIA role must own a required child", + "Pass": "An element with an ARIA role owns a required child", + "Fail_no_child": "The element with role \"{0}\" does not own any child element with any of the following role(s): \"{1}\"", + "Fail_invalid_child": "The element with role \"{0}\" owns the child element with the role \"{1}\" that is not one of the allowed role(s): \"{2}\"" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + // TODO: ACT: Verify mapping + act: ["bc4a75"], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the check if the element is hidden or disabled + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) + return; + //skip the check if the element requires presentational children only + if (AriaUtil_1.AriaUtil.containsPresentationalChildrenOnly(ruleContext)) + return; + var roles = AriaUtil_1.AriaUtil.getRoles(ruleContext, false); + // if explicit role doesn't exist, get the implicit one + if (!roles || roles.length === 0) + roles = AriaUtil_1.AriaUtil.getImplicitRole(ruleContext); + //ignore if the element doesn't have any explicit or implicit role, shouldn't happen + if (!roles || roles.length === 0) + return null; + // ignore if the element contains none or presentation role + var presentationRoles = ["none", "presentation"]; + var found = roles.some(function (r) { return presentationRoles.includes(r); }); + if (found) + return null; + // For combobox, we have g1193 ... g1199 to check the values etc. + // We don't want to trigger 1152 again. So, we bypass it here. + if (roles.includes("combobox")) + return null; + var requiredChildRoles = AriaUtil_1.AriaUtil.getRequiredChildRoles(ruleContext, true); + // a 'group' role is allowed but not required for some elements so remove it if exists + if (requiredChildRoles.includes('group')) { + var index = requiredChildRoles.indexOf('group'); + if (index > -1) + requiredChildRoles.splice(index, 1); + } + /** + * ignore if a role doesn't require a child with any specific role + * the reverse might be not true - parent will be checked in Rpt_Aria_RequiredParent_Native_Host_Sematics rule + */ + if (requiredChildRoles.length == 0) + return null; + // get all the children from accessibility tree, + // including ones with aria-owns + var directATChildren = AriaUtil_1.AriaUtil.getDirectATChildren(ruleContext); + if (!directATChildren || directATChildren.length == 0) { + // the element with at least one required role dosen't contain any accessible child + /** + * When a widget is missing required owned elements due to script execution or loading, + * authors MUST mark a containing element with 'aria-busy' equal to true. + */ + var busy = ruleContext.getAttribute("aria-busy"); + if (!busy || busy !== 'true') { + var retToken = new Array(); + retToken.push(roles.join(", ")); + retToken.push(requiredChildRoles.join(", ")); + return (0, IRule_1.RuleFail)("Fail_no_child", retToken); + } + // it's 'busy' loading, ignore it + return null; + } + var violateElemRoles = new Array(); + for (var j = 0; j < directATChildren.length; j++) { + var childRoles = AriaUtil_1.AriaUtil.getRoles(directATChildren[j], false); + // if explicit role doesn't exist, get the implicit one + if (!childRoles || childRoles.length == 0) + childRoles = AriaUtil_1.AriaUtil.getImplicitRole(directATChildren[j]); + if (childRoles && childRoles.length > 0) { + /** + * when multiple roles are specified as required owned elements for a role, at least one instance of one required owned element is expected. + * the specification does not require an instance of each of the listed owned roles. + * therefore, the requirement is met if it has any one of the required roles. + */ + var found_1 = childRoles.some(function (r) { return requiredChildRoles.includes(r); }); + if (!found_1) + violateElemRoles.push(childRoles.join(", ")); + } + else { + // ignore the element since it's not semantic, shouldn't happen + } + } + if (violateElemRoles.length > 0) { + var retValues = []; + for (var i = 0; i < violateElemRoles.length; i++) { + var retToken = new Array(); + retToken.push(roles.join(", ")); + retToken.push(violateElemRoles[i]); + retToken.push(requiredChildRoles.join(", ")); + retValues.push((0, IRule_1.RuleFail)("Fail_invalid_child", retToken)); + } + return retValues; + } + return (0, IRule_1.RulePass)("Pass"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_complementary_label_unique.ts": +/*!*********************************************************!*\ + !*** ./src/v4/rules/aria_complementary_label_unique.ts ***! + \*********************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_complementary_label_unique = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +exports.aria_complementary_label_unique = { + 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": "aria_complementary_label_unique.html", + "Fail_1": "aria_complementary_label_unique.html", + "group": "aria_complementary_label_unique.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Multiple elements with \"complementary\" role do not have unique labels", + "group": "Each element with \"complementary\" role must have a unique label that describes its purpose" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Consider the Check Hidden Content setting that is set by the rules + // Also, consider Implicit role checking. + var landmarks = CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, "complementary", true, true); + if (landmarks.length === 0 || landmarks.length === 1) { + return null; + } + var dupes = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "aria_complementary_label_unique", null); + if (!dupes) { + dupes = AriaUtil_1.AriaUtil.findAriaLabelDupes(landmarks); + CacheUtil_1.CacheUtil.setCache(ruleContext.ownerDocument, "aria_complementary_label_unique", dupes); + } + var myLabel = AriaUtil_1.AriaUtil.getAriaLabel(ruleContext); + var passed = myLabel !== "" && (!(myLabel in dupes) || dupes[myLabel] <= 1); + //return new ValidationResult(passed, ruleContext, '', '', [ myLabel ]); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", [myLabel]); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_complementary_label_visible.ts": +/*!**********************************************************!*\ + !*** ./src/v4/rules/aria_complementary_label_visible.ts ***! + \**********************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_complementary_label_visible = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.aria_complementary_label_visible = { + id: "aria_complementary_label_visible", + context: "dom:*[role], dom:aside", + dependencies: ["aria_complementary_labelled"], + refactor: { + "Rpt_Aria_ComplementaryLandmarkLabel_Implicit": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "Pass_0": "aria_complementary_label_visible.html", + "Fail_1": "aria_complementary_label_visible.html", + "group": "aria_complementary_label_visible.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Element with \"complementary\" role does not have a visible label", + "group": "Each element with \"complementary\" role should have a visible label that describes its purpose" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (!AriaUtil_1.AriaUtil.hasRoleInSemantics(ruleContext, "complementary")) { + return null; + } + var passed = CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "aria-labelledby"); + //return new ValidationResult(passed, [ruleContext], 'role', '', []); + if (passed) { + return (0, IRule_1.RulePass)("Pass_0"); + } + else { + return (0, IRule_1.RuleFail)("Fail_1"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_complementary_labelled.ts": +/*!*****************************************************!*\ + !*** ./src/v4/rules/aria_complementary_labelled.ts ***! + \*****************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_complementary_labelled = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AccNameUtil_1 = __webpack_require__(/*! ../util/AccNameUtil */ "./src/v4/util/AccNameUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.aria_complementary_labelled = { + id: "aria_complementary_labelled", + context: "aria:complementary", + refactor: { + "Rpt_Aria_ComplementaryRequiredLabel_Implicit": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "Pass_0": "aria_complementary_labelled.html", + "Fail_1": "aria_complementary_labelled.html", + "group": "aria_complementary_labelled.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Element with \"complementary\" role does not have a label", + "group": "Each element with \"complementary\" role must have a label that describes its purpose" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var pair = AccNameUtil_1.AccNameUtil.computeAccessibleName(ruleContext); + if (pair) { + return (0, IRule_1.RulePass)("Pass_0"); + } + else { + return (0, IRule_1.RuleFail)("Fail_1"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_content_in_landmark.ts": +/*!**************************************************!*\ + !*** ./src/v4/rules/aria_content_in_landmark.ts ***! + \**************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_content_in_landmark = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +var DOMWalker_1 = __webpack_require__(/*! ../../v2/dom/DOMWalker */ "./src/v2/dom/DOMWalker.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +var TableUtil_1 = __webpack_require__(/*! ../util/TableUtil */ "./src/v4/util/TableUtil.ts"); +exports.aria_content_in_landmark = { + 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": "aria_content_in_landmark.html", + "Fail_1": "aria_content_in_landmark.html", + "group": "aria_content_in_landmark.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Content is not within a landmark element", + "group": "All content must reside within an element with a landmark role" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }, + { + "id": ["WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var params = CacheUtil_1.CacheUtil.getCache(context.dom.node.ownerDocument, "aria_content_in_landmark", null); + if (!params) { + params = { + landmarks: { + value: ["banner", "complementary", "contentinfo", "form", "main", "navigation", "region", "search"], + type: "array" + }, + possibleOrphanedWidgets: { + value: ["button", "combobox", "checkbox", "grid", "heading", "link", "list", + "listbox", "menu", "menubar", "progressbar", "radio", "tablist", "textbox", "toolbar", "tree", + "treegrid" + ], + type: "array" + }, + possibleOrphanedElements: { + value: ["p", "table", "input", "textarea", "select", "button", "a", "ol", "ul", "dl", "h1", "h2", "h3", "h4", "h5", + "h6", "embed", "object", "area" + ], + type: "array" + }, + noLandmarkedRoles: { + // These roles don't require landmarks + value: ["alert", "alertdialog", "dialog", "tooltip"], + type: "array" + }, + mapLandmarks: {}, + mapPossibleOrphanedWidgets: {}, + mapPossibleOrphanedElements: {}, + mapNoLandmarkedRoles: {} + }; + // Convert arrays to maps + params.mapLandmarks = {}; + for (var i = 0; i < params.landmarks.value.length; ++i) { + params.mapLandmarks[params.landmarks.value[i]] = true; + } + params.mapPossibleOrphanedWidgets = {}; + for (var i = 0; i < params.possibleOrphanedWidgets.value.length; ++i) { + params.mapPossibleOrphanedWidgets[params.possibleOrphanedWidgets.value[i]] = true; + } + params.mapPossibleOrphanedElements = {}; + for (var i = 0; i < params.possibleOrphanedElements.value.length; ++i) { + params.mapPossibleOrphanedElements[params.possibleOrphanedElements.value[i]] = true; + } + params.mapNoLandmarkedRoles = {}; + for (var i = 0; i < params.noLandmarkedRoles.value.length; ++i) { + params.mapNoLandmarkedRoles[params.noLandmarkedRoles.value[i]] = true; + } + CacheUtil_1.CacheUtil.setCache(context.dom.node.ownerDocument, "aria_content_in_landmark", params); + } + var ruleContext = context["dom"].node; + var nodeName = ruleContext.nodeName.toLowerCase(); + if (!VisUtil_1.VisUtil.isNodeVisible(ruleContext) || // avoid diagnosing g1157 for non-visible nodes + (VisUtil_1.VisUtil.hiddenByDefaultElements != null && + VisUtil_1.VisUtil.hiddenByDefaultElements != undefined && + VisUtil_1.VisUtil.hiddenByDefaultElements.indexOf(nodeName) > -1)) { + return (0, IRule_1.RulePass)("Pass_0"); + } + var elemsWithoutContent = ["area", "input", "embed", "button", "textarea", "select"]; + if (!CommonUtil_1.CommonUtil.hasInnerContentHidden(ruleContext) && //only trigger the rule on elements that have content + elemsWithoutContent.indexOf(nodeName) === -1) { // a few elems wihout content should not be skipped + return (0, IRule_1.RulePass)("Pass_0"); + } + // Short circuit for layout tables + if (nodeName == "table" && TableUtil_1.TableUtil.isLayoutTable(ruleContext)) { + return null; + } + // Check if it is a possible orphan + var passed = true; + var isPossibleOrphanedWidget = AriaUtil_1.AriaUtil.hasRole(ruleContext, params.mapPossibleOrphanedWidgets, true); + //exclude <link rel="stylesheet" href="xyz.css"> in the <head> and <body>(#608) + //having link in the head could cause lot of violaions + if (nodeName === 'link') { + isPossibleOrphanedWidget = false; + } + var isPossibleOrphanedElement = nodeName in params.mapPossibleOrphanedElements; + if (isPossibleOrphanedWidget || isPossibleOrphanedElement) { + // See if ancestor has landmark roles or implicit land mark roles + var parentRoles = contextHierarchies["aria"].map(function (info) { return info.role; }); + passed = parentRoles.filter(function (role) { return role in params.mapLandmarks; }).length > 0; + if (!passed) { + // Don't fail elements when a parent or sibling has failed - causes too many messages. + var walkElement = DOMWalker_1.DOMWalker.parentElement(ruleContext); + while (!passed && walkElement != null) { + passed = CacheUtil_1.CacheUtil.getCache(walkElement, "Rpt_Aria_OrphanedContent", false); + walkElement = DOMWalker_1.DOMWalker.parentElement(walkElement); + } + walkElement = ruleContext.nextElementSibling; + while (!passed && walkElement != null) { + passed = CacheUtil_1.CacheUtil.getCache(walkElement, "Rpt_Aria_OrphanedContent", false); + walkElement = walkElement.nextElementSibling; + } + walkElement = ruleContext.previousElementSibling; + while (!passed && walkElement != null) { + passed = CacheUtil_1.CacheUtil.getCache(walkElement, "Rpt_Aria_OrphanedContent", false); + walkElement = walkElement.previousElementSibling; + } + if (!passed) { + CacheUtil_1.CacheUtil.setCache(ruleContext, "Rpt_Aria_OrphanedContent", true); + // Don't trigger rule if element is a stand-alone widget + passed = CacheUtil_1.CacheUtil.getCache(ruleContext, "Rpt_Aria_OrphanedContent_NoTrigger", false) || + AriaUtil_1.AriaUtil.hasRole(ruleContext, params.mapNoLandmarkedRoles, true) || + AriaUtil_1.AriaUtil.getAncestorWithRole(ruleContext, params.mapNoLandmarkedRoles, true); + if (passed) { + CacheUtil_1.CacheUtil.setCache(ruleContext, "Rpt_Aria_OrphanedContent_NoTrigger", true); + return null; + } + } + else { + return null; + } + } + } + else { + return null; + } + //return new ValidationResult(passed, [ruleContext], '', '', []); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_contentinfo_label_unique.ts": +/*!*******************************************************!*\ + !*** ./src/v4/rules/aria_contentinfo_label_unique.ts ***! + \*******************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_contentinfo_label_unique = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +exports.aria_contentinfo_label_unique = { + 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": "aria_contentinfo_label_unique.html", + "Fail_1": "aria_contentinfo_label_unique.html", + "group": "aria_contentinfo_label_unique.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Multiple elements with \"contentinfo\" role do not have unique labels", + "group": "Each element with \"contentinfo\" role must have a unique label that describes its purpose" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Consider the Check Hidden Content setting that is set by the rules + // Also, consider Implicit role checking. + var landmarks = CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, "contentinfo", true, true); + if (landmarks.length === 0 || landmarks.length === 1) { + return null; + } + var dupes = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "aria_contentinfo_label_unique", null); + if (!dupes) { + dupes = AriaUtil_1.AriaUtil.findAriaLabelDupes(landmarks); + CacheUtil_1.CacheUtil.setCache(ruleContext.ownerDocument, "aria_contentinfo_label_unique", dupes); + } + var myLabel = AriaUtil_1.AriaUtil.getAriaLabel(ruleContext); + var passed = myLabel !== "" && (!(myLabel in dupes) || dupes[myLabel] <= 1); + //return new ValidationResult(passed, ruleContext, '', '', [ myLabel ]); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", [myLabel]); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_contentinfo_misuse.ts": +/*!*************************************************!*\ + !*** ./src/v4/rules/aria_contentinfo_misuse.ts ***! + \*************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_contentinfo_misuse = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.aria_contentinfo_misuse = { + 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": "aria_contentinfo_misuse.html", + "Fail_1": "aria_contentinfo_misuse.html", + "group": "aria_contentinfo_misuse.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Element with \"contentinfo\" role is present without an element with \"main\" role", + "group": "Each element with \"contentinfo\" role is only permitted with an element with \"main\" role" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //consider implicit role + if (!AriaUtil_1.AriaUtil.hasRoleInSemantics(ruleContext, "contentinfo")) { + return null; + } + // Consider the Check Hidden Content setting that is set by the rules + var passed = CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, "main", true, true).length > 0; + //return new ValidationResult(passed, [ruleContext], 'role', '', []); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_contentinfo_single.ts": +/*!*************************************************!*\ + !*** ./src/v4/rules/aria_contentinfo_single.ts ***! + \*************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_contentinfo_single = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +exports.aria_contentinfo_single = { + 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": "aria_contentinfo_single.html", + "Fail_1": "aria_contentinfo_single.html", + "group": "aria_contentinfo_single.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Multiple elements with \"contentinfo\" role found on the page", + "group": "A page, document, or application should only have one element with \"contentinfo\" role" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //find out if <footer> element has siblings as <footer> has implicit contentinfo role + if (!AriaUtil_1.AriaUtil.hasRoleInSemantics(ruleContext, "contentinfo")) { + return null; + } + var passed = !AriaUtil_1.AriaUtil.getSiblingWithRoleHidden(ruleContext, "contentinfo", true, true); + //return new ValidationResult(passed, [ruleContext], 'role', '', []); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_descendant_valid.ts": +/*!***********************************************!*\ + !*** ./src/v4/rules/aria_descendant_valid.ts ***! + \***********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_descendant_valid = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.aria_descendant_valid = { + id: "aria_descendant_valid", + context: "dom:*", + dependencies: ["aria_role_valid"], + help: { + "en-US": { + "group": "aria_descendant_valid.html", + "pass": "aria_descendant_valid.html", + "potential_child_implicit_role": "aria_descendant_valid.html", + "fail_child_explicit_role": "aria_descendant_valid.html" + } + }, + messages: { + "en-US": { + "group": "Browsers ignore the explicit and implicit ARIA roles of the descendants of certain elements", + "pass": "The element contains valid descendants", + "potential_child_implicit_role": "The element with role \"{0}\" contains descendants with implicit roles \"{1}\" which are ignored by browsers", + "fail_child_explicit_role": "The element with role \"{0}\" contains descendants with roles \"{1}\" which are ignored by browsers" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + // TODO: ACT: Verify mapping + act: ["307n5z"], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the check if the element is hidden or disabled + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) + return; + //skip the check if the element doesn't require presentational children only + if (!AriaUtil_1.AriaUtil.containsPresentationalChildrenOnly(ruleContext)) + return; + var roles = AriaUtil_1.AriaUtil.getRoles(ruleContext, false); + // if explicit role doesn't exist, get the implicit one + if (!roles || roles.length === 0) + roles = AriaUtil_1.AriaUtil.getImplicitRole(ruleContext); + //ignore if the element doesn't have any explicit or implicit role, shouldn't happen + if (!roles || roles.length === 0) + return null; + var tagName = ruleContext.tagName.toLowerCase(); + // get all the children from accessibility tree, + // including ones with aria-owns + var directATChildren = AriaUtil_1.AriaUtil.getDirectATChildren(ruleContext); + if (directATChildren && directATChildren.length > 0) { + // the element with at least one non-presentational children + var explicitRoles = new Array(); + var implicitRoles = new Array(); + for (var j = 0; j < directATChildren.length; j++) { + // ignore <img> and <svg> + var tag = directATChildren[j].nodeName.toLowerCase(); + if (tag === 'img' || tag === 'svg') + continue; + // get explicit role if exists + var childRoles = AriaUtil_1.AriaUtil.getRoles(directATChildren[j], false); + if (childRoles && childRoles.length > 0) { + explicitRoles.push(childRoles.join(", ")); + } + else { + // get implicit role if exists + childRoles = AriaUtil_1.AriaUtil.getImplicitRole(directATChildren[j]); + if (childRoles && childRoles.length > 0) + implicitRoles.push(childRoles.join(", ")); + } + } + if (explicitRoles.length > 0) { + var retValues = []; + for (var i = 0; i < explicitRoles.length; i++) { + var retToken = new Array(); + retToken.push(roles.join(", ")); + retToken.push(explicitRoles[i]); + retValues.push((0, IRule_1.RuleFail)("fail_child_explicit_role", retToken)); + } + return retValues; + } + if (implicitRoles.length > 0) { + var retValues = []; + for (var i = 0; i < implicitRoles.length; i++) { + var retToken = new Array(); + retToken.push(roles.join(", ")); + retToken.push(implicitRoles[i]); + retValues.push((0, IRule_1.RulePotential)("potential_child_implicit_role", retToken)); + } + return retValues; + } + } + else + return (0, IRule_1.RulePass)("pass"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_document_label_unique.ts": +/*!****************************************************!*\ + !*** ./src/v4/rules/aria_document_label_unique.ts ***! + \****************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_document_label_unique = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +exports.aria_document_label_unique = { + 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": "aria_document_label_unique.html", + "Fail_1": "aria_document_label_unique.html", + "group": "aria_document_label_unique.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Multiple elements with \"document\" roles do not have unique labels", + "group": "Each element with \"document\" role must have a unique label that describes its purpose" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Consider the Check Hidden Content setting that is set by the rules + // Also, consider Implicit role checking. + var landmarks = CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, "document", true, true); + if (landmarks.length === 0 || landmarks.length === 1) { + return null; + } + var dupes = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "aria_document_label_unique", null); + if (!dupes) { + dupes = AriaUtil_1.AriaUtil.findAriaLabelDupes(landmarks); + CacheUtil_1.CacheUtil.setCache(ruleContext.ownerDocument, "aria_document_label_unique", dupes); + } + var myLabel = AriaUtil_1.AriaUtil.getAriaLabel(ruleContext); + var passed = myLabel === "" || !(myLabel in dupes) || dupes[myLabel] <= 1; + // return new ValidationResult(passed, ruleContext, '', '', [ myLabel ]); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", [myLabel]); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_eventhandler_role_valid.ts": +/*!******************************************************!*\ + !*** ./src/v4/rules/aria_eventhandler_role_valid.ts ***! + \******************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_eventhandler_role_valid = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.aria_eventhandler_role_valid = { + 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": "aria_eventhandler_role_valid.html", + "Fail_1": "aria_eventhandler_role_valid.html", + "group": "aria_eventhandler_role_valid.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "The <{0}> element with '{1}' does not have a valid ARIA role specified", + "group": "Elements with event handlers must have a valid ARIA role" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Don't trigger this for SVG element for now until a determination is made (by Rich) + // to support SVG at a point when the SVG a11y spec is ready. + if (CommonUtil_1.CommonUtil.getAncestor(ruleContext, "svg")) { + return null; + } + //this rule is passed if a element has attribut role + //also, passed of element has any implicit roles. + if (AriaUtil_1.AriaUtil.hasAnyRole(ruleContext, true)) { + return (0, IRule_1.RulePass)("Pass_0"); + } + //pass if this element is received focus by default + if (CommonUtil_1.CommonUtil.isfocusableByDefault(ruleContext)) { + return (0, IRule_1.RulePass)("Pass_0"); + } + //validate if this element has any of the given event handler's + var retToken1 = new Array(); + retToken1.push(ruleContext.nodeName.toLowerCase()); + var eventArr = new Array(); + // From WCAG20_Script_UseW3CDomFunctions + //let events = ["onblur", "onfocus", "onchange", "onclick", "oncontextmenu", "ondblclick", "onkeydown", + // "onkeypress", "onkeyup", "onload", "onmousedown", "onmouseup", "onmousemove", "onmouseout", + // "onmouseover", "onmousewheel", "onreset", "onpaste", "onresize", "onscroll", + // "onselect", "onsubmit", "onactivate", "ondeactivate", "onmouseenter", "onmouseleave"]; + var events = ["onblur", "onfocus", "onchange", "onclick", "ondblclick", "onkeydown", + "onkeypress", "onkeyup", "onmousedown", "onmouseup", "onmousemove", "onmouseout", + "onmouseover", "onresize" + ]; + for (var i = 0; i < events.length; ++i) { + if (ruleContext.hasAttribute(events[i])) + eventArr.push(events[i]); + } + var retToken2 = new Array(); + retToken2.push(eventArr.join(", ")); + //return new ValidationResult(false, [ruleContext], '', '', [retToken1, retToken2]); + return (0, IRule_1.RuleFail)("Fail_1", [retToken1.toString(), retToken2.toString()]); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_form_label_unique.ts": +/*!************************************************!*\ + !*** ./src/v4/rules/aria_form_label_unique.ts ***! + \************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_form_label_unique = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +exports.aria_form_label_unique = { + 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": "aria_form_label_unique.html", + "Fail_1": "aria_form_label_unique.html", + "group": "aria_form_label_unique.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Multiple elements with \"form\" role do not have unique labels", + "group": "Each element with \"form\" role must have a unique label that describes its purpose" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Per https://www.w3.org/TR/2017/NOTE-wai-aria-practices-1.1-20171214/examples/landmarks/HTML5.html + // form element should only be considered if it has an aria label or title + if (ruleContext.getAttribute("role") === "form" || + ruleContext.hasAttribute("aria-label") || + ruleContext.hasAttribute("aria-labelledby") || + ruleContext.hasAttribute("title")) { + // Consider the Check Hidden Content setting that is set by the rules + // Also, consider Implicit role checking. + var landmarks = CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, "form", true, true); + if (landmarks.length === 0 || landmarks.length === 1) { + return null; + } + var dupes = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "aria_form_label_unique", null); + if (!dupes) { + dupes = AriaUtil_1.AriaUtil.findAriaLabelDupes(landmarks); + CacheUtil_1.CacheUtil.setCache(ruleContext.ownerDocument, "aria_form_label_unique", dupes); + } + var myLabel = AriaUtil_1.AriaUtil.getAriaLabel(ruleContext); + var passed = myLabel !== "" && + (!(myLabel in dupes) || dupes[myLabel] <= 1); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", [myLabel]); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } + else { + return null; + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_graphic_labelled.ts": +/*!***********************************************!*\ + !*** ./src/v4/rules/aria_graphic_labelled.ts ***! + \***********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_graphic_labelled = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.aria_graphic_labelled = { + 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": "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: { + "en-US": { + "group": "An element with a graphics role must have a non-empty label", + "Pass_0": "Rule Passed", + "Fail_1": "Element with \"{0}\" graphics role has no label", + "Fail_2": "Element with \"{0}\" graphics role has no label or an empty label", + "Fail_3": "Element with \"{0}\" graphics role missing non-empty 'aria-label' or 'aria-labelledby'" + } + }, + rulesets: [], + act: [{ + "7d6734": { + "Pass_0": "pass", + "Fail_1": "inapplicable", + "Fail_2": "fail", + "Fail_3": "inapplicable" + } + }], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + if (!ruleContext.hasAttribute("role") || !ruleContext.getAttribute("role").includes("graphics-")) + return null; + /* removed the role check role= presentation since if an element has role=img, then there needs to be a check for alt attribute regardless of the presecne of role=presentation + if (RPTUtil.hasRole(ruleContext, "presentation") || RPTUtil.hasRole(ruleContext, "none")){ + return RulePass(1); + }*/ + // If role === img, you must use an aria label + //check attributes aria-label and aria-labelledby for other tags (e.g., <div>, <span>, etc) + var passed = AriaUtil_1.AriaUtil.getAriaLabel(ruleContext).length > 0; + if (!passed && ruleContext.nodeName.toLowerCase() === "svg") { + var svgTitle = ruleContext.querySelector("title"); + passed = svgTitle && CommonUtil_1.CommonUtil.hasInnerContent(svgTitle); + } + if (!passed) { + //check title attribute + passed = CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "title"); + // We should guide people to use alt or label - this is just a secondary approach to silence the rule. + // So, we should keep the POF from above. + // if (!passed) POF = "Fail_3"; + } + //return new ValidationResult(passed, [ruleContext], 'role', '', []); + if (passed) { + return (0, IRule_1.RulePass)("Pass_0"); + } + else { + return (0, IRule_1.RuleFail)("Fail_2", [ruleContext.getAttribute("role")]); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_hidden_nontabbable.ts": +/*!*************************************************!*\ + !*** ./src/v4/rules/aria_hidden_nontabbable.ts ***! + \*************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_hidden_nontabbable = void 0; +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +exports.aria_hidden_nontabbable = { + 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_nontabbable.html", + "Pass_0": "aria_hidden_nontabbable.html", + "Fail_1": "aria_hidden_nontabbable.html" + } + }, + messages: { + "en-US": { + "group": "A hidden element should not contain any tabbable elements", + "Pass_0": "Rule Passed", + "Fail_1": "Element \"{0}\" should not be focusable within the subtree of an element with an 'aria-hidden' attribute with value 'true'" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: ["1.3.1", "4.1.2"], + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_TWO + }], + // TODO: ACT: Handle testcase with focus jumping away + act: "6cfa84", + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var nodeName = ruleContext.nodeName.toLowerCase(); + if (CommonUtil_1.CommonUtil.isTabbable(ruleContext)) { + return (0, IRule_1.RuleFail)("Fail_1", [nodeName]); + } + return (0, IRule_1.RulePass)("Pass_0"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_id_unique.ts": +/*!****************************************!*\ + !*** ./src/v4/rules/aria_id_unique.ts ***! + \****************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_id_unique = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var fragment_1 = __webpack_require__(/*! ../../v2/checker/accessibility/util/fragment */ "./src/v2/checker/accessibility/util/fragment.ts"); +var ARIADefinitions_1 = __webpack_require__(/*! ../../v2/aria/ARIADefinitions */ "./src/v2/aria/ARIADefinitions.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.aria_id_unique = { + id: "aria_id_unique", + context: "dom:*", + refactor: { + "Rpt_Aria_ValidIdRef": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "Pass_0": "aria_id_unique.html", + "Fail_1": "aria_id_unique.html", + "group": "aria_id_unique.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "The 'id' \"{0}\" specified for the ARIA property '{1}' value is not valid", + "group": "The ARIA property must reference a non-empty unique id of an existing element that is visible" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + // TODO: ACT: 6a7281 - Need a separate reason code when the property is not required. ACT says it's okay to be + // invalid when not required. I think we should still fail, but flag it as a different reason so that we can have a subset + // aligns with ACT. + act: ["59796f", "6a7281"], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var pass = true; + var attrNameArr = new Array(); + var nonExistantIDs = new Array(); + var ownerDocument = fragment_1.FragmentUtil.getOwnerFragment(ruleContext); + var contextAttributes = ruleContext.attributes; + var idTokens = new Array(); + var testedReferences = 0; + if (contextAttributes) { + for (var i = 0, attrLength = contextAttributes.length; i < attrLength; i++) { + pass = true; + var attrName = contextAttributes[i].name; + if (AriaUtil_1.AriaUtil.isDefinedAriaAttribute(ruleContext, attrName)) { + var dataTypes = ARIADefinitions_1.ARIADefinitions.propertyDataTypes[attrName]; + if (dataTypes && dataTypes.type) { + var supportsOneIDRef = (dataTypes.type == "http://www.w3.org/2001/XMLSchema#idref") ? true : false; + //If the data type supports one or more id refs do error checking + if (supportsOneIDRef || (dataTypes.type == "http://www.w3.org/2001/XMLSchema#idrefs")) { + testedReferences++; + var nodeValueLength = CommonUtil_1.CommonUtil.normalizeSpacing(contextAttributes[i].nodeValue).length; + var idArray = contextAttributes[i].nodeValue.split(" "); + // Check for an empty ID Ref + if (nodeValueLength < 1) { + pass = false; + idTokens.push("\"" + contextAttributes[i].nodeValue + "\""); + } + // check to see if too many IDRefs + else if (supportsOneIDRef) { + //If has too many IDRefs it is an error + if (nodeValueLength >= 1) { + if (idArray.length > 1) { + pass = false; + // Need to capture all the IDRefs for idTokens + for (var z = 0, length_1 = idArray.length; z < length_1; ++z) { + if (idArray[z] != "") { + idTokens.push(idArray[z]); + } + } + } + } + } + // check to see if id refs are invalid + if (pass && nodeValueLength >= 1) { + for (var j = 0, length_2 = idArray.length; j < length_2; ++j) { + if (idArray[j].length > 0) { // it is an empty string if spaces are one after the other + // Get the element by Id + var elementById = ownerDocument.getElementById(idArray[j]); + // Pass if the element exists + pass = elementById != null; + // If the element exists and this is an aria attribute that doesn't support hidden ID reference + // then perform a isNodeVisible check, in the case the node is not visible then we return + // false and true otherwise. + if (pass && !dataTypes.hiddenIDRefSupported) { + pass = VisUtil_1.VisUtil.isNodeVisible(elementById); + } + if (!pass) { + if (idArray[j] != "") { + idTokens.push(idArray[j]); + } + } + // Only one of the id references need to be valid to mark the rule as passed. + // Therefore if we find a single visible element then stop checking and mark as + // passed. + else { + break; + } + } + } + } + } + } + if (!pass) + attrNameArr.push(attrName); + } + } + } + var passed = attrNameArr.length == 0; + var retToken1 = new Array(); + var retToken2 = new Array(); + var retToken3 = new Array(); + if (!passed) { + retToken2.push(attrNameArr.join(", ")); + retToken3.push(ruleContext.nodeName.toLowerCase()); + if (idTokens.length > 0) { + retToken1.push(idTokens.join(", ")); + } + } + //return new ValidationResult(passed, [ruleContext], attrNameArr, '', passed == true ? [] : [retToken1, retToken2, retToken3]); + if (testedReferences == 0) { + return null; + } + else if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", [retToken1.toString(), retToken2.toString(), retToken3.toString()]); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_img_labelled.ts": +/*!*******************************************!*\ + !*** ./src/v4/rules/aria_img_labelled.ts ***! + \*******************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_img_labelled = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.aria_img_labelled = { + id: "aria_img_labelled", + context: "aria:img, aria:image", + refactor: { + "HAAC_Aria_ImgAlt": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1", + "Fail_2": "Fail_2", + "Fail_3": "Fail_3" + } + }, + help: { + "en-US": { + "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: { + "en-US": { + "group": "An element with \"img\" role must have a non-empty label", + "Pass_0": "Rule Passed", + "Fail_1": "Element with \"img\" role has no label", + "Fail_2": "Element with \"img\" role has no label or an empty label", + "Fail_3": "Element with \"img\" role missing non-empty 'aria-label' or 'aria-labelledby'" + } + }, + rulesets: [], + act: ["23a2a8", { + "7d6734": { + "Pass_0": "pass", + "Fail_1": "inapplicable", + "Fail_2": "fail", + "Fail_3": "inapplicable" + } + }], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + if (!ruleContext.hasAttribute("role")) { + // If no role, this is implicit, and covered by WCAG20_Img_HasAlt + return null; + } + var nodeName = ruleContext.nodeName.toLocaleLowerCase(); + // svg and img elements are handled in svg_graphics_labbelled and img_alt_valid rules + if (nodeName === 'svg' || nodeName === 'img') + return; + /* removed the role check role= presentation since if an element has role=img, then there needs to be a check for alt attribute regardless of the presecne of role=presentation + if (RPTUtil.hasRole(ruleContext, "presentation") || RPTUtil.hasRole(ruleContext, "none")){ + return RulePass(1); + }*/ + /* JCH - Points of failure + * 0. Missing alt attr with value + * 1. Missing aria-label or aria-labelledby + * 2. Missing title attr with value + */ + // If role === img, you must use an aria label + //check attributes aria-label and aria-labelledby for other tags (e.g., <div>, <span>, etc) + var passed = AriaUtil_1.AriaUtil.getAriaLabel(ruleContext).length > 0; + if (!passed && ruleContext.nodeName.toLowerCase() === "svg") { + var svgTitle = ruleContext.querySelector("title"); + passed = svgTitle && CommonUtil_1.CommonUtil.hasInnerContent(svgTitle); + } + if (!passed) { + //check title attribute + passed = CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "title"); + // We should guide people to use alt or label - this is just a secondary approach to silence the rule. + // So, we should keep the POF from above. + // if (!passed) POF = "Fail_3"; + } + //return new ValidationResult(passed, [ruleContext], 'role', '', []); + if (passed) { + return (0, IRule_1.RulePass)("Pass_0"); + } + else { + return (0, IRule_1.RuleFail)("Fail_2"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_keyboard_handler_exists.ts": +/*!******************************************************!*\ + !*** ./src/v4/rules/aria_keyboard_handler_exists.ts ***! + \******************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_keyboard_handler_exists = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var ARIADefinitions_1 = __webpack_require__(/*! ../../v2/aria/ARIADefinitions */ "./src/v2/aria/ARIADefinitions.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.aria_keyboard_handler_exists = { + id: "aria_keyboard_handler_exists", + context: "dom:*[role]", + dependencies: ["aria_role_allowed"], + refactor: { + "Rpt_Aria_MissingKeyboardHandler": { + "pass": "pass", + "potential_no_keyboard_access": "potential_no_keyboard_access" + } + }, + help: { + "en-US": { + "pass": "aria_keyboard_handler_exists.html", + "potential_no_keyboard_access": "aria_keyboard_handler_exists.html", + "group": "aria_keyboard_handler_exists.html" + } + }, + messages: { + "en-US": { + "pass": "Rule Passed", + "potential_no_keyboard_access": "Verify the <{0}> element with \"{1}\" role has keyboard access", + "group": "Interactive WAI_ARIA UI components must provide keyboard access" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the check if the element is hidden or disabled + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) + return; + var passed = true; + var savedPassed = passed; + var doc = ruleContext.ownerDocument; + var designPatterns = ARIADefinitions_1.ARIADefinitions.designPatterns; + //let roles = ruleContext.getAttribute("role").trim().toLowerCase().split(/\s+/); + //only consider user specified role(s), rather than native containers + var roles = AriaUtil_1.AriaUtil.getRoles(ruleContext, false); + var nodeName = ruleContext.nodeName.toLowerCase(); + //if an explicit role is specified, the 'aria_role_redundant' rule should be triggered and addressed first, + // and the current rule should be ignored + if (nodeName === 'datalist' && roles && roles.includes("listbox")) + return null; + // Composite user interface widget roles. They act as containers that manage other, contained widgets. + var roleContainers = ["combobox", "grid", "listbox", "menu", "menubar", "radiogroup", "tablist", "tree", "treegrid"]; + for (var _i = 0, roleContainers_1 = roleContainers; _i < roleContainers_1.length; _i++) { + var role = roleContainers_1[_i]; + if (AriaUtil_1.AriaUtil.getAncestorWithRole(ruleContext, role, true) != null) + // it's a descendant of a composite widget already examined + return null; + } + var hasAttribute = CommonUtil_1.CommonUtil.hasAttribute; + var roleNameArr = new Array(); + for (var j = 0; j < roles.length; ++j) { + var pattern = designPatterns[roles[j]]; + if (roleContainers.indexOf(roles[j]) >= 0) { + var disabled = hasAttribute(ruleContext, 'aria-disabled') ? ruleContext.getAttribute("aria-disabled") : ''; + if (!disabled) { + // See if there is a keyboard event handler on the parent element. + passed = (ruleContext.hasAttribute("onkeydown") || ruleContext.hasAttribute("onkeypress") || ruleContext.hasAttribute("onkeyup")); + // No keyboard event handler found on parent. See if keyboard event handlers are on required child elements. + if (!passed) { + if (!hasAttribute(ruleContext, 'aria-activedescendant')) { + var reqChildren = ARIADefinitions_1.ARIADefinitions.designPatterns[roles[j]].reqChildren; + if (reqChildren) { /* SMF TODO menubar does not have any reqChildren */ + for (var i = 0, requiredChildrenLength = reqChildren.length; i < requiredChildrenLength; i++) { + var xp = "*[contains(@role,'" + reqChildren[i] + "')]"; + var xpathResult = doc.evaluate(xp, ruleContext, CommonUtil_1.CommonUtil.defaultNSResolver, 0 /* XPathResult.ANY_TYPE */, null); + var r = xpathResult.iterateNext(); + while (r) { + passed = (r.hasAttribute("onkeydown") || r.hasAttribute("onkeypress")); + if (!passed) { + // Child did not have a key handler. See if any of the grandchildren do. + var xp2 = "descendant::*"; + var xpathResult2 = doc.evaluate(xp2, r, CommonUtil_1.CommonUtil.defaultNSResolver, 0 /* XPathResult.ANY_TYPE */, null); + var r2 = xpathResult2.iterateNext(); + while (r2 && !passed) { + // Following are the steps that are executed at this stage to determine if the node should be classified as hidden + // or not. + // 1. Only run isNodeVisible check if hidden content should NOT be checked. In the case that hidden content is to, + // be scanned then we can just scan everything as normal. In the case that the current node is hidden we do not + // add it to the roleToElems hash at all or even do any checking for it at all. + // + // Note: The if conditions uses short-circuiting so if the first condition is not true it will not check the next one, + // so on and so forth. + if (CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(r2)) { + r2 = xpathResult2.iterateNext(); + continue; + } + passed = CommonUtil_1.CommonUtil.isTabbable(r2) && + (r2.hasAttribute("onkeydown") || r2.hasAttribute("onkeypress")); + if (!passed) { + // Is this an action link? + if (r2.nodeName.toLowerCase() == "a" && r2.hasAttribute("href")) { + var href = r2.getAttribute("href"); + // Action link must start with "javascript:", must not contain a "void" and + // must have a function name following "javascript:" (i.e., href.length > 11) + passed = (href.startsWith("javascript:") && href.indexOf("void") == -1 && href.length > 11); + } + } + r2 = xpathResult2.iterateNext(); + } + } + if (!passed) { + // All the required children (or any descendants of the required children) must have keypress/keydown + // If not, it is a failure, no need to keep checking any more. + break; + } + r = xpathResult.iterateNext(); + } + } + } + else { + // The current element failed the keydown/keypress, and it does not have required children, such as menubar. + // Let's check its descendants. + var xp2 = "descendant::*"; + var xpathResult2 = doc.evaluate(xp2, ruleContext, CommonUtil_1.CommonUtil.defaultNSResolver, 0 /* XPathResult.ANY_TYPE */, null); + var r2 = xpathResult2.iterateNext(); + while (r2 && !passed) { + // Following are the steps that are executed at this stage to determine if the node should be classified as hidden + // or not. + // 1. Only run isNodeVisible check if hidden content should NOT be checked. In the case that hidden content is to, + // be scanned then we can just scan everything as normal. In the case that the current node is hidden we do not + // add it to the roleToElems hash at all or even do any checking for it at all. + // + // Note: The if conditions uses short-circuiting so if the first condition is not true it will not check the next one, + // so on and so forth. + if (CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(r2)) { + r2 = xpathResult2.iterateNext(); + continue; + } + passed = CommonUtil_1.CommonUtil.isTabbable(r2) && + (r2.hasAttribute("onkeydown") || r2.hasAttribute("onkeypress")); + if (!passed) { + // Is this an action link? + if (r2.nodeName.toLowerCase() == "a" && r2.hasAttribute("href")) { + var href = r2.getAttribute("href"); + // Action link must start with "javascript:", must not contain a "void" and + // must have a function name following "javascript:" (i.e., href.length > 11) + passed = (href.startsWith("javascript:") && href.indexOf("void") == -1 && href.length > 11); + } + } + r2 = xpathResult2.iterateNext(); + } + } + } + else { + // Attribute 'aria-activedescendant' is specified. + passed = true; + } + } + } + } + if (!passed) { + roleNameArr.push(roles[j]); + } + if (!passed && savedPassed) { + savedPassed = passed; + } + } + var retToken1 = new Array(); + retToken1.push(ruleContext.nodeName.toLowerCase()); + var retToken2 = new Array(); + retToken2.push(roleNameArr.join(", ")); + // Determine if this is referenced by a combobox. If so, leave it to the combobox rules to check + var id = ruleContext.getAttribute("id"); + if (id && id.trim().length > 0) { + if (ruleContext.ownerDocument.querySelector("*[aria-controls='".concat(id, "'][role='combobox']"))) { + return null; + } + } + return savedPassed ? (0, IRule_1.RulePass)("pass") : (0, IRule_1.RulePotential)("potential_no_keyboard_access", [retToken1.toString(), retToken2.toString()]); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_landmark_name_unique.ts": +/*!***************************************************!*\ + !*** ./src/v4/rules/aria_landmark_name_unique.ts ***! + \***************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_landmark_name_unique = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var ARIAMapper_1 = __webpack_require__(/*! ../../v2/aria/ARIAMapper */ "./src/v2/aria/ARIAMapper.ts"); +var DOMUtil_1 = __webpack_require__(/*! ../../v2/dom/DOMUtil */ "./src/v2/dom/DOMUtil.ts"); +var fragment_1 = __webpack_require__(/*! ../../v2/checker/accessibility/util/fragment */ "./src/v2/checker/accessibility/util/fragment.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +var AccNameUtil_1 = __webpack_require__(/*! ../util/AccNameUtil */ "./src/v4/util/AccNameUtil.ts"); +exports.aria_landmark_name_unique = { + 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": "aria_landmark_name_unique.html", + "Fail_0": "aria_landmark_name_unique.html", + "group": "aria_landmark_name_unique.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Multiple elements with \"{0}\" landmarks within the same parent region are distinguished by unique 'aria-label' or 'aria-labelledby'", + "Fail_0": "Multiple elements with \"{0}\" landmarks within the same parent region are not distinguished from one another because they have the same \"{1}\" label", + "group": "Each landmark should have a unique 'aria-labelledby' or 'aria-label' or be nested in a different parent region" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }, + { + "id": ["WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + // TODO do I need to fiter out bad contentinfo nodes: The footer element is not a contentinfo landmark when it is a descendant of the following HTML5 sectioning elements: https://www.w3.org/TR/2017/NOTE-wai-aria-practices-1.1-20171214/examples/landmarks/HTML5.html + var ruleContext = context["dom"].node; + // Checking if this landmark is inside a dialog element. If it is we are going to skip checking it. + var copyOfRuleContext = ruleContext; + var parnetNodesOfRuleContext = []; + while (copyOfRuleContext) { + parnetNodesOfRuleContext.unshift(copyOfRuleContext); + copyOfRuleContext = copyOfRuleContext.parentElement; + } + parnetNodesOfRuleContext.forEach(function (elem) { + if (elem !== null) { + if (elem.tagName == "DIALOG" || elem.getAttribute('role') == "dialog") { + return null; // Skipping checking landmarks that happen to be inside dialog elements + } + } + }); + // Begining formCache work + var ownerDocument = fragment_1.FragmentUtil.getOwnerFragment(ruleContext); + var formCache = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "aria_landmark_name_unique", null); + if (!formCache) { + // console.log("---------ENTERING FORM CACHE") + formCache = { + navigationNodes: [], + navigationNodesComputedLabels: [], + navigationNodesParents: [], + navigationNodesMatchFound: [] + }; + var navigationNodesTemp = ownerDocument.querySelectorAll('aside,[role="complementary"], footer,[role="contentinfo"], header,[role="banner"], main,[role="main"], nav,[role="navigation"], form,[role="form"], section,[role="region"],[role="search"]'); + var navigationNodes = Array.from(navigationNodesTemp); + var navigationNodesParents = []; + var navigationNodesMatchFound = []; + // This block of code filters out any nav elements that are under a dialog. As those are not ones we want to test against as we consider dialogs are separate locations from the rest of the main page. + var navigationNodesWithoutDialogs = []; + for (var i = 0; i < navigationNodes.length; i++) { + var a = navigationNodes[i]; + var dialogNodeFoundFlag = false; + while (a) { + a = a.parentElement; + if (a !== null) { + if (a.tagName == "DIALOG" || a.getAttribute('role') == "dialog") { + dialogNodeFoundFlag = true; + } + } + } + if (!dialogNodeFoundFlag) { + navigationNodesWithoutDialogs.push(navigationNodes[i]); + } + } + navigationNodes = navigationNodesWithoutDialogs; + for (var i = 0; i < navigationNodes.length; i++) { + // Loop over all the landmark nodes + var els = []; + var a = navigationNodes[i].parentElement; + while (a) { + els.push(a); + a = a.parentElement; + } + for (var j = 0; j < els.length; j++) { + // Loop over all the parents of the landmark nodes + // Find nearest landmark parent based on the tagName or the role attribute + var tagNameTrigger = [ + "ASIDE", + "FOOTER", + "FORM", + "HEADER", + "MAIN", + "NAV", + "SECTION", + ].includes(els[j].tagName); + var roleNameTrigger = false; + if (els[j].hasAttribute("role")) { + roleNameTrigger = [ + "complementary", + "contentinfo", + "form", + "banner", + "main", + "navigation", + "region", + "search", + ].includes(els[j].getAttribute("role")); // TODO we are not covering the case where a elemenent with multiple roles. e.g., role = "form banner". This is a improvment we might want to add in the future. + } + if (tagNameTrigger || roleNameTrigger) { + // Nearest parent-landmark found + navigationNodesParents.push(els[j]); + break; + } + if (j === els.length - 1) { + // This node is at the head of the file so it does not have a parent + navigationNodesParents.push(null); + break; + } + } + } + var navigationNodesComputedLabels = []; + for (var i = 0; i < navigationNodes.length; i++) { + var pair = AccNameUtil_1.AccNameUtil.computeAccessibleName(navigationNodes[i]); + // Loop over all the landmark nodes + navigationNodesComputedLabels.push( + /**ARIAMapper.computeName(navigationNodes[i])*/ + pair && pair.name && pair.name.trim().length > 0 ? pair.name.trim() : ""); + } + for (var i = 0; i < navigationNodesParents.length; i++) { + // Loop over all the parents of the landmark nodes to find duplicates + var matchFound = false; + var pass_0_flag = false; + for (var j = 0; j < navigationNodesParents.length; j++) { + if (j === i) { + // We do not want to compare against ourselfs + continue; + } + // This if statement focus on the case where the parent landmark is null + if (navigationNodesParents[i] === null && + navigationNodesParents[j] === null) { + // We are looking at two root nodes, so we should compare them. + if (ARIAMapper_1.ARIAMapper.nodeToRole(navigationNodes[i]) === + ARIAMapper_1.ARIAMapper.nodeToRole(navigationNodes[j])) { + // Both nodes have the same role AND + if (navigationNodesComputedLabels[i] === + navigationNodesComputedLabels[j]) { + // both have the same (computed) aria-label/aria-labelledby + // if (navigationNodesComputedLabels[i] === "") { + navigationNodesMatchFound.push("Fail_0"); // Fail 0 + matchFound = true; + break; + // } + } + else { + // Same parents && same node roles BUT different computed aria-label/aria-labelledby + // We have at least a Pass_0. But we need to check all nodes to see if another one fails. So set a flag. + pass_0_flag = true; + } + } + else { + // Same parents but different node roles // Not applicable + } + } + else if (navigationNodesParents[i] === null || + navigationNodesParents[j] === null) { + // We are looking at a single root node + continue; + } + // This if statement focus on the case where the parent landmark is NOT null + if (DOMUtil_1.DOMUtil.sameNode(navigationNodesParents[i], navigationNodesParents[j])) { + // We have the same parent-landmark AND + if (ARIAMapper_1.ARIAMapper.nodeToRole(navigationNodes[i]) === + ARIAMapper_1.ARIAMapper.nodeToRole(navigationNodes[j])) { + // Both nodes have the same role AND + if (navigationNodesComputedLabels[i] === + navigationNodesComputedLabels[j]) { + // both have the same (computed) aria-label/aria-labelledby + // if (navigationNodesComputedLabels[i] === "") { + navigationNodesMatchFound.push("Fail_0"); // Fail 0 + matchFound = true; + break; + // } + } + else { + // Same parents && same node roles BUT different computed aria-label/aria-labelledby + // We have at least a Pass_0. But we need to check all nodes to see if another one fails. So set a flag. + pass_0_flag = true; + } + } + else { + // Same parents but different node roles // Not applicable + } + } + else { + // Different parents // Not applicable + } + } + if (!matchFound) { + if (pass_0_flag) { + navigationNodesMatchFound.push("Pass_0"); + } + else { + navigationNodesMatchFound.push("null"); // This is not the keyword null on purpose. It is a spaceholder in the array so indexes match up. + } + } + } + formCache.navigationNodesComputedLabels = + navigationNodesComputedLabels; + formCache.navigationNodes = navigationNodes; + formCache.navigationNodesParents = navigationNodesParents; + formCache.navigationNodesMatchFound = navigationNodesMatchFound; + CacheUtil_1.CacheUtil.setCache(ruleContext.ownerDocument, "aria_landmark_name_unique", formCache); + // TODO Add validation that all 3 arrays are the same length + // console.log("-------------End formCache") + } // End formCache + var indexToCheck = -1; + for (var i = 0; i < formCache.navigationNodes.length; i++) { + if (ruleContext.isSameNode(formCache.navigationNodes[i])) { + indexToCheck = i; + } + } + if (indexToCheck === -1) { + return null; + } + if (formCache.navigationNodesMatchFound[indexToCheck] === "Pass_0") { + return (0, IRule_1.RulePass)("Pass_0", [ + ARIAMapper_1.ARIAMapper.nodeToRole(formCache.navigationNodes[indexToCheck]), + ]); + } + else if (formCache.navigationNodesMatchFound[indexToCheck] === "Fail_0") { + return (0, IRule_1.RuleFail)("Fail_0", [ + ARIAMapper_1.ARIAMapper.nodeToRole(formCache.navigationNodes[indexToCheck]), + formCache.navigationNodesComputedLabels[indexToCheck], + ]); + } + else { + return null; + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_main_label_unique.ts": +/*!************************************************!*\ + !*** ./src/v4/rules/aria_main_label_unique.ts ***! + \************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_main_label_unique = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.aria_main_label_unique = { + 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": "aria_main_label_unique.html", + "Fail_1": "aria_main_label_unique.html", + "group": "aria_main_label_unique.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Multiple elements with \"main\" role do not have unique labels", + "group": "Each element with \"main\" role must have unique label that describes its purposes" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var contextLabel = AriaUtil_1.AriaUtil.getAriaLabel(ruleContext); + var parentDocRole = AriaUtil_1.AriaUtil.getAncestorWithRole(ruleContext, "document", true); + var mains = CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, "main", true, true); + var result = null; + for (var i = 0; i < mains.length; ++i) { + if (mains[i] === ruleContext) + continue; + result = (0, IRule_1.RulePass)("Pass_0"); + var thisParentDocRole = AriaUtil_1.AriaUtil.getAncestorWithRole(mains[i], "document", true); + if (thisParentDocRole === parentDocRole) { + if (AriaUtil_1.AriaUtil.getAriaLabel(mains[i]) === contextLabel) { + result = (0, IRule_1.RuleFail)("Fail_1"); + break; + } + } + } + return result; + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_main_label_visible.ts": +/*!*************************************************!*\ + !*** ./src/v4/rules/aria_main_label_visible.ts ***! + \*************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_main_label_visible = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.aria_main_label_visible = { + 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": "aria_main_label_visible.html", + "Fail_1": "aria_main_label_visible.html", + "group": "aria_main_label_visible.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Multiple elements with \"main\" role do not have unique visible labels", + "group": "Each element with \"main\" role should have a unique visible label that describes its purpose" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Consider the Check Hidden Content setting that is set by the rules + //call getElementsByRoleHidden with considerImplicit flag as true + //so that the method returs <main> elements + var landmarks = CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, "main", true, true); + if (landmarks.length === 0 || landmarks.length === 1) { + return null; + } + var passed = AriaUtil_1.AriaUtil.hasUniqueAriaLabelledby(landmarks); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_navigation_label_unique.ts": +/*!******************************************************!*\ + !*** ./src/v4/rules/aria_navigation_label_unique.ts ***! + \******************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_navigation_label_unique = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +exports.aria_navigation_label_unique = { + 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": "aria_navigation_label_unique.html", + "Fail_1": "aria_navigation_label_unique.html", + "group": "aria_navigation_label_unique.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Multiple elements with \"navigation\" role do not have unique labels", + "group": "Each element with \"navigation\" role must have a unique label that describes its purpose" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Consider the Check Hidden Content setting that is set by the rules + var landmarks = CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, "navigation", true, true); + if (landmarks.length === 0 || landmarks.length === 1) { + return null; + } + var dupes = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "aria_navigation_label_unique", null); + if (!dupes) { + dupes = AriaUtil_1.AriaUtil.findAriaLabelDupes(landmarks); + CacheUtil_1.CacheUtil.setCache(ruleContext.ownerDocument, "aria_navigation_label_unique", dupes); + } + var myLabel = AriaUtil_1.AriaUtil.getAriaLabel(ruleContext); + var passed = myLabel !== "" && (!(myLabel in dupes) || dupes[myLabel] <= 1); + //return new ValidationResult(passed, ruleContext, '', '', [ myLabel ]); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", [myLabel]); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_parent_required.ts": +/*!**********************************************!*\ + !*** ./src/v4/rules/aria_parent_required.ts ***! + \**********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_parent_required = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var ARIADefinitions_1 = __webpack_require__(/*! ../../v2/aria/ARIADefinitions */ "./src/v2/aria/ARIADefinitions.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.aria_parent_required = { + id: "aria_parent_required", + context: "dom:*[role]", + dependencies: ["aria_role_allowed"], + refactor: { + "Rpt_Aria_RequiredParent_Native_Host_Sematics": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "group": "aria_parent_required.html", + "Pass_0": "aria_parent_required.html", + "Fail_1": "aria_parent_required.html" + } + }, + messages: { + "en-US": { + "group": "Each element with an implicit or explicit role must be contained within a valid element", + "Pass_0": "Rule Passed", + "Fail_1": "Element with \"{0}\" role is not contained in or owned by an element with one of the following roles: \"{1}\"" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + // TODO: ACT: Check Fail 3 + act: "ff89c9", + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the check if the element is hidden or disabled + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) + return; + //skip the check if the element should be a presentational child of an element + if (AriaUtil_1.AriaUtil.shouldBePresentationalChild(ruleContext) || VisUtil_1.VisUtil.isNodePresentational(ruleContext)) + return; + var passed = true; + var designPatterns = ARIADefinitions_1.ARIADefinitions.designPatterns; + var roleNameArr = new Array(); + var containerRoles = new Array(); + var testedContainer = 0; + var ancestorRoles = contextHierarchies["aria"].map(function (info) { return info.role; }); + var parentRole = ancestorRoles[ancestorRoles.length - 2]; + var count = 2; + while (parentRole === 'none') { + count++; + parentRole = ancestorRoles[ancestorRoles.length - count]; + } + /**for (let j = 0, length = roles.length; j < length; ++j) { + if (designPatterns[roles[j]] && designPatterns[roles[j]].container != null) { + testedContainer++; + passed = false; + containerRoles = designPatterns[roles[j]].container; + for (let i = 0, containersLength = containerRoles.length; !passed && i < containersLength; i++) { + passed = parentRole === containerRoles[i]; + if (passed) break; + } + if (passed == false) { + roleNameArr.push(roles[j]); + } + } + } + */ + var role = AriaUtil_1.AriaUtil.getResolvedRole(ruleContext); + if (designPatterns[role] && designPatterns[role].container != null) { + testedContainer++; + passed = false; + containerRoles = designPatterns[role].container; + for (var i = 0, containersLength = containerRoles.length; !passed && i < containersLength; i++) { + passed = parentRole === containerRoles[i]; + if (passed) + break; + } + if (passed == false) { + roleNameArr.push(role); + } + } + var retToken1 = new Array(); + retToken1.push(roleNameArr.join(", ")); + var retToken2 = new Array(); + retToken2.push(containerRoles.join(", ")); + //return new ValidationResult(passed, [ruleContext], '', '', passed == true ? [] : [retToken1, retToken2]); + if (testedContainer == 0) { + return null; + } + else if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", [retToken1.toString(), retToken2.toString()]); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_region_label_unique.ts": +/*!**************************************************!*\ + !*** ./src/v4/rules/aria_region_label_unique.ts ***! + \**************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_region_label_unique = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +exports.aria_region_label_unique = { + 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": "aria_region_label_unique.html", + "Fail_1": "aria_region_label_unique.html", + "group": "aria_region_label_unique.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Multiple elements with \"region\" role do not have unique labels", + "group": "Each element with \"region\" role must have a unique label that describes its purpose" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Per https://www.w3.org/TR/2017/NOTE-wai-aria-practices-1.1-20171214/examples/landmarks/HTML5.html + // form element should only be considered if it has an aria label or title + if (ruleContext.getAttribute("role") === "region" || + ruleContext.hasAttribute("aria-label") || + (ruleContext.hasAttribute("aria-labelledby") && !CommonUtil_1.CommonUtil.isIdReferToSelf(ruleContext, ruleContext.getAttribute("aria-labelledby"))) || + ruleContext.hasAttribute("title")) { + // Consider the Check Hidden Content setting that is set by the rules + // Also, consider Implicit role checking. + var landmarks = CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, "region", true, true); + if (landmarks.length === 0 || landmarks.length === 1) { + return null; + } + var dupes = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "aria_region_label_unique", null); + if (!dupes) { + dupes = AriaUtil_1.AriaUtil.findAriaLabelDupes(landmarks); + CacheUtil_1.CacheUtil.setCache(ruleContext.ownerDocument, "aria_region_label_unique", dupes); + } + var myLabel = AriaUtil_1.AriaUtil.getAriaLabel(ruleContext); + var passed = myLabel !== "" && + (!(myLabel in dupes) || dupes[myLabel] <= 1); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", [myLabel]); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } + else { + return null; + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_region_labelled.ts": +/*!**********************************************!*\ + !*** ./src/v4/rules/aria_region_labelled.ts ***! + \**********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_region_labelled = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.aria_region_labelled = { + id: "aria_region_labelled", + context: "aria:region", + refactor: { + "Rpt_Aria_RegionLabel_Implicit": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + // "Fail_2": "Fail_2" + } + }, + help: { + "en-US": { + "Pass_0": "aria_region_labelled.html", + "Fail_1": "aria_region_labelled.html", + // "Fail_2": "aria_region_labelled.html", + "group": "aria_region_labelled.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Element with \"region\" role does not have a label", + // "Fail_2": "Element with \"region\" role is not labeled with 'aria-label' or 'aria-labelledby'", + "group": "Each element with \"region\" role must have a label that describes its purpose" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var passed = AriaUtil_1.AriaUtil.hasAriaLabel(ruleContext) || CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "title"); + if (passed) { + return (0, IRule_1.RulePass)("Pass_0"); + } + else { + return (0, IRule_1.RuleFail)("Fail_1"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_role_allowed.ts": +/*!*******************************************!*\ + !*** ./src/v4/rules/aria_role_allowed.ts ***! + \*******************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_role_allowed = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +exports.aria_role_allowed = { + 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": "aria_role_allowed.html", + "Pass_0": "aria_role_allowed.html", + "Fail_2": "aria_role_allowed.html", + "Potential_1": "aria_role_allowed.html" + } + }, + messages: { + "en-US": { + "group": "Elements must have a valid 'role' per ARIA specification", + "Pass_0": "Rule Passed", + "Fail_2": "The role '{0}' defined on the element is not valid per ARIA specification", + "Potential_1": "Some of the roles, '{0}', defined on the element are not valid per ARIA specification" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: "4.1.2", + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_ONE + }], + // TODO: ACT: Recheck + act: "674b10", + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var roleStr = ruleContext.getAttribute("role").trim().toLowerCase(); + if (roleStr.length === 0) { + return null; + } + if (ruleContext.hasAttribute("aria-hidden") && ruleContext.getAttribute("aria-hidden").toLowerCase() === "true") { + return null; + } + var invalidRoles = AriaUtil_1.AriaUtil.getRolesUndefinedByAria(ruleContext); + if (!invalidRoles || invalidRoles.length === 0) + return (0, IRule_1.RulePass)("Pass_0"); + else { + var roles = roleStr.split(/\s+/); + if (invalidRoles.length === roles.length) { + return (0, IRule_1.RuleFail)("Fail_2", [invalidRoles.join(",")]); + } + else if (invalidRoles.length > 0) { + return (0, IRule_1.RulePotential)("Potential_1", [invalidRoles.join(",")]); + } + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_role_redundant.ts": +/*!*********************************************!*\ + !*** ./src/v4/rules/aria_role_redundant.ts ***! + \*********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_role_redundant = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var TableUtil_1 = __webpack_require__(/*! ../util/TableUtil */ "./src/v4/util/TableUtil.ts"); +exports.aria_role_redundant = { + id: "aria_role_redundant", + context: "dom:*[role]", + help: { + "en-US": { + "pass": "aria_role_redundant.html", + "fail_redundant": "aria_role_redundant.html", + "group": "aria_role_redundant.html" + } + }, + messages: { + "en-US": { + "pass": "An explicitly-assigned ARIA role is not redundant with the implicit role of the element", + "fail_redundant": "The explicitly-assigned ARIA role \"{0}\" is redundant with the implicit role of the element <{1}>", + "group": "An explicitly-assigned ARIA role should not be redundant with the implicit role of the element" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next"], + "num": ["ARIA"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var elemName = ruleContext.tagName.toLowerCase(); + var ariaRoles = AriaUtil_1.AriaUtil.getRoles(ruleContext, false); + if (!ariaRoles || ariaRoles.length === 0) + return; + // the invalid role case: handled by Rpt_Aria_ValidRole. Ignore to avoid duplicated report + var role_defined = AriaUtil_1.AriaUtil.areRolesDefined(ariaRoles); + if (!role_defined) + return null; + // dependency check: if it's already failed in the parent relation, then skip this check + if (["td", "th", "tr"].includes(elemName)) { + var parentRole = TableUtil_1.TableUtil.isTableDescendant(contextHierarchies); + if (parentRole !== null && parentRole.length > 0) + return null; + } + var implicitRoles = AriaUtil_1.AriaUtil.getImplicitRole(ruleContext); + if (!implicitRoles || implicitRoles.length === 0) + return (0, IRule_1.RulePass)("pass"); + var ret = []; + for (var i = 0; i < ariaRoles.length; i++) { + if (!implicitRoles.includes(ariaRoles[i])) + ret.push((0, IRule_1.RulePass)("pass")); + else + ret.push((0, IRule_1.RuleFail)("fail_redundant", [ariaRoles[i], elemName])); + } + if (ret.length > 0) + return ret; + return null; + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_search_label_unique.ts": +/*!**************************************************!*\ + !*** ./src/v4/rules/aria_search_label_unique.ts ***! + \**************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_search_label_unique = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +exports.aria_search_label_unique = { + 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": "aria_search_label_unique.html", + "Fail_1": "aria_search_label_unique.html", + "group": "aria_search_label_unique.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Multiple elements with \"search\" role do not have unique labels", + "group": "Each element with \"search\" role must have a unique label that describes its purpose" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Consider the Check Hidden Content setting that is set by the rules + var landmarks = CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, "search", true, true); + if (landmarks.length === 0 || landmarks.length === 1) { + return null; + } + var dupes = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "aria_search_label_unique", null); + if (!dupes) { + dupes = AriaUtil_1.AriaUtil.findAriaLabelDupes(landmarks); + CacheUtil_1.CacheUtil.setCache(ruleContext.ownerDocument, "aria_search_label_unique", dupes); + } + var myLabel = AriaUtil_1.AriaUtil.getAriaLabel(ruleContext); + var passed = myLabel !== "" && (!(myLabel in dupes) || dupes[myLabel] <= 1); + // return new ValidationResult(passed, ruleContext, '', '', [ myLabel ]); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", [myLabel]); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_semantics.ts": +/*!****************************************!*\ + !*** ./src/v4/rules/aria_semantics.ts ***! + \****************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_attribute_valid = exports.aria_role_valid = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.aria_role_valid = { + id: "aria_role_valid", + context: "dom:*", + 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_role_valid.html", + "Fail_1": "aria_role_valid.html", + "Fail_2": "aria_role_valid.html", + "group": "aria_role_valid.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "The ARIA role '{0}' is not valid for the element <{1}>", + "Fail_2": "The ARIA role '{0}' is not valid for the element <{1}> and may be ignored by the browser since the element is focusable", + "group": "ARIA roles must be valid for the element to which they are assigned" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var tagName = ruleContext.tagName.toLowerCase(); + // only chek element (1) and fragment nodes (11) + if (ruleContext.nodeType !== 1 /* Node.ELEMENT_NODE */) + return null; + //skip the rule + // the invalid role case: handled by aria_role_allowed. Ignore to avoid duplicated report + var undefinedRoles = AriaUtil_1.AriaUtil.getRolesUndefinedByAria(ruleContext); + if (undefinedRoles && undefinedRoles.length > 0) + return null; + var deprecatedRoles = AriaUtil_1.AriaUtil.getDeprecatedAriaRoles(ruleContext); + if (deprecatedRoles && deprecatedRoles.length > 0) + return null; + var deprecatedAttributes = AriaUtil_1.AriaUtil.getDeprecatedAriaAttributes(ruleContext); + if (deprecatedAttributes && deprecatedAttributes.length > 0) + return null; + // dependency check: if it's already failed, then skip + if (["td", "th", "tr"].includes(tagName)) { + var parentRole = CommonUtil_1.CommonUtil.isTableDescendant(contextHierarchies); + if (parentRole !== null && parentRole.length > 0) + return null; + } + var domRoles = AriaUtil_1.AriaUtil.getUserDefinedRoles(ruleContext); + if (!domRoles || domRoles.length === 0) + return null; + // check the 'generic' role first + if (domRoles.includes('generic')) + return (0, IRule_1.RuleFail)("Fail_1", ["generic", tagName]); + var invalidRoles = AriaUtil_1.AriaUtil.getInvalidRoles(ruleContext); + if (invalidRoles === null || invalidRoles.length === 0) + return (0, IRule_1.RulePass)("Pass_0", [domRoles.join(", "), tagName]); + if (invalidRoles.includes("presentation") || invalidRoles.includes("none") && CommonUtil_1.CommonUtil.isTabbable(ruleContext)) + return (0, IRule_1.RuleFail)("Fail_2", [invalidRoles.join(", "), tagName]); + if (invalidRoles.length > 0) + return (0, IRule_1.RuleFail)("Fail_1", [invalidRoles.join(", "), tagName]); + if (domRoles.length > 0) + return (0, IRule_1.RulePass)("Pass_0", [domRoles.join(", "), tagName]); + return null; + } +}; +// 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 +exports.aria_attribute_valid = { + id: "aria_attribute_valid", + context: "dom:*", + // The the ARIA role is completely invalid, skip this check + 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_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: { + "en-US": { + "group": "ARIA attributes should be valid for the element and ARIA role to which they are assigned", + "Pass": "ARIA attributes are valid for the element and ARIA role", + "Fail_invalid_role_attr": "The ARIA attributes \"{0}\" are not valid for the element <{1}> with ARIA role \"{2}\"", + "Fail_invalid_implicit_role_attr": "The ARIA attributes \"{0}\" are not valid for the element <{1}> with implicit ARIA role \"{2}\"" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["ARIA"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: ["5c01ea", { "46ca7f": { "Pass": "pass", "Fail_invalid_role_attr": "fail", "Fail_invalid_implicit_role_attr": "fail" } }], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // only chek element (1) + if (ruleContext.nodeType !== 1 /* Node.ELEMENT_NODE */) + return null; + // ignore if no aria attribute + var ariaAttributes = AriaUtil_1.AriaUtil.getUserDefinedAriaAttributes(ruleContext); + if (ariaAttributes === null || ariaAttributes.length === 0) + return null; + var roles = AriaUtil_1.AriaUtil.getUserDefinedRoles(ruleContext); + var explicit = true; + if (roles && roles.length > 0) { + // the invalid role case: handled by Rpt_Aria_ValidRole. Ignore to avoid duplicated report + if (!AriaUtil_1.AriaUtil.areRolesDefined(roles)) + return null; + } + else { + //no explicit role defined + roles = AriaUtil_1.AriaUtil.getImplicitRole(ruleContext); + explicit = false; + } + var tagName = ruleContext.tagName.toLowerCase(); + var failedAttributes = AriaUtil_1.AriaUtil.getInvalidAriaAttributes(ruleContext); + if (!failedAttributes || failedAttributes.length === 0) + return (0, IRule_1.RulePass)("Pass", [ariaAttributes.join(", "), tagName, roles.join(", ")]); + if (roles.length > 0) { + if (explicit) + return (0, IRule_1.RuleFail)("Fail_invalid_role_attr", [failedAttributes.join(", "), tagName, roles.join(", ")]); + else + return (0, IRule_1.RuleFail)("Fail_invalid_implicit_role_attr", [failedAttributes.join(", "), tagName, roles.join(", ")]); + } + return (0, IRule_1.RuleFail)("Fail_invalid_role_attr", [failedAttributes.join(", "), tagName, "none"]); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_toolbar_label_unique.ts": +/*!***************************************************!*\ + !*** ./src/v4/rules/aria_toolbar_label_unique.ts ***! + \***************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_toolbar_label_unique = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +exports.aria_toolbar_label_unique = { + 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": "aria_toolbar_label_unique.html", + "Fail_1": "aria_toolbar_label_unique.html", + "group": "aria_toolbar_label_unique.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Multiple elements with \"toolbar\" roles do not have unique labels", + "group": "Each element with \"toolbar\" role must have a unique label that describes its purpose" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Consider the Check Hidden Content setting that is set by the rules + // Also, consider Implicit role checking. + var landmarks = CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, "toolbar", true, true); + if (landmarks.length === 0 || landmarks.length === 1) { + return null; + } + var dupes = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "aria_toolbar_label_unique", null); + if (!dupes) { + dupes = AriaUtil_1.AriaUtil.findAriaLabelDupes(landmarks); + CacheUtil_1.CacheUtil.setCache(ruleContext.ownerDocument, "aria_toolbar_label_unique", dupes); + } + var myLabel = AriaUtil_1.AriaUtil.getAriaLabel(ruleContext); + var passed = myLabel !== "" && (!(myLabel in dupes) || dupes[myLabel] <= 1); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", [myLabel]); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/aria_widget_labelled.ts": +/*!**********************************************!*\ + !*** ./src/v4/rules/aria_widget_labelled.ts ***! + \**********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_widget_labelled = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var ARIAMapper_1 = __webpack_require__(/*! ../../v2/aria/ARIAMapper */ "./src/v2/aria/ARIAMapper.ts"); +var fragment_1 = __webpack_require__(/*! ../../v2/checker/accessibility/util/fragment */ "./src/v2/checker/accessibility/util/fragment.ts"); +var ARIADefinitions_1 = __webpack_require__(/*! ../../v2/aria/ARIADefinitions */ "./src/v2/aria/ARIADefinitions.ts"); +var DOMUtil_1 = __webpack_require__(/*! ../../v2/dom/DOMUtil */ "./src/v2/dom/DOMUtil.ts"); +exports.aria_widget_labelled = { + id: "aria_widget_labelled", + context: "dom:*", + refactor: { + "Rpt_Aria_WidgetLabels_Implicit": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "group": "aria_widget_labelled.html", + "Pass_0": "aria_widget_labelled.html", + "Fail_1": "aria_widget_labelled.html" + } + }, + messages: { + "en-US": { + "group": "Interactive component must have a programmatically associated name", + "Pass_0": "Rule Passed", + "Fail_1": "Interactive component with ARIA role '{0}' does not have a programmatically associated name" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: "m6b1q3", + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + /* removed the role check role= presentation and role=none since these 2 roles are not in the list of widget type roles */ + if ((ruleContext.hasAttribute("type") && + ruleContext.getAttribute("type") === "hidden") || + (AriaUtil_1.AriaUtil.getAncestorWithRole(ruleContext, "combobox") && + !(AriaUtil_1.AriaUtil.hasRoleInSemantics(ruleContext, "textbox") || + AriaUtil_1.AriaUtil.hasRoleInSemantics(ruleContext, "searchbox")))) { + // we need to diagnose that a combobox input textbox has a label(github issue #1104) + return null; + } + var elemRole = ARIAMapper_1.ARIAMapper.nodeToRole(ruleContext); + var tagName = ruleContext.nodeName.toLowerCase(); + // Handled by input_label_exists + var skipRoles = [ + "button", + "checkbox", + "combobox", + "listbox", + "menuitemcheckbox", + "menuitemradio", + "radio", + "searchbox", + "slider", + "spinbutton", + "switch", + "textbox", + "progressbar", + "link", + ]; + if (skipRoles.includes(elemRole)) + return null; + if (tagName === "output" || + (tagName === "input" && + ruleContext.getAttribute("type") === "file")) { + } + if (!ruleContext.hasAttribute("role")) { + // Form/input elements are checked by G41, we skip them from this rule. Github issue 449 + var skipElements = [ + "input", + "textarea", + "select", + "button", + "datalist", + "optgroup", + "option", + "keygen", + "output", + "progress", + "meter", + ]; + if (skipElements.indexOf(ruleContext.nodeName.toLowerCase()) != + -1) { + return null; + } + } + // avoid diagnosing the popup list of a combobox. + var rolesToCheck = ["listbox", "tree", "grid", "dialog"]; + for (var j = 0; j < rolesToCheck.length; j++) { + if (AriaUtil_1.AriaUtil.hasRoleInSemantics(ruleContext, rolesToCheck[j])) { + var comboboxes = CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, "combobox", true, true); + for (var k = 0; k < comboboxes.length; k++) { + var combobox = comboboxes[k]; + var aria_owns = CommonUtil_1.CommonUtil.getElementAttribute(combobox, "aria-owns"); + if (aria_owns) { + var owns = CommonUtil_1.CommonUtil.normalizeSpacing(aria_owns.trim()).split(" "); + for (var i = 0; i < owns.length; i++) { + var owned = fragment_1.FragmentUtil.getById(ruleContext, owns[i]); + if (owned === ruleContext) { + return null; + } + } + } + } + } + } + var passed = true; + var prohibited = false; + var designPatterns = ARIADefinitions_1.ARIADefinitions.designPatterns; + //get attribute roles as well as implicit roles. + var roles = AriaUtil_1.AriaUtil.getRoles(ruleContext, true); + var numWidgetsTested = 0; + var interactiveRoleTypes = ["widget", "liveRegion", "window"]; + for (var i = 0, length_1 = roles.length; passed && i < length_1; ++i) { + var pattern = designPatterns[roles[i]]; + if (pattern && + pattern.nameRequired && + pattern.roleType && + interactiveRoleTypes.includes(pattern.roleType)) { + ++numWidgetsTested; + // All widgets may have an author supplied accessible name. + // Title is legal, but don't advertise its use in documentation. + // Encourage use of aria-label, aria-labelledby or html label element. + passed = + AriaUtil_1.AriaUtil.hasAriaLabel(ruleContext) || + CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "title") || + CommonUtil_1.CommonUtil.getLabelForElementHidden(ruleContext, true); + if (!passed && + pattern.nameFrom && + pattern.nameFrom.indexOf("contents") >= 0) { + // See if widget's accessible name is supplied by element's inner text + // nameFrom: ["author", "contents"] + passed = CommonUtil_1.CommonUtil.hasInnerContentOrAlt(ruleContext); + } + if (!passed) { + // check if it has implicit label, like <label><input ....>abc </label> + passed = CommonUtil_1.CommonUtil.hasImplicitLabel(ruleContext); + } + if (!passed && + ruleContext.tagName.toLowerCase() === "img" && + !ruleContext.hasAttribute("role") && + ruleContext.hasAttribute("alt")) { + passed = + DOMUtil_1.DOMUtil.cleanWhitespace(ruleContext.getAttribute("alt")).trim().length > 0; + } + if (pattern.nameFrom.indexOf("prohibited") >= 0) { + prohibited = true; + } + } + } + if (numWidgetsTested === 0) { + return null; + } + else if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", [elemRole]); + } + else { + //TODO + // if (prohibited) { + // return RuleFail("Fail_2"); + // } else { + return (0, IRule_1.RulePass)("Pass_0"); + // } + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/asciiart_alt_exists.ts": +/*!*********************************************!*\ + !*** ./src/v4/rules/asciiart_alt_exists.ts ***! + \*********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.asciiart_alt_exists = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.asciiart_alt_exists = { + 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": "asciiart_alt_exists.html", + "Potential_1": "asciiart_alt_exists.html", + "group": "asciiart_alt_exists.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify that ASCII art has a text alternative", + "group": "ASCII art must have a text alternative" + } + }, + /** + * Decision in planning 9/7/23 that this rule causes more reviews that we see actual problems in content, so turn these rules off + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": eRulePolicy.VIOLATION, + "toolkitLevel": eToolkitLevel.LEVEL_ONE + }], + */ + rulesets: [], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Fix for IDWB writers. Don't trigger if content is in a code element. The code element is searched for + // in various places because of the weird way various browsers render <code><pre></pre></code. Firefox, + // HtmlUnit and Chrome all render differently. Firefox: <code></code><pre></pre> HtmlUnit: </code><pre><code></code></pre> + // See unit test CodeElementAbovePreElement.html. Don't know how RPT renders, so cover all the bases. + if (ruleContext.nodeName.toLowerCase() == "pre") { + if ((ruleContext.previousSibling && ruleContext.previousSibling.nodeName.toLowerCase() == "code") || + ruleContext.getElementsByTagName("code").length > 0 || + CommonUtil_1.CommonUtil.getAncestor(ruleContext, "code")) { + return (0, IRule_1.RulePass)("Pass_0"); + } + } + var passed = true; + var txtValue = CommonUtil_1.CommonUtil.getInnerText(ruleContext); + var nonAlphaNumericNorSpaceCount = 0; + var alphNumSameCharacterCount = 0; + var lastCharacter = ""; + // Iterate through the text content + for (var idx = 0; passed && (idx < txtValue.length); ++idx) { + var chStr = txtValue.substr(idx, 1); + // Check if it is alphanumeric or punctuation + if (/[\w!@#$%&\*().,?\[\]{}<>=":\/\\-]/.test(chStr)) { + // Detect same character sequence + if (lastCharacter == chStr) { + alphNumSameCharacterCount = alphNumSameCharacterCount + 1; + ; + } + else { + alphNumSameCharacterCount = 0; + } + } + else if (/\s/.test(chStr)) { + alphNumSameCharacterCount = 0; + } + else { + nonAlphaNumericNorSpaceCount = nonAlphaNumericNorSpaceCount + 1; + alphNumSameCharacterCount = 0; + } + lastCharacter = chStr; + // Make the decision + if (nonAlphaNumericNorSpaceCount >= 5 || alphNumSameCharacterCount >= 4) { + passed = false; + } + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/blink_css_review.ts": +/*!******************************************!*\ + !*** ./src/v4/rules/blink_css_review.ts ***! + \******************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.blink_css_review = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.blink_css_review = { + 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": "blink_css_review.html", + "Pass_0": "blink_css_review.html", + "Potential_1": "blink_css_review.html" + } + }, + messages: { + "en-US": { + "group": "Do not use the \"blink\" value of the 'text-decoration' property for longer than five seconds", + "Pass_0": "Rule Passed", + "Potential_1": "Check the \"blink\" value of the CSS 'text-decoration' property is not used for more than than five seconds" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: "2.2.2", + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var textValue = CommonUtil_1.CommonUtil.getInnerText(ruleContext); + if (ruleContext.hasAttribute('style')) { + textValue = ruleContext.getAttribute('style'); + } + var passed = textValue.toLowerCase().indexOf("text-decoration:blink") == -1; + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/blink_elem_deprecated.ts": +/*!***********************************************!*\ + !*** ./src/v4/rules/blink_elem_deprecated.ts ***! + \***********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.blink_elem_deprecated = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +exports.blink_elem_deprecated = { + id: "blink_elem_deprecated", + context: "dom:blink", + refactor: { + "WCAG20_Blink_AlwaysTrigger": { + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "group": "blink_elem_deprecated.html", + "Fail_1": "blink_elem_deprecated.html" + } + }, + messages: { + "en-US": { + "group": "Content that blinks persistently must not be used", + "Fail_1": "Content found that blinks persistently" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: "2.2.2", + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + // const ruleContext = context["dom"].node as Element; + return (0, IRule_1.RuleFail)("Fail_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/blockquote_cite_exists.ts": +/*!************************************************!*\ + !*** ./src/v4/rules/blockquote_cite_exists.ts ***! + \************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.blockquote_cite_exists = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.blockquote_cite_exists = { + id: "blockquote_cite_exists", + context: "dom:blockquote", + refactor: { + "RPT_Blockquote_HasCite": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + "Pass_0": "blockquote_cite_exists.html", + "Potential_1": "blockquote_cite_exists.html", + "group": "blockquote_cite_exists.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify that <blockquote> should have a 'cite' attribute and not be used for indentation only", + "group": "Use <blockquote> only for quotations, not indentation" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "cite"); + if (!passed) { + var citeElems = CommonUtil_1.CommonUtil.getDocElementsByTag(ruleContext, "cite"); + passed = citeElems != null && citeElems.length > 0; + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/canvas_content_described.ts": +/*!**************************************************!*\ + !*** ./src/v4/rules/canvas_content_described.ts ***! + \**************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.canvas_content_described = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.canvas_content_described = { + id: "canvas_content_described", + context: "dom:canvas", + refactor: { + "HAAC_Canvas": { + "Pass_0": "Pass_0", + "Manual_1": "Manual_1" + } + }, + help: { + "en-US": { + "Pass_0": "canvas_content_described.html", + "Manual_1": "canvas_content_described.html", + "group": "canvas_content_described.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Manual_1": "Verify accessibility of the <canvas> element", + "group": "The <canvas> element may not be accessible" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1", "2.1.1", "4.1.2"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var passed = ruleContext.innerHTML.trim().length > 0; + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RuleManual)("Manual_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/caption_track_exists.ts": +/*!**********************************************!*\ + !*** ./src/v4/rules/caption_track_exists.ts ***! + \**********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.caption_track_exists = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +exports.caption_track_exists = { + id: "caption_track_exists", + context: "dom:video", + refactor: { + "HAAC_Video_HasNoTrack": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + "Pass_0": "caption_track_exists.html", + "Potential_1": "caption_track_exists.html", + "group": "caption_track_exists.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify that captions are available for any meaningful audio or provide a caption track for the <video> element", + "group": "A <video> element must have a text alternative for any meaningful audio content" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.2.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = false; + // ignore decorative video if user uses aria-hidden + if (ruleContext.getAttribute("aria-hidden") === "true") { + return null; + } + var tracks = ruleContext.getElementsByTagName("track"); + for (var i = 0; i < tracks.length; ++i) { + passed = passed || tracks[i].getAttribute("kind") === 'captions'; + } + // checks for addition of dynamic tracks + if (ruleContext.textTracks && ruleContext.textTracks.length > 0) { + for (var i = 0; i < ruleContext.textTracks.length; i++) { + passed = passed || ruleContext.textTracks[i].kind === 'captions'; + } + } + if (passed) { + return (0, IRule_1.RulePass)("Pass_0"); + } + else { + return (0, IRule_1.RulePotential)("Potential_1"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/combobox_active_descendant.ts": +/*!****************************************************!*\ + !*** ./src/v4/rules/combobox_active_descendant.ts ***! + \****************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.combobox_active_descendant = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var fragment_1 = __webpack_require__(/*! ../../v2/checker/accessibility/util/fragment */ "./src/v2/checker/accessibility/util/fragment.ts"); +var DOMWalker_1 = __webpack_require__(/*! ../../v2/dom/DOMWalker */ "./src/v2/dom/DOMWalker.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.combobox_active_descendant = { + id: "combobox_active_descendant", + context: "aria:combobox", + dependencies: ["combobox_popup_reference"], + help: { + "en-US": { + "Pass": "combobox_active_descendant.html", + "Fail_missing": "combobox_active_descendant.html", + "Fail_not_in_popup": "combobox_active_descendant.html", + "Fail_active_role_invalid": "combobox_active_descendant.html", + "Fail_active_not_selected": "combobox_active_descendant.html", + "group": "combobox_active_descendant.html" + } + }, + messages: { + "en-US": { + "Pass": "'aria-activedescendant' is used appropriately for this combobox", + "Fail_missing": "The element referenced by 'aria-activedescendant' \"{0}\" does not exist", + "Fail_not_in_popup": "The element referenced by 'aria-activedescendant' \"{0}\" does not exist within the popup referenced by 'id' \"{1}\"", + "Fail_active_role_invalid": "The 'aria-activedescendant' \"{0}\" references an element with the roles \"{1}\", which does not have a valid ARIA role of 'option', 'gridcell', 'row', or 'treeitem'", + "Fail_active_not_selected": "The 'aria-activedescendant' \"{0}\" references an element that does not have 'aria-selected' set to true", + "group": "'aria-activedescendant' must be used to define focus within the combobox popup, except when using a dialog popup" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var cache = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "combobox", {}); + if (!cache) + return null; + var cachedElem = cache[context["dom"].rolePath]; + if (!cachedElem) + return null; + var popupElement = cachedElem.popupElement, popupId = cachedElem.popupId; + // If this isn't defined, the combobox is probably collapsed. A reference error is + // detected in combobox_popup_reference + if (!popupElement) + return null; + // This rule only applies if the activedescendant is specified + var activeId = ruleContext.getAttribute("aria-activedescendant"); + if (!activeId || activeId.trim().length === 0) { + return null; + } + var activeElem = fragment_1.FragmentUtil.getById(ruleContext, activeId); + if (!activeElem) { + return (0, IRule_1.RuleFail)("Fail_missing", [activeId]); + } + var found = false; + // examine the children + if (popupElement) { + //let nw = new NodeWalker(popupElement); + var nw = new DOMWalker_1.DOMWalker(popupElement); + while (!found && nw.nextNode() && nw.node != popupElement && nw.node != popupElement.nextSibling) { + if (nw.node.nodeType === 1 && VisUtil_1.VisUtil.isNodeVisible(nw.node)) { + found = nw.elem().getAttribute("id") === activeId; + } + } + } + var retVal = []; + if (!found) { + retVal.push((0, IRule_1.RulePass)("Fail_not_in_popup", [activeId, popupId])); + } + var activeRoles = AriaUtil_1.AriaUtil.getRoles(activeElem, true); + var validRoles = ["option", "gridcell", "row", "treeitem"].filter(function (validRole) { return activeRoles.includes(validRole); }); + if (validRoles.length === 0) { + retVal.push((0, IRule_1.RuleFail)("Fail_active_role_invalid", [activeId, activeRoles.join(",")])); + } + if (activeElem.getAttribute("aria-selected") !== "true") { + retVal.push((0, IRule_1.RuleFail)("Fail_active_not_selected", [activeId])); + } + if (retVal.length === 0) { + return (0, IRule_1.RulePass)("Pass"); + } + else { + return retVal; + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/combobox_autocomplete_valid.ts": +/*!*****************************************************!*\ + !*** ./src/v4/rules/combobox_autocomplete_valid.ts ***! + \*****************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.combobox_autocomplete_valid = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var DOMWalker_1 = __webpack_require__(/*! ../../v2/dom/DOMWalker */ "./src/v2/dom/DOMWalker.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.combobox_autocomplete_valid = { + 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_valid.html", + "Fail_1": "combobox_autocomplete_valid.html", + "Fail_inline": "combobox_autocomplete_valid.html", + "group": "combobox_autocomplete_valid.html" + } + }, + messages: { + "en-US": { + "Pass": "The combobox does not use 'aria-autocomplete' value '\"inline\"' nor does it have 'aria-autocomplete' defined within the popup", + "Fail_1": "The combobox has the 'aria-autocomplete' attribute incorrectly set on an element within the popup referenced by \"{0}\"", + "Fail_inline": "The combobox does not support an 'aria-autocomplete' attribute value set to '\"inline\"' ", + "group": "A combobox that supports autocompletion behavior must have the 'aria-autocomplete' attribute only on its text input element with a valid value; a value of '\"inline\"' is not supported" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var cache = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "combobox", {}); + if (!cache) + return null; + var cachedElem = cache[context["dom"].rolePath]; + if (!cachedElem) + return null; + var popupId = cachedElem.popupId, popupElement = cachedElem.popupElement; + var retVal = []; + if (ruleContext.getAttribute("aria-autocomplete") === "inline") { + retVal.push((0, IRule_1.RuleFail)("Fail_inline")); + } + var passed = true; + // examine the children + if (popupElement && VisUtil_1.VisUtil.isNodeVisible(popupElement)) { + // if popupElement itself has "aria-autocomplete" + passed = !popupElement.hasAttribute("aria-autocomplete"); + // if any child of popupElement has "aria-autocomplete" + if (passed && popupElement.children && popupElement.children.length > 0) { + //let nw = new NodeWalker(popupElement); + var nw = new DOMWalker_1.DOMWalker(popupElement); + while (passed && nw.nextNode()) { + if (nw.node.nodeType === 1 && VisUtil_1.VisUtil.isNodeVisible(nw.node)) { + passed = !nw.elem().hasAttribute("aria-autocomplete"); + if (nw.bEndTag && nw.node === popupElement.lastElementChild) + break; + } + } + } + } + if (!passed) { + retVal.push((0, IRule_1.RuleFail)("Fail_1", [popupId])); + } + if (retVal.length > 0) { + return retVal; + } + else { + return (0, IRule_1.RulePass)("Pass"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/combobox_design_valid.ts": +/*!***********************************************!*\ + !*** ./src/v4/rules/combobox_design_valid.ts ***! + \***********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.combobox_design_valid = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +function patternDetect(elem) { + // check 'explicit' role combobox and that it is not <select>. + if (elem.tagName.toLowerCase() === "select" && elem.getAttribute("role") !== "combobox") { + return "implicit"; + } + else if (elem.nodeName.toLowerCase() === "input" + && (!elem.hasAttribute("type") || elem.getAttribute("type") === "text") + && elem.hasAttribute("aria-owns") && !elem.hasAttribute("aria-controls")) { + // Looks like this is an ARIA 1.0 pattern, which the ARIA 1.2 spec says to continue to allow + return "1.0"; + } + else if (elem.nodeName.toLowerCase() !== "input" + && elem.hasAttribute("aria-owns") && !elem.hasAttribute("aria-controls")) { + // Looks like this is an ARIA 1.1 pattern, which the ARIA 1.2 spec says is now invalid + return "1.1"; + } + // Assume they're trying to do the latest, 1.2 pattern + return "1.2"; +} +exports.combobox_design_valid = { + 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_design_valid.html", + "Fail_1.1": "combobox_design_valid.html", + "Pass_1.2": "combobox_design_valid.html", + "group": "combobox_design_valid.html" + } + }, + messages: { + "en-US": { + "Pass_1.0": "The combobox design pattern is detected as ARIA 1.0, which is allowed by ARIA 1.2", + "Fail_1.1": "The combobox design pattern is detected as ARIA 1.1, which is not allowed by ARIA 1.2", + "Pass_1.2": "The combobox design pattern is detected as ARIA 1.2", + "group": "The combobox design pattern must be valid for ARIA 1.2" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (!VisUtil_1.VisUtil.isNodeVisible(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) { + return null; + } + var pattern = patternDetect(ruleContext); + // We don't assess native select elements here + if (pattern === "implicit") { + return null; + } + var tagName = ruleContext.tagName.toLowerCase(); + var expanded = (AriaUtil_1.AriaUtil.getAriaAttribute(ruleContext, "aria-expanded") || "").trim().toLowerCase() === "true"; + var editable = tagName === "input" && (!ruleContext.hasAttribute("type") || ruleContext.getAttribute("type").toLowerCase() === "text"); + var key = context["dom"].rolePath; + if (key) { + var cache = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "combobox", {}); + if (!cache) + return null; + cache[key] = { + "inputElement": editable ? ruleContext : null, + "pattern": pattern, + "expanded": expanded + }; + CacheUtil_1.CacheUtil.setCache(ruleContext.ownerDocument, "combobox", cache); + } + else { + // No xpath? + return null; + } + if (pattern === "1.0") { + return (0, IRule_1.RulePass)("Pass_1.0"); + } + else if (pattern === "1.1") { + return (0, IRule_1.RuleFail)("Fail_1.1"); + } + else if (pattern === "1.2") { + return (0, IRule_1.RulePass)("Pass_1.2"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/combobox_focusable_elements.ts": +/*!*****************************************************!*\ + !*** ./src/v4/rules/combobox_focusable_elements.ts ***! + \*****************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.combobox_focusable_elements = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var DOMWalker_1 = __webpack_require__(/*! ../../v2/dom/DOMWalker */ "./src/v2/dom/DOMWalker.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.combobox_focusable_elements = { + id: "combobox_focusable_elements", + context: "aria:combobox", + dependencies: ["combobox_popup_reference"], + help: { + "en-US": { + "Pass": "combobox_focusable_elements.html", + "Fail_not_tabbable": "combobox_focusable_elements.html", + "Fail_tabbable_child": "combobox_focusable_elements.html", + "group": "combobox_focusable_elements.html" + } + }, + messages: { + "en-US": { + "Pass": "DOM focus is allowed only on the combobox element as required", + "Fail_not_tabbable": "The combobox element does not allow DOM focus as required", + "Fail_tabbable_child": "The popup of the combobox has DOM focus or has 'aria-activedescendant' defined, which is not allowed", + "group": "Tabbable focus for the combobox must be allowed only on the text input, except when using a dialog popup" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var cache = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "combobox", {}); + if (!cache) + return null; + var cachedElem = cache[context["dom"].rolePath]; + if (!cachedElem) + return null; + var popupElement = cachedElem.popupElement, expanded = cachedElem.expanded; + // If this isn't defined, the combobox is probably collapsed. A reference error is + // detected in combobox_popup_reference + if (!popupElement) + return null; + var popupRole = AriaUtil_1.AriaUtil.getRoles(popupElement, true)[0]; + var retVal = []; + if (!CommonUtil_1.CommonUtil.isTabbable(ruleContext)) { + retVal.push((0, IRule_1.RuleFail)("Fail_not_tabbable")); + } + // Only makes sense to check the popup when expanded + // this does not apply to dialogs, return pass since the main element was focusable above + if (expanded === false || popupRole === "dialog") { + return (0, IRule_1.RulePass)("Pass"); + } + var passed = true; + // examine the children + if (popupElement && VisUtil_1.VisUtil.isNodeVisible(popupElement)) { + // if popupElement itself has "aria-activedescendant" + passed = !CommonUtil_1.CommonUtil.isTabbable(popupElement) && !AriaUtil_1.AriaUtil.getAriaAttribute(popupElement, "aria-activedescendant"); + ; + // if any child of popupElement has "aria-autocomplete" + if (passed && popupElement.children && popupElement.children.length > 0) { + //let nw = new NodeWalker(popupElement); + var nw = new DOMWalker_1.DOMWalker(popupElement); + while (passed && nw.nextNode()) { + if (nw.node.nodeType === 1 && VisUtil_1.VisUtil.isNodeVisible(nw.node)) { + passed = !CommonUtil_1.CommonUtil.isTabbable(nw.node) && + !AriaUtil_1.AriaUtil.getAriaAttribute(nw.node, "aria-activedescendant"); + if (nw.bEndTag && nw.node === popupElement.lastElementChild) + break; + } + } + } + } + if (!passed) { + retVal.push((0, IRule_1.RuleFail)("Fail_tabbable_child")); + } + if (retVal.length === 0) { + return (0, IRule_1.RulePass)("Pass"); + } + else { + return retVal; + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/combobox_haspopup_valid.ts": +/*!*************************************************!*\ + !*** ./src/v4/rules/combobox_haspopup_valid.ts ***! + \*************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.combobox_haspopup_valid = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +exports.combobox_haspopup_valid = { + 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_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: { + "en-US": { + "Pass": "The 'aria-controls' (ARIA 1.2) or 'aria-owns' (ARIA 1.0) appropriately references a valid popup 'id' value", + "Fail_popup_role_invalid": "The 'role' value \"{0}\" of the popup element \"{1}\" should be one of \"listbox\", \"grid\", \"tree\" or \"dialog\"", + "Fail_combobox_popup_role_mismatch": "The value of the combobox 'aria-haspopup' attribute \"{0}\" does not match the 'role' value of the popup element \"{1}\"", + "group": "The combobox attribute 'aria-haspopup' value must be appropriate for the role of the element referenced by 'aria-controls' (ARIA 1.2) or 'aria-owns' (ARIA 1.0)" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var cache = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "combobox", {}); + if (!cache) + return null; + var cacheKey = context["dom"].rolePath; + var cachedElem = cache[cacheKey]; + if (!cachedElem) + return null; + var popupElement = cachedElem.popupElement, popupId = cachedElem.popupId; + // If this isn't defined, the combobox is probably collapsed. A reference error is + // detected in combobox_popup_reference + if (!popupElement) + return null; + // Check that popup role is listbox, grid, tree, or dialog and that it matches the combobox + var popupRoles = AriaUtil_1.AriaUtil.getRoles(popupElement, true); + var validRoles = ["listbox", "grid", "tree", "dialog"].filter(function (validRole) { return popupRoles.includes(validRole); }); + if (validRoles.length === 0) { + return (0, IRule_1.RuleFail)("Fail_popup_role_invalid", [popupRoles.join(","), popupId]); + } + else { + var popupRole = validRoles[0]; + var haspopupVal = ruleContext.getAttribute("aria-haspopup") || "listbox"; + // Popup role must match aria-haspopup unless popupRole is listbox, then aria-haspopup should not be defined + if (haspopupVal !== popupRole) { + if (popupRole !== "listbox" || ruleContext.hasAttribute("aria-haspopup")) { + return (0, IRule_1.RuleFail)("Fail_combobox_popup_role_mismatch", [haspopupVal, popupRole]); + } + } + } + return (0, IRule_1.RulePass)("Pass"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/combobox_popup_reference.ts": +/*!**************************************************!*\ + !*** ./src/v4/rules/combobox_popup_reference.ts ***! + \**************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.combobox_popup_reference = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var fragment_1 = __webpack_require__(/*! ../../v2/checker/accessibility/util/fragment */ "./src/v2/checker/accessibility/util/fragment.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.combobox_popup_reference = { + id: "combobox_popup_reference", + context: "aria:combobox", + dependencies: ["combobox_design_valid"], + help: { + "en-US": { + "group": "combobox_popup_reference.html", + "Pass_1.0_expanded": "combobox_popup_reference.html", + "Pass_1.0_collapsed": "combobox_popup_reference.html", + "Pass_1.2_expanded": "combobox_popup_reference.html", + "Pass_1.2_collapsed": "combobox_popup_reference.html", + "Fail_1.0_missing_owns": "combobox_popup_reference.html", + "Fail_1.2_missing_controls": "combobox_popup_reference.html", + "Fail_1.0_popup_reference_missing": "combobox_popup_reference.html", + "Fail_1.2_popup_reference_missing": "combobox_popup_reference.html", + "Fail_combobox_expanded_hidden": "combobox_popup_reference.html", + "Fail_combobox_collapsed_visible": "combobox_popup_reference.html" + } + }, + messages: { + "en-US": { + "group": "The 'aria-controls' (for ARIA 1.2) or the 'aria-owns' (for ARIA 1.0) attribute of the expanded combobox must reference a valid popup 'id' value", + "Pass_1.0_expanded": "The combobox popup referenced by 'aria-owns' (ARIA 1.0) exists and is visible", + "Pass_1.0_collapsed": "The combobox popup in its collapsed state does not reference any visible popup as required", + "Pass_1.2_expanded": "The combobox popup referenced by 'aria-controls' (ARIA 1.2) exists and is visible", + "Pass_1.2_collapsed": "The combobox popup in its collapsed state does not reference any visible popup as required", + "Fail_1.0_missing_owns": "The 'aria-owns' attribute of the expanded combobox is missing", + "Fail_1.2_missing_controls": "The 'aria-controls' attribute of the expanded combobox is missing", + "Fail_1.0_popup_reference_missing": "The 'aria-owns' attribute \"{0}\" of the expanded combobox does not reference a valid popup 'id' value", + "Fail_1.2_popup_reference_missing": "The 'aria-controls' attribute \"{0}\" of the expanded combobox does not reference a valid popup 'id' value", + "Fail_combobox_expanded_hidden": "The combobox 'aria-expanded' attribute is true, but the combobox popup is not visible", + "Fail_combobox_collapsed_visible": "The combobox 'aria-expanded' attribute is false, but the combobox popup is visible" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [{ + "4e8ab6": { + "Pass_1.0_expanded": "fail", + "Pass_1.0_collapsed": "fail", + "Pass_1.2_expanded": "pass", + "Pass_1.2_collapsed": "pass", + "Fail_1.0_missing_owns": "inapplicable", + "Fail_1.2_missing_controls": "fail", + "Fail_1.0_popup_reference_missing": "inapplicable", + "Fail_1.2_popup_reference_missing": "fail", + "Fail_combobox_expanded_hidden": "inapplicable", + "Fail_combobox_collapsed_visible": "inapplicable" + } + }], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var cache = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "combobox", {}); + if (!cache) + return null; + var cacheKey = context["dom"].rolePath; + var cachedElem = cache[cacheKey]; + if (!cachedElem) + return null; + var pattern = cachedElem.pattern, expanded = cachedElem.expanded; + var popupId; + var popupElement; + if (pattern === "1.0") { + if (!ruleContext.hasAttribute("aria-owns")) { + // If the combobox isn't expanded, this attribute isn't required + return !expanded ? null : (0, IRule_1.RuleFail)("Fail_1.0_missing_owns"); + } + popupId = ruleContext.getAttribute("aria-owns"); + popupElement = fragment_1.FragmentUtil.getById(ruleContext, popupId); + if (!popupElement) { + // If the combobox isn't expanded, this attribute isn't required + return !expanded ? null : (0, IRule_1.RuleFail)("Fail_1.0_popup_reference_missing", [popupId]); + } + } + else if (pattern === "1.2") { + if (!ruleContext.hasAttribute("aria-controls")) { + // If the combobox isn't expanded, this attribute isn't required + return !expanded ? null : (0, IRule_1.RuleFail)("Fail_1.2_missing_controls"); + } + popupId = ruleContext.getAttribute("aria-controls"); + popupElement = fragment_1.FragmentUtil.getById(ruleContext, popupId); + if (!popupElement) { + // If the combobox isn't expanded, this attribute isn't required + return !expanded ? null : (0, IRule_1.RuleFail)("Fail_1.2_popup_reference_missing", [popupId]); + } + } + else { + return null; + } + // We have an element, stick it in the cache and then check its role + cachedElem.popupId = popupId; + cachedElem.popupElement = popupElement; + if (expanded && !VisUtil_1.VisUtil.isNodeVisible(popupElement)) { + return (0, IRule_1.RuleFail)("Fail_combobox_expanded_hidden"); + } + else if (!expanded && VisUtil_1.VisUtil.isNodeVisible(popupElement)) { + return (0, IRule_1.RuleFail)("Fail_combobox_collapsed_visible"); + } + if (pattern === "1.0") { + if (expanded) { + return (0, IRule_1.RulePass)("Pass_1.0_expanded"); + } + else { + return (0, IRule_1.RulePass)("Pass_1.0_collapsed"); + } + } + else { + if (expanded) { + return (0, IRule_1.RulePass)("Pass_1.2_expanded"); + } + else { + return (0, IRule_1.RulePass)("Pass_1.2_collapsed"); + } + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/debug_paths.ts": +/*!*************************************!*\ + !*** ./src/v4/rules/debug_paths.ts ***! + \*************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.debug_paths = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +exports.debug_paths = { + id: "debug_paths", + context: "dom:*", + help: { + "en-US": { + "group": "", + "Pass_0": "" + } + }, + messages: { + "en-US": { + "group": "", + "Pass_0": "" + } + }, + rulesets: [{ + id: ["DEBUG"], + num: "1", + level: IRule_1.eRulePolicy.INFORMATION, + toolkitLevel: IRule_1.eToolkitLevel.LEVEL_FOUR + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + ruleContext.setAttribute("domPath", context["dom"].rolePath); + ruleContext.setAttribute("ariaPath", context["aria"].rolePath); + return null; + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/detector_tabbable.ts": +/*!*******************************************!*\ + !*** ./src/v4/rules/detector_tabbable.ts ***! + \*******************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.detector_tabbable = void 0; +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +exports.detector_tabbable = { + id: "detector_tabbable", + context: "dom:*", + help: { + "en-US": { + "group": "", + "Pass_0": "" + } + }, + messages: { + "en-US": { + "group": "", + "Pass_0": "" + } + }, + rulesets: [{ + id: ["EXTENSIONS"], + num: "1", + level: IRule_2.eRulePolicy.INFORMATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_FOUR + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (!CommonUtil_1.CommonUtil.isTabbable(ruleContext)) { + return null; + } + var hierContext = contextHierarchies.aria[contextHierarchies.aria.length - 1]; + return (0, IRule_1.RulePass)("Pass_0", [], [{ + name: hierContext.attributes.name, + role: hierContext.role, + tabindex: parseInt(ruleContext.getAttribute("tabindex") || "0") + }]); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/dir_attribute_valid.ts": +/*!*********************************************!*\ + !*** ./src/v4/rules/dir_attribute_valid.ts ***! + \*********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.dir_attribute_valid = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +exports.dir_attribute_valid = { + id: "dir_attribute_valid", + context: "dom:*[dir]", + refactor: { + "Valerie_Elem_DirValid": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "Pass_0": "dir_attribute_valid.html", + "Fail_1": "dir_attribute_valid.html", + "group": "dir_attribute_valid.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Invalid value used for the 'dir' attribute", + "group": "'dir' attribute value must be \"ltr\", \"rtl\", or \"auto\"" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var dirStr = ruleContext.getAttribute("dir").toLowerCase(); + var passed = dirStr == "ltr" || dirStr == "rtl" || dirStr == "auto"; + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/download_keyboard_controllable.ts": +/*!********************************************************!*\ + !*** ./src/v4/rules/download_keyboard_controllable.ts ***! + \********************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.download_keyboard_controllable = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.download_keyboard_controllable = { + id: "download_keyboard_controllable", + context: "dom:a[href],dom:area[href]", + refactor: { + "HAAC_Media_DocumentTrigger2": { + "Manual_1": "Manual_1" + } + }, + help: { + "en-US": { + "Manual_1": "download_keyboard_controllable.html", + "group": "download_keyboard_controllable.html" + } + }, + messages: { + "en-US": { + "Manual_1": "Verify that the file download mechanism does not cause a keyboard trap", + "group": "File download mechanisms should be keyboard-operable and preserve page focus location" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.1.2"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var href = ruleContext.getAttribute("href"); + var ext = CommonUtil_1.CommonUtil.getFileExt(href); + var passed = ![".docx", ".doc", ".pdf", ".odt"].includes(ext); + if (passed) + return null; + if (!passed) + return (0, IRule_1.RuleManual)("Manual_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/draggable_alternative_exists.ts": +/*!******************************************************!*\ + !*** ./src/v4/rules/draggable_alternative_exists.ts ***! + \******************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.draggable_alternative_exists = void 0; +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.draggable_alternative_exists = { + id: "draggable_alternative_exists", + context: "dom:*[draggable]", + dependencies: [], + help: { + "en-US": { + "group": "draggable_alternative_exists.html", + // "pass_alternative": "draggable_alternative_exists.html", + "pass_undraggable": "draggable_alternative_exists.html", + "potential_alternative": "draggable_alternative_exists.html" + } + }, + messages: { + "en-US": { + "group": "A draggable element must have a \"single pointer\" alternative", + // "pass_alternative": "The draggable element \"{0}\" has a \"single pointer\" alternative", + "pass_undraggable": "The element \"{0}\" is not draggable", + "potential_alternative": "Ensure the draggable element \"{0}\" has a \"single pointer\" alternative" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_2"], + num: ["2.5.7"], + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (!VisUtil_1.VisUtil.isNodeVisible(ruleContext)) + return null; + var nodeName = ruleContext.nodeName.toLocaleLowerCase(); + //ignore certain elements + if (CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["pre", "code", "script", "meta"]) !== null + || nodeName === "body" || nodeName === "html") + return null; + if (ruleContext.getAttribute("draggable") === 'true') + return (0, IRule_1.RulePotential)("potential_alternative", [nodeName]); + else if (ruleContext.getAttribute("draggable") === 'false') + return (0, IRule_1.RulePass)("pass_undraggable", [nodeName]); + else + return null; + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/element_accesskey_labelled.ts": +/*!****************************************************!*\ + !*** ./src/v4/rules/element_accesskey_labelled.ts ***! + \****************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.element_accesskey_labelled = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +var ARIADefinitions_1 = __webpack_require__(/*! ../../v2/aria/ARIADefinitions */ "./src/v2/aria/ARIADefinitions.ts"); +var AccNameUtil_1 = __webpack_require__(/*! ../util/AccNameUtil */ "./src/v4/util/AccNameUtil.ts"); +exports.element_accesskey_labelled = { + id: "element_accesskey_labelled", + context: "dom:*[accesskey]", + refactor: { + "HAAC_Accesskey_NeedLabel": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + "Pass_0": "element_accesskey_labelled.html", + "Potential_1": "element_accesskey_labelled.html", + "group": "element_accesskey_labelled.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "The element with an assigned 'accesskey' attribute does not have an associated label", + "group": "An element with an assigned 'accesskey' attribute must have an associated label" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["3.3.2"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the check if the element is hidden or disabled + if (!VisUtil_1.VisUtil.isNodeVisible(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) + return; + //skip if the element is tabbable, it's covered by other rules + if (CommonUtil_1.CommonUtil.isTabbable(ruleContext)) + return; + var roles = AriaUtil_1.AriaUtil.getRoles(ruleContext, true); + //skip the native element, mostly text elements + if (!roles || roles.length === 0) + return; + var patterns = ARIADefinitions_1.ARIADefinitions.designPatterns[roles[0]]; + if (!patterns || !patterns.nameFrom) + return; + // ignore if accessble name is required (checked in other rules) or prohibited (text element) + if (patterns.nameRequired || !patterns.nameFrom || patterns.nameFrom.includes("prohibited")) + return; + //special case: legend, as a child of a fieldset, delegate the accesskey command to the field of the fieldset which is covered by other rules + if (ruleContext.parentElement && ruleContext.parentElement.nodeName.toLowerCase() === 'fieldset') + return; + // check if accessible name exists + var pair = AccNameUtil_1.AccNameUtil.computeAccessibleName(ruleContext); + if (pair && pair.name && pair.name.trim().length > 0) + //if (ARIAMapper.computeName(ruleContext).trim().length > 0) + return (0, IRule_1.RulePass)("Pass_0"); + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/element_accesskey_unique.ts": +/*!**************************************************!*\ + !*** ./src/v4/rules/element_accesskey_unique.ts ***! + \**************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.element_accesskey_unique = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +exports.element_accesskey_unique = { + id: "element_accesskey_unique", + context: "dom:*[accesskey]", + refactor: { + "WCAG20_Elem_UniqueAccessKey": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "Pass_0": "element_accesskey_unique.html", + "Fail_1": "element_accesskey_unique.html", + "group": "element_accesskey_unique.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "'accesskey' attribute value on the element is not unique", + "group": "'accesskey' attribute values on each element must be unique for the page" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next"], + "num": ["HTML"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var map = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "element_accesskey_unique", {}); + var key = ruleContext.getAttribute("accesskey"); + var passed = !(key in map); + map[key] = true; + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/element_attribute_deprecated.ts": +/*!******************************************************!*\ + !*** ./src/v4/rules/element_attribute_deprecated.ts ***! + \******************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.element_attribute_deprecated = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var DEPRECATED_ELEMENTS = [ + /** original */ + "applet", "basefont", "center", "dir", "font", "isindex", "listing", + "plaintext", "spacer", "s", "strike", "u", "xmp", + /** added from https://dev.w3.org/html5/pf-summary/obsolete.html */ + "acronym", "frame", "frameset", "noframes", "noembed", "big", "blink", "marquee", "tt", +]; +var DEPRECATED_HTML_GLOBAL_ATTRIBUTES = [ + /** original */ + "align", "link", "archive", "background", "bgcolor", "clear", "code", "color", + "compact", "face", "hspace", "language", "link", "noshade", "nowrap", "object", + "prompt", "start", "text", "version", "vlink", "vspace" +]; +var DEPRECATED_ELEMENT_ATTRIBUTES = { + /** original */ + "td": ["height", "width", "abbr", "axis", "char", "charoff", "height", "nowrap", "valign", "width", "align", "bgcolor"], + "th": ["height", "width", "abbr", "axis", "charoff", "height", "bgcolor", "align", "nowrap", "char", "valign", "width"], + "li": ["type", "value", "type"], + "ul": ["type", "compact"], + "pre": ["width"], + /** added from https://dev.w3.org/html5/pf-summary/obsolete.html */ + "meta": ["http-equiv"], + "a": ["charset", "coords", "shape", "rev", "scheme"], + "link": ["rev", "charset", "target"], + "img": ["name", "longdesc", "align", "hspace", "vspace", "border"], + "area": ["nohref"], + "head": ["profile"], + "html": ["version"], + "iframe": ["longdesc", "align", "frameborder", "marginheight", "marginwidth", "scrolling"], + "object": ["archive", "code", "codebase", "codetype", "declare", "standby", "align", "hspace", "vspace", "border"], + "param": ["type", "valuetype"], + "script": ["language"], + "body": ["alink", "background", "bgcolor", "link", "text", "vlink"], + "br": ["clear"], + "caption": ["align"], + "col": ["align", "char", "charoff", "valign", "width"], + "div": ["align"], + "dl": ["compact"], + "hr": ["align", "noshade", "size", "width", "align"], + "h2": ["align"], + "h3": ["align"], + "h4": ["align"], + "h5": ["align"], + "h6": ["align"], + "input": ["align", "usemap"], + "legend": ["align"], + "menu": ["compact"], + "ol": ["compact", "type", "type"], + "p": ["align"], + "table": ["bgcolor", "cellpadding", "cellspacing", "frame", "rules", "width", "align"], + "tbody": ["align", "char", "valign", "charoff"], + "tfoot": ["align", "charoff", "char", "valign"], + "thead": ["char", "charoff", "valign", "align"], + "tr": ["align", "bgcolor", "char", "charoff", "valign"] +}; +function arrayToContextStr(obj, type) { + var str = ""; + for (var _i = 0, obj_1 = obj; _i < obj_1.length; _i++) { + var prop = obj_1[_i]; + if (str !== '' && !str.endsWith(', ')) + str += ", "; + if (type === 'HTML_ELEMENTS') + str += 'dom:' + prop; + else if (type === 'HTML_ATTRIBUTES') + str += 'dom:*[' + prop + "]"; + } + return str; +} +function objToContextStr(obj, type) { + var str = ""; + for (var prop in obj) { + if (str !== '' && !str.endsWith(', ')) + str += ", "; + if (type === 'HTML_ELEMENT_ATTRIBUTES') { + for (var _i = 0, _a = obj[prop]; _i < _a.length; _i++) { + var item = _a[_i]; + if (str !== '' && !str.endsWith(", ")) + str += ", "; + str += 'dom:' + prop + '[' + item + ']'; + } + } + } + return str; +} +exports.element_attribute_deprecated = { + id: "element_attribute_deprecated", + context: "dom:applet, dom:basefont, dom:center, dom:dir, dom:font, dom:isindex, dom:listing, dom:menu, dom:plaintext, dom:spacer, dom:s, dom:strike, dom:u, dom:xmp, dom:acronym, dom:frame, dom:frameset, dom:noframes, dom:noembed, dom:big, dom:blink, dom:marquee, dom:ttNaNdom:*[align], dom:*[link], dom:*[archive], dom:*[background], dom:*[bgcolor], dom:*[clear], dom:*[code], dom:*[color], dom:*[compact], dom:*[face], dom:*[hspace], dom:*[language], dom:*[link], dom:*[noshade], dom:*[nowrap], dom:*[object], dom:*[prompt], dom:*[start], dom:*[text], dom:*[version], dom:*[vlink], dom:*[vspace]NaNdom:td[height], dom:td[width], dom:td[abbr], dom:td[axis], dom:td[char], dom:td[charoff], dom:td[height], dom:td[nowrap], dom:td[valign], dom:td[width], dom:td[align], dom:td[bgcolor], dom:th[height], dom:th[width], dom:th[abbr], dom:th[axis], dom:th[charoff], dom:th[height], dom:th[bgcolor], dom:th[align], dom:th[nowrap], dom:th[char], dom:th[valign], dom:th[width], dom:li[type], dom:li[value], dom:li[type], dom:ul[type], dom:ul[compact], dom:pre[width], dom:meta[http-equiv], dom:a[charset], dom:a[coords], dom:a[shape], dom:a[rev], dom:a[scheme], dom:link[rev], dom:link[charset], dom:link[target], dom:img[name], dom:img[longdesc], dom:img[align], dom:img[hspace], dom:img[vspace], dom:img[border], dom:area[nohref], dom:head[profile], dom:html[version], dom:iframe[longdesc], dom:iframe[align], dom:iframe[frameborder], dom:iframe[marginheight], dom:iframe[marginwidth], dom:iframe[scrolling], dom:object[archive], dom:object[code], dom:object[codebase], dom:object[codetype], dom:object[declare], dom:object[standby], dom:object[align], dom:object[hspace], dom:object[vspace], dom:object[border], dom:param[type], dom:param[valuetype], dom:script[language], dom:body[alink], dom:body[background], dom:body[bgcolor], dom:body[link], dom:body[text], dom:body[vlink], dom:br[clear], dom:caption[align], dom:col[align], dom:col[char], dom:col[charoff], dom:col[valign], dom:col[width], dom:div[align], dom:dl[compact], dom:hr[align], dom:hr[noshade], dom:hr[size], dom:hr[width], dom:hr[align], dom:h2[align], dom:h3[align], dom:h4[align], dom:h5[align], dom:h6[align], dom:input[align], dom:input[usemap], dom:legend[align], dom:menu[compact], dom:ol[compact], dom:ol[type], dom:ol[type], dom:p[align], dom:table[bgcolor], dom:table[cellpadding], dom:table[cellspacing], dom:table[frame], dom:table[rules], dom:table[width], dom:table[align], dom:tbody[align], dom:tbody[char], dom:tbody[valign], dom:tbody[charoff], dom:tfoot[align], dom:tfoot[charoff], dom:tfoot[char], dom:tfoot[valign], dom:thead[char], dom:thead[charoff], dom:thead[valign], dom:thead[align], dom:tr[align], dom:tr[bgcolor], dom:tr[char], dom:tr[charoff], dom:tr[valign]", + help: { + "en-US": { + "pass": "element_attribute_deprecated.html", + "fail_elem": "element_attribute_deprecated.html", + "fail_attr": "element_attribute_deprecated.html", + "fail_elem_attr": "element_attribute_deprecated.html", + "group": "element_attribute_deprecated.html" + } + }, + messages: { + "en-US": { + "pass": "Rule Passed", + "fail_elem": "The <{0}> element is deprecated in HTML 5", + "fail_attr": "The HTML attribute(s) \"{0}\" is deprecated in HTML 5", + "fail_elem_attr": "The HTML attribute(s) \"{0}\" is deprecated for the <{1}> element in HTML 5", + "group": "Avoid use of obsolete features if possible" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next"], + "num": ["HTML"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // HTMLUnit auto adds a tbody[align=left] to tables if tbody is missing! + if (ruleContext.nodeName.toLowerCase() === "tbody" && ruleContext.hasAttribute("align")) { + return (0, IRule_1.RulePass)("pass"); + } + if (ruleContext.nodeName.includes("-")) { + // This is a webcomponent element, HTML doesn't define what's deprecated + return null; + } + var nodeName = ruleContext.nodeName.toLowerCase(); + var ret = []; + // check if it's a deprecated element + if (DEPRECATED_ELEMENTS.includes(nodeName)) { + return (0, IRule_1.RuleFail)("fail_elem", [nodeName]); + } + // check if it's a deprecated HTML global attribute + var attrs = ruleContext.getAttributeNames(); + var violations = ''; + for (var _i = 0, attrs_1 = attrs; _i < attrs_1.length; _i++) { + var attr = attrs_1[_i]; + if (DEPRECATED_HTML_GLOBAL_ATTRIBUTES.includes(attr)) { + if (violations !== '') + violations += ', '; + violations += attr; + } + } + if (violations !== '') { + return (0, IRule_1.RuleFail)("fail_attr", [violations]); + } + // check if it's a deprecated HTML element & attribute + violations = ''; + if (nodeName in DEPRECATED_ELEMENT_ATTRIBUTES) { + for (var _a = 0, attrs_2 = attrs; _a < attrs_2.length; _a++) { + var attr = attrs_2[_a]; + if (DEPRECATED_ELEMENT_ATTRIBUTES[nodeName] && DEPRECATED_ELEMENT_ATTRIBUTES[nodeName].includes(attr)) { + if (violations !== '') + violations += ', '; + violations += attr; + } + } + if (violations !== '') { + return (0, IRule_1.RuleFail)("fail_elem_attr", [violations, nodeName]); + } + } + return (0, IRule_1.RulePass)("pass"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/element_id_unique.ts": +/*!*******************************************!*\ + !*** ./src/v4/rules/element_id_unique.ts ***! + \*******************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.element_id_unique = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var fragment_1 = __webpack_require__(/*! ../../v2/checker/accessibility/util/fragment */ "./src/v2/checker/accessibility/util/fragment.ts"); +exports.element_id_unique = { + 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": "element_id_unique.html", + "Pass_0": "element_id_unique.html", + "Fail_1": "element_id_unique.html", + "Fail_2": "element_id_unique.html" + } + }, + messages: { + "en-US": { + "group": "Element 'id' attribute values must be unique within a document", + "Pass_0": "Rule Passed", + "Fail_1": "The <{0}> element has the id \"{1}\" that is empty", + "Fail_2": "The <{0}> element has the id \"{1}\" that is already in use" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next"], + "num": ["HTML"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [{ + "3ea0c8": { + "Pass_0": "pass", + "Fail_1": "pass", + "Fail_2": "fail" + } + }], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var id = ruleContext.getAttribute("id"); + // In the case that id is empty we should trigger a violation right away with out checking + // for uniqueness. + if (id === "") { + //return new ValidationResult(false, [ruleContext], '', '', [ruleContext.nodeName.toLowerCase(), id]); + return (0, IRule_1.RuleFail)("Fail_1", [ruleContext.nodeName.toLowerCase(), id]); + } + var element = fragment_1.FragmentUtil.getById(ruleContext, id); + var passed = element === ruleContext; + //return new ValidationResult(passed, [ruleContext], '', '', passed == true ? [] : [ruleContext.nodeName.toLowerCase(), id]); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_2", [ruleContext.nodeName.toLowerCase(), id]); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/element_lang_valid.ts": +/*!********************************************!*\ + !*** ./src/v4/rules/element_lang_valid.ts ***! + \********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.element_lang_valid = exports.html_lang_valid = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var lang_1 = __webpack_require__(/*! ../../v2/checker/accessibility/util/lang */ "./src/v2/checker/accessibility/util/lang.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +var DOMWalker_1 = __webpack_require__(/*! ../../v2/dom/DOMWalker */ "./src/v2/dom/DOMWalker.ts"); +var AccNameUtil_1 = __webpack_require__(/*! ../util/AccNameUtil */ "./src/v4/util/AccNameUtil.ts"); +var validateLang = function (context) { + var ruleContext = context["dom"].node; + var nodeName = ruleContext.nodeName.toLowerCase(); + if (ruleContext.hasAttribute("lang")) { + if (nodeName !== "html" && ruleContext.getAttribute("lang") === "") { + // It's okay to have a lang="" if not on html + } + else { + var langStr = ruleContext.getAttribute("lang"); + if (!lang_1.LangUtil.validPrimaryLang(langStr)) { + return 1; + } + if (!lang_1.LangUtil.isBcp47(langStr)) { + return 2; + } + } + } + if (ruleContext.hasAttribute("xml:lang")) { + if (nodeName !== "html" && ruleContext.getAttribute("xml:lang") === "") { + // It's okay to have a lang="" if not on html + } + else { + var langStr = ruleContext.getAttribute("xml:lang"); + if (!lang_1.LangUtil.validPrimaryLang(langStr)) { + return 3; + } + if (!lang_1.LangUtil.isBcp47(langStr)) { + return 4; + } + } + } + return 0; +}; +exports.html_lang_valid = { + id: "html_lang_valid", + context: "dom:html[lang], dom:html[xml:lang]", + help: { + "en-US": { + "Pass_0": "html_lang_valid.html", + "Fail_1": "html_lang_valid.html", + "Fail_2": "html_lang_valid.html", + "Fail_3": "html_lang_valid.html", + "Fail_4": "html_lang_valid.html", + "group": "html_lang_valid.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Lang has a valid primary lang and conforms to BCP 47", + "Fail_1": "Specified 'lang' attribute does not include a valid primary language", + "Fail_2": "Specified 'lang' attribute does not conform to BCP 47", + "Fail_3": "Specified 'xml:lang' attribute does not include a valid primary language", + "Fail_4": "Specified 'xml:lang' attribute does not conform to BCP 47", + "group": "The default human language of the page must be valid and specified in accordance with BCP 47" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["3.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [{ + "b5c3f8": { + "Pass_0": "pass", + "Fail_1": "fail", + "Fail_2": "inapplicable", + "Fail_3": "inapplicable", + "Fail_4": "inapplicable" + }, + "bf051a": { + "Pass_0": "pass", + "Fail_1": "fail", + "Fail_2": "pass", + "Fail_3": "fail", + "Fail_4": "inapplicable" + }, + // TODO: ACT: Mismatch because they don't check the html element in the same rule + // "de46e4": { + // "Pass_0": "pass", + // "Fail_1": "fail", + // "Fail_2": "pass", + // "Fail_3": "inapplicable", + // "Fail_4": "inapplicable" + // } + }], + run: function (context, options, contextHierarchies) { + var reasonCode = validateLang(context); + // This is done here instead of in validateLang so that the genHelp code will pick it up + var retArr = [ + (0, IRule_1.RulePass)("Pass_0"), + (0, IRule_1.RuleFail)("Fail_1"), + (0, IRule_1.RuleFail)("Fail_2"), + (0, IRule_1.RuleFail)("Fail_3"), + (0, IRule_1.RuleFail)("Fail_4") + ]; + return retArr[reasonCode]; + } +}; +exports.element_lang_valid = { + id: "element_lang_valid", + context: "dom:*[lang], dom:*[xml:lang]", + help: { + "en-US": { + "Pass_0": "element_lang_valid.html", + "Fail_1": "element_lang_valid.html", + "Fail_2": "element_lang_valid.html", + "Fail_3": "element_lang_valid.html", + "Fail_4": "element_lang_valid.html", + "group": "element_lang_valid.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Lang has a valid primary lang and conforms to BCP 47", + "Fail_1": "Specified 'lang' attribute does not include a valid primary language", + "Fail_2": "Specified 'lang' attribute does not conform to BCP 47", + "Fail_3": "Specified 'xml:lang' attribute does not include a valid primary language", + "Fail_4": "Specified 'xml:lang' attribute does not conform to BCP 47", + "group": "The change in language of specific content must be valid and specified in accordance with BCP 47" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["3.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [{ + // "b5c3f8": { + // "Pass_0": "pass", + // "Fail_1": "fail", + // "Fail_2": "inapplicable", + // "Fail_3": "inapplicable", + // "Fail_4": "inapplicable" + // }, + // "bf051a": { + // "Pass_0": "pass", + // "Fail_1": "fail", + // "Fail_2": "pass", + // "Fail_3": "fail", + // "Fail_4": "inapplicable" + // }, + // TODO: ACT: Mismatch because they don't check the html element in the same rule + "de46e4": { + "Pass_0": "pass", + "Fail_1": "fail", + "Fail_2": "pass", + "Fail_3": "inapplicable", + "Fail_4": "inapplicable" + } + }], + run: function (context, options, contextHierarchies) { + // If it's the HTML node, that's handled by html_lang_valid + var ruleContext = context["dom"].node; + var nodeName = ruleContext.nodeName.toLowerCase(); + if (nodeName === "html") + return null; + var reasonCode = validateLang(context); + // This is done here instead of in validateLang so that the genHelp code will pick it up + var retArr = [ + (0, IRule_1.RulePass)("Pass_0"), + (0, IRule_1.RuleFail)("Fail_1"), + (0, IRule_1.RuleFail)("Fail_2"), + (0, IRule_1.RuleFail)("Fail_3"), + (0, IRule_1.RuleFail)("Fail_4") + ]; + var retVal = retArr[reasonCode]; + if (retVal.value[1] !== IRule_1.eRuleConfidence.PASS) { + // Ensure that there's actually content of this element - skip subtrees that have other lang attributes + var hasContent = false; + if (ruleContext.firstChild !== null) { + var nw = new DOMWalker_1.DOMWalker(ruleContext, false, ruleContext, true); + while (!hasContent && nw.nextNode()) { + // Skip hidden + if (nw.node.nodeType === 1) { + var element = nw.node; + if (!VisUtil_1.VisUtil.isNodeVisible(element) || element.hasAttribute("lang")) { + nw.bEndTag = true; + } + else { + var pair = AccNameUtil_1.AccNameUtil.computeAccessibleName(element); + hasContent = hasContent + || element.nodeName.toLowerCase() === "img" && (pair && pair.name && pair.name.trim().length > 0) /**ARIAMapper.computeName(element).trim().length > 0*/; + } + } + else { + hasContent = hasContent + || nw.node.nodeType === 3 && nw.node.nodeValue.trim().length > 0; + } + } + } + if (!hasContent) + return null; + } + return retVal; + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/element_mouseevent_keyboard.ts": +/*!*****************************************************!*\ + !*** ./src/v4/rules/element_mouseevent_keyboard.ts ***! + \*****************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.element_mouseevent_keyboard = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +exports.element_mouseevent_keyboard = { + 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": "element_mouseevent_keyboard.html", + "Manual_1": "element_mouseevent_keyboard.html", + "group": "element_mouseevent_keyboard.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Manual_1": "Confirm the <{0}> element with mouse event handler(s) '{1}' has a corresponding keyboard handler(s)", + "group": "All interactive content with mouse event handlers must have equivalent keyboard access" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.1.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var nodeName = ruleContext.nodeName.toLowerCase(); + var passed = ruleContext.hasAttribute("href") || + (!ruleContext.hasAttribute("ondblclick") && + !ruleContext.hasAttribute("onmousemove") && + (!ruleContext.hasAttribute("onmousedown") || ruleContext.hasAttribute("onkeydown")) && + (!ruleContext.hasAttribute("onmouseup") || ruleContext.hasAttribute("onkeyup")) && + (!ruleContext.hasAttribute("onmouseover") || ruleContext.hasAttribute("onfocus")) && + (!ruleContext.hasAttribute("onmouseout") || ruleContext.hasAttribute("onblur")) && + (!ruleContext.hasAttribute("onclick") || ruleContext.hasAttribute("onkeypress") || + nodeName == "a" || nodeName == "button")); + var failedMouseEvents = new Array(); + if (!passed) { + //store and display event name and node name in the tokens + if (ruleContext.hasAttribute("ondblclick")) { + failedMouseEvents.push("ondblclick"); + } + if (ruleContext.hasAttribute("onmousemove")) { + failedMouseEvents.push("onmousemove"); + } + if (ruleContext.hasAttribute("onmousedown") && !ruleContext.hasAttribute("onkeydown")) { + failedMouseEvents.push("onmousedown"); + } + if (ruleContext.hasAttribute("onmouseup") && !ruleContext.hasAttribute("onkeyup")) { + failedMouseEvents.push("onmouseup"); + } + if (ruleContext.hasAttribute("onmouseover") && !ruleContext.hasAttribute("onfocus")) { + failedMouseEvents.push("onmouseover"); + } + if (ruleContext.hasAttribute("onmouseout") && !ruleContext.hasAttribute("onblur")) { + failedMouseEvents.push("onmouseout"); + } + if (ruleContext.hasAttribute("onclick") && !ruleContext.hasAttribute("onkeypress")) { + if (!(nodeName == "a" || nodeName == "button")) + failedMouseEvents.push("onclick"); + } + } + return passed ? (0, IRule_1.RulePass)("Pass_0") : (0, IRule_1.RuleManual)("Manual_1", [nodeName, failedMouseEvents.join(", ")]); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/element_orientation_unlocked.ts": +/*!******************************************************!*\ + !*** ./src/v4/rules/element_orientation_unlocked.ts ***! + \******************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.element_orientation_unlocked = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CSSUtil_1 = __webpack_require__(/*! ../util/CSSUtil */ "./src/v4/util/CSSUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +var fragment_1 = __webpack_require__(/*! ../../v2/checker/accessibility/util/fragment */ "./src/v2/checker/accessibility/util/fragment.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.element_orientation_unlocked = { + id: "element_orientation_unlocked", + context: "dom:*", + help: { + "en-US": { + "pass": "element_orientation_unlocked.html", + "fail_locked": "element_orientation_unlocked.html", + "group": "element_orientation_unlocked.html" + } + }, + messages: { + "en-US": { + "pass": "The element is not restricted to either landscape or portrait orientation using CSS transform property", + "fail_locked": "The element <{0}> is restricted to either landscape or portrait orientation using CSS transform property", + "group": "Elements should not be restricted to either landscape or portrait orientation using CSS transform property" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.4"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: ['b33eff'], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip invisible element + if (!VisUtil_1.VisUtil.isNodeVisible(ruleContext)) + return null; + //skip elements + if (CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["script", "meta", "title"])) + return null; + var nodeName = ruleContext.nodeName.toLowerCase(); + // cache the orientation result for all the elements in the page + var doc = fragment_1.FragmentUtil.getOwnerFragment(ruleContext); + var orientationTransforms = CacheUtil_1.CacheUtil.getCache(doc, "RPTUtil_MEDIA_ORIENTATION_TRANSFROM", null); + if (!orientationTransforms) { + orientationTransforms = CSSUtil_1.CSSUtil.getMediaOrientationTransform(doc); + CacheUtil_1.CacheUtil.setCache(doc, "RPTUtil_MEDIA_ORIENTATION_TRANSFROM", orientationTransforms); + } + // find if the element matches orientation selector(s) + var media_transforms = []; + Object.keys(orientationTransforms).forEach(function (key) { + Object.keys(orientationTransforms[key]).forEach(function (tag) { + if (Object.keys(orientationTransforms[key][tag]).length > 0 && CSSUtil_1.CSSUtil.selectorMatchesElem(ruleContext, tag)) { + if (orientationTransforms[key][tag].transform) + media_transforms.push(orientationTransforms[key][tag].transform); + else + media_transforms.push(orientationTransforms[key][tag]); + } + }); + }); + // no match, the element is not in media orientation transform + if (media_transforms.length === 0) + return null; + var ret = []; + var _loop_1 = function (i) { + var media_transform = media_transforms[i]; + if (typeof media_transform === 'object') + for (var key in media_transform) + media_transform = key + "(" + media_transform[key] + ")"; + var containsRotation = false; + ['rotate', 'rotate3d', 'rotateZ', 'matrix', 'matrix3d'].forEach(function (rotation) { + if (media_transform.includes(rotation)) + containsRotation = true; + }); + // no rotation transform, skip + if (!containsRotation) + return "continue"; + var degree = CSSUtil_1.CSSUtil.getRotationDegree(media_transform); + // no or 360n degree rotation + if (degree === 0) { + ret.push((0, IRule_1.RulePass)("pass")); + return "continue"; + } + /** + * calculate the original page rotation transformation, example + * html { transform: rotate(2.5deg); } + */ + var definedStyle = CSSUtil_1.CSSUtil.getDefinedStyles(ruleContext); + /** + * compensate the media orientation with the page orientation + */ + if (definedStyle['transform']) { + var page_degree = CSSUtil_1.CSSUtil.getRotationDegree(definedStyle['transform']); + // rotate is additive + degree += page_degree; + } + // When degree is 1 turn (360 degree), it is not considered an orientation lock + // allow 1 degree floating range for the right angle + if (Math.abs(degree - 360) % 360 > 1) + ret.push((0, IRule_1.RuleFail)("fail_locked", [nodeName])); + else + ret.push((0, IRule_1.RulePass)("pass")); + }; + for (var i = 0; i < media_transforms.length; i++) { + _loop_1(i); + } + if (ret.length > 0) + return ret; + return null; + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/element_scrollable_tabbable.ts": +/*!*****************************************************!*\ + !*** ./src/v4/rules/element_scrollable_tabbable.ts ***! + \*****************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.element_scrollable_tabbable = void 0; +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +var CSSUtil_1 = __webpack_require__(/*! ..//util/CSSUtil */ "./src/v4/util/CSSUtil.ts"); +exports.element_scrollable_tabbable = { + id: "element_scrollable_tabbable", + context: "dom:*", + dependencies: [], + help: { + "en-US": { + "group": "element_scrollable_tabbable.html", + "pass_tabbable": "element_scrollable_tabbable.html", + "pass_interactive": "element_scrollable_tabbable.html", + "fail_scrollable": "element_scrollable_tabbable.html" + } + }, + messages: { + "en-US": { + "group": "Scrollable elements should be tabbable or contain tabbable content", + "pass_tabbable": "The scrollable element is tabbable", + "pass_interactive": "The scrollable element has tabbable content", + "fail_scrollable": "The scrollable element <{0}> with non-interactive content is not tabbable" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + num: ["2.1.1"], + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: ["0ssw9k"], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the check if the element is hidden or disabled + if (!VisUtil_1.VisUtil.isNodeVisible(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) + return; + //skip elements + if (CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["iframe", "svg", "script", "meta"])) + return null; + //skip if no visible content + if (!CommonUtil_1.CommonUtil.hasInnerContent(ruleContext)) + return null; + var nodeName = ruleContext.nodeName.toLowerCase(); + var styles = getComputedStyle(ruleContext); + // not scrollable, inapplicable + if ((styles.overflowX === 'visible' || styles.overflowX === 'hidden') + && (styles.overflowY === 'visible' || styles.overflowY === 'hidden')) + return null; + // ignore if the overall scrollable element (clientWidth + scrollbarWidth and clientHeight + scrollbarHeight) is too small to be visible on screen + if (Math.max(ruleContext.offsetWidth, ruleContext.offsetHeight) < 30 || Math.min(ruleContext.offsetWidth, ruleContext.offsetHeight) < 15) + return null; + // ignore if both x and y scroll distances < element's horizontal/vertical padding + var padding_x = CSSUtil_1.CSSUtil.getPixelsFromStyle(styles.paddingLeft, ruleContext) + CSSUtil_1.CSSUtil.getPixelsFromStyle(styles.paddingRight, ruleContext); + var padding_y = CSSUtil_1.CSSUtil.getPixelsFromStyle(styles.paddingTop, ruleContext) + CSSUtil_1.CSSUtil.getPixelsFromStyle(styles.paddingBottom, ruleContext); + if (ruleContext.scrollWidth - ruleContext.clientWidth < 1 + padding_x + && ruleContext.scrollHeight - ruleContext.clientHeight < 1 + padding_y) + return null; + // pass if element is tabbable + if (CommonUtil_1.CommonUtil.isTabbable(ruleContext)) + return (0, IRule_1.RulePass)("pass_tabbable"); + // check if element content is tabbable + var count = CommonUtil_1.CommonUtil.getTabbableChildren(ruleContext); + if (count > 0) + return (0, IRule_1.RulePass)("pass_interactive"); + // ignore in Firefox if no tabindex at all (not tested in embedded or any simulator) + if (!ruleContext.hasAttribute("tabindex") && navigator.userAgent.indexOf("Firefox") > -1) + return null; + return (0, IRule_1.RuleFail)("fail_scrollable", [nodeName]); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/element_tabbable_role_valid.ts": +/*!*****************************************************!*\ + !*** ./src/v4/rules/element_tabbable_role_valid.ts ***! + \*****************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.element_tabbable_role_valid = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var ARIADefinitions_1 = __webpack_require__(/*! ../../v2/aria/ARIADefinitions */ "./src/v2/aria/ARIADefinitions.ts"); +var CSSUtil_1 = __webpack_require__(/*! ../util/CSSUtil */ "./src/v4/util/CSSUtil.ts"); +var DOMWalker_1 = __webpack_require__(/*! ../../v2/dom/DOMWalker */ "./src/v2/dom/DOMWalker.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.element_tabbable_role_valid = { + id: "element_tabbable_role_valid", + context: "dom:*", + help: { + "en-US": { + "pass": "element_tabbable_role_valid.html", + "fail_invalid_role": "element_tabbable_role_valid.html", + "fail_no_valid_role": "element_tabbable_role_valid.html", + "group": "element_tabbable_role_valid.html" + } + }, + messages: { + "en-US": { + "pass": "The tabbable element has a widget role", + "fail_invalid_role": "The tabbable element's role '{0}' is not a widget role", + "fail_no_valid_role": "The tabbable element does not have a valid widget role", + "group": "A tabbable element must have a valid widget role" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }, + { + "id": ["WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext) || VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var nodeName = ruleContext.nodeName.toLowerCase(); + // 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 CommonUtil_1.CommonUtil.tabTagMap) { + var value = CommonUtil_1.CommonUtil.tabTagMap[nodeName]; + if (typeof (value) === "function") { + value = value(ruleContext); + } + if (value) + return null; + } + // handle the case: no tabindex or tabindex < 0 + if (!ruleContext.hasAttribute("tabindex") || parseInt(ruleContext.getAttribute("tabindex")) < 0) + return null; + // ignore elements with CSS overflow: scroll or auto + var styles = CSSUtil_1.CSSUtil.getDefinedStyles(ruleContext); + if (styles['overflow-x'] === 'scroll' || styles['overflow-y'] === 'scroll' + || styles['overflow-x'] === 'auto' || styles['overflow-y'] === 'auto') + return null; + // elements whose roles allow no descendants that are interactive or with a tabindex >= 0 + // this case should be handled in widget_tabbable_single and aria_child_tabbable + var roles_no_interactive_child = ["button", "checkbox", "img", "link", "menuitem", "menuitemcheckbox", "menuitemradio", + "option", "radio", "switch", "tab"]; + var parent = DOMWalker_1.DOMWalker.parentNode(ruleContext); + var parent_role = AriaUtil_1.AriaUtil.getResolvedRole(parent); + // ignore if the parent role is in roles_no_interactive_child + if (roles_no_interactive_child.includes(parent_role)) + return null; + var role = AriaUtil_1.AriaUtil.getResolvedRole(ruleContext); + if (!role) + return (0, IRule_1.RuleFail)("fail_no_valid_role"); + // ignore 'application' role that contains one or more focusable elements that do not follow a standard interaction pattern supported by a widget role:https://www.w3.org/TR/2023/PR-WAI-ARIA-1.2-20230328/#application + if (role === "application") + return null; + // handle the case: tabindex >= 0 to examine whether a widget role is setup or not + // pass if one of the roles is a widget type + // Row is weird. It's structure, but can also be widget + // Focusable separators are widgets + if (role === "row" || role === "separator" || ARIADefinitions_1.ARIADefinitions.designPatterns[role].roleType === 'widget') { + return (0, IRule_1.RulePass)("pass"); + } + return (0, IRule_1.RuleFail)("fail_invalid_role", [role]); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/element_tabbable_unobscured.ts": +/*!*****************************************************!*\ + !*** ./src/v4/rules/element_tabbable_unobscured.ts ***! + \*****************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.element_tabbable_unobscured = void 0; +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +var DOMMapper_1 = __webpack_require__(/*! ../../v2/dom/DOMMapper */ "./src/v2/dom/DOMMapper.ts"); +exports.element_tabbable_unobscured = { + id: "element_tabbable_unobscured", + context: "dom:*", + dependencies: [], + help: { + "en-US": { + "group": "element_tabbable_unobscured.html", + "pass": "element_tabbable_unobscured.html", + "potential_obscured": "element_tabbable_unobscured.html" + } + }, + messages: { + "en-US": { + "group": "When an element receives focus, it is not entirely covered by other content", + "pass": "The element is not entirely covered by other content", + "potential_obscured": "Confirm that when the element receives focus, it is not covered or, if covered by user action, can be uncovered without moving focus" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_2"], + num: ["2.4.11"], + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (!VisUtil_1.VisUtil.isNodeVisible(ruleContext) || !CommonUtil_1.CommonUtil.isTabbable(ruleContext)) + return null; + var nodeName = ruleContext.nodeName.toLocaleLowerCase(); + //ignore certain elements + if (CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["pre", "code", "script", "meta"]) !== null + || nodeName === "body" || nodeName === "html") + return null; + var mapper = new DOMMapper_1.DOMMapper(); + var bounds = mapper.getUnadjustedBounds(ruleContext); + ; + //in case the bounds not available + if (!bounds) + return null; + //ignore if offscreen + if (bounds['height'] === 0 || bounds['width'] === 0) + return null; + var doc = ruleContext.ownerDocument; + if (!doc) { + return null; + } + var win = doc.defaultView; + if (!win) { + return null; + } + var cStyle = win.getComputedStyle(ruleContext); + if (cStyle === null) + return null; + var zindex = cStyle.zIndex; + if (!zindex || zindex === 'auto') + zindex = "0"; + var elems = doc.querySelectorAll('body *:not(script)'); + if (!elems || elems.length == 0) + return; + var violations = []; + var before = true; + elems.forEach(function (elem) { + /** + * the nodes returned from querySelectorAll is in document order + * if two elements overlap and z-index are not defined, then the node rendered earlier will be overlaid by the node rendered later + */ + if (ruleContext.contains(elem)) { + //the next node in elems will be after the target node (ruleContext). + before = false; + } + else if (VisUtil_1.VisUtil.isNodeVisible(elem) && !elem.contains(ruleContext)) { + var bnds = mapper.getUnadjustedBounds(elem); + var zStyle = win.getComputedStyle(elem); + var z_index = '0'; + if (zStyle) { + z_index = zStyle.zIndex; + if (!z_index || isNaN(Number(z_index))) + z_index = "0"; + } + if (bnds.height !== 0 && bnds.width !== 0 + && bnds.top <= bounds.top && bnds.left <= bounds.left && bnds.top + bnds.height >= bounds.top + bounds.height + && bnds.left + bnds.height >= bounds.left + bounds.width + && (before ? parseInt(zindex) < parseInt(z_index) : parseInt(zindex) <= parseInt(z_index))) { + violations.push(elem); + } + } + }); + if (violations.length > 0) { + return (0, IRule_1.RulePotential)("potential_obscured", []); + } + return (0, IRule_1.RulePass)("pass"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/element_tabbable_visible.ts": +/*!**************************************************!*\ + !*** ./src/v4/rules/element_tabbable_visible.ts ***! + \**************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.element_tabbable_visible = void 0; +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var CSSUtil_1 = __webpack_require__(/*! ../util/CSSUtil */ "./src/v4/util/CSSUtil.ts"); +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var DOMMapper_1 = __webpack_require__(/*! ../../v2/dom/DOMMapper */ "./src/v2/dom/DOMMapper.ts"); +exports.element_tabbable_visible = { + id: "element_tabbable_visible", + context: "dom:*", + dependencies: [], + help: { + "en-US": { + "group": "element_tabbable_visible.html", + "pass": "element_tabbable_visible.html", + "potential_visible": "element_tabbable_visible.html" + } + }, + messages: { + "en-US": { + "group": "A tabbable element should be visible on the screen when it has keyboard focus", + "pass": "The tabbable element is visible on the screen", + "potential_visible": "Confirm the element should be tabbable and if so, it becomes visible when it has keyboard focus" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + num: ["2.4.7"], + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (!CommonUtil_1.CommonUtil.isTabbable(ruleContext)) + return null; + var nodeName = ruleContext.nodeName.toLocaleLowerCase(); + var mapper = new DOMMapper_1.DOMMapper(); + var bounds = mapper.getUnadjustedBounds(ruleContext); + //in case the bounds not available + if (!bounds) + return null; + // defined styles only give the styles that changed + var defined_styles = CSSUtil_1.CSSUtil.getDefinedStyles(ruleContext); + var onfocus_styles = CSSUtil_1.CSSUtil.getDefinedStyles(ruleContext, ":focus"); + if (bounds['height'] === 0 || bounds['width'] === 0) + return (0, IRule_1.RulePotential)("potential_visible", []); + if (defined_styles['position'] === 'absolute' && defined_styles['clip'] && defined_styles['clip'].replaceAll(' ', '') === 'rect(0px,0px,0px,0px)' + && !onfocus_styles['clip']) { + /** + * note that A user can select a checkbox and radio button by selecting the button or the label text. + * When a checkbox or radio button is clipped to 0 size, it is still available to a keyboard or a screen reader. + * The rule should be passed if the label text exists and the button on-focus style is defined by the user, + * which likely incurs the changes of the label style. + */ + if (nodeName === 'input' && (ruleContext.getAttribute('type') === 'checkbox' || ruleContext.getAttribute('type') === 'radio')) { + var label = CommonUtil_1.CommonUtil.getLabelForElement(ruleContext); + if (label && !CommonUtil_1.CommonUtil.isInnerTextEmpty(label)) { + var focus_styles = CSSUtil_1.CSSUtil.getDefinedStyles(ruleContext, ":focus"); + var focus_visible_styles = CSSUtil_1.CSSUtil.getDefinedStyles(ruleContext, ":focus-visible"); + var focus_within_styles = CSSUtil_1.CSSUtil.getDefinedStyles(ruleContext, ":focus-within"); + var checked_styles = CSSUtil_1.CSSUtil.getDefinedStyles(ruleContext, ":checked"); + if (focus_styles || focus_visible_styles || focus_within_styles || checked_styles) + return (0, IRule_1.RulePass)("pass"); + } + } + return (0, IRule_1.RulePotential)("potential_visible", []); + } + if (bounds['top'] >= 0 && bounds['left'] >= 0) + return (0, IRule_1.RulePass)("pass"); + var default_styles = getComputedStyle(ruleContext); + var top = bounds['top']; + var left = bounds['left']; + if (Object.keys(onfocus_styles).length === 0) { + // no onfocus position change, but could be changed from js + return (0, IRule_1.RulePotential)("potential_visible", []); + } + else { + // with onfocus position change + var positions = ['absolute', 'fixed']; + if (typeof onfocus_styles['top'] !== 'undefined') { + if (positions.includes(onfocus_styles['position']) || (typeof onfocus_styles['position'] === 'undefined' && positions.includes(default_styles['position']))) { + top = onfocus_styles['top'].replace(/\D/g, ''); + } + else { + // the position is undefined and the parent's position is 'relative' + top = Number.MIN_VALUE; + } + } + if (typeof onfocus_styles['left'] !== 'undefined') { + if (positions.includes(onfocus_styles['position']) || (typeof onfocus_styles['position'] === 'undefined' && positions.includes(default_styles['position']))) { + left = onfocus_styles['left'].replace(/\D/g, ''); + } + else { + // the position is undefined and the parent's position is 'relative' + left = Number.MIN_VALUE; + } + } + } + if (top >= 0 && left >= 0) + return (0, IRule_1.RulePass)("pass"); + else + return (0, IRule_1.RulePotential)("potential_visible", []); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/embed_alt_exists.ts": +/*!******************************************!*\ + !*** ./src/v4/rules/embed_alt_exists.ts ***! + \******************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.embed_alt_exists = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.embed_alt_exists = { + id: "embed_alt_exists", + context: "dom:embed", + refactor: { + "RPT_Embed_HasAlt": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + "Pass_0": "embed_alt_exists.html", + "Potential_1": "embed_alt_exists.html", + "group": "embed_alt_exists.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify that the <embed> element has alternative content", + "group": "Provide alternative content for <embed> elements" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_FOUR + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var passed = CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "alt"); + return passed ? (0, IRule_1.RulePass)("Pass_0") : (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/embed_noembed_exists.ts": +/*!**********************************************!*\ + !*** ./src/v4/rules/embed_noembed_exists.ts ***! + \**********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.embed_noembed_exists = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +exports.embed_noembed_exists = { + id: "embed_noembed_exists", + context: "dom:embed", + refactor: { + "WCAG20_Embed_HasNoEmbed": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + "Pass_0": "embed_noembed_exists.html", + "Potential_1": "embed_noembed_exists.html", + "group": "embed_noembed_exists.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify that the <embed> element is immediately followed by a non-embedded element", + "group": "<embed> elements should be immediately followed by a non-embedded element" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_FOUR + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = ruleContext.getElementsByTagName("noembed").length > 0; + if (!passed) { + var walkNode = ruleContext.nextSibling; + while (!passed && walkNode !== null) { + if (walkNode.nodeName.toLowerCase() == "noembed") + passed = true; + else if (walkNode.nodeName.toLowerCase() == "#text" && walkNode.nodeValue.trim().length > 0) + break; + else if (walkNode.nodeType == 1) + break; + walkNode = walkNode.nextSibling; + } + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/emoticons_alt_exists.ts": +/*!**********************************************!*\ + !*** ./src/v4/rules/emoticons_alt_exists.ts ***! + \**********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.emoticons_alt_exists = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.emoticons_alt_exists = { + id: "emoticons_alt_exists", + context: "dom:*", + refactor: { + "WCAG20_Text_Emoticons": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + "Pass_0": "emoticons_alt_exists.html", + "Potential_1": "emoticons_alt_exists.html", + "group": "emoticons_alt_exists.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify that emoticons have a text alternative", + "group": "Emoticons must have a short text alternative that describes their purpose" + } + }, + /** + * Decision in planning 9/7/23 that this rule causes more reviews that we see actual problems in content, so turn these rules off + + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": eRulePolicy.VIOLATION, + "toolkitLevel": eToolkitLevel.LEVEL_TWO + }], + */ + rulesets: [], + act: [], + run: function (context, options, contextHierarchies) { + var validateParams = { + emoticons: { + value: [":-)", ":)", ":o)", ":]", ":3", ":c)", ":>", "=]", "8)", "=)", ":D", "C:", + ":-D", ":D", "8D", "XD", "=D", "=3", "<=3", "<=8", "--!--", ":-(", ":(", ":c", ":<", ":[", + "D:", "D8", "D;", "D=", "DX", "v.v", ":-9", ";-)", ";)", "*)", ";]", ";D", ":-P", ":P", + ":-p", ":p", "=p", ":-Þ", ":Þ", ":-b", ":b", ":-O", ":O", "O_O", "o_o", "8O", "OwO", "O-O", + "0_o", "O_o", "O3O", "o0o ;o_o;", "o...o", "0w0", ":-/", ":/", ":\\", "=/", "=\\", ":S", ":|", + "d:-)", "qB-)", ":)~", ":-)>....", ":-X", ":X", ":-#", ":#", "O:-)", "0:3", "O:)", ":'(", ";*(", + "T_T", "TT_TT", "T.T", ":-*", ":*", "^o)", ">:)", ">;)", ">:-)", "B)", "B-)", "8)", "8-)", + "^>.>^", "^<.<^", "^>_>^", "^<_<^", "D:<", ">:(", "D-:<", ">:-(", ":-@[1]", ";(", "`_´", "D<", + "<3", "<333", "=^_^=", "=>.>=", "=<_<=", "=>.<=", "\\,,/", "\\m/", "\\m/\\>.</\\m/", "\\o/", "\\o o/", + "o/\\o", ":&", ":u" + ], + type: "[string]" + } + }; + var ruleContext = context["dom"].node; + var emoticons = validateParams.emoticons.value; + var passed = true; + var testText = ""; + var walkNode = ruleContext.firstChild; + while (walkNode) { + // Comply to the Check Hidden Content setting will be done by default as this rule triggers on each element + // and for each element it only checks that single elements text nodes and nothing else. So all inner elements will be + // covered on their own. Currently for this rule by default Check Hidden Content will work, as we are doing + // a node walk only on siblings so it would not get text nodes from other siblings at all. + // In the case in the future something chnges, just need to add && !RPTUtil.shouldNodeBeSkippedHidden(walkNode) to the below + // if. + if (walkNode.nodeName == "#text") { + testText += " " + walkNode.nodeValue; + } + walkNode = walkNode.nextSibling; + } + if (testText.trim().length > 0) { + for (var j = 0; passed && j < emoticons.length; ++j) { + var emotIdx = testText.indexOf(emoticons[j]); + var eLngth = emoticons[j].length; + while (passed && emotIdx != -1) { + // Passes if: the emoticon is not preceded by whitespace, + // or the emoticon is not followed by whitespace unless it's punctuation, + // or it's in a pre, code, or script + passed = + (emotIdx > 0 && !/\s/.test(testText.substring(emotIdx - 1, emotIdx))) || + (emotIdx < testText.length - eLngth && !/\s/.test(testText.substring(emotIdx + eLngth, emotIdx + eLngth + 1)) && + !/[.,!'"?]/.test(testText.substring(emotIdx + eLngth, emotIdx + eLngth + 1))); + // Allow usage of (: stuff :) since this is a comment in some languages + passed = passed || ((emoticons[j] == ":)" || emoticons[j] == "(:") && /\(\:.*\:\)/.test(testText)); + passed = passed || ((emoticons[j] == ";)" || emoticons[j] == "(;") && /\(\;.*\;\)/.test(testText)); + emotIdx = testText.indexOf(emoticons[j], emotIdx + 1); + } + } + } + if (!passed) { + // Don't trigger if we're not in the body or if we're in a script, pre, code + var checkAncestor = CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["pre", "code", "script", "body"]); + passed = checkAncestor == null || checkAncestor.nodeName.toLowerCase() != "body"; + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/error_message_exists.ts": +/*!**********************************************!*\ + !*** ./src/v4/rules/error_message_exists.ts ***! + \**********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.error_message_exists = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var fragment_1 = __webpack_require__(/*! ../../v2/checker/accessibility/util/fragment */ "./src/v2/checker/accessibility/util/fragment.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.error_message_exists = { + 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": "error_message_exists.html", + "Fail_1": "error_message_exists.html", + "Fail_2": "error_message_exists.html", + "group": "error_message_exists.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Custom error message has invalid reference 'id' value", + "Fail_2": "Custom error message is not visible", + "group": "A custom error message must reference a valid 'id' value and when triggered the message must be appropriately exposed" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["3.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var aria_errMsgId = AriaUtil_1.AriaUtil.getAriaAttribute(ruleContext, "aria-errormessage"); + // If aria-errormessage is not provided, then OUT_OF_SCOPE + if (!aria_errMsgId) { + return null; + } + var msg_ele = fragment_1.FragmentUtil.getById(ruleContext, aria_errMsgId); + // POF0: Invalid id reference + if (!msg_ele) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + // POF1: Referenced element is not visible + if (!VisUtil_1.VisUtil.isNodeVisible(msg_ele)) { + return (0, IRule_1.RuleFail)("Fail_2"); + } + return (0, IRule_1.RulePass)("Pass_0"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/fieldset_label_valid.ts": +/*!**********************************************!*\ + !*** ./src/v4/rules/fieldset_label_valid.ts ***! + \**********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.fieldset_label_valid = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var fragment_1 = __webpack_require__(/*! ../../v2/checker/accessibility/util/fragment */ "./src/v2/checker/accessibility/util/fragment.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +var AccNameUtil_1 = __webpack_require__(/*! ../util/AccNameUtil */ "./src/v4/util/AccNameUtil.ts"); +exports.fieldset_label_valid = { + 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": "fieldset_label_valid.html", + "Fail_1": "fieldset_label_valid.html", + "Fail_2": "fieldset_label_valid.html", + "group": "fieldset_label_valid.html" + } + }, + messages: { + "en-US": { + "Pass_1": "Group/Fieldset \"{0}\" with an input has a unique name", + "Fail_1": "Group/Fieldset does not have an accessible name", + "Fail_2": "Group/Fieldset \"{0}\" has a duplicate name to another group", + "group": "Groups with nested inputs must have unique accessible name" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1", "3.3.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the check if the element is hidden or disabled + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) + return; + var ownerDocument = fragment_1.FragmentUtil.getOwnerFragment(ruleContext); + var formCache = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "landmark_group_input", null); + if (!formCache) { + formCache = { + groupsWithInputs: [], + groupsWithInputsComputedLabels: [], + }; + var allGroupsTemp = ownerDocument.querySelectorAll('fieldset,[role="group"]'); + var allGroups = Array.from(allGroupsTemp); + var groupsWithInputs = []; + for (var i = 0; i < allGroups.length; i++) { + // Loop over all the group nodes + if (allGroups[i].querySelector("input")) { + groupsWithInputs.push(allGroups[i]); + } + } + var groupsWithInputsComputedLabels = []; + for (var i = 0; i < groupsWithInputs.length; i++) { + var pair = AccNameUtil_1.AccNameUtil.computeAccessibleName(groupsWithInputs[i]); + // Loop over all the landmark nodes + groupsWithInputsComputedLabels.push( + /**ARIAMapper.computeName(groupsWithInputs[i])*/ + pair && pair.name && pair.name.trim().length > 0 ? pair.name.trim() : ""); + } + formCache.groupsWithInputs = groupsWithInputs; + formCache.groupsWithInputsComputedLabels = + groupsWithInputsComputedLabels; + CacheUtil_1.CacheUtil.setCache(ruleContext.ownerDocument, "landmark_group_input", formCache); + } + // formCache.groupsWithInputs.forEach(element => { + // console.log("formCache.groupsWithInputs: " +element.id) + // }); + // console.log("formCache.groupsWithInputsComputedLabels: " +formCache.groupsWithInputsComputedLabels) + // console.log("formCache.groupsWithInputsComputedLabels: " +formCache.groupsWithInputsComputedLabels.length) + var ruleContextFoundIngroupsWithInputsFlag = false; + var computedName = ""; + if (!formCache.groupsWithInputs) { + // We do not have any groups with inputs. Therefore we should skip this rule trigger. + return null; + } + for (var i = 0; i < formCache.groupsWithInputs.length; i++) { + if (ruleContext.isSameNode(formCache.groupsWithInputs[i])) { + // We have found our ruleContext in the cache + ruleContextFoundIngroupsWithInputsFlag = true; + if (formCache.groupsWithInputsComputedLabels[i] === "" || + formCache.groupsWithInputsComputedLabels[i] === null) { + // console.log("Fail_1") + return (0, IRule_1.RuleFail)("Fail_1"); + } + var foundSameNameFlag = false; + for (var j = 0; j < formCache.groupsWithInputsComputedLabels.length; j++) { + if (i == j) { + continue; + } // We do not want to compare against ourselfs + if (formCache.groupsWithInputsComputedLabels[i] === + formCache.groupsWithInputsComputedLabels[j]) { + foundSameNameFlag = true; + } + } + if (foundSameNameFlag) { + // console.log("Fail_2") + return (0, IRule_1.RuleFail)("Fail_2", [ + formCache.groupsWithInputsComputedLabels[i], + ]); + } + computedName = formCache.groupsWithInputsComputedLabels[i]; + } + } + if (!ruleContextFoundIngroupsWithInputsFlag) { + // console.log("null return") + return null; + } + // console.log("Pass_1") + return (0, IRule_1.RulePass)("Pass_1", [computedName]); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/fieldset_legend_valid.ts": +/*!***********************************************!*\ + !*** ./src/v4/rules/fieldset_legend_valid.ts ***! + \***********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.fieldset_legend_valid = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.fieldset_legend_valid = { + 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": "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: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "<fieldset> element does not have a <legend>", + "Fail_2": "<fieldset> element has more than one <legend>", + "Fail_3": "<fieldset> element <legend> is empty", + "group": " <fieldset> elements should have a single, non-empty <legend> as a label" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip if the fieldset is hidden or disabled + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) + return null; + // In the case a legend is hidden, we should still trigger a violations for this + var legends = CommonUtil_1.CommonUtil.getChildByTagHidden(ruleContext, "legend", true, false); + if (legends.length === 0) { + // Fieldset has NO Legend + return (0, IRule_1.RuleFail)("Fail_1"); + } + else if (legends.length > 1) { + // Fieldset has more than one legend + return (0, IRule_1.RuleFail)("Fail_2"); + } + else if (CommonUtil_1.CommonUtil.getInnerText(legends[0]).trim().length === 0) { + // Fieldset has legend but legend is empty + return (0, IRule_1.RuleFail)("Fail_3"); + } + return (0, IRule_1.RulePass)("Pass_0"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/figure_label_exists.ts": +/*!*********************************************!*\ + !*** ./src/v4/rules/figure_label_exists.ts ***! + \*********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.figure_label_exists = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +var AccNameUtil_1 = __webpack_require__(/*! ../util/AccNameUtil */ "./src/v4/util/AccNameUtil.ts"); +exports.figure_label_exists = { + id: "figure_label_exists", + context: "dom:figure", + refactor: { + "HAAC_Figure_label": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "Pass_0": "figure_label_exists.html", + "Fail_1": "figure_label_exists.html", + "group": "figure_label_exists.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "The <figure> element does not have an associated label", + "group": "A <figure> element must have an associated label" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + // ignore if an explicit role is specified. this case will be covered in the aria_accessiblename_exists rules + var role = ruleContext.getAttribute("role"); + if (role) { + return null; + } + //let passed = AriaUtil.hasAriaLabel(ruleContext) || CommonUtil.attributeNonEmpty(ruleContext, "title"); + var pair = AccNameUtil_1.AccNameUtil.computeAccessibleName(ruleContext); + var passed = pair && pair.name && pair.name.trim().length > 0; + //return new ValidationResult(passed, [ruleContext], '', '', []); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", []); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/form_font_color.ts": +/*!*****************************************!*\ + !*** ./src/v4/rules/form_font_color.ts ***! + \*****************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.form_font_color = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +exports.form_font_color = { + id: "form_font_color", + context: "dom:form", + refactor: { + "RPT_Font_ColorInForm": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + "Pass_0": "form_font_color.html", + "Potential_1": "form_font_color.html", + "group": "form_font_color.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Check color is not used as the only visual means to convey which fields are required", + "group": "Combine color and descriptive markup to indicate required form fields" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = true; + var fonts = ruleContext.getElementsByTagName("font"); + if (fonts != null) { + for (var i = 0; i < fonts.length; ++i) { + passed = !fonts[i].hasAttribute("color"); + } + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/form_interaction_review.ts": +/*!*************************************************!*\ + !*** ./src/v4/rules/form_interaction_review.ts ***! + \*************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.form_interaction_review = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.form_interaction_review = { + 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": "form_interaction_review.html", + "Potential_1": "form_interaction_review.html", + "group": "form_interaction_review.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify that interacting with content will not open pop-up windows or change the active window without informing the user", + "group": "User should be informed in advance when interacting with content causes a change of context" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["3.2.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var validateParams = { + paramWinText: { + value: ["new window"], + type: "array" + } + }; + var ruleContext = context["dom"].node; + var tStr = ruleContext.getAttribute("target"); + var passed = tStr === "_parent" || tStr === "_self" || tStr === "_top" || CommonUtil_1.CommonUtil.getFrameByName(ruleContext, tStr) != null; + if (!passed) { + // Name is not part of this frameset – must have potential to create new window? + // See if a new window is mentioned + var textStr = CommonUtil_1.CommonUtil.getInnerText(ruleContext); + if (ruleContext.hasAttribute("title")) + textStr += " " + ruleContext.getAttribute("title"); + for (var i = 0; !passed && i < validateParams.paramWinText.value.length; ++i) + if (textStr.indexOf(validateParams.paramWinText.value[i]) != -1) + passed = true; + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/form_label_unique.ts": +/*!*******************************************!*\ + !*** ./src/v4/rules/form_label_unique.ts ***! + \*******************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.form_label_unique = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var fragment_1 = __webpack_require__(/*! ../../v2/checker/accessibility/util/fragment */ "./src/v2/checker/accessibility/util/fragment.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +exports.form_label_unique = { + 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": "form_label_unique.html", + "Fail_1": "form_label_unique.html", + "group": "form_label_unique.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Form control has more than one label", + "group": "Form controls should have exactly one label" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // JCH - NO OUT OF SCOPE hidden in context + var labelIds = CacheUtil_1.CacheUtil.getCache(fragment_1.FragmentUtil.getOwnerFragment(ruleContext), "RPT_Label_Single", {}); + var id = ruleContext.getAttribute("for"); + var passed = !(id in labelIds); + labelIds[id] = true; + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/form_submit_button_exists.ts": +/*!***************************************************!*\ + !*** ./src/v4/rules/form_submit_button_exists.ts ***! + \***************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.form_submit_button_exists = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var DOMWalker_1 = __webpack_require__(/*! ../../v2/dom/DOMWalker */ "./src/v2/dom/DOMWalker.ts"); +exports.form_submit_button_exists = { + 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": "form_submit_button_exists.html", + "Potential_1": "form_submit_button_exists.html", + "group": "form_submit_button_exists.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify the <form> element has a submit button or an image button", + "group": "A <form> element should have a submit button or an image button" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["3.2.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = false; + if (ruleContext.firstChild) { + // submit buttons are usually at the bottom - walk backwards + //let nw = new NodeWalker(ruleContext, true); + var nw = new DOMWalker_1.DOMWalker(ruleContext, true); + while (!passed && nw.prevNode() && nw.node != ruleContext) { + if (!nw.bEndTag) { + var nodeName = nw.node.nodeName.toLowerCase(); + if (nodeName === "input") { + var type = nw.elem().getAttribute("type"); + if (type) { + type = type.toLowerCase(); + } + passed = type === "submit" || type === "image"; + } + else if (nodeName === "button") { + passed = nw.elem().hasAttribute("type") && nw.elem().getAttribute("type").toLowerCase() === "submit"; + } + else if (nw.node.nodeType === 1) { + passed = AriaUtil_1.AriaUtil.hasRole(nw.node, "button"); + } + } + } + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/form_submit_review.ts": +/*!********************************************!*\ + !*** ./src/v4/rules/form_submit_review.ts ***! + \********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.form_submit_review = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +exports.form_submit_review = { + 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": "form_submit_review.html", + "Potential_1": "form_submit_review.html", + "group": "form_submit_review.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Confirm the form does not submit automatically without warning", + "group": "A form should not be submitted automatically without warning the user" + } + }, + /** + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["3.2.2"], + "level": eRulePolicy.VIOLATION, + "toolkitLevel": eToolkitLevel.LEVEL_THREE + }],*/ + //deprecate the rule on Jun 10, 2024 + rulesets: [], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = ruleContext.getAttribute("onchange").trim().length === 0; + if (passed) + return null; + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/frame_src_valid.ts": +/*!*****************************************!*\ + !*** ./src/v4/rules/frame_src_valid.ts ***! + \*****************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.frame_src_valid = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.frame_src_valid = { + 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": "frame_src_valid.html", + "Potential_1": "frame_src_valid.html", + "group": "frame_src_valid.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify <frame> content is accessible", + "group": "A <frame> containing non-HTML content must be made accessible" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "src") && + CommonUtil_1.CommonUtil.isHtmlExt(CommonUtil_1.CommonUtil.getFileExt(ruleContext.getAttribute("src"))); + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/frame_title_exists.ts": +/*!********************************************!*\ + !*** ./src/v4/rules/frame_title_exists.ts ***! + \********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.frame_title_exists = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AccNameUtil_1 = __webpack_require__(/*! ../util/AccNameUtil */ "./src/v4/util/AccNameUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.frame_title_exists = { + 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": "frame_title_exists.html", + "Pass_0": "frame_title_exists.html", + "Fail_1": "frame_title_exists.html" + } + }, + messages: { + "en-US": { + "group": "Inline frames must have a unique, non-empty 'title' attribute", + "Pass_0": "Rule Passed", + "Fail_1": "Inline frame does not have a 'title' attribute", + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: "cae760", + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + // ignore if an explicit role is specified. this case will be covered in the aria_accessiblename_exists rules + var role = ruleContext.getAttribute("role"); + if (role) { + return null; + } + var name_pair = AccNameUtil_1.AccNameUtil.computeAccessibleName(ruleContext); + if (name_pair && name_pair.name && name_pair.name.trim().length > 0) { + //if (CommonUtil.attributeNonEmpty(ruleContext, "title")) { + return (0, IRule_1.RulePass)("Pass_0"); + } + else { + return (0, IRule_1.RuleFail)("Fail_1"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/heading_content_exists.ts": +/*!************************************************!*\ + !*** ./src/v4/rules/heading_content_exists.ts ***! + \************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.heading_content_exists = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.heading_content_exists = { + 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": "heading_content_exists.html", + "Fail_1": "heading_content_exists.html", + "group": "heading_content_exists.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Heading element has descriptive text", + "Fail_1": "Heading element has no descriptive content", + "group": "Heading elements must provide descriptive text" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.6"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = CommonUtil_1.CommonUtil.hasInnerContentHidden(ruleContext); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/heading_markup_misuse.ts": +/*!***********************************************!*\ + !*** ./src/v4/rules/heading_markup_misuse.ts ***! + \***********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.heading_markup_misuse = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.heading_markup_misuse = { + id: "heading_markup_misuse", + context: "dom:h1, dom:h2, dom:h3, dom:h4, dom:h5, dom:h6", + dependencies: ["heading_content_exists"], + refactor: { + "RPT_Headers_FewWords": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + "Pass_0": "heading_markup_misuse.html", + "Potential_1": "heading_markup_misuse.html", + "group": "heading_markup_misuse.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify that the heading element is a genuine heading", + "group": "Heading elements must not be used for presentation" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var validateParams = { + headingLengthThresh: { + value: 20, + type: "integer" + } + }; + var ruleContext = context["dom"].node; + var headingLengthThresh = validateParams.headingLengthThresh.value; + var passed = CommonUtil_1.CommonUtil.wordCount(CommonUtil_1.CommonUtil.getInnerText(ruleContext)) <= headingLengthThresh; + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/html_lang_exists.ts": +/*!******************************************!*\ + !*** ./src/v4/rules/html_lang_exists.ts ***! + \******************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.html_lang_exists = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var ancestor_1 = __webpack_require__(/*! ../../v2/checker/accessibility/util/ancestor */ "./src/v2/checker/accessibility/util/ancestor.ts"); +var lang_1 = __webpack_require__(/*! ../../v2/checker/accessibility/util/lang */ "./src/v2/checker/accessibility/util/lang.ts"); +exports.html_lang_exists = { + 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": "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: { + "en-US": { + "group": "Page must identify the default language of the document with a 'lang' attribute", + "Pass_0": "Page language detected as \"{0}\"", + "Fail_1": "Page detected as XHTML 1.0, but has neither 'lang' nor 'xml:lang' attributes", + "Fail_2": "Page detected as XHTML, but does not have an 'xml:lang' attribute", + "Fail_3": "Page detected as HTML, but does not have a 'lang' attribute", + "Fail_4": "Page detected with 'lang' and 'xml:lang' attributes and primary languages do not match: \"{0}\", \"{1}\"", + "Fail_5": "Page detected with 'lang' and 'xml:lang' attributes that do not match: \"{0}\", \"{1}\"", + "Potential_5": "Page detected as XHTML 1.0 with only a 'lang' attribute. Confirm that page is only delivered via text/html mime type", + "Potential_6": "Page detected as XHTML 1.0 with only an 'xml:lang' attribute. Confirm that page is only delivered via xml mime type" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: "3.1.1", + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [{ + "b5c3f8": { + "Pass_0": "pass", + "Fail_1": "inapplicable", + "Fail_2": "inapplicable", + "Fail_3": "fail", + "Fail_4": "inapplicable", + "Fail_5": "inapplicable", + "Potential_5": "inapplicable", + "Potential_6": "inapplicable" + }, + "5b7ae0": { + "Pass_0": "pass", + "Fail_1": "inapplicable", + "Fail_2": "inapplicable", + "Fail_3": "inapplicable", + "Fail_4": "fail", + "Fail_5": "pass", + "Potential_5": "inapplicable", + "Potential_6": "inapplicable" + } + }], + run: function (context, options, contextHierarchies) { + // This rule does not apply inside a presentational frame + if (ancestor_1.AncestorUtil.isPresentationFrame(contextHierarchies)) { + return null; + } + var ruleContext = context["dom"].node; + var doctypeString = ruleContext.ownerDocument.doctype ? ruleContext.ownerDocument.doctype.publicId : ""; + if (!doctypeString) + doctypeString = ""; + var lang = ruleContext.getAttribute("lang"); + var langXML = ruleContext.getAttribute("xml:lang"); + if (doctypeString.includes('XHTML') && !doctypeString.includes("1.0")) { + if (!langXML) { + // XHTML != 1.0 (must have xml:lang + return (0, IRule_1.RuleFail)("Fail_2"); + } + else { + return (0, IRule_1.RulePass)("Pass_0", [langXML]); + } + } + else if (doctypeString.includes('XHTML') && doctypeString.includes("1.0")) { + // Handle XHTML 1.0 + // If neither is provided, it's a failure + if (!lang && !langXML) { + // XHTML and no lang + return (0, IRule_1.RuleFail)("Fail_1"); + } + else if (lang && langXML) { + if (lang !== langXML) { + if (!lang_1.LangUtil.validPrimaryLang(lang) || !lang_1.LangUtil.validPrimaryLang(langXML)) { + // Let Elem_Lang_Valid handle this + return null; + } + if (!lang_1.LangUtil.matchPrimaryLang(lang, langXML)) { + // XHTML and lang and xml:lang, but they don't match + return (0, IRule_1.RuleFail)("Fail_4", [lang, langXML], []); + } + else { + return (0, IRule_1.RuleFail)("Fail_5", [lang, langXML], []); + } + } + else { + // XHTML and lang and xml:lang match + return (0, IRule_1.RulePass)("Pass_0", [lang]); + } + } + else if (lang) { + // XHTML and only lang (okay if only delivered via text/html) + return (0, IRule_1.RulePotential)("Potential_5"); + } + else { + // XHTML and only xml:lang (okay if only delivered via xml mime type) + return (0, IRule_1.RulePotential)("Potential_6"); + } + } + else { + if (!lang) { + return (0, IRule_1.RuleFail)("Fail_3"); + } + else if (lang && langXML) { + // HTML5 polyglot documents + if (lang !== langXML) { + if (!lang_1.LangUtil.validPrimaryLang(lang) || !lang_1.LangUtil.validPrimaryLang(langXML)) { + // Let Elem_Lang_Valid handle this + return null; + } + if (!lang_1.LangUtil.matchPrimaryLang(lang, langXML)) { + // XHTML and lang and xml:lang, but they don't match + return (0, IRule_1.RuleFail)("Fail_4", [lang, langXML], []); + } + else { + return (0, IRule_1.RuleFail)("Fail_5", [lang, langXML], []); + } + } + else { + // XHTML and lang and xml:lang match + return (0, IRule_1.RulePass)("Pass_0", [lang]); + } + } + else { + return (0, IRule_1.RulePass)("Pass_0", [lang]); + } + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/html_skipnav_exists.ts": +/*!*********************************************!*\ + !*** ./src/v4/rules/html_skipnav_exists.ts ***! + \*********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.html_skipnav_exists = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var fragment_1 = __webpack_require__(/*! ../../v2/checker/accessibility/util/fragment */ "./src/v2/checker/accessibility/util/fragment.ts"); +exports.html_skipnav_exists = { + id: "html_skipnav_exists", + context: "dom:html", + refactor: { + "RPT_Html_SkipNav": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + "group": "html_skipnav_exists.html", + "Pass_0": "html_skipnav_exists.html", + "Potential_1": "html_skipnav_exists.html" + } + }, + messages: { + "en-US": { + "group": "Provide a way to bypass blocks of content that are repeated on multiple Web pages", + "Pass_0": "Rule Passed", + "Potential_1": "Verify there is a way to bypass blocks of content that are repeated on multiple Web pages" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: "2.4.1", + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = false; + var frames = CommonUtil_1.CommonUtil.getDocElementsByTag(ruleContext, "frame"); + var headers = CommonUtil_1.CommonUtil.getDocElementsByTag(ruleContext, "h1"); + if ((frames != null && frames.length > 0) || (headers != null && headers.length > 0)) { + // If frames or headings are used, pass + passed = true; + } + else { + // Look for skip anchors + var anchors = CommonUtil_1.CommonUtil.getDocElementsByTag(ruleContext, "a"); + var targets = {}; + for (var idx = 0; !passed && idx < anchors.length; ++idx) { + if (anchors[idx].hasAttribute("href")) { + var href = anchors[idx].href; + if (typeof href !== typeof "") { + if (href.baseVal) { + href = href.baseVal; + } + else { + href = ""; + } + } + var tmpLocation = void 0; + if (typeof (ruleContext.ownerDocument.locationFromDAP) != "undefined" && ruleContext.ownerDocument.locationFromDAP != null) { // DAP sets it + tmpLocation = ruleContext.ownerDocument.locationFromDAP; + } + else { // server scan has the location object + tmpLocation = ruleContext.ownerDocument.location; + } + var docHref = ""; + if (tmpLocation) { + docHref = tmpLocation.href; + } + // Fix weird bugs with how various parsers report on file: url's: + if (href.startsWith("file:///")) + href = "file:/" + href.substring("file:///".length); + if (docHref.startsWith("file:///")) + docHref = "file:/" + docHref.substring("file:///".length); + if (href.charAt(0) == "#" || href.startsWith(docHref + "#")) { + var target = CommonUtil_1.CommonUtil.getFileAnchor(href); + if (fragment_1.FragmentUtil.getById(ruleContext, target) != null) + passed = true; + else + targets[target] = true; + } + } + else if (anchors[idx].hasAttribute("name")) { + // Assume forward jumping targets + var name_1 = anchors[idx].getAttribute("name"); + if (name_1.indexOf("#") != -1) + name_1 = CommonUtil_1.CommonUtil.getFileAnchor(name_1); + passed = name_1 in targets; + } + } + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/iframe_interactive_tabbable.ts": +/*!*****************************************************!*\ + !*** ./src/v4/rules/iframe_interactive_tabbable.ts ***! + \*****************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.iframe_interactive_tabbable = void 0; +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +var DOMMapper_1 = __webpack_require__(/*! ../../v2/dom/DOMMapper */ "./src/v2/dom/DOMMapper.ts"); +exports.iframe_interactive_tabbable = { + id: "iframe_interactive_tabbable", + context: "dom:iframe", + dependencies: [], + help: { + "en-US": { + "group": "iframe_interactive_tabbable.html", + "pass": "iframe_interactive_tabbable.html", + "fail_invalid": "iframe_interactive_tabbable.html" + } + }, + messages: { + "en-US": { + "group": "Iframe with interactive content should not be excluded from tab order using tabindex", + "pass": "The iframe with interactive content is not excluded from the tab order using tabindex", + "fail_invalid": "The <iframe> with interactive content is excluded from tab order using tabindex" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + num: ["2.1.1"], + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: ["akn7bn"], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the check if the element is hidden or disabled + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) + return; + var mapper = new DOMMapper_1.DOMMapper(); + var bounds = mapper.getUnadjustedBounds(ruleContext); + //in case the bounds not available + if (!bounds) + return null; + // ignore if iframe is too small to be visible on screen + if (Math.max(bounds['height'], bounds['width']) < 30 || Math.min(bounds['height'], bounds['width']) < 15) + return null; + // pass iframe element does not have a tabindex attribute value that is a negative number + if (!ruleContext.hasAttribute("tabindex") || parseInt(ruleContext.getAttribute("tabindex")) >= 0) + return (0, IRule_1.RulePass)("pass"); + // check iframe content + var iframElem = ruleContext; + if (!iframElem || !iframElem.contentDocument || !iframElem.contentDocument.documentElement) + return null; + var count = CommonUtil_1.CommonUtil.getTabbableChildren(ruleContext); + if (count > 0) + return (0, IRule_1.RuleFail)("fail_invalid"); + return null; + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/imagebutton_alt_exists.ts": +/*!************************************************!*\ + !*** ./src/v4/rules/imagebutton_alt_exists.ts ***! + \************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.imagebutton_alt_exists = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.imagebutton_alt_exists = { + 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": "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: { + "en-US": { + "Pass_0": "Image button provides alternative text using the 'alt' attribute", + "Pass_1": "Image button provides alternative text using an ARIA label", + "Pass_2": "Image button provides alternative text using the 'title' attribute", + "Fail": "The <input> element of type \"image\" has no text alternative", + "group": "The <input> element of type \"image\" should have a text alternative" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: "59796f", + run: function (context, options, contextHierarchies) { + // See https://www.w3.org/WAI/WCAG22/Techniques/failures/F65 + var ruleContext = context["dom"].node; + if (!ruleContext.hasAttribute("type") || ruleContext.getAttribute("type").toLowerCase() != "image") { + return null; + } + if (CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "alt")) { + return (0, IRule_1.RulePass)("Pass_0"); + } + else if (AriaUtil_1.AriaUtil.hasAriaLabel(ruleContext)) { + return (0, IRule_1.RulePass)("Pass_1"); + } + else if (ruleContext.hasAttribute("title") && ruleContext.getAttribute("title").length > 0) { + return (0, IRule_1.RulePass)("Pass_2"); + } + return (0, IRule_1.RuleFail)("Fail"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/imagemap_alt_exists.ts": +/*!*********************************************!*\ + !*** ./src/v4/rules/imagemap_alt_exists.ts ***! + \*********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.imagemap_alt_exists = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.imagemap_alt_exists = { + 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": "imagemap_alt_exists.html", + "Fail_1": "imagemap_alt_exists.html", + "group": "imagemap_alt_exists.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Image map or child <area> has no text alternative", + "group": "An image map and each <area> element in an image map must have text alternative(s)" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var passed = CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "alt") || + (!ruleContext.hasAttribute("ismap") && !CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "usemap")); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/img_alt_background.ts": +/*!********************************************!*\ + !*** ./src/v4/rules/img_alt_background.ts ***! + \********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.img_alt_background = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.img_alt_background = { + id: "img_alt_background", + context: "dom:*", + refactor: { + "HAAC_BackgroundImg_HasTextOrTitle": { + "Pass_0": "Pass_0", + "Manual_1": "Manual_1" + } + }, + help: { + "en-US": { + "Pass_0": "img_alt_background.html", + "Manual_1": "img_alt_background.html", + "group": "img_alt_background.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Manual_1": "Verify important background image information has a text alternative in system high contrast mode", + "group": "Background images that convey important information must have a text alternative that describes the image" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var doc = ruleContext.ownerDocument; + var style = doc.defaultView.getComputedStyle(ruleContext); + if (style == null) { + return (0, IRule_1.RulePass)("Pass_0"); + } + var backgroundImgs = style.backgroundImage; + var passed = true; + if (backgroundImgs != null && backgroundImgs != "" && backgroundImgs != 'none' && backgroundImgs != 'inherit') { + if (ruleContext.innerHTML != null && ruleContext.innerHTML.trim().length != 0) { + passed = false; + } + else { + var title = ruleContext.getAttribute('title'); + if (title != null && title.length != 0) + passed = false; + } + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RuleManual)("Manual_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/img_alt_decorative.ts": +/*!********************************************!*\ + !*** ./src/v4/rules/img_alt_decorative.ts ***! + \********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.img_alt_decorative = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.img_alt_decorative = { + 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": "img_alt_decorative.html", + "Fail_1": "img_alt_decorative.html", + "group": "img_alt_decorative.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Image designated as decorative has non-null 'alt' attribute", + "group": "Image designated as decorative must have 'alt=\"\"" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var passed = true; + if (AriaUtil_1.AriaUtil.hasRole(ruleContext, "presentation") || AriaUtil_1.AriaUtil.hasRole(ruleContext, "none")) { + passed = ruleContext.getAttribute("alt").length == 0; + } + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/img_alt_misuse.ts": +/*!****************************************!*\ + !*** ./src/v4/rules/img_alt_misuse.ts ***! + \****************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.img_alt_misuse = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.img_alt_misuse = { + 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": "img_alt_misuse.html", + "Potential_1": "img_alt_misuse.html", + "group": "img_alt_misuse.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify that the file name serves as a good inline replacement for the image", + "group": "'alt' attribute value must be a good inline replacement for the image" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var validateParams = { + badText: { + value: ["short description"], + type: "[string]" + } + }; + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var nodeName = ruleContext.nodeName.toLowerCase(); + var passed = true; + // Alt text check are elsewhere (See 41, 240, 455) + if (ruleContext.hasAttribute("alt")) { + var altText = ruleContext.getAttribute("alt").trim(); + if (altText.length > 0) { + var badText = validateParams.badText.value; + for (var i = 0; passed && i < badText.length; ++i) { + passed = altText.indexOf(badText[i]) == -1; + } + if (passed) { + var src = ruleContext.getAttribute((nodeName == "area") ? "href" : "src"); + // Allow it to pass if there's no src - can't determine these. + if (src != null) { + // Fail if the alt matches the src exactly + // Also fail if the alt has a . in it and either the src is in the alt or the alt is in the src + passed = src.trim() != altText && + (altText.indexOf(".") == -1 || (altText.indexOf(src) == -1 && src.indexOf(altText) == -1)); + } + } + } + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/img_alt_null.ts": +/*!**************************************!*\ + !*** ./src/v4/rules/img_alt_null.ts ***! + \**************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.img_alt_null = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.img_alt_null = { + id: "img_alt_null", + context: "dom:img[alt]", + refactor: { + "WCAG20_Img_TitleEmptyWhenAltNull": { + "Pass_0": "pass", + "Fail_1": "fail_decorative" + } + }, + help: { + "en-US": { + "pass": "img_alt_null.html", + "fail_decorative": "img_alt_null.html", + "potential_aria_override": "img_alt_null.html", + "group": "img_alt_null.html" + } + }, + messages: { + "en-US": { + "pass": "Neither 'aria' nor 'title' attributes are used for the decorative image", + "fail_decorative": "The image 'alt' attribute is empty, but the 'title' attribute is not empty", + "potential_aria_override": "The image 'alt' attribute is empty, but the 'aria' label is not empty and overrides the 'alt' attribute", + "group": "When the intent is to mark an image as decorative with an empty 'alt' attribute, the 'aria' or 'title' attributes should not be used" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE, + reasonCodes: ["fail_decorative"] + }, + { + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["ARIA"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE, + reasonCodes: ["potential_aria_override"] + } + ], + act: [{ "46ca7f": { "potential_aria_override": "fail" } }], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + if (ruleContext.getAttribute("alt").trim().length > 0) { + return null; + } + // We have a title, but alt is empty + if (AriaUtil_1.AriaUtil.getAriaLabel(ruleContext).length > 0) { + return (0, IRule_1.RulePotential)("potential_aria_override"); + } + else if (CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "title")) { + return (0, IRule_1.RuleFail)("fail_decorative"); + } + else { + return (0, IRule_1.RulePass)("pass"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/img_alt_redundant.ts": +/*!*******************************************!*\ + !*** ./src/v4/rules/img_alt_redundant.ts ***! + \*******************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.img_alt_redundant = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var DOMWalker_1 = __webpack_require__(/*! ../../v2/dom/DOMWalker */ "./src/v2/dom/DOMWalker.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.img_alt_redundant = { + 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": "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: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Link text is repeated in an image 'alt' value within the same link", + "Fail_2": "Link text of previous link is repeated in image 'alt' value of a link", + "Fail_3": "Image 'alt' value within a link is repeated in link text of the link after", + "group": "The text alternative for an image within a link should not repeat the link text or adjacent link text" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1", "2.4.4"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var aNode = CommonUtil_1.CommonUtil.getAncestor(ruleContext, "a"); + //If not in an anchor, Out of Scope + if (aNode == null) + return null; + var altText = ruleContext.getAttribute("alt").trim().toLowerCase(); + if (altText.length == 0) { + // 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; + } + var innerText = aNode.innerText; + var linkText = ""; + if (innerText != null) { + linkText = innerText.trim().toLowerCase(); + } + if (linkText.length > 0) { + if (altText == linkText) { + // Text in link + return (0, IRule_1.RuleFail)("Fail_1"); + } + } + else { + var passed = true; + //alt is non-zero, but no link text - ensure adjacent link text isn't redundant + //let walk = new NodeWalker(aNode); + var walk = new DOMWalker_1.DOMWalker(aNode); + while (passed && walk.prevNode()) { + // Get the node and nodeName + var node = walk.node; + var nodeName = node.nodeName.toLowerCase(); + if ((nodeName == "#text" && node.nodeValue.length > 0) || + (nodeName == "img" && CommonUtil_1.CommonUtil.attributeNonEmpty(node, "alt"))) { + break; + } + // Comply with the Check Hidden Content Setting if the a element should be checked or not + else if (nodeName === "a" && !CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(node)) { + // Text before image link + passed = (node.innerText || node.textContent || "").trim().toLowerCase() != altText; + } + } + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_2"); + } + //walk = new NodeWalker(aNode, true); + walk = new DOMWalker_1.DOMWalker(aNode, true); + while (passed && walk.nextNode()) { + // Get the node and nodeName + var node = walk.node; + var nodeName = node.nodeName.toLowerCase(); + if ((nodeName == "#text" && node.nodeValue.length > 0) || + (nodeName == "img" && CommonUtil_1.CommonUtil.attributeNonEmpty(node, "alt"))) { + break; + } + // Comply with the Check Hidden Content Setting if the a element should be checked or not + else if (nodeName == "a" && !CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(node)) { + passed = node.innerText.trim().toLowerCase() != altText; + } + } + if (!passed) { + // Text after image link + return (0, IRule_1.RuleFail)("Fail_3"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/img_alt_valid.ts": +/*!***************************************!*\ + !*** ./src/v4/rules/img_alt_valid.ts ***! + \***************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.img_alt_valid = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.img_alt_valid = { + 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": "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: { + "en-US": { + "pass": "The image has an accessible name or is correctly marked as decorative or redundant", + "fail_blank_alt": "Image 'alt' attribute value consists only of blank space(s)", + "fail_no_alt": "The image has neither an accessible name nor is marked as decorative or redundant", + "fail_blank_title": "The image does not have an 'alt' attribute or ARIA label, and the 'title' attribute value consists only of blank space(s)", + "group": "Images must have accessible names unless they are decorative or redundant" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: "23a2a8", + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // If not visible to the screen reader, ignore + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + if (AriaUtil_1.AriaUtil.getAriaLabel(ruleContext).trim().length !== 0) { + // the img has non-empty aria label + return (0, IRule_1.RulePass)("pass"); + } + var alt = ruleContext.hasAttribute("alt") ? ruleContext.getAttribute("alt") : null; + // check title attribute + if (alt === null) { + // the img has no alt or attribute, examine the title attribute + var title = ruleContext.hasAttribute("title") ? ruleContext.getAttribute("title") : null; + if (title === null || title.length === 0) { + // no title or title is empty, examine alt further + if (alt === null) { + var role = AriaUtil_1.AriaUtil.getResolvedRole(ruleContext, false); + if (role === 'presentation' || role === 'none') + return (0, IRule_1.RulePass)("pass"); + return (0, IRule_1.RuleFail)("fail_no_alt"); + } + if (alt.length === 0) + return (0, IRule_1.RulePass)("pass"); + } + else { + if (title.trim().length === 0) { + // title contains blank space only (title=" ") + return (0, IRule_1.RuleFail)("fail_blank_title"); + } + // title contains some text (title="some text") + return (0, IRule_1.RulePass)("pass"); + } + } + else { + if (alt.length === 0 || alt.trim().length > 0) { + // the img has empty alt (alt="") or non-empty alt (alt="some text") + return (0, IRule_1.RulePass)("pass"); + } + else { + // alt contains blank space only (alt=" ") + return (0, IRule_1.RuleFail)("fail_blank_alt"); + } + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/img_ismap_misuse.ts": +/*!******************************************!*\ + !*** ./src/v4/rules/img_ismap_misuse.ts ***! + \******************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.img_ismap_misuse = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.img_ismap_misuse = { + 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": "img_ismap_misuse.html", + "Potential_1": "img_ismap_misuse.html", + "group": "img_ismap_misuse.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Server-side image map hot-spots do not have duplicate text links", + "group": "Server-side image map hot-spots must have duplicate text links" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var passed = false; + if (ruleContext.hasAttribute("usemap")) { + var usemap = ruleContext.getAttribute("usemap"); + usemap = usemap.trim().toLowerCase(); + var idx = usemap.indexOf("#"); + if (idx != -1) + usemap = usemap.substr(idx + 1); + if (usemap.length > 0) { + var maps = CommonUtil_1.CommonUtil.getDocElementsByTag(ruleContext, "map"); + for (var i = 0; !passed && i < maps.length; ++i) { + passed = maps[i].hasAttribute("name") && + maps[i].getAttribute("name").toLowerCase() == usemap; + } + } + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/img_longdesc_misuse.ts": +/*!*********************************************!*\ + !*** ./src/v4/rules/img_longdesc_misuse.ts ***! + \*********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.img_longdesc_misuse = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.img_longdesc_misuse = { + 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": "img_longdesc_misuse.html", + "Potential_1": "img_longdesc_misuse.html", + "group": "img_longdesc_misuse.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify that the file designated by the 'longdesc' attribute contains valid HTML content (file extension not recognized)", + "group": " The 'longdesc' attribute must reference HTML content" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var longdesc = ruleContext.getAttribute("longdesc"); + // if (longdesc is bad URL) passed = false; + var ext = CommonUtil_1.CommonUtil.getFileExt(longdesc); + var passed = ext.length != 0 && CommonUtil_1.CommonUtil.isHtmlExt(ext) + || longdesc.startsWith("#") + || longdesc.startsWith("http://") + || longdesc.startsWith("https://") + || longdesc.startsWith("data:"); + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/index.ts": +/*!*******************************!*\ + !*** ./src/v4/rules/index.ts ***! + \*******************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +// This file is automatically generated by "npm run prebuild". Do not edit +__exportStar(__webpack_require__(/*! ./a_target_warning */ "./src/v4/rules/a_target_warning.ts"), exports); +__exportStar(__webpack_require__(/*! ./a_text_purpose */ "./src/v4/rules/a_text_purpose.ts"), exports); +__exportStar(__webpack_require__(/*! ./applet_alt_exists */ "./src/v4/rules/applet_alt_exists.ts"), exports); +__exportStar(__webpack_require__(/*! ./application_content_accessible */ "./src/v4/rules/application_content_accessible.ts"), exports); +__exportStar(__webpack_require__(/*! ./area_alt_exists */ "./src/v4/rules/area_alt_exists.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_accessiblename_exists */ "./src/v4/rules/aria_accessiblename_exists.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_activedescendant_tabindex_valid */ "./src/v4/rules/aria_activedescendant_tabindex_valid.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_activedescendant_valid */ "./src/v4/rules/aria_activedescendant_valid.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_application_label_unique */ "./src/v4/rules/aria_application_label_unique.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_application_labelled */ "./src/v4/rules/aria_application_labelled.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_article_label_unique */ "./src/v4/rules/aria_article_label_unique.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_attribute_allowed */ "./src/v4/rules/aria_attribute_allowed.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_attribute_conflict */ "./src/v4/rules/aria_attribute_conflict.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_attribute_deprecated */ "./src/v4/rules/aria_attribute_deprecated.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_attribute_exists */ "./src/v4/rules/aria_attribute_exists.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_attribute_redundant */ "./src/v4/rules/aria_attribute_redundant.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_attribute_required */ "./src/v4/rules/aria_attribute_required.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_attribute_value_valid */ "./src/v4/rules/aria_attribute_value_valid.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_banner_label_unique */ "./src/v4/rules/aria_banner_label_unique.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_banner_single */ "./src/v4/rules/aria_banner_single.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_child_tabbable */ "./src/v4/rules/aria_child_tabbable.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_child_valid */ "./src/v4/rules/aria_child_valid.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_complementary_label_unique */ "./src/v4/rules/aria_complementary_label_unique.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_complementary_label_visible */ "./src/v4/rules/aria_complementary_label_visible.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_complementary_labelled */ "./src/v4/rules/aria_complementary_labelled.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_content_in_landmark */ "./src/v4/rules/aria_content_in_landmark.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_contentinfo_label_unique */ "./src/v4/rules/aria_contentinfo_label_unique.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_contentinfo_misuse */ "./src/v4/rules/aria_contentinfo_misuse.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_contentinfo_single */ "./src/v4/rules/aria_contentinfo_single.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_descendant_valid */ "./src/v4/rules/aria_descendant_valid.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_document_label_unique */ "./src/v4/rules/aria_document_label_unique.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_eventhandler_role_valid */ "./src/v4/rules/aria_eventhandler_role_valid.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_form_label_unique */ "./src/v4/rules/aria_form_label_unique.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_graphic_labelled */ "./src/v4/rules/aria_graphic_labelled.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_hidden_nontabbable */ "./src/v4/rules/aria_hidden_nontabbable.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_id_unique */ "./src/v4/rules/aria_id_unique.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_img_labelled */ "./src/v4/rules/aria_img_labelled.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_keyboard_handler_exists */ "./src/v4/rules/aria_keyboard_handler_exists.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_landmark_name_unique */ "./src/v4/rules/aria_landmark_name_unique.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_main_label_unique */ "./src/v4/rules/aria_main_label_unique.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_main_label_visible */ "./src/v4/rules/aria_main_label_visible.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_navigation_label_unique */ "./src/v4/rules/aria_navigation_label_unique.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_parent_required */ "./src/v4/rules/aria_parent_required.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_region_label_unique */ "./src/v4/rules/aria_region_label_unique.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_region_labelled */ "./src/v4/rules/aria_region_labelled.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_role_allowed */ "./src/v4/rules/aria_role_allowed.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_role_redundant */ "./src/v4/rules/aria_role_redundant.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_search_label_unique */ "./src/v4/rules/aria_search_label_unique.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_semantics */ "./src/v4/rules/aria_semantics.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_toolbar_label_unique */ "./src/v4/rules/aria_toolbar_label_unique.ts"), exports); +__exportStar(__webpack_require__(/*! ./aria_widget_labelled */ "./src/v4/rules/aria_widget_labelled.ts"), exports); +__exportStar(__webpack_require__(/*! ./asciiart_alt_exists */ "./src/v4/rules/asciiart_alt_exists.ts"), exports); +__exportStar(__webpack_require__(/*! ./blink_css_review */ "./src/v4/rules/blink_css_review.ts"), exports); +__exportStar(__webpack_require__(/*! ./blink_elem_deprecated */ "./src/v4/rules/blink_elem_deprecated.ts"), exports); +__exportStar(__webpack_require__(/*! ./blockquote_cite_exists */ "./src/v4/rules/blockquote_cite_exists.ts"), exports); +__exportStar(__webpack_require__(/*! ./canvas_content_described */ "./src/v4/rules/canvas_content_described.ts"), exports); +__exportStar(__webpack_require__(/*! ./caption_track_exists */ "./src/v4/rules/caption_track_exists.ts"), exports); +__exportStar(__webpack_require__(/*! ./combobox_active_descendant */ "./src/v4/rules/combobox_active_descendant.ts"), exports); +__exportStar(__webpack_require__(/*! ./combobox_autocomplete_valid */ "./src/v4/rules/combobox_autocomplete_valid.ts"), exports); +__exportStar(__webpack_require__(/*! ./combobox_design_valid */ "./src/v4/rules/combobox_design_valid.ts"), exports); +__exportStar(__webpack_require__(/*! ./combobox_focusable_elements */ "./src/v4/rules/combobox_focusable_elements.ts"), exports); +__exportStar(__webpack_require__(/*! ./combobox_haspopup_valid */ "./src/v4/rules/combobox_haspopup_valid.ts"), exports); +__exportStar(__webpack_require__(/*! ./combobox_popup_reference */ "./src/v4/rules/combobox_popup_reference.ts"), exports); +__exportStar(__webpack_require__(/*! ./debug_paths */ "./src/v4/rules/debug_paths.ts"), exports); +__exportStar(__webpack_require__(/*! ./detector_tabbable */ "./src/v4/rules/detector_tabbable.ts"), exports); +__exportStar(__webpack_require__(/*! ./dir_attribute_valid */ "./src/v4/rules/dir_attribute_valid.ts"), exports); +__exportStar(__webpack_require__(/*! ./download_keyboard_controllable */ "./src/v4/rules/download_keyboard_controllable.ts"), exports); +__exportStar(__webpack_require__(/*! ./draggable_alternative_exists */ "./src/v4/rules/draggable_alternative_exists.ts"), exports); +__exportStar(__webpack_require__(/*! ./element_accesskey_labelled */ "./src/v4/rules/element_accesskey_labelled.ts"), exports); +__exportStar(__webpack_require__(/*! ./element_accesskey_unique */ "./src/v4/rules/element_accesskey_unique.ts"), exports); +__exportStar(__webpack_require__(/*! ./element_attribute_deprecated */ "./src/v4/rules/element_attribute_deprecated.ts"), exports); +__exportStar(__webpack_require__(/*! ./element_id_unique */ "./src/v4/rules/element_id_unique.ts"), exports); +__exportStar(__webpack_require__(/*! ./element_lang_valid */ "./src/v4/rules/element_lang_valid.ts"), exports); +__exportStar(__webpack_require__(/*! ./element_mouseevent_keyboard */ "./src/v4/rules/element_mouseevent_keyboard.ts"), exports); +__exportStar(__webpack_require__(/*! ./element_orientation_unlocked */ "./src/v4/rules/element_orientation_unlocked.ts"), exports); +__exportStar(__webpack_require__(/*! ./element_scrollable_tabbable */ "./src/v4/rules/element_scrollable_tabbable.ts"), exports); +__exportStar(__webpack_require__(/*! ./element_tabbable_role_valid */ "./src/v4/rules/element_tabbable_role_valid.ts"), exports); +__exportStar(__webpack_require__(/*! ./element_tabbable_unobscured */ "./src/v4/rules/element_tabbable_unobscured.ts"), exports); +__exportStar(__webpack_require__(/*! ./element_tabbable_visible */ "./src/v4/rules/element_tabbable_visible.ts"), exports); +__exportStar(__webpack_require__(/*! ./embed_alt_exists */ "./src/v4/rules/embed_alt_exists.ts"), exports); +__exportStar(__webpack_require__(/*! ./embed_noembed_exists */ "./src/v4/rules/embed_noembed_exists.ts"), exports); +__exportStar(__webpack_require__(/*! ./emoticons_alt_exists */ "./src/v4/rules/emoticons_alt_exists.ts"), exports); +__exportStar(__webpack_require__(/*! ./error_message_exists */ "./src/v4/rules/error_message_exists.ts"), exports); +__exportStar(__webpack_require__(/*! ./fieldset_label_valid */ "./src/v4/rules/fieldset_label_valid.ts"), exports); +__exportStar(__webpack_require__(/*! ./fieldset_legend_valid */ "./src/v4/rules/fieldset_legend_valid.ts"), exports); +__exportStar(__webpack_require__(/*! ./figure_label_exists */ "./src/v4/rules/figure_label_exists.ts"), exports); +__exportStar(__webpack_require__(/*! ./form_font_color */ "./src/v4/rules/form_font_color.ts"), exports); +__exportStar(__webpack_require__(/*! ./form_interaction_review */ "./src/v4/rules/form_interaction_review.ts"), exports); +__exportStar(__webpack_require__(/*! ./form_label_unique */ "./src/v4/rules/form_label_unique.ts"), exports); +__exportStar(__webpack_require__(/*! ./form_submit_button_exists */ "./src/v4/rules/form_submit_button_exists.ts"), exports); +__exportStar(__webpack_require__(/*! ./form_submit_review */ "./src/v4/rules/form_submit_review.ts"), exports); +__exportStar(__webpack_require__(/*! ./frame_src_valid */ "./src/v4/rules/frame_src_valid.ts"), exports); +__exportStar(__webpack_require__(/*! ./frame_title_exists */ "./src/v4/rules/frame_title_exists.ts"), exports); +__exportStar(__webpack_require__(/*! ./heading_content_exists */ "./src/v4/rules/heading_content_exists.ts"), exports); +__exportStar(__webpack_require__(/*! ./heading_markup_misuse */ "./src/v4/rules/heading_markup_misuse.ts"), exports); +__exportStar(__webpack_require__(/*! ./html_lang_exists */ "./src/v4/rules/html_lang_exists.ts"), exports); +__exportStar(__webpack_require__(/*! ./html_skipnav_exists */ "./src/v4/rules/html_skipnav_exists.ts"), exports); +__exportStar(__webpack_require__(/*! ./iframe_interactive_tabbable */ "./src/v4/rules/iframe_interactive_tabbable.ts"), exports); +__exportStar(__webpack_require__(/*! ./imagebutton_alt_exists */ "./src/v4/rules/imagebutton_alt_exists.ts"), exports); +__exportStar(__webpack_require__(/*! ./imagemap_alt_exists */ "./src/v4/rules/imagemap_alt_exists.ts"), exports); +__exportStar(__webpack_require__(/*! ./img_alt_background */ "./src/v4/rules/img_alt_background.ts"), exports); +__exportStar(__webpack_require__(/*! ./img_alt_decorative */ "./src/v4/rules/img_alt_decorative.ts"), exports); +__exportStar(__webpack_require__(/*! ./img_alt_misuse */ "./src/v4/rules/img_alt_misuse.ts"), exports); +__exportStar(__webpack_require__(/*! ./img_alt_null */ "./src/v4/rules/img_alt_null.ts"), exports); +__exportStar(__webpack_require__(/*! ./img_alt_redundant */ "./src/v4/rules/img_alt_redundant.ts"), exports); +__exportStar(__webpack_require__(/*! ./img_alt_valid */ "./src/v4/rules/img_alt_valid.ts"), exports); +__exportStar(__webpack_require__(/*! ./img_ismap_misuse */ "./src/v4/rules/img_ismap_misuse.ts"), exports); +__exportStar(__webpack_require__(/*! ./img_longdesc_misuse */ "./src/v4/rules/img_longdesc_misuse.ts"), exports); +__exportStar(__webpack_require__(/*! ./input_autocomplete_valid */ "./src/v4/rules/input_autocomplete_valid.ts"), exports); +__exportStar(__webpack_require__(/*! ./input_checkboxes_grouped */ "./src/v4/rules/input_checkboxes_grouped.ts"), exports); +__exportStar(__webpack_require__(/*! ./input_fields_grouped */ "./src/v4/rules/input_fields_grouped.ts"), exports); +__exportStar(__webpack_require__(/*! ./input_haspopup_conflict */ "./src/v4/rules/input_haspopup_conflict.ts"), exports); +__exportStar(__webpack_require__(/*! ./input_label_after */ "./src/v4/rules/input_label_after.ts"), exports); +__exportStar(__webpack_require__(/*! ./input_label_before */ "./src/v4/rules/input_label_before.ts"), exports); +__exportStar(__webpack_require__(/*! ./input_label_exists */ "./src/v4/rules/input_label_exists.ts"), exports); +__exportStar(__webpack_require__(/*! ./input_label_visible */ "./src/v4/rules/input_label_visible.ts"), exports); +__exportStar(__webpack_require__(/*! ./input_onchange_review */ "./src/v4/rules/input_onchange_review.ts"), exports); +__exportStar(__webpack_require__(/*! ./input_placeholder_label_visible */ "./src/v4/rules/input_placeholder_label_visible.ts"), exports); +__exportStar(__webpack_require__(/*! ./label_content_exists */ "./src/v4/rules/label_content_exists.ts"), exports); +__exportStar(__webpack_require__(/*! ./label_name_visible */ "./src/v4/rules/label_name_visible.ts"), exports); +__exportStar(__webpack_require__(/*! ./label_ref_valid */ "./src/v4/rules/label_ref_valid.ts"), exports); +__exportStar(__webpack_require__(/*! ./list_children_valid */ "./src/v4/rules/list_children_valid.ts"), exports); +__exportStar(__webpack_require__(/*! ./list_markup_review */ "./src/v4/rules/list_markup_review.ts"), exports); +__exportStar(__webpack_require__(/*! ./list_structure_proper */ "./src/v4/rules/list_structure_proper.ts"), exports); +__exportStar(__webpack_require__(/*! ./marquee_elem_avoid */ "./src/v4/rules/marquee_elem_avoid.ts"), exports); +__exportStar(__webpack_require__(/*! ./media_alt_brief */ "./src/v4/rules/media_alt_brief.ts"), exports); +__exportStar(__webpack_require__(/*! ./media_alt_exists */ "./src/v4/rules/media_alt_exists.ts"), exports); +__exportStar(__webpack_require__(/*! ./media_audio_transcribed */ "./src/v4/rules/media_audio_transcribed.ts"), exports); +__exportStar(__webpack_require__(/*! ./media_autostart_controllable */ "./src/v4/rules/media_autostart_controllable.ts"), exports); +__exportStar(__webpack_require__(/*! ./media_keyboard_controllable */ "./src/v4/rules/media_keyboard_controllable.ts"), exports); +__exportStar(__webpack_require__(/*! ./media_live_captioned */ "./src/v4/rules/media_live_captioned.ts"), exports); +__exportStar(__webpack_require__(/*! ./media_track_available */ "./src/v4/rules/media_track_available.ts"), exports); +__exportStar(__webpack_require__(/*! ./meta_redirect_optional */ "./src/v4/rules/meta_redirect_optional.ts"), exports); +__exportStar(__webpack_require__(/*! ./meta_refresh_delay */ "./src/v4/rules/meta_refresh_delay.ts"), exports); +__exportStar(__webpack_require__(/*! ./meta_viewport_zoomable */ "./src/v4/rules/meta_viewport_zoomable.ts"), exports); +__exportStar(__webpack_require__(/*! ./noembed_content_exists */ "./src/v4/rules/noembed_content_exists.ts"), exports); +__exportStar(__webpack_require__(/*! ./object_text_exists */ "./src/v4/rules/object_text_exists.ts"), exports); +__exportStar(__webpack_require__(/*! ./page_title_exists */ "./src/v4/rules/page_title_exists.ts"), exports); +__exportStar(__webpack_require__(/*! ./page_title_valid */ "./src/v4/rules/page_title_valid.ts"), exports); +__exportStar(__webpack_require__(/*! ./script_focus_blur_review */ "./src/v4/rules/script_focus_blur_review.ts"), exports); +__exportStar(__webpack_require__(/*! ./script_onclick_avoid */ "./src/v4/rules/script_onclick_avoid.ts"), exports); +__exportStar(__webpack_require__(/*! ./script_onclick_misuse */ "./src/v4/rules/script_onclick_misuse.ts"), exports); +__exportStar(__webpack_require__(/*! ./script_select_review */ "./src/v4/rules/script_select_review.ts"), exports); +__exportStar(__webpack_require__(/*! ./select_options_grouped */ "./src/v4/rules/select_options_grouped.ts"), exports); +__exportStar(__webpack_require__(/*! ./skip_main_described */ "./src/v4/rules/skip_main_described.ts"), exports); +__exportStar(__webpack_require__(/*! ./skip_main_exists */ "./src/v4/rules/skip_main_exists.ts"), exports); +__exportStar(__webpack_require__(/*! ./style_background_decorative */ "./src/v4/rules/style_background_decorative.ts"), exports); +__exportStar(__webpack_require__(/*! ./style_before_after_review */ "./src/v4/rules/style_before_after_review.ts"), exports); +__exportStar(__webpack_require__(/*! ./style_color_misuse */ "./src/v4/rules/style_color_misuse.ts"), exports); +__exportStar(__webpack_require__(/*! ./style_focus_visible */ "./src/v4/rules/style_focus_visible.ts"), exports); +__exportStar(__webpack_require__(/*! ./style_highcontrast_visible */ "./src/v4/rules/style_highcontrast_visible.ts"), exports); +__exportStar(__webpack_require__(/*! ./style_hover_persistent */ "./src/v4/rules/style_hover_persistent.ts"), exports); +__exportStar(__webpack_require__(/*! ./style_viewport_resizable */ "./src/v4/rules/style_viewport_resizable.ts"), exports); +__exportStar(__webpack_require__(/*! ./svg_graphics_labelled */ "./src/v4/rules/svg_graphics_labelled.ts"), exports); +__exportStar(__webpack_require__(/*! ./table_aria_descendants */ "./src/v4/rules/table_aria_descendants.ts"), exports); +__exportStar(__webpack_require__(/*! ./table_caption_empty */ "./src/v4/rules/table_caption_empty.ts"), exports); +__exportStar(__webpack_require__(/*! ./table_caption_nested */ "./src/v4/rules/table_caption_nested.ts"), exports); +__exportStar(__webpack_require__(/*! ./table_headers_exists */ "./src/v4/rules/table_headers_exists.ts"), exports); +__exportStar(__webpack_require__(/*! ./table_headers_ref_valid */ "./src/v4/rules/table_headers_ref_valid.ts"), exports); +__exportStar(__webpack_require__(/*! ./table_headers_related */ "./src/v4/rules/table_headers_related.ts"), exports); +__exportStar(__webpack_require__(/*! ./table_layout_linearized */ "./src/v4/rules/table_layout_linearized.ts"), exports); +__exportStar(__webpack_require__(/*! ./table_scope_valid */ "./src/v4/rules/table_scope_valid.ts"), exports); +__exportStar(__webpack_require__(/*! ./table_structure_misuse */ "./src/v4/rules/table_structure_misuse.ts"), exports); +__exportStar(__webpack_require__(/*! ./table_summary_redundant */ "./src/v4/rules/table_summary_redundant.ts"), exports); +__exportStar(__webpack_require__(/*! ./target_spacing_sufficient */ "./src/v4/rules/target_spacing_sufficient.ts"), exports); +__exportStar(__webpack_require__(/*! ./text_block_heading */ "./src/v4/rules/text_block_heading.ts"), exports); +__exportStar(__webpack_require__(/*! ./text_contrast_sufficient */ "./src/v4/rules/text_contrast_sufficient.ts"), exports); +__exportStar(__webpack_require__(/*! ./text_quoted_correctly */ "./src/v4/rules/text_quoted_correctly.ts"), exports); +__exportStar(__webpack_require__(/*! ./text_sensory_misuse */ "./src/v4/rules/text_sensory_misuse.ts"), exports); +__exportStar(__webpack_require__(/*! ./text_spacing_valid */ "./src/v4/rules/text_spacing_valid.ts"), exports); +__exportStar(__webpack_require__(/*! ./text_whitespace_valid */ "./src/v4/rules/text_whitespace_valid.ts"), exports); +__exportStar(__webpack_require__(/*! ./widget_tabbable_exists */ "./src/v4/rules/widget_tabbable_exists.ts"), exports); +__exportStar(__webpack_require__(/*! ./widget_tabbable_single */ "./src/v4/rules/widget_tabbable_single.ts"), exports); + + +/***/ }), + +/***/ "./src/v4/rules/input_autocomplete_valid.ts": +/*!**************************************************!*\ + !*** ./src/v4/rules/input_autocomplete_valid.ts ***! + \**************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.input_autocomplete_valid = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.input_autocomplete_valid = { + id: "input_autocomplete_valid", + context: "dom:input[autocomplete], dom:textarea[autocomplete], dom:select[autocomplete]", + refactor: { + "WCAG21_Input_Autocomplete": { + "Pass_0": "pass", + "Fail_1": "fail_inappropriate", + "Fail_2": "fail_invalid", + "Fail_attribute_incorrect": "fail_incorrect" + } + }, + help: { + "en-US": { + "group": "input_autocomplete_valid.html", + "pass": "input_autocomplete_valid.html", + "fail_inappropriate": "input_autocomplete_valid.html", + "fail_invalid": "input_autocomplete_valid.html", + "fail_incorrect": "input_autocomplete_valid.html" + } + }, + messages: { + "en-US": { + "group": "The 'autocomplete' attribute's token(s) must be appropriate for the input form field", + "pass": "The 'autocomplete' attribute's token(s) is appropriate for the input form field", + "fail_inappropriate": "The 'autocomplete' attribute's token(s) are not appropriate for the input form field", + "fail_invalid": "The 'autocomplete' attribute's token(s) are not appropriate for an input form field of any type", + "fail_incorrect": "The 'autocomplete' attribute has an incorrect value" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.5"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [{ + "73f2c2": { + "pass": "pass", + "fail_inappropriate": "fail", + "fail_invalid": "pass", + "fail_incorrect": "fail" + } + }], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the check if the element is hidden or disabled + if (!VisUtil_1.VisUtil.isNodeVisible(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) { + return null; + } + var autocompleteAttr = ruleContext.getAttribute("autocomplete").trim().toLowerCase(); + var tokens = autocompleteAttr.split(/\s+/); + if (tokens.length === 0 || autocompleteAttr.length === 0) { + return null; + } + var cache = { + "tokensOnOff": ["on", "off"], + "tokenOptionalSection": "section-", + "tokensOptionalPurpose": ["shipping", "billing"], + "tokensMandatoryGroup1_password": ["new-password", "current-password", "one-time-code"], + "tokensMandatoryGroup1_multiline": ["street-address"], + "tokensMandatoryGroup1_month": ["cc-exp"], + "tokensMandatoryGroup1_numeric": ["cc-exp-month", + "cc-exp-year", + "transaction-amount", + "bday-day", + "bday-month", + "bday-year"], + "tokensMandatoryGroup1_date": ["bday"], + "tokensMandatoryGroup1_url": ["url", "photo"], + "tokensMandatoryGroup1_text": ["name", + "honorific-prefix", + "given-name", + "additional-name", + "family-name", + "honorific-suffix", + "nickname", + "username", + "organization-title", + "organization", + "address-line1", + "address-line2", + "address-line3", + "address-level4", + "address-level3", + "address-level2", + "address-level1", + "country", + "country-name", + "postal-code", + "cc-name", + "cc-given-name", + "cc-additional-name", + "cc-family-name", + "cc-number", + "cc-csc", + "cc-type", + "transaction-currency", + "language", + "sex"], + "tokensMandatoryGroup1_all": ["name", + "honorific-prefix", + "given-name", + "additional-name", + "family-name", + "honorific-suffix", + "nickname", + "username", + "new-password", + "current-password", + "organization-title", + "organization", + "street-address", + "address-line1", + "address-line2", + "address-line3", + "address-level4", + "address-level3", + "address-level2", + "address-level1", + "country", + "country-name", + "postal-code", + "cc-name", + "cc-given-name", + "cc-additional-name", + "cc-family-name", + "cc-number", + "cc-exp", + "cc-exp-month", + "cc-exp-year", + "cc-csc", + "cc-type", + "transaction-currency", + "transaction-amount", + "language", + "bday", + "bday-day", + "bday-month", + "bday-year", + "sex", + "url", + "photo"], + "tokensOptionalGroup2": ["home", + "work", + "mobile", + "fax", + "pager"], + "tokensMandatoryGroup2_tel": ["tel"], + "tokensMandatoryGroup2_email": ["email"], + "tokensMandatoryGroup2_url": ["impp"], + "tokensMandatoryGroup2_text": ["tel-country-code", + "tel-national", + "tel-area-code", + "tel-local", + "tel-local-prefix", + "tel-local-suffix", + "tel-extension"], + "tokensMandatoryGroup2_all": ["tel", + "tel-country-code", + "tel-national", + "tel-area-code", + "tel-local", + "tel-local-prefix", + "tel-local-suffix", + "tel-extension", + "email", + "impp"], + "tokensOptionGroup1_webauthn": ["webauthn"] + }; + var valid_values = []; + for (var key in cache) + valid_values = valid_values.concat(cache[key]); + var foundMandatoryToken = false; + var foundRecognizedToken = true; + var nodeName = ruleContext.nodeName.toLowerCase(); + if (!tokens.every(function (r) { return valid_values.includes(r) || r.startsWith(cache['tokenOptionalSection']); })) + return (0, IRule_1.RuleFail)("fail_incorrect"); + var type = ruleContext.hasAttribute("type") ? ruleContext.getAttribute("type").trim().toLowerCase() : "text"; + var tokensMandatoryGroup1 = []; + var tokensMandatoryGroup2 = []; + var tokensOptionalGroup = []; + if (nodeName === "textarea" || nodeName === "select") { + // accept all tokens + tokensMandatoryGroup1 = cache.tokensMandatoryGroup1_all; + tokensMandatoryGroup2 = cache.tokensMandatoryGroup2_all; + if (nodeName === "textarea") + tokensOptionalGroup = cache.tokensOptionGroup1_webauthn; + } + else if (nodeName === "input") { + tokensOptionalGroup = cache.tokensOptionGroup1_webauthn; + // handle the various 'input' types + switch (type) { + // Disable check for input type=hidden for now based on scrum discussion + /* + case "hidden": + // accept all tokens + tokensMandatoryGroup1 = cache.tokensMandatoryGroup1_all; + tokensMandatoryGroup2 = cache.tokensMandatoryGroup2_all; + break; + */ + case "text": + case "search": + tokensMandatoryGroup1 = cache.tokensMandatoryGroup1_text.concat(cache.tokensMandatoryGroup1_password, cache.tokensMandatoryGroup1_url, cache.tokensMandatoryGroup1_numeric, cache.tokensMandatoryGroup1_month, cache.tokensMandatoryGroup1_date); + tokensMandatoryGroup2 = cache.tokensMandatoryGroup2_all; + break; + case "password": + tokensMandatoryGroup1 = cache.tokensMandatoryGroup1_password; + break; + case "url": + tokensMandatoryGroup1 = cache.tokensMandatoryGroup1_url; + tokensMandatoryGroup2 = cache.tokensMandatoryGroup2_url; + break; + case "email": + tokensMandatoryGroup2 = cache.tokensMandatoryGroup2_email; + break; + case "tel": + tokensMandatoryGroup2 = cache.tokensMandatoryGroup2_tel; + break; + case "number": + tokensMandatoryGroup1 = cache.tokensMandatoryGroup1_numeric; + break; + case "month": + tokensMandatoryGroup1 = cache.tokensMandatoryGroup1_month; + break; + case "date": + tokensMandatoryGroup1 = cache.tokensMandatoryGroup1_date; + break; + default: + // unsupported type for this rule. + return null; + } + } + else { + // should never get here. + return null; + } + // Disable check for input type=hidden for now based on scrum discussion + var autofillMantle = /* (nodeName==="input" && type==="hidden") ? "anchor" : */ "expectation"; + if (autofillMantle === "expectation") { + // check on|off for expectation mantle. + if (tokens.includes("on") || tokens.includes("off")) { + // on|off should be the only token + if (tokens.length === 1) { + return (0, IRule_1.RulePass)("pass"); + } + else { + return (0, IRule_1.RuleFail)("fail_invalid"); + } + } + } + // check detail autofill tokens + var currIndex = 0; + var currRecognizedIndex = 0; + // check optional 'section-*' tokens + if (tokens[currIndex].startsWith(cache.tokenOptionalSection) && + tokens[currIndex].length > 8) { + currIndex++; // consume token + currRecognizedIndex++; + } + // check optional 'shipping|billing' tokens + if (tokens.length > currIndex && + cache.tokensOptionalPurpose.includes(tokens[currIndex])) { + currIndex++; // consume token + currRecognizedIndex++; + } + // check either mandatory group 1 or 2 tokens + if (tokens.length > currIndex) { + // check mandatory group 1 + if (tokensMandatoryGroup1.includes(tokens[currIndex])) { + foundMandatoryToken = true; + currIndex++; + } + else { + // check optional tokens for group 2 + if (cache.tokensOptionalGroup2.includes(tokens[currIndex])) { + currIndex++; + } + // check mandatory group 2 + if (tokensMandatoryGroup2.includes(tokens[currIndex])) { + foundMandatoryToken = true; + currIndex++; + } + } + } + // check either mandatory group 1 or 2 tokens + if (tokens.length > currRecognizedIndex) { + // check mandatory group 1 + if (cache.tokensMandatoryGroup1_all.includes(tokens[currRecognizedIndex])) { + foundRecognizedToken = true; + currRecognizedIndex++; + } + else { + // check optional tokens for group 2 + if (cache.tokensOptionalGroup2.includes(tokens[currRecognizedIndex])) { + currRecognizedIndex++; + } + // check mandatory group 2 + if (cache.tokensMandatoryGroup2_all.includes(tokens[currRecognizedIndex])) { + foundRecognizedToken = true; + currRecognizedIndex++; + } + } + } + if (tokens.length > currIndex + currRecognizedIndex) { + // check optional tokens webauthn + if (tokensOptionalGroup.includes(tokens[currIndex + currRecognizedIndex])) { + currIndex++; + } + } + if ((tokens.length > currIndex && tokensOptionalGroup.includes(tokens[currIndex])) + || (tokens.length > currRecognizedIndex && tokensOptionalGroup.includes(tokens[currRecognizedIndex]))) { + currIndex++; + currRecognizedIndex++; + } + // Only pass if we have seen either of the mandatory groups and all tokens have been consumed + if (foundMandatoryToken && tokens.length === currIndex) { + return (0, IRule_1.RulePass)("pass"); + } + else if (foundRecognizedToken && tokens.length === currRecognizedIndex) { + return (0, IRule_1.RuleFail)("fail_incorrect"); + } + else { + return (0, IRule_1.RuleFail)("fail_inappropriate"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/input_checkboxes_grouped.ts": +/*!**************************************************!*\ + !*** ./src/v4/rules/input_checkboxes_grouped.ts ***! + \**************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.input_checkboxes_grouped = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var DOMWalker_1 = __webpack_require__(/*! ../../v2/dom/DOMWalker */ "./src/v2/dom/DOMWalker.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +var TableUtil_1 = __webpack_require__(/*! ../util/TableUtil */ "./src/v4/util/TableUtil.ts"); +exports.input_checkboxes_grouped = { + id: "input_checkboxes_grouped", + context: "dom:input[type=radio], dom:input[type=checkbox]", + 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": "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: { + "en-US": { + "group": "Related sets of radio buttons or checkboxes should be programmatically grouped", + "pass_lonenogroup": "{0} grouping not required for a control of this type", + "pass_grouped": "{0} input is grouped with other related controls with the same name", + "pass_radiononame": "Radio input is not grouped, but passes because it has no name to group with other radio inputs", + "fail_controlnamemismatch": "{0} input found that has the same name, \"{2}\" as a {1} input", + "fail_notgroupedothergrouped": "{0} input is not in the group with another {0} with the name \"{1}\"", + "fail_notgroupedothernotgrouped": "{0} input and others with the name \"{1}\" are not grouped together", + "fail_notsamegroup": "{0} input is in a different group than another {0} with the name \"{1}\"", + "potential_lonecheckbox": "Verify that this ungrouped checkbox input is not related to other checkboxes", + "potential_unnamedcheckbox": "Verify that this un-named, ungrouped checkbox input is not related to other checkboxes" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var getGroup = function (e) { + var retVal = CommonUtil_1.CommonUtil.getAncestor(e, "fieldset") + || AriaUtil_1.AriaUtil.getAncestorWithRole(e, "radiogroup") + || AriaUtil_1.AriaUtil.getAncestorWithRole(e, "group") + || AriaUtil_1.AriaUtil.getAncestorWithRole(e, "grid") + || AriaUtil_1.AriaUtil.getAncestorWithRole(e, "table"); + if (!retVal) { + retVal = CommonUtil_1.CommonUtil.getAncestor(e, "table"); + if (retVal && !TableUtil_1.TableUtil.isDataTable(retVal)) { + retVal = null; + } + } + return retVal; + }; + // Only radio buttons and checkboxes are in scope + var ctxType = ruleContext.getAttribute("type").toLowerCase(); + // Determine which form we're in (if any) to determine our scope + var ctxForm = AriaUtil_1.AriaUtil.getAncestorWithRole(ruleContext, "form") + || CommonUtil_1.CommonUtil.getAncestor(ruleContext, "html") + || ruleContext.ownerDocument.documentElement; + // 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 + var formCache = CacheUtil_1.CacheUtil.getCache(ctxForm, "input_checkboxes_grouped", null); + if (!formCache) { + formCache = { + checkboxByName: {}, + radiosByName: {}, + nameToGroup: {}, + numCheckboxes: 0, + numRadios: 0 + }; + // Get all of the checkboxes in the form or body (but not nested in something else and not hidden) + // And get a mapping of these checkboxes to + var cWalker = new DOMWalker_1.DOMWalker(ctxForm, false, ctxForm, true); + var checkboxQ = []; + var radiosQ = []; + while (cWalker.nextNode()) { + if (!cWalker.bEndTag + && cWalker.node.nodeType === 1 + && cWalker.node.nodeName.toLowerCase() === "input" + && VisUtil_1.VisUtil.isNodeVisible(cWalker.node)) { + var type = cWalker.node.getAttribute("type"); + if (type === "checkbox") { + checkboxQ.push(cWalker.node); + } + else if (type === "radio") { + radiosQ.push(cWalker.node); + } + } + } + // let checkboxQ = ctxForm.querySelectorAll("input[type=checkbox]"); + for (var idx = 0; idx < checkboxQ.length; ++idx) { + var cb = checkboxQ[idx]; + if ((AriaUtil_1.AriaUtil.getAncestorWithRole(cb, "form") + || CommonUtil_1.CommonUtil.getAncestor(ruleContext, "html") + || ruleContext.ownerDocument.documentElement) === ctxForm + && !CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(cb)) { + var name_1 = cb.getAttribute("name") || ""; + (formCache.checkboxByName[name_1] = formCache.checkboxByName[name_1] || []).push(cb); + formCache.nameToGroup[name_1] = formCache.nameToGroup[name_1] || getGroup(cb); + ++formCache.numCheckboxes; + } + } + // Get all of the radios in the form or body (but not nested in something else and not hidden) + // let radiosQ = ctxForm.querySelectorAll("input[type=radio]"); + for (var idx = 0; idx < radiosQ.length; ++idx) { + var r = radiosQ[idx]; + var radCtx = (AriaUtil_1.AriaUtil.getAncestorWithRole(r, "form") + || CommonUtil_1.CommonUtil.getAncestor(ruleContext, "html") + || ruleContext.ownerDocument.documentElement); + if (radCtx === ctxForm + && !CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(r)) { + var name_2 = r.getAttribute("name") || ""; + (formCache.radiosByName[name_2] = formCache.radiosByName[name_2] || []).push(r); + formCache.nameToGroup[name_2] = formCache.nameToGroup[name_2] || getGroup(r); + ++formCache.numRadios; + } + } + CacheUtil_1.CacheUtil.setCache(ctxForm, "input_checkboxes_grouped", formCache); + } + ///////////// Calculated everything, now check the various cases + var ctxName = ruleContext.getAttribute("name"); + var ctxGroup = getGroup(ruleContext); + ctxType = ctxType === "radio" ? "Radio" : "Checkbox"; + if (!ctxName || ctxName === "") { + // First process cases where the control is not named + if (ctxType === "Radio") { + // Radios without names don't act like groups, so don't enforce grouping + if (ctxGroup === null) { + return (0, IRule_1.RulePass)("pass_radiononame", [ctxType]); + } + else { + return (0, IRule_1.RulePass)("pass_grouped", [ctxType]); + } + } + else { + // Must be an unnamed checkbox + if (ctxGroup === null) { + if ((formCache.checkboxByName[""] || []).length > 1) { + return (0, IRule_1.RulePotential)("potential_unnamedcheckbox", [ctxType]); + } + else { + return (0, IRule_1.RulePass)("pass_lonenogroup", [ctxType]); + } + } + else { + return (0, IRule_1.RulePass)("pass_grouped", [ctxType]); + } + } + } + else { + // Considering a named checkbox + var numRadiosWithName = (formCache.radiosByName[ctxName] || []).length; + var numCheckboxesWithName = (formCache.checkboxByName[ctxName] || []).length; + // Capitalize the input type for messages + if (numRadiosWithName > 0 && numCheckboxesWithName > 0) { + // We have a naming mismatch between different controls + return (0, IRule_1.RuleFail)("fail_controlnamemismatch", [ctxType, ctxType === "checkbox" ? "radio" : "checkbox", ctxName]); + } + else if (ctxType === "Radio" && (formCache.numRadios === 1 || numRadiosWithName === 1) + || ctxType === "Checkbox" && formCache.numCheckboxes === 1) { + // This is a lone control (either only control of this type on the page, or a radio button without any others by that name) + // We pass this control in all cases + if (ctxGroup === null) { + return (0, IRule_1.RulePass)("pass_lonenogroup", [ctxType]); + } + else { + return (0, IRule_1.RulePass)("pass_grouped", [ctxType]); + } + } + else if (ctxType === "Checkbox" && formCache.numCheckboxes > 1 && numCheckboxesWithName === 1) { + // We have only one checkbox with this name, but there are other checkboxes in the form. + // If we're not grouped, ask them to examine it + if (ctxGroup === null) { + return (0, IRule_1.RulePotential)("potential_lonecheckbox", [ctxType]); + } + else { + return (0, IRule_1.RulePass)("pass_grouped", [ctxType]); + } + } + else { + // We share a name with another similar control. Are we grouped together? + if (ctxGroup === null) { + if (formCache.nameToGroup[ctxName] !== null) { + // We're not grouped, but some control with the same name is in a group + return (0, IRule_1.RuleFail)("fail_notgroupedothergrouped", [ctxType, ctxName]); + } + else { + // None of us are grouped + return (0, IRule_1.RuleFail)("fail_notgroupedothernotgrouped", [ctxType, ctxName]); + } + } + else if (formCache.nameToGroup[ctxName] !== ctxGroup) { + // We're not in the main group with the others + return (0, IRule_1.RuleFail)("fail_notsamegroup", [ctxType, ctxName]); + } + else { + // We're all grouped up! + return (0, IRule_1.RulePass)("pass_grouped", [ctxType]); + } + } + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/input_fields_grouped.ts": +/*!**********************************************!*\ + !*** ./src/v4/rules/input_fields_grouped.ts ***! + \**********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.input_fields_grouped = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.input_fields_grouped = { + 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": "input_fields_grouped.html", + "Potential_1": "input_fields_grouped.html", + "group": "input_fields_grouped.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Use the <fieldset> element to group logically related input elements", + "group": "Groups of logically related input elements should be contained within a <fieldset> element" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Don't trigger for other input types or if we're in a fieldset + if (ruleContext.nodeName.toLowerCase() == "input" && ruleContext.hasAttribute("type")) { + var type = ruleContext.getAttribute("type").toLowerCase(); + if (type != "text" && type != "file" && type != "password") + return (0, IRule_1.RulePass)("Pass_0"); + } + if (CommonUtil_1.CommonUtil.getAncestor(ruleContext, "fieldset") != null) + return (0, IRule_1.RulePass)("Pass_0"); + // No fieldset - see if this input is all by itself - no need to group single inputs + var parent = CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["form", "body"]); + var checkTypes = ["input", "textarea", "select"]; + var passed = true; + for (var i = 0; passed && i < checkTypes.length; ++i) { + var controls = parent.getElementsByTagName(checkTypes[i]); + for (var j = 0; passed && j < controls.length; ++j) { + // Check if the node should be skipped or not based on the Check Hidden Content setting and if the node isVisible or + // not. + if (CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(controls[j])) { + continue; + } + // Note that textareas and selects will be called type='text' + var type = controls[j].hasAttribute("type") ? controls[j].getAttribute("type").toLowerCase() : "text"; + // Only fail if this is another control in the form and its type is another text-like input + passed = controls[j] == ruleContext || (type != "text" && type != "password" && type != "file"); + } + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/input_haspopup_conflict.ts": +/*!*************************************************!*\ + !*** ./src/v4/rules/input_haspopup_conflict.ts ***! + \*************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.input_haspopup_conflict = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.input_haspopup_conflict = { + id: "input_haspopup_conflict", + context: "dom:input[list][aria-haspopup]", + refactor: { + "input_haspopup_invalid": { + // "Pass": "pass", + "Potential_1": "potential_type_misuse", + "Potential_2": "potential_misuse" + } + }, + help: { + "en-US": { + "group": "input_haspopup_conflict.html", + // "pass": "input_haspopup_conflict.html", + "potential_type_misuse": "input_haspopup_conflict.html", + "potential_misuse": "input_haspopup_conflict.html", + "potential_list_notexist": "input_haspopup_conflict.html", + "fail_invalid_list_type": "input_haspopup_conflict.html", + "fail_invalid_list_elem": "input_haspopup_conflict.html" + } + }, + messages: { + "en-US": { + "group": "<input> element with a 'list' attribute should not use an explicit 'aria-haspopup' attribute", + // "pass": "The <input> element with a 'list' attribute does not use an explicit 'aria-haspopup' attribute", + "potential_type_misuse": "The <input> element with type \"{0}\" and 'list' attribute uses an explicit 'aria-haspopup' attribute", + "potential_misuse": "The <input> element with a missing or invalid type and 'list' attribute uses an explicit 'aria-haspopup' attribute", + "potential_list_notexist": "The list attribute for the <input> element is invalid", + "fail_invalid_list_type": "The list attribute for the <input> element with the type \"{0}\" is invalid", + "fail_invalid_list_elem": "The list attribute for the <input> element does not reference a datalist element" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip if the fieldset is hidden or disabled + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) + return null; + var roles = AriaUtil_1.AriaUtil.getUserDefinedRoles(ruleContext); + // let "aria_role_valid" to handle invalid role. Only allowed role is combobox which is implicit. + if (roles && roles.length > 0 && !roles.includes('combobox')) + return null; + //triggering input types: text, search, tel, url, email, or missing or invalid + var yesTypes = ["text", "search", "tel", "url", "email", "date", "month", "week", "time", "datetime-local", "number", "range", "color"]; + var noTypes = ["file", "password", "checkbox", "radio", "submit", "reset", "image", "hidden", "button"]; + var attrValue = ruleContext.getAttribute("type"); + //missing input type for list but with aria_has_popup + if (!attrValue || attrValue.trim().length === 0) + return (0, IRule_1.RulePotential)("potential_misuse"); + attrValue = attrValue.trim().toLowerCase(); + //invalid input types for list but with aria_has_popup + if (!yesTypes.includes(attrValue) && !noTypes.includes(attrValue)) + return (0, IRule_1.RulePotential)("potential_misuse"); + // the list attribute is used for wrong input type + if (attrValue && noTypes.includes(attrValue)) + return (0, IRule_1.RuleFail)("fail_invalid_list_type"); + var list = ruleContext.getAttribute("list"); + // the list attribute is blank + if (!list || list.trim().length === 0) + return (0, IRule_1.RulePotential)("potential_list_notexist"); + var listElem = ruleContext.ownerDocument.getElementById(list); + // the list element doesn't exist + if (!listElem) + return (0, IRule_1.RuleFail)("potential_list_notexist"); + // the list element is not a datalist element + if (listElem.nodeName.toLowerCase() !== 'datalist') + return (0, IRule_1.RuleFail)("fail_invalid_list_elem"); + // valid input types for list but with aria_has_popup + if (yesTypes.includes(attrValue)) + return (0, IRule_1.RulePotential)("potential_type_misuse", [attrValue]); + // shouldn't get here + return; + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/input_label_after.ts": +/*!*******************************************!*\ + !*** ./src/v4/rules/input_label_after.ts ***! + \*******************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.input_label_after = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var DOMWalker_1 = __webpack_require__(/*! ../../v2/dom/DOMWalker */ "./src/v2/dom/DOMWalker.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.input_label_after = { + 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": "input_label_after.html", + "Fail_1": "input_label_after.html", + "Fail_2": "input_label_after.html", + "group": "input_label_after.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Checkbox or radio button is nested in label, so label is not after the input control", + "Fail_2": "Label text is located before its associated checkbox or radio button element", + "group": "Checkboxes and radio buttons must have a label after the input control" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["3.3.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var type = ""; + if (ruleContext.hasAttribute("type")) + type = ruleContext.getAttribute("type").toLowerCase(); + if (type != "checkbox" && type != "radio") { + return null; + } + // Get only the non-hidden labels for element + var labelElem = CommonUtil_1.CommonUtil.getLabelForElementHidden(ruleContext, true); + if (labelElem === null || !CommonUtil_1.CommonUtil.hasInnerContentHidden(labelElem)) { + // Due to dependency, label must be done via title - this rule doesn't apply + return null; + } + var value = CommonUtil_1.CommonUtil.compareNodeOrder(labelElem, ruleContext); + var passed; + if (value === -2) { + // input nested in label + passed = false; + //let walkNode = new NodeWalker(labelElem); + var walkNode = new DOMWalker_1.DOMWalker(labelElem); + walkNode.node = ruleContext; + while (!passed && walkNode.nextNode()) { + passed = ((walkNode.node.nodeName.toLowerCase() === "#text" && walkNode.node.nodeValue.trim().length > 0) + || (walkNode.node.nodeName.toLowerCase() === "span" && walkNode.node.textContent.trim().length > 0)); + } + if (!passed) { + // Input nested in label and text before input + return (0, IRule_1.RuleFail)("Fail_1"); + } + } + else { + if (value != 1) { + // label is before input + return (0, IRule_1.RuleFail)("Fail_2"); + } + } + return (0, IRule_1.RulePass)("Pass_0"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/input_label_before.ts": +/*!********************************************!*\ + !*** ./src/v4/rules/input_label_before.ts ***! + \********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.input_label_before = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.input_label_before = { + 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": "input_label_before.html", + "Fail_1": "input_label_before.html", + "Fail_2": "input_label_before.html", + "group": "input_label_before.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Text input is nested in label such that input precedes the label text", + "Fail_2": "Label text is located after its associated text input or <select> element", + "group": "Text inputs and <select> elements must have a label before the input control" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["3.3.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (ruleContext.nodeName.toLowerCase() == "input" && ruleContext.hasAttribute("type")) { + var type = ruleContext.getAttribute("type").toLowerCase(); + if (type != "text" && type != "file" && type != "password") { + return null; + } + } + // Get only the non-hidden labels for element + var labelElem = CommonUtil_1.CommonUtil.getLabelForElementHidden(ruleContext, true); + if (labelElem == null || !CommonUtil_1.CommonUtil.hasInnerContentHidden(labelElem)) { + // Due to dependency, label must be done via title - this rule doesn't apply + return null; + } + var value = CommonUtil_1.CommonUtil.compareNodeOrder(labelElem, ruleContext); + if (value === -2) { + // ignore if no label or the content for the label is only from the nested input control + var text = CommonUtil_1.CommonUtil.getInnerText(ruleContext); + if (text && text.trim().length > 0 && CommonUtil_1.CommonUtil.getInnerText(ruleContext).trim() === text.trim()) { + // Due to dependency, label must be done via title - this rule doesn't apply + return null; + } + // input nested in label + var passed = false; + var walkNode = ruleContext.previousSibling; + while (!passed && walkNode !== null) { + passed = ((walkNode.nodeName.toLowerCase() == "#text" && walkNode.nodeValue.trim().length > 0) + || (walkNode.nodeName.toLowerCase() == "span" && walkNode.textContent.trim().length > 0)); + walkNode = walkNode.previousSibling; + } + if (!passed) { + // Input nested in label and text after input + return (0, IRule_1.RuleFail)("Fail_1"); + } + } + else { + if (value != -1) { + // label is after input + return (0, IRule_1.RuleFail)("Fail_2"); + } + } + // Haven't returned yet, then I pass + return (0, IRule_1.RulePass)("Pass_0"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/input_label_exists.ts": +/*!********************************************!*\ + !*** ./src/v4/rules/input_label_exists.ts ***! + \********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.input_label_exists = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +var AccNameUtil_1 = __webpack_require__(/*! ../util/AccNameUtil */ "./src/v4/util/AccNameUtil.ts"); +exports.input_label_exists = { + 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]", + //dependencies: ["aria_role_redundant", "aria_role_valid"], + refactor: { + "WCAG20_Input_ExplicitLabel": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1", + "Fail_2": "Fail_2" + } + }, + help: { + "en-US": { + "Pass_0": "input_label_exists.html", + "Fail_1": "input_label_exists.html", + "Fail_2": "input_label_exists.html", + "group": "input_label_exists.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Form control element <{0}> has no associated label", + "Fail_2": "Form control with \"{0}\" role has no associated label", + "group": "Each form control must have an associated label" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + // TODO: ACT: https://github.com/IBMa/equal-access/issues/756 + act: ["97a4e1", "e086e5"], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) { + return null; + } + var nodeName = ruleContext.nodeName.toLowerCase(); + //ignore datalist element check since it will be part of a input element or hidden by default + if (nodeName === 'datalist') + return null; + // Determine the input type + var passed = true; + var type = "text"; + if (nodeName == "input" && ruleContext.hasAttribute("type")) { + type = ruleContext.getAttribute("type").toLowerCase(); + } + else if (nodeName === "button" || AriaUtil_1.AriaUtil.hasRoleInSemantics(ruleContext, "button")) { + type = "buttonelem"; + } + if (nodeName == "input" && type == "") { + type = "text"; + } + if (type === "image") { + // Handled by input_label_existsImage + return null; + } + /** + let POF = -1; + let textTypes = CommonUtil.input_text_types; + let buttonTypes = CommonUtil.form_button_types; + + let buttonTypesWithDefaults = ["reset", "submit"]; // 'submit' and 'reset' have visible defaults. + if (textTypes.indexOf(type) !== -1) { // If type is in the list + // Get only the non-hidden labels for elements, in the case that a label is hidden then it is a violation + // Note: label[for] does not work for ARIA defined inputs + let labelElem = ruleContext.hasAttribute("role") ? null : CommonUtil.getLabelForElementHidden(ruleContext, true); + let hasLabelElemContent = false; + if (labelElem) { + if (CommonUtil.hasInnerContentHidden(labelElem)) { + hasLabelElemContent = true; + } else if ((labelElem.getAttribute("aria-label") || "").trim().length > 0) { + hasLabelElemContent = true; + } else if (labelElem.hasAttribute("aria-labelledby")) { + let labelledByElem = FragmentUtil.getById(labelElem, labelElem.getAttribute('aria-labelledby')); + if (labelledByElem && !DOMUtil.sameNode(labelledByElem, labelElem) && CommonUtil.hasInnerContent(labelledByElem)) { + hasLabelElemContent = true; + } + } + } + passed = (!!labelElem && hasLabelElemContent) || + (!labelElem && CommonUtil.attributeNonEmpty(ruleContext, "title") || CommonUtil.attributeNonEmpty(ruleContext, "placeholder")) || + AriaUtil.getAriaLabel(ruleContext).trim().length > 0 || CommonUtil.hasImplicitLabel(ruleContext); + if (!passed) POF = 2 + textTypes.indexOf(type); + + } else if (buttonTypes.indexOf(type) !== -1) { // If type is a button + if (buttonTypesWithDefaults.indexOf(type) !== -1 && !ruleContext.hasAttribute("value")) { + // 'submit' and 'reset' have visible defaults so pass if there is no 'value' attribute + passed = true; + } else { + passed = CommonUtil.attributeNonEmpty(ruleContext, "value") || AriaUtil.hasAriaLabel(ruleContext) || CommonUtil.attributeNonEmpty(ruleContext, "title"); + if (!passed) POF = 2 + textTypes.length + buttonTypes.indexOf(type); + } + } else if (type == "buttonelem") { + // If I am an image and I have alt text - accessibility-web-engine#269 + let bAlt = false; + if (ruleContext.nodeName.toLowerCase() === "img" && ruleContext.hasAttribute("alt")) { + let alt = ruleContext.getAttribute("alt"); + if (alt.trim().length === 0) { + bAlt = false; + } else { + bAlt = true; + } + }; + passed = CommonUtil.hasInnerContentHidden(ruleContext) || AriaUtil.hasAriaLabel(ruleContext) || bAlt || CommonUtil.attributeNonEmpty(ruleContext, "title"); + + if (!passed) POF = 2 + textTypes.length + buttonTypes.length + 1; + } + + //check if a native button is labelled + if (!passed && nodeName == "button") { + if (CommonUtil.hasImplicitLabel(ruleContext)) + passed = true; + else { + let label = CommonUtil.getLabelForElement(ruleContext); + if (label && CommonUtil.hasInnerContentHidden(label)) + passed = true; + } + } + + // Rpt_Aria_ValidIdRef determines if the aria-labelledby id points to a valid element + if (!passed && (buttonTypes.indexOf(type) !== -1)) { + if (ruleContext.hasAttribute("class") && ruleContext.getAttribute("class") == "dijitOffScreen" && DOMWalker.parentElement(ruleContext).hasAttribute("widgetid")) { + // Special handling for dijit buttons + let labelId = DOMWalker.parentElement(ruleContext).getAttribute("widgetid") + "_label"; + let label = FragmentUtil.getById(ruleContext, labelId); + if (label != null) { + passed = CommonUtil.hasInnerContentHidden(label); + // This means I failed above also + if (!passed) POF = 2 + textTypes.length + buttonTypes.length + 4 + buttonTypes.indexOf(type); + } + } + } + + if (!passed && nodeName == "optgroup") { + passed = CommonUtil.attributeNonEmpty(ruleContext, "label"); + if (!passed) POF = 2 + textTypes.length + buttonTypes.length + 2; + } + if (!passed && nodeName == "option") { + // Is a non-empty value attribute also enough for an option element? + passed = CommonUtil.attributeNonEmpty(ruleContext, "label") || ruleContext.innerHTML.trim().length > 0; + if (!passed) POF = 2 + textTypes.length + buttonTypes.length + 3; + } + + if (!passed) + passed = AriaUtil.getAriaLabel(ruleContext).trim().length > 0 || CommonUtil.attributeNonEmpty(ruleContext, "title"); + + if (!passed) { + // check aria role to figure out if the accessible name can be from content + const roles = AriaUtil.getRoles(ruleContext, true); + //when multiple roles specified, only the first valid role (guaranteed by dependencies) is applied, and the others just as fallbacks + if (ARIADefinitions.designPatterns[roles[0]] && ARIADefinitions.designPatterns[roles[0]].nameFrom && ARIADefinitions.designPatterns[roles[0]].nameFrom.includes("contents")) + passed = CommonUtil.hasInnerContentHidden(ruleContext); + } + */ + var pair = AccNameUtil_1.AccNameUtil.computeAccessibleName(ruleContext); + passed = pair && pair.name && pair.name.trim().length > 0; + if (passed) { + return (0, IRule_1.RulePass)("Pass_0"); + } + else if (ruleContext.hasAttribute("role") && ruleContext.getAttribute("role").trim().length > 0) { + return (0, IRule_1.RuleFail)("Fail_2", ruleContext.getAttribute("role").split(" ")); + } + else { + return (0, IRule_1.RuleFail)("Fail_1", [nodeName]); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/input_label_visible.ts": +/*!*********************************************!*\ + !*** ./src/v4/rules/input_label_visible.ts ***! + \*********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.input_label_visible = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var fragment_1 = __webpack_require__(/*! ../../v2/checker/accessibility/util/fragment */ "./src/v2/checker/accessibility/util/fragment.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +var DOMUtil_1 = __webpack_require__(/*! ../../v2/dom/DOMUtil */ "./src/v2/dom/DOMUtil.ts"); +var AccNameUtil_1 = __webpack_require__(/*! ../util/AccNameUtil */ "./src/v4/util/AccNameUtil.ts"); +exports.input_label_visible = { + 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", + dependencies: ["input_label_exists"], + refactor: { + "WCAG20_Input_VisibleLabel": { + "Pass_0": "pass", + "Potential_1": "potential_no_label", + "potential_placeholder_only": "potential_placeholder_only" + } + }, + help: { + "en-US": { + "pass": "input_label_visible.html", + "potential_placeholder_only": "input_label_visible.html", + "potential_no_label": "input_label_visible.html", + "group": "input_label_visible.html" + } + }, + messages: { + "en-US": { + "pass": "The input element has an associated visible label", + "potential_placeholder_only": "The ‘placeholder’ is the only visible label", + "potential_no_label": "The input element does not have an associated visible label", + "group": "An input element must have an associated visible label" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.5.3", "3.3.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var nodeName = ruleContext.nodeName.toLowerCase(); + //ignore datalist element check since it will be part of a input element or hidden by default + if (nodeName === 'datalist') + return null; + if (!VisUtil_1.VisUtil.isNodeVisible(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) + return null; + // if a control is in a table cell, the col headers can act as visible label, which is checked in table heading rule + if (CommonUtil_1.CommonUtil.getAncestor(ruleContext, "table")) + return null; + // when in a combobox, only look at the input textbox. + if (AriaUtil_1.AriaUtil.getAncestorWithRole(ruleContext, "combobox") && + !(AriaUtil_1.AriaUtil.hasRoleInSemantics(ruleContext, "textbox") || AriaUtil_1.AriaUtil.hasRoleInSemantics(ruleContext, "searchbox") || + nodeName === "input" || (nodeName === "select" && AriaUtil_1.AriaUtil.hasRoleInSemantics(ruleContext, "combobox")))) { + return null; + } + // avoid diagnosing the popup list of a combobox. + var rolesToCheck = ["listbox", "tree", "grid", "dialog"]; + for (var j = 0; j < rolesToCheck.length; j++) { + if (AriaUtil_1.AriaUtil.hasRoleInSemantics(ruleContext, rolesToCheck[j])) { + var comboboxes = CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, "combobox", true, true); + for (var k = 0; k < comboboxes.length; k++) { + var combobox = comboboxes[k]; + var aria_owns = CommonUtil_1.CommonUtil.getElementAttribute(combobox, "aria-owns"); + if (aria_owns) { + var owns = CommonUtil_1.CommonUtil.normalizeSpacing(aria_owns.trim()).split(" "); + for (var i = 0; i < owns.length; i++) { + var owned = fragment_1.FragmentUtil.getById(ruleContext, owns[i]); + if (owned === ruleContext) { + return null; + } + } + } + } + } + } + var pair = AccNameUtil_1.AccNameUtil.computeAccessibleName(ruleContext); + // check visible label for input or button + if (nodeName === 'input' || nodeName === 'button') { + /** + if (CommonUtil.hasImplicitLabel(ruleContext)) + return RulePass("pass"); + + let label = CommonUtil.getLabelForElement(ruleContext); + if (label && CommonUtil.hasInnerContentHidden(label)) + return RulePass("pass"); + + // special cases + let type = ruleContext.getAttribute("type"); + if (nodeName === 'input' && type) { + type = type.toLowerCase(); + //submit type of input has a visible label 'Submit' by default + if (type === 'submit' || type === 'reset') + return RulePass("pass"); + //image type of input requires a non-empty alt text + if (type === 'image' && CommonUtil.attributeNonEmpty(ruleContext, "alt")) + return RulePass("pass"); + } + */ + if (pair && pair.name && pair.name.trim().length > 0 && (pair.nameFrom === 'label' || pair.nameFrom === 'internal' || pair.nameFrom === 'alt')) + return (0, IRule_1.RulePass)("pass"); + } + // custom widget submission is not in scope for this success criteria (IBMa/equal-access#204) if it is not associated with data entry + var role = AriaUtil_1.AriaUtil.getResolvedRole(ruleContext); + if (role && role === "button" && nodeName !== 'input' && nodeName !== 'button') { + // likely a custom widget, skip if not associated with data entry + if (!CommonUtil_1.CommonUtil.getAncestor(ruleContext, "form")) + return null; + } + // check if any visible text from the control. + // note that (1) the text doesn’t need to be associated with the control to form a relationship + // (2) the text doesn't need to follow accessible name requirement (e.g. nameFrom) + // and (3) an alternative tooltip exists that can be made visible through mouseover + /**if (!CommonUtil.isInnerTextEmpty(ruleContext)) + return RulePass("pass"); + + // check if an alternative tooltip exists that can be made visible through mouseover + if (CommonUtil.attributeNonEmpty(ruleContext, "title")) + return RulePass("pass"); + */ + if (pair && pair.name && pair.name.trim().length > 0 && (pair.nameFrom === 'text' || pair.nameFrom === 'title')) + return (0, IRule_1.RulePass)("pass"); + // check if any descendant with an alternative tooltip that can be made visible through mouseover + // only consider img and svg, and other text content of the descendant is covered in the isInnerText above + var descendants = AriaUtil_1.AriaUtil.getAllDescendantsWithRoles(ruleContext, ["img", "graphics-document", "graphics-object", "graphics-symbol"], false, true); + if (descendants && descendants.length > 0) { + for (var d = 0; d < descendants.length; d++) { + if (CommonUtil_1.CommonUtil.attributeNonEmpty(descendants[d], "title") || CommonUtil_1.CommonUtil.attributeNonEmpty(descendants[d], "alt")) + return (0, IRule_1.RulePass)("pass"); + } + } + // check if there is a visible label pointed to by the aria-labelledby attribute. + if (CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "aria-labelledby")) { + var theLabel = ruleContext.getAttribute("aria-labelledby"); + var labelValues = theLabel.split(/\s+/); + for (var j = 0; j < labelValues.length; ++j) { + var elementById = fragment_1.FragmentUtil.getById(ruleContext, labelValues[j]); + if (elementById && !DOMUtil_1.DOMUtil.sameNode(elementById, ruleContext) && VisUtil_1.VisUtil.isNodeVisible(elementById) && CommonUtil_1.CommonUtil.hasInnerContentHidden(elementById)) { + return (0, IRule_1.RulePass)("pass"); + } + } + } + /**if (nodeName === "optgroup" && CommonUtil.attributeNonEmpty(ruleContext, "label")) + return RulePass("pass"); + + if (nodeName == "option" && (CommonUtil.attributeNonEmpty(ruleContext, "label") || ruleContext.innerHTML.trim().length > 0)) + return RulePass("pass"); + */ + if ((nodeName === "optgroup" || nodeName == "option") && (pair && pair.name && pair.name.trim().length > 0 && (pair.nameFrom === 'label' || pair.nameFrom === 'content'))) + return (0, IRule_1.RulePass)("pass"); + // Determine if this is referenced by a combobox. If so, the label belongs to the combobox + var id = ruleContext.getAttribute("id"); + if (id && id.trim().length > 0) { + if (ruleContext.ownerDocument.querySelector("*[aria-controls='".concat(id, "'][role='combobox']"))) { + return null; + } + } + // check if a placeholder exists even though a placeholder text is not sufficient as a visible text + if (CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "placeholder")) + return (0, IRule_1.RulePotential)("potential_placeholder_only"); + return (0, IRule_1.RulePotential)("potential_no_label"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/input_onchange_review.ts": +/*!***********************************************!*\ + !*** ./src/v4/rules/input_onchange_review.ts ***! + \***********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.input_onchange_review = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +exports.input_onchange_review = { + id: "input_onchange_review", + context: "dom:input[onchange], dom:textarea[onchange], dom:select[onchange]", + refactor: { + "WCAG20_Input_HasOnchange": { + // "Pass_0": "pass", + "Potential_1": "potential_warning" + } + }, + help: { + "en-US": { + // "pass": "input_onchange_review.html", + "potential_warning": "input_onchange_review.html", + "group": "input_onchange_review.html" + } + }, + messages: { + "en-US": { + "group": "Users must be advised if, due to a change of element value, a form automatically submits, a new window opens, or a change in focus occurs", + // "pass": "The user is advised of the automatic form submission, new window opening, or focus change", + "potential_warning": "Confirm that the user is advised if, due to a change of element value, a form automatically submits, a new window opens, or a change in focus occurs" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["3.2.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (ruleContext.nodeName.toLowerCase() == "input" && ruleContext.hasAttribute("type")) { + var type = ruleContext.getAttribute("type").toLowerCase(); + if (type === "hidden" || type === "submit" || type === "image" || type === "button" || type === "reset") + return null; + } + return (0, IRule_1.RulePotential)("potential_warning"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/input_placeholder_label_visible.ts": +/*!*********************************************************!*\ + !*** ./src/v4/rules/input_placeholder_label_visible.ts ***! + \*********************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.input_placeholder_label_visible = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +exports.input_placeholder_label_visible = { + 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": "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: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "HTML5 placeholder is the only visible label", + "Potential_2": "Additional visible label referenced by 'aria-labelledby' is not valid", + "group": "HTML5 'placeholder' attribute must not be used as a visible label replacement" + } + }, + /** + * merge the rule into input_label_visible + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["3.3.2"], + "level": eRulePolicy.VIOLATION, + "toolkitLevel": eToolkitLevel.LEVEL_ONE + }], + */ + rulesets: [], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (ruleContext.hasAttribute("type")) { + var type = ruleContext.getAttribute("type").toLowerCase(); + if (type == "hidden" || type == "button") { + return (0, IRule_1.RulePass)("Pass_0"); + } + } + if (ruleContext.hasAttribute("hidden")) { + var hidden = ruleContext.getAttribute("hidden"); + if (hidden == "" || hidden.toLowerCase() == "hidden") { // when hidden is empty in the element, "" is returned, same as it has a value of "". + return (0, IRule_1.RulePass)("Pass_0"); + } + } + if (ruleContext.hasAttribute("aria-label")) { + return (0, IRule_1.RulePotential)("Potential_1"); + } + if (ruleContext.hasAttribute("aria-labelledby") && ruleContext.hasAttribute("id")) { + var id = ruleContext.getAttribute("id").trim(); + var refIds = ruleContext.getAttribute("aria-labelledby").trim().split(/\s+/); // separated by one or more white spaces + if (!refIds.includes(id)) { + return (0, IRule_1.RulePass)("Pass_0"); + } + else { + return (0, IRule_1.RulePotential)("Potential_2"); + } + } + return (0, IRule_1.RulePass)("Pass_0"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/label_content_exists.ts": +/*!**********************************************!*\ + !*** ./src/v4/rules/label_content_exists.ts ***! + \**********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.label_content_exists = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var fragment_1 = __webpack_require__(/*! ../../v2/checker/accessibility/util/fragment */ "./src/v2/checker/accessibility/util/fragment.ts"); +var DOMUtil_1 = __webpack_require__(/*! ../../v2/dom/DOMUtil */ "./src/v2/dom/DOMUtil.ts"); +exports.label_content_exists = { + 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": "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: { + "en-US": { + "Pass_Regular": "<label> element has accessible name with inner content", + "Pass_AriaLabel": "<label> element has accessible name via 'aria-label'", + "Pass_LabelledBy": "<label> element has accessible name via 'aria-labelledby'", + "Fail_1": "The <label> element does not have descriptive text that identifies the expected input", + "group": "A <label> element must have non-empty descriptive text that identifies the purpose of the interactive component" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (CommonUtil_1.CommonUtil.hasInnerContentHidden(ruleContext)) { + return (0, IRule_1.RulePass)("Pass_Regular"); + } + else if ((ruleContext.getAttribute("aria-label") || "").trim().length > 0) { + return (0, IRule_1.RulePass)("Pass_AriaLabel"); + } + else if (ruleContext.hasAttribute("aria-labelledby")) { + var labelElem = fragment_1.FragmentUtil.getById(ruleContext, ruleContext.getAttribute('aria-labelledby')); + if (labelElem && !DOMUtil_1.DOMUtil.sameNode(labelElem, ruleContext) && CommonUtil_1.CommonUtil.hasInnerContent(labelElem)) { + return (0, IRule_1.RulePass)("Pass_LabelledBy"); + } + } + return (0, IRule_1.RuleFail)("Fail_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/label_name_visible.ts": +/*!********************************************!*\ + !*** ./src/v4/rules/label_name_visible.ts ***! + \********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.label_name_visible = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var fragment_1 = __webpack_require__(/*! ../../v2/checker/accessibility/util/fragment */ "./src/v2/checker/accessibility/util/fragment.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +var CSSUtil_1 = __webpack_require__(/*! ../util/CSSUtil */ "./src/v4/util/CSSUtil.ts"); +var DOMWalker_1 = __webpack_require__(/*! ../../v2/dom/DOMWalker */ "./src/v2/dom/DOMWalker.ts"); +exports.label_name_visible = { + 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": "label_name_visible.html", + "Fail_1": "label_name_visible.html", + "group": "label_name_visible.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Accessible name matches or contains the visible label text", + "Fail_1": "Accessible name does not match or contain the visible label text", + "group": "Accessible name must match or contain the visible label text" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_2"], + "num": ["2.5.3"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + // TODO: ACT: Review https://github.com/act-rules/act-rules.github.io/issues/1618 + // https://www.w3.org/WAI/WCAG21/Techniques/aria/ARIA24 + act: "2ee8b8", + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (!VisUtil_1.VisUtil.isNodeVisible(ruleContext) || + CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) { + return null; + } + // pass if the visible text uses Material Icon font + if (CSSUtil_1.CSSUtil.isMaterialIconFont(ruleContext)) + return (0, IRule_1.RulePass)("Pass_0"); + var passed = true; + var nodeName = ruleContext.nodeName.toLowerCase(); + var isInputButton = false; + //let buttonTypes = ["button", "reset", "submit"]; //"image" + var inputType = null; + if (nodeName === "input" && ruleContext.hasAttribute("type")) { + inputType = ruleContext.getAttribute("type").toLowerCase(); + if (CommonUtil_1.CommonUtil.form_button_types.indexOf(inputType) !== -1) { + isInputButton = true; + } + } + var theLabelBy = AriaUtil_1.AriaUtil.getAriaAttribute(ruleContext, "aria-labelledby"); + if (theLabelBy && !CommonUtil_1.CommonUtil.isIdReferToSelf(ruleContext, theLabelBy) && !isInputButton) { + // skip the checks if it has an aria-labelledby since it takes precedence. + } + else { + var theLabel = null; + if (theLabelBy && !CommonUtil_1.CommonUtil.isIdReferToSelf(ruleContext, theLabelBy)) { + var labelValues = theLabelBy.split(/\s+/); + for (var j = 0; j < labelValues.length; ++j) { + var elementById = fragment_1.FragmentUtil.getById(ruleContext, labelValues[j]); + if (elementById) { + theLabel = CommonUtil_1.CommonUtil.getInnerText(elementById); + break; + } + } + } + else { + theLabel = AriaUtil_1.AriaUtil.getAriaAttribute(ruleContext, "aria-label"); + } + if (!theLabel) { + return null; + } + var text = null; + if (isInputButton) { + /* Note: Disable the alt check in images until we get confirmation + if (inputType==="image" && ruleContext.hasAttribute("alt")){ + // use 'alt' attribute as visible text + text = ruleContext.getAttribute("alt"); + }else + */ + if (ruleContext.hasAttribute("value")) { + // use 'value' attribute as visible text + text = ruleContext.getAttribute("value"); + } + else { + // use default value + if (inputType === "submit" /*||inputType==="image"*/) { + text = "submit"; + } + else if (inputType === "reset") { + text = "reset"; + } + } + } + if (!text) { + // look for a <label> element + var labelElem = CommonUtil_1.CommonUtil.getLabelForElementHidden(ruleContext, true); + if (!labelElem) { + var parentNode = DOMWalker_1.DOMWalker.parentNode(ruleContext); + if (parentNode.nodeName.toLowerCase() === "label" /*&& RPTUtil.isFirstFormElement(parentNode, ruleContext)*/) { + var parentClone = parentNode.cloneNode(true); + // exclude all form elements from the label since they might also have inner content + labelElem = CommonUtil_1.CommonUtil.removeAllFormElementsFromLabel(parentClone); + } + } + var element = labelElem ? labelElem : ruleContext; + var elementsToSkipContentCheck = ["meter", "output", "progress", "select", "textarea"]; + if (!labelElem && elementsToSkipContentCheck.indexOf(nodeName) !== -1) { + text = ""; // skip content check for some elements + } + else { + // get the visible text only + text = CommonUtil_1.CommonUtil.getOnScreenInnerText(element); + } + /* Note: Disable this alt check in images for now until we get confirmation + // Look for the alt attribute of an image which is considered visible text. + let hasImgAlt = false; + if (element.firstChild != null) { + let nw = RPTUtil.new NodeWalker(element); + while (!hasImgAlt && nw.nextNode() && nw.node != element && nw.node != element.nextSibling) { + hasImgAlt = (nw.node.nodeName.toLowerCase() == "img" && RPTUtil.attributeNonEmpty(nw.node, "alt")); + if (hasImgAlt) { + text = text ? text + nw.node.getAttribute("alt") : nw.node.getAttribute("alt"); + } + } + } + */ + } + var nonalphanumeric = /[^a-zA-Z0-9]/g; + text = text.replace(nonalphanumeric, " "); // only consider alphanumeric characters + var normalizedText = CommonUtil_1.CommonUtil.normalizeSpacing(text).toLowerCase(); // Leading and trailing whitespace and difference in case sensitivity should be ignored. + theLabel = theLabel.replace(nonalphanumeric, " "); // only consider alphanumeric characters + var normalizedLabel = CommonUtil_1.CommonUtil.normalizeSpacing(theLabel).toLowerCase(); + if (normalizedText.length > 1) { // skip non-text content. e.g., <button aria-label="close">X</button> + var location_1 = normalizedLabel.indexOf(normalizedText); + // Avoid matching partial words.e.g., text "name" should not match 'surname' or 'names' + if (location_1 >= 0 && normalizedLabel.length > normalizedText.length) { + var letters = /^[0-9a-zA-Z]+$/; + if ((location_1 + normalizedText.length) < normalizedLabel.length) { + // check ending + var theChar = normalizedLabel.charAt(location_1 + normalizedText.length); + if (theChar.match(letters)) { + passed = false; + } + } + if (passed && location_1 > 0) { + // check beginning + var theChar = normalizedLabel.charAt(location_1 - 1); + if (theChar.match(letters)) { + passed = false; + } + } + } + if (location_1 === -1) { // check that visible text content of the target is contained within its accessible name. + passed = false; + } + } + } + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/label_ref_valid.ts": +/*!*****************************************!*\ + !*** ./src/v4/rules/label_ref_valid.ts ***! + \*****************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.label_ref_valid = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var fragment_1 = __webpack_require__(/*! ../../v2/checker/accessibility/util/fragment */ "./src/v2/checker/accessibility/util/fragment.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.label_ref_valid = { + id: "label_ref_valid", + context: "dom:label[for]", + refactor: { + "WCAG20_Label_RefValid": { + "Pass_0": "pass", + "Fail_1": "fail_invalid" + } + }, + help: { + "en-US": { + "pass": "label_ref_valid.html", + "fail_invalid": "label_ref_valid.html", + "group": "label_ref_valid.html" + } + }, + messages: { + "en-US": { + "pass": "The 'for' attribute for a label referencea a unique non-empty 'id' attribute of a valid element", + "fail_invalid": "The value \"{0}\" of the 'for' attribute is not the 'id' of a valid element", + "group": "The 'for' attribute for a label should reference a non-empty, unique 'id' attribute of a valid element" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var id = ruleContext.getAttribute("for"); + var passed = false; + var target = fragment_1.FragmentUtil.getById(ruleContext, id); + if (target) { + // ignore if both label and control are invisible + if (!VisUtil_1.VisUtil.isNodeVisible(target) && !VisUtil_1.VisUtil.isNodeVisible(ruleContext)) + return null; + passed = true; + // handles null and undefined + if (!target.hasAttribute("role")) { + // Fail if we're pointing at something that is labelled by another mechanism + var nodeName = target.nodeName.toLowerCase(); + passed = nodeName == "input" || nodeName == "select" || nodeName == "textarea" + || nodeName == "button" || nodeName == "datalist" + || nodeName == "optgroup" || nodeName == "option" + || nodeName == "keygen" || nodeName == "output" + || nodeName == "progress" || nodeName == "meter" + || nodeName == "fieldset" || nodeName == "legend"; + if (target.nodeName.toLowerCase() == "input" && target.hasAttribute("type")) { + var type = target.getAttribute("type").toLowerCase(); + passed = type == "text" || type == "password" || type == "file" || + type == "checkbox" || type == "radio" || + type == "hidden" || type == "search" || type == "tel" || type == "url" || type == "email" || //HTML 5 + type == "date" || type == "number" || type == "range" || type == "image" || //HTML 5 + type == "time" || type == "color" || // HTML 5 + type == "datetime-local" || type == "month" || type == "week"; //HTML5.1 + } + } + // Add one more check to make sure the target element is NOT hidden, in the case the target is hidden + // flag a violation regardless of what the Check Hidden Content setting is. + if (passed && !VisUtil_1.VisUtil.isNodeVisible(target)) { + passed = false; + } + } + var retToken = []; + if (!passed) { + retToken.push(id); + } + //return new ValidationResult(passed, [ruleContext], '', '', passed == true ? [] : [retToken]); + if (!passed) { + return (0, IRule_1.RuleFail)("fail_invalid", retToken); + } + else { + return (0, IRule_1.RulePass)("pass"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/list_children_valid.ts": +/*!*********************************************!*\ + !*** ./src/v4/rules/list_children_valid.ts ***! + \*********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.list_children_valid = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var DOMWalker_1 = __webpack_require__(/*! ../../v2/dom/DOMWalker */ "./src/v2/dom/DOMWalker.ts"); +exports.list_children_valid = { + 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": "list_children_valid.html", + "Fail_1": "list_children_valid.html", + "group": "list_children_valid.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "List component with \"group\" role has children that are not <listitem> elements", + "group": "List component with \"group\" role must limit children to <listitem> elements" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var parent = DOMWalker_1.DOMWalker.parentElement(ruleContext); + if (!AriaUtil_1.AriaUtil.hasRoleInSemantics(parent, "list")) { + return null; + } + var passed = true; + var children = ruleContext.children; + for (var i = 0; passed && i < children.length; i++) { + passed = AriaUtil_1.AriaUtil.hasRoleInSemantics(children[i], "listitem"); + } + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/list_markup_review.ts": +/*!********************************************!*\ + !*** ./src/v4/rules/list_markup_review.ts ***! + \********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.list_markup_review = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var DOMWalker_1 = __webpack_require__(/*! ../../v2/dom/DOMWalker */ "./src/v2/dom/DOMWalker.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.list_markup_review = { + id: "list_markup_review", + context: "dom:*", + refactor: { + "RPT_List_UseMarkup": { + // "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + // "pass": "list_markup_review.html", + "potential_list": "list_markup_review.html", + "group": "list_markup_review.html" + } + }, + messages: { + "en-US": { + // "pass": "Proper HTML elements are used to create a list", + "potential_list": "Verify this is a list and if so, modify to use proper HTML elements for the list", + "group": "Proper HTML elements should be used to create a list" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Extract the nodeName of the context node + var nodeName = ruleContext.nodeName.toLowerCase(); + //skip the check if the element is hidden or disabled + if (CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext) || VisUtil_1.VisUtil.hiddenByDefaultElements.includes(nodeName)) + return null; + // Don't trigger if we're not in the body or if we're in a script + if (CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["body"]) === null) + return null; + // ignore script, label and their child elements + if (CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["script", 'label']) !== null) + return null; + // ignore all widgets and their children, and certain structure roles + var roles = AriaUtil_1.AriaUtil.getRolesWithTypes(ruleContext, ["widget"]); + // add some structure roles + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(["caption", "code", "columnheader", "figure", "list", "listitem", "math", "meter", "columnheader", "rowheader"], roles); + if (AriaUtil_1.AriaUtil.getAncestorWithRoles(ruleContext, roles) !== null) + return null; + var passed = true; + var walkNode = ruleContext.firstChild; + while (passed && walkNode) { + // Comply to the Check Hidden Content setting will be done by default as this rule triggers on each element + // and for each element it only checks that single elements text nodes and nothing else. So all inner elements will be + // covered on their own. Currently for this rule by default Check Hidden Content will work, as we are doing + // a node walk only on siblings so it would not get text nodes from other siblings at all. + // In the case in the future something changes, just need to add && !RPTUtil.shouldNodeBeSkippedHidden(walkNode) to the below + // if. + if (walkNode.nodeName == "#text") { + var txtVal = walkNode.nodeValue; + var failure = /^[ \t\r\n]*[( ]*[1-9]*[\*\-).][ \t][A-Z,a-z]+/.test(txtVal); + passed = !failure; + if (!passed) { + // Ensure that there's some sort of block level element before this + // Avoid failures due to things like <i>Some sentence</i>. New sentence. + //let nw = new NodeWalker(walkNode); + var nw = new DOMWalker_1.DOMWalker(walkNode); + while (!passed && nw.prevNode()) { + var nodeName_1 = nw.node.nodeName.toLowerCase(); + if (["blockquote", "center", "dir", "div", "form", "h1", + "h2", "h3", "h4", "h5", "h6", "hr", "br", "menu", "p", + "pre"].includes(nodeName_1)) { + break; + } + if (nodeName_1 == "#text") { + var txt = nw.node.nodeValue; + passed = txt.length > 0 && ![" ", "\t", "\n"].includes(txt.charAt(txt.length - 1)); + } + } + } + } + walkNode = walkNode.nextSibling; + } + if (passed) + return null; + if (!passed) + return (0, IRule_1.RulePotential)("potential_list"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/list_structure_proper.ts": +/*!***********************************************!*\ + !*** ./src/v4/rules/list_structure_proper.ts ***! + \***********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.list_structure_proper = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.list_structure_proper = { + 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": "list_structure_proper.html", + "Potential_1": "list_structure_proper.html", + "group": "list_structure_proper.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "List element is missing or improperly structured", + "group": "List elements should only be used for lists of related items" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed; + var nodeName = ruleContext.nodeName.toLowerCase(); + // Get all the childrens of the ruleContext + var children = ruleContext.children; + if (nodeName == "dl") { + var first = ""; + var last = ""; + var walkChildren = ruleContext.firstChild; + passed = true; + var presentationalFound = false; + // If there are no childrens set as passed, since dl elements can have + // zero or more of: one or more dt elements, followed by one or more dd elements + if (!ruleContext.children || ruleContext.children.length == 0) { + passed = true; + } + else { + while (passed && walkChildren != null) { + if (walkChildren.nodeType == 1) { + var nodeName_1 = walkChildren.nodeName.toLowerCase(); + // While walking through the elements under dl, if we find a + // presentational element we move to the next element as presentational + // elements are allowed under list elements as they are only for + // formatting text nodes. + if (AriaUtil_1.AriaUtil.isPresentationalElement(walkChildren)) { + presentationalFound = true; + walkChildren = walkChildren.nextSibling; + continue; + } + // Only set to pass if we find dd or dt element, in the case of + // an element that is not supported we will catch it here. i.e. img + // element + passed = nodeName_1 == "dd" || nodeName_1 == "dt"; + // Set the first and last node depending on which is found first and last + if (first == "") + first = nodeName_1; + last = nodeName_1; + } + walkChildren = walkChildren.nextSibling; + } + // In the case that we have found dt and dd elements under dl we pass right away. + // In the case that there is no dt or dd element, but bunch of presentational elements we mark this as a + // pass. In the case that there are other elements, such as img we will still trigger a violation. + passed = (passed && first == "dt" && last == "dd") || (passed && presentationalFound); + } + } + else if (nodeName == "li") { + passed = CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["ul", "ol", "dir", "menu"]) != null; + } + else if (nodeName == "dd" || nodeName == "dt") { + passed = CommonUtil_1.CommonUtil.getAncestor(ruleContext, "dl") != null; + } + else { + var walkChildren = ruleContext.firstChild; + // Zero or more li elements are permitted inside of <ol>, <ul> or <menu> elements now as per the html5 spec. This handles the case + // when there are zero elements under the <ol>, <ul> or <menu>. + if ((nodeName == "ul" || nodeName == "ol" || nodeName == "menu") && (!ruleContext.children || ruleContext.children.length == 0)) { + passed = true; + } + else { + var liFound = false; + var presentationalFound = false; + passed = true; + while (passed && walkChildren != null) { + // While walking through the list elements, if we find a + // presentational element we skip checking as presentational + // elements are allowed under list elements as they are only for + // formatting text. + if (AriaUtil_1.AriaUtil.isPresentationalElement(walkChildren)) { + presentationalFound = true; + walkChildren = walkChildren.nextSibling; + continue; + } + // Pass if the node type is anything but 1, or in the case that it is a li element. For any other node + // it will be caught here that element is not allowed under list node. + // Furthermore in the case that there is a template element with the parent being ul/ol don't flag a violation + passed = walkChildren.nodeType != 1 || walkChildren.nodeName.toLowerCase() == "li" || (walkChildren.nodeName.toLowerCase() == "template" && (nodeName == "ul" || nodeName == "ol")); + // Set li found to true if the current element (nodeType=1) is an li element + liFound = liFound || (walkChildren.nodeType == 1 && walkChildren.nodeName.toLowerCase() == "li"); + walkChildren = walkChildren.nextSibling; + } + // In the case that it has passed and also li element is found under list node, we pass right away. + // In the case that there is no li element, but bunch of presentational elements we mark this as a + // pass. In the case that there are other elements, such as img we will still trigger a violation. + passed = (passed && liFound) || (passed && presentationalFound); + } + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/marquee_elem_avoid.ts": +/*!********************************************!*\ + !*** ./src/v4/rules/marquee_elem_avoid.ts ***! + \********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.marquee_elem_avoid = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +exports.marquee_elem_avoid = { + id: "marquee_elem_avoid", + context: "dom:marquee", + refactor: { + "RPT_Marquee_Trigger": { + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "Fail_1": "marquee_elem_avoid.html", + "group": "marquee_elem_avoid.html" + } + }, + messages: { + "en-US": { + "Fail_1": "Scrolling content found that uses the obsolete <marquee> element", + "group": "The <marquee> element is obsolete and should not be used" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.2.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // JCH - NO OUT OF SCOPE hidden in context + return (0, IRule_1.RuleFail)("Fail_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/media_alt_brief.ts": +/*!*****************************************!*\ + !*** ./src/v4/rules/media_alt_brief.ts ***! + \*****************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.media_alt_brief = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.media_alt_brief = { + 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": "media_alt_brief.html", + "Potential_1": "media_alt_brief.html", + "group": "media_alt_brief.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Text alternative is more than 150 characters", + "group": "Alternative text in 'alt' attribute should be brief (<150 characters)" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var validateParams = { + maxAlt: { + value: 150, + type: "integer" + } + }; + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var altLength = ruleContext.getAttribute("alt").trim().length; + var passed = altLength <= validateParams.maxAlt.value; + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/media_alt_exists.ts": +/*!******************************************!*\ + !*** ./src/v4/rules/media_alt_exists.ts ***! + \******************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.media_alt_exists = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.media_alt_exists = { + 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": "media_alt_exists.html", + "Potential_1": "media_alt_exists.html", + "group": "media_alt_exists.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Filename used as label for embedded audio or video", + "group": "Audio or video on the page must have a short text alternative that describes the media content" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var uri = ""; + if (ruleContext.nodeName.toLowerCase() == "area") { + uri = ruleContext.getAttribute("href"); + } + else { + uri = ruleContext.getAttribute("src"); + } + if (uri == null) + uri = ""; + var ext = CommonUtil_1.CommonUtil.getFileExt(uri); + var isAudVid = ext.length != 0 && (CommonUtil_1.CommonUtil.isAudioExt(ext) || CommonUtil_1.CommonUtil.isVideoExt(ext)); + var altText = ruleContext.getAttribute("alt"); + var passed = !isAudVid || (altText.length > 0 && altText.indexOf(ext) == -1); + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/media_audio_transcribed.ts": +/*!*************************************************!*\ + !*** ./src/v4/rules/media_audio_transcribed.ts ***! + \*************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.media_audio_transcribed = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.media_audio_transcribed = { + id: "media_audio_transcribed", + context: "dom:bgsound, dom:a[href], dom:area[href], dom:embed, dom:object", + refactor: { + "RPT_Media_AudioTrigger": { + "Manual_1": "Manual_1" + } + }, + help: { + "en-US": { + "Manual_1": "media_audio_transcribed.html", + "group": "media_audio_transcribed.html" + } + }, + messages: { + "en-US": { + "Manual_1": "Provide transcripts for audio files", + "group": "Audio information should also be available in text form" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.2.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var passed; + var thisNode = ruleContext.nodeName.toLowerCase(); + if (thisNode == "bgsound") { + passed = false; + } + else { + passed = !CommonUtil_1.CommonUtil.isAudioObjEmbedLink(ruleContext); + } + if (passed) + return null; // Out of Scope + if (!passed) + return (0, IRule_1.RuleManual)("Manual_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/media_autostart_controllable.ts": +/*!******************************************************!*\ + !*** ./src/v4/rules/media_autostart_controllable.ts ***! + \******************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.media_autostart_controllable = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +exports.media_autostart_controllable = { + 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": "media_autostart_controllable.html", + "Potential_1": "media_autostart_controllable.html", + "group": "media_autostart_controllable.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify there is a mechanism to pause or stop and control the volume for the audio that plays automatically", + "group": "Mechanism must be available to pause or stop and control the volume of the audio that plays automatically" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.4.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var nodeName = ruleContext.nodeName.toLowerCase(); + var passed; + if (nodeName == "bgsound") { + passed = false; + } + else if (nodeName == "param") { + var content = ""; + if (ruleContext.hasAttribute("value")) + content = ruleContext.getAttribute("value").toLowerCase(); + passed = content.indexOf("0;") == 0 || + !(content.indexOf("true") != -1 || content.indexOf("1") != -1); + } + else if (nodeName == "embed") { + passed = true; + if (ruleContext.hasAttribute("flashvars")) { + var str = ruleContext.getAttribute("flashvars"); + passed = str.indexOf("autostart=true") == -1 && + str.indexOf("autostart=1") == -1; + } + if (passed && ruleContext.hasAttribute("src")) { + var str = ruleContext.getAttribute("src"); + passed = str.indexOf("autostart=true") == -1 && + str.indexOf("autostart=1") == -1; + } + } + if (passed && ruleContext.hasAttribute("autostart")) { + var val = ruleContext.getAttribute("autostart").toLowerCase(); + passed = val != 'true' && val != '1'; + } + return passed ? (0, IRule_1.RulePass)("Pass_0") : (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/media_keyboard_controllable.ts": +/*!*****************************************************!*\ + !*** ./src/v4/rules/media_keyboard_controllable.ts ***! + \*****************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.media_keyboard_controllable = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.media_keyboard_controllable = { + 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": "media_keyboard_controllable.html", + "Manual_1": "media_keyboard_controllable.html", + "group": "media_keyboard_controllable.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Manual_1": "Verify media using <audio> and/or <video> elements have keyboard accessible controls", + "group": "Media using <audio> and/or <video> elements must have keyboard accessible controls" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var passed = true; + var nodeName = ruleContext.nodeName.toLowerCase(); + if (nodeName == "audio" || nodeName === "video") { + passed = false; + } + return passed ? (0, IRule_1.RulePass)("Pass_0") : (0, IRule_1.RuleManual)("Manual_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/media_live_captioned.ts": +/*!**********************************************!*\ + !*** ./src/v4/rules/media_live_captioned.ts ***! + \**********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.media_live_captioned = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.media_live_captioned = { + id: "media_live_captioned", + context: "dom:embed, dom:object", + refactor: { + "RPT_Media_VideoObjectTrigger": { + "Manual_1": "Manual_1" + } + }, + help: { + "en-US": { + "Manual_1": "media_live_captioned.html", + "group": "media_live_captioned.html" + } + }, + messages: { + "en-US": { + "Manual_1": "Verify captions are provided for live media (streaming video with audio)", + "group": "Live media (streaming video with audio) should have captions for audio content" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.2.4"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = !CommonUtil_1.CommonUtil.isVideoObjEmbedLink(ruleContext); + if (passed) + return null; + if (!passed) + return (0, IRule_1.RuleManual)("Manual_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/media_track_available.ts": +/*!***********************************************!*\ + !*** ./src/v4/rules/media_track_available.ts ***! + \***********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.media_track_available = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.media_track_available = { + id: "media_track_available", + context: "dom:a[href], dom:area[href], dom:applet, dom:embed, dom:object", + refactor: { + "RPT_Media_VideoReferenceTrigger": { + "Manual_1": "Manual_1" + } + }, + help: { + "en-US": { + "Manual_1": "media_track_available.html", + "group": "media_track_available.html" + } + }, + messages: { + "en-US": { + "Manual_1": "Verify availability of a user-selectable audio track with description of visual content", + "group": "Pre-recorded media should have an audio track that describes visual information" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.2.3", "1.2.5"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var nodeName = ruleContext.nodeName.toLowerCase(); + var passed = true; + if (nodeName == "applet") { + passed = false; + } + else { + passed = !CommonUtil_1.CommonUtil.isVideoObjEmbedLink(ruleContext); + } + if (passed) + return null; + if (!passed) + return (0, IRule_1.RuleManual)("Manual_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/meta_redirect_optional.ts": +/*!************************************************!*\ + !*** ./src/v4/rules/meta_redirect_optional.ts ***! + \************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.meta_redirect_optional = void 0; +var fragment_1 = __webpack_require__(/*! ../../v2/checker/accessibility/util/fragment */ "./src/v2/checker/accessibility/util/fragment.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +exports.meta_redirect_optional = { + 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": "meta_redirect_optional.html", + "pass": "meta_redirect_optional.html", + "fail": "meta_redirect_optional.html", + "fail_longrefresh": "meta_redirect_optional.html" + } + }, + messages: { + "en-US": { + "group": "Page should not automatically refresh without warning or option to turn it off or adjust the time limit", + "pass": "Rule Passed", + "fail": "Check page does not automatically refresh without warning or options", + "fail_longrefresh": "Check page does not automatically refresh without warning or options" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.2.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + // Removed ACT bisz58 AAA + act: [{ + "bc659a": { + "pass": "pass", + "fail": "fail", + "fail_longrefresh": "pass" + } + }], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // JCH - NO OUT OF SCOPE hidden in context + if (ruleContext.getAttribute("http-equiv").toLowerCase() !== 'refresh') { + return null; + } + var content = ruleContext.getAttribute("content").toLowerCase(); + // Invalid content field + if (!content.match(/^\d+$/) && !content.match(/^\d+;/)) { + return null; + } + // Only check the first one since it takes priority + if (CommonUtil_1.CommonUtil.triggerOnce(fragment_1.FragmentUtil.getOwnerFragment(ruleContext), "meta_redirect_optional", false)) { + return null; + } + var timeMatch = content.match(/^(\d+); +[^ ]/); + if (!timeMatch || parseInt(timeMatch[1]) === 0) { + return (0, IRule_1.RulePass)("pass"); + } + else { + var time = parseInt(timeMatch[1]); + if (time < 72001) { + return (0, IRule_1.RuleFail)("fail"); + } + else { + return (0, IRule_1.RuleFail)("fail_longrefresh"); + } + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/meta_refresh_delay.ts": +/*!********************************************!*\ + !*** ./src/v4/rules/meta_refresh_delay.ts ***! + \********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.meta_refresh_delay = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +exports.meta_refresh_delay = { + 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": "meta_refresh_delay.html", + "Pass_0": "meta_refresh_delay.html", + "Potential_1": "meta_refresh_delay.html" + } + }, + messages: { + "en-US": { + "group": "Pages should not refresh automatically", + "Pass_0": "Rule Passed", + "Potential_1": "Verify page is not being caused to refresh automatically", + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.2.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: ["bisz58", "bc659a"], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (ruleContext.getAttribute("http-equiv").toLowerCase() !== 'refresh') + return null; + var content = ruleContext.getAttribute("content").toLowerCase(); + // Invalid content field + if (!content.match(/^\d+$/) && !content.match(/^\d+;/)) { + return null; + } + var fail = !content.match(/^\d+; +[^ ]/); + return !fail ? (0, IRule_1.RulePass)("Pass_0") : (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/meta_viewport_zoomable.ts": +/*!************************************************!*\ + !*** ./src/v4/rules/meta_viewport_zoomable.ts ***! + \************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.meta_viewport_zoomable = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +exports.meta_viewport_zoomable = { + id: "meta_viewport_zoomable", + context: "dom:meta[name][content]", + refactor: { + "meta_viewport_zoom": { + "Pass_0": "pass", + "Potential_1": "potential_zoomable" + } + }, + help: { + "en-US": { + "group": "meta_viewport_zoomable.html", + "pass": "meta_viewport_zoomable.html", + "potential_zoomable": "meta_viewport_zoomable.html" + } + }, + messages: { + "en-US": { + "group": "The 'meta[name=viewport]' should not prevent the browser zooming the content", + "pass": "The 'meta[name=viewport]' does not prevent the browser zooming the content", + "potential_zoomable": "Confirm the 'meta[name=viewport]' with \"{0}\" can be zoomed by user" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.4.4"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [{ + "b4f0c3": { + "Pass_0": "pass", + "Potential_1": "fail" + } + }], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (ruleContext.getAttribute("name").toLowerCase() !== 'viewport') + return null; + var content = ruleContext.getAttribute("content").toLowerCase(); + // neither maximum-scale nor user-scalable (default yes) + if (!content || content.trim() === '' || (!content.includes('maximum-scale') && !content.includes('user-scalable'))) + return null; + var user_msg = null; + var max_msg = null; + var props = content.split(","); + var user_scale_value = 'yes'; + var maximum_scale_value = '2.0'; + for (var _i = 0, props_1 = props; _i < props_1.length; _i++) { + var prop = props_1[_i]; + var pieces = prop.trim().split('='); + if (pieces.length < 2) + continue; + if (prop.includes('user-scalable')) { + user_msg = prop; + user_scale_value = pieces[1].trim(); + if (user_scale_value.startsWith("'") || user_scale_value.startsWith('"')) { + user_scale_value = user_scale_value.substring(1, user_scale_value.length - 1); + } + } + else if (prop.includes('maximum-scale')) { + max_msg = prop; + maximum_scale_value = pieces[1].trim(); + if (maximum_scale_value.startsWith("'") || maximum_scale_value.startsWith('"')) { + maximum_scale_value = maximum_scale_value.substring(1, maximum_scale_value.length - 1).trim(); + } + } + } + var value = Number(user_scale_value); + if (!isNaN(value)) { + if (value >= 1 || value <= -1) + user_scale_value = 'yes'; + } + var maximum_scale = 2.0; + value = Number(maximum_scale_value); + if (!isNaN(value)) { + if (value < 0) + maximum_scale = 2.0; + else + maximum_scale = value; + } + else { + if (maximum_scale_value === 'yes') + maximum_scale = 1.0; + else + maximum_scale = 0.1; + } + // user-scalable is not set to 'yes', ignore maximum_scale + if (user_scale_value !== 'yes') { + return (0, IRule_1.RulePotential)("potential_zoomable", [user_msg]); + } + // user-scalable is 'yes', but maximum_scale is too small + if (maximum_scale < 2.0) { + return (0, IRule_1.RulePotential)("potential_zoomable", [max_msg]); + } + return (0, IRule_1.RulePass)("pass"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/noembed_content_exists.ts": +/*!************************************************!*\ + !*** ./src/v4/rules/noembed_content_exists.ts ***! + \************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.noembed_content_exists = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.noembed_content_exists = { + id: "noembed_content_exists", + context: "dom:noembed", + refactor: { + "Valerie_Noembed_HasContent": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + "Pass_0": "noembed_content_exists.html", + "Potential_1": "noembed_content_exists.html", + "group": "noembed_content_exists.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Add descriptive text to the <noembed> element", + "group": "<noembed> elements should contain descriptive text" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_FOUR + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var passed = CommonUtil_1.CommonUtil.hasInnerContentHidden(ruleContext); + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/object_text_exists.ts": +/*!********************************************!*\ + !*** ./src/v4/rules/object_text_exists.ts ***! + \********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.object_text_exists = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +var AccNameUtil_1 = __webpack_require__(/*! ../util/AccNameUtil */ "./src/v4/util/AccNameUtil.ts"); +exports.object_text_exists = { + 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": "object_text_exists.html", + "pass": "object_text_exists.html", + "fail_no_text_alternative": "object_text_exists.html" + } + }, + messages: { + "en-US": { + "group": "<object> element must have a text alternative for the content rendered by the object", + "pass": "<object> element has a text alternative", + "fail_no_text_alternative": "An <object> element does not have a text alternative" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: "8fc3b6", + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + // Detect if this object is of type text, by checking the object type in the case it is text then do not trigger this rule + if (ruleContext.hasAttribute("type") && (ruleContext.getAttribute("type")).indexOf("text") !== -1) { + return null; + } + // ignore if an explicit role is specified: including 'presentation', 'none', 'application', 'document' or 'img' + // this case will be covered in other rules + var role = ruleContext.getAttribute("role"); + if (role) { + return null; + } + // Per ACT, ignore embedded HTML files + var data = ruleContext.getAttribute("data"); + var ext = data && typeof data === typeof "" ? data.substring(data.lastIndexOf(".")) : ""; + if (ext === ".html" || ext === ".htm") { + return null; + } + var pair = AccNameUtil_1.AccNameUtil.computeAccessibleName(ruleContext); + var passed = pair && pair.name && pair.name.trim().length > 0; + //let passed = ARIAMapper.computeName(ruleContext).trim().length > 0; + if (passed) { + return (0, IRule_1.RulePass)("pass"); + } + else { + return (0, IRule_1.RuleFail)("fail_no_text_alternative"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/page_title_exists.ts": +/*!*******************************************!*\ + !*** ./src/v4/rules/page_title_exists.ts ***! + \*******************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.page_title_exists = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var ancestor_1 = __webpack_require__(/*! ../../v2/checker/accessibility/util/ancestor */ "./src/v2/checker/accessibility/util/ancestor.ts"); +exports.page_title_exists = { + 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": "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: { + "en-US": { + "group": "The page should have a title that correctly identifies the subject of the page", + "Pass_0": "Rule Passed", + "Fail_1": "Missing <head> element so there can be no <title> element present", + "Fail_2": "Missing <title> element in <head> element", + "Fail_3": "The <title> element is empty (no innerHTML)" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [{ + "2779a5": { + "Pass_0": "pass", + "Fail_1": "pass", + "Fail_2": "fail", + "Fail_3": "fail" + } + }], + run: function (context, options, contextHierarchies) { + // This rule does not apply inside a presentational frame + if (ancestor_1.AncestorUtil.isFrame(contextHierarchies)) { + return null; + } + var ruleContext = context["dom"].node; + // First, find the head element + var findHead = ruleContext.firstChild; + var findTitle = null; + while (findHead != null) { + if (findHead.nodeName.toLowerCase() == "head") + break; + findHead = findHead.nextSibling; + } + var possibleTitles = ruleContext.querySelectorAll("title"); + for (var idx = 0; idx < possibleTitles.length; ++idx) { + if (!CommonUtil_1.CommonUtil.getAncestor(possibleTitles[idx], ["svg"])) { + findTitle = possibleTitles[idx]; + break; + } + } + if (findHead === null) { + if (!findTitle) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + } + if (findTitle === null) { // don't have title second PoF + return (0, IRule_1.RuleFail)("Fail_2"); + } + // if we get here we have <head> and <title> + if (findTitle != null && CommonUtil_1.CommonUtil.getInnerText(findTitle).trim().length > 0) { + return (0, IRule_1.RulePass)("Pass_0"); + } + else { // <title> has no innerHTML third PoF + return (0, IRule_1.RuleFail)("Fail_3"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/page_title_valid.ts": +/*!******************************************!*\ + !*** ./src/v4/rules/page_title_valid.ts ***! + \******************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.page_title_valid = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.page_title_valid = { + 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": "page_title_valid.html", + // "Fail_1": "page_title_valid.html", + "Potential_2": "page_title_valid.html", + "group": "page_title_valid.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + // "Fail_1": "Page <title> is empty", + "Potential_2": "Verify that using the filename as the page <title> value is descriptive", + "group": "Page <title> should be a descriptive title, rather than a filename" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var titleStr = CommonUtil_1.CommonUtil.getInnerText(ruleContext).trim(); + // allow .com, .net and .org + var titleStrLowercase = titleStr.toLowerCase(); + if (titleStrLowercase.includes(".com") || titleStrLowercase.includes(".net") || titleStrLowercase.includes(".org")) { + return (0, IRule_1.RulePass)("Pass_0", [titleStr]); + } + if (titleStr.length === 0) { + // This is covered by page_title_exists + return null; //RuleFail("Fail_1"); + } + else { + var passed = !/^\S*\.[a-zA-Z]{1,4}(?!.)|^https?:\/\/\S*/i.test(titleStr); + if (!passed) { + return (0, IRule_1.RulePotential)("Potential_2"); + } + else { + return (0, IRule_1.RulePass)("Pass_0", [titleStr]); + } + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/script_focus_blur_review.ts": +/*!**************************************************!*\ + !*** ./src/v4/rules/script_focus_blur_review.ts ***! + \**************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.script_focus_blur_review = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +exports.script_focus_blur_review = { + 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": "script_focus_blur_review.html", + "Potential_1": "script_focus_blur_review.html", + "group": "script_focus_blur_review.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify script does not remove focus from content that normally receives focus", + "group": "Scripting must not remove focus from content that normally receives focus" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.1.1", "2.4.7", "3.2.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = ruleContext.getAttribute("onfocus").indexOf(".blur(") == -1; + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/script_onclick_avoid.ts": +/*!**********************************************!*\ + !*** ./src/v4/rules/script_onclick_avoid.ts ***! + \**********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.script_onclick_avoid = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.script_onclick_avoid = { + id: "script_onclick_avoid", + context: "dom:*[onclick]", + dependencies: ["script_onclick_misuse"], + refactor: { + "RPT_Script_OnclickHTML2": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + "Pass_0": "script_onclick_avoid.html", + "Potential_1": "script_onclick_avoid.html", + "group": "script_onclick_avoid.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify that 'onclick' events are not used in script to emulate a link", + "group": "Scripts should not be used to emulate links" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.1.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_FOUR + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Don't trigger this for SVG element for now until a determination is made (by Rich) + // to support SVG at a point when the SVG a11y spec is ready. + if (CommonUtil_1.CommonUtil.getAncestor(ruleContext, "svg")) { + return (0, IRule_1.RulePass)("Pass_0"); + } + // If there's an aria-role specified, don't trigger this. + if (CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "role")) + return (0, IRule_1.RulePass)("Pass_0"); + var nodeName = ruleContext.nodeName.toLowerCase(); + var passed = nodeName == "a" || nodeName == "area" || nodeName == "input"; + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/script_onclick_misuse.ts": +/*!***********************************************!*\ + !*** ./src/v4/rules/script_onclick_misuse.ts ***! + \***********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.script_onclick_misuse = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.script_onclick_misuse = { + id: "script_onclick_misuse", + context: "dom:*[onclick]", + refactor: { + "RPT_Script_OnclickHTML1": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + "Pass_0": "script_onclick_misuse.html", + "Potential_1": "script_onclick_misuse.html", + "group": "script_onclick_misuse.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Possible use of a script to emulate a link", + "group": "Scripts should not be used to emulate links" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var validateParams = { + failSubstring: { + value: [".asp", ".aspx", ".cfm", ".cfml", ".cgi", ".htm", ".html", ".shtm", + ".shtml", ".php", ".pl", ".py", ".shtm", ".shtml", ".xhtml", + "location.href"], + type: "[string]" + } + }; + var ruleContext = context["dom"].node; + // If there's an aria-role specified, don't trigger this. + var passed = CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "role"); + // If this is an a or area, don't trigger if there's an href. + var nodeName = ruleContext.nodeName.toLowerCase(); + passed = passed || ((nodeName == "a" || nodeName == "area") && CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "href")); + // If the guards failed, check to see if they're looking at links + if (!passed) { + var failSubstring = validateParams.failSubstring.value; + ; + var onclick_1 = ruleContext.getAttribute("onclick").toLowerCase(); + passed = true; + for (var i = 0; passed && i < failSubstring.length; ++i) { + passed = onclick_1.indexOf(failSubstring[i]) == -1; + } + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/script_select_review.ts": +/*!**********************************************!*\ + !*** ./src/v4/rules/script_select_review.ts ***! + \**********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.script_select_review = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +exports.script_select_review = { + id: "script_select_review", + context: "dom:select", + refactor: { + "WCAG20_Select_NoChangeAction": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + "Pass_0": "script_select_review.html", + "Potential_1": "script_select_review.html", + "group": "script_select_review.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify that no change of context or action occurs when selection options in this component receive focus", + "group": "No changes of context should occur when a selection value receives focus" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["3.2.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = !ruleContext.hasAttribute("onchange") && !ruleContext.hasAttribute("onfocus"); + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/select_options_grouped.ts": +/*!************************************************!*\ + !*** ./src/v4/rules/select_options_grouped.ts ***! + \************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.select_options_grouped = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.select_options_grouped = { + id: "select_options_grouped", + context: "dom:select", + refactor: { + "WCAG20_Select_HasOptGroup": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + "Pass_0": "select_options_grouped.html", + "Potential_1": "select_options_grouped.html", + "group": "select_options_grouped.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Group of related options may need <optgroup>", + "group": "Groups of related options within a selection list should be grouped with <optgroup>" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var validateParams = { + paramNumOptions: { + value: 10, + type: "integer" + } + }; + var ruleContext = context["dom"].node; + // Handle the cases where optgroup is hidden, which should trigger a violations + // but in the case that Check hidden option is set then should not trigger a violation. + var passed = CommonUtil_1.CommonUtil.getChildByTagHidden(ruleContext, "optgroup", false, true).length > 0 || + CommonUtil_1.CommonUtil.getChildByTagHidden(ruleContext, "option", false, true).length <= + validateParams.paramNumOptions.value; + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/skip_main_described.ts": +/*!*********************************************!*\ + !*** ./src/v4/rules/skip_main_described.ts ***! + \*********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.skip_main_described = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.skip_main_described = { + id: "skip_main_described", + context: "dom:body", + dependencies: ["skip_main_exists"], + refactor: { + "WCAG20_Body_FirstAContainsSkipText_Native_Host_Sematics": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + "Pass_0": "skip_main_described.html", + "Potential_1": "skip_main_described.html", + "group": "skip_main_described.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify that if this hyperlink skips content, the description communicates where it links to", + "group": "The description of a hyperlink used to skip content must communicate where it links to" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var validateParams = { + paramSkipText: { + value: ["skip", "jump"], + type: "[string]" + } + }; + var ruleContext = context["dom"].node; + // Get the anchors on the page + var doc = ruleContext.ownerDocument; + // Check for landmarks first + var passed; + if (CacheUtil_1.CacheUtil.getCache(ruleContext, "IBM_hasLandmarks_Implicit", null) === null) { + CacheUtil_1.CacheUtil.setCache(ruleContext, "IBM_hasLandmarks_Implicit", CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, ["application", "banner", "complementary", "contentinfo", + "form", "main", "navigation", "search" + ], true, true).length > 0); + } + passed = CacheUtil_1.CacheUtil.getCache(ruleContext, "IBM_hasLandmarks_Implicit", false); + if (!passed) { // No landmarks, check for skip links + var links = doc.links; + // Skip link should be the first one on the page with an href attribute (i.e., links[0]) + // also if the first link is hidden then we should also trigger a violation. + if (links && links.length > 0 && VisUtil_1.VisUtil.isNodeVisible(links[0])) { + var testText = CommonUtil_1.CommonUtil.getInnerText(doc.links[0]).toLowerCase(); + for (var i = 0; !passed && i < validateParams.paramSkipText.value.length; ++i) { + passed = testText.indexOf(validateParams.paramSkipText.value[i]) != -1; + } + } + else + passed = false; + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/skip_main_exists.ts": +/*!******************************************!*\ + !*** ./src/v4/rules/skip_main_exists.ts ***! + \******************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.skip_main_exists = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var ancestor_1 = __webpack_require__(/*! ../../v2/checker/accessibility/util/ancestor */ "./src/v2/checker/accessibility/util/ancestor.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.skip_main_exists = { + 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": "skip_main_exists.html", + "Fail_1": "skip_main_exists.html", + "group": "skip_main_exists.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "The page does not provide a way to quickly navigate to the main content (ARIA \"main\" landmark or a skip link)", + "group": "Pages must provide a way to skip directly to the main content" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + // This rule does not apply inside a presentational frame + if (ancestor_1.AncestorUtil.isPresentationFrame(contextHierarchies)) { + return null; + } + var ruleContext = context["dom"].node; + // Get the anchors on the page + var doc = ruleContext.ownerDocument; + // Check for landmarks first + var passed; + if (CacheUtil_1.CacheUtil.getCache(ruleContext, "IBM_hasLandmarks_Implicit", null) === null) { + CacheUtil_1.CacheUtil.setCache(ruleContext, "IBM_hasLandmarks_Implicit", CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, ["application", "banner", "complementary", "contentinfo", + "form", "main", "navigation", "search" + ], true, true).length > 0); + } + passed = CacheUtil_1.CacheUtil.getCache(ruleContext, "IBM_hasLandmarks_Implicit", false); + if (!passed) { // No landmarks, check for skip links + var anchors = CommonUtil_1.CommonUtil.getDocElementsByTag(ruleContext, "a"); + // Skip anchor should be the first one on the page with an href attribute + var testAnchor = null; + for (var i = 0; i < anchors.length; ++i) { + if (anchors[i].hasAttribute("href") && VisUtil_1.VisUtil.isNodeVisible(anchors[i])) { + testAnchor = anchors[i]; + break; + } + } + // Pull out the target id + var targetId = null; + if (testAnchor != null) { + var hrefStr = testAnchor.getAttribute("href"); + var idx = hrefStr.indexOf("#"); + if (idx != -1) { + targetId = hrefStr.substring(idx + 1); + } + } + // Determine if there is an element id or named anchor on the page with this + // target id. + if (targetId != null) { + passed = doc.getElementById(targetId) != null; + for (var i = 0; !passed && i < anchors.length; ++i) { + if (!anchors[i].hasAttribute("href") && + anchors[i].hasAttribute("name") && + anchors[i].getAttribute("name") == targetId) { + passed = true; + } + } + } + } + //return new ValidationResult(passed, [ruleContext], '', '', []); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/style_background_decorative.ts": +/*!*****************************************************!*\ + !*** ./src/v4/rules/style_background_decorative.ts ***! + \*****************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.style_background_decorative = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.style_background_decorative = { + 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": "style_background_decorative.html", + "Potential_1": "style_background_decorative.html", + "group": "style_background_decorative.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify the CSS background image does not convey important information", + "group": "Images included by using CSS alone must not convey important information" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var nodeName = ruleContext.nodeName.toLowerCase(); + var passed = true; + if (nodeName === "link" && ruleContext.hasAttribute("rel") && + ruleContext.getAttribute("rel").toLowerCase() === "stylesheet") { + // External stylesheet - trigger + passed = CommonUtil_1.CommonUtil.triggerOnce(ruleContext, "style_background_decorative", false); + } + if (passed && nodeName === "style" || ruleContext.hasAttribute("style")) { + var styleText = void 0; + if (nodeName === "style") + styleText = CommonUtil_1.CommonUtil.getInnerText(ruleContext); + else + styleText = ruleContext.getAttribute("style"); + var bgMatches = styleText.match(/background:[^;]*/g); + if (bgMatches !== null) { + for (var i = 0; passed && i < bgMatches.length; ++i) + passed = bgMatches[i].indexOf("url(") === -1; + } + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/style_before_after_review.ts": +/*!***************************************************!*\ + !*** ./src/v4/rules/style_before_after_review.ts ***! + \***************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.style_before_after_review = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CSSUtil_1 = __webpack_require__(/*! ../util/CSSUtil */ "./src/v4/util/CSSUtil.ts"); +/** + * Description: Trigger if :before and :after are used in CSS (Internal and External) with content + * Origin: WCAG 2.0 F87 + */ +exports.style_before_after_review = { + 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": "style_before_after_review.html", + "Pass_0": "style_before_after_review.html", + "Potential_1": "style_before_after_review.html" + } + }, + messages: { + "en-US": { + "group": "Do not use CSS '::before' and '::after' pseudo-elements to insert non-decorative content", + "Pass_0": "Rule Passed", + "Potential_1": "Verify the '::before' and '::after' pseudo-elements do not insert non-decorative content" + } + }, + rulesets: [{ + // Turn off the rule due to the obsolete requirement + //id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + id: [], + num: "1.3.1", + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = true; + //check Internal styles + if (ruleContext.nodeName.toLowerCase() === "style") { + var css = CSSUtil_1.CSSUtil.getCSSStyle(ruleContext); + for (var i = 0; passed && i < css.length; ++i) { + // Guard against bad CSS + if (css[i].selector) { + passed = (css[i].selector.indexOf(":before") === -1 && css[i].selector.indexOf(":after") === -1) || + !("content" in css[i].values) || css[i].values["content"].trim().length === 0 || css[i].values["content"].trim() === "\"\"" + || css[i].values["content"].trim() === "\'\'" || css[i].values["content"].trim() === "none" || css[i].values["content"].trim() === "attr(x)" + || css[i].values["content"].trim() === "attr(y)"; + } + } + // check special rules in the stylesheets + if (passed) { + for (var sIndex = 0; sIndex < ruleContext.ownerDocument.styleSheets.length; sIndex++) { + var sheet = ruleContext.ownerDocument.styleSheets[sIndex]; + if (sheet.ownerNode === ruleContext) { + try { + var styleRules = sheet.cssRules ? sheet.cssRules : sheet.rules; + if (styleRules) { + for (var styleRuleIndex = 0; passed && styleRuleIndex < styleRules.length; styleRuleIndex++) { + var styleRule = styleRules[styleRuleIndex]; + // check @media rules + // + // The check 'if (styleRule instanceof CSSMediaRule)' doesn't work when run in Karma(but works in DAP) + // so let's access the type directly as a workaround + var styleImportRule = void 0; + if (styleRule.type && styleRule.type === 4 /* CSSRule.MEDIA_RULE */) { + var styleMediaRule = styleRule; + var mediaRules = styleMediaRule.cssRules; + if (mediaRules) { + for (var rIndex = 0; passed && rIndex < mediaRules.length; rIndex++) { + var mRule = mediaRules[rIndex]; // selectorText not recognized + if (mRule.selectorText !== null && mRule.selectorText !== undefined) { + var rule = mRule.selectorText.toLowerCase(); + if (rule.indexOf(":before") !== -1 || rule.indexOf(":after") !== -1) { + var content = mRule.style['content']; + if (content && content.trim().length) { + if (content.trim() !== "\"\"" && + content.trim() !== "\'\'" && + content.trim() !== "none" && + content.trim() !== "attr(x)" && + content.trim() !== "attr(y)") { + passed = false; + } + } + } + } + } + } + } + // check import rules + else if (styleRule.type && styleRule.type === 3 /* CSSRule.IMPORT_RULE */ && (styleImportRule = styleRule).styleSheet) { + var rules = styleImportRule.styleSheet.cssRules ? + styleImportRule.styleSheet.cssRules : + styleImportRule.styleSheet.rules; + if (rules) { + for (var rIndex = 0; passed && rIndex < rules.length; rIndex++) { + var importedRule = rules[rIndex]; + // check @media rules + if (importedRule.type && importedRule.type === 4 /* CSSRule.MEDIA_RULE */) { + var mediaRules = importedRule.cssRules; + if (mediaRules) { + for (var mIndex = 0; mIndex < mediaRules.length; mIndex++) { + var mRule = mediaRules[mIndex]; // selectorText not recognized + if (mRule.selectorText !== null && mRule.selectorText !== undefined) { + var rule = mRule.selectorText.toLowerCase(); + if (rule.indexOf(":before") !== -1 || rule.indexOf(":after") !== -1) { + var content = mRule.style['content']; + if (content && content.trim().length) { + if (content.trim() !== "\"\"" && + content.trim() !== "\'\'" && + content.trim() !== "none" && + content.trim() !== "attr(x)" && + content.trim() !== "attr(y)") { + passed = false; + } + } + } + } + } + } + } + else if (importedRule.selectorText !== null && importedRule.selectorText !== undefined) { + var rule = importedRule.selectorText.toLowerCase(); + //support both single colon (:) and double colon (::) pseudo + if (rule.indexOf(":before") !== -1 || rule.indexOf(":after") !== -1) { + var content = importedRule.style['content']; + if (content && content.trim().length) { + if (content.trim() !== "\"\"" && + content.trim() !== "\'\'" && + content.trim() !== "none" && + content.trim() !== "attr(x)" && + content.trim() !== "attr(y)") { + passed = false; + } + } + } + } + } + } + } + } + } + } + catch (e) { + // Ignore css access issues + } + } + } + } + } + //check external styles + if (ruleContext.nodeName.toLowerCase() === "link" && ruleContext.hasAttribute("rel") && + ruleContext.getAttribute("rel").toLowerCase() === "stylesheet" && + ruleContext.hasAttribute("href") && ruleContext.getAttribute("href").trim().length !== 0) { + for (var sIndex = 0; sIndex < ruleContext.ownerDocument.styleSheets.length; sIndex++) { + var sheet = ruleContext.ownerDocument.styleSheets[sIndex]; + if (sheet && sheet.ownerNode === ruleContext) { + try { + var rules = sheet.cssRules ? sheet.cssRules : sheet.rules; + if (rules) { + for (var rIndex = 0; passed && rIndex < rules.length; rIndex++) { + var ruleFromLink = rules[rIndex]; + // check @media rules + if (ruleFromLink.type && ruleFromLink.type === 4 /* CSSRule.MEDIA_RULE */) { + var mediaRules = ruleFromLink.cssRules; + if (mediaRules) { + for (var mIndex = 0; passed && mIndex < mediaRules.length; mIndex++) { + var mRule = mediaRules[mIndex]; + if (mRule.selectorText !== null && mRule.selectorText !== undefined) { + var ruleSelTxt = mRule.selectorText.toLowerCase(); + if (ruleSelTxt.indexOf(":before") !== -1 || ruleSelTxt.indexOf(":after") !== -1) { + var content = mRule.style['content']; + if (content && content.trim().length) { + if (content.trim() !== "\"\"" && + content.trim() !== "\'\'" && + content.trim() !== "none" && + content.trim() !== "attr(x)" && + content.trim() !== "attr(y)") { + passed = false; + } + } + } + } + } + } + } + else if (rules[rIndex].selectorText !== null && rules[rIndex].selectorText !== undefined) { + var rule = rules[rIndex].selectorText.toLowerCase(); + //support both single colon (:) and double colon (::) pseudo + if (rule.indexOf(":before") !== -1 || rule.indexOf(":after") !== -1) { + var content = rules[rIndex].style['content']; + if (content && content.trim().length) { + if (content.trim() !== "\"\"" && + content.trim() !== "\'\'" && + content.trim() !== "none" && + content.trim() !== "attr(x)" && + content.trim() !== "attr(y)") { + passed = false; + } + } + } + } + } + } + } + catch (e) { + // Ignore css access issues + } + } + } + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/style_color_misuse.ts": +/*!********************************************!*\ + !*** ./src/v4/rules/style_color_misuse.ts ***! + \********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.style_color_misuse = void 0; +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var DOMWalker_1 = __webpack_require__(/*! ../../v2/dom/DOMWalker */ "./src/v2/dom/DOMWalker.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +exports.style_color_misuse = { + 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": "style_color_misuse.html", + "Pass_0": "style_color_misuse.html", + "Potential_1": "style_color_misuse.html" + } + }, + messages: { + "en-US": { + "group": "Combine color and descriptive markup to convey information", + "Pass_0": "Rule Passed", + "Potential_1": "Verify color is not used as the only visual means of conveying information" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: "1.4.1", + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var nodeName = ruleContext.nodeName.toLowerCase(); + var styleText = ""; + if (nodeName === "style") { + styleText = CommonUtil_1.CommonUtil.getInnerText(ruleContext).toLowerCase(); + // check import + for (var sIndex = 0; sIndex < ruleContext.ownerDocument.styleSheets.length; sIndex++) { + var sheet = ruleContext.ownerDocument.styleSheets[sIndex]; + if (sheet && sheet.ownerNode === ruleContext) { + try { + var styleRules = sheet.cssRules ? sheet.cssRules : sheet.rules; + for (var styleRuleIndex = 0; styleRuleIndex < styleRules.length; styleRuleIndex++) { + var styleRule = styleRules[styleRuleIndex]; + var styleImportRule = void 0; + if (styleRule.type && styleRule.type === 3 /* CSSRule.IMPORT_RULE */ && (styleImportRule = styleRule).styleSheet) { + var importRules = styleImportRule.styleSheet.cssRules ? styleImportRule.styleSheet.cssRules : styleImportRule.styleSheet.rules; + for (var rIndex = 0; rIndex < importRules.length; rIndex++) { + var iRule = importRules[rIndex]; + styleText += iRule.cssText; + } + } + } + } + catch (e) { + // Silence css access issues + } + } + } + } + else if (ruleContext.hasAttribute("style")) { + styleText = ruleContext.getAttribute("style").toLowerCase(); + } + else if (nodeName === "link" && //check external styles + ruleContext.hasAttribute("rel") && + ruleContext.getAttribute("rel").toLowerCase() === "stylesheet" && + ruleContext.hasAttribute("href") && + ruleContext.getAttribute("href").trim().length !== 0) { + for (var sIndex = 0; sIndex < ruleContext.ownerDocument.styleSheets.length; sIndex++) { + var sheet = ruleContext.ownerDocument.styleSheets[sIndex]; + if (sheet && sheet.ownerNode === ruleContext) { + try { + var rules = sheet.cssRules ? sheet.cssRules : sheet.rules; + for (var rIndex = 0; rIndex < rules.length; rIndex++) { + styleText += rules[rIndex].cssText; + } + } + catch (e) { + // Silence css access issues + } + } + } + } + var passed = true; + // Defect 1022: Find uses of 'color' and '*background*' only + var isBgUsed = styleText.match(/\bbackground\b/i); + var theColorStyleToCheck = styleText.replace(/-color/g, ""); + var isColorUsed = theColorStyleToCheck.match(/\bcolor\b/i); + if (ruleContext.hasAttribute("color") || isColorUsed || isBgUsed) { + var goodTagNames = { + "em": "", "strong": "", "cite": "", "dfn": "", + "code": "", "samp": "", "kbd": "", "var": "", "abbr": "", "acronym": "" + }; + // Color used � are there semantics involved? + passed = nodeName in goodTagNames || + CommonUtil_1.CommonUtil.getAncestor(ruleContext, goodTagNames) !== null; + if (!passed && ruleContext.hasChildNodes()) { + //let nw = new NodeWalker(ruleContext); + var nw = new DOMWalker_1.DOMWalker(ruleContext); + while (!passed && nw.nextNode() && nw.node !== ruleContext) { + passed = nw.node.nodeName.toLowerCase() in goodTagNames; + } + } + } + // Trigger only once + if (!passed) { + var triggered = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "style_color_misuse", false); + passed = triggered; + CacheUtil_1.CacheUtil.setCache(ruleContext.ownerDocument, "style_color_misuse", true); + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/style_focus_visible.ts": +/*!*********************************************!*\ + !*** ./src/v4/rules/style_focus_visible.ts ***! + \*********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.style_focus_visible = void 0; +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CSSUtil_1 = __webpack_require__(/*! ../util/CSSUtil */ "./src/v4/util/CSSUtil.ts"); +var ColorUtil_1 = __webpack_require__(/*! ../util/ColorUtil */ "./src/v4/util/ColorUtil.ts"); +exports.style_focus_visible = { + id: "style_focus_visible", + context: "dom:*", + refactor: { + "RPT_Style_HinderFocus1": { + "Potential_1": "potential_focus_not_visible" + } + }, + help: { + "en-US": { + "group": "style_focus_visible.html", + "potential_focus_not_visible": "style_focus_visible.html", + "pass_focus_visible": "style_focus_visible.html" + } + }, + messages: { + "en-US": { + "group": "The keyboard focus indicator should be visible when default border or outline is modified by CSS", + "potential_focus_not_visible": "Check the keyboard focus indicator is visible when using CSS declaration for 'border' or 'outline'", + "pass_focus_visible": "The keyboard focus indicator is visible or is not changed from the browser default" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: "2.4.7", + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var validateParams = { + skipNodes: { + value: ["table"], + type: "[string]" + }, + checkParams: { + value: ["border", "border-width", "border-style", + "border-top-width", "border-right-width", "border-bottom-width", "border-left-width", + "border-top-color", "border-right-color", "border-bottom-color", "border-left-color", + "border-top-style", "border-right-style", "border-bottom-style", "border-left-style", + "outline", "outline-width", "outline-color", "outline-style"], + type: "[string]" + } + }; + var ruleContext = context["dom"].node; + if (!CommonUtil_1.CommonUtil.isTabbable(ruleContext) || validateParams.skipNodes.value.includes(ruleContext.nodeName.toLowerCase())) { + return null; + } + var normalStyles = CSSUtil_1.CSSUtil.getDefinedStyles(ruleContext); // consider noth user-defined and browser default + var focusStyles = []; + focusStyles.push(CSSUtil_1.CSSUtil.getDefinedStyles(ruleContext, ":focus")); + focusStyles.push(CSSUtil_1.CSSUtil.getDefinedStyles(ruleContext, ":focus-visible")); + focusStyles.push(CSSUtil_1.CSSUtil.getDefinedStyles(ruleContext, ":focus-within")); + // if focus style is defined + var styleObj = focusStyles[0]; + if (Object.keys(styleObj).length > 0) { + //pass if outline is not defined at all, browser will override + if (((!normalStyles["outline-width"] && !normalStyles["outline-style"]) + || (normalStyles["outline-width"] === '0px' || normalStyles["outline-style"] === 'none')) + && (!styleObj["outline-style"] || styleObj["outline-style"] !== 'none')) + return (0, IRule_1.RulePass)("pass_focus_visible"); + var noneStyle = false; + var numOtherStyle = 0; + for (var focusStyle in styleObj) { + if (validateParams.checkParams.value.includes(focusStyle)) { + /** + * failure case: + * 1. focus outline or border style is none and no other style (color or width) defined + * 2. focus outline or border style is same with the normal + * 3. size in focus is same or smaller than default + * 4. color contrast in focus is better + */ + var focusStyleValue = styleObj[focusStyle]; + var normalStyleValue = normalStyles[focusStyle]; + if (focusStyle.includes("style")) { + if (focusStyleValue === "none") + noneStyle = true; + else + noneStyle = false; + if (normalStyleValue && focusStyleValue !== "none" && focusStyleValue === normalStyleValue) + return (0, IRule_1.RulePotential)("potential_focus_not_visible"); + } + else if (focusStyle.includes("width")) { + numOtherStyle++; + //proximation of the width style + if (focusStyleValue === 'initial') + focusStyleValue = '2px'; + else if (focusStyleValue === 'thin') + focusStyleValue = '1px'; + else if (focusStyleValue === 'medium') + focusStyleValue = '2px'; + else if (focusStyleValue === 'thick') + focusStyleValue = '3px'; + if (normalStyleValue) { + if (normalStyleValue === 'initial') + normalStyleValue = '2px'; + else if (normalStyleValue === 'thin') + normalStyleValue = '1px'; + else if (normalStyleValue === 'medium') + normalStyleValue = '2px'; + else if (normalStyleValue === 'thick') + normalStyleValue = '3px'; + } + focusStyleValue = CSSUtil_1.CSSUtil.getPixelsFromStyle(focusStyleValue, ruleContext); + normalStyleValue = CSSUtil_1.CSSUtil.getPixelsFromStyle(normalStyleValue, ruleContext); + if (focusStyleValue == 0 || focusStyleValue <= normalStyleValue) + return (0, IRule_1.RulePotential)("potential_focus_not_visible"); + } + else if (focusStyle.includes("color")) { + numOtherStyle++; + // get the element bg color + var colorCombo = ColorUtil_1.ColorUtil.ColorCombo(ruleContext); + if (colorCombo === null) + continue; + var bg = colorCombo.bg; + if (!bg) + continue; + //proximation of the width style + if (focusStyleValue === 'initial') + focusStyleValue = 'black'; + if (normalStyleValue && normalStyleValue === 'initial') + normalStyleValue = 'black'; + // get the border/outline color as fg colors + focusStyleValue = ColorUtil_1.ColorUtil.Color(focusStyleValue); + normalStyleValue = ColorUtil_1.ColorUtil.Color(normalStyleValue); + if (focusStyleValue === null || normalStyleValue === null) + continue; + //get the border/outline color contrast ratios + var focusRatio = focusStyleValue.contrastRatio(bg); + var normalRatio = normalStyleValue.contrastRatio(bg); + if (focusRatio < 3.0 || focusRatio <= normalRatio) + return (0, IRule_1.RulePotential)("potential_focus_not_visible"); + } + else { + //other + numOtherStyle++; + if (normalStyleValue != null && focusStyleValue === normalStyleValue) + return (0, IRule_1.RulePotential)("potential_focus_not_visible"); + } + } + } + // warn if a border/outline focus style is 'none' and noe other (color and/or width) is defined + if (noneStyle && numOtherStyle === 0) + return (0, IRule_1.RulePotential)("potential_focus_not_visible"); + } + else { + // no focus style defined + // warn if normal style is defined and is not "none" + for (var normalStyle in normalStyles) { + if (validateParams.checkParams.value.includes(normalStyle)) { + var normalStyleValue = normalStyles[normalStyle]; + // ignore if border or outline style is "none" + if (normalStyleValue !== 'none') + return (0, IRule_1.RulePotential)("potential_focus_not_visible"); + } + } + } + return (0, IRule_1.RulePass)("pass_focus_visible"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/style_highcontrast_visible.ts": +/*!****************************************************!*\ + !*** ./src/v4/rules/style_highcontrast_visible.ts ***! + \****************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.style_highcontrast_visible = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +exports.style_highcontrast_visible = { + 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": "style_highcontrast_visible.html", + "Manual_1": "style_highcontrast_visible.html", + "group": "style_highcontrast_visible.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Manual_1": "Confirm Windows high contrast mode is supported when using CSS to include, position or alter non-decorative content", + "group": "Windows high contrast mode must be supported when using CSS to include, position or alter non-decorative content" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next"], + "num": ["1.1.1", "1.3.2", "1.4.11"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }, + { + "id": ["WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1", "1.3.2", "1.4.11"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var nodeName = ruleContext.nodeName.toLowerCase(); + if (nodeName === "link" && + (!ruleContext.hasAttribute("rel") || ruleContext.getAttribute("rel").toLowerCase() !== "stylesheet")) + return (0, IRule_1.RulePass)("Pass_0"); + if (nodeName !== "style" && nodeName !== "link" && + ruleContext.hasAttribute("style") && ruleContext.getAttribute("style").trim().length === 0) + return (0, IRule_1.RulePass)("Pass_0"); + var triggered = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "style_highcontrast_visible", false); + var passed = triggered; + // Packages.java.lang.System.out.println(triggered); + CacheUtil_1.CacheUtil.setCache(ruleContext.ownerDocument, "style_highcontrast_visible", true); + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RuleManual)("Manual_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/style_hover_persistent.ts": +/*!************************************************!*\ + !*** ./src/v4/rules/style_hover_persistent.ts ***! + \************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.style_hover_persistent = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.style_hover_persistent = { + id: "style_hover_persistent", + context: "dom:style, dom:*[style], dom:*", + help: { + "en-US": { + "Pass_0": "style_hover_persistent.html", + // "Pass_1": "style_hover_persistent.html", + "Pass_2": "style_hover_persistent.html", + "Potential_1": "style_hover_persistent.html", + "Potential_2": "style_hover_persistent.html", + "Potential_3": "style_hover_persistent.html", + "group": "style_hover_persistent.html" + } + }, + messages: { + "en-US": { + "Pass_0": "the hover: pseudo-class is not used to display content", + // "Pass_1": "content displayed via the :hover pseudo-class is a direct child of the trigger element", + "Pass_2": "content displayed via the :hover pseudo-class is the adjacent sibling of the trigger element", + "Potential_1": "Confirm the pointer can be positioned over the displayed element, not just the trigger", + "Potential_2": "Confirm the pointer can be positioned over all the information displayed on hover", + "Potential_3": "Confirm the margin style attribute has not prevented the pointer from hovering over the displayed element, not just the trigger", + "group": "The pointer should be able to move over content displayed on hover" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_2"], + "num": ["1.4.13"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var pass0 = false; + var pass1 = false; + var pass2 = false; // never happen + var potential1 = false; + var potential2 = false; + var potential3 = false; + var ruleContext = context["dom"].node; + var nodeName = ruleContext.nodeName.toLowerCase(); + var styleText = ""; + if (nodeName === "style") { + // console.log("RULE RUN ******************"); + styleText = CommonUtil_1.CommonUtil.getInnerText(ruleContext).toLowerCase(); + // check import + // console.log("ruleContext.ownerDocument.styleSheets.length = "+ruleContext.ownerDocument.styleSheets.length); + for (var sIndex = 0; sIndex < ruleContext.ownerDocument.styleSheets.length; ++sIndex) { + var sheet = ruleContext.ownerDocument.styleSheets[sIndex]; + if (sheet && sheet.ownerNode === ruleContext) { + try { + var styleRules = sheet.cssRules ? sheet.cssRules : sheet.rules; + // console.log("styleRules.length = "+styleRules.length); + for (var styleRuleIndex = 0; styleRuleIndex < styleRules.length; styleRuleIndex++) { + // console.log("**********"); + // console.log("********** FOR LOOP styleRuleIndex = "+styleRuleIndex); + var foundHover = false; + var hoverElement = ""; + var plusCombinator = false; + var tildeCombinator = false; + var afterCombinatorElement = ""; + var afterCombinatorElementDisplay = false; + var afterCombinatorElementDisplayValue = false; + var afterCombinatorElementHover = false; + var supportingElement = false; + var supportingHover = false; + var supportingHoverElementDisplayProperty = false; + var supportingHoverElementDisplayValue = false; + var adjacentPlusSibling = false; + var adjacentTildeMultipleSibling = false; + var styleRule = styleRules[styleRuleIndex]; + var ruleText = styleRules[styleRuleIndex].cssText; + // console.log("styleRules["+styleRuleIndex+"] = "+ruleText); + // 1. Check for :hover + if (ruleText.match(/:hover/g)) { + foundHover = true; + // console.log("1. found :hover = "+ foundHover); + // 2. Get hover element + hoverElement = ruleText.split(":")[0]; + // console.log("2. found element that goes with :hover = "+hoverElement); + } + else { + // console.log("1. No hover on css element so skip this rule"); + continue; // if no :hover skip this rule + } + // 3a. Check for css combinator + + // 4a. if so do we have an after combinator element + var plusTempStr = ruleText.substring(ruleText.indexOf("+") + 1); + plusTempStr = plusTempStr.trim(); + if (ruleText.match(/:hover \+/g) || ruleText.match(/:hover\+/g)) { + plusCombinator = true; + // console.log("3a. Found plusCombinator = "+ plusCombinator); + afterCombinatorElement = plusTempStr.split(" ")[0]; + // console.log("4a. Found plus afterCombinatorElement = "+afterCombinatorElement); + } + // 3b. Check for css combinator + + // 4b. if so do we have an after combinator element + if (ruleText.match(/:hover \~/g) || ruleText.match(/:hover\~/g)) { + // console.log("match = "+ruleText.match(":hover \~")); + tildeCombinator = true; + // console.log("3b. Found tildeCombinator = "+ tildeCombinator); + var plusTempStr_1 = ruleText.substring(ruleText.indexOf("~") + 1); + plusTempStr_1 = plusTempStr_1.trim(); + afterCombinatorElement = plusTempStr_1.split(" ")[0]; + // console.log("4b. Found tilde afterCombinatorElement = "+afterCombinatorElement); + } + if (!plusCombinator && !tildeCombinator) { + // NO plusCombinator or tildeCombinator so skip this rule + // console.log("NO plusCombinator or tildeCombinator so PASS"); + // console.log("**** REPORT PASS 0 HERE"); + return (0, IRule_1.RulePass)("Pass_0"); // JCH: should we have a N/A pass + } + // So now we have a css element with hover - element:hover so we have problems + // to check + // 5. Check if the after combinator element has display: property + // 6. Check if display property is not none + if (afterCombinatorElement) { + // get index of display: + // console.log("plusTempStr = "+plusTempStr); + var index = plusTempStr.indexOf("display:"); + if (index) { + afterCombinatorElementDisplay = true; + // console.log("5. Found afterCombinatorElementDisplay = "+afterCombinatorElementDisplay); + if (plusTempStr.slice(index + 8).trim().split(" ")[0] !== "none;") { + afterCombinatorElementDisplayValue = true; + // console.log("6. Found afterCombinatorElementDisplayValue not none = "+afterCombinatorElementDisplayValue); + } + else { + // console.log("afterCombinatorElementDisplayValue === none"); + // console.log("**** PUT POTENTIAL 0 HERE"); + continue; + } + } + else { + // this is bad css so it won't happen + // console.log("NO afterCombinatorElementDisplay so skip this rule"); + continue; + } + } + else { + // this is bad css so it won't happen + // console.log("NO afterCombinatorElement so skip this rule"); + continue; + } + if (afterCombinatorElementDisplayValue) + if (sheet && sheet.ownerNode === ruleContext) { + // console.log("**** At this point we have verified that we have a css element with a hover of the format span:hover + div { display: block; } with all the proper properties and values"); + // NOTE: At this point we have verified that we have a css element with a hover + // of the format span:hover + div { display: block; } + // with all the proper properties and values + try { + var styleRules2 = sheet.cssRules ? sheet.cssRules : sheet.rules; + // console.log("styleRules2.length = "+styleRules2.length); + for (var styleRuleIndex2 = 0; styleRuleIndex2 < styleRules2.length; styleRuleIndex2++) { + // Check rule for afterCominatorElement:hover + // If find afterCombinatorElement:hover see if rule has property display: value where + // value != none + // console.log("**********"); + // console.log("********** 2nd FOR styleRuleIndex2 = "+styleRuleIndex2); + var ruleText2 = styleRules[styleRuleIndex2].cssText; + // console.log("ruleText2 = ", ruleText2); + // console.log("afterCombinatorElement = "+afterCombinatorElement); + // Check all supporting elements for margin property + // If find margin STOP and REPORT ERROR + var regExString = afterCombinatorElement + " {"; + var trimRuleText2 = ruleText2.trim(); + var regIndex = trimRuleText2.indexOf(regExString); + var afterCombinatorElementProperties = trimRuleText2.slice(regIndex).trim(); + //if (!afterCombinatorElementProperties.match(/margin/g)) { + if (!trimRuleText2.match(/margin/g)) { + // console.log("No margin problem so continue on..."); + // do we have a supporting element css definitions + var supportingHoverElement = ruleText2.split(":")[0]; + supportingHoverElement = supportingHoverElement.split(" ")[0]; + // console.log("supportingHoverElement = "+supportingHoverElement); + // console.log("afterCombinatorElement = "+afterCombinatorElement); + // NEED TO CHECK FOR afterCominatorElement:hover in ONE STEP + if (supportingHoverElement === afterCombinatorElement && ruleText2.match(/:hover/g)) { + // console.log("7. Found supporting hover element same as afterCombinatorElement") + // 7. Found supporting hover element same as afterCombinatorElement + supportingElement = true; + // does supporting element have hover + // console.log("8. Supporting element has hover also = "+ foundHover); + // 8. Supporting element has hover also + supportingHover = true; + var index = ruleText2.indexOf("display:"); + // console.log("index = "+index); + if (index) { + // 9. Found supportingHoverElementDisplayProperty + supportingHoverElementDisplayProperty = true; + // console.log("9. Found supportingHoverElementDisplayProperty = "+supportingHoverElementDisplayProperty); + if (plusTempStr.slice(index + 8).trim().split(" ")[0] !== "none;") { + // 10. Found supportingHoverElementDisplayValue not none + supportingHoverElementDisplayValue = true; + // console.log("10. Found supportingHoverElementDisplayValue not none = "+supportingHoverElementDisplayValue); + // Get list of hover elements and next sibling for + + // For + there must be at least one ADJACENT sibling + if (hoverElement !== "" && plusCombinator) { + var hoverElementList = ruleContext.ownerDocument.getElementsByTagName(hoverElement.toUpperCase()); + // console.log("hoverElementList.length = "+hoverElementList.length); + // console.log("hoverElementList[0].tagName = "+hoverElementList[0].tagName); + // Get adjacent sibling + // console.log("Adjacent sibling = "+hoverElementList[0].nextElementSibling.tagName); + // console.log("afterCombinatorElement.toUpperCase() = "+afterCombinatorElement.toUpperCase()); + if (afterCombinatorElement.toUpperCase() === hoverElementList[0].nextElementSibling.tagName) { + // console.log("11a. Hover with plus has adjacent sibling.") + // 11a. Hover with plus has adjacent sibling. + adjacentPlusSibling = true; + // At this point we have verified a supporting afterCombinatorElement css rule that contains hover and display property that is not equal to none and has a hover element in the body with an adjacent sibling + // console.log("**** REPORT PASS 1 HERE"); + pass0 = true; + continue; + } + } + else if (plusCombinator) { + // console.log("11a. Main hover with + combinator has no adjacent sibling"); + if (!potential1) { + // console.log("**** PUT POTENTIAL 1 HERE"); + potential1 = true; + break; + } + continue; + } + // Get list of hover elements and determine if there are 2 or more adjacent siblings for ~ + // For ~ there must be at least one ADJACENT sibling + if (hoverElement !== "" && tildeCombinator) { + // console.log("hoverElement.toUpperCase() = "+hoverElement.toUpperCase()); + var hoverElementList = ruleContext.ownerDocument.getElementsByTagName(hoverElement.toUpperCase()); + // console.log("hoverElementList.length = "+hoverElementList.length); + // Check for two or more adjacent siblings + var siblings = []; + var sibling = hoverElementList[0].nextElementSibling; + do { + // console.log("sibling.tagName = "+sibling.tagName); + if (sibling.tagName === afterCombinatorElement.toUpperCase()) { + siblings.push(sibling); + } + else { + break; + } + } while ((sibling = sibling.nextElementSibling)); + var siblingCount = siblings.length; + // console.log("siblingCount = "+siblingCount); + // JCH TODO: what if sibling count 0 + if (siblingCount === 1) { + // console.log("11b. Hover with tilde and one adjacent sibling"); + adjacentTildeMultipleSibling = true; + // console.log("**** REPORT PASS 2 HERE"); + return (0, IRule_1.RulePass)("Pass_2"); + } + else if (siblingCount > 1) { + // console.log("Main hover with ~ combinator has two or more siblings"); + if (!potential2) { + // console.log("**** PUT POTENTIAL 2 HERE"); + return (0, IRule_1.RulePotential)("Potential_2"); + } + } + } + } + else if (plusCombinator) { + // supportingHoverElementDisplayValue + // if we make it to the last rule and supportingHoverElementDisplayValue is still false => potential1 + if (styleRuleIndex2 === styleRules2.length - 1 && supportingHoverElementDisplayValue === false) { + // console.log("NO plus supportingHoverElementDisplayProperty"); + // console.log("**** PUT POTENTIAL 1 HERE"); + return (0, IRule_1.RulePotential)("Potential_1"); + } + else { + continue; + } + } + else if (tildeCombinator) { + // if we make it to the last rule and supportingHoverElementDisplayValue is still false => potential2 + if (styleRuleIndex2 === styleRules2.length - 1 && supportingHoverElementDisplayValue === false) { + // console.log("NO plus supportingHoverElementDisplayProperty"); + // console.log("**** PUT POTENTIAL 2 HERE"); + return (0, IRule_1.RulePotential)("Potential_1"); + } + else { + continue; + } + } + // note at least one of the rules must have a display property + } + else if (plusCombinator) { + // if we make it to the last rule and supportingHoverElementDisplayProperty is still false => potential1 + if (styleRuleIndex2 === styleRules2.length - 1 && supportingHoverElementDisplayProperty === false) { + // console.log("NO plus supportingHoverElementDisplayProperty"); + // console.log("**** PUT POTENTIAL 1 HERE"); + return (0, IRule_1.RulePotential)("Potential_1"); + } + else { + continue; + } + } + else if (tildeCombinator) { + // if we make it to the last rule and supportingHoverElementDisplayProperty is still false => potential2 + if (styleRuleIndex2 === styleRules2.length - 1 && supportingHoverElementDisplayProperty === false) { + // console.log("NO tilde supportingHoverElementDisplayProperty"); + // console.log("**** PUT POTENTIAL 2 HERE"); + return (0, IRule_1.RulePotential)("Potential_1"); + } + else { + continue; + } + } + // note at least one of the rules must have a supportingElement:hover + } + else if (plusCombinator) { + // if we make it to the last rule and supportingElement is still false => potential1 + // console.log("styleRuleIndex2 = "+styleRuleIndex2); + // console.log("styleRules2.length = "+styleRules2.length); + // console.log("supportingElement = "+supportingHover); + if (styleRuleIndex2 === styleRules2.length - 1 && supportingHover === false) { + // console.log("NO plus supportingElement:hover"); + // console.log("**** PUT POTENTIAL 1 HERE"); + return (0, IRule_1.RulePotential)("Potential_1"); + } + else { + continue; + } + } + else if (tildeCombinator) { + // if we make it to the last rule and supportingElement is still false => potential2 + // console.log("styleRuleIndex2 = "+styleRuleIndex2); + // console.log("styleRules2.length = "+styleRules2.length); + // console.log("supportingElement = "+supportingHover); + if (styleRuleIndex2 === styleRules2.length - 1 && supportingHover === false) { + // console.log("NO tilde supportingElement:hover"); + // console.log("**** PUT POTENTIAL 2 HERE"); + return (0, IRule_1.RulePotential)("Potential_2"); + } + else { + continue; + } + } + } + else { + // console.log("There is a margin in the supporting element"); + if (!potential3) { + // console.log("**** PUT POTENTIAL 3 HERE"); + potential3 = true; + return (0, IRule_1.RulePotential)("Potential_3"); + } + } + } + } + catch (e) { + // Silence css access issues + } + } + } + } + catch (e) { + // Silence css access issues + } + } + } + } + // console.log("----------------------"); + // console.log("pass0 = "+pass0); + // console.log("pass1 = "+pass1); + // console.log("pass2 = "+pass2); + // console.log("potential1 = "+potential1); + // console.log("potential2 = "+potential2); + // console.log("potential3 = "+potential3); + if (pass0) + return (0, IRule_1.RulePass)("Pass_0"); + // if (pass1) return RulePass("Pass_2"); // Doesn't trigger + // if (pass2) return RulePass("Pass_3"); // Doesn't trigger + if (potential1) + return (0, IRule_1.RulePotential)("Potential_1"); + if (potential2) + return (0, IRule_1.RulePotential)("Potential_2"); + if (potential3) + return (0, IRule_1.RulePotential)("Potential_3"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/style_viewport_resizable.ts": +/*!**************************************************!*\ + !*** ./src/v4/rules/style_viewport_resizable.ts ***! + \**************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.style_viewport_resizable = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +/** + * Description: Trigger when viewport units are used for font size. + * Origin: Various + */ +exports.style_viewport_resizable = { + 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": "style_viewport_resizable.html", + "Pass_0": "style_viewport_resizable.html", + "Potential_1": "style_viewport_resizable.html" + } + }, + messages: { + "en-US": { + "group": "Text must scale up to 200% without loss of content or functionality", + "Pass_0": "Rule Passed", + "Potential_1": "Verify that text sized using viewport units can be resized up to 200%" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: ["1.4.4", "1.4.10"], + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = true; + var thePattern = /\d+(vw|vh|vmin|vmax)/gi; + var nodeName = ruleContext.nodeName.toLowerCase(); + if (nodeName === "style") { + for (var sIndex = 0; sIndex < ruleContext.ownerDocument.styleSheets.length; sIndex++) { + var sheet = ruleContext.ownerDocument.styleSheets[sIndex]; + if (sheet.ownerNode === ruleContext) { + try { + var styleRules = sheet.cssRules ? sheet.cssRules : sheet.rules; + if (styleRules) { + for (var styleRuleIndex = 0; passed && styleRuleIndex < styleRules.length; styleRuleIndex++) { + var rule = styleRules[styleRuleIndex]; + if (rule.type && rule.type === 1 /* CSSRule.STYLE_RULE */) { + var styleRule = rule; + if (styleRule.style['fontSize']) { + var fontSize = styleRule.style['fontSize'].trim(); + var found = fontSize.match(thePattern); + if (fontSize.length && found) { + passed = false; + } + } + } + // check import rules + else if (rule.type && rule.type === 3 /* CSSRule.IMPORT_RULE */ && rule.styleSheet) { + var importRule = rule; + var rules = importRule.styleSheet.cssRules ? importRule.styleSheet.cssRules : importRule.styleSheet.rules; + if (rules) { + for (var rIndex = 0; passed && rIndex < rules.length; rIndex++) { + var importedRule = rules[rIndex]; + if (importedRule.type && importedRule.type === 1 /* CSSRule.STYLE_RULE */) { + if (importedRule.style['fontSize']) { + var fontSize = importedRule.style['fontSize'].trim(); + var found = fontSize.match(thePattern); + if (fontSize.length && found) { + passed = false; + } + } + } + } + } + } + } + } + } + catch (e) { + // Ignore css access issues + } + } + } + } + else if (nodeName === "link") { + for (var sIndex = 0; sIndex < ruleContext.ownerDocument.styleSheets.length; sIndex++) { + var sheet = ruleContext.ownerDocument.styleSheets[sIndex]; + if (sheet && sheet.ownerNode === ruleContext) { + try { + var rules = sheet.cssRules ? sheet.cssRules : sheet.rules; + if (rules) { + for (var rIndex = 0; passed && rIndex < rules.length; rIndex++) { + var ruleFromLink = rules[rIndex]; + // check rules + if (ruleFromLink.type && ruleFromLink.type === 1 /* CSSRule.STYLE_RULE */) { + if (ruleFromLink.style['fontSize']) { + var fontSize = ruleFromLink.style['fontSize'].trim(); + var found = fontSize.match(thePattern); + if (fontSize.length && found) { + passed = false; + } + } + } + } + } + } + catch (e) { + // Ignore css access issues + } + } + } + } + else { + var styleValue = ruleContext.getAttribute('style'); + if (styleValue) { + var stylePattern = /font-size:\s*\d+(vw|vh|vmin|vmax)/gi; + var found = styleValue.match(stylePattern); + if (found) { + passed = false; + } + } + } + return passed ? (0, IRule_1.RulePass)("Pass_0") : (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/svg_graphics_labelled.ts": +/*!***********************************************!*\ + !*** ./src/v4/rules/svg_graphics_labelled.ts ***! + \***********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.svg_graphics_labelled = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AccNameUtil_1 = __webpack_require__(/*! ../util/AccNameUtil */ "./src/v4/util/AccNameUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.svg_graphics_labelled = { + id: "svg_graphics_labelled", + context: "dom:svg", + help: { + "en-US": { + "group": "svg_graphics_labelled.html", + "pass": "svg_graphics_labelled.html", + "fail_acc_name": "svg_graphics_labelled.html" + } + }, + messages: { + "en-US": { + "group": "A non-decorative SVG element must have an accessible name", + "pass": "The SVG element has an accessible name", + "fail_acc_name": "The SVG element has no accessible name" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [{ + "7d6734": { + "pass": "pass", + "fail_acc_name": "fail" + } + }], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext) || VisUtil_1.VisUtil.isNodePresentational(ruleContext)) + return null; + var name_pair = AccNameUtil_1.AccNameUtil.computeAccessibleName(ruleContext); + if (name_pair && name_pair.name && name_pair.name.trim().length > 0) + return (0, IRule_1.RulePass)("pass"); + return (0, IRule_1.RuleFail)("fail_acc_name"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/table_aria_descendants.ts": +/*!************************************************!*\ + !*** ./src/v4/rules/table_aria_descendants.ts ***! + \************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.table_aria_descendants = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.table_aria_descendants = { + id: "table_aria_descendants", + context: "aria:table dom:tr[role], aria:table dom:th[role], aria:table dom:td[role], aria:grid dom:tr[role], aria:grid dom:th[role], aria:grid dom:td[role], aria:treegrid dom:tr[role], aria:treegrid dom:th[role], aria:treegrid dom:td[role]", + help: { + "en-US": { + "group": "table_aria_descendants.html", + "explicit_role": "table_aria_descendants.html" + } + }, + messages: { + "en-US": { + "group": "Table structure elements cannot specify an explicit 'role' within table containers", + "explicit_role": "An explicit ARIA 'role' is not valid for <{0}> element within an ARIA role '{1}' per the ARIA in HTML specification" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var parentRole = CommonUtil_1.CommonUtil.isTableDescendant(contextHierarchies); + // cache the result + if (parentRole === null || parentRole.length === 0) + return; + return (0, IRule_1.RuleFail)("explicit_role", [context["dom"].node.nodeName.toLowerCase(), parentRole[0].role]); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/table_caption_empty.ts": +/*!*********************************************!*\ + !*** ./src/v4/rules/table_caption_empty.ts ***! + \*********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.table_caption_empty = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.table_caption_empty = { + id: "table_caption_empty", + context: "dom:caption", + refactor: { + "Valerie_Caption_HasContent": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "Pass_0": "table_caption_empty.html", + "Fail_1": "table_caption_empty.html", + "group": "table_caption_empty.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "The <table> element has an empty <caption> element", + "group": "A <caption> element for a <table> element must contain descriptive text" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = CommonUtil_1.CommonUtil.hasInnerContentHidden(ruleContext); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/table_caption_nested.ts": +/*!**********************************************!*\ + !*** ./src/v4/rules/table_caption_nested.ts ***! + \**********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.table_caption_nested = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.table_caption_nested = { + id: "table_caption_nested", + context: "dom:caption", + refactor: { + "Valerie_Caption_InTable": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "Pass_0": "table_caption_nested.html", + "Fail_1": "table_caption_nested.html", + "group": "table_caption_nested.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "<caption> element is not nested inside a <table> element", + "group": "The <caption> element must be nested inside the associated <table> element" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = CommonUtil_1.CommonUtil.getAncestor(ruleContext, "table") != null; + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/table_headers_exists.ts": +/*!**********************************************!*\ + !*** ./src/v4/rules/table_headers_exists.ts ***! + \**********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.table_headers_exists = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var TableUtil_1 = __webpack_require__(/*! ../util/TableUtil */ "./src/v4/util/TableUtil.ts"); +exports.table_headers_exists = { + id: "table_headers_exists", + context: "dom:table", + refactor: { + "RPT_Table_DataHeadingsAria": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "Pass_0": "table_headers_exists.html", + "Fail_1": "table_headers_exists.html", + "group": "table_headers_exists.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Table has no headers identified", + "group": "Data table must identify headers" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // If this is a layout table or there are no rows, the rule does not apply. + var rows = ruleContext.rows; + if (!TableUtil_1.TableUtil.isDataTable(ruleContext) || rows === null || rows.length === 0) + return null; + var passed = TableUtil_1.TableUtil.tableHeaderExists(ruleContext); + if (passed === null) + return; + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/table_headers_ref_valid.ts": +/*!*************************************************!*\ + !*** ./src/v4/rules/table_headers_ref_valid.ts ***! + \*************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.table_headers_ref_valid = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var DOMUtil_1 = __webpack_require__(/*! ../../v2/dom/DOMUtil */ "./src/v2/dom/DOMUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +var ARIAMapper_1 = __webpack_require__(/*! ../../v2/aria/ARIAMapper */ "./src/v2/aria/ARIAMapper.ts"); +exports.table_headers_ref_valid = { + id: "table_headers_ref_valid", + context: "dom:td[headers], dom:th[headers]", + help: { + "en-US": { + "Pass_0": "table_headers_ref_valid.html", + "Fail_1": "table_headers_ref_valid.html", + "Fail_2": "table_headers_ref_valid.html", + "Fail_3": "table_headers_ref_valid.html", + "Fail_4": "table_headers_ref_valid.html", + "group": "table_headers_ref_valid.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "The 'headers' attribute value \"{0}\" does not reference a valid 'id' in this document", + "Fail_2": "The 'headers' attribute value \"{0}\" refers to itself", + "Fail_3": "The 'headers' attribute value \"{0}\" does not refer to a cell in the same table", + "Fail_4": "The 'headers' attribute value \"{0}\" does not refer to a cell indicated with <th> or a role of \"columnheader\" or \"rowheader\"", + "group": "The 'headers' attribute should refer to a valid cell in the same table" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: ["a25f45"], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var parentTable = CommonUtil_1.CommonUtil.getAncestor(ruleContext, "table"); + var parentRole = ARIAMapper_1.ARIAMapper.nodeToRole(parentTable); + // If this is a layout table or a simple table the rule does not apply. + if (parentTable == null || !VisUtil_1.VisUtil.isNodeVisible(parentTable) || !["table", "grid"].includes(parentRole)) + return null; + var nodeName = ruleContext.nodeName.toLowerCase(); + var doc = ruleContext.ownerDocument; + var value = ruleContext.getAttribute("headers"); + if (!value) + return null; + var ids = value.split(" "); + var invalidHeaderValues = []; + var sameNodeHeaderValues = []; + var sameTableHeaderValues = []; + var invalidElemHeaderValues = []; + for (var i = 0; i < ids.length; i++) { + var id = ids[i]; + if (id.trim() === '') + continue; + var elem = doc.getElementById(id); + if (!elem) + invalidHeaderValues.push(id); + else if (DOMUtil_1.DOMUtil.sameNode(elem, ruleContext)) + sameNodeHeaderValues.push(id); + else if (!DOMUtil_1.DOMUtil.isInSameTable(elem, ruleContext)) + sameTableHeaderValues.push(id); + else { + var elemName = elem.nodeName.toLowerCase(); + if (elemName !== 'th') { + var roles = AriaUtil_1.AriaUtil.getRoles(elem, true); + if (!roles.includes('columnheader') && !roles.includes('rowheader')) + invalidElemHeaderValues.push(id); + } + } + } + var results = []; + if (invalidHeaderValues.length != 0) + results.push((0, IRule_1.RuleFail)("Fail_1", [invalidHeaderValues.toString()])); + if (sameNodeHeaderValues.length != 0) + results.push((0, IRule_1.RuleFail)("Fail_2", [sameNodeHeaderValues.toString()])); + if (sameTableHeaderValues.length != 0) + results.push((0, IRule_1.RuleFail)("Fail_3", [sameTableHeaderValues.toString()])); + if (invalidElemHeaderValues.length != 0) + results.push((0, IRule_1.RuleFail)("Fail_4", [invalidElemHeaderValues.toString()])); + if (results.length == 0) { + return (0, IRule_1.RulePass)("Pass_0"); + } + else { + return results; + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/table_headers_related.ts": +/*!***********************************************!*\ + !*** ./src/v4/rules/table_headers_related.ts ***! + \***********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.table_headers_related = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +var TableUtil_1 = __webpack_require__(/*! ../util/TableUtil */ "./src/v4/util/TableUtil.ts"); +exports.table_headers_related = { + 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": "table_headers_related.html", + "Fail_1": "table_headers_related.html", + "group": "table_headers_related.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Complex table does not have headers for each cell properly defined with 'header' or 'scope'", + "group": "For a complex data table, all <th> and <td> elements must be related via 'header' or 'scope' attributes" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var parentTable = CommonUtil_1.CommonUtil.getAncestor(ruleContext, "table"); + // If this is a layout table or a simple table the rule does not apply. + if (parentTable == null || !TableUtil_1.TableUtil.isComplexDataTable(parentTable)) + return null; + // If this table hasn't been preprocessed, process it. + if (CacheUtil_1.CacheUtil.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. + var grid = []; + for (var i = 0; i < parentTable.rows.length; ++i) { + var row = parentTable.rows[i]; + if (!grid[i]) + grid[i] = []; + for (var j = 0; j < row.cells.length; ++j) { + var cell = row.cells[j]; + CacheUtil_1.CacheUtil.setCache(cell, "table_headers_related", i + ":" + j); + var width = parseInt(cell.getAttribute("colspan")); + if (!width) + width = 1; + var height = parseInt(cell.getAttribute("rowspan")); + if (!height) + height = 1; + var gX = 0; + while (grid[i][gX]) + gX += 1; + for (var k = 0; k < height; ++k) { + if (!grid[i + k]) + grid[i + k] = []; + for (var l = 0; l < width; ++l) { + grid[i + k][gX + l] = cell; + } + } + } + } + // Iterate through the table grid and record headers that point to cells and + // cells that are pointed to by headers + var doc = ruleContext.ownerDocument; + var lookup = {}; + var scopedCols = {}; + for (var i = 0; i < grid.length; ++i) { + var rowScoped = false; + for (var j = 0; j < grid[i].length; ++j) { + var gridCell = grid[i][j]; + var gridNodeName = gridCell.nodeName.toLowerCase(); + if (gridNodeName == "th") { + if (gridCell.getAttribute("scope") == "row") { + rowScoped = true; + // If there's an axis attribute, it must be referred to by headers, + // scope is not enough. + if (!CommonUtil_1.CommonUtil.attributeNonEmpty(gridCell, "axis")) + lookup[CacheUtil_1.CacheUtil.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 (!CommonUtil_1.CommonUtil.attributeNonEmpty(gridCell, "axis")) + lookup[CacheUtil_1.CacheUtil.getCache(gridCell, "table_headers_related", null)] = true; + } + // Headers can refer to other headers + if (CommonUtil_1.CommonUtil.attributeNonEmpty(gridCell, "headers")) { + var hdrs = gridCell.getAttribute("headers").split(" "); + for (var k = 0; k < hdrs.length; ++k) { + var headElem = doc.getElementById(hdrs[k].trim()); + if (headElem && CommonUtil_1.CommonUtil.getAncestor(headElem, "table") == parentTable) { + lookup[CacheUtil_1.CacheUtil.getCache(headElem, "table_headers_related", null)] = true; + } + } + } + } + else if (gridNodeName == "td") { + if (rowScoped || scopedCols[j]) { + lookup[CacheUtil_1.CacheUtil.getCache(gridCell, "table_headers_related", null)] = true; + } + else if (CommonUtil_1.CommonUtil.attributeNonEmpty(gridCell, "headers")) { + var hdrs = gridCell.getAttribute("headers").split(" "); + for (var k = 0; k < hdrs.length; ++k) { + var headElem = doc.getElementById(hdrs[k].trim()); + if (headElem && CommonUtil_1.CommonUtil.getAncestor(headElem, "table") == parentTable) { + lookup[CacheUtil_1.CacheUtil.getCache(gridCell, "table_headers_related", null)] = true; + lookup[CacheUtil_1.CacheUtil.getCache(headElem, "table_headers_related", null)] = true; + } + } + } + } + } + } + CacheUtil_1.CacheUtil.setCache(parentTable, "table_headers_related", lookup); + } + var rcInfo = CacheUtil_1.CacheUtil.getCache(ruleContext, "table_headers_related", null); + var tInfo = CacheUtil_1.CacheUtil.getCache(parentTable, "table_headers_related", null); + var passed = rcInfo && tInfo && rcInfo in tInfo; + if (!passed && rcInfo === "0:0" && + CommonUtil_1.CommonUtil.getInnerText(ruleContext).trim().length == 0) { + // We don't test if it's the upper-left cell and it's empty + return null; + } + // If the table has no th's, it may just be that this was supposed to be a layout + // 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 (CacheUtil_1.CacheUtil.getCache(parentTable, "table_headers_related_TrigOnce", false) === true) { + passed = true; + } + else { + CacheUtil_1.CacheUtil.setCache(parentTable, "table_headers_related_TrigOnce", true); + } + } + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/table_layout_linearized.ts": +/*!*************************************************!*\ + !*** ./src/v4/rules/table_layout_linearized.ts ***! + \*************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.table_layout_linearized = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +var TableUtil_1 = __webpack_require__(/*! ../util/TableUtil */ "./src/v4/util/TableUtil.ts"); +exports.table_layout_linearized = { + id: "table_layout_linearized", + context: "dom:table", + refactor: { + "RPT_Table_LayoutTrigger": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + "Pass_0": "table_layout_linearized.html", + "Potential_1": "table_layout_linearized.html", + "group": "table_layout_linearized.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify table is not being used to format text content in columns unless the table can be linearized", + "group": "Avoid using tables to format text documents in columns unless the table can be linearized" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_FOUR + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var passed = !TableUtil_1.TableUtil.isLayoutTable(ruleContext); + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/table_scope_valid.ts": +/*!*******************************************!*\ + !*** ./src/v4/rules/table_scope_valid.ts ***! + \*******************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.table_scope_valid = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +exports.table_scope_valid = { + 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": "table_scope_valid.html", + "Fail_1": "table_scope_valid.html", + "Fail_2": "table_scope_valid.html", + "group": "table_scope_valid.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Value provided is invalid for the 'scope' attribute", + "Fail_2": "The 'scope' attribute should only be used on a <th> element", + "group": "Value for 'scope' attribute must be \"row\", \"col\", \"rowgroup\", or \"colgroup\"" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var nodeName = ruleContext.nodeName.toLowerCase(); + if (nodeName === 'td') + return (0, IRule_1.RuleFail)("Fail_2"); + //only continue for 'th' + var scopeVal = ruleContext.getAttribute("scope").trim().toLowerCase(); + var passed = /^(row|col|rowgroup|colgroup)$/.test(scopeVal); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/table_structure_misuse.ts": +/*!************************************************!*\ + !*** ./src/v4/rules/table_structure_misuse.ts ***! + \************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.table_structure_misuse = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +var TableUtil_1 = __webpack_require__(/*! ../util/TableUtil */ "./src/v4/util/TableUtil.ts"); +exports.table_structure_misuse = { + id: "table_structure_misuse", + context: "dom:table", + refactor: { + "WCAG20_Table_Structure": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "Pass_0": "table_structure_misuse.html", + "Fail_1": "table_structure_misuse.html", + "group": "table_structure_misuse.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "The <{0}> element with \"presentation\" role or \"none\" role has structural element(s) and/or attribute(s) '{1}'", + "group": "Table elements with 'role=\"presentation\" or 'role=\"none\" should not have structural elements or attributes" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + // JCH - OUT OF SCOPE hidden in context + if (TableUtil_1.TableUtil.isDataTable(ruleContext)) + return null; + if (AriaUtil_1.AriaUtil.isNodeInGrid(ruleContext)) + return null; + var errorNodes = []; + if (CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "summary")) + errorNodes.push(ruleContext); + var captionElems = ruleContext.getElementsByTagName("caption"); + for (var i = 0; i < captionElems.length; ++i) { + if (CommonUtil_1.CommonUtil.getAncestor(captionElems[i], "table") == ruleContext) { + // Check if the node should be skipped or not based on the Check Hidden Content setting and if the node isVisible or + // not. + if (CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(captionElems[i])) { + continue; + } + // Add the node to the errorNodes + errorNodes.push(captionElems[i]); + // Since we are not actually making use of theses errorNodes even though they are passed along with + // ValidationResult, we do not need to keep looping over and getting every single violating node under + // the rule context. This can be a future enhancenment where we actually make use of the error nodes that + // are passed along. Adding this break to speed up performance at this point. + break; // There is no point to keep adding the error nodes, stop after finding the first one + } + } + var thNodes = ruleContext.getElementsByTagName("th"); + for (var i = 0; i < thNodes.length; ++i) { + if (CommonUtil_1.CommonUtil.getAncestor(thNodes[i], "table") == ruleContext) { + // Check if the node should be skipped or not based on the Check Hidden Content setting and if the node isVisible or + // not. + if (CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(thNodes[i])) { + continue; + } + // Add the node to the errorNodes + errorNodes.push(thNodes[i]); + // Since we are not actually making use of theses errorNodes even though they are passed along with + // ValidationResult, we do not need to keep looping over and getting every single violating node under + // the rule context. This can be a future enhancenment where we actually make use of the error nodes that + // are passed along. Adding this break to speed up performance at this point. + break; // There is no point to keep adding the error nodes, stop after finding the first one + } + } + var tdNodes = ruleContext.getElementsByTagName("td"); + for (var i = 0; i < tdNodes.length; ++i) { + if ((tdNodes[i].hasAttribute("scope") || tdNodes[i].hasAttribute("headers")) && + CommonUtil_1.CommonUtil.getAncestor(tdNodes[i], "table") == ruleContext) { + // Check if the node should be skipped or not based on the Check Hidden Content setting and if the node isVisible or + // not. + if (CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(tdNodes[i])) { + continue; + } + // Add the node to the errorNodes + errorNodes.push(tdNodes[i]); + // Since we are not actually making use of theses errorNodes even though they are passed along with + // ValidationResult, we do not need to keep looping over and getting every single violating node under + // the rule context. This can be a future enhancenment where we actually make use of the error nodes that + // are passed along. Adding this break to speed up performance at this point. + break; // There is no point to keep adding the error nodes, stop after finding the first one + } + } + // Get the node name for the rule context element in this case it will always be table + var currentElementToken = ruleContext.nodeName.toLowerCase(); + // Construct a new array which will contan only the element tag for the violation elements + var structuralElementTokens = new Array(); + // Construct a seen hash that will keep trask of all the elements that were already added to the token array, to make sure + // we do not duplicate any of the elements. Duplicate element tags in the token message looks bad and confusing. + var seen = {}; + // Loop through all the violating structural elements and extract the element tag to be used as a token + for (var i = 0; i < errorNodes.length; i++) { + // Get the node name (tag name) for the violating structural element + var nodeName = errorNodes[i].nodeName.toLowerCase(); + // Only need to add the violating element once + if (!seen.hasOwnProperty(nodeName)) { + // Since we are adding the token as elements and attributes we need to handle + // the summary attribute on the ruleContext (table). We only add summary once, same as + // for elements to avoid duplication in the message. (Summary should not duplicate, but just in case) + if (nodeName == "table" && !seen.hasOwnProperty["summary"]) { + // Mark this as a new attribute + seen["summary"] = true; + // Since this is a new violating element add it to the structural element tokens array + structuralElementTokens.push("summary"); + } + else { + // Mark this as a new element + seen[nodeName] = true; + // Since this is a new violating element add it to the structural element tokens array + structuralElementTokens.push(nodeName); + } + } + } + // We need to take the array of structural elements and join them with a comma and a space to make grammatical correct in + // the message. + var structuralElementTokensStr = structuralElementTokens.join(", "); + //return new ValidationResult(errorNodes.length == 0, errorNodes, '', '', [currentElementToken, structuralElementTokens]); + if (errorNodes.length == 0) { + return (0, IRule_1.RulePass)("Pass_0"); + } + else { + return (0, IRule_1.RuleFail)("Fail_1", [currentElementToken, structuralElementTokensStr]); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/table_summary_redundant.ts": +/*!*************************************************!*\ + !*** ./src/v4/rules/table_summary_redundant.ts ***! + \*************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.table_summary_redundant = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var fragment_1 = __webpack_require__(/*! ../../v2/checker/accessibility/util/fragment */ "./src/v2/checker/accessibility/util/fragment.ts"); +var DOMUtil_1 = __webpack_require__(/*! ../../v2/dom/DOMUtil */ "./src/v2/dom/DOMUtil.ts"); +exports.table_summary_redundant = { + id: "table_summary_redundant", + context: "dom:table", + refactor: { + "WCAG20_Table_CapSummRedundant": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "Pass_0": "table_summary_redundant.html", + "Fail_1": "table_summary_redundant.html", + "group": "table_summary_redundant.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "The table summary duplicates the caption", + "group": "The table summary must not duplicate the caption" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var pofId; + var passed = true; + var sumStr; + if (ruleContext.hasAttribute("summary")) { + pofId = 0; + sumStr = ruleContext.getAttribute("summary").trim().toLowerCase(); + } + else if (ruleContext.hasAttribute("aria-describedby")) { + pofId = 1; + var summaryNodeIds = ruleContext.getAttribute("aria-describedby").split(" "); + var summaryNodeConcat = ""; + for (var i = 0; i < summaryNodeIds.length; i++) { + var summaryNodeId = summaryNodeIds[i]; + if (summaryNodeId) { + var summaryNode = fragment_1.FragmentUtil.getById(ruleContext, summaryNodeId); + if (summaryNode && !DOMUtil_1.DOMUtil.sameNode(summaryNode, ruleContext)) { + summaryNodeConcat += " " + CommonUtil_1.CommonUtil.getInnerText(summaryNode).trim().toLowerCase(); + } + } + } + sumStr = summaryNodeConcat; + } + if (!sumStr) { + return null; + } + else { + var capElems = ruleContext.getElementsByTagName("caption"); + if (capElems.length === 0) { + return null; + } + else if (sumStr.length > 0) { + var capStr = CommonUtil_1.CommonUtil.getInnerText(capElems[0]).trim().toLowerCase(); + if (!sumStr.includes(capStr)) { + return (0, IRule_1.RulePass)("Pass_0"); + } + else { + return (0, IRule_1.RuleFail)("Fail_1"); + } + } + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/target_spacing_sufficient.ts": +/*!***************************************************!*\ + !*** ./src/v4/rules/target_spacing_sufficient.ts ***! + \***************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.target_spacing_sufficient = void 0; +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var DOMMapper_1 = __webpack_require__(/*! ../../v2/dom/DOMMapper */ "./src/v2/dom/DOMMapper.ts"); +var CSSUtil_1 = __webpack_require__(/*! ../util/CSSUtil */ "./src/v4/util/CSSUtil.ts"); +exports.target_spacing_sufficient = { + id: "target_spacing_sufficient", + context: "dom:*", + dependencies: [], + help: { + "en-US": { + "group": "target_spacing_sufficient.html", + "pass_spacing": "target_spacing_sufficient.html", + "pass_sized": "target_spacing_sufficient.html", + "pass_inline": "target_spacing_sufficient.html", + "pass_default": "target_spacing_sufficient.html", + "violation_spacing": "target_spacing_sufficient.html", + "recommendation_inline": "target_spacing_sufficient.html", + "potential_overlap": "target_spacing_sufficient.html" + } + }, + messages: { + "en-US": { + "group": "The target must be sufficiently sized or spaced from other targets", + "pass_spacing": "The target's spacing from other targets is sufficient", + "pass_sized": "The target’s size is more than 24 CSS pixels", + "pass_inline": "The target is in a sentence or its size is otherwise constrained by the line-height of non-target text", + "pass_default": "The target's size is determined by the user agent and is not modified by the author", + "violation_spacing": "Undersized target \"{0}\" does not have sufficient spacing of 12 CSS pixels from another target \"{1}\"", + "recommendation_inline": "Confirm the inline target \"{0}\" is sufficiently spaced from another inline target \"{1}\"", + "potential_overlap": "Ensure the overlapped target \"{0}\" meets a minimum target size or has sufficient spacing from the overlapping target \"{1}\"" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_2"], + num: ["2.5.8"], + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_THREE, + reasonCodes: ["pass_spacing", "pass_sized", "pass_inline", "pass_default", "violation_spacing", "potential_overlap"] + }, + { + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_2"], + num: ["2.5.8"], + level: IRule_2.eRulePolicy.RECOMMENDATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_THREE, + reasonCodes: ["recommendation_inline"] + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var nodeName = ruleContext.nodeName.toLocaleLowerCase(); + var mapper = new DOMMapper_1.DOMMapper(); + var bounds = mapper.getUnadjustedBounds(ruleContext); //context["dom"].bounds; + if (!bounds) + return null; + // ignore hidden, non-target + if (!CommonUtil_1.CommonUtil.isTarget(ruleContext)) + return null; + if (bounds.height >= 24 && bounds.width >= 24) + return (0, IRule_1.RulePass)("pass_sized"); + // check inline element: without text in the same line + var status = CSSUtil_1.CSSUtil.getInlineStatus(ruleContext); + if (status === null) + return null; + if (status.inline) { + if (status.text) { + if (status.violation === null) + return (0, IRule_1.RulePass)("pass_inline"); + else + // case 1: inline element is too close horizontally + return (0, IRule_1.RulePotential)("recommendation_inline", [nodeName, status.violation]); + } + else { + if (status.violation === null) + return (0, IRule_1.RulePass)("pass_default"); + else + // case 1: inline element is too close horizontally + return (0, IRule_1.RulePotential)("recommendation_inline", [nodeName, status.violation]); + } + } + else { + // ignore browser default + if (CSSUtil_1.CSSUtil.isTargetBrowserDefault(ruleContext)) + return (0, IRule_1.RulePass)("pass_default"); + } + var doc = ruleContext.ownerDocument; + if (!doc) { + return null; + } + var cStyle = getComputedStyle(ruleContext); + if (cStyle === null) + return null; + var zindex = cStyle.zIndex; + if (!zindex || isNaN(Number(zindex))) + zindex = "0"; + //select all elements except itself and descendants + var elems = doc.querySelectorAll('body *:not(script):not(style)'); + if (!elems || elems.length === 0) + return; + var before = true; + var minX = 24; + var minY = 24; + var adjacentX = null; + var adjacentY = null; + var checked = []; //contains a list of elements that have been checked so their descendants don't need to be checked again + var _loop_1 = function (i) { + var elem = elems[i]; + /** + * the nodes returned from querySelectorAll is in document order + * if two elements overlap and z-index are not defined, then the node rendered earlier will be overlaid by the node rendered later + * filter out the elements that’re descendant or ancestors of the target element, nor descendant of the target element's siblings + */ + if (ruleContext.contains(elem)) { + //the next node in elems will be after the target node (ruleContext). + before = false; + return "continue"; + } + // ignore ascendants of the element, not a target, or itself or its ascendant already checked + if (elem.contains(ruleContext) || !CommonUtil_1.CommonUtil.isTarget(elem) + || checked.some(function (item) { return item.contains(elem); })) + return "continue"; + var bnds = mapper.getUnadjustedBounds(elem); + if (!bnds) + return "continue"; + zStyle = getComputedStyle(elem); + var z_index = '0'; + if (zStyle) { + z_index = zStyle.zIndex; + if (!z_index || isNaN(Number(z_index))) + z_index = "0"; + } + // case 2: the element overlaps the target entirely + // note when a link is inline with other target, if the link text wraps in another line in a given viewport, + // the bounds of the link may cover and the entire two lines, causing the other tagets to be overlapped, see two links in the test case: element_inline.html + if (bnds.top <= bounds.top && bnds.left <= bounds.left && bnds.top + bnds.height >= bounds.top + bounds.height + && bnds.left + bnds.width >= bounds.left + bounds.width) { + // if the target on top + if (before ? parseInt(zindex) < parseInt(z_index) : parseInt(zindex) <= parseInt(z_index)) { + return { value: null }; + } + else + return { value: (0, IRule_1.RulePotential)("potential_overlap", [nodeName, elem.nodeName.toLowerCase()]) }; + } + // case 3: if the target overlaps the element entirely + if (bounds.top <= bnds.top && bounds.left <= bnds.left && bounds.top + bounds.height >= bnds.top + bnds.height + && bounds.left + bounds.width >= bnds.left + bnds.width) { + // if the element on top + if (before ? parseInt(zindex) < parseInt(z_index) : parseInt(zindex) <= parseInt(z_index)) { + return { value: (0, IRule_1.RulePotential)("potential_overlap", [nodeName, elem.nodeName.toLowerCase()]) }; + } + else // the target on top + return { value: (0, IRule_1.RuleFail)("violation_spacing", [nodeName, elem.nodeName.toLowerCase()]) }; + } + // case 4: the element overlaps partially with the target + if ((((bounds.top >= bnds.top && bounds.top <= bnds.top + bnds.height) || (bounds.top + bounds.height <= bnds.top && bounds.top + bounds.height >= bnds.top + bnds.height)) + && ((bounds.left > bnds.left && bounds.left < bnds.left + bnds.width) || (bnds.left > bounds.left && bnds.left < bounds.left + bounds.width))) + || (((bounds.top > bnds.top && bounds.top < bnds.top + bnds.height) || (bnds.top > bounds.top && bnds.top < bounds.top + bounds.height)) + && ((bounds.left >= bnds.left && bounds.left <= bnds.left + bnds.width) || (bounds.left + bounds.width >= bnds.left && bounds.left + bounds.width <= bnds.left + bnds.width)))) { + return { value: (0, IRule_1.RulePotential)("potential_overlap", [nodeName, elem.nodeName.toLowerCase()]) }; + } + else { // no overlap with the elem, though may overlap withe other elements + var disX = 24; + var disY = 24; + // the element is in the horizontally same row with the target + if (bounds.width < 24 && ((bounds.top >= bnds.top && bounds.top <= bnds.top + bnds.height) || (bounds.top <= bnds.top && bounds.top + bounds.height > bnds.top))) + disX = Math.min(Math.abs(bounds.left - bnds.left), Math.abs(bounds.left - (bnds.left + bnds.width)), Math.abs(bounds.left + bounds.width - (bnds.left + bnds.width)), Math.abs(bounds.left + bounds.width - bnds.left)); + // the element is in the vertically same column with the target + if (bounds.height < 24 && ((bounds.left >= bnds.left && bounds.left <= bnds.left + bnds.width) || (bounds.left <= bnds.left && bounds.left + bounds.width > bnds.left))) + disY = Math.min(Math.abs(bounds.top - bnds.top), Math.abs(bounds.top - (bnds.top + bnds.height)), Math.abs(bounds.top + bounds.height - (bnds.top + bnds.height)), Math.abs(bounds.top + bounds.height - bnds.top)); + if (disX < minX) { + minX = disX; + adjacentX = elem; + } + if (disY < minY) { + minY = disY; + adjacentY = elem; + } + } + checked.push(elem); + }; + var zStyle; + for (var i = 0; i < elems.length; i++) { + var state_1 = _loop_1(i); + if (typeof state_1 === "object") + return state_1.value; + } + // case 5: no overlap + insufficient target size. check spacing + if (Math.round(bounds.width / 2) + minX < 12 || Math.round(bounds.height / 2) + minY < 12) { + if (Math.round(bounds.width / 2) + minX < Math.round(bounds.height / 2) + minY) + return (0, IRule_1.RuleFail)("violation_spacing", [nodeName, adjacentX.nodeName.toLowerCase()]); + return (0, IRule_1.RuleFail)("violation_spacing", [nodeName, adjacentY.nodeName.toLowerCase()]); + } + else + return (0, IRule_1.RulePass)("pass_spacing"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/text_block_heading.ts": +/*!********************************************!*\ + !*** ./src/v4/rules/text_block_heading.ts ***! + \********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.text_block_heading = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var DOMWalker_1 = __webpack_require__(/*! ../../v2/dom/DOMWalker */ "./src/v2/dom/DOMWalker.ts"); +var CSSUtil_1 = __webpack_require__(/*! ../util/CSSUtil */ "./src/v4/util/CSSUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.text_block_heading = { + id: "text_block_heading", + context: "dom:p, dom:div, dom:br", + refactor: { + "RPT_Block_ShouldBeHeading": { + // "Pass_0": "pass", + "Potential_1": "potential_heading" + } + }, + help: { + "en-US": { + // "pass": "text_block_heading.html", + "potential_heading": "text_block_heading.html", + "group": "text_block_heading.html" + } + }, + messages: { + "en-US": { + // "pass": "Heading text uses a heading element or role", + "potential_heading": "Confirm this text '{0}' is used as a heading and if so, modify to use a heading element or role", + "group": "Heading text should use a heading element or role" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the check if the element is hidden or disabled + if (CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext) || !VisUtil_1.VisUtil.isNodeVisible(ruleContext)) + return null; + // Don't trigger if we're not in the body or if we're in a script + if (CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["body"]) === null || CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["script"]) !== null) + return null; + var validateParams = { + numWords: { + value: 10, + type: "integer" + } + }; + var bodyFont = 0; + var body = ruleContext.ownerDocument.getElementsByTagName("body"); + if (body != null) { + var bodyStyle = getComputedStyle(body[0]); + if (bodyStyle) + bodyFont = CSSUtil_1.CSSUtil.getPixelsFromStyle(bodyStyle['font-size'], body); + } + var numWords = validateParams.numWords.value; + var wordsSeen = 0; + var wordStr = []; + var emphasizedText = false; + //let nw = new NodeWalker(ruleContext); + var nw = new DOMWalker_1.DOMWalker(ruleContext); + nw.nextNode(); + var passed = false; + while (!passed && + nw.nextNode() && + nw.node !== ruleContext && + nw.node !== DOMWalker_1.DOMWalker.parentNode(ruleContext) && + !["br", "div", "p"].includes(nw.node.nodeName.toLowerCase())) // Don't report twice + { + if (nw.node === ruleContext || CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(nw.node)) + continue; + var nwName = nw.node.nodeName.toLowerCase(); + if (nw.node.nodeType === 3) { + // for text child + if (nw.node.nodeValue.trim().length > 0 && nw.node.parentElement) { + // check it's style if the target element contains text, e.g., <p> fake heading</p> + var style = getComputedStyle(nw.node.parentElement); + if (style && (style['font-weight'] === 'bold' || style['font-weight'] >= 700 + || (style['font-size'] && style['font-size'].includes("large")) + || (style['font-size'] && bodyFont !== 0 && CSSUtil_1.CSSUtil.getPixelsFromStyle(style['font-size'], nw.node.parentElement) > bodyFont))) { + var nextStr = nw.node.nodeValue.trim(); + var wc = CommonUtil_1.CommonUtil.wordCount(nextStr); + if (wc > 0) { + wordStr.push(nextStr); + emphasizedText = true; + wordsSeen += wc; + } + passed = wordsSeen > numWords; + // Skip this node because it's emphasized + nw.bEndTag = true; + } + else { + // the node contain regular text + passed = true; + } + } + } + else if (nw.node.nodeType === 1) { + // for element child + if (nwName === "b" || nwName === "strong" || nwName === "u" || nwName === "font") { + // if the target element contains emphasis child, e.g., <p><strong>fake heading</strong></p> + var nextStr = CommonUtil_1.CommonUtil.getInnerText(nw.node); + var wc = CommonUtil_1.CommonUtil.wordCount(nextStr); + if (wc > 0) { + wordStr.push(nextStr); + emphasizedText = true; + wordsSeen += wc; + } + passed = wordsSeen > numWords; + // Skip this node because it's emphasized + nw.bEndTag = true; + } + else { + // ignore the element which has a role except 'generic', 'paragraph' or 'strong' + // ignore applet element that is deprecated anyway + var role = AriaUtil_1.AriaUtil.getResolvedRole(nw.node); + passed = (role !== null && role !== 'generic' && role !== 'paragraph' && role !== 'strong') || nwName === "applet"; + } + } + } + if (wordsSeen == 0) + passed = true; + //ignore if the string ends with “:” “,” “-” “;” or “.” + if (!passed) + passed = /[:,;\-\.]$/.test(wordStr.join(" ").trim()); + if (passed) { + return null; + } + else { + return (0, IRule_1.RulePotential)("potential_heading", [wordStr.join(" ")]); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/text_contrast_sufficient.ts": +/*!**************************************************!*\ + !*** ./src/v4/rules/text_contrast_sufficient.ts ***! + \**************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.text_contrast_sufficient = void 0; +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +var ColorUtil_1 = __webpack_require__(/*! ../util/ColorUtil */ "./src/v4/util/ColorUtil.ts"); +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CSSUtil_1 = __webpack_require__(/*! ../util/CSSUtil */ "./src/v4/util/CSSUtil.ts"); +exports.text_contrast_sufficient = { + id: "text_contrast_sufficient", + context: "dom:*", + refactor: { + "IBMA_Color_Contrast_WCAG2AA": { + "Pass_0": "pass", + "Fail_1": "fail_contrast", + "Potential_1": "potential_same_color" + }, + "IBMA_Color_Contrast_WCAG2AA_PV": { + "pass_0": "pass", + "potential_1": "potential_graphic_background" + } + }, + help: { + "en-US": { + "group": "text_contrast_sufficient.html", + "pass": "text_contrast_sufficient.html", + "fail_contrast": "text_contrast_sufficient.html", + "potential_same_color": "text_contrast_sufficient.html", + "potential_graphic_background": "text_contrast_sufficient.html", + "potential_text_shadow": "text_contrast_sufficient.html" + } + }, + messages: { + "en-US": { + "group": "The contrast ratio of text with its background must meet WCAG AA requirements", + "pass": "The contrast ratio of text with its background meets WCAG AA requirements", + "fail_contrast": "Text contrast of {0} with its background is less than the WCAG AA minimum requirements for text of size {1}px and weight of {2}", + "potential_same_color": "The foreground text and its background color are both detected as {3}. Verify the text meets the WCAG AA requirements for minimum contrast", + "potential_graphic_background": "Verify the contrast ratio of the text against the lightest and the darkest colors of the background meets the WCAG AA minimum requirements for text of size {1}px and weight of {2}", + "potential_text_shadow": "Verify the contrast ratio of the text with shadow meets the WCAG AA minimum requirements for text of size {1}px and weight of {2}" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: "1.4.3", + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: ['afw4f7'], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var nodeName = ruleContext.nodeName.toLowerCase(); + // avoid diagnosing elements that are not visible + if (!VisUtil_1.VisUtil.isNodeVisible(ruleContext) || + (VisUtil_1.VisUtil.hiddenByDefaultElements != null && + VisUtil_1.VisUtil.hiddenByDefaultElements != undefined && + VisUtil_1.VisUtil.hiddenByDefaultElements.indexOf(nodeName) > -1)) { + return null; + } + //TODO ? should only consider native disabled, ignore aria-disabled + //skip disabled element + if (CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) + return null; + //skip elements + if (CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["svg", "script", "meta"])) + return null; + var doc = ruleContext.ownerDocument; + if (!doc) { + return null; + } + var win = doc.defaultView; + if (!win) { + return null; + } + // Ensure that this element has children with actual text. + var childStr = CommonUtil_1.CommonUtil.getNodeText(ruleContext); + if (!CommonUtil_1.CommonUtil.isShadowHostElement(ruleContext) || (CommonUtil_1.CommonUtil.isShadowHostElement(ruleContext) && CommonUtil_1.CommonUtil.getNodeText(ruleContext.shadowRoot) === '')) { + if (childStr.trim().length == 0) + return null; + // ignore if the text does not convey anything in human language + /** + * (1) ignore non-alphanumeric or special characters in ASCI: ^(a-zA-Z\d\s) + * (2) ignore non-printable unicode characters: \u0000-\u0008\u000B-\u001F\u007F-\u009F\u2000-\u200F\u2028-\u202F\u205F-\u206F\u3000\uFEFF + * see https://stackoverflow.com/questions/3770117/what-is-the-range-of-unicode-printable-characters + * (3) for now not consider unicode special characters that are different in different languages + */ + //let regex = /[^(a-zA-Z\d\s)\u0000-\u0008\u000B-\u001F\u007F-\u009F\u2000-\u200F\u2028-\u202F\u205F-\u206F\u3000\uFEFF]+/g; + var regex = /[^(a-zA-Z\d\s)\^(\u4e00-\u9fff\u3400-\u4dbf)\u0000-\u0008\u000B-\u001F\u007F-\u009F\u2000-\u200F\u2028-\u202F\u205F-\u206F\u3000\uFEFF]+/g; + childStr = childStr.trim().replace(regex, ''); + if (childStr.trim().length === 0) + return null; + } + var elem = ruleContext; + // the child elements (rather than shadow root) of a shadow host is either re-assigned to the shadow slot if the slot exists + // or not displayed, so shouldn't be checked from the light DOM, rather it should be checked as reassginged slot element(s) in the shadow DOM. + if (CommonUtil_1.CommonUtil.isShadowHostElement(ruleContext)) { + // if it's direct text of a shadow host + if (ruleContext.shadowRoot) { + for (var node = ruleContext.firstChild; node; node = node.nextSibling) { + if (node.nodeType == 3) { + //if multiple texts exist, only need to check one + elem = node.assignedSlot; + break; + } + } + } + if (elem === null) + return; + } + var style = win.getComputedStyle(elem); + // JCH clip INFO: + // The clip property lets you specify a rectangle to clip an absolutely positioned element. + // The rectangle specified as four coordinates, all from the top-left corner of the element to be clipped. + // Property values: + // none This is default. No clipping is done + // auto No clipping will be done + // shape The only valid value is: rect (top, right, bottom, left) + // e.g., clip: rect(10px, 20px, 30px, 40px); + // Note: the four values are in the same order as margin/padding + // The rect values are positive pixel values, e.g., 10px, etc. + // margin-box Uses the margin box as the reference box + // border-box Uses the border box as the reference box + // padding-box Uses the padding box as the reference box + // content-box + // fill-box + // stroke-box + // NOTE: the CSS clip property is deprecated + // Also: clip only works if the element is absolutely positioned and can only do rectangles + // check if element visible + var visible = true; + if (style.width !== "0" && + style.height !== "0" && + style.opacity !== "0" && + style.display !== 'none' && + style.visibility !== 'hidden' && + style.overflow !== 'hidden' && + // left and right work with all absolute units + (style.left === "auto" || (style.position === 'absolute' && parseInt(style.left.replace(/[^0-9.+-]/, '')) > 0)) && + (style.left === "auto" || (style.position === 'absolute' && parseInt(style.top.replace(/[^0-9.+-]/, '')) > 0))) { + visible = true; + // console.log("element IS visible"); + // console.log("CHECK COLOR CONTRAST unless to small"); + } + else { + visible = false; + // console.log("element NOT visible"); + } + if (visible === false) { + // console.log("DO NOT CHECK COLOR CONTRAST"); + return null; + } + var clipHeight = -1; + if (style.clip !== "auto") { + var clipString = style.clip.toString(); + if (clipString.includes("rect")) { + var reBrackets = /\((.*)\)/g; + var listOfText = []; + var found = reBrackets.exec(clipString); + var foundArr = found[1].split(', '); + for (var i = 0; i < foundArr.length; i++) { + // console.log("foundArr[",i,"] = ",foundArr[i]); + listOfText.push(foundArr[i]); + } + ; + } + // console.log("listOfText = ",listOfText); + clipHeight = parseInt(listOfText[0].replace(/px/g, '')) - parseInt(listOfText[2].replace(/px/g, '')); + clipHeight = Math.abs(clipHeight); + } + // JCH clip-path INFO: + // Excellent article on clip-path: https://ishadeed.com/article/clip-path/ + // clip-path is a totally different animal with many, many different variations + // The goal was for it to not be as limited as clip + // The syntax is more complicated (as it does more) and it is different from clip, + // e.g., the above clip rectangle would be clip-path: inset(10px 20px 30px 40px); + // Note: there are no commas + // Also, it can take single values to make all sides the same, or 2 values (vert/hori). + // or 3 values (top/hori/bottom) + // And percentages can works as well as px + // + // Although there are five different shapes: inset (term used for rectangle), circle, + // ellipse, polygon, path - we will only concern ourselves with inset + // There are 7 box values: margin-box, border-box, padding-box, content-box, fill-box, stroke-box, view-box + // Box and shape values may be combined: clip-path: padding-box circle(50px at 0 100px); + // NOTE: the box values are NOT intuitive, see: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Shapes/From_box_values#margin-box + // + // So the key question is what amount of effort do we want to invest into clip-path + // + // JCH don't do clip-path now + var clipPathHeight = -1; + // if (style.clipPath !== "auto") { + // console.log("style.clipPath = ",style.clipPath); + // console.log("style.clipPath.toString = ",style.clipPath.toString()); + // let clipString = style.clipPath.toString(); + // if (clipString.includes("inset")) { + // var reBrackets = /\((.*)\)/g; + // var listOfText = []; + // var found = reBrackets.exec(clipString); + // var foundArr = found[1].split(' '); + // for (let i=0; i<foundArr.length; i++) { + // console.log("foundArr[",i,"] = ",foundArr[i]); + // listOfText.push(foundArr[i]); + // }; + // } + // console.log("listOfText = ",listOfText); + // clipPathHeight = parseInt(listOfText[0].replace(/px/g, '')) - parseInt(listOfText[2].replace(/px/g, '')); + // clipPathHeight = Math.abs(clipHeight); + // } + // console.log("clipPathHeight = ", clipPathHeight); + // if (style.position === "absolute" && style.clip === "rect(0px, 0px, 0px, 0px)" && style.overflow !== "visible") { + // JCH arbitrarily use less that 7px for clipHeight + if (style.position === "absolute" && clipHeight < 7 && clipHeight !== -1) { + // console.log("DO NOT CHECK COLOR CONTRAST because too small"); + // Corner case where item is hidden (accessibility hiding technique) + return null; + } + // First determine the color contrast ratio + var colorCombo = ColorUtil_1.ColorUtil.ColorCombo(elem); + if (colorCombo === null) { + //some exception occurred, or not able to get color combo for some reason + console.log("unable to get color combo for element: " + elem.nodeName); + return; + } + var fg = colorCombo.fg; + var bg = colorCombo.bg; + var ratio = fg.contrastRatio(bg); + var weight = CSSUtil_1.CSSUtil.getWeightNumber(style.fontWeight); + var size = CSSUtil_1.CSSUtil.getFontInPixels(style.fontSize, elem); + var isLargeScale = size >= 24 || size >= 18.6 && weight >= 700; + if (CSSUtil_1.CSSUtil.containsCKJ(childStr)) { + // https://github.com/act-rules/act-rules.github.io/pull/2121/files + // for CJK, 22 pt or 18 pt with font-weight >= 700, 1pt = 1.333 px + isLargeScale = size >= 29.3 || size >= 24 && weight >= 700; + } + var passed = ratio >= 4.5 || (ratio >= 3 && isLargeScale); + var hasBackground = colorCombo.hasBGImage || colorCombo.hasGradient; + var textShadow = colorCombo.textShadow; + var isDisabled = CommonUtil_1.CommonUtil.isNodeDisabled(elem); + if (!isDisabled) { + var control = CommonUtil_1.CommonUtil.getControlOfLabel(elem); + if (control) { + isDisabled = CommonUtil_1.CommonUtil.isNodeDisabled(control); + } + } + if (!isDisabled && nodeName === 'label' && CommonUtil_1.CommonUtil.isDisabledByFirstChildFormElement(elem)) { + isDisabled = true; + } + if (!isDisabled && ruleContext.hasAttribute("id") && CommonUtil_1.CommonUtil.isDisabledByReferringElement(elem)) { + isDisabled = true; + } + /**setCache(ruleContext, "EXT_Color_Contrast_WCAG2AA", { + "ratio": ratio, + "isLargeScale": isLargeScale, + "weight": weight, + "size": size, + "hasBackground": hasBackground, + "isDisabled": isDisabled + });*/ + // If element or parent is disabled, this rule does not apply (but may be 3:1 in future) + if (!passed && isDisabled) { + passed = true; + } + if (!passed) { + if (hasBackground) { + // fire potential since a text on an image or gradient may be still viewable, depending on the text location on the gradient or image + return (0, IRule_1.RulePotential)("potential_graphic_background", [ratio.toFixed(2), size, weight]); + ; + } + else if (textShadow) { + // fire potential since a text with shadow may be still viewable, depending on the shadow efffects + return (0, IRule_1.RulePotential)("potential_text_shadow", [ratio.toFixed(2), size, weight]); + ; + } + else { + if (fg.toHex() === bg.toHex()) { + return (0, IRule_1.RulePotential)("potential_same_color", [ratio.toFixed(2), size, weight, fg.toHex(), bg.toHex(), colorCombo.hasBGImage, colorCombo.hasGradient]); + } + else { + return (0, IRule_1.RuleFail)("fail_contrast", [ratio.toFixed(2), size, weight, fg.toHex(), bg.toHex(), colorCombo.hasBGImage, colorCombo.hasGradient]); + } + } + } + else { + return (0, IRule_1.RulePass)("pass", [ratio.toFixed(2), size, weight, fg.toHex(), bg.toHex(), colorCombo.hasBGImage, colorCombo.hasGradient]); + } + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/text_quoted_correctly.ts": +/*!***********************************************!*\ + !*** ./src/v4/rules/text_quoted_correctly.ts ***! + \***********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.text_quoted_correctly = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.text_quoted_correctly = { + id: "text_quoted_correctly", + context: "dom:*", + help: { + "en-US": { + "Pass_0": "text_quoted_correctly.html", + "Potential_1": "text_quoted_correctly.html", + "group": "text_quoted_correctly.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "If the following text is a quotation, mark it as a <q> or <blockquote> element: {0}", + "group": "Quotations should be marked with <q> or <blockquote> elements" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // ignore the check if the node is hidden + if (!VisUtil_1.VisUtil.isNodeVisible(ruleContext)) + return null; + // Don't trigger if the element is not in the body + if (CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["body"]) === null) + return null; + var validateParams = { + minWords: { + value: 3, + type: "integer" + } + }; + var minWords = validateParams.minWords.value; + var passed = true; + var walkNode = ruleContext.firstChild; + var violatedtext = null; + // ignore the check for the text of the following elements + var ignored = ["blockquote", "q", "script", "style", "pre", "code", "ruby", "samp"]; + while (passed && walkNode) { + // Comply to the Check Hidden Content setting will be done by default as this rule triggers on each element + // and for each element it only checks that single elements text nodes and nothing else. So all inner elements will be + // covered on their own. Currently for this rule by default Check Hidden Content will work, as we are doing + // a node walk only on siblings so it would not get text nodes from other siblings at all. + // In the case in the future something chnges, just need to add && !RPTUtil.shouldNodeBeSkippedHidden(walkNode) to the below + // if. + if (walkNode.nodeName === "#text") { + var txtVal = walkNode.nodeValue; + // Do the regex tests first - should be fast + // Remove apostrophe's + txtVal = txtVal.replace(/(\S)'(\S)/g, "$1$2"); + var dblQuotes = txtVal.match(/("[^"]+")/g); + var snglQuotes = txtVal.match(/('[^']+')/g); + // Walk the parents - only continue testing if we found a quote, but + // we're not already marked up + // Also skip if we're in a script - there's lots of quotes used in scripts + if ((dblQuotes !== null || snglQuotes !== null) && + CommonUtil_1.CommonUtil.getAncestor(walkNode, ignored) === null) { + if (dblQuotes != null) { + for (var i = 0; passed && i < dblQuotes.length; ++i) + passed = CommonUtil_1.CommonUtil.wordCount(dblQuotes[i]) < minWords; + } + if (snglQuotes != null) { + for (var i = 0; passed && i < snglQuotes.length; ++i) + passed = CommonUtil_1.CommonUtil.wordCount(snglQuotes[i]) < minWords; + } + // Remove any linefeed inside the quote + // violatedtext = txtVal.replace(new RegExp("\\r?\\n|\\r","g"),""); + if (dblQuotes === null) { + violatedtext = snglQuotes.join(", ").replace(new RegExp("\\r?\\n|\\r", "g"), ""); + } + else if (snglQuotes === null) { + violatedtext = dblQuotes.join(", ").replace(new RegExp("\\r?\\n|\\r", "g"), ""); + } + else { + violatedtext = dblQuotes.concat(snglQuotes).join(", ").replace(new RegExp("\\r?\\n|\\r", "g"), ""); + } + } + } + walkNode = walkNode.nextSibling; + } + //if the violatedtext is longer than 69 chars, only keep the first 32, the " ... ", and the last 32 chars + if (!passed && violatedtext.length && violatedtext.length > 69) { + violatedtext = violatedtext.substring(0, 32) + " ... " + violatedtext.substring(violatedtext.length - 32); + } + return passed ? (0, IRule_1.RulePass)("Pass_0") : (0, IRule_1.RulePotential)("Potential_1", [violatedtext]); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/text_sensory_misuse.ts": +/*!*********************************************!*\ + !*** ./src/v4/rules/text_sensory_misuse.ts ***! + \*********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.text_sensory_misuse = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.text_sensory_misuse = { + id: "text_sensory_misuse", + context: "dom:body, dom:body dom:*", + refactor: { + "RPT_Text_SensoryReference": { + // "Pass_0": "pass", + "Potential_1": "potential_position, potential_other" + } + }, + help: { + "en-US": { + // "pass": "text_sensory_misuse.html", + "potential_position": "text_sensory_misuse.html", + "potential_other": "text_sensory_misuse.html", + "group": "text_sensory_misuse.html" + } + }, + messages: { + "en-US": { + // "pass": "Instructions are meaningful without relying solely on shape, size, or location words", + "potential_position": "Confirm the word(s) '{0}' of the user instruction is used to indicate a logical rather than visual position", + "potential_other": "Confirm the user instruction is still understandable without the word(s) '{0}'", + "group": "Instructions should be meaningful without relying solely on shape, size, or location words" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.3"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Extract the nodeName of the context node + var nodeName = ruleContext.nodeName.toLowerCase(); + //skip the check if the element is hidden or disabled + if (!VisUtil_1.VisUtil.isNodeVisible(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext) || VisUtil_1.VisUtil.hiddenByDefaultElements.includes(nodeName)) + return null; + // Don't trigger if we're not in the body or if we're in a script + if (CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["body"]) === null) + return null; + // ignore script, link, label and their child elements + if (CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["script", "a", 'label']) !== null) + return null; + // ignore text on landmark roles, but not on their children (e.g., section, main) + var role = AriaUtil_1.AriaUtil.getResolvedRole(ruleContext); + if (role) { + var lmRoles = AriaUtil_1.AriaUtil.getRolesWithTypes(ruleContext, ["landmark"]); + if (lmRoles && lmRoles.includes(role)) + return null; + } + // ignore all widgets and headings, and their children, and certain structure roles + var roles = AriaUtil_1.AriaUtil.getRolesWithTypes(ruleContext, ["widget", "heading"]); + // add some structure roles + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(["caption", "cell", "code", "columnheader", "definition", "figure", "list", "listitem", "math", "meter", "row", "rowgroup", "rowheader", "term"], roles); + if (AriaUtil_1.AriaUtil.getAncestorWithRoles(ruleContext, roles) !== null) + return null; + var violatedPositionText = ""; + var violatedOtherText = ""; + var walkNode = ruleContext.firstChild; + var txtVal = ""; + while (walkNode) { + // for each element it only checks that single elements text nodes and nothing else. + // all inner elements will be covered on their own. + // whitespace characters (space, newline, tab) between elements are considered a node too. + if (walkNode.nodeName === "#text") { + var txt = walkNode.nodeValue.trim(); + if (txt.length > 0) + txtVal += (txtVal.length > 0 ? ", " + txt : txt); + } + walkNode = walkNode.nextSibling; + } + if (txtVal.length > 0) { + // first to remove each exempt word with a single space in the text + var exemptRegex = getRegex(ruleContext.ownerDocument, "exemptText"); + txtVal = txtVal.replace(exemptRegex, " "); + violatedPositionText = getViolatedText(ruleContext.ownerDocument, "positionText", txtVal); + violatedOtherText = getViolatedText(ruleContext.ownerDocument, "otherText", txtVal); + } + var ret = []; + if (violatedPositionText) + ret.push((0, IRule_1.RulePotential)("potential_position", [violatedPositionText])); + if (violatedOtherText) + ret.push((0, IRule_1.RulePotential)("potential_other", [violatedOtherText])); + return ret.length == 0 ? null : ret; + } +}; +var validateParams = { + positionText: { + value: ["top-left", "top-right", "bottom-right", "bottom-left", + "top-to-bottom", "left-to-right", "bottom-to-top", "right-to-left", + "right", "left", "above", "below", "top", "bottom", + "upper", "lower", "corner", "beside" + ], + type: "[string]" + }, + otherText: { + value: ["round", "square", "shape", "rectangle", "triangle", + "size", "large", "small", "medium", "big", "huge", "tiny", "extra", + "larger", "smaller", "bigger", "little", "largest", "smallest", "biggest" + ], + type: "[string]" + }, + exemptText: { + value: ["right-click", "left-click", "right-clicking", "right-clicks", + "left-clicking", "left-clicks", "square root", "right now", "off the top" //append as needed + ], + type: "[string]" + } +}; +function getRegex(doc, type) { + if (!validateParams[type]) + return ""; + var sensoryRegex = CacheUtil_1.CacheUtil.getCache(doc, type + "_sensory_misuse", null); + if (sensoryRegex == null) { + var sensoryText = validateParams[type].value; + var regexStr = "(\s\s+|" + sensoryText[0]; + for (var j = 1; j < sensoryText.length; ++j) { + var words = sensoryText[j].trim().split(" "); + regexStr += "|" + words[0]; + if (words.length > 1) { + for (var c = 1; c < words.length; ++c) + regexStr += " +" + words[c]; + } + } + //regexStr += ")\\W"; + regexStr += ")"; + sensoryRegex = new RegExp(regexStr, "gi"); + CacheUtil_1.CacheUtil.setCache(doc, type + "_sensory_misuse", sensoryRegex); + } + return sensoryRegex; +} +function getViolatedText(doc, type, txtVal) { + if (!txtVal) + return ""; + var sensoryTextArr = validateParams[type].value; + var hash = {}, result = []; + // split the string into words + var counts = txtVal.split(/\s+/).reduce(function (map, word) { + var wordWoTrailingPunc = word.replace(/[.?!:;()'",`\]]+$/, ""); + var lcWordWoPunc = word.toLowerCase().replace(/[.?!:;()'",`\]]/g, ""); + for (var counter = 0; counter < sensoryTextArr.length; counter++) { + var a = lcWordWoPunc.indexOf(sensoryTextArr[counter]); + var sensoryWordLen = sensoryTextArr[counter].length; + var charFollowSensoryText = lcWordWoPunc.charAt(sensoryWordLen + a); + // If the word does not contains substring of sensoryTextArr[counter] + // proceed to the next loop iteration for next sensoryText. + if (a < 0) { + continue; + } + //check the following and proceeding punctuations + //let isPuncfollowing = ((charFollowSensoryText == '\-') || + var isPuncfollowing = ((charFollowSensoryText == '\.') || + (charFollowSensoryText == '\?') || (charFollowSensoryText == '\!') || + (charFollowSensoryText == '\:') || (charFollowSensoryText == '\;') || + (charFollowSensoryText == '\(') || (charFollowSensoryText == '\)') || + (charFollowSensoryText == '\'') || (charFollowSensoryText == '\"') || + (charFollowSensoryText == '\,') || (charFollowSensoryText == '.\`') || + (charFollowSensoryText == '\\') || (charFollowSensoryText == '\]')); + var isPuncPreceding = false; + if (a > 0) { + var charPrecedeSensoryText = lcWordWoPunc.charAt(a - 1); + isPuncPreceding = ((charPrecedeSensoryText == '\-') || + (charPrecedeSensoryText == '\.') || + (charPrecedeSensoryText == '\?') || (charPrecedeSensoryText == '\!') || + (charPrecedeSensoryText == '\:') || (charPrecedeSensoryText == '\;') || + (charPrecedeSensoryText == '\(') || (charPrecedeSensoryText == '\)') || + (charPrecedeSensoryText == '\'') || (charPrecedeSensoryText == '\"') || + (charPrecedeSensoryText == '\,') || (charPrecedeSensoryText == '.\`') || + (charPrecedeSensoryText == '\\') || (charPrecedeSensoryText == '\]')); + } + if (((lcWordWoPunc.length == sensoryWordLen) || (isPuncfollowing == true) || (isPuncPreceding == true))) { + if (!hash.hasOwnProperty(wordWoTrailingPunc)) { + hash[wordWoTrailingPunc] = true; + result.push(wordWoTrailingPunc); + } + counter = sensoryTextArr.length; + } + } + map[wordWoTrailingPunc] = (map[wordWoTrailingPunc] || 0) + 1; + return map; + }, Object.create(null)); + return result.join(", "); +} + + +/***/ }), + +/***/ "./src/v4/rules/text_spacing_valid.ts": +/*!********************************************!*\ + !*** ./src/v4/rules/text_spacing_valid.ts ***! + \********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.text_spacing_valid = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +var CSSUtil_1 = __webpack_require__(/*! ../util/CSSUtil */ "./src/v4/util/CSSUtil.ts"); +var DOMMapper_1 = __webpack_require__(/*! ../../v2/dom/DOMMapper */ "./src/v2/dom/DOMMapper.ts"); +exports.text_spacing_valid = { + id: "text_spacing_valid", + context: "dom:*", + help: { + "en-US": { + "pass": "text_spacing_valid.html", + "group": "text_spacing_valid.html", + "fail_letter_spacing_style": "text_spacing_valid.html", + "fail_word_spacing_style": "text_spacing_valid.html", + "fail_line_height_style": "text_spacing_valid.html" + } + }, + messages: { + "en-US": { + "pass": "CSS !important is not used in inline style to control letter or word spacing or line height", + "group": "CSS !important should not be used in inline style to control letter or word spacing or line height", + "fail_letter_spacing_style": "CSS !important should not be used in inline ‘letter-spacing’ style", + "fail_word_spacing_style": "CSS !important should not be used in inline ‘word-spacing’ style", + "fail_line_height_style": "CSS !important should not be used in inline ‘line-height’ style" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.4.12"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: ['9e45ec', '24afc2', '78fd32'], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var nodeName = ruleContext.nodeName.toLowerCase(); + //skip the check if the element is hidden or disabled + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) + return null; + //skip the check if the element is off screen + var mapper = new DOMMapper_1.DOMMapper(); + var bounds = mapper.getUnadjustedBounds(ruleContext); + //in case the bounds not available + if (!bounds) + return null; + if (bounds['top'] < 0 || bounds['left'] < 0) + return null; + //skip no-html element + if (CommonUtil_1.CommonUtil.getAncestor(ruleContext, "svg")) + return null; + // Ensure that this element has children with actual text. + var childStr = ""; + var childNodes = ruleContext.childNodes; + for (var i = 0; i < childNodes.length; ++i) { + if (childNodes[i].nodeType == 3) { + childStr += childNodes[i].nodeValue; + } + } + if (childStr.trim().length == 0) + return null; + //font size always resolved to 'px' + var font_size_style = getComputedStyle(ruleContext).getPropertyValue('font-size'); + var font_size = parseFloat(font_size_style); + var styles = CSSUtil_1.CSSUtil.getDefinedStyles(ruleContext); + if (Object.keys(styles).length === 0) + return null; + //note that CSS unit is required for non-zero values, otherwise it's ignored + var ret = []; + // matched string: original style, the style value and unit + var regex = /(-?[\d.]+)([a-z%]*)/; + var word_style = styles['word-spacing']; + if (word_style) { + if (word_style.startsWith('inherit') || word_style.startsWith('unset')) { + //get closet ancestor's word-spacing + var ancestor = CSSUtil_1.CSSUtil.getAncestorWithStyles(ruleContext.parentElement, { "word-spacing": ["*"] }, ['inherit', 'unset']); + if (ancestor !== null) { + word_style = CSSUtil_1.CSSUtil.getDefinedStyles(ancestor)['word-spacing']; + } + else if (word_style.startsWith('unset')) { + word_style = "initial"; + } + } + if (ruleContext.style.getPropertyPriority("word-spacing") === 'important') { + word_style = word_style.substring(0, word_style.length - "!important".length - 1); + // computed space is 0 for 'normal' or 'initial'. + if (word_style === 'initial' || word_style === 'normal') + ret.push((0, IRule_1.RuleFail)("fail_word_spacing_style")); + else { + var wordSpacing = parseFloat(word_style); + if (!isNaN(wordSpacing)) { + var parsed = word_style.trim().match(regex); + if (parsed[2] !== '' && parsed[1] !== 0) { //no zero value without unit which is considered as error, so implicable + var pixels = CSSUtil_1.CSSUtil.convertValue2Pixels(parsed[2], parsed[1], ruleContext); + if (pixels !== null && pixels / font_size < 0.16) + ret.push((0, IRule_1.RuleFail)("fail_word_spacing_style")); + else + ret.push((0, IRule_1.RulePass)("pass")); + } + } + else + ret.push((0, IRule_1.RulePass)("pass")); + } + } + else + ret.push((0, IRule_1.RulePass)("pass")); + } + var letter_style = styles['letter-spacing']; + if (letter_style) { + if (letter_style.startsWith('inherit') || letter_style.startsWith('unset')) { + //get closet ancestor's word-spacing + var ancestor = CSSUtil_1.CSSUtil.getAncestorWithStyles(ruleContext.parentElement, { "letter-spacing": ["*"] }, ['inherit', 'unset']); + if (ancestor !== null) { + letter_style = CSSUtil_1.CSSUtil.getDefinedStyles(ancestor)['letter-spacing']; + } + else if (letter_style.startsWith('unset')) { + letter_style = "initial"; + } + } + if (ruleContext.style.getPropertyPriority("letter-spacing") === 'important') { + letter_style = letter_style.substring(0, letter_style.length - "!important".length - 1); + // computed space is 0 for 'normal' or 'initial'. + if (letter_style === 'initial' || letter_style === 'normal') + ret.push((0, IRule_1.RuleFail)("fail_letter_spacing_style")); + else { + var letterSpacing = parseFloat(letter_style); + if (!isNaN(letterSpacing)) { + var parsed = letter_style.trim().match(regex); + if (parsed[2] !== '' && parsed[1] !== 0) { //no zero value without unit which is considered as error, so implicable + var pixels = CSSUtil_1.CSSUtil.convertValue2Pixels(parsed[2], parsed[1], ruleContext); + if (pixels !== null && pixels / font_size < 0.12) + ret.push((0, IRule_1.RuleFail)("fail_letter_spacing_style")); + else + ret.push((0, IRule_1.RulePass)("pass")); + } + } + else + ret.push((0, IRule_1.RulePass)("pass")); + } + } + else + ret.push((0, IRule_1.RulePass)("pass")); + } + var line_style = styles['line-height']; + var overflow = { "overflow": ['auto', 'scroll'], "overflow-x": ['auto', 'scroll'], "overflow-y": ['auto', 'scroll'] }; + if (line_style && CSSUtil_1.CSSUtil.getAncestorWithStyles(ruleContext, overflow) === null) { + if (line_style.startsWith('inherit') || line_style.startsWith('unset')) { + //get closet ancestor's word-spacing + var ancestor = CSSUtil_1.CSSUtil.getAncestorWithStyles(ruleContext.parentElement, { "line-height": ["*"] }, ['inherit', 'unset']); + if (ancestor !== null) { + line_style = CSSUtil_1.CSSUtil.getDefinedStyles(ancestor)['line-height']; + } + else if (line_style.startsWith('unset')) { + line_style = "initial"; + } + } + if (ruleContext.style.getPropertyPriority("line-height") === 'important') { + line_style = line_style.substring(0, line_style.length - "!important".length - 1); + // computed space is 0 for 'normal' or 'initial'. + if (line_style === 'initial' || line_style === 'normal') + ret.push((0, IRule_1.RuleFail)("fail_line_height_style")); + else { + var lineHeight = parseFloat(line_style); + if (!isNaN(lineHeight)) { + var parsed = line_style.trim().match(regex); + if (parsed[2] === '') { //line-height are allowed unitless when the valie is multiple (or fraction) of the font size + if (parsed[1] < 1.5) + ret.push((0, IRule_1.RuleFail)("fail_line_height_style")); + else + ret.push((0, IRule_1.RulePass)("pass")); + } + else { + var pixels = CSSUtil_1.CSSUtil.convertValue2Pixels(parsed[2], parsed[1], ruleContext); + if (pixels !== null && pixels / font_size < 1.5) + ret.push((0, IRule_1.RuleFail)("fail_line_height_style")); + else + ret.push((0, IRule_1.RulePass)("pass")); + } + } + else + ret.push((0, IRule_1.RulePass)("pass")); + } + } + else + ret.push((0, IRule_1.RulePass)("pass")); + } + if (ret.length > 0) + return ret; + return null; //implicable or ignore + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/text_whitespace_valid.ts": +/*!***********************************************!*\ + !*** ./src/v4/rules/text_whitespace_valid.ts ***! + \***********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.text_whitespace_valid = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +exports.text_whitespace_valid = { + id: "text_whitespace_valid", + context: "dom:*", + help: { + "en-US": { + "pass": "text_whitespace_valid.html", + "potential_text": "text_whitespace_valid.html", + "group": "text_whitespace_valid.html" + } + }, + messages: { + "en-US": { + "pass": "Rule Passed", + "potential_text": "Space characters should not be used to create space between the letters of a word", + "group": "Space characters should not be used to control spacing within a word" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Don't trigger if we're not in the body or if we're in a script + var checkAncestor = CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["body", "script", "code"]); + if (checkAncestor == null || checkAncestor.nodeName.toLowerCase() != "body") + return null; + var passed = true; + var walkNode = ruleContext.firstChild; + while (passed && walkNode) { + // Comply to the Check Hidden Content setting will be done by default as this rule triggers on each element + // and for each element it only checks that single elements text nodes and nothing else. So all inner elements will be + // covered on their own. Currently for this rule by default Check Hidden Content will work, as we are doing + // a node walk only on siblings so it would not get text nodes from other siblings at all. + // In the case in the future something chnges, just need to add && !RPTUtil.shouldNodeBeSkippedHidden(walkNode) to the below + // if. + if (walkNode.nodeName == "#text") { + var txtVal = walkNode.nodeValue; + passed = !(/(^|\s)[a-zA-Z] [a-zA-Z] [a-zA-Z]($|\s)/.test(txtVal)); + } + walkNode = walkNode.nextSibling; + } + if (passed) + return (0, IRule_1.RulePass)("pass"); + return (0, IRule_1.RulePotential)("potential_text"); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/widget_tabbable_exists.ts": +/*!************************************************!*\ + !*** ./src/v4/rules/widget_tabbable_exists.ts ***! + \************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.widget_tabbable_exists = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var ARIAMapper_1 = __webpack_require__(/*! ../../v2/aria/ARIAMapper */ "./src/v2/aria/ARIAMapper.ts"); +var DOMWalker_1 = __webpack_require__(/*! ../../v2/dom/DOMWalker */ "./src/v2/dom/DOMWalker.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.widget_tabbable_exists = { + id: "widget_tabbable_exists", + context: "aria:button,aria:link,aria:spinbutton,aria:tablist,aria:combobox,aria:listbox,aria:menu,aria:radiogroup,aria:tree,aria:menubar, aria:grid, aria:treegrid, 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": "widget_tabbable_exists.html", + "fail_no_tabbable": "widget_tabbable_exists.html", + "group": "widget_tabbable_exists.html" + } + }, + messages: { + "en-US": { + "pass": "Rule Passed", + "fail_no_tabbable": "Component with \"{0}\" role does not have a tabbable element", + "group": "Component must have at least one tabbable element" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the check if the element is hidden or disabled + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) + return; + //skip the check if the element should be a presentational child of an element + if (AriaUtil_1.AriaUtil.shouldBePresentationalChild(ruleContext)) + return; + var nodeName = ruleContext.nodeName.toLowerCase(); + //ignore datalist element check since it will be part of a input element or hidden by default + if (nodeName === 'datalist') + return null; + // Composite user interface widget roles. They act as containers that manage other, contained widgets. + var roleContainers = ["combobox", "grid", "listbox", "menu", "menubar", "radiogroup", "tablist", "tree", "treegrid"]; + for (var _i = 0, roleContainers_1 = roleContainers; _i < roleContainers_1.length; _i++) { + var role_1 = roleContainers_1[_i]; + if (AriaUtil_1.AriaUtil.getAncestorWithRole(ruleContext, role_1, true) != null) + // it's a descendant of a composite widget already examined + return null; + } + var role = ARIAMapper_1.ARIAMapper.nodeToRole(ruleContext); + var count = 0; + if (CommonUtil_1.CommonUtil.isTabbable(ruleContext)) { + ++count; + } + // If node has children, look for tab stops in the children + // skip the count if the element requires presentational children only + if (count < 1 && !AriaUtil_1.AriaUtil.containsPresentationalChildrenOnly(ruleContext) && ruleContext.firstChild) { + //let nw = new NodeWalker(ruleContext); + var nw = new DOMWalker_1.DOMWalker(ruleContext); + while (count < 1 && nw.nextNode() && nw.node != ruleContext) { + if (nw.node.nodeType == 1 && !nw.bEndTag && CommonUtil_1.CommonUtil.isTabbable(nw.node)) { + ++count; + } + } + } + var passed = count >= 1; + return passed ? (0, IRule_1.RulePass)("pass") : (0, IRule_1.RulePotential)("fail_no_tabbable", [role]); + } +}; + + +/***/ }), + +/***/ "./src/v4/rules/widget_tabbable_single.ts": +/*!************************************************!*\ + !*** ./src/v4/rules/widget_tabbable_single.ts ***! + \************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.widget_tabbable_single = void 0; +var IRule_1 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var IRule_2 = __webpack_require__(/*! ../api/IRule */ "./src/v4/api/IRule.ts"); +var DOMWalker_1 = __webpack_require__(/*! ../../v2/dom/DOMWalker */ "./src/v2/dom/DOMWalker.ts"); +var AriaUtil_1 = __webpack_require__(/*! ../util/AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ../util/CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var ARIAMapper_1 = __webpack_require__(/*! ../../v2/aria/ARIAMapper */ "./src/v2/aria/ARIAMapper.ts"); +var CacheUtil_1 = __webpack_require__(/*! ../util/CacheUtil */ "./src/v4/util/CacheUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ../util/VisUtil */ "./src/v4/util/VisUtil.ts"); +exports.widget_tabbable_single = { + 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", + "potential_multiple_tabbable": "potential_multiple_tabbable" + } + }, + help: { + "en-US": { + "pass": "widget_tabbable_single.html", + "potential_multiple_tabbable": "widget_tabbable_single.html", + "group": "widget_tabbable_single.html" + } + }, + messages: { + "en-US": { + "pass": "Components with a widget role should have no more than one tabbable element", + "potential_multiple_tabbable": "Component with \"{0}\" role has more than one tabbable element", + "group": "Components with a widget role must have no more than one tabbable element" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.1.1", "2.4.3"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the check if the element is hidden or disabled + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) + return; + //skip the check if the element should be a presentational child of an element + if (AriaUtil_1.AriaUtil.shouldBePresentationalChild(ruleContext)) + return; + var role = ARIAMapper_1.ARIAMapper.nodeToRole(ruleContext); + var count = 0; + if (CommonUtil_1.CommonUtil.isTabbable(ruleContext)) { + ++count; + } + // If node has children, look for tab stops in the children + //skip the count if the element requires presentational children only + var name = []; + if (count < 2 && !AriaUtil_1.AriaUtil.containsPresentationalChildrenOnly(ruleContext) && ruleContext.firstChild) { + //let nw = new NodeWalker(ruleContext); + var nw = new DOMWalker_1.DOMWalker(ruleContext); + while (count < 2 && nw.nextNode() && nw.node != ruleContext) { + if (nw.node.nodeType == 1 && !nw.bEndTag && CommonUtil_1.CommonUtil.isTabbable(nw.node)) { + // Radio inputs with the same name natively are only one tab stop + if (nw.node.nodeName.toLowerCase() === 'input' && nw.node.getAttribute("type") === 'radio') { + var curName = nw.node.getAttribute("name"); + if (name.includes(curName)) + continue; + else + name.push(curName); + } + ++count; + } + } + } + var passed = count < 2; + if (!passed) + CacheUtil_1.CacheUtil.setCache(ruleContext, "widget_tabbable_single", "potential_multiple_tabbable"); + return passed ? (0, IRule_1.RulePass)("pass") : (0, IRule_1.RulePotential)("potential_multiple_tabbable", [role]); + } +}; + + +/***/ }), + +/***/ "./src/v4/rulesets.ts": +/*!****************************!*\ + !*** ./src/v4/rulesets.ts ***! + \****************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.a11yRulesets = void 0; +// This file comes from https://raw.githubusercontent.com/act-rules/act-tools/main/src/data/sc-urls.json +var SCURLs = __webpack_require__(/*! ./sc-urls.json */ "./src/v4/sc-urls.json"); +var IGuideline_1 = __webpack_require__(/*! ./api/IGuideline */ "./src/v4/api/IGuideline.ts"); +var SCs = []; +for (var key in SCURLs) { + SCs.push(SCURLs[key]); +} +var summaries = { + "1.1.1": "All non-text content that is presented to the user has a text alternative that serves the equivalent purpose.", + "1.2.1": "For prerecorded audio-only or video-only media, an alternative provides equivalent information.", + "1.2.2": "Captions are provided for all prerecorded audio content in synchronized media.", + "1.2.3": "An alternative for time-based media or audio description of the prerecorded video content is provided for synchronized media.", + "1.2.4": "Captions are provided for all live audio content in synchronized media.", + "1.2.5": "Audio description is provided for all prerecorded video content in synchronized media.", + "1.3.1": "Information, structure, and relationships conveyed through presentation can be programmatically determined or are available in text.", + "1.3.2": "When the sequence in which content is presented affects its meaning, a correct reading sequence can be programmatically determined.", + "1.3.3": "Instructions provided for understanding and operating content do not rely solely on sensory characteristics of components such as shape, size, visual location, orientation, or sound.", + "1.3.4": "Content does not restrict its view and operation to a single display orientation, such as portrait or landscape.", + "1.3.5": "The purpose of each input field that collects information about the user can be programmatically determined when the field serves a common purpose.", + "1.4.1": "Color is not used as the only visual means of conveying information, indicating an action, prompting a response, or distinguishing a visual element.", + "1.4.2": "If any audio plays automatically for more than 3 seconds, either a mechanism is available to pause or stop the audio, or a mechanism is available to control audio volume independently from the overall system volume level.", + "1.4.3": "The visual presentation of text and images of text has a contrast ratio of at least 4.5:1, with a 3:1 ratio for large-scale text.", + "1.4.4": "Text can be resized without assistive technology up to 200 percent without loss of content or functionality.", + "1.4.5": "If the technologies being used can achieve the visual presentation, text should not be used to convey information rather than images of text.", + "1.4.10": "Content can reflow without loss of information or functionality, and without requiring scrolling in two dimensions.", + "1.4.11": "The parts of graphical objects required to understand the content, and the visual information required to identify UI components and states, have a contrast ratio of at least 3:1 against adjacent colors.", + "1.4.12": "No loss of content or functionality occurs when users change letter, word and paragraph spacing, as well as line height.", + "1.4.13": "Where hover or focus actions cause additional content to become visible and hidden, the additional content is dismissable, hoverable and persistent.", + "2.1.1": "All functionality of the content is operable through a keyboard interface without requiring specific timings for individual keystrokes.", + "2.1.2": "If keyboard focus can be moved to a component using a keyboard interface, then focus can be moved away from that component using only a keyboard interface, and, if it requires more than unmodified arrow or tab keys or other standard exit methods, the user is advised of the method for moving focus away.", + "2.1.4": "If a keyboard shortcut is implemented using only letter, punctuation, number or symbol characters, then the shortcut can be turned off, remapped or activated only on focus.", + "2.2.1": "For each time limit that is set by the content, the user can turn off, adjust, or extend the limit.", + "2.2.2": "For moving, blinking, scrolling, or auto-updating information, the user can pause, stop, hide or adjust the information.", + "2.3.1": "Content does not contain anything that flashes more than three times in any one second period, or the flash is below the general flash and red flash thresholds.", + "2.4.1": "A mechanism is available to bypass blocks of content that are repeated on multiple Web pages.", + "2.4.2": "Web pages, non-web documents, and software have titles that describe topic or purpose.", + "2.4.3": "If content can be navigated sequentially and the navigation sequences affect meaning or operation, focusable components receive focus in an order that preserves meaning and operability.", + "2.4.4": "The purpose of each link can be determined from the link text alone or from the link text together with its programmatically determined link content.", + "2.4.5": "More than one way is available to locate a Web page within a set of Web pages, except where the Web Page is the result of, or a step in, a process.", + "2.4.6": "Headings and labels describe topic or purpose.", + "2.4.7": "Any keyboard operable user interface has a mode of operation where the keyboard focus indicator is visible.", + "2.4.11": "When an element receives focus, it is not entirely covered by other content.", + "2.5.1": "All functionality that uses multipoint or path-based gestures for operation can be operated with a single pointer without a path-based gesture.", + "2.5.2": "For functionality that can be operated using a single pointer, completion of the function is on the up-event with an ability to abort, undo or reverse the outcome.", + "2.5.3": "For user interface components with labels that include text or images of text, the accessible name contains the text that is presented visually.", + "2.5.4": "Functionality that can be operated by motion can also be operated by user interface components, and the motion trigger can be disabled.", + "2.5.8": "The size of the target for pointer inputs is at least 24 by 24 CSS pixels.", + "2.5.7": "All functionality that uses a dragging movement for operation can be achieved by a single pointer without dragging.", + "3.1.1": "The default human language of Web pages, non-Web documents, or software can be programmatically determined.", + "3.1.2": "The human language of each passage or phrase in the content can be programmatically determined.", + "3.2.1": "When any component receives focus, it does not initiate a change of context.", + "3.2.2": "Changing the setting of any user interface component does not automatically cause a change of context unless the user has been advised of the behavior before using the component.", + "3.2.3": "Navigational mechanisms that are repeated on multiple Web pages within a set of Web pages occur in the same relative order each time they are repeated, unless a change is initiated by the user.", + "3.2.4": "Components that have the same functionality within a set of Web pages are identified consistently.", + "3.2.6": "Make it easier to find help and support. If a Web page contains help mechanisms they occur in the same order relative to other page content, unless a change is initiated by the user.", + "3.3.1": "If an input error is automatically detected, the item that is in error is identified and the error is described to the user in text.", + "3.3.2": "Labels or instructions are provided when content requires user input.", + "3.3.3": "If an input error is automatically detected and suggestions for correction are known, then the suggestions are provided to the user, unless it would jeopardize the security or purpose of the content.", + "3.3.4": "For content that cause legal commitments or financial transactions for the user to occur, that modify or delete user-controllable data in data storage systems, or that submit user test responses, the user can reverse, correct, or confirm the action.", + "3.3.7": "Make it easier for users to complete multi-step processes. Don't ask for the same information twice in the same session.", + "3.3.8": "Make logins possible with less mental effort. Don't make people solve, recall, or transcribe something to log in.", + "4.1.1": "(Obsolete and removed) This requirement was originally adopted to address problems that assistive technology (AT) had directly parsing HTML. AT no longer has any need to directly parse HTML. Consequently, these problems either no longer exist or are addressed by other requirements.", + "4.1.2": "For all user interface components (including, but not limited to: form elements, links and components generated by scripts), the name and role can be programmatically determined; states, properties, and values that can be set by the user can be programmatically set; and notification of changes to these items is available to user agents, including assistive technologies.", + "4.1.3": "In content implemented using markup languages, status messages can be programmatically determined through role or properties such that they can be presented to the user by assistive technologies without receiving focus.", + "HTML": "The HTML specification issues that cause accessibility issues may be covered by other rules and will be reported under those accessibility requirements. However, some non-conforming HTML specification issues are still reported.", + "ARIA": "The ARIA specification issues that cause accessibility issues may be covered by other rules and will be reported under those accessibility requirements. However, some non-conforming ARIA specification issues are still reported.", +}; +exports.a11yRulesets = [ + // { + // id: "DEBUG", + // name: "DEBUG Rules", + // category: eRuleCategory.ACCESSIBILITY, + // description: "Rules for debugging", + // checkpoints: [{ + // num: "1", + // name: "Debug CP 1", + // wcagLevel: "A", + // summary: "Rules for Debug" + // }] + // }, + { + id: "EXTENSIONS", + name: "Extension Rules", + category: IGuideline_1.eGuidelineCategory.ACCESSIBILITY, + description: "Rules for enabling the browser extensions", + type: IGuideline_1.eGuidelineType.EXTENSION, + checkpoints: [{ + num: "1", + name: "Extension CP 1", + wcagLevel: "A", + summary: "Rules for Extension" + }] + }, + { + id: "IBM_Accessibility", + name: "IBM Accessibility 7.3", + category: IGuideline_1.eGuidelineCategory.ACCESSIBILITY, + description: "Rules for WCAG 2.0, 2.1, 2.2 A and AA plus additional IBM supplemental requirements.", + // This ruleset has all 2.0 and 2.1 checkpoints that are A or AA + checkpoints: SCs + .filter(function (sc) { return (sc.level === "A" || sc.level === "AA" || sc.level === "NA") && (sc.wcagType === "2.0" || sc.wcagType === "2.1" || sc.wcagType === "2.2" || sc.wcagType === "NA"); }) + .map(function (sc) { return ({ + num: sc.num, + scId: sc.scId, + name: sc.handle, + wcagLevel: sc.level, + summary: summaries[sc.num] + }); }) + }, + { + id: "IBM_Accessibility_next", + name: "IBM Accessibility next", + category: IGuideline_1.eGuidelineCategory.ACCESSIBILITY, + description: "Rules for WCAG 2.0, 2.1, 2.2 A and AA plus additional IBM supplemental requirements.", + // This ruleset has all 2.0 and 2.1 checkpoints that are A or AA + checkpoints: SCs + .filter(function (sc) { return (sc.level === "A" || sc.level === "AA" || sc.level === "NA") && (sc.wcagType === "2.0" || sc.wcagType === "2.1" || sc.wcagType === "2.2" || sc.wcagType === "NA"); }) + .map(function (sc) { return ({ + num: sc.num, + scId: sc.scId, + name: sc.handle, + wcagLevel: sc.level, + summary: summaries[sc.num] + }); }) + }, + { + id: "WCAG_2_2", + name: "WCAG 2.2 (A, AA)", + category: IGuideline_1.eGuidelineCategory.ACCESSIBILITY, + description: "Rules for WCAG 2.2 A & AA. This is the current W3C recommendation (specification). Content that conforms to WCAG 2.2 also conforms to WCAG 2.1.", + // This ruleset has all 2.0 and 2.1 checkpoints that are A or AA + checkpoints: SCs + .filter(function (sc) { return (sc.level === "A" || sc.level === "AA") && (sc.wcagType === "2.0" || sc.wcagType === "2.1" || sc.wcagType === "2.2"); }) + .map(function (sc) { return ({ + num: sc.num, + scId: sc.scId, + name: sc.handle, + wcagLevel: sc.level, + summary: summaries[sc.num] + }); }) + }, + { + id: "WCAG_2_1", + name: "WCAG 2.1 (A, AA)", + category: IGuideline_1.eGuidelineCategory.ACCESSIBILITY, + description: "Rules for WCAG 2.1 A & AA. Content that conforms to WCAG 2.1 also conforms to WCAG 2.0.", + // This ruleset has all 2.0 and 2.1 checkpoints that are A or AA + checkpoints: SCs + .filter(function (sc) { return (sc.level === "A" || sc.level === "AA") && (sc.wcagType === "2.0" || sc.wcagType === "2.1"); }) + .map(function (sc) { return ({ + num: sc.num, + scId: sc.scId, + name: sc.handle, + wcagLevel: sc.level, + summary: summaries[sc.num] + }); }) + }, + { + id: "WCAG_2_0", + name: "WCAG 2.0 (A, AA)", + category: IGuideline_1.eGuidelineCategory.ACCESSIBILITY, + description: "Rules for WCAG 2.0 A & AA. Referenced by US Section 508, but not the latest W3C recommendation.", + // This ruleset has all 2.0 checkpoints that are A or AA + checkpoints: SCs + .filter(function (sc) { return (sc.level === "A" || sc.level === "AA") && (sc.wcagType === "2.0"); }) + .map(function (sc) { return ({ + num: sc.num, + scId: sc.scId, + name: sc.handle, + wcagLevel: sc.level, + summary: summaries[sc.num] + }); }) + } +]; + + +/***/ }), + +/***/ "./src/v4/util/AccNameUtil.ts": +/*!************************************!*\ + !*** ./src/v4/util/AccNameUtil.ts ***! + \************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AccNameUtil = void 0; +var ARIADefinitions_1 = __webpack_require__(/*! ../../v2/aria/ARIADefinitions */ "./src/v2/aria/ARIADefinitions.ts"); +var CommonUtil_1 = __webpack_require__(/*! ./CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var AriaUtil_1 = __webpack_require__(/*! ./AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ./VisUtil */ "./src/v4/util/VisUtil.ts"); +var CacheUtil_1 = __webpack_require__(/*! ./CacheUtil */ "./src/v4/util/CacheUtil.ts"); +var DOMWalker_1 = __webpack_require__(/*! ../../v2/dom/DOMWalker */ "./src/v2/dom/DOMWalker.ts"); +var DOMUtil_1 = __webpack_require__(/*! ../../v2/dom/DOMUtil */ "./src/v2/dom/DOMUtil.ts"); +var AccNameUtil = /** @class */ (function () { + function AccNameUtil() { + } + // calculate accessible name for a given node + AccNameUtil.computeAccessibleName = function (elem) { + if (!elem) + return null; + var nodeName = elem.nodeName.toLowerCase(); + var name_pair = CacheUtil_1.CacheUtil.getCache(elem, "ELEMENT_ACCESSBLE_NAME", undefined); + if (name_pair !== undefined) + return name_pair; + // 1. name from author, or elements without a role but with aria-labelledby or aria-label + // get aria label even for the role where the name is prohibited or is 'presentation' or 'none' + var accName = AriaUtil_1.AriaUtil.getAriaLabel(elem); + if (accName && accName.trim() !== "") { + CacheUtil_1.CacheUtil.setCache(elem, "ELEMENT_ACCESSBLE_NAME", { "name": CommonUtil_1.CommonUtil.truncateText(accName), "nameFrom": "ariaLabel" }); + return { "name": CommonUtil_1.CommonUtil.truncateText(accName), "nameFrom": "ariaLabel" }; + } + // 2. accessible name mapping for native html elements + name_pair = AccNameUtil.computeAccessibleNameForNativeElement(elem); + if (name_pair) { + CacheUtil_1.CacheUtil.setCache(elem, "ELEMENT_ACCESSBLE_NAME", name_pair); + return name_pair; + } + // 3. name from native or aria attribute + /**name_pair = AccNameUtil.computeAccessibleNameFromAttribute(elem); + if (name_pair) { + CacheUtil.setCache(elem, "ELEMENT_ACCESSBLE_NAME", name_pair); + return name_pair; + }*/ + // 4. name from content for custom elements with a role + var role = AriaUtil_1.AriaUtil.getResolvedRole(elem); + if (ARIADefinitions_1.ARIADefinitions.designPatterns[role] && ARIADefinitions_1.ARIADefinitions.designPatterns[role].nameFrom.includes("contents")) { + name_pair = AccNameUtil.computeAccessibleNameFromContent(elem); + if (name_pair) { + CacheUtil_1.CacheUtil.setCache(elem, "ELEMENT_ACCESSBLE_NAME", name_pair); + return name_pair; + } + } + // 5. name from the global attribute "title" + if (elem.hasAttribute("title")) { + var title = elem.getAttribute("title").trim(); + if (title && title.trim().length > 0) { + title = CommonUtil_1.CommonUtil.truncateText(title); + CacheUtil_1.CacheUtil.setCache(elem, "ELEMENT_ACCESSBLE_NAME", { "name": title, "nameFrom": "title" }); + return { "name": title, "nameFrom": "title" }; + } + } + // 6. name from the attribute "placeholder" + if (nodeName === 'textarea' || (nodeName === 'input' && (!elem.hasAttribute("type") || CommonUtil_1.CommonUtil.input_type_with_placeholder.includes(elem.getAttribute("type"))))) { + var placeholder = elem.getAttribute("placeholder"); + if (placeholder && placeholder.trim().length > 0) { + placeholder = CommonUtil_1.CommonUtil.truncateText(placeholder); + CacheUtil_1.CacheUtil.setCache(elem, "ELEMENT_ACCESSBLE_NAME", { "name": placeholder, "nameFrom": "placeholder" }); + return { "name": placeholder, "nameFrom": "placeholder" }; + } + } + CacheUtil_1.CacheUtil.setCache(elem, "ELEMENT_ACCESSBLE_NAME", null); + return null; + }; + // calculate accessible name for native elements + AccNameUtil.computeAccessibleNameForNativeElement = function (elem) { + var nodeName = elem.nodeName.toLowerCase(); + // labellable fields + if (CommonUtil_1.CommonUtil.form_labelable_elements.includes(nodeName)) { + // Get only the non-hidden labels for element + var label = CommonUtil_1.CommonUtil.getFormFieldLabel(elem); + if (label && label.trim() !== '') + return { "name": CommonUtil_1.CommonUtil.truncateText(label), "nameFrom": "label" }; + } + // input types: button, reset, submit, image + if (nodeName === "input" && elem.hasAttribute("type")) { + if (CommonUtil_1.CommonUtil.form_button_types.includes(elem.getAttribute("type"))) { + // input types: button, reset, submit + // Get the "value" attribute for the element + var value = CommonUtil_1.CommonUtil.getElementAttribute(elem, "value"); + if (value && value.trim() !== '') + return { "name": CommonUtil_1.CommonUtil.truncateText(value), "nameFrom": "value" }; + // input 'submit' and 'reset' have visible defaults so pass if there is no explicit 'value' attribute + var type = elem.getAttribute("type"); + if (type === 'submit' || type === 'reset') + return { "name": type, "nameFrom": "internal" }; + } + else if (elem.getAttribute("type") === 'image') { + // input type = 'image' + // note that though HTML 5 spec indicates "The element's [value] attribute must be omitted", Chrome uses the value. + // Get the accessible name for the alt attribute + var alt = CommonUtil_1.CommonUtil.getElementAttribute(elem, "alt"); + if (alt && alt.trim() !== '') + return { "name": CommonUtil_1.CommonUtil.truncateText(alt), "nameFrom": "alt" }; + ; + // the visible default text for type "image" is "Submit" same with the type "submit" + //return {"name":elem.getAttribute("type"), "nameFrom": "internal"}; + } + } + // button + // note button may have a value attribute, but it's not a visible text + if (nodeName === "button") { + // first use the button text + var text = elem.innerText; + if (text && text.trim() !== '') + return { "name": CommonUtil_1.CommonUtil.truncateText(text), "nameFrom": "text" }; + // for image button: get the first image if exists + var image = elem.querySelector('img'); + if (image && !VisUtil_1.VisUtil.isNodeHiddenFromAT(image) && !VisUtil_1.VisUtil.isNodePresentational(image)) { + var pair = AccNameUtil.computeAccessibleName(image); + if (pair && pair.name && pair.name.trim().length > 0) + return pair; + } + } + // fieldset + if (nodeName === "fieldset") { + // if the fieldset element's first child is a legend element, then use the subtree of the legend + var first = elem.firstElementChild; + if (first && first.nodeName.toLowerCase() === 'legend') { + // legend can be mixed text + var text = first.innerText; + if (text && text.trim().length > 0) + return { "name": CommonUtil_1.CommonUtil.truncateText(text), "nameFrom": "legend" }; + } + } + // output + if (nodeName === "output") { + // if the associated label element exists, use concatenated accessible name(s) from labelled elements. + if (elem.hasAttribute("for")) { + var labelIDs = elem.getAttribute("for").trim().split(" "); + if (labelIDs && labelIDs.length > 0) { + var label = ""; + for (var j = 0; j < labelIDs.length; j++) { + var labelNode = elem.ownerDocument.getElementById(labelIDs[j]); + if (labelNode && !DOMUtil_1.DOMUtil.sameNode(labelNode, elem) && !VisUtil_1.VisUtil.isNodeHiddenFromAT(labelNode) && !VisUtil_1.VisUtil.isNodePresentational(labelNode)) { + var pair = AccNameUtil.computeAccessibleName(labelNode); + if (pair && pair.name && pair.name.trim().length > 0) + label += " " + CommonUtil_1.CommonUtil.normalizeSpacing(pair.name); + } + } + if (label.trim().length > 0) + return { "name": CommonUtil_1.CommonUtil.truncateText(label), "nameFrom": "label" }; + } + } + } + // summary + if (nodeName === "summary") { + // use summary element subtree + var text = elem.innerText; + if (text && text.trim().length > 0) + return { "name": CommonUtil_1.CommonUtil.truncateText(text), "nameFrom": "legend" }; + } + // details + if (nodeName === "details") { + var first = elem.firstElementChild; + if (first && first.nodeName.toLowerCase() === 'summary') { + // get accessible name from summary + var pair = AccNameUtil.computeAccessibleName(first); + if (pair && pair.name && pair.name.trim().length > 0) + return { "name": CommonUtil_1.CommonUtil.truncateText(pair.name.trim()), "nameFrom": "summary" }; + } + // If no summary element as a direct child of the details element, + // the user agent should provide one with a subtree containing a localized string of the word "details". + return { "name": "details", "nameFrom": "internal" }; + } + // figure + if (nodeName === "figure") { + // if the figure element has a figcaption as the first or last child + var caption = elem.firstElementChild; + if (!caption) { + caption = elem.lastElementChild; + if (caption && caption.nodeName.toLowerCase() === 'figcaption') { + // figcaption can be mixed text + var text = caption.innerText; + if (text && text.trim().length > 0) + return { "name": CommonUtil_1.CommonUtil.truncateText(text), "nameFrom": "figcaption" }; + } + } + } + // img elements: use attribute "alt" + if (nodeName === "img") { + if (elem.hasAttribute("alt")) { + var alt = elem.getAttribute("alt"); + return { "name": CommonUtil_1.CommonUtil.truncateText(alt), "nameFrom": "alt" }; + } + } + // area elements: use attribute "alt" + if (nodeName === "area") { + if (elem.hasAttribute("alt")) { + var alt = elem.getAttribute("alt"); + if (alt && alt.trim().length > 0) + return { "name": CommonUtil_1.CommonUtil.truncateText(alt), "nameFrom": "alt" }; + } + } + // table element + if (nodeName === "table") { + // if the figure element has a caption as the first child + var captionElem = elem.firstElementChild; + if (captionElem && captionElem.nodeName.toLowerCase() === 'caption') { + // caption can be mixed text + var caption = captionElem.innerText; + if (caption && caption.trim().length > 0) + return { "name": CommonUtil_1.CommonUtil.truncateText(caption), "nameFrom": "caption" }; + } + } + // a element + if (nodeName === "a") { + // first use the link text + var text = elem.innerText; + if (text && text.trim() !== '') + return { "name": CommonUtil_1.CommonUtil.truncateText(text), "nameFrom": "text" }; + //for image link: get the image or svg if exists + var images = elem.querySelectorAll(":scope > img, :scope > svg"); + if (images && images.length > 0) { + var text_1 = ""; + images.forEach(function (image) { + if (!VisUtil_1.VisUtil.isNodeHiddenFromAT(image) && !VisUtil_1.VisUtil.isNodePresentational(image)) { + var pair = AccNameUtil.computeAccessibleName(image); + if (pair && pair.name && pair.name.trim().length > 0) + text_1 += " " + pair.name.trim(); + } + }); + if (text_1.trim() !== '') + return { "name": text_1.trim(), "nameFrom": "alt" }; + } + } + // optgroup + // label participate in accessible name calculation: https://www.w3.org/TR/html-aam-1.0/#att-label + // The label attribute must be specified. Its value gives the name of the group + // the value is disabled in the interface + if (nodeName === "optgroup" || nodeName === "option" || nodeName === "track") { + var label = elem.getAttribute("label"); + if (label && label.trim().length > 0) + return { "name": CommonUtil_1.CommonUtil.truncateText(label), "nameFrom": "label" }; + } + // svg + if (nodeName === "svg") { + var pair = AccNameUtil.computeAccessibleNameForSVGElement(elem); + if (pair && pair.name && pair.name.trim().length > 0) + return pair; + } + return null; + }; + // calculate accessible name for native elements + AccNameUtil.computeAccessibleNameForSVGElement = function (elem) { + // 1. a direct child or descendant title element + var svgTitles = elem.querySelectorAll(":scope > title"); + if (svgTitles && svgTitles.length > 0) { + var text_2 = ""; + svgTitles.forEach(function (svgTitle) { + if (svgTitle && !VisUtil_1.VisUtil.isNodeHiddenFromAT(svgTitle) && !VisUtil_1.VisUtil.isNodePresentational(svgTitle)) { + var title = svgTitle.textContent; + if (title && title.trim() !== '') + text_2 += title.trim(); + } + }); + if (text_2 && text_2.trim() !== '') + return { "name": text_2.trim(), "nameFrom": "svgTitle" }; + } + // 2. xlink:title attribute on a link + var linkTitle = elem.querySelector("a"); + if (linkTitle && !VisUtil_1.VisUtil.isNodeHiddenFromAT(linkTitle) && !VisUtil_1.VisUtil.isNodePresentational(linkTitle)) { + var link = linkTitle.getAttribute("xlink:title"); + if (link && link.trim() !== '') + return { "name": CommonUtil_1.CommonUtil.truncateText(link), "nameFrom": "svglinkTitle" }; + } + /** 3. for text container elements, the text content. + * note the SVG text content elements are: ‘text’, ‘textPath’ and ‘tspan’. + * svg element can be nested. One of the purposes is to to group SVG shapes together as a collection for responsive design. + * + * select text content excluded the text from the nested svg elements and their children + */ + var text = ""; + elem.querySelectorAll(":scope > *").forEach(function (element) { + if (element.nodeName.toLowerCase() !== 'svg' && !VisUtil_1.VisUtil.isNodeHiddenFromAT(element) && !VisUtil_1.VisUtil.isNodePresentational(element)) { + var value = element.textContent; + if (value && value.trim().length > 0) + text += value; + } + }); + if (text.trim() !== '') + return { "name": CommonUtil_1.CommonUtil.truncateText(text), "nameFrom": "svgText" }; + // 4. from aria-describedby or aria-description + var descby = AriaUtil_1.AriaUtil.getAriaDescription(elem); + if (descby && descby.trim().length > 0) + return { "name": CommonUtil_1.CommonUtil.truncateText(descby), "nameFrom": "aria-description" }; + // 5. a direct child or descendant desc element + var descElems = elem.querySelectorAll(":scope > desc"); + if (descElems && descElems.length > 0) { + var text_3 = ""; + descElems.forEach(function (descElem) { + if (descElem && !VisUtil_1.VisUtil.isNodeHiddenFromAT(descElem) && !VisUtil_1.VisUtil.isNodePresentational(descElem)) { + var desc = descElem.textContent; + if (desc && desc.trim() !== '') + text_3 += desc.trim(); + } + }); + if (text_3 && text_3.trim() !== '') + return { "name": text_3.trim(), "nameFrom": "svgDesc" }; + } + }; + // calculate accessible name for custom elements marked with aria + AccNameUtil.computeAccessibleNameFromContent = function (elem) { + var nodeName = elem.nodeName.toLowerCase(); + var role = AriaUtil_1.AriaUtil.getResolvedRole(elem); + /** for acc name from content, the content from CSS pseudo-elements + * :before and :after pseudo elements [CSS2] can provide textual content for elements that have a content model. + * For :before or :after pseudo elements, user agents must prepend CSS textual content, without a space, + * to the textual content of the current node. + */ + var pair = AccNameUtil.computeAccessibleNameForCSSPseudoElement(elem, "before"); + if (pair !== null && pair.name && pair.name.trim().length > 0) + return pair; + pair = AccNameUtil.computeAccessibleNameForCSSPseudoElement(elem, "after"); + if (pair && pair.name && pair.name.trim().length > 0) + return pair; + // shadow host + if (elem.shadowRoot) { + pair = AccNameUtil.computeAccessibleNameForShadowHost(elem); + if (pair && pair.name && pair.name.trim().length > 0) + return { "name": pair.name, "nameFrom": "shadow" }; + ; + } + // slot element + if (nodeName === "slot") { + pair = AccNameUtil.computeAccessibleNameForSlostElement(elem); + if (pair && pair.name && pair.name.trim().length > 0) + return { "name": pair.name, "nameFrom": "slot" }; + } + // otherwise: get the value from the element + pair = AccNameUtil.computeAccessibleNameFromChildren(elem); + if (pair && pair.name && pair.name.trim().length > 0) + return { "name": pair.name, "nameFrom": "content" }; + // no accessible name exists + return null; + }; + // calculate accessible name from CSS generated content + AccNameUtil.computeAccessibleNameForCSSPseudoElement = function (elem, type) { + var contentElem = elem.ownerDocument.defaultView.getComputedStyle(elem, type); + if (contentElem) { + var content = contentElem.content; + if (content && content !== "none") { + content = content.replace(/^"/, "").replace(/"$/, ""); + if (content.trim().length > 0) + return { "name": CommonUtil_1.CommonUtil.truncateText(content), "nameFrom": "css-" + type }; + } + } + return null; + }; + // calculate accessible name for SLOT element + AccNameUtil.computeAccessibleNameForShadowHost = function (elem) { + var text = ""; + var shadowRoot = elem.shadowRoot; + if (shadowRoot) { + var children = shadowRoot.querySelectorAll('*'); + // check text from all the children elements + children.forEach(function (child) { + var pair = AccNameUtil.computeAccessibleName(child); + if (pair && pair.name && pair.name.trim().length > 0) + text += " " + pair.name.trim(); + }); + } + if (text.trim().length > 0) + return { "name": CommonUtil_1.CommonUtil.truncateText(text), "nameFrom": "shadow-host" }; + return null; + }; + // calculate accessible name for SLOT element + AccNameUtil.computeAccessibleNameForSlostElement = function (elem) { + //if no assignedNode, check its own text + var text = ""; + if (!elem.assignedNodes() || elem.assignedNodes().length === 0) { + var pair = AccNameUtil.computeAccessibleName(elem); + if (pair && pair.name && pair.name.trim().length > 0) + text += " " + pair.name.trim(); + } + else { + // check text from all assigned nodes + for (var _i = 0, _a = elem.assignedNodes(); _i < _a.length; _i++) { + var slotChild = _a[_i]; + var pair = AccNameUtil.computeAccessibleName(slotChild); + if (pair && pair.name && pair.name.length > 0) + text += " " + pair.name.trim(); + } + } + if (text.trim().length > 0) + return { "name": CommonUtil_1.CommonUtil.truncateText(text), "nameFrom": "content-slot" }; + return null; + }; + // calculate accessible name from children content + AccNameUtil.computeAccessibleNameFromChildren = function (elem) { + var text = ""; + //let walkChild = elem.firstChild; + var nw = new DOMWalker_1.DOMWalker(elem); + // Loop over all the childrens of the element to get the text + while (nw.nextNode() && nw.node !== elem && nw.node !== elem.parentNode) { + //while (walkChild) { + var walkChild = nw.node; + if (walkChild.nodeType === 3) { + // for the text node, get the parentnode to check visibility + var parent_1 = walkChild.parentElement; + if (!VisUtil_1.VisUtil.isNodeHiddenFromAT(parent_1) && !VisUtil_1.VisUtil.isNodePresentational(parent_1) && walkChild.nodeValue && walkChild.nodeValue.trim().length > 0) + text += " " + walkChild.nodeValue.trim(); + } + else if (walkChild.nodeType === 1 && !VisUtil_1.VisUtil.isNodeHiddenFromAT(walkChild) && !VisUtil_1.VisUtil.isNodePresentational(walkChild)) { + var pair = AccNameUtil.computeAccessibleName(walkChild); + if (pair && pair.name && pair.name.length > 0) + text += " " + pair.name.trim(); + } + } + if (text.trim().length > 0) + return { "name": CommonUtil_1.CommonUtil.truncateText(text), "nameFrom": "content" }; + return null; + }; + return AccNameUtil; +}()); +exports.AccNameUtil = AccNameUtil; + + +/***/ }), + +/***/ "./src/v4/util/AriaUtil.ts": +/*!*********************************!*\ + !*** ./src/v4/util/AriaUtil.ts ***! + \*********************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { + if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { + if (ar || !(i in from)) { + if (!ar) ar = Array.prototype.slice.call(from, 0, i); + ar[i] = from[i]; + } + } + return to.concat(ar || Array.prototype.slice.call(from)); +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AriaUtil = void 0; +var CacheUtil_1 = __webpack_require__(/*! ./CacheUtil */ "./src/v4/util/CacheUtil.ts"); +var ARIADefinitions_1 = __webpack_require__(/*! ../../v2/aria/ARIADefinitions */ "./src/v2/aria/ARIADefinitions.ts"); +var ARIAMapper_1 = __webpack_require__(/*! ../../v2/aria/ARIAMapper */ "./src/v2/aria/ARIAMapper.ts"); +var DOMWalker_1 = __webpack_require__(/*! ../../v2/dom/DOMWalker */ "./src/v2/dom/DOMWalker.ts"); +var VisUtil_1 = __webpack_require__(/*! ./VisUtil */ "./src/v4/util/VisUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ./CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var fragment_1 = __webpack_require__(/*! ../../v2/checker/accessibility/util/fragment */ "./src/v2/checker/accessibility/util/fragment.ts"); +var DOMUtil_1 = __webpack_require__(/*! ../../v2/dom/DOMUtil */ "./src/v2/dom/DOMUtil.ts"); +var AriaUtil = /** @class */ (function () { + function AriaUtil() { + } + AriaUtil.isDefinedAriaAttributeAtIndex = function (ele, index) { + var attrName = ele.attributes[index].name; + return AriaUtil.isDefinedAriaAttribute(ele, attrName); + }; + /** + * this method returns user-defined aria attribute name from dom + * @param ele element + * @returns user defined aria attributes + */ + AriaUtil.getUserDefinedAriaAttributes = function (elem) { + var ariaAttributes = []; + var domAttributes = elem.attributes; + if (domAttributes) { + for (var i = 0; i < domAttributes.length; i++) { + var attrName = domAttributes[i].name.trim().toLowerCase(); + var isAria = attrName.substring(0, 5) === 'aria-'; + if (isAria) + ariaAttributes.push(attrName); + } + } + return ariaAttributes; + }; + /** + * this method returns user-defined html attribute name from dom + * @param ele element + * @returns user defined html attributes + */ + AriaUtil.getUserDefinedHtmlAttributes = function (elem) { + var htmlAttributes = []; + var domAttributes = elem.attributes; + if (domAttributes) { + for (var i = 0; i < domAttributes.length; i++) { + var attrName = domAttributes[i].name.trim().toLowerCase(); + var isAria = attrName.substring(0, 5) === 'aria-'; + if (!isAria) + htmlAttributes.push(attrName); + } + } + return htmlAttributes; + }; + /** + * this method returns user-defined aria attribute name-value pair from dom + * @param ele element + * @returns user defined aria attributes + */ + AriaUtil.getUserDefinedAriaAttributeNameValuePairs = function (elem) { + var ariaAttributes = []; + var domAttributes = elem.attributes; + if (domAttributes) { + for (var i = 0; i < domAttributes.length; i++) { + var attrName = domAttributes[i].name.trim().toLowerCase(); + var attrValue = elem.getAttribute(attrName); + if (attrValue === '') + attrValue = null; + var isAria = attrName.substring(0, 5) === 'aria-'; + if (isAria) + ariaAttributes.push({ name: attrName, value: attrValue }); + } + } + return ariaAttributes; + }; + /** + * this method returns user-defined html attribute name-value pair from dom + * @param ele element + * @returns user defined html attributes + */ + AriaUtil.getUserDefinedHtmlAttributeNameValuePairs = function (elem) { + var htmlAttributes = []; + var domAttributes = elem.attributes; + if (domAttributes) { + for (var i = 0; i < domAttributes.length; i++) { + var attrName = domAttributes[i].name.trim().toLowerCase(); + var attrValue = elem.getAttribute(attrName); + if (attrValue === '') + attrValue = null; + var isAria = attrName.substring(0, 5) === 'aria-'; + if (!isAria) + htmlAttributes.push({ name: attrName, value: attrValue }); + } + } + return htmlAttributes; + }; + /** + * This method handles implicit aria definitions, for example, an input with checked is equivalent to aria-checked="true" + */ + AriaUtil.getAriaAttribute = function (ele, attributeName) { + // If the attribute is defined, it takes precedence + var retVal = ele.getAttribute(attributeName); + if (ele.hasAttribute(attributeName) && retVal.trim() === "") { //"" is treated as false, so we need return it before the below check + return retVal; + } + // Then determine implicit values from other attributes + if (!retVal) { + var tag = ele.nodeName.toLowerCase(); + if (attributeName in AriaUtil.ariaAttributeImplicitMappings) { + if (tag in AriaUtil.ariaAttributeImplicitMappings[attributeName]) { + retVal = AriaUtil.ariaAttributeImplicitMappings[attributeName][tag]; + if (typeof (retVal) === "function") { + retVal = retVal(ele); + } + } + else if ("*" in AriaUtil.ariaAttributeImplicitMappings[attributeName]) { + retVal = AriaUtil.ariaAttributeImplicitMappings[attributeName]["*"]; + if (typeof (retVal) === "function") { + retVal = retVal(ele); + } + } + } + } + // Check role-based defaults + if (!retVal) { + var role = ARIAMapper_1.ARIAMapper.nodeToRole(ele); + if (role in AriaUtil.ariaAttributeRoleDefaults && attributeName in AriaUtil.ariaAttributeRoleDefaults[role]) { + retVal = AriaUtil.ariaAttributeRoleDefaults[role][attributeName]; + if (typeof (retVal) === "function") { + retVal = retVal(ele); + } + } + } + // Still not defined? Check global defaults + if (!retVal && attributeName in AriaUtil.ariaAttributeGlobalDefaults) { + retVal = AriaUtil.ariaAttributeGlobalDefaults[attributeName]; + } + return retVal; + }; + AriaUtil.isDefinedAriaAttribute = function (ele, attrName) { + var isDefinedAriaAttribute = false; + if (attrName.substring(0, 5) === 'aria-') { + // User agents SHOULD treat state and property attributes with a value of "" the same as they treat an absent attribute. + isDefinedAriaAttribute = ele.hasAttribute && ele.hasAttribute(attrName) && ele.getAttribute(attrName).length > 0; + } + return isDefinedAriaAttribute; + }; + /** + * WAI-ARIA’s role attribute may have a list of values, but only the first valid and supported WAI-ARIA role is used + * https://www.w3.org/TR/wai-aria-implementation/#mapping_role_table + * This function is responsible for retrieving the resoled role for an element. + * @parm {HTMLElement} ele - element for which to find role. + * + * @return string - resolved role for the element: + * explicit role: resoled from the list of values + * implicit role: if not explicitely specified, or none of the specified role values is allowed for the element + * null: if none of the specified role values is allowed for the element, neither implicit role exists + * + * @memberOf AriaUtil + */ + AriaUtil.getResolvedRole = function (elem, considerImplicitRoles) { + if (considerImplicitRoles === void 0) { considerImplicitRoles = true; } + if (!elem) + return null; + var role = CacheUtil_1.CacheUtil.getCache(elem, "RPTUTIL_ELEMENT_RESOLVED_ROLE", null); + if (role === null) { + var roles = AriaUtil.getUserDefinedRoles(elem); + var tagProperty = AriaUtil.getElementAriaProperty(elem); + var allowedRoles = AriaUtil.getAllowedAriaRoles(elem, tagProperty); + var containsGeneric = false; + if (roles && roles.length > 0 && allowedRoles && allowedRoles.length > 0) { + for (var i = 0; i < roles.length; i++) { + if (allowedRoles.includes("any") || allowedRoles.includes(roles[i])) { + if (allowedRoles.includes("any") && roles[i] === 'generic') { + containsGeneric = true; + continue; + } + role = roles[i]; + if (role === "presentation" || role === "none") { + // If element is focusable, then presentation roles are to be ignored + if (CommonUtil_1.CommonUtil.isFocusable(elem)) { + //reset rule to null + role = null; + continue; + } + } + break; + } + } + if (containsGeneric) + role = 'generic'; + } + if (role === null && considerImplicitRoles) { + var implicitRole = AriaUtil.getImplicitRole(elem); + role = implicitRole && implicitRole.length > 0 ? implicitRole[0] : undefined; + } + CacheUtil_1.CacheUtil.setCache(elem, "RPTUTIL_ELEMENT_RESOLVED_ROLE", role); + } + return role !== undefined ? role : null; + }; + /** + * This function is responsible for retrieving user defined element's roles from dom. + * @parm {HTMLElement} ele - element for which to find role. + * + * @return {List} roles - list of user defined roles in the element role attribute. + * + * @memberOf AriaUtil + */ + AriaUtil.getUserDefinedRoles = function (ele) { + return AriaUtil.getRoles(ele, false); + }; + /** + * This function is responsible for retrieving element's roles. + * This function also finds implicit roles. + * @parm {HTMLElement} ele - element for which to find role. + * @parm {bool} considerImplicitRoles - true or false based on if implicit roles setting should be considered. + * + * @return {List} roles - list of attribute roles and implicit roles. + * + * @memberOf AriaUtil + */ + AriaUtil.getRoles = function (ele, considerImplicitRoles) { + var roles = []; + if (ele && ele.hasAttribute && ele.hasAttribute("role")) { + var attrRoles = CommonUtil_1.CommonUtil.normalizeSpacing(ele.getAttribute("role").trim()).split(" "); + for (var i = 0; i < attrRoles.length; ++i) { + roles.push(attrRoles[i]); + } + } + //check if implicit roles exist. + //Note: element can have multiple implicit roles + if (considerImplicitRoles) { + var implicitRole = AriaUtil.getImplicitRole(ele); + if (implicitRole !== null && implicitRole.length > 0) { + //add implicit roles to the attributes roles. + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(implicitRole, roles); + } + } + return roles; + }; + /** + * Returns the implicit role of the elemement + * @parm {HTMLElement} ele - element for which to find role. + * + * @return the implicit role or [] if doesn't exist + * + * @memberOf AriaUtil + */ + AriaUtil.getImplicitRole = function (ele) { + if (!ele || ele.nodeType !== 1) + return null; + var implicitRoles = CacheUtil_1.CacheUtil.getCache(ele, "AriaUtil_ImplicitRole", null); + if (!implicitRoles) { + var tagProperty = AriaUtil.getElementAriaProperty(ele); + // check if there are any implicit roles for this element. + if (tagProperty && tagProperty.implicitRole) { + if (tagProperty.implicitRole.includes("generic")) { + // the 'generic' role is only allowed if a valid aria attribute exists. + var domAriaAttributes_1 = AriaUtil.getUserDefinedAriaAttributes(ele); + if (domAriaAttributes_1.length === 0) { + CacheUtil_1.CacheUtil.setCache(ele, "AriaUtil_ImplicitRole", []); + return []; + } + var roleAttributes = []; + var pattern = ARIADefinitions_1.ARIADefinitions.designPatterns['generic']; + if (pattern.reqProps && pattern.reqProps.length > 0) + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(pattern.reqProps, roleAttributes); + if (tagProperty.globalAriaAttributesValid) + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(ARIADefinitions_1.ARIADefinitions.globalProperties, roleAttributes); + if (pattern.deprecatedProps && pattern.deprecatedProps.length > 0) + CommonUtil_1.CommonUtil.reduceArrayItemList(pattern.deprecatedProps, roleAttributes); + // remove 'generic' role if roleAttributes doesn't contain any of domAriaAttributes + if (roleAttributes.length > 0 && !roleAttributes.some(function (attr) { return domAriaAttributes_1.includes(attr); })) { + var implicit = CommonUtil_1.CommonUtil.reduceArrayItemList(['generic'], tagProperty.implicitRole); + CacheUtil_1.CacheUtil.setCache(ele, "AriaUtil_ImplicitRole", implicit); + return implicit; + } + } + CacheUtil_1.CacheUtil.setCache(ele, "AriaUtil_ImplicitRole", tagProperty.implicitRole); + return tagProperty.implicitRole; + } + CacheUtil_1.CacheUtil.setCache(ele, "AriaUtil_ImplicitRole", []); + return []; + } + return implicitRoles; + }; + /** + * Returns the required properties of the role + * @parm {string} role - the role + * @parm {HTMLElement} ele - element for which to find role. + * + * @return {List} properties - list of properties that are required by the role + * + * @memberOf AriaUtil + */ + AriaUtil.getRoleRequiredProperties = function (role, ele) { + if (role === null) { + return null; + } + if (ARIADefinitions_1.ARIADefinitions.designPatterns[role]) { + var requiredAttributes = ARIADefinitions_1.ARIADefinitions.designPatterns[role].reqProps; + // handle special case of separator + if (role.toLowerCase() === "separator" && ele && CommonUtil_1.CommonUtil.isFocusable(ele)) { + requiredAttributes = CommonUtil_1.CommonUtil.concatUniqueArrayItemList(["aria-valuenow"], requiredAttributes || []); + } + return requiredAttributes; + } + else { + return null; + } + }; + /** + * This function is responsible for finding if a element has given role. + * This function aslo finds if element has given roles as implicit role. + * @parm {HTMLElement} ele - element for which to find role. + * @parm {list or string} roles - List or single role for which to find if element has these roles. + * @parm {bool} considerImplicitRoles - true or false based on if implicit roles setting should be considered. + * + * @return {List} retVal - true or false based on if th element has the specified role. + * + * @memberOf AriaUtil + * + * Consider to use hasRoleInSemantics() instead. + */ + AriaUtil.hasRole = function (ele, role, considerImplicitRoles) { + var retVal = false; + if (ele && ele.hasAttribute && ele.hasAttribute("role")) { + if (typeof (role) != typeof ("")) { + var roles = ele.getAttribute("role").trim().split(" "); + for (var i = 0; !retVal && i < roles.length; ++i) { + retVal = roles[i] in role; + } + } + else { + var roles = ele.getAttribute("role").trim().split(" "); + for (var i = 0; !retVal && i < roles.length; ++i) { + retVal = roles[i] === role; + } + } + } + //if none of the the attribute roles matched with given role + //check if implicit roles matches. + //Note: element can have multiple implicit roles + if (!retVal && considerImplicitRoles) { + var wRoles = []; + //check if there are any implicit roles for this element. + var implicitRole = AriaUtil.getImplicitRole(ele); + if (implicitRole !== null && implicitRole.length > 0) { + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(implicitRole, wRoles); + //if role is array loop thru and see if any of the implicit role present in the array + if (typeof (role) != typeof ("")) { + for (var i = 0; !retVal && i < wRoles.length; ++i) { + retVal = wRoles[i] in role; + } + } + else { + for (var i = 0; !retVal && i < wRoles.length; ++i) { + retVal = wRoles[i] === role; + } + } + } + } + return retVal; + }; + /** + * Checks if the element has the role, including the implied role if role is not explicitly specified. + * + * This function is replacing the hasRole function + * + * @parm {HTMLElement} ele - element for which to find role. + * @parm {list or string} roles - List or single role for which to find if element has these roles. + * + * @return {List} retVal - true or false based on if the element has the specified role. + * + * @memberOf AriaUtil + */ + AriaUtil.hasRoleInSemantics = function (ele, role) { + var retVal = false; + var roleSpecified = false; + if (ele && ele.hasAttribute && ele.hasAttribute("role")) { + if (typeof (role) != typeof ("")) { + var roles = ele.getAttribute("role").trim().toLowerCase().split(/\s+/); + for (var i = 0; !retVal && i < roles.length; ++i) { + roleSpecified = true; + retVal = roles[i] in role; + } + } + else { + var roles = ele.getAttribute("role").trim().toLowerCase().split(/\s+/); + for (var i = 0; !retVal && i < roles.length; ++i) { + roleSpecified = true; + retVal = roles[i] === role; + } + } + } + if (roleSpecified) { + return retVal; + } + //check if implicit roles matches. + //Note: element can have multiple implicit roles + //check if there are any implicit roles for this element. + var impRoles = AriaUtil.getImplicitRole(ele); + if (impRoles !== null && impRoles.length > 0) { + //if role is array loop thru and see if any of the implicit role present in the array + if (typeof (role) != typeof ("")) { + for (var i = 0; !retVal && i < impRoles.length; ++i) { + retVal = impRoles[i] in role; + } + } + else { + for (var i = 0; !retVal && i < impRoles.length; ++i) { + retVal = impRoles[i] === role; + } + } + } + return retVal; + }; + /** + * This function is responsible for finding if a element has given role. + * This function also checks if element has given roles as implicit roles. + * @parm {HTMLElement} ele - element for which to find role. + * @parm {bool} considerImplicitRoles - true or false based on if implicit roles setting should be considered. + * + * @return {bool} retVal - true or false based on if the element has the specified role. + * + * @memberOf AriaUtil + */ + AriaUtil.hasAnyRole = function (ele, considerImplicitRoles) { + var retVal = false; + if (ele && ele.hasAttribute && ele.hasAttribute("role")) { + retVal = true; + } + //check if implicit roles exist. + //Note: element can have multiple implicit roles + if (!retVal && considerImplicitRoles) { + //check if there are any implicit roles for this element. + var impRoles = AriaUtil.getImplicitRole(ele); + if (impRoles !== null && impRoles.length > 0) + retVal = true; + } + return retVal; + }; + AriaUtil.isPresentationalElement = function (node) { + // Elements extracted from https://developer.mozilla.org/en/docs/Web/HTML/Element#Inline_text_semantics, + // http://dev.w3.org/html5/html-author/#text-level-semantics and https://wiki.whatwg.org/wiki/Presentational_elements_and_attributes + var presentationalElements = ["abbr", "b", "bdi", "bdo", "br", "cite", "code", "data", "dfn", + "em", "i", "kbd", "mark", "q", "rp", "rt", "rtc", "ruby", "s", + "samp", "small", "span", "strong", "sub", "sup", "time", "u", + "var", "wbr", "a", "progress", "meter", "basefont", "big", "center", + "strike", "tt", "font", "blink", "h1", "h2", "h3", "h4", "h5", "h6", + "hr", "blockquote", "p" + ]; + return CommonUtil_1.CommonUtil.valInArray(node.nodeName.toLowerCase(), presentationalElements); + }; + /** + * return the ancestor of the given element and role. + * + * @parm {element} element - The element to start the node walk on to find parent node + * @parm {string} role - The role to search for on an element under the provided element + * @parm {bool} considerImplicitRoles - true or false based on if implicit roles setting should be considered. + * + * @return {node} walkNode - A parent node of the element passed in, which has the provided role + * + * @memberOf AriaUtil + */ + AriaUtil.getAncestorWithRole = function (element, roleName, considerImplicitRoles) { + var walkNode = DOMWalker_1.DOMWalker.parentNode(element); + while (walkNode !== null) { + if (considerImplicitRoles) { + if (AriaUtil.hasRoleInSemantics(walkNode, roleName)) { + break; + } + } + else { + if (AriaUtil.hasRole(walkNode, roleName, false)) { + break; + } + } + walkNode = DOMWalker_1.DOMWalker.parentNode(walkNode); + } + return walkNode; + }; + /** + * return the ancestor of the given element and roles. + * + * @parm {element} element - The element to start the node walk on to find parent node + * @parm {array} roles - the role names to search for + * @parm {bool} considerImplicitRoles - true or false based on if implicit roles setting should be considered. + * + * @return {node} walkNode - A parent node of the element passed in, which has the provided role + * + * @memberOf AriaUtil + */ + AriaUtil.getAncestorWithRoles = function (element, roleNames) { + if (!element || !roleNames || !roleNames.length || roleNames.length === 0) + return null; + var walkNode = element; + while (walkNode !== null) { + var role = AriaUtil.getResolvedRole(walkNode); + if (role !== null && roleNames.includes(role)) + return walkNode; + walkNode = DOMWalker_1.DOMWalker.parentNode(walkNode); + } + return null; + }; + /** + * return the roles with given role type. + * + * @parm {element} element - The element to start the node walk on to find parent node + * @parm {array} roleTyples - role types, such as 'widget', 'structure' etc. + * + * @return {array} roles - A parent node of the element passed in, which has the provided role + * + * @memberOf AriaUtil + */ + AriaUtil.getRolesWithTypes = function (element, types) { + if (!element || !types || !types.length || types.length === 0) + return null; + var roles = CacheUtil_1.CacheUtil.getCache(element.ownerDocument, "roles_with_given_types", null); + if (!roles || roles.length === 0) { + roles = []; + Object.entries(ARIADefinitions_1.ARIADefinitions.designPatterns).forEach(function (_a) { + var key = _a[0], value = _a[1]; + if (types.includes(value.roleType)) + roles.push(key); + }); + CacheUtil_1.CacheUtil.setCache(element.ownerDocument, "roles_with_given_types", roles); + } + return roles; + }; + /** + * return the roles with given role type. + * + * @parm {element} element - The element to start the node walk on to find parent node + * @parm {array} roleTyples - role types, such as 'widget', 'structure' etc. + * + * @return {array} roles - A parent node of the element passed in, which has the provided role + * + * @memberOf AriaUtil + */ + AriaUtil.isWidget = function (element) { + if (!element) + return false; + var widget = CacheUtil_1.CacheUtil.getCache(element.ownerDocument, "is_element_widget", null); + if (widget === null) { + var ret = false; + var role = AriaUtil.getResolvedRole(element); + if (role && ARIADefinitions_1.ARIADefinitions.designPatterns[role] && ARIADefinitions_1.ARIADefinitions.designPatterns[role].roleType === 'widget') + ret = true; + CacheUtil_1.CacheUtil.setCache(element.ownerDocument, "is_element_widget", ret); + return ret; + } + return widget; + }; + /** + * This function is responsible for finding a node which matches the role and is a sibling of the + * provided element. + * + * This function by default will not consider Check Hidden Setting at all. + * + * Note: This is a wrapper function to: AriaUtil.getSiblingWithRoleHidden + * + * @parm {element} element - The element to start the node walk on to find sibling node + * @parm {string} role - The role to search for on an element under the provided element + * + * @return {node} walkNode - A sibling node of the element passed in, which has the provided role + * + * @memberOf AriaUtil + */ + AriaUtil.getSiblingWithRole = function (element, role) { + return AriaUtil.getSiblingWithRoleHidden(element, role, false); + }; + /** + * This function is responsible for finding a node which matches the role and is a sibling of the + * provided element. + * + * This function also considers implicit roles for the elements. + * + * This function will also consider elements that are hidden based on the if the Check + * Hidden Content settings should be considered or not. + * + * @parm {element} element - The element to start the node walk on to find sibling node + * @parm {string} role - The role to search for on an element under the provided element + * @parm {bool} considerHiddenSetting - true or false based on if hidden setting should be considered. + * @parm {bool} considerImplicit - true or false based on if Implicit roles should be considered. + * + * @return {node} walkNode - A sibling node of the element passed in, which has the provided role + * + * @memberOf AriaUtil + */ + AriaUtil.getSiblingWithRoleHidden = function (element, role, considerHiddenSetting, considerImplicitRole) { + // Variable Declaration + var walkNode = null; + var hasRole = false; + // Only perform the check if element and role are both provided + if (element && role) { + // Fetch the next sibling element + walkNode = element.nextSibling; + // Keep looping over the next siblings to find element which matches + // the provided role. + while (walkNode !== null && !hasRole) { + // Following are the steps that are executed at this stage to determine if the node should be classified as hidden + // or not. + // 1. If considerHiddenSetting option is set to true then we perform the check to consider the + // Check Hidden Content that is provided. + // 2. Only run isNodeVisible check if hidden content should NOT be checked. In the case that hidden content is to, + // be scanned then we can just scan everything as normal. In the case that the current node is hidden we do not + // add it to the roleToElems hash at all or even do any checking for it at all. + // + // Note: The if conditions uses short-circuiting so if the first condition is not true it will not check the next one, + // so on and so forth. + if (considerHiddenSetting && CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(walkNode)) { + // Move on to the next node + walkNode = walkNode.nextSibling; + continue; + } + // Check if this node has the role that we need to check exists + if (considerImplicitRole) { + hasRole = AriaUtil.hasRoleInSemantics(walkNode, role); + } + else { + hasRole = AriaUtil.hasRole(walkNode, role, false); + } + // Move on to the next node + walkNode = walkNode.nextSibling; + } + // If we still have not found a node that matches the role, start a reverse look up + if (!walkNode) { + // Fetch the previous Sibling of this element + walkNode = element.previousSibling; + // Keep looping over all the previous siblings to search for an element which + // matches the provided role. + while (walkNode !== null && !hasRole) { + // Following are the steps that are executed at this stage to determine if the node should be classified as hidden + // or not. + // 1. If considerHiddenSetting option is set to true then we perform the check to consider the + // Check Hidden Content that is provided. + // 2. Only run isNodeVisible check if hidden content should NOT be checked. In the case that hidden content is to, + // be scanned then we can just scan everything as normal. In the case that the current node is hidden we do not + // add it to the roleToElems hash at all or even do any checking for it at all. + // + // Note: The if conditions uses short-circuiting so if the first condition is not true it will not check the next one, + // so on and so forth. + if (considerHiddenSetting && CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(walkNode)) { + // Move on to the next node + walkNode = walkNode.previousSibling; + continue; + } + // Check if this node has the role that we need to check exists + hasRole = AriaUtil.hasRole(walkNode, role, considerImplicitRole); + // Move on to the next node + walkNode = walkNode.previousSibling; + } + } + } + return walkNode; + }; + /** + * This function is responsible for getting a descendant element with the specified role, under + * the element that was provided. + * + * Note by default this function will not consider the Check Hidden Content Setting. + * + * Note: This is a wrapper function to: AriaUtil.getDescendantWithRoleHidden + * + * @parm {element} element - parent element for which we will be checking descendants for + * @parm {string} roleName - The role to look for on the descendant's elements + * + * @return {node} - The descendant element that matches the role specified (only one) + * + * @memberOf AriaUtil + */ + AriaUtil.getDescendantWithRole = function (element, roleName) { + return AriaUtil.getDescendantWithRoleHidden(element, roleName, false); + }; + /** + * This function is responsible for getting a descendant element with the specified role, under + * the element that was provided. This function aslo finds elements with implicit roles. + * + * @parm {element} element - parent element for which we will be checking descendants for + * @parm {string} roleName - The role to look for on the descendant's elements + * @parm {bool} considerHiddenSetting - true or false based on if hidden setting should be considered. + * @parm {bool} considerImplicitRoles - true or false based on if implicit roles setting should be considered. + * + * @return {node} - The descendant element that matches the role specified (only one) + * + * @memberOf AriaUtil + */ + AriaUtil.getDescendantWithRoleHidden = function (element, roleName, considerHiddenSetting, considerImplicitRoles) { + // Variable Decleration + var descendant = null; + //let nw = new NodeWalker(element); + var nw = new DOMWalker_1.DOMWalker(element); + // Loop over all the childrens of the element provided and check if the rolename provided exists + while (nw.nextNode() && nw.node != element && nw.node != element.nextSibling) { + // Following are the steps that are executed at this stage to determine if the node should be classified as hidden + // or not. + // 1. If considerHiddenSetting option is set to true then we perform the check to consider the + // Check Hidden Content that is provided. + // 2. Only run isNodeVisible check if hidden content should NOT be checked. In the case that hidden content is to, + // be scanned then we can just scan everything as normal. In the case that the current node is hidden we do not + // add it to the roleToElems hash at all or even do any checking for it at all. + // + // Note: The if conditions uses short-circuiting so if the first condition is not true it will not check the next one, + // so on and so forth. + if (considerHiddenSetting && CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(nw.node)) { + continue; + } + // Check if this node has the role specified, if it does then set this as the descendant and stop checking the rest of the + // nodes. + // Check if this node has the implicit roles, if it does then set this as the descendant and stop checking the rest of the + // nodes. + if (considerImplicitRoles ? AriaUtil.hasRoleInSemantics(nw.node, roleName) : AriaUtil.hasRole(nw.node, roleName, false)) { + descendant = nw.node; + break; + } + } + return descendant; + }; + /** + * This function is responsible for getting All descendant elements with the specified roles, under + * the element that was provided. This function aslo finds elements with implicit roles. + * + * @parm {element} element - parent element for which we will be checking descendants for + * @parm {string[]} roleNames - The roles to look for on the descendant's elements + * @parm {bool} considerHiddenSetting - true or false based on if hidden setting should be considered. + * @parm {bool} considerImplicitRoles - true or false based on if implicit roles setting should be considered. + * + * @return {node[]} - all descendant elements that match the roles specified + * + * @memberOf AriaUtil + */ + AriaUtil.getAllDescendantsWithRoles = function (element, roleNames, considerHiddenSetting, considerImplicitRoles) { + if (!roleNames || roleNames.length === 0) + return; + // Variable Decleration + var descendants = []; + roleNames.forEach(function (roleName) { + var kids = AriaUtil.getAllDescendantsWithRoleHidden(element, roleName, considerHiddenSetting, considerImplicitRoles); + if (kids && kids.length > 0) + descendants = descendants.concat(kids); + }); + return descendants; + }; + /** + * This function is responsible for getting All descendant elements with the specified role, under + * the element that was provided. This function aslo finds elements with implicit roles. + * + * @parm {element} element - parent element for which we will be checking descendants for + * @parm {string} roleName - The role to look for on the descendant's elements + * @parm {bool} considerHiddenSetting - true or false based on if hidden setting should be considered. + * @parm {bool} considerImplicitRoles - true or false based on if implicit roles setting should be considered. + * + * @return {node[]} - The descendant elements that match the role specified + * + * @memberOf AriaUtil + */ + AriaUtil.getAllDescendantsWithRoleHidden = function (element, roleName, considerHiddenSetting, considerImplicitRoles) { + // Variable Decleration + var descendants = []; + //let nw = new NodeWalker(element); + var nw = new DOMWalker_1.DOMWalker(element); + // Loop over all the childrens of the element provided and check if the rolename provided exists + while (nw.nextNode() && nw.node != element && nw.node != element.nextSibling) { + if (nw.bEndTag) { + continue; + } + // Following are the steps that are executed at this stage to determine if the node should be classified as hidden + // or not. + // 1. If considerHiddenSetting option is set to true then we perform the check to consider the + // Check Hidden Content that is provided. + // 2. Only run isNodeVisible check if hidden content should NOT be checked. In the case that hidden content is to, + // be scanned then we can just scan everything as normal. In the case that the current node is hidden we do not + // add it to the roleToElems hash at all or even do any checking for it at all. + // + // Note: The if conditions uses short-circuiting so if the first condition is not true it will not check the next one, + // so on and so forth. + if (considerHiddenSetting && CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(nw.node)) { + continue; + } + // Check if this node has the role specified, if it does then set this as the descendant and stop checking the rest of the + // nodes. + // Check if this node has the implicit roles, if it does then set this as the descendant and stop checking the rest of the + // nodes. + if (AriaUtil.hasRole(nw.node, roleName, considerImplicitRoles)) { + descendants.push(nw.node); + } + } + return descendants; + }; + /** + * This function is responsible for getting All direct children in AT tree with a role (exclude none and presentation) + * + * @parm {element} element - parent element for which we will be checking children for + * @return {node} - The direct child elements in AT tree that has a role + * + * @memberOf AriaUtil + */ + AriaUtil.getDirectATChildren = function (element) { + var requiredChildRoles = AriaUtil.getRequiredChildRoles(element, true); + var direct = []; + AriaUtil.retrieveDirectATChildren(element, requiredChildRoles, direct); + return direct; + }; + /** + * This function is responsible for recursively any child path till either no child or a child with a role is found (exclude none and presentation) + * + * @parm {element} element - parent element for which we will be checking children for + * @return {node} - The direct child elements in AT tree + * + * @memberOf AriaUtil + */ + AriaUtil.retrieveDirectATChildren = function (element, requiredChildRoles, direct) { + var children = []; + if (element.children !== null && element.children.length > 0) { + for (var i = 0; i < element.children.length; i++) { + children.push(element.children[i]); + } + } + // if the element contains "aria-own" attribute, then the aria-owned children need to be included too + var owned = element.getAttribute("aria-owns"); + if (owned) { + var doc = element.ownerDocument; + if (doc) { + var ownedIds = owned.split(" "); + for (var i = 0; i < ownedIds.length; i++) { + var ownedElem = doc.getElementById(ownedIds[i]); + if (ownedElem) { + children.push(ownedElem); + } + } + } + } + if (children.length > 0) { + for (var i = 0; i < children.length; i++) { + //ignore hidden and invisible child + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(children[i]) || !VisUtil_1.VisUtil.isNodeVisible(children[i])) + continue; + var roles = AriaUtil.getRoles(children[i], false); + if (roles === null || roles.length === 0) { + roles = AriaUtil.getImplicitRole(children[i]); + } + if (roles && roles !== null && roles.length > 0) { + //remove 'none' and 'presentation' + roles = roles.filter(function (role) { + return role !== "none" && role !== "presentation"; + }); + // a 'group' role is allowed but not required for some elements so remove it if exists + if (roles.includes("group") && requiredChildRoles && requiredChildRoles.includes('group')) { + roles = roles.filter(function (role) { + return role !== 'group'; + }); + } + } + if (roles && roles !== null && roles.length > 0) { + direct.push(children[i]); + } + else { + // recursive until get a return value, + AriaUtil.retrieveDirectATChildren(children[i], requiredChildRoles, direct); + } + } + return null; + } + else + return null; + }; + /** + * this function returns null or required child roles for a given element with one more roles, + * return null if the role is 'none' or 'presentation' + * @param element + * @param includeImplicit include implicit roles if no role is explicitly provided + * @returns + */ + AriaUtil.getRequiredChildRoles = function (element, includeImplicit) { + var roles = AriaUtil.getRoles(element, false); + // if explicit role doesn't exist, get the implicit one + if ((!roles || roles.length === 0) && includeImplicit) { + roles = AriaUtil.getImplicitRole(element); + } + /** + * ignore if the element doesn't have any explicit or implicit role + */ + if (!roles || roles.length === 0) { + return null; + } + /** + * ignore if the element contains none or presentation role + */ + var presentationRoles = ["none", "presentation"]; + var found = roles.some(function (r) { return presentationRoles.includes(r); }); + if (found) + return null; + var designPatterns = ARIADefinitions_1.ARIADefinitions.designPatterns; + var requiredChildRoles = new Array(); + for (var j = 0; j < roles.length; ++j) { + if (designPatterns[roles[j]] && designPatterns[roles[j]].reqChildren !== null) { + requiredChildRoles = CommonUtil_1.CommonUtil.concatUniqueArrayItemList(designPatterns[roles[j]].reqChildren, requiredChildRoles); + } + } + return requiredChildRoles; + }; + /** + * This function is responsible for getting an element referenced by aria-owns and has the + * role that was specified. + * + * Note by default this function will not consider the Check Hidden Content Setting. + * + * Note: This is a wrapper function to: AriaUtil.getAriaOwnsWithRoleHidden + * + * @parm {element} element - Element to check for aria-owns + * @parm {string} roleName - The role to look for on the aria-owns element + * + * @return {node} - The element that is referenced by aria-owns and has role specified. + * + * @memberOf AriaUtil + */ + AriaUtil.getAriaOwnsWithRole = function (element, roleName) { + return AriaUtil.getAriaOwnsWithRoleHidden(element, roleName, false); + }; + /** + * This function is responsible for getting an element referenced by aria-owns and has the + * role that was specified. This function aslo finds elements with implicit roles. + * + * @parm {element} element - Element to check for aria-owns + * @parm {string} roleName - The role to look for on the aria-owns element + * @parm {bool} considerHiddenSetting - true or false based on if hidden setting should be considered. + * @parm {bool} considerImplicitRoles - true or false based on if implicit roles setting should be considered. + * + * @return {node} - The element that is referenced by aria-owns and has role specified. + * + * @memberOf AriaUtil + */ + AriaUtil.getAriaOwnsWithRoleHidden = function (element, roleName, considerHiddenSetting, considerImplicitRoles) { + // Variable Decleration + var referencedElement = null; + var referencedElemHasRole = false; + // In the case aria-owns is not on the element just break out of this function with null + if (CommonUtil_1.CommonUtil.attributeNonEmpty(element, "aria-owns")) { + // Get the reference ID + var referenceID = element.getAttribute("aria-owns"); + // Get the element for the reference ID + referencedElement = fragment_1.FragmentUtil.getById(element, referenceID); + //ignore if the aria-owns point to the element itself + if (DOMUtil_1.DOMUtil.sameNode(element, referencedElement)) + return null; + // Following are the steps that are executed at this stage to determine if the node should be classified as hidden + // or not. + // 1. If considerHiddenSetting option is set to true then we perform the check to consider the + // Check Hidden Content that is provided. + // 2. Only run isNodeVisible check if hidden content should NOT be checked. In the case that hidden content is to, + // be scanned then we can just scan everything as normal. In the case that the current node is hidden we do not + // add it to the roleToElems hash at all or even do any checking for it at all. + if (considerHiddenSetting && referencedElement != null && CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(referencedElement)) { + referencedElemHasRole = null; + } + else { + referencedElemHasRole = AriaUtil.hasRole(referencedElement, roleName, considerImplicitRoles); + } + } + return referencedElemHasRole ? referencedElement : null; + }; + // Return true if the element has an ARIA label + AriaUtil.hasAriaLabel = function (element) { + // Rpt_Aria_ValidIdRef determines if the aria-labelledby id points to a valid element + return CommonUtil_1.CommonUtil.attributeNonEmpty(element, "aria-label") || CommonUtil_1.CommonUtil.attributeNonEmpty(element, "aria-labelledby"); + }; + // Given an array of elements, return true if the elements have unique ARIA labels + AriaUtil.hasUniqueAriaLabelsLocally = function (elements, isGlobal) { + if (elements.length === 0) + return false; + var doc = elements[0].ownerDocument; + var hasDuplicateLabels = false; + var uniqueAriaLabels = null; + if (isGlobal) { + uniqueAriaLabels = CacheUtil_1.CacheUtil.getCache(doc, "AriaUtil_HAS_UNIQUE_ARIA_LABELS", null); + } + if (uniqueAriaLabels === null) { + uniqueAriaLabels = {}; + } + for (var i = 0; !hasDuplicateLabels && i < elements.length; ++i) { + if (elements[i].hasAttribute) { + if (elements[i].hasAttribute("aria-label")) { + var ariaLabel = CommonUtil_1.CommonUtil.normalizeSpacing(elements[i].getAttribute("aria-label")).toLowerCase(); + hasDuplicateLabels = ariaLabel in uniqueAriaLabels; + uniqueAriaLabels[ariaLabel] = true; + } + else if (elements[i].hasAttribute("aria-labelledby")) { + var labelID = elements[i].getAttribute("aria-labelledby"); + var labelNode = fragment_1.FragmentUtil.getById(elements[i], labelID); + var label = labelNode && !DOMUtil_1.DOMUtil.sameNode(labelNode, elements[i]) ? CommonUtil_1.CommonUtil.getInnerText(labelNode) : ""; + var normalizedLabel = CommonUtil_1.CommonUtil.normalizeSpacing(label).toLowerCase(); + hasDuplicateLabels = normalizedLabel in uniqueAriaLabels; + uniqueAriaLabels[normalizedLabel] = true; + } + else { + // Has no label at all + hasDuplicateLabels = true; + } + } + } + if (isGlobal) { + CacheUtil_1.CacheUtil.setCache(doc, "AriaUtil_HAS_UNIQUE_ARIA_LABELS", uniqueAriaLabels); + } + return !hasDuplicateLabels; + }; + AriaUtil.getAriaLabel = function (ele) { + if (ele.hasAttribute) { + if (ele.hasAttribute("aria-labelledby")) { + var labelIDs = ele.getAttribute("aria-labelledby").trim().split(" "); + var normalizedLabel = ""; + for (var j = 0, length_1 = labelIDs.length; j < length_1; ++j) { + var labelID = labelIDs[j]; + var labelNode = fragment_1.FragmentUtil.getById(ele, labelID); + var label = labelNode && !DOMUtil_1.DOMUtil.sameNode(labelNode, ele) ? CommonUtil_1.CommonUtil.getInnerText(labelNode) : ""; + normalizedLabel += CommonUtil_1.CommonUtil.normalizeSpacing(label).toLowerCase(); + } + return normalizedLabel.trim(); + } + else if (ele.hasAttribute("aria-label")) { + return CommonUtil_1.CommonUtil.normalizeSpacing(ele.getAttribute("aria-label")).toLowerCase().trim(); + } + } + return ""; + }; + AriaUtil.getAriaDescription = function (ele) { + if (!ele) + return ""; + var normalizedLabel = ""; + var desc = ele.getAttribute("aria-labelledby"); + if (desc && desc.trim().length > 0) { + var labelIDs = desc.trim().split(" "); + for (var j = 0, length_2 = labelIDs.length; j < length_2; ++j) { + var labelID = labelIDs[j]; + var labelNode = fragment_1.FragmentUtil.getById(ele, labelID); + var label = labelNode && !DOMUtil_1.DOMUtil.sameNode(labelNode, ele) ? CommonUtil_1.CommonUtil.getInnerText(labelNode) : ""; + if (label && label.trim().length > 0) + normalizedLabel += CommonUtil_1.CommonUtil.normalizeSpacing(label).toLowerCase(); + } + if (normalizedLabel.trim().length > 0) + return normalizedLabel.trim(); + } + desc = ele.getAttribute("aria-description"); + if (desc && desc.trim().length > 0) + return desc.trim().toLowerCase(); + return ""; + }; + AriaUtil.findAriaLabelDupes = function (elements) { + var dupeMap = {}; + elements.forEach(function (ele) { + dupeMap[AriaUtil.getAriaLabel(ele)] = (dupeMap[AriaUtil.getAriaLabel(ele)] || 0) + 1; + }); + return dupeMap; + }; + // Given an array of elements, return true if the elements have unique ARIA labels globally + AriaUtil.hasUniqueAriaLabels = function (elements) { + return AriaUtil.hasUniqueAriaLabelsLocally(elements, true); + }; + // Given an array of elements, return true if the elements have unique ARIA labels + AriaUtil.hasDuplicateAriaLabelsLocally = function (elements, isGlobal) { + if (elements.length === 0) + return false; + var doc = elements[0].ownerDocument; + var hasDuplicateLabels = false; + var uniqueAriaLabels = null; + var duplicateLabelNameArray = new Array(); + if (isGlobal) { + uniqueAriaLabels = CacheUtil_1.CacheUtil.getCache(doc, "AriaUtil_HAS_UNIQUE_ARIA_LABELS", null); + } + if (uniqueAriaLabels === null) { + uniqueAriaLabels = {}; + } + for (var i = 0; i < elements.length; ++i) { + if (elements[i].hasAttribute) { + if (elements[i].hasAttribute("aria-label")) { + var ariaLabel = CommonUtil_1.CommonUtil.normalizeSpacing(elements[i].getAttribute("aria-label")).toLowerCase(); + hasDuplicateLabels = ariaLabel in uniqueAriaLabels; + uniqueAriaLabels[ariaLabel] = true; + if (!(ariaLabel in duplicateLabelNameArray)) { + duplicateLabelNameArray[ariaLabel] = new Array(); + } + duplicateLabelNameArray[ariaLabel].push(elements[i].nodeName.toLowerCase()); + } + else if (elements[i].hasAttribute("aria-labelledby")) { + var labelIDs = elements[i].getAttribute("aria-labelledby").trim().split(" "); + var normalizedLabel = ""; + for (var j = 0, length_3 = labelIDs.length; j < length_3; ++j) { + var labelID = labelIDs[j]; + var labelNode = fragment_1.FragmentUtil.getById(elements[i], labelID); + var label = labelNode && !DOMUtil_1.DOMUtil.sameNode(labelNode, elements[i]) ? CommonUtil_1.CommonUtil.getInnerText(labelNode) : ""; + normalizedLabel += CommonUtil_1.CommonUtil.normalizeSpacing(label).toLowerCase(); + } + hasDuplicateLabels = normalizedLabel in uniqueAriaLabels; + uniqueAriaLabels[normalizedLabel] = true; + if (!(normalizedLabel in duplicateLabelNameArray)) { + duplicateLabelNameArray[normalizedLabel] = new Array(); + } + duplicateLabelNameArray[normalizedLabel].push(elements[i].nodeName.toLowerCase()); + } + } + } + if (isGlobal) { + CacheUtil_1.CacheUtil.setCache(doc, "AriaUtil_HAS_UNIQUE_ARIA_LABELS", uniqueAriaLabels); + } + return duplicateLabelNameArray; + }; + // Given an array of elements, return true if the elements have unique ARIA labels globally + AriaUtil.hasDuplicateAriaLabels = function (elements) { + return AriaUtil.hasDuplicateAriaLabelsLocally(elements, true); + }; + // Given an array of elements, return true if the elements have unique aria-labelledby attributes + AriaUtil.hasUniqueAriaLabelledby = function (elements) { + var hasDuplicateLabels = false; + var labelRefs = {}; + for (var i = 0; !hasDuplicateLabels && i < elements.length; ++i) { + if (elements[i].hasAttribute && elements[i].hasAttribute("aria-labelledby") && !CommonUtil_1.CommonUtil.isIdReferToSelf(elements[i], elements[i].getAttribute("aria-labelledby"))) { + var labelRef = CommonUtil_1.CommonUtil.normalizeSpacing(elements[i].getAttribute("aria-labelledby")); + hasDuplicateLabels = labelRef in labelRefs; + labelRefs[labelRef] = true; + } + else { + hasDuplicateLabels = true; + } + } + return !hasDuplicateLabels; + }; + /** + * this function is responsible for resolving ARIA requirements for an HTML element per ARIA in HTML + * @param ruleContext the HTML element to be examined + * @returns + */ + AriaUtil.getElementAriaProperty = function (ruleContext) { + var tagProperty = CacheUtil_1.CacheUtil.getCache(ruleContext, "AriaUtil_ElementAriaProperty", null); + if (!tagProperty) { + var tagName = null; + var name_1 = null; + if (ruleContext.tagName) { + tagName = ruleContext.tagName.toLowerCase(); + } + else if (ruleContext.nodeName) { + tagName = ruleContext.nodeName.toLowerCase(); + } + // check if the tagProperty exists in the documentConformanceRequirement hash. + tagProperty = ARIADefinitions_1.ARIADefinitions.documentConformanceRequirement[tagName]; + // The tag needs to check some special attributes + if (tagProperty === null || tagProperty === undefined) { + var specialTagProperties = ARIADefinitions_1.ARIADefinitions.documentConformanceRequirementSpecialTags[tagName]; + switch (tagName) { // special cases + case "a": + CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "href") ? tagProperty = specialTagProperties["with-href"] : tagProperty = specialTagProperties["without-href"]; + break; + case "area": + CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "href") ? tagProperty = specialTagProperties["with-href"] : tagProperty = specialTagProperties["without-href"]; + break; + case "figure": { + var fcs = CommonUtil_1.CommonUtil.getChildByTag(ruleContext, "figcaption"); + fcs !== null && fcs.length > 0 ? tagProperty = specialTagProperties["child-figcaption"] : tagProperty = specialTagProperties["no-child-figcaption"]; + break; + } + case "footer": + case "header": + if (AriaUtil.getAncestorWithRole(ruleContext, "article", true) !== null || AriaUtil.getAncestorWithRole(ruleContext, "complementary", true) !== null + || AriaUtil.getAncestorWithRole(ruleContext, "navigation", true) !== null || AriaUtil.getAncestorWithRole(ruleContext, "region", true) !== null + || CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["article", "aside", "main", "nav", "section"]) !== null) + tagProperty = specialTagProperties["des-section-article-aside-main-nav"]; + else + tagProperty = specialTagProperties["other"]; + break; + case "img": + var alt = ruleContext.hasAttribute("alt") ? ruleContext.getAttribute("alt") : null; + var title = ruleContext.hasAttribute("title") ? ruleContext.getAttribute("title") : null; + if (AriaUtil.getAriaLabel(ruleContext).trim().length !== 0 || (alt !== null && alt.length > 0) || (title !== null && title.length > 0)) { + // If the img has non-empty alt (alt="some text" or alt=" ") or an accessible name is provided + tagProperty = specialTagProperties["img-with-accname"]; + } + else { + if (alt !== null) { + // If the img has an empty alt (alt="") + tagProperty = specialTagProperties["img-without-accname-empty-alt"]; + } + else { + // If the img lacks an alt attribute + tagProperty = specialTagProperties["img-without-accname-no-alt"]; + } + } + break; + case "input": + if (CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "type")) { + var type = ruleContext.getAttribute("type").trim().toLowerCase(); + tagProperty = specialTagProperties[type]; + if (tagProperty === null || tagProperty === undefined) { + switch (type) { + case "checkbox": + CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "aria-pressed") ? tagProperty = specialTagProperties["checkbox-with-aria-pressed"] : tagProperty = specialTagProperties["checkbox-without-aria-pressed"]; + break; + case "email": + CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "list") ? tagProperty = specialTagProperties["email-with-list"] : tagProperty = specialTagProperties["email-no-list"]; + break; + case "search": + CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "list") ? tagProperty = specialTagProperties["search-with-list"] : tagProperty = specialTagProperties["search-no-list"]; + break; + case "tel": + CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "list") ? tagProperty = specialTagProperties["tel-with-list"] : tagProperty = specialTagProperties["tel-no-list"]; + break; + case "text": + CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "list") ? tagProperty = specialTagProperties["text-with-list"] : tagProperty = specialTagProperties["text-no-list"]; + break; + case "url": + CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "list") ? tagProperty = specialTagProperties["url-with-list"] : tagProperty = specialTagProperties["url-no-list"]; + break; + default: + // default + CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "list") ? tagProperty = specialTagProperties["default-with-list"] : tagProperty = specialTagProperties["default-no-list"]; + break; + } + } + } + else { + // default type is the same as type=text + CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "list") ? tagProperty = specialTagProperties["text-with-list"] : tagProperty = specialTagProperties["text-no-list"]; + } + break; + case "li": + specialTagProperties = ARIADefinitions_1.ARIADefinitions.documentConformanceRequirementSpecialTags["li"]; + if (ruleContext.parentElement && AriaUtil.hasRoleInSemantics(ruleContext.parentElement, "list")) + tagProperty = specialTagProperties["child-of-list-role"]; + else + tagProperty = specialTagProperties["no-child-of-list-role"]; + break; + case "section": + //name = ARIAMapper.computeName(ruleContext); + //if (name && name.trim().length > 0) { + var label = AriaUtil.getAriaLabel(ruleContext); + if ((label && label.trim().length > 0) || CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "title")) { + tagProperty = specialTagProperties["with-name"]; + } + else { + tagProperty = specialTagProperties["without-name"]; + } + break; + case "select": + specialTagProperties = ARIADefinitions_1.ARIADefinitions.documentConformanceRequirementSpecialTags["select"]; + if (ruleContext.hasAttribute("multiple") || + CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "size") && ruleContext.getAttribute("size") > 1) + tagProperty = specialTagProperties["multiple-attr-size-gt1"]; + else + tagProperty = specialTagProperties["no-multiple-attr-size-gt1"]; + break; + case "summary": + specialTagProperties = ARIADefinitions_1.ARIADefinitions.documentConformanceRequirementSpecialTags["summary"]; + if (ruleContext.parentElement && ruleContext.parentElement.nodeName.toLowerCase() === 'details' + && DOMUtil_1.DOMUtil.sameNode(__spreadArray([], ruleContext.parentElement.children, true).filter(function (elem) { return elem.nodeName.toLowerCase() === 'summary'; })[0], ruleContext)) + tagProperty = specialTagProperties["first-summary-of-detail"]; + else + tagProperty = specialTagProperties["no-first-summary-of-detail"]; + break; + case "tbody": + case "td": + case "tr": + if (AriaUtil.getAncestorWithRole(ruleContext, "table", true) !== null) { + tagProperty = specialTagProperties["des-table"]; + } + else { + AriaUtil.getAncestorWithRole(ruleContext, "grid", true) || AriaUtil.getAncestorWithRole(ruleContext, "treegrid", true) ? tagProperty = specialTagProperties["des-grid"] : tagProperty = specialTagProperties["des-other"]; + } + break; + case "th": + if (AriaUtil.getAncestorWithRole(ruleContext, "table", true) !== null || AriaUtil.getAncestorWithRole(ruleContext, "grid", true) !== null || AriaUtil.getAncestorWithRole(ruleContext, "treegrid", true) !== null) { + var scope = CommonUtil_1.CommonUtil.getScopeForTh(ruleContext); + if (scope === 'column') + tagProperty = specialTagProperties["des-table-grid-treegrid-column-scope"]; + else + tagProperty = specialTagProperties["des-table-grid-treegrid-row-scope"]; + } + else { + tagProperty = specialTagProperties["des-other"]; + } + break; + case "div": + var prt = ruleContext.parentElement; + prt !== null && prt.nodeName.toLowerCase() === 'dl' ? tagProperty = specialTagProperties["child-dl"] : tagProperty = specialTagProperties["no-child-dl"]; + break; + default: + tagProperty = ARIADefinitions_1.ARIADefinitions.documentConformanceRequirementSpecialTags["default"]; + } //switch + } + } + CacheUtil_1.CacheUtil.setCache(ruleContext, "AriaUtil_ElementAriaProperty", tagProperty); + return tagProperty || null; + }; + AriaUtil.getAllowedAriaRoles = function (ruleContext, properties) { + var allowedRoles = CacheUtil_1.CacheUtil.getCache(ruleContext, "AriaUtil_AllowedAriaRoles", null); + if (!allowedRoles) { + allowedRoles = []; + var tagProperty = null; + if (properties !== null && properties !== undefined) { + tagProperty = properties; + } + else { + tagProperty = AriaUtil.getElementAriaProperty(ruleContext); + } + if (tagProperty !== null && tagProperty !== undefined) { + if (tagProperty.implicitRole !== null) { + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(tagProperty.implicitRole, allowedRoles); + } + if (tagProperty.validRoles !== null) { + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(tagProperty.validRoles, allowedRoles); + } + var implicitRoles = AriaUtil.getImplicitRole(ruleContext); + if (implicitRoles && implicitRoles.length > 0) { + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(tagProperty.validRoles, allowedRoles); + } + } + CacheUtil_1.CacheUtil.setCache(ruleContext, "AriaUtil_AllowedAriaRoles", allowedRoles); + } + return allowedRoles; + }; + AriaUtil.getAllowedAriaAttributes = function (ruleContext, roles, properties) { + var allowedAttributes = CacheUtil_1.CacheUtil.getCache(ruleContext, "AriaUtil_AllowedAriaAttributes", null); + if (!allowedAttributes) { + allowedAttributes = []; + var permittedRoles = __spreadArray([], roles, true); + var tagName = ruleContext.tagName.toLowerCase(); + var prohibitedAttributes = []; + // Element with a disabled attribute https://www.w3.org/TR/html5/disabled-elements.html + if (ARIADefinitions_1.ARIADefinitions.elementsAllowedDisabled.indexOf(tagName) > -1) { + // Use the aria-disabled attribute on any element that is allowed the disabled attribute in HTML5. + allowedAttributes = CommonUtil_1.CommonUtil.concatUniqueArrayItem("aria-disabled", allowedAttributes); + } + // Element with a required attribute http://www.the-art-of-web.com/html/html5-form-validation/ + if (ARIADefinitions_1.ARIADefinitions.elementsAllowedRequired.indexOf(tagName) > -1) { + // Use the aria-required attribute on any element that is allowed the required attribute in HTML5. + allowedAttributes = CommonUtil_1.CommonUtil.concatUniqueArrayItem("aria-required", allowedAttributes); + } + if (ARIADefinitions_1.ARIADefinitions.elementsAllowedReadOnly.indexOf(tagName) > -1) { + // Use the aria-readonly attribute on any element that is allowed the readonly attribute in HTML5. + allowedAttributes = CommonUtil_1.CommonUtil.concatUniqueArrayItem("aria-readonly", allowedAttributes); + } + var tagProperty = null; + if (properties != null && properties !== undefined) + tagProperty = properties; + else + tagProperty = AriaUtil.getElementAriaProperty(ruleContext); + if (tagProperty !== null && tagProperty !== undefined) { + // add the implicit role allowed attributes to the allowed role list if there is no specified role + // ignore if the element doesn't allow the attributes from the implicit roles + if (tagProperty.implicitRole !== null && + (permittedRoles === null || permittedRoles === undefined || permittedRoles.length === 0) + && tagProperty.allowAttributesFromImplicitRole === undefined) { + for (var i = 0; i < tagProperty.implicitRole.length; i++) { + var roleProperty = ARIADefinitions_1.ARIADefinitions.designPatterns[tagProperty.implicitRole[i]]; + if (roleProperty !== null && roleProperty !== undefined) { + var properties_1 = roleProperty.props; + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(properties_1, allowedAttributes); + properties_1 = AriaUtil.getRoleRequiredProperties(tagProperty.implicitRole[i], ruleContext); + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(properties_1, allowedAttributes); + var prohibitedProps = roleProperty.prohibitedProps; + if (prohibitedProps && prohibitedProps.length > 0) + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(prohibitedProps, prohibitedAttributes); + // special case of separator + if (tagProperty.implicitRole[i] === "separator" && CommonUtil_1.CommonUtil.isFocusable(ruleContext)) { + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(["aria-disabled", "aria-valuenow", "aria-valuemax", "aria-valuemin", "aria-valuetext"], allowedAttributes); + } + } + } + } + // Adding the global properties to the valid attribute list + if (tagProperty.globalAriaAttributesValid) { + var properties_2 = ARIADefinitions_1.ARIADefinitions.globalProperties; // global properties + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(properties_2, allowedAttributes); + } + } + // adding the other role to the allowed roles for the attributes + if (tagProperty && tagProperty.otherRolesForAttributes && tagProperty.otherRolesForAttributes.length > 0) + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(tagProperty.otherRolesForAttributes, permittedRoles); + // adding the specified role properties to the allowed attribute list + for (var i = 0; permittedRoles !== null && i < permittedRoles.length; i++) { + var roleProperties = ARIADefinitions_1.ARIADefinitions.designPatterns[permittedRoles[i]]; + if (roleProperties !== null && roleProperties !== undefined) { + // ignore the properties if the element doesn't allow attributes from the implicit role + if (!tagProperty || tagProperty.implicitRole === null || !tagProperty.implicitRole.includes(permittedRoles[i]) || (tagProperty.implicitRole.includes(permittedRoles[i]) && tagProperty.allowAttributesFromImplicitRole === undefined)) { + var properties_3 = roleProperties.props; // allowed properties + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(properties_3, allowedAttributes); + properties_3 = AriaUtil.getRoleRequiredProperties(permittedRoles[i], ruleContext); // required properties + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(properties_3, allowedAttributes); + } + var prohibitedProps = roleProperties.prohibitedProps; + if (prohibitedProps && prohibitedProps.length > 0) + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(prohibitedProps, prohibitedAttributes); + // special case for separator + if (permittedRoles[i] === "separator" && CommonUtil_1.CommonUtil.isFocusable(ruleContext)) { + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(["aria-disabled", "aria-valuemax", "aria-valuemin", "aria-valuetext"], allowedAttributes); + } + } + } + // ignore aria-level, aria-setsize or aria-posinset if "row" is not in treegrid + if (permittedRoles.includes("row") && AriaUtil.getAncestorWithRole(ruleContext, "treegrid", true) == null) { + var index = -1; + if ((index = allowedAttributes.indexOf("aria-level")) > -1) + allowedAttributes.splice(index, 1); + if ((index = allowedAttributes.indexOf("aria-setsize")) > -1) + allowedAttributes.splice(index, 1); + if ((index = allowedAttributes.indexOf("aria-posinset")) > -1) + allowedAttributes.splice(index, 1); + } + // add the other allowed attributes for the element + if (tagProperty && tagProperty.otherAllowedAriaAttributes && tagProperty.otherAllowedAriaAttributes.length > 0) { + // check attribute-value pair if exists + var allowed = []; + for (var p = 0; p < tagProperty.otherAllowedAriaAttributes.length; p++) { + var attr = tagProperty.otherAllowedAriaAttributes[p]; + if (attr.includes("=")) { + var pair = attr.split("="); + if (ruleContext.getAttribute(pair[0]) === pair[1]) + allowed.push(pair[0]); + } + else + allowed.push(attr); + } + if (allowed.length > 0) + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(allowed, allowedAttributes); + } + // add the other prohibitted attributes for the element + if (tagProperty && tagProperty.otherDisallowedAriaAttributes && tagProperty.otherDisallowedAriaAttributes.length > 0) { + // check attribute-value pair if exists + var disallowed = []; + for (var p = 0; p < tagProperty.otherDisallowedAriaAttributes.length; p++) { + var attr = tagProperty.otherDisallowedAriaAttributes[p]; + if (attr.includes("=")) { + var pair = attr.split("="); + if (ruleContext.getAttribute(pair[0]) === pair[1]) + disallowed.push(pair[0]); + } + else + disallowed.push(attr); + } + if (disallowed.length > 0) + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(disallowed, prohibitedAttributes); + } + //exclude the prohibitedAttributes from the allowedAttributes + allowedAttributes = CommonUtil_1.CommonUtil.reduceArrayItemList(prohibitedAttributes, allowedAttributes); + //exclude aria attribute for elements without implicit role and with 'Naming Prohibited' + if ((!roles || roles.length === 0) && tagProperty.implicitRole === null && tagProperty.prohibitedAriaAttributesWhenNoImplicitRole) + allowedAttributes = CommonUtil_1.CommonUtil.reduceArrayItemList(tagProperty.prohibitedAriaAttributesWhenNoImplicitRole, allowedAttributes); + CacheUtil_1.CacheUtil.setCache(ruleContext, "AriaUtil_AllowedAriaAttributes", allowedAttributes); + } + return allowedAttributes; + }; + /** + * + * @param ariaAttr + * @param htmlAttrs + * @type: conflict or overlapping + * @returns htmlAttrName, 'Pass' or null + * htmlAttrName that conflicts with the ariaAttr, + * 'Pass' with no conflict with the ariaAttr, + * or null where ariaAttr won't cause conflict + */ + AriaUtil.getConflictOrOverlappingHtmlAttribute = function (ariaAttr, htmlAttrs, type) { + var exist = ARIADefinitions_1.ARIADefinitions.relatedAriaHtmlAttributes[ariaAttr['name']]; + if (exist) { + if (!ariaAttr || ariaAttr.length == 0 || !htmlAttrs || htmlAttrs.length == 0) + return []; + var examinedHtmlAtrNames = []; + var concernTypes = null; + if (type === 'conflict') { + if (!exist.conflict || Object.keys(exist.conflict).length === 0) + return null; + concernTypes = exist.conflict; + } + else if (type === 'overlapping') { + if (!exist.overlapping || Object.keys(exist.overlapping).length === 0) + return null; + concernTypes = exist.overlapping; + } + else + return null; + var applicable = false; + var fail = false; + for (var k = 0; k < concernTypes.length; k++) { + var concernAriaValue = concernTypes[k].ariaAttributeValue; + var concernHtmlNames = concernTypes[k].htmlAttributeNames; + var concernHtmlValues = concernTypes[k].htmlAttributeValues; + for (var i = 0; i < htmlAttrs.length; i++) { + var index = concernHtmlNames.indexOf(htmlAttrs[i]['name']); + if (index !== -1) { + applicable = true; + var htmlValuesInConcern = (concernHtmlValues === null || concernHtmlValues[index] === null) ? null : concernHtmlValues[index].split(","); + if (concernAriaValue === null) { + if (htmlValuesInConcern === null) { + examinedHtmlAtrNames.push({ result: 'Failed', 'attr': htmlAttrs[i]['name'] }); + fail = true; + } + else if (htmlValuesInConcern.includes(htmlAttrs[i]['value'])) { + examinedHtmlAtrNames.push({ result: 'Failed', 'attr': htmlAttrs[i]['name'] }); + fail = true; + } + } + else if (htmlValuesInConcern === null) { + if (concernAriaValue === ariaAttr['value']) { + examinedHtmlAtrNames.push({ result: 'Failed', 'attr': htmlAttrs[i]['name'] }); + fail = true; + } + } + else if (concernAriaValue === 'VALUE' && htmlValuesInConcern.includes('VALUE') && htmlValuesInConcern[0] !== ariaAttr['value']) { + examinedHtmlAtrNames.push({ result: 'Failed', 'attr': htmlAttrs[i]['name'] }); + fail = true; + } + else if (concernAriaValue === ariaAttr['value'] && htmlValuesInConcern.includes(htmlAttrs[i]['value'])) { + examinedHtmlAtrNames.push({ result: 'Failed', 'attr': htmlAttrs[i]['name'] }); + fail = true; + } + } + } + } + if (applicable && !fail) + examinedHtmlAtrNames.push({ result: 'Pass', 'attr': '' }); + return examinedHtmlAtrNames; + } + else + return null; + }; + AriaUtil.containsPresentationalChildrenOnly = function (elem) { + var roles = AriaUtil.getRoles(elem, false); + // if explicit role doesn't exist, get the implicit one + if (!roles || roles.length === 0) + roles = AriaUtil.getImplicitRole(elem); + //ignore if the element doesn't have any explicit or implicit role, shouldn't happen + if (!roles || roles.length === 0) + return false; + for (var i = 0; roles !== null && i < roles.length; i++) { + var roleProperties = ARIADefinitions_1.ARIADefinitions.designPatterns[roles[i]]; + if (roleProperties !== null && roleProperties !== undefined) { + var presentional = roleProperties.presentationalChildren; + if (presentional === true) + return true; + } + } + return false; + }; + AriaUtil.shouldBePresentationalChild = function (element) { + var walkNode = DOMWalker_1.DOMWalker.parentElement(element); + while (walkNode) { + if (AriaUtil.containsPresentationalChildrenOnly(walkNode)) + return true; + //aria-own case: if the element is referred by an aria-won + walkNode = ARIAMapper_1.ARIAMapper.getAriaOwnedBy(walkNode) || DOMWalker_1.DOMWalker.parentElement(walkNode); + } + return false; + }; + /* + * check if any explicit role specified for the element is a valid ARIA role + * return: null if no explicit role is defined, + * true if the role(s) are defined in ARIA + * false if any role is not defined in ARIA +*/ + AriaUtil.areRolesDefined = function (roles) { + if (!roles || roles.length === 0) + return null; + var designPatterns = ARIADefinitions_1.ARIADefinitions.designPatterns; + for (var _i = 0, roles_1 = roles; _i < roles_1.length; _i++) { + var role = roles_1[_i]; + if (!(role.toLowerCase() in designPatterns)) + return false; + } + return true; + }; + /* + * check if any explicit role specified for the element is a valid ARIA role + * return: null if no explicit role is defined, + * true if the role(s) are defined in ARIA + * false if any role is not defined in ARIA + */ + AriaUtil.getInvalidRoles = function (ruleContext) { + var domRoles = AriaUtil.getUserDefinedRoles(ruleContext); + if (!domRoles || domRoles.length === 0) + return null; + // check the 'generic' role first + if (domRoles && domRoles.includes('generic')) + return ["generic"]; + // Failing roles + var failRoleTokens = []; + // Passing roles + var passRoleTokens = []; + var tagProperty = AriaUtil.getElementAriaProperty(ruleContext); + var allowedRoles = AriaUtil.getAllowedAriaRoles(ruleContext, tagProperty); + if (!allowedRoles || allowedRoles.length === 0) + return domRoles; + var invalidRoles = []; + if (allowedRoles.includes('any')) + return []; + for (var i = 0; i < domRoles.length; i++) + if (!allowedRoles.includes(domRoles[i]) && !invalidRoles.includes(domRoles[i])) + invalidRoles.push(domRoles[i]); + return invalidRoles; + }; + /* + * check if any explicit role specified for the element is not defined in ARIA + * return: list of specified roles not defined in ARIA + */ + AriaUtil.getRolesUndefinedByAria = function (element) { + if (!element) + return null; + var roles = AriaUtil.getRoles(element, false); + var undefinedRoles = []; + if (roles && roles.length > 0) { + var designPatterns = ARIADefinitions_1.ARIADefinitions.designPatterns; + for (var i = 0; i < roles.length; i++) { + if (!(roles[i] in designPatterns)) { + undefinedRoles.push(roles[i]); + } + } + } + return undefinedRoles; + }; + /* + * this method first checks explicit roles, if no explicit role, it will check the implicit role + * return: null if any explicit role is invalid, + * a list of invalid attributes + * empty list if all attributes are valid, or no aria attributes are specified + */ + AriaUtil.getInvalidAriaAttributes = function (ruleContext) { + var roles = AriaUtil.getUserDefinedRoles(ruleContext); + // the invalid role case: handled by Rpt_Aria_ValidRole. Ignore to avoid duplicated report + // for mutiple roles, skip if any role is invalid + var defined = AriaUtil.areRolesDefined(roles); + if (defined !== null && !defined) + return null; + var attrs = []; + if (!roles || roles.length == 0) + roles = AriaUtil.getImplicitRole(ruleContext); + var aria_attrs = AriaUtil.getUserDefinedAriaAttributes(ruleContext); + var tagProperty = AriaUtil.getElementAriaProperty(ruleContext); + // Attributes allowed on this node + var allowedAttributes = AriaUtil.getAllowedAriaAttributes(ruleContext, roles, tagProperty); + if (aria_attrs) { + for (var i = 0; i < aria_attrs.length; i++) { + var attrName = aria_attrs[i].trim().toLowerCase(); + if (!allowedAttributes.includes(attrName) && !attrs.includes(attrName)) + attrs.push(attrName); + } + } + return attrs; + }; + /* + * get conflict Aria and Html attributes + * return: a list of Aria and Html attribute pairs that are conflict + */ + AriaUtil.getConflictAriaAndHtmlAttributes = function (elem) { + var ariaAttrs = AriaUtil.getUserDefinedAriaAttributeNameValuePairs(elem); + var htmlAttrs = AriaUtil.getUserDefinedHtmlAttributeNameValuePairs(elem); + var ret = []; + if (ariaAttrs && ariaAttrs.length > 0 && htmlAttrs && htmlAttrs.length > 0) { + var _loop_1 = function (i) { + var examinedHtmlAtrNames = AriaUtil.getConflictOrOverlappingHtmlAttribute(ariaAttrs[i], htmlAttrs, 'conflict'); + if (examinedHtmlAtrNames === null) + return "continue"; + examinedHtmlAtrNames.forEach(function (item) { + if (item['result'] === 'Failed') //failed + ret.push({ 'ariaAttr': ariaAttrs[i]['name'], 'htmlAttr': item['attr'] }); + }); + }; + for (var i = 0; i < ariaAttrs.length; i++) { + _loop_1(i); + } + } + return ret; + }; + /* + * get deprecated Aria roles + * return: a list of deprecated Aria roles + */ + AriaUtil.getDeprecatedAriaRoles = function (element) { + if (!element) + return null; + var roles = AriaUtil.getRoles(element, false); + var ret = []; + if (roles && roles.length > 0) { + var globalDeprecatedRoles = ARIADefinitions_1.ARIADefinitions.globalDeprecatedRoles; + for (var i = 0; i < roles.length; i++) { + if (globalDeprecatedRoles.includes(roles[i])) + ret.push(roles[i]); + } + } + return ret; + }; + /* + * get deprecated Aria role-attributes + * return: a list of deprecated Aria role-attributes paris + * for global the role is marked as 'any' + */ + AriaUtil.getDeprecatedAriaAttributes = function (element) { + if (!element) + return null; + var domAttributes = element.attributes; + var ariaAttrs = []; + if (domAttributes) { + for (var i = 0; i < domAttributes.length; i++) { + var attrName = domAttributes[i].name; + if (attrName.substring(0, 5) === 'aria-') + ariaAttrs.push(attrName); + } + } + if (ariaAttrs.length === 0) + return []; + var ret = []; + var globalDeprecatedAttributes = ARIADefinitions_1.ARIADefinitions.globalDeprecatedProperties; + for (var i = 0; i < ariaAttrs.length; i++) { + if (globalDeprecatedAttributes.includes(ariaAttrs[i])) + ret.push({ "role": "any", "attribute": ariaAttrs[i] }); + } + var roles = AriaUtil.getRoles(element, false); + if (roles && roles.length > 0) { + for (var i = 0; i < roles.length; i++) { + var roleWithDeprecatedAttributes = ARIADefinitions_1.ARIADefinitions.designPatterns[roles[i]]; + if (roleWithDeprecatedAttributes) { + var deprecatedAttriNames = roleWithDeprecatedAttributes['deprecatedProps']; + if (deprecatedAttriNames && deprecatedAttriNames.length > 0) { + for (var j = 0; j < ariaAttrs.length; j++) { + if (deprecatedAttriNames.includes(ariaAttrs[j])) + ret.push({ "role": roles[i], "attribute": ariaAttrs[j] }); + } + } + } + } + } + return ret; + }; + AriaUtil.isNodeInGrid = function (node) { + return AriaUtil.getAncestorWithRole(node, "grid") != null; + }; + // This list contains a list of elements tags which have display: none by default, since we have rules triggering + AriaUtil.navLinkKeywords = ['start', 'next', 'prev', 'previous', 'contents', 'index']; + // This list contains a list of rule ids for the rules that have to check for hidden content regardless of the Check Hidden + // Content Setting. This means that when the engine is actually determine which elements to mass to the rules, it will always + // pass theses rules no matter what the Check Hidden Content Setting is. + AriaUtil.rulesThatHaveToCheckHidden = ['RPT_Elem_UniqueId']; + // https://www.w3.org/TR/wai-aria-1.1/#introstates + AriaUtil.ariaAttributeRoleDefaults = { + "alert": { + "aria-live": "assertive", + "aria-atomic": "true" + }, + "combobox": { + "aria-haspopup": "listbox" + }, + "listbox": { + "aria-orientation": "vertical" + }, + "log": { + "aria-live": "polite" + }, + "menu": { + "aria-orientation": "vertical" + }, + "menubar": { + "aria-orientation": "horizontal" + }, + "meter": { + "aria-valuemin": "0", + "aria-valuemax": "100" + }, + "option": { + "aria-selected": "false" + }, + "progressbar": { + "aria-valuemin": "0", + "aria-valuemax": "100" + }, + "scrollbar": { + "aria-orientation": "vertical", + "aria-valuemin": "0", + "aria-valuemax": "100" + }, + "separator": { + "aria-orientation": "horizontal", + "aria-valuemin": "0", + "aria-valuemax": "100" + }, + "slider": { + "aria-orientation": "horizontal", + "aria-valuemin": "0", + "aria-valuemax": "100" + }, + "spinbutton": { + // Not sure how to encode min/max (or now in 1.2 - "has no value") + //"aria-valuenow": "0" TODO: at risk: maybe delete after ARIA 1.2 reaches proposed rec + // Probably just delete spinbutton from this list completely and let user agents handle "defaults" + }, + "status": { + "aria-live": "polite", + "aria-atomic": "true" + }, + "tab": { + "aria-selected": "false" + }, + "tablist": { + "aria-orientation": "horizontal" + }, + "toolbar": { + "aria-orientation": "horizontal" + }, + "tree": { + "aria-orientation": "vertical" + } + }; + // https://www.w3.org/TR/wai-aria-1.1/#aria-atomic + AriaUtil.ariaAttributeGlobalDefaults = { + "aria-atomic": "false", + "aria-autocomplete": "none", + "aria-busy": "false", + "aria-checked": undefined, + "aria-current": "false", + "aria-disabled": "false", + "aria-dropeffect": "none", + "aria-expanded": undefined, + "aria-grabbed": undefined, + "aria-haspopup": "false", + "aria-hidden": undefined, + "aria-invalid": "false", + "aria-live": "off", + "aria-modal": "false", + "aria-multiline": "false", + "aria-multiselectable": "false", + "aria-orientation": undefined, + "aria-pressed": undefined, + "aria-readonly": "false", + //"aria-relevant": "additions text", TODO: are multiple values supported? + "aria-required": "false", + "aria-selected": undefined, + "aria-sort": "none" + }; + // https://www.w3.org/TR/html-aam-1.0/#html-attribute-state-and-property-mappings + AriaUtil.ariaAttributeImplicitMappings = { + "aria-autocomplete": { + "form": function (e) { + return "off" === e.getAttribute("autocomplete") ? "none" : "both"; + }, + "input": function (e) { + return "off" === e.getAttribute("autocomplete") ? "none" : "both"; + }, + "select": function (e) { + return "off" === e.getAttribute("autocomplete") ? "none" : "both"; + }, + "textarea": function (e) { + return "off" === e.getAttribute("autocomplete") ? "none" : "both"; + } + }, + "aria-checked": { + "input": function (e) { + if (e.hasAttribute("indeterminate")) + return "mixed"; + return "" + e.hasAttribute("checked"); + }, + "menuitem": function (e) { + if (e.hasAttribute("indeterminate")) + return "mixed"; + return "" + e.hasAttribute("checked"); + }, + "*": function (e) { + if (e.hasAttribute("indeterminate")) + return "mixed"; + }, + }, + "aria-disabled": { + "button": function (e) { + return e.hasAttribute("disabled") ? "true" : "false"; + }, + "fieldset": function (e) { + return e.hasAttribute("disabled") ? "true" : "false"; + }, + "input": function (e) { + return e.hasAttribute("disabled") ? "true" : "false"; + }, + "optgroup": function (e) { + return e.hasAttribute("disabled") ? "true" : "false"; + }, + "option": function (e) { + return e.hasAttribute("disabled") ? "true" : "false"; + }, + "select": function (e) { + return e.hasAttribute("disabled") ? "true" : "false"; + }, + "textarea": function (e) { + return e.hasAttribute("disabled") ? "true" : "false"; + } + }, + "aria-expanded": { + "details": function (e) { + return e.getAttribute("open"); + }, + "dialog": function (e) { + return e.getAttribute("open"); + } + }, + "aria-multiselectable": { + "select": function (e) { + if (e.hasAttribute("multiple")) + return "true"; + return; + } + }, + "aria-placeholder": { + "input": function (e) { + return e.getAttribute("placeholder"); + }, + "textarea": function (e) { + return e.getAttribute("placeholder"); + } + }, + "aria-required": { + "input": function (e) { + return e.getAttribute("required"); + }, + "select": function (e) { + return e.getAttribute("required"); + }, + "textarea": function (e) { + return e.getAttribute("required"); + } + } + }; + return AriaUtil; +}()); +exports.AriaUtil = AriaUtil; + + +/***/ }), + +/***/ "./src/v4/util/CSSUtil.ts": +/*!********************************!*\ + !*** ./src/v4/util/CSSUtil.ts ***! + \********************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CSSUtil = void 0; +var CacheUtil_1 = __webpack_require__(/*! ./CacheUtil */ "./src/v4/util/CacheUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ./CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var AriaUtil_1 = __webpack_require__(/*! ./AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var DOMMapper_1 = __webpack_require__(/*! ../../v2/dom/DOMMapper */ "./src/v2/dom/DOMMapper.ts"); +var DOMWalker_1 = __webpack_require__(/*! ../../v2/dom/DOMWalker */ "./src/v2/dom/DOMWalker.ts"); +var CSSUtil = /** @class */ (function () { + function CSSUtil() { + } + CSSUtil.selectorMatchesElem = function (element, selector) { + try { + if (selector.trim() === "") + return false; + if (typeof element.matches === "function") { + return element.matches(selector); + } + if (typeof element.matchesSelector === "function") { + return element.matchesSelector(selector); + } + // Native functions not there, fallback + var matches = (element.document || element.ownerDocument).querySelectorAll(selector); + var i = 0; + while (i < matches.length && matches[i] !== element) { + ++i; + } + return i < matches.length; + } + catch (err) { + // Bad selector? Doesn't match then... + return false; + } + }; + /** + * Returns the style computed for this element + * @param elem + */ + CSSUtil.getComputedStyle = function (elem, pseudoElt) { + if (!elem) + return null; + var doc = elem.ownerDocument; + var win = doc.defaultView; + return win.getComputedStyle(elem, pseudoElt); + }; + /** + * Returns the style defined for this element + * + * This differs from the computed style in that the computed style will return + * styles defined by the user agent. This will only return styles defined by the + * application + * if rotation transform is used, the computed style returns the resolved matrix + * while the defined style return the transform function(s) + * for example, for 'transform: rotate(2.5deg);', the computed style returns 'matrix(-0.0436194, 0.999048, -0.999048, -0.0436194, 0, 0)' + * and the defined style returns 'rotate(2.5deg)' + * + * change the type of the parameter pseudoClass from PseudoClass to string to include both pseudo classes (e.g., :focus, :checked) + * and pseudo elements (e.g., ::before, ::after). + * + * @param {HTMLElement} elem + * @param {string} [pseudoClass] If specified, will return values that are different + * than when the pseudoClass does not match. + */ + CSSUtil.getDefinedStyles = function (elem, pseudoClass) { + // console.log("Function: getDefinedStyles"); + if (!elem) + return null; + var definedStyles = {}; + var definedStylePseudo = {}; + function fillStyle(maps, style) { + for (var sIndex = 0; sIndex < style.length; ++sIndex) { + if (style[sIndex] === "all" && style[style[sIndex]]) { + for (var _i = 0, maps_1 = maps; _i < maps_1.length; _i++) { + var map = maps_1[_i]; + for (var key in map) { + delete map[key]; + } + } + break; + } + else { + var key = style[sIndex]; + for (var _a = 0, maps_2 = maps; _a < maps_2.length; _a++) { + var map = maps_2[_a]; + var priority = style.getPropertyPriority(key); + if (key in map && map[key].endsWith("!important")) { + if (priority === "important" && + !map[key].startsWith("inherit") && + !map[key].startsWith("unset")) + //override !important only if it is also !important + map[key] = style[key] + " !important"; + //don't override !important if it is not !important + else + continue; + } + //create/overide anyway + else + map[key] = + style[key] + + (priority === "important" ? " !important" : ""); + } + } + } + } + var storedStyles = CacheUtil_1.CacheUtil.getCache(elem, "RPTUtil_DefinedStyles", null); + if (!pseudoClass && storedStyles) { + definedStyles = storedStyles["definedStyles"]; + definedStylePseudo = storedStyles["definedStylePseudo"]; + } + else { + // Iterate through all of the stylesheets and rules + for (var ssIndex = 0; ssIndex < elem.ownerDocument.styleSheets.length; ++ssIndex) { + var sheet = elem.ownerDocument.styleSheets[ssIndex]; + try { + if (sheet && sheet.cssRules) { + // console.log("Got sheet"); + for (var rIndex = 0; rIndex < sheet.cssRules.length; ++rIndex) { + // console.log("Got rule: ", sheet.cssRules[rIndex]); + var rule = sheet.cssRules[rIndex]; + var fullRuleSelector = rule.selectorText; + if (fullRuleSelector) { + var pseudoMatch = fullRuleSelector.match(/^(.*)(:[a-zA-Z-]*)$/); + var hasPseudoClass = !!pseudoMatch; + var selMain = hasPseudoClass + ? pseudoMatch[1] + : fullRuleSelector; + var selPseudo = hasPseudoClass + ? pseudoMatch[2] + : ""; + var samePseudoClass = selPseudo === pseudoClass; + if (pseudoClass && pseudoClass === ":focus") { + // If this element has focus, remove focus-within from parents + selMain = selMain.replace(/([ >][^+~ >]+):focus-within/g, "$1"); + } + // Get styles of non-pseudo selectors + if (!hasPseudoClass && + CSSUtil.selectorMatchesElem(elem, selMain)) { + fillStyle([definedStyles, definedStylePseudo], rule.style); + } + if (samePseudoClass && + CSSUtil.selectorMatchesElem(elem, selMain)) { + fillStyle([definedStylePseudo], rule.style); + } + } + } + } + } + catch (err) { + if (!err.toString().includes("Cannot access rules") && + !err.toString().includes("SecurityError:")) { + throw err; + } + } + } + // + // Handled the stylesheets, now handle the element defined styles + fillStyle([definedStyles, definedStylePseudo], elem.style); + CacheUtil_1.CacheUtil.setCache(elem, "RPTUtil_DefinedStyles", { + definedStyles: definedStyles, + definedStylePseudo: definedStylePseudo, + }); + } + /** + * 'initial' sets the style back to default + for (const key in definedStyles) { + if (definedStyles[key] === "initial") { + delete definedStyles[key]; + } + } + for (const key in definedStylePseudo) { + if (definedStylePseudo[key] === "initial") { + delete definedStylePseudo[key]; + } + } + */ + if (!pseudoClass) { + // console.log("[DEBUG: CSSUtil::getDefinedStyles]", elem.nodeName, pseudoClass, JSON.stringify(definedStyles, null, 2)); + return definedStyles; + } + else { + for (var key in definedStylePseudo) { + if (definedStylePseudo[key] === definedStyles[key]) { + delete definedStylePseudo[key]; + } + } + // console.log("[DEBUG: CSSUtil::getDefinedStyles]", elem.nodeName, pseudoClass, JSON.stringify(definedStylePseudo, null, 2)); + return definedStylePseudo; + } + }; + /** + * Returns the media query defined for the document + * + * + * @param {Document} doc + */ + CSSUtil.getMediaOrientationTransform = function (doc) { + var orientationTransforms = {}; + // Iterate through all of the stylesheets and rules + for (var ssIndex = 0; ssIndex < doc.styleSheets.length; ++ssIndex) { + var sheet = doc.styleSheets[ssIndex]; + try { + if (sheet && sheet.cssRules) { + for (var rIndex = 0; rIndex < sheet.cssRules.length; ++rIndex) { + var sheetRule = sheet.cssRules[rIndex]; + if (4 /* CSSRule.MEDIA_RULE */ === sheetRule.MEDIA_RULE) { + var rule = sheetRule; + if (rule && rule.media) { + var mediaList = rule.media; + for (var i = 0; i < mediaList.length; i++) { + if (!mediaList.item(i)) + continue; + var elem_transforms = orientationTransforms[mediaList.item(i).toLocaleLowerCase()]; + if (!elem_transforms) + elem_transforms = {}; + var styleRules = rule.cssRules; + for (var i_1 = 0; i_1 < styleRules.length; ++i_1) { + if (1 /* CSSRule.STYLE_RULE */ === styleRules[i_1].STYLE_RULE) { + var styleRule = styleRules[i_1]; + var selector = styleRule.selectorText; + if (selector) { + var transforms = {}; + var styles = styleRule.style; + for (var s = 0; s < styles.length; ++s) { + var key = styles[s]; + if (key.toLocaleLowerCase() === "transform") { + if (key === "all" && styles[key]) { + delete transforms[key]; + break; + } + else { + transforms[key] = styles[key]; + } + } + else if (key.toLocaleLowerCase() === "rotate") { + transforms[key] = styles[key]; + } + elem_transforms[selector] = + transforms; + } + } + } + if (mediaList.item(i_1)) + orientationTransforms[mediaList.item(i_1).toLocaleLowerCase()] = elem_transforms; + } + } + } + } + } + } + } + catch (err) { + if (!err.toString().includes("Cannot access rules") && + !err.toString().includes("SecurityError:")) { + throw err; + } + } + } + return orientationTransforms; + }; + /** + * convert given rotation transform functions to the degree transformed. + * If multiple functions are given, then the functions are applied linearly in the order. + * rotation_transform function example: rotate(45deg), rotate(2turn), rotate(2rad), rotate3d(1, 1, 1, 45deg), + * rotate(2rad) rotate3d(1, 1, 1, 45deg) + * @param rotation_transform + */ + CSSUtil.getRotationDegree = function (rotation_transform) { + var degree = 0; + try { + if (!rotation_transform) + return degree; + // normalize the rotation_transform + rotation_transform = rotation_transform.replaceAll(", ", ","); + var transform_functions = rotation_transform.split(" "); + for (var i = 0; i < transform_functions.length; i++) { + var transform_function = transform_functions[i].trim(); + if (transform_function === "") + continue; + if (transform_function.startsWith("rotate3d")) { + // example: rotate3d(1, 1, 1, 45deg); + var left = transform_function.indexOf("("); + var right = transform_function.indexOf(")"); + if (left !== -1 && right !== -1) { + var matrix = transform_function.substring(left + 1, right); + var values = void 0; + if (matrix) + values = matrix.split(","); + if (values && values.length === 4) { + var rotation = values[3]; + if (!rotation) + continue; + rotation = rotation.trim(); + if (rotation.endsWith("turn")) { + var num = rotation.substring(0, rotation.length - 4); + num = parseFloat(num); + if (!isNaN(num)) + degree = num * 360; + } + else if (rotation.endsWith("rad")) { + var num = rotation.substring(0, rotation.length - 3); + num = parseFloat(num); + if (!isNaN(num)) + degree = (num * 180) / Math.PI; + } + else if (rotation.endsWith("deg")) { + var num = rotation.substring(0, rotation.length - 3); + num = parseFloat(num); + if (!isNaN(num)) + degree += num; + } + } + } + } + else if (transform_function.startsWith("rotate") || + transform_function.startsWith("rotateZ")) { + // example: rotate(45deg); + var left = transform_function.indexOf("("); + var right = transform_function.indexOf(")"); + if (left !== -1 && right !== -1) { + var rotation = transform_function.substring(left + 1, right); + if (!rotation) + continue; + rotation = rotation.trim(); + if (rotation.endsWith("turn")) { + var num = rotation.substring(0, rotation.length - 4); + num = parseFloat(num); + if (!isNaN(num)) + degree = num * 360; + } + else if (rotation.endsWith("rad")) { + var num = rotation.substring(0, rotation.length - 3); + num = parseFloat(num); + if (!isNaN(num)) + degree = (num * 180) / Math.PI; + } + else if (rotation.endsWith("deg")) { + var num = rotation.substring(0, rotation.length - 3); + num = parseFloat(num); + if (!isNaN(num)) + degree += num; + } + } + } + else if (transform_function.startsWith("matrix3d")) { + // calculate the three Euler angles + var left = transform_function.indexOf("("); + var right = transform_function.indexOf(")"); + if (left !== -1 && right !== -1) { + var matrix = transform_function.substring(left + 1, right); + var values = null; + if (matrix) + values = matrix.split(","); + if (values !== null) { + var z_angle = Math.atan2(values[4], values[5]); + degree += Math.round(Math.round((z_angle * 180) / Math.PI)); + } + } + } + else if (transform_function.startsWith("matrix")) { + // calculate the three Euler angles + var left = transform_function.indexOf("("); + var right = transform_function.indexOf(")"); + if (left !== -1 && right !== -1) { + var matrix = transform_function.substring(left + 1, right); + var values = null; + if (matrix) + values = matrix.split(","); + if (values !== null) { + var z_angle = Math.atan2(values[1], values[0]); + degree += Math.round(Math.round((z_angle * 180) / Math.PI)); + } + } + } + } + while (degree >= 360) + degree -= 360; + } + catch (err) { + console.log("Cannot retrieve rotation degree: " + err); + throw err; + } + return degree; + }; + /** + * Convert CSS style string values to pixels. + * + * @param value style value in string, such as 3rem, 230px etc. + * @param target element. + * @return value in pixels + */ + CSSUtil.getPixelsFromStyle = function (value, elem) { + if (!value) + return 0; + var regex = /(-?[\d.]+)([a-z%]*)/; + var parsed = value.trim().match(regex); + if (parsed === null) + return 0; + if (parsed[2] === "" || parsed[1] === 0) + //no zero value without unit which is considered as error, so implicable + return 0; + var pixels = CSSUtil.convertValue2Pixels(parsed[2], parsed[1], elem); + return pixels === null ? pixels : parseFloat(pixels); + }; + /** + * Convert absolute CSS numerical values to pixels. + * + * @param unitValue in string + * @param target element. + * @return value in pixels + */ + CSSUtil.convertValue2Pixels = function (unit, unitValue, elem) { + if (unitValue == 0) + return 0; + var supportedUnits = { + // absolute unit + px: function (value) { return value; }, + cm: function (value) { return value * 37.8; }, + mm: function (value) { return value * 3.78; }, + q: function (value) { return value * 0.95; }, + in: function (value) { return value * 96; }, + pc: function (value) { return value * 16; }, + pt: function (value) { return value * 1.33; }, + // relative unit + rem: function (value) { + return value * + parseFloat(getComputedStyle(elem.ownerDocument.documentElement).getPropertyValue("font-size")); + }, + em: function (value) { + return value * + parseFloat(getComputedStyle(elem).getPropertyValue("font-size")); + }, + vw: function (value) { + return (value / 100) * elem.ownerDocument.defaultView.innerWidth; + }, + vh: function (value) { + return (value / 100) * elem.ownerDocument.defaultView.innerHeight; + }, + "%": function (value) { + return (value / 100) * + parseFloat(getComputedStyle(elem).getPropertyValue("font-size")); + }, + }; + if (unit in supportedUnits) + return supportedUnits[unit](unitValue); + return null; + }; + /* + * Returns if the font for visible text of the element is defined by material icons + * + * @param {HTMLElement} elem + */ + CSSUtil.isMaterialIconFont = function (elem) { + // TODO: check the existence material icons using fetch in node 18+ + // for now (node 16) just dertermine if the stylesheet for the 'Material Icons' exists statically. note that the loading of the font stylesheet occurs at run time. + //list of known material icons and stylesheet link + var known_icons = { + "Material Icons": "https://fonts.googleapis.com/icon?family=Material+Icons", + }; + var known_css_classes = { + "material-icons": "https://fonts.googleapis.com/icon?family=Material+Icons", + }; + // material icon font can be defined either by font-family: 'Material Icons' or by class="material-icons" + var styles = CSSUtil.getDefinedStyles(elem); + var fontFamily = styles["font-family"]; + var found = false; + // font-family specifies a prioritized list of one or more font family names + if (fontFamily && + fontFamily.split(",")[0].replace(/['"]+/g, "").trim() in known_icons) + found = true; + if (!found) { + var list = elem.classList; + for (var css_class in known_css_classes) { + if (list.contains(css_class)) { + found = true; + break; + } + } + } + if (!found) + return false; + var passed = false; + // check if the stylesheet for the 'Material Icons' exists statically + var sheets = elem.ownerDocument.styleSheets; + for (var s = 0; s < sheets.length; s++) { + if (sheets && + sheets.length > 0 && + Object.values(known_icons).indexOf(sheets[s].href) > -1) { + passed = true; + break; + } + } + return passed; + }; + CSSUtil.getWeightNumber = function (styleVal) { + var map = { + light: 100, + bold: 700, + }; + var retVal = parseInt(styleVal); + if (retVal) + return retVal; + if (styleVal in map) + return map[styleVal]; + return 400; + }; + CSSUtil.getFontInPixels = function (styleVal, elem) { + var map = { + "xx-small": 16, + "x-small": 10, + small: 13, + medium: 16, + large: 18, + "x-large": 24, + "xx-large": 32, + }; + var value = parseFloat(styleVal); + if (!value) { + return map[styleVal]; + } + var units = styleVal.substring(("" + value).length); + /** + if (units === "" || units === "px") return value; + if (units === "em") return value * 16; + if (units === "%") return value / 100 * 16; + if (units === "pt") return value * 4 / 3; + return Math.round(value); + */ + return CSSUtil.convertValue2Pixels(units, value, elem); + }; + CSSUtil.getCSSStyle = function (element) { + var styleText = ""; + if (element === null) + return []; + if (element.IBM_CSS_THB) + return element.IBM_CSS_THB; + var nodeName = element.nodeName.toLowerCase(); + if (nodeName === "style") { + styleText = element.innerText; + if (styleText === undefined || styleText.trim() === "") + styleText = element.textContent; + } + else if (element.hasAttribute("style")) { + styleText = element.getAttribute("style"); + } + else + return []; + if (styleText === null || styleText.trim().length === 0) + return []; + //remove comment blocks + var re = /(\/\*+(?:(?:(?:[^\*])+)|(?:[\*]+(?!\/)))[*]+\/)|\/\/.*/g; + var subst = " "; + styleText = styleText.replace(re, subst); + // Find all "key : val;" pairs with various whitespace inbetween + var rKeyVals = /\s*([^:\s]+)\s*:\s*([^;$}]+)\s*(;|$)/g; + // Find all "selector { csskeyvals } with various whitespace inbetween + var rSelectors = /\s*([^{]*){([^}]*)}/g; + if (styleText.indexOf("{") === -1) { + var keyVals = {}; + var m = void 0; + while ((m = rKeyVals.exec(styleText)) != null) { + keyVals[m[1]] = m[2].trim().toLowerCase(); + } + var retVal = [ + { + selector: null, + values: keyVals, + }, + ]; + element.IBM_CSS_THB = retVal; + return retVal; + } + else { + var retVal = []; + var m = void 0; + var m2 = void 0; + while ((m = rSelectors.exec(styleText)) != null) { + var keyVals = {}; + var selKey = m[1]; + var selVal = m[2]; + while ((m2 = rKeyVals.exec(selVal)) != null) { + keyVals[m2[1]] = m2[2].trim().toLowerCase(); + } + retVal.push({ + selector: selKey, + values: keyVals, + }); + } + element.IBM_CSS_THB = retVal; + return retVal; + } + }; + /** + * an "inline" CSS display property tells the element to fit itself on the same line. An 'inline' element's width and height are ignored. + * some element has default inline property, such as <span>, <a> + * most formatting elements inherent inline property, such as <em>, <strong>, <i>, <small> + * other inline elements: <abbr> <acronym> <b> <bdo> <big> <br> <cite> <code> <dfn> <em> <i> <input> <kbd> <label> + * <map> <object> <output> <q> <samp> <script> <select> <small> <span> <strong> <sub> <sup> <textarea> <time> <tt> <var> + * an "inline-block" element still place element in the same line without breaking the line, but the element's width and height are applied. + * inline-block elements: img, button, select, meter, progress, marguee, also in Chrome: textarea, input + * A block-level element always starts on a new line, and the browsers automatically add some space (a margin) before and after the element. + * block-level elements: <address> <article> <aside> <blockquote> <canvas> <dd> <div> <dl> <dt> <fieldset> <figcaption> <figure> <footer> <form> + * <h1>-<h6> <header> <hr> <li> <main> <nav> <noscript> <ol> <p> <pre> <section> <table> <tfoot> <ul> <video> + * + * return: if it's inline element and { inline: true | false, text: true | false, violation: null | {node} } + */ + CSSUtil.getInlineStatus = function (element) { + if (!element) + return null; + var elem_styl = getComputedStyle(element); + if (!elem_styl) + return null; + var status = { inline: false, text: false, violation: null }; + var udisplay = elem_styl.getPropertyValue("display"); + // inline element only + if (udisplay !== "inline") + return status; + status.inline = true; + var parent = element.parentElement; + if (!parent) + return status; + var mapper = new DOMMapper_1.DOMMapper(); + var bounds = mapper.getUnadjustedBounds(element); + var style = getComputedStyle(parent); + var display = style.getPropertyValue("display"); + // an inline element is inside a block. note <body> is a block element too + if (display !== "block" && display !== "inline-block") { + //parent is inline element + if (!CommonUtil_1.CommonUtil.isInnerTextOnlyEmpty(parent)) + status.text = true; + return status; + } + /** + * @returns "yes"": inline with text, "no": inline without text, + * "violation": not spacing enough to neiboring inline target + * "block": block element, + */ + function isInlineWithText(node, before) { + // note browsers insert Text nodes to represent whitespaces. + if (node.nodeType === Node.TEXT_NODE) { + if (node.nodeValue && node.nodeValue.trim().length > 0) + return "yes"; + else + return "no"; + } + else if (node.nodeType === Node.ELEMENT_NODE) { + // special case: <br> is styled 'inline' by default, but change the line + if (node.nodeName.toLowerCase() === "br") + return "block"; + var cStyle = getComputedStyle(node); + var cDisplay = cStyle.getPropertyValue("display"); + if (cDisplay === "inline") { + if (CommonUtil_1.CommonUtil.isTarget(node)) { + if (bounds.width < 24) { + // check if the horizontal spacing is sufficient + var bnds = mapper.getUnadjustedBounds(node); + if ((before && (Math.round(bounds.width / 2) + bounds.left - bnds.left < 24)) + || (!before && (Math.round(bounds.width / 2) + bounds.left - (bnds.left + bnds.width) < 24))) { + status.violation = node.nodeName.toLowerCase(); + return "violation"; + } + else + return "no"; + } + } + if (!CommonUtil_1.CommonUtil.isInnerTextOnlyEmpty(node)) + return "yes"; + return "no"; + } + else + return "block"; + } + else + return "block"; + } + // an inline element is inside a block. note <body> is a block element too + // one or more inline elements with text in the same line: <target>, text<target>, <target>text, <inline>+text<target>, <target><inline>+text, text<target><inline>+ + var walkNode = element.nextSibling; + while (walkNode) { + var inlineText = isInlineWithText(walkNode, true); + if (inlineText === "yes") { + status.text = true; + break; + } + if (inlineText === "block") { + break; + } + walkNode = walkNode.nextSibling; + } + walkNode = element.previousSibling; + while (walkNode) { + var inlineText = isInlineWithText(walkNode, false); + if (inlineText === "yes") { + status.text = true; + break; + } + if (inlineText === "block") { + break; + } + walkNode = walkNode.previousSibling; + } + return status; + }; + /** + * a target is en element that accept a pointer action (click or touch) + * a target is a browser default if it's a native widget (no user defined role) without user style + */ + CSSUtil.isTargetBrowserDefault = function (element) { + if (!element) + return false; + // user defined widget + var roles = AriaUtil_1.AriaUtil.getRoles(element, false); + if (roles && roles.length > 0) + return false; + // no user style to space control size, including use of font + var styles = CSSUtil.getDefinedStyles(element); + if (styles["line-height"] || + styles["height"] || + styles["width"] || + styles["min-height"] || + styles["min-width"] || + styles["font-size"] || + styles["margin-top"] || + styles["margin-bottom"] || + styles["margin-left"] || + styles["margin-right"]) + return false; + return true; + }; + /* + * string contains CJK (chinese, japaneses, or korea) + * return: boolean + */ + CSSUtil.containsCKJ = function (text) { + if (!text) + return false; + // https://en.wikipedia.org/wiki/CJK_Unified_Ideographs https://ayaka.shn.hk/hanregex/ + var regex = /(?:[\u4e00-\u9fff\u3400-\u4dbf])+/g; + var replaced = text.trim().replace(regex, ""); + if (replaced.length === text.trim().length) + return false; + return true; + }; + /** + * return the ancestor with the given style properties. + * + * @parm {element} element - The element to start the node walk on to find parent node + * @parm {[string]} styleProps - The style properties and values of the parent to search for. + * such as {"overflow":['auto', 'scroll'], "overflow-x":['auto', 'scroll']} + * or {"overflow":['*'], "overflow-x":['*']}, The '*' for any value to check the existence of the style prop. + * @parm {bool} excludedValues - style values that should be ignored. + * @return {node} walkNode - A parent node of the element, which has the style properties + * @memberOf AriaUtil + */ + CSSUtil.getAncestorWithStyles = function (elem, styleProps, excludedValues) { + if (excludedValues === void 0) { excludedValues = []; } + var walkNode = elem; + while (walkNode !== null) { + var node = CacheUtil_1.CacheUtil.getCache(walkNode, "AriaUtil_AncestorWithStyles", null); + if (node) + return node; + var styles = CSSUtil.getDefinedStyles(walkNode); + for (var style in styleProps) { + var value = styles[style]; + if (value) { + value = value.split(" ")[0]; //get rid of !important + if (!excludedValues.includes(value)) { + if (styleProps[style].includes('*')) { + CacheUtil_1.CacheUtil.setCache(walkNode, "AriaUtil_AncestorWithStyles", walkNode); + return walkNode; + } + else if (styleProps[style].includes(value)) { + CacheUtil_1.CacheUtil.setCache(walkNode, "AriaUtil_AncestorWithStyles", walkNode); + return walkNode; + } + } + } + } + walkNode = DOMWalker_1.DOMWalker.parentElement(walkNode); + } + CacheUtil_1.CacheUtil.setCache(elem, "AriaUtil_AncestorWithStyles", undefined); + return null; + }; + return CSSUtil; +}()); +exports.CSSUtil = CSSUtil; + + +/***/ }), + +/***/ "./src/v4/util/CacheUtil.ts": +/*!**********************************!*\ + !*** ./src/v4/util/CacheUtil.ts ***! + \**********************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CacheUtil = void 0; +var DOMWalker_1 = __webpack_require__(/*! ../../v2/dom/DOMWalker */ "./src/v2/dom/DOMWalker.ts"); +var CacheUtil = /** @class */ (function () { + function CacheUtil() { + } + /* Return a pointer to the given global variable + * with its initial value as given */ + CacheUtil.getCache = function (cacheSpot, keyName, initValue) { + if (!cacheSpot) + return undefined; + var cacheObj = (cacheSpot.nodeType === 9 /* Node.DOCUMENT_NODE */ || cacheSpot.nodeType === 11 /* Node.DOCUMENT_FRAGMENT_NODE */) ? cacheSpot : cacheSpot; + if (cacheObj.aceCache === undefined) { + cacheObj.aceCache = {}; + } + if (cacheObj.aceCache[keyName] === undefined) { + cacheObj.aceCache[keyName] = initValue; + } + return cacheObj.aceCache[keyName]; + }; + CacheUtil.setCache = function (cacheSpot, globalName, value) { + if (!cacheSpot) + return undefined; + var cacheObj = (cacheSpot.nodeType === 9 /* Node.DOCUMENT_NODE */ || cacheSpot.nodeType === 11 /* Node.DOCUMENT_FRAGMENT_NODE */) ? cacheSpot : cacheSpot; + if (cacheObj.aceCache === undefined) { + cacheObj.aceCache = {}; + } + cacheObj.aceCache[globalName] = value; + return value; + }; + CacheUtil.clearCaches = function (cacheRoot) { + delete cacheRoot.ownerDocument.aceCache; + var nw = new DOMWalker_1.DOMWalker(cacheRoot, false, cacheRoot, true); + do { + delete nw.node.aceCache; + nw.node.ownerDocument && delete nw.node.ownerDocument.aceCache; + } while (nw.nextNode()); + }; + return CacheUtil; +}()); +exports.CacheUtil = CacheUtil; + + +/***/ }), + +/***/ "./src/v4/util/ColorUtil.ts": +/*!**********************************!*\ + !*** ./src/v4/util/ColorUtil.ts ***! + \**********************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ColorObj = exports.ColorUtil = void 0; +var DOMWalker_1 = __webpack_require__(/*! ../../v2/dom/DOMWalker */ "./src/v2/dom/DOMWalker.ts"); +var ColorUtil = /** @class */ (function () { + function ColorUtil() { + } + // Rewrite the color object to account for alpha + ColorUtil.Color = function (cssStyleColor) { + if (!cssStyleColor) + return null; + cssStyleColor = cssStyleColor.toLowerCase(); + if (cssStyleColor === "transparent") + return new ColorObj(255, 255, 255, 0); + if (cssStyleColor in ColorUtil.CSSColorLookup) + cssStyleColor = ColorUtil.CSSColorLookup[cssStyleColor]; + if (cssStyleColor.startsWith("rgb(")) { + var rgbRegex = /\s*rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/; + var m = cssStyleColor.match(rgbRegex); + if (m === null) + return null; + else { + return new ColorObj(m[1], m[2], m[3]); + } + } + else if (cssStyleColor.startsWith("rgba(")) { + var rgbRegex = /\s*rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(.+)\s*\)/; + var m = cssStyleColor.match(rgbRegex); + if (m === null) + return null; + else { + return new ColorObj(m[1], m[2], m[3], m[4]); + } + } + else if (cssStyleColor.charAt(0) != "#") { + return null; + } + else { + if (cssStyleColor.length === 4) { + // The three-digit RGB (#rgb) is converted to six-digit form (#rrggbb) by replicating digits + // (https://www.w3.org/TR/css-color-3/#rgb-color) + cssStyleColor = "#" + cssStyleColor.charAt(1).repeat(2) + + cssStyleColor.charAt(2).repeat(2) + + cssStyleColor.charAt(3).repeat(2); + } + var thisRed = parseInt(cssStyleColor.substring(1, 3), 16); + var thisGreen = parseInt(cssStyleColor.substring(3, 5), 16); + var thisBlue = parseInt(cssStyleColor.substring(5, 7), 16); + return new ColorObj(thisRed, thisGreen, thisBlue); + } + // return null; // Unreachable + }; + ; + ColorUtil.ColorCombo = function (ruleContext) { + try { + var doc = ruleContext.ownerDocument; + if (!doc) { + return null; + } + var win = doc.defaultView; + if (!win) { + return null; + } + var ancestors = []; + var walkNode = ruleContext; + while (walkNode) { + if (walkNode.nodeType === 1) + ancestors.push(walkNode); + walkNode = DOMWalker_1.DOMWalker.parentElement(walkNode); + } + var retVal = { + "hasGradient": false, + "hasBGImage": false, + "textShadow": false, + "fg": null, + "bg": null + }; + // start + var cStyle = win.getComputedStyle(ruleContext); + var compStyleColor = cStyle.color; + if (!compStyleColor) + compStyleColor = "black"; + var fg = ColorUtil.Color(compStyleColor); + var reColor = /transparent|rgba?\([^)]+\)/gi; + var guessGradColor = function (gradList, bgColor, fgColor) { + try { + // If there's only one color, return that + if (typeof gradList.length === "undefined") + return gradList; + var overallWorst = null; + var overallWorstRatio = null; + for (var iGrad = 1; iGrad < gradList.length; ++iGrad) { + var worstColor = gradList[iGrad - 1]; + var worstRatio = fgColor.contrastRatio(gradList[iGrad - 1]); + var step = .1; + var idx = 0; + while (step > .0001) { + while (idx + step <= 1 && worstRatio > fgColor.contrastRatio(gradList[iGrad].mix(gradList[iGrad - 1], idx + step).getOverlayColor(bgColor))) { + worstColor = gradList[iGrad].mix(gradList[iGrad - 1], idx + step).getOverlayColor(bgColor); + worstRatio = fgColor.contrastRatio(worstColor); + idx = idx + step; + } + while (idx - step >= 0 && worstRatio > fgColor.contrastRatio(gradList[iGrad].mix(gradList[iGrad - 1], idx - step).getOverlayColor(bgColor))) { + worstColor = gradList[iGrad].mix(gradList[iGrad - 1], idx - step).getOverlayColor(bgColor); + worstRatio = fgColor.contrastRatio(worstColor); + idx = idx - step; + } + step = step / 10; + } + if (overallWorstRatio === null || overallWorstRatio > worstRatio) { + overallWorstRatio = worstRatio; + overallWorst = worstColor; + } + } + return overallWorst; // return the darkest color + } + catch (e) { + console.log(e); + } + return bgColor; + }; + var priorStackBG = ColorUtil.Color("white"); + var thisStackOpacity = null; + var thisStackAlpha = null; + var thisStackBG = null; + // Ancestors processed from the topmost parent toward the child + while (ancestors.length > 0) { + var procNext = ancestors.pop(); + //var procNext = ancestors.splice(0, 1)[0]; + // cStyle is the computed style of this layer + var cStyle = win.getComputedStyle(procNext); + if (cStyle === null) + continue; + // thisBgColor is the color of this layer or null if the layer is transparent + var thisBgColor = null; + if (cStyle.backgroundColor && cStyle.backgroundColor != "transparent" && cStyle.backgroundColor != "rgba(0, 0, 0, 0)") { + thisBgColor = ColorUtil.Color(cStyle.backgroundColor); + } + // If there is a gradient involved, set thisBgColor to the worst color combination available against the foreground + if (cStyle.backgroundImage && cStyle.backgroundImage.indexOf && cStyle.backgroundImage.indexOf("gradient") != -1) { + var gradColors = cStyle.backgroundImage.match(reColor); + if (gradColors) { + var gradColorComp = []; + for (var i = 0; i < gradColors.length; ++i) { + if (!gradColors[i].length) { + gradColors.splice(i--, 1); + } + else { + var colorComp = ColorUtil.Color(gradColors[i]); + if (colorComp.alpha !== undefined && colorComp.alpha < 1) { + // mix the grdient bg color wit parent bg if alpha < 1 + var compStackBg = thisStackBG || priorStackBG; + colorComp = colorComp.getOverlayColor(compStackBg); + } + gradColorComp.push(colorComp); + } + } + thisBgColor = guessGradColor(gradColorComp, thisStackBG || priorStackBG, fg); + } + } + // Handle non-solid opacity + if (thisStackOpacity === null || (cStyle.opacity && cStyle.opacity.length > 0 && parseFloat(cStyle.opacity) < 1)) { + // New stack, reset + if (thisStackBG != null) { + // Overlay + thisStackBG.alpha = thisStackOpacity * thisStackAlpha; + priorStackBG = thisStackBG.getOverlayColor(priorStackBG); + } + thisStackOpacity = 1.0; + thisStackAlpha = null; + thisStackBG = null; + if (cStyle.opacity && cStyle.opacity.length > 0) { + thisStackOpacity = parseFloat(cStyle.opacity); + } + if (thisBgColor != null) { + thisStackBG = thisBgColor; + thisStackAlpha = thisStackBG.alpha || 1.0; + delete thisStackBG.alpha; + if (thisStackOpacity === 1.0 && thisStackAlpha === 1.0) { + retVal.hasBGImage = false; + retVal.hasGradient = false; + } + } + } + // Handle solid color backgrounds and gradient color backgrounds + else if (thisBgColor != null) { + // If this stack already has a background color, blend it + if (thisStackBG === null) { + thisStackBG = thisBgColor; + thisStackAlpha = thisStackBG.alpha || 1.0; + delete thisStackBG.alpha; + } + else { + thisStackBG = thisBgColor.getOverlayColor(thisStackBG); + //thisStackAlpha = thisBgColor.alpha || 1.0; + thisStackAlpha = thisStackBG.alpha || 1.0; + } + // #526: If thisBgColor had an alpha value, it may not expose through thisStackBG in the above code + // We can't wipe out the gradient info if this layer was transparent + if (thisStackOpacity === 1.0 && thisStackAlpha === 1.0 && (thisStackBG.alpha || 1.0) === 1.0 && (thisBgColor.alpha || 1.0) === 0) {} + } + if (cStyle.backgroundImage && cStyle.backgroundImage != "none") { + if (cStyle.backgroundImage.indexOf && cStyle.backgroundImage.indexOf("gradient") != -1) { + retVal.hasGradient = true; + } + else { + retVal.hasBGImage = true; + } + } + } + if (thisStackBG != null) { + fg = fg.getOverlayColor(thisStackBG); + delete fg.alpha; + } + fg.alpha = (fg.alpha || 1) * thisStackOpacity; + fg = fg.getOverlayColor(priorStackBG); + if (thisStackBG != null) { + thisStackBG.alpha = thisStackOpacity * thisStackAlpha; + priorStackBG = thisStackBG.getOverlayColor(priorStackBG); + } + retVal.fg = fg; + retVal.bg = priorStackBG; + if (cStyle.textShadow && cStyle.textShadow !== 'none') + retVal.textShadow = true; + return retVal; + } + catch (err) { + // something happened, then... + return null; + } + }; + ; + ColorUtil.CSSColorLookup = { + "aliceblue": "#f0f8ff", + "antiquewhite": "#faebd7", + "aqua": "#00ffff", + "aquamarine": "#7fffd4", + "azure": "#f0ffff", + "beige": "#f5f5dc", + "bisque": "#ffe4c4", + "black": "#000000", + "blanchedalmond": "#ffebcd", + "blue": "#0000ff", + "blueviolet": "#8a2be2", + "brown": "#a52a2a", + "burlywood": "#deb887", + "cadetblue": "#5f9ea0", + "chartreuse": "#7fff00", + "chocolate": "#d2691e", + "coral": "#ff7f50", + "cornflowerblue": "#6495ed", + "cornsilk": "#fff8dc", + "crimson": "#dc143c", + "cyan": "#00ffff", + "darkblue": "#00008b", + "darkcyan": "#008b8b", + "darkgoldenrod": "#b8860b", + "darkgray": "#a9a9a9", + "darkgreen": "#006400", + "darkkhaki": "#bdb76b", + "darkmagenta": "#8b008b", + "darkolivegreen": "#556b2f", + "darkorange": "#ff8c00", + "darkorchid": "#9932cc", + "darkred": "#8b0000", + "darksalmon": "#e9967a", + "darkseagreen": "#8fbc8f", + "darkslateblue": "#483d8b", + "darkslategray": "#2f4f4f", + "darkturquoise": "#00ced1", + "darkviolet": "#9400d3", + "deeppink": "#ff1493", + "deepskyblue": "#00bfff", + "dimgray": "#696969", + "dodgerblue": "#1e90ff", + "firebrick": "#b22222", + "floralwhite": "#fffaf0", + "forestgreen": "#228b22", + "fuchsia": "#ff00ff", + "gainsboro": "#dcdcdc", + "ghostwhite": "#f8f8ff", + "gold": "#ffd700", + "goldenrod": "#daa520", + "gray": "#808080", + "green": "#008000", + "greenyellow": "#adff2f", + "honeydew": "#f0fff0", + "hotpink": "#ff69b4", + "indianred": "#cd5c5c", + "indigo": "#4b0082", + "ivory": "#fffff0", + "khaki": "#f0e68c", + "lavender": "#e6e6fa", + "lavenderblush": "#fff0f5", + "lawngreen": "#7cfc00", + "lemonchiffon": "#fffacd", + "lightblue": "#add8e6", + "lightcoral": "#f08080", + "lightcyan": "#e0ffff", + "lightgoldenrodyellow": "#fafad2", + "lightgrey": "#d3d3d3", + "lightgreen": "#90ee90", + "lightpink": "#ffb6c1", + "lightsalmon": "#ffa07a", + "lightseagreen": "#20b2aa", + "lightskyblue": "#87cefa", + "lightslategray": "#778899", + "lightsteelblue": "#b0c4de", + "lightyellow": "#ffffe0", + "lime": "#00ff00", + "limegreen": "#32cd32", + "linen": "#faf0e6", + "magenta": "#ff00ff", + "maroon": "#800000", + "mediumaquamarine": "#66cdaa", + "mediumblue": "#0000cd", + "mediumorchid": "#ba55d3", + "mediumpurple": "#9370d8", + "mediumseagreen": "#3cb371", + "mediumslateblue": "#7b68ee", + "mediumspringgreen": "#00fa9a", + "mediumturquoise": "#48d1cc", + "mediumvioletred": "#c71585", + "midnightblue": "#191970", + "mintcream": "#f5fffa", + "mistyrose": "#ffe4e1", + "moccasin": "#ffe4b5", + "navajowhite": "#ffdead", + "navy": "#000080", + "oldlace": "#fdf5e6", + "olive": "#808000", + "olivedrab": "#6b8e23", + "orange": "#ffa500", + "orangered": "#ff4500", + "orchid": "#da70d6", + "palegoldenrod": "#eee8aa", + "palegreen": "#98fb98", + "paleturquoise": "#afeeee", + "palevioletred": "#d87093", + "papayawhip": "#ffefd5", + "peachpuff": "#ffdab9", + "peru": "#cd853f", + "pink": "#ffc0cb", + "plum": "#dda0dd", + "powderblue": "#b0e0e6", + "purple": "#800080", + "red": "#ff0000", + "rosybrown": "#bc8f8f", + "royalblue": "#4169e1", + "saddlebrown": "#8b4513", + "salmon": "#fa8072", + "sandybrown": "#f4a460", + "seagreen": "#2e8b57", + "seashell": "#fff5ee", + "sienna": "#a0522d", + "silver": "#c0c0c0", + "skyblue": "#87ceeb", + "slateblue": "#6a5acd", + "slategray": "#708090", + "snow": "#fffafa", + "springgreen": "#00ff7f", + "steelblue": "#4682b4", + "tan": "#d2b48c", + "teal": "#008080", + "thistle": "#d8bfd8", + "tomato": "#ff6347", + "turquoise": "#40e0d0", + "violet": "#ee82ee", + "wheat": "#f5deb3", + "white": "#ffffff", + "whitesmoke": "#f5f5f5", + "yellow": "#ffff00", + "yellowgreen": "#9acd32", + "buttontext": "rgba(0, 0, 0, 0.847)", + "buttonface": "#ffffff", + "graytext": "rgba(0, 0, 0, 0.247)" + }; + return ColorUtil; +}()); +exports.ColorUtil = ColorUtil; +var ColorObj = /** @class */ (function () { + function ColorObj(red, green, blue, alpha) { + function fixComponent(comp) { + if (typeof (comp) != typeof ("")) + return comp; + var compStr = comp; + compStr = compStr.trim(); + if (compStr[compStr.length - 1] != "%") + return parseInt(compStr); + return Math.round(parseFloat(compStr.substring(0, compStr.length - 1)) * 2.55); + } + this.red = fixComponent(red); + this.green = fixComponent(green); + this.blue = fixComponent(blue); + if (typeof (alpha) != "undefined") { + this.alpha = (typeof (alpha) === typeof ("")) ? parseFloat(alpha) : alpha; + } + } + ColorObj.prototype.toHexHelp = function (value) { + var retVal = Math.round(value).toString(16); + if (retVal.length === 1) + return "0" + retVal; + return retVal; + }; + ; + ColorObj.prototype.toHex = function () { + return "#" + this.toHexHelp(this.red) + this.toHexHelp(this.green) + this.toHexHelp(this.blue); + }; + ; + ColorObj.prototype.contrastRatio = function (bgColor) { + var fgColor = this; + if (typeof (this.alpha) != "undefined") + fgColor = this.getOverlayColor(bgColor); + var lum1 = fgColor.relativeLuminance(); + if (!bgColor.relativeLuminance) { + var s = ""; + for (var key in bgColor) { + s += key + "\n"; + } + alert(bgColor); + alert(s); + } + var lum2 = bgColor.relativeLuminance(); + var ratio = (lum1 > lum2) ? (lum1 + .05) / (lum2 + .05) : (lum2 + .05) / (lum1 + .05); + return ratio; + }; + ; + ColorObj.prototype.relativeLuminance = function () { + var R = this.red / 255.0; + var G = this.green / 255.0; + var B = this.blue / 255.0; + R = R <= .04045 ? R / 12.92 : Math.pow((R + .055) / 1.055, 2.4); + G = G <= .04045 ? G / 12.92 : Math.pow((G + .055) / 1.055, 2.4); + B = B <= .04045 ? B / 12.92 : Math.pow((B + .055) / 1.055, 2.4); + return 0.2126 * R + 0.7152 * G + 0.0722 * B; + }; + ; + ColorObj.prototype.mix = function (color2, percThis) { + if (typeof (this.alpha) === "undefined" && typeof (color2.alpha) === "undefined") { + return new ColorObj(percThis * this.red + (1 - percThis) * color2.red, percThis * this.green + (1 - percThis) * color2.green, percThis * this.blue + (1 - percThis) * color2.blue); + } + else { + var alphaThis = this.alpha ? this.alpha : 1; + var alphaOther = color2.alpha ? color2.alpha : 1; + return new ColorObj(percThis * this.red + (1 - percThis) * color2.red, percThis * this.green + (1 - percThis) * color2.green, percThis * this.blue + (1 - percThis) * color2.blue, percThis * alphaThis + (1 - percThis) * alphaOther); + } + }; + ; + ColorObj.prototype.getOverlayColor = function (bgColor) { + if (typeof (this.alpha) === "undefined" || this.alpha >= 1) { + // No mixing required - it's opaque + return this; + } + if (this.alpha < 0) { + // Haac.Error.logError("Invalid alpha value"); + return null; + } + if (typeof (bgColor.alpha) != "undefined" && bgColor.alpha < 1) { + // Haac.Error.logError("Cannot mix with a background alpha"); + return null; + } + var retVal = this.mix(bgColor, this.alpha); + delete retVal.alpha; + return retVal; + }; + ColorObj.fromCSSColor = function (cssStyleColor) { + var thisRed = -1; + var thisGreen = -1; + var thisBlue = -1; + cssStyleColor = cssStyleColor.toLowerCase(); + if (cssStyleColor.startsWith("rgb(")) { + var rgbRegex = /\s*rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/; + var m = cssStyleColor.match(rgbRegex); + if (m === null) + return null; + else { + thisRed = m[1]; + thisGreen = m[2]; + thisBlue = m[3]; + } + } + else if (cssStyleColor.startsWith("rgba(")) { + var rgbRegex = /\s*rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(.+)\s*\)/; + var m = cssStyleColor.match(rgbRegex); + if (m === null) + return null; + else { + thisRed = m[1]; + thisGreen = m[2]; + thisBlue = m[3]; + } + } + else { + if (cssStyleColor.charAt(0) != "#") { + if (cssStyleColor in ColorUtil.CSSColorLookup) + cssStyleColor = ColorUtil.CSSColorLookup[cssStyleColor]; + else + return null; + } + var fromHex = function (val) { + var lookup = { + "a": 10, + "b": 11, + "c": 12, + "d": 13, + "e": 14, + "f": 15 + }; + var retVal = 0; + for (var i = 0; i < val.length; ++i) { + retVal = retVal * 16 + + parseInt(val.charAt(i) in lookup ? lookup[val.charAt(i)] : val.charAt(i)); + } + return retVal; + }; + if (cssStyleColor.length === 4) { + // The three-digit RGB (#rgb) is converted to six-digit form (#rrggbb) by replicating digits + // (https://www.w3.org/TR/css-color-3/#rgb-color) + cssStyleColor = "#" + cssStyleColor.charAt(1).repeat(2) + + cssStyleColor.charAt(2).repeat(2) + + cssStyleColor.charAt(3).repeat(2); + } + thisRed = fromHex(cssStyleColor.substring(1, 3)); + thisGreen = fromHex(cssStyleColor.substring(3, 5)); + thisBlue = fromHex(cssStyleColor.substring(5, 7)); + } + return new ColorObj(thisRed, thisGreen, thisBlue); + }; + return ColorObj; +}()); +exports.ColorObj = ColorObj; + + +/***/ }), + +/***/ "./src/v4/util/CommonUtil.ts": +/*!***********************************!*\ + !*** ./src/v4/util/CommonUtil.ts ***! + \***********************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { + if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { + if (ar || !(i in from)) { + if (!ar) ar = Array.prototype.slice.call(from, 0, i); + ar[i] = from[i]; + } + } + return to.concat(ar || Array.prototype.slice.call(from)); +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CommonUtil = void 0; +var ARIADefinitions_1 = __webpack_require__(/*! ../../v2/aria/ARIADefinitions */ "./src/v2/aria/ARIADefinitions.ts"); +var CacheUtil_1 = __webpack_require__(/*! ./CacheUtil */ "./src/v4/util/CacheUtil.ts"); +var AriaUtil_1 = __webpack_require__(/*! ./AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var AccNameUtil_1 = __webpack_require__(/*! ./AccNameUtil */ "./src/v4/util/AccNameUtil.ts"); +var VisUtil_1 = __webpack_require__(/*! ./VisUtil */ "./src/v4/util/VisUtil.ts"); +var DOMUtil_1 = __webpack_require__(/*! ../../v2/dom/DOMUtil */ "./src/v2/dom/DOMUtil.ts"); +var DOMWalker_1 = __webpack_require__(/*! ../../v2/dom/DOMWalker */ "./src/v2/dom/DOMWalker.ts"); +var fragment_1 = __webpack_require__(/*! ../../v2/checker/accessibility/util/fragment */ "./src/v2/checker/accessibility/util/fragment.ts"); +var CommonUtil = /** @class */ (function () { + function CommonUtil() { + } + CommonUtil.wordCount = function (str) { + str = str.trim(); + if (str.length === 0) + return 0; + return str.split(/\s+/g).length; + }; + /** + * Note that this only detects if the element itself is in the tab order. + * However, this element may delegate focus to another element via aria-activedescendant. + * Also, focus varies by browser... sticking to things that are focusable on Chrome and Firefox. + */ + CommonUtil.isTabbable = function (element) { + // Using https://allyjs.io/data-tables/focusable.html + // Handle the explicit cases first + if (!VisUtil_1.VisUtil.isNodeVisible(element)) + return false; + if (element.hasAttribute("tabindex")) { + return parseInt(element.getAttribute("tabindex")) >= 0; + } + // Explicit cases handled - now the implicit + var nodeName = element.nodeName.toLowerCase(); + if (nodeName in CommonUtil.tabTagMap) { + var retVal = CommonUtil.tabTagMap[nodeName]; + if (typeof (retVal) === "function") { + retVal = retVal(element); + } + return retVal; + } + else { + if (element.hasAttribute("contenteditable")) + return true; + return false; + } + }; + /** + * Test if the ele node is focusable + */ + CommonUtil.isFocusable = function (ele) { + if (ele === "undefined" || ele === null) { + return false; + } + return CommonUtil.isTabbable(ele); + }; + /** + * Note that this only detects if the element itself is interactive, but not onclick event. + */ + CommonUtil.isClickable = function (element) { + if (!VisUtil_1.VisUtil.isNodeVisible(element)) + return false; + // native focusable element + var nodeName = element.nodeName.toLowerCase(); + if (nodeName in CommonUtil.tabTagMap) { + var retVal = CommonUtil.tabTagMap[nodeName]; + if (typeof (retVal) === "function") { + retVal = retVal(element); + } + return retVal; + } + else { + //custom widget + if (AriaUtil_1.AriaUtil.isWidget(element) && element.hasAttribute("tabindex")) { + return true; + } + } + return false; + }; + /* + * get conflict Aria and Html attributes + * return: a list of Aria and Html attribute pairs that are conflict + */ + CommonUtil.isTableDescendant = function (contextHierarchies) { + if (!contextHierarchies) + return null; + return contextHierarchies["aria"].filter(function (hier) { return ["table", "grid", "treegrid"].includes(hier.role); }); + }; + CommonUtil.tabIndexLEZero = function (elem) { + if (CommonUtil.hasAttribute(elem, "tabindex")) { + if (elem.getAttribute("tabindex").match(/^-?\d+$/)) { + var tabindexValue = parseInt(elem.getAttribute("tabindex")); + return tabindexValue === 0 || tabindexValue === -1; + } + } + return false; + }; + /** + * get number of tabbable children + * @param element + */ + CommonUtil.getTabbableChildren = function (element) { + var count = 0; + // If node has children, look for tab stops in the children + if (element.firstChild || element.nodeName.toUpperCase() === "IFRAME") { + var nw = new DOMWalker_1.DOMWalker(element); + while (nw.nextNode() && nw.node != element) { + if (nw.node.nodeType == 1 && !nw.bEndTag && CommonUtil.isTabbable(nw.node)) { + ++count; + } + } + } + return count; + }; + CommonUtil.normalizeSpacing = function (s) { + if (!s) + return ''; + return s.trim().replace(/\s+/g, ' '); + }; + ; + //TODO: function does not handle equivalents for roles: row, link, header, button + // But it may not have to. Bug reports have been about radio buttons and checkboxes. + CommonUtil.isHtmlEquiv = function (node, htmlEquiv) { + var retVal = false; + if (node) { + var nodeName = node.nodeName.toLowerCase(); + if (nodeName === "input") { + var type = node.getAttribute("type").toLowerCase(); + if (type) { + if (htmlEquiv.indexOf("checkbox") != -1) { + retVal = type === "checkbox"; + } + else if (htmlEquiv.indexOf("radio") != -1) { + retVal = type === "radio"; + } + } + } + } + return retVal; + }; + CommonUtil.nonExistantIDs = function (node, targetids) { + var returnnotfoundids = ''; + if (CommonUtil.normalizeSpacing(targetids).length < 1) + return returnnotfoundids; + var targetArray = targetids.split(" "); + var doc = node.ownerDocument; + for (var i = 0; i < targetArray.length; i++) { + var xp = "//*[@id='" + targetArray[i] + "']"; + var xpathResult = doc.evaluate(xp, node, doc.defaultNSResolver, 0 /* XPathResult.ANY_TYPE */, null); + var r = xpathResult.iterateNext(); + if (!r) + returnnotfoundids += targetArray[i] + ', '; + } + if (CommonUtil.normalizeSpacing(returnnotfoundids).length >= 2) + returnnotfoundids = returnnotfoundids.substring(0, returnnotfoundids.length - 2); + else + returnnotfoundids = ''; + return returnnotfoundids; + }; + CommonUtil.getDocElementsByTag = function (elem, tagName) { + var doc = fragment_1.FragmentUtil.getOwnerFragment(elem); + tagName = tagName.toLowerCase(); + var cache = CacheUtil_1.CacheUtil.getCache(doc, "RPT_DOCELEMSBYTAG", {}); + if (!(tagName in cache)) { + cache[tagName] = doc.querySelectorAll(tagName); + CacheUtil_1.CacheUtil.setCache(doc, "RPT_DOCELEMSBYTAG", cache); + } + return cache[tagName]; + }; + /** + * This function is responsible for get a list of all the child elemnts which match the tag + * name provided. + * + * Note: This is a wrapper function to: AriaUtil.getChildByTagHidden + * + * @parm {element} parentElem - The parent element + * @parm {string} tagName - The tag to search for under the parent element + * @parm {boolean} ignoreHidden - true if hidden elements with the tag should ignored from the list + * false if the hidden elements should be added + * + * @return {List} retVal - list of all the elements which matched the tag under the parent that were provided. + * + * @memberOf AriaUtil + */ + CommonUtil.getChildByTag = function (parentElem, tagName) { + return CommonUtil.getChildByTagHidden(parentElem, tagName, false, false); + }; + /** + * This function is responsible for get a list of all the child elemnts which match the tag + * name provided. + * + * @parm {element} parentElem - The parent element + * @parm {string} tagName - The tag to search for under the parent element + * @parm {boolean} ignoreHidden - true if hidden elements with the tag should ignored from the list + * false if the hidden elements should be added + * @parm {bool} considerHiddenSetting - true or false based on if hidden setting should be considered. + * + * @return {List} retVal - list of all the elements which matched the tag under the parent that were provided. + * + * @memberOf AriaUtil + */ + CommonUtil.getChildByTagHidden = function (parentElem, tagName, ignoreHidden, considerHiddenSetting) { + // Variable Decleration + var retVal = []; + var child = parentElem.firstChild; + // Loop over all the child elements of the parent to build a list of all the elements that + // match the tagName provided + while (child != null) { + // Only include the children into the return array if they match with tagname. + if (child.nodeName.toLowerCase() === tagName) { + // In the case that ignorehidden was set to true, then perform a isNodeVisible check + // and in the case the node is not visilble we more to theses then move to the next node. + // Perform a couple of checks to determine if hidden elements should be ignored or not. + // 1. When ignoreHidden is set to true upfront, then perform a isNodeVisible + // 2. If considerHiddenSetting option is set to true then we perform the check to consider the + // Check Hidden Content that is provided. + // 2.1. Only run isNodeVisible check if hidden content should NOT be checked. In the case that hidden content is to, + // be scanned then we can just scan everything as normal. In the case that the current node is hidden we do not + // add it to the roleToElems hash at all or even do any checking for it at all. + if ((ignoreHidden || (considerHiddenSetting && !CommonUtil.shouldCheckHiddenContent(child))) && !VisUtil_1.VisUtil.isNodeVisible(child)) { + // Move on to the next element + child = child.nextSibling; + continue; + } + // Push the element + retVal.push(child); + } + // Move to the next sibling element + child = child.nextSibling; + } + return retVal; + }; + /** + * This function is responsible for finding a list of elements that match given roles(s). + * This function by defauly will not consider Check Hidden Setting at all. + * This function by defauly will not consider implicit roles. + * Note: This is a wrapper function to: AriaUtil.getElementsByRoleHidden + * + * @parm {document} doc - The document node + * @parm {list or string} roles - List or single role for which to return elements based on. + * + * @return {List} retVal - list of all the elements which matched the role(s) that were provided. + * + * @memberOf AriaUtil + */ + CommonUtil.getElementsByRole = function (doc, roles) { + return CommonUtil.getElementsByRoleHidden(doc, roles, false, false); + }; + /** + * This function is responsible for finding a list of elements that match given roles(s). + * This function aslo finds elements with implicit roles. + * This function will also consider elements that are hidden based on the if the Check + * Hidden Content settings should be considered or not. + * + * @parm {document} doc - The document node + * @parm {list or string} roles - List or single role for which to return elements based on. + * @parm {bool} considerHiddenSetting - true or false based on if hidden setting should be considered. + * @parm {bool} considerImplicitRoles - true or false based on if implicit roles setting should be considered. + * + * @return {List} retVal - list of all the elements which matched the role(s) that were provided. + * + * @memberOf AriaUtil + */ + CommonUtil.getElementsByRoleHidden = function (doc, roles, considerHiddenSetting, considerImplicitRoles) { + // In the case that the role to element assoication is already made, and available in the global hasAttribute + // we can just use that one instead of building a new one. + var roleToElems = null; + if (considerImplicitRoles) { + roleToElems = CacheUtil_1.CacheUtil.getCache(doc, "AriaUtil_GETELEMENTSBY_ROLE_IMPLICIT", null); + } + else { + roleToElems = CacheUtil_1.CacheUtil.getCache(doc, "AriaUtil_GETELEMENTSBY_ROLE", null); + } + // Build the new role to element, this is where we loop through all the elements and extract all the + // elements bsaed on roles. + if (roleToElems === null) { + // Re-initialize the roleToElems hash + roleToElems = {}; + // Get the body of the doc + var root = doc.body; + // Keep looping until we are at the very parent node of the entire page, so that we can loop through + // all the nodes. + while (DOMWalker_1.DOMWalker.parentNode(root) !== null) { + // Get the parentNode + root = DOMWalker_1.DOMWalker.parentNode(root); + } + // Build a nodewalter based of the root node, this node walter will be use loop over all the nodes + // and build the roles to Element coralation + //let nw = new NodeWalker(root); + var nw = new DOMWalker_1.DOMWalker(root); + // Loop over the entire doc/list of nodes to build the role to element map + // Note: This will build an roleToElems hash which is in the following format. + // roleToElems = { + // document: [{div},{abbr},{var}], + // main: [{div}], + // navigation: [{div}] + // } + while (nw.nextNode()) { + if (!nw.elem()) + continue; + // Only check the elements which have the role attribute assiciated to them + if (!nw.bEndTag) { + var wRoles = []; + //check if the node has role attributes + if (nw.elem() && nw.elem().hasAttribute("role")) { + // Extract all the roles that are assigned to this element, can have multiple roles on one + // element split by space, so we need to extract all of them into an array. + wRoles = nw.elem().getAttribute("role").split(" "); + } + if (nw.elem() && wRoles.length === 0 && considerImplicitRoles) { + //check if there are any implicit roles for this element. + var implicitRole = AriaUtil_1.AriaUtil.getImplicitRole(nw.node); + if (implicitRole !== null && implicitRole.length > 0) + wRoles = implicitRole; + } + if (wRoles.length === 0) { + continue; + } + // Following are the steps that are executed at this stage to determine if the node should be classified as hidden + // or not. + // 1. If considerHiddenSetting option is set to true then we perform the check to consider the + // Check Hidden Content that is provided. + // 2. Only run isNodeVisible check if hidden content should NOT be checked. In the case that hidden content is to, + // be scanned then we can just scan everything as normal. In the case that the current node is hidden we do not + // add it to the roleToElems hash at all or even do any checking for it at all. + // + // Note: The if conditions uses short-circuiting so if the first condition is not true it will not check the next one, + // so on and so forth. + if (considerHiddenSetting && CommonUtil.shouldNodeBeSkippedHidden(nw.node)) { + continue; + } + // Loop through all the roles and assigned this node to all thes roles + for (var i = 0; i < wRoles.length; ++i) { + // In the case that the role key is not already in the roleToElems hash, construct the + // add the key and assign empty array. + if (!(wRoles[i] in roleToElems)) { + roleToElems[wRoles[i]] = []; + } + // Add the node to the array for the role + roleToElems[wRoles[i]].push(nw.node); + } + } + } + // Set the roleToElems hash map as a global variable + if (considerImplicitRoles) { + CacheUtil_1.CacheUtil.setCache(doc, "AriaUtil_GETELEMENTSBY_ROLE_IMPLICIT", roleToElems); + } + else { + CacheUtil_1.CacheUtil.setCache(doc, "AriaUtil_GETELEMENTSBY_ROLE", roleToElems); + } + } + // Initilize the return value + var retVal = []; + // Handle the cases where the provided role is a string and not an array, + // for this case we take the string and put it into an array + if (typeof (roles) === "string") { + var role = roles; + roles = []; + roles.push(role); + } + // Loop through the roles that were provided and find the list of elements for this roles + // and add them to the return value. + if (roles.length) { + // loop over all the roles + for (var i = 0; i < roles.length; ++i) { + // Extract the role from the array + var nextRole = roles[i]; + // Fetch the list of all the elements for this role + var copyRoles = roleToElems[nextRole]; + // If there are elements to copy to another array, then perform the copy + if (copyRoles) { + // Loop over all the elements which are to be copied + for (var j = 0; j < copyRoles.length; ++j) { + // Add this element to the return val + retVal.push(copyRoles[j]); + } + } + } + } + return retVal; + }; + /** + * a target is en element that accept a pointer action (click or touch) + * + */ + CommonUtil.isTarget = function (element) { + if (!element || element.nodeType !== 1 + || ["html", "body"].includes(element.nodeName.toLowerCase()) + || CommonUtil.getAncestor(element, ["svg", "pre", "code", "script", "meta", 'head']) !== null + || !VisUtil_1.VisUtil.isNodeVisible(element) || VisUtil_1.VisUtil.isNodeVisuallyHidden(element) + || CommonUtil.isNodeDisabled(element) || VisUtil_1.VisUtil.isElementOffscreen(element)) + return false; + if (CommonUtil.isClickable(element)) + return true; + var role = AriaUtil_1.AriaUtil.getResolvedRole(element); + if (!role) + return false; + var target_roles = ["listitem", "menuitem", "menuitemcheckbox", "menuitemradio", "option", "radio", "switch", "treeitem"]; + if (target_roles.includes(role)) { + // find the proper parent elements + var parent_1 = element.parentElement; + if (parent_1) { + var parent_role = AriaUtil_1.AriaUtil.getResolvedRole(parent_1); + // datalist, fieldset, optgroup, etc. may be just used for grouping purpose, so go up to the parent + if (parent_role === 'group') + parent_1 = parent_1.parentElement; + } + if (parent_1 && CommonUtil.isTarget(parent_1)) + return true; + } + return false; + }; + CommonUtil.getFileExt = function (url) { + var m = url.match(/\.(([^;?#\.]|^$)+)([;?#]|$)/); + if (m != null && m.length >= 2) { + return "." + m[1]; + } + return ""; + }; + CommonUtil.getFileAnchor = function (url) { + var m = url.match(/#(([^;?\.]|^$)+)([;?]|$)/); + if (m != null && m.length >= 2) { + return m[1]; + } + return ""; + }; + CommonUtil.checkObjEmbed = function (node, extTest, mimeTest) { + var nodeName = node.nodeName.toLowerCase(); + if (nodeName != "object" && nodeName != "embed" && + nodeName != "a" && nodeName != "area") + return false; + var retVal = false; + // Check mime type + if (!retVal && node.hasAttribute("type")) { + var mime = node.getAttribute("type").toLowerCase(); + retVal = mimeTest(mime); + } + if (!retVal && node.hasAttribute("codetype")) { + var mime = node.getAttribute("codetype"); + retVal = mimeTest(mime); + } + // Check the filename + if (!retVal) { + var filename = ""; + if (nodeName === "embed") { + filename = node.getAttribute("src"); + } + else if (nodeName === "a" || nodeName === "area") { + filename = node.getAttribute("href"); + } + else if (node.hasAttribute("data")) { + filename = node.getAttribute("data"); + } + if (filename === null) + filename = ""; + var ext = CommonUtil.getFileExt(filename); + retVal = extTest(ext); + } + // Check for filenames in the params + if (!retVal && nodeName === "object") { + // In the case that Check Hidden Option is set then comply with that setting + var params = CommonUtil.getChildByTagHidden(node, "param", false, true); + for (var i = 0; !retVal && params != null && i < params.length; ++i) { + retVal = params[i].hasAttribute("value") && + extTest(CommonUtil.getFileExt(params[i].getAttribute("value"))); + } + } + return retVal; + }; + CommonUtil.isAudioObjEmbedLink = function (node) { + return CommonUtil.checkObjEmbed(node, CommonUtil.isAudioExt, function (mime) { + return mime.startsWith("audio"); + }); + }; + CommonUtil.isAudioExt = function (ext) { + var audio_extensions = [".aif", ".aifc", ".aiff", ".air", ".asf", ".au", ".cda", + ".dsm", ".dss", ".dwd", ".iff", ".kar", ".m1a", ".med", + ".mp2", ".mp3", ".mpa", ".pcm", ".ra", ".ram", ".rm", + ".sam", ".sf", ".sf2", ".smp", ".snd", ".svx", ".ul", + ".voc", ".wav", ".wma", ".wve" + ]; + return CommonUtil.valInArray(ext.toLowerCase(), audio_extensions); + }; + CommonUtil.isVideoObjEmbedLink = function (node) { + return CommonUtil.checkObjEmbed(node, CommonUtil.isVideoExt, function (mime) { + return mime.startsWith("video") || + mime.startsWith("application/x-shockwave-flash"); + }); + }; + CommonUtil.isVideoExt = function (ext) { + var video_extensions = [".asf", ".avi", ".divx", ".dv", ".m1v", ".m2p", ".m2v", ".moov", + ".mov", ".mp4", ".mpeg", ".mpg", ".mpv", ".ogm", ".omf", ".qt", + ".rm", ".rv", ".smi", ".smil", ".swf", ".vob", ".wmv", ".rmvb", + ".mvb" + ]; + return CommonUtil.valInArray(ext.toLowerCase(), video_extensions); + }; + CommonUtil.isImageObjEmbedLink = function (node) { + return CommonUtil.checkObjEmbed(node, CommonUtil.isImgExt, function (mime) { + return mime.startsWith("image"); + }); + }; + CommonUtil.isImgExt = function (ext) { + return CommonUtil.valInArray(ext.toLowerCase(), CommonUtil.image_extensions); + }; + CommonUtil.isHtmlExt = function (ext) { + var html_extensions = [".asp", ".aspx", ".cfm", ".cfml", ".cgi", ".htm", ".html", ".shtm", + ".shtml", ".php", ".pl", ".py", ".shtm", ".shtml", ".xhtml" + ]; + return CommonUtil.valInArray(ext.toLowerCase(), html_extensions); + }; + CommonUtil.hasTriggered = function (doc, id) { + return CacheUtil_1.CacheUtil.getCache(doc, id, false); + }; + CommonUtil.triggerOnce = function (doc, id, passed) { + if (passed) + return true; + var triggered = CacheUtil_1.CacheUtil.getCache(doc, id, false); + CacheUtil_1.CacheUtil.setCache(doc, id, true); + return triggered; + }; + /* determine if the given value exists in the given array */ + CommonUtil.valInArray = function (value, arr) { + for (var idx in arr) { + if (arr[idx] === value) + return true; + } + return false; + }; + /** + * return the ancestor of the given element + * @param tagNames string, array, or dictionary containing the tags to search for + */ + CommonUtil.getAncestor = function (element, tagNames) { + var walkNode = element; + while (walkNode !== null) { + var thisTag = walkNode.nodeName.toLowerCase(); + if (typeof (tagNames) === "string") { + if (thisTag === tagNames.toLowerCase()) { + break; + } + } + else if (tagNames.length) { + for (var idx in tagNames) { + if (tagNames[idx] === thisTag) + return walkNode; + } + } + else if (thisTag in tagNames) { + break; + } + walkNode = DOMWalker_1.DOMWalker.parentNode(walkNode); + } + return walkNode; + }; + // return true if element1 and element2 are siblings + CommonUtil.isSibling = function (element1, element2) { + if (element1 && element2) { + var node = null; + if (DOMWalker_1.DOMWalker.parentNode(element1) && DOMWalker_1.DOMWalker.parentNode(element1).firstChild) { + node = DOMWalker_1.DOMWalker.parentNode(element1).firstChild; + } + while (node) { + if (node === element2) + return true; + node = node.nextSibling; + } + } + return false; + }; + CommonUtil.isDescendant = function (parent, child) { + var node = DOMWalker_1.DOMWalker.parentNode(child); + while (node != null) { + if (node === parent) { + return true; + } + node = DOMWalker_1.DOMWalker.parentNode(node); + } + return false; + }; + //check if the first form control child is disabled + CommonUtil.isDisabledByFirstChildFormElement = function (element) { + var formElements = ["input", "textarea", "select", "keygen", "progress", "meter", "output"]; + if (element.firstChild != null) { + //let nw = new NodeWalker(element); + var nw = new DOMWalker_1.DOMWalker(element); + while (nw.nextNode()) { + if (formElements.includes(nw.node.nodeName.toLowerCase())) { + if (CommonUtil.isNodeDisabled(nw.node)) + return true; + return false; + } + } + } + return false; + }; + CommonUtil.isDisabledByReferringElement = function (element) { + var id = element.getAttribute("id"); + var doc = element.ownerDocument; + var root = doc.body; + while (DOMWalker_1.DOMWalker.parentNode(root) !== null) { + // Get the parentNode + root = DOMWalker_1.DOMWalker.parentNode(root); + } + //let nw = new NodeWalker(root); + var nw = new DOMWalker_1.DOMWalker(root); + while (nw.nextNode()) { + // check the element whose 'aria-describedby' equals to the id + if (nw.node && nw.node.nodeType === 1 && nw.elem()) { + var AriaDescribedbyIDArray = (nw.elem().getAttribute("aria-describedby") || "").split(" "); + if (AriaDescribedbyIDArray.includes(id) && CommonUtil.isNodeDisabled(nw.node)) { + return true; + } + } + } + }; + /** get element containing label for the given element + * @deprecated Deprecated because the function name is misleading. Use getLabelForElement(element) instead + */ + CommonUtil.getInputLabel = function (element) { + return CommonUtil.getLabelForElement(element); + }; + /** + * This function is responsible for getting the element containing the label for the given element. + * + * Note: This is a wrapper function to: AriaUtil.getLabelForElementHidden + * + * @parm {element} element - The element for which to get the label element for. + * + * @return {element} element - return the element for the label, otherwise null + * + * @memberOf AriaUtil + */ + CommonUtil.getLabelForElement = function (element) { + return CommonUtil.getLabelForElementHidden(element, false); + }; + /** + * This function is responsible for getting the element containing the label for the given element. + * + * This function will return null if the containing lable element is hidden, when the ignoreHidden option + * is set to true. + * + * @parm {element} element - The element for which to get the label element for. + * @parm {boolean} ignoreHidden - true if hidden elements with label should be ignored from the list + * false if the hidden elements should be added + * + * @return {element} element - return the element for the label, otherwise null + * + * @memberOf AriaUtil + */ + CommonUtil.getLabelForElementHidden = function (element, ignoreHidden) { + // Check if the global AriaUtil_LABELS hash is available, as this will contain the label nodes based on + // for attribute. + //if (!getCache(element.ownerDocument,"AriaUtil_LABELS", null)) { + var root = element.getRootNode(); + if (!CacheUtil_1.CacheUtil.getCache((root.nodeType === 11) ? root : root, "AriaUtil_LABELS", null)) { + // Variable Decleration + var idToLabel = {}; + // Get all the label elements in the entire doc + var labelNodes = CommonUtil.getDocElementsByTag(element, "label"); + // Loop over all the label nodes, in the case the label node has a for attribute, + // extract that attribute and add this node to the hash if it is visible. + for (var i = 0; i < labelNodes.length; ++i) { + if (labelNodes[i].hasAttribute("for")) { + // If ignore hidden is specified and the node is not visible we do not add it to the + // labelNodes hash. + if (ignoreHidden && !VisUtil_1.VisUtil.isNodeVisible(labelNodes[i])) { + continue; + } + idToLabel[labelNodes[i].getAttribute("for")] = labelNodes[i]; + } + } + // Add the built hash to the ownerDocument (document), to be used later to fast retrival + //setCache(element.ownerDocument, "AriaUtil_LABELS", idToLabel); + CacheUtil_1.CacheUtil.setCache((root.nodeType === 11) ? root : root, "AriaUtil_LABELS", idToLabel); + } + // If this element has an id attribute, get the corosponding label element + if (element.hasAttribute("id")) { + // Fetch the id attribute + var ctrlId = element.getAttribute("id"); + // Return the corosponding label element. + // Note: in the case that the the id is not found in the hash that means, it does not exists or is hidden + if (ctrlId.trim().length > 0) { + //return getCache(element.getRootNode().ownerDocument,"AriaUtil_LABELS",{})[ctrlId]; + return CacheUtil_1.CacheUtil.getCache((root.nodeType === 11) ? root : root, "AriaUtil_LABELS", {})[ctrlId]; + } + } + return null; + }; + /* Return specified element attribute if present else return null */ + CommonUtil.getElementAttribute = function (element, attr) { + //return (element && element.hasAttribute && element.hasAttribute(attr)) ? element.getAttribute(attr) : null; + if (!attr || !element || !element.hasAttribute || !element.hasAttribute(attr)) + return null; + var atrValue = element.getAttribute(attr); + if (!ARIADefinitions_1.ARIADefinitions.referenceProperties.includes(attr)) + return atrValue; + //attr is a reference to other elements(s) + var values = atrValue.split(/ +/g); + //ignore if none of the referred element(s) exist or all point to the element itself + var exist = false; + for (var id = 0; values < values.length; ++id) { + var referred = document.getElementById(values[id]); + if (referred && !DOMUtil_1.DOMUtil.sameNode(referred, element)) { + exist = true; + break; + } + } + return exist ? atrValue : null; + }; + // Return true if element has valid implicit label + CommonUtil.hasImplicitLabel = function (element) { + var parentNode = CommonUtil.getAncestor(element, "label"); + // Test a) if the parent is a label which is the implicit label + // b) if the form element is the first child of the label + // c) if the form element requires an implicit or explicit label : "input", "textarea", "select", "keygen", "progress", "meter", "output" + // d) form elements which may have a label: button + // form elements that do not require implicit or explicit label element are: + // "optgroup", "option", "datalist"(added later). These were handled differently in the main rule, might need to refactor the code later + if (parentNode && parentNode.tagName.toLowerCase() === "label" && CommonUtil.isFirstFormElement(parentNode, element)) { + var parentClone = parentNode.cloneNode(true); + // exclude all form elements from the label since they might also have inner content + parentClone = CommonUtil.removeAllFormElementsFromLabel(parentClone); + return CommonUtil.hasInnerContentHidden(parentClone); + } + else { + return false; + } + }; + // Return the implicit label of the given form field + CommonUtil.getImplicitLabel = function (element) { + var parentNode = CommonUtil.getAncestor(element, "label"); + // Test a) if the parent is a label which is the implicit label + // b) if the form element is the first child of the label + // c) if the form element requires an implicit or explicit label : "input", "textarea", "select", "keygen", "progress", "meter", "output" + // d) form elements which may have a label: button + // form elements that do not require implicit or explicit label element are: + // "optgroup", "option", "datalist"(added later). These were handled differently in the main rule, might need to refactor the code later + if (parentNode && parentNode.tagName.toLowerCase() === "label" && CommonUtil.isFirstFormElement(parentNode, element)) { + var parentClone = parentNode.cloneNode(true); + // exclude all form elements from the label since they might also have inner content + parentClone = CommonUtil.removeAllFormElementsFromLabel(parentClone); + var label = CommonUtil.getInnerText(parentClone); + return label && label.trim() !== '' ? label.trim() : null; + } + else + return null; + }; + /** + * This function is responsible for getting the label for a form field element. + * + * + * @parm {element} element - The element from which to get the label. + * + * @return {string} text - return the label text or null + * + * @memberOf AriaUtil + */ + CommonUtil.getFormFieldLabel = function (elem) { + // get the label from the attribute "for" of the label element + // Get only the non-hidden labels for element + var value = ""; + var label = null; + var labelElem = CommonUtil.getLabelForElementHidden(elem, true); + if (labelElem) { + // value directly from element text + label = labelElem.innerText; // ignore hidden text + } + else { + /** if it's not label with for attribute, then find implicit label + * cases for explict label: + * <label for='my'></label><input id='my'/> + * <label for='my'><input id='my'/></label> + * cases for implicit label: + * <label><input /></label> + */ + labelElem = CommonUtil.getAncestor(elem, "label"); + if (labelElem && labelElem.tagName.toLowerCase() === "label" && CommonUtil.isFirstFormElement(labelElem, elem)) { + var parentClone = labelElem.cloneNode(true); + // exclude all the text from the first form element since they might also + // have inner content that is part of innerText + parentClone = CommonUtil.removeAllFormElementsFromLabel(parentClone); + label = CommonUtil.getInnerText(parentClone); + } + else + return null; + } + if (label && label.trim() !== "") + value += label.trim(); + // value from child element attribute + label = CommonUtil.getLabelTextFromAttribute(labelElem, true); + if (label && label.trim() !== "") + value += label.trim(); + // wired case: get aria label from label element itself just in case (though name prohibited from aria in html) + label = AriaUtil_1.AriaUtil.getAriaLabel(labelElem); + if (label && label.trim() !== "") + value += label.trim(); + return value.trim(); + }; + /** + * calculate label from embedded control: https://w3c.github.io/accname/ + * @param {element} labelElem label element + * @param {boolean} ignoreHidden - true if hidden elements with label should be ignored from the list + * false if the hidden elements should be added + * @returns label text or '' + * + * note the assumption is the labelElem refers either to a labelled element by 'for' attribute + * or its first form field is labbelled element + */ + CommonUtil.getLabelTextFromAttribute = function (labelElem, ignoreHidden) { + // label either points to a labelable element by its for attribute or the first element child + // get the labelled elment if it's an implicit label + var labeledElem = null; + for (var i = 0; i < labelElem.children.length; i++) { + var child = labelElem.children.item(i); + if (CommonUtil.form_labelable_elements.includes(child.nodeName.toLowerCase())) { + labeledElem = child; + break; + } + } + var nw = new DOMWalker_1.DOMWalker(labelElem); + var text = ''; + while (nw.nextNode() && nw.node !== labelElem) { + // only check element children + if (nw.node && nw.node.nodeType === 1 && nw.elem()) { + var elem = nw.elem(); + // ignore if it's hidden, or labelled element, or first form element if not labeled by for attribute + if ((ignoreHidden && (VisUtil_1.VisUtil.isNodeHiddenFromAT(elem) || VisUtil_1.VisUtil.isNodePresentational(elem))) + || (labeledElem && labeledElem.contains(elem))) + continue; + var role = AriaUtil_1.AriaUtil.getResolvedRole(elem); + // textbox etc. return its text value + if (role === "textbox") { + var name_1 = elem.getAttribute("value"); + if (name_1 && name_1.trim().length > 0) + text += ' ' + name_1.trim(); + } + else if (role === "combobox" || role === "listbox") { + // for combobox or listbox roles, return the text alternative of the chosen option. + var selectedId = elem.getAttribute("aria-activedescendant") || elem.getAttribute("aria-selected") || elem.getAttribute("aria-checked"); + if (selectedId) { + var selectedOption = elem.ownerDocument.getElementById(selectedId); + if (selectedOption && !DOMUtil_1.DOMUtil.sameNode(elem, selectedOption)) { + var pair = AccNameUtil_1.AccNameUtil.computeAccessibleName(selectedOption); + if (pair && pair.name) + text += ' ' + pair.name.trim(); + } + } + } + else if (["progressbar", "scrollbar", "slider", "spinbutton", "meter"].includes(role)) { + // for range role type, including "progressbar", "scrollbar", "slider", "spinbutton" roles + // If the aria-valuetext property is present, return its value + var value_1 = elem.getAttribute("aria-valuetext"); + if (value_1 && value_1.trim().length > 0) + text += ' ' + value_1.trim(); + // Otherwise, if the aria-valuenow property is present, return its value, + value_1 = elem.getAttribute("aria-valuenow"); + if (value_1 && value_1.trim().length > 0) + text += ' ' + value_1.trim(); + // finally use native value attribute + value_1 = elem.getAttribute("value"); + if (value_1 && value_1.trim().length > 0) + text += ' ' + value_1.trim(); + } + // get aria label from the element + var value = AriaUtil_1.AriaUtil.getAriaLabel(elem); + if (value && value.trim() !== "") + text += ' ' + value.trim(); + } + } + return text.trim(); + }; + CommonUtil.isFirstFormElement = function (parentNode, element) { + //let formElementsRequiringLabel = ["input", "textarea", "select", "keygen", "progress", "meter", "output"]; + if (parentNode.firstChild != null) { + //let nw = new NodeWalker(parentNode); + var nw = new DOMWalker_1.DOMWalker(parentNode); + while (nw.nextNode()) { + if (CommonUtil.form_labelable_elements.indexOf(nw.node.nodeName.toLowerCase()) !== -1) { + return nw.node === element; + } + } + } + return false; + }; + // check if the element is a shadow host or descendant of a shadow host, but not a descedant of the shadow root of the host (to be assigned to shadow slot or ignored) + CommonUtil.isShadowHostElement = function (element) { + if (CommonUtil.isShadowElement(element)) + return false; + var walkNode = element; + while (walkNode) { + if (walkNode.shadowRoot) + return true; + walkNode = DOMWalker_1.DOMWalker.parentElement(walkNode); + } + return false; + }; + //check if an element is in a shadow tree + CommonUtil.isShadowElement = function (element) { + var root = element.getRootNode(); + if (root.toString() === "[object ShadowRoot]") + return true; + return false; + }; + CommonUtil.removeAllFormElementsFromLabel = function (element) { + var formElements = ["input", "textarea", "select", "button", "datalist", "optgroup", "option", "keygen", "output", "progress", "meter"]; + var childNodes = element.childNodes; + for (var i = 0; i < childNodes.length; i++) { + if (formElements.indexOf(childNodes[i].nodeName.toLowerCase()) > -1) { + element.removeChild(childNodes[i]); + } + } + return element; + }; + /** + * @param element + * @param idStr + * @returns true if any one (if multiple Ids) id points to itself + */ + CommonUtil.isIdReferToSelf = function (element, idStr) { + if (!idStr || idStr.trim() === '') + return false; + var ids = idStr.trim().split(" "); + for (var j = 0, length_1 = ids.length; j < length_1; ++j) { + var referredNode = fragment_1.FragmentUtil.getById(element, ids[j]); + if (referredNode && DOMUtil_1.DOMUtil.sameNode(referredNode, element)) + return true; + } + return false; + }; + /* Determine the node depth of the given element */ + CommonUtil.nodeDepth = function (element) { + var depth = 0; + var walkNode = element; + while (walkNode !== null) { + walkNode = DOMWalker_1.DOMWalker.parentNode(walkNode); + depth = depth + 1; + } + return depth; + }; + /* compare node order of the 2 given nodes */ + /* returns + * 0 if the nodes are equal + * 1 if node b is before node a + * -1 if node a is before node b + * 2 if node a is nested in node b + * -2 if node b is nested in node a + * null if either node is null or their parent nodes are not equal + */ + CommonUtil.compareNodeOrder = function (nodeA, nodeB) { + if (nodeA === nodeB) + return 0; + var aDepth = CommonUtil.nodeDepth(nodeA); + var bDepth = CommonUtil.nodeDepth(nodeB); + if (bDepth > aDepth) { + for (var i = 0; i < bDepth - aDepth; ++i) + nodeB = DOMWalker_1.DOMWalker.parentNode(nodeB); + if (nodeA === nodeB) // Node B nested in Node A + return -2; + } + else if (aDepth > bDepth) { + for (var i = 0; i < aDepth - bDepth; ++i) + nodeA = DOMWalker_1.DOMWalker.parentNode(nodeA); + if (nodeA === nodeB) // Node A nested in Node B + return 2; + } + while (nodeA != null && nodeB != null && DOMWalker_1.DOMWalker.parentNode(nodeA) != DOMWalker_1.DOMWalker.parentNode(nodeB)) { + nodeA = DOMWalker_1.DOMWalker.parentNode(nodeA); + nodeB = DOMWalker_1.DOMWalker.parentNode(nodeB); + } + if (nodeA === null || nodeB === null || DOMWalker_1.DOMWalker.parentNode(nodeA) != DOMWalker_1.DOMWalker.parentNode(nodeB)) + return null; + while (nodeB != null && nodeB != nodeA) + nodeB = nodeB.previousSibling; + if (nodeB === null) // nodeB before nodeA + return 1; + else + return -1; + }; + /** + * Determine if the given attribute of the given element is not empty + * @memberOf AriaUtil + */ + CommonUtil.attributeNonEmpty = function (element, attrStr) { + return element.hasAttribute(attrStr) && element.getAttribute(attrStr).trim().length > 0; + }; + /* Return a pointer to the given frame, null if not found */ + CommonUtil.getFrameByName = function (ruleContext, frameName) { + var window = ruleContext.ownerDocument.defaultView; + var frameList = [window]; + var idx = 0; + while (idx < frameList.length) { + try { + if (frameList[idx].name === frameName) + return frameList[idx]; + for (var i = 0; i < frameList[idx].frames.length; ++i) { + try { + // Ensure it's a real frame and avoid recursion + if (frameList[idx].frames[i] && !frameList.includes(frameList[idx].frames[i])) { + frameList.push(frameList[idx].frames[i]); + } + } + catch (e) { } + } + } + catch (e) { } + ++idx; + } + return null; + }; + CommonUtil.defaultNSResolver = function (prefix) { + var uri; + switch (prefix) { + case 'html': + uri = 'http://www.w3.org/1999/xhtml'; + case 'x2': + uri = 'http://www.w3.org/TR/xhtml2'; + case 'x': + uri = 'http://www.w3.org/1999/xhtml'; + case 'xhtml': + uri = 'http://www.w3.org/1999/xhtml'; + default: + uri = null; + } + return uri; + }; + //checking if only the inner text is empty or not + CommonUtil.isInnerTextOnlyEmpty = function (element) { + // Get the innerText of the element + var text = element.innerText; + if ((text === undefined || text === null || text.trim().length === 0) && element.nodeName.toLowerCase() !== 'slot' && element.textContent !== undefined) { + //ignore slot because its text will be filled by the corresponding content in the light DOM + // innerText is sometimes 'undefined' in headless mode, or null if the element is invisible or not erxpanded + // so we try textContent as a workaround + text = element.textContent; + } + var retVal = !(text !== null && text.trim().length > 0); + if (element.nodeType === 1 && element.nodeName.toLowerCase() === "slot") { + //TODO: need to conside its own content, a slot may have its own content or assigned content + for (var _i = 0, _a = element.assignedNodes(); _i < _a.length; _i++) { + var slotElem = _a[_i]; + retVal = retVal && CommonUtil.isInnerTextEmpty(slotElem); + } + } + // Trim the inner text and verify that it is not empty. + return retVal; + }; + /* Return the inner text of the given element */ + CommonUtil.getInnerText = function (element) { + var retVal = element.innerText; + if (retVal === undefined || retVal === null || retVal.trim() === "") + retVal = element.textContent; + return retVal; + }; + /** + * return onscreen innerText. + * This function should return the same result as innerText if no offscreen content exists + * + * @parm {element} node The node which should be checked it has inner text or not. + * @return {null | string} null if element has empty inner text, text otherwise + * + * @memberOf AriaUtil + */ + CommonUtil.getOnScreenInnerText = function (element) { + if (!element) + return null; + if (element.nodeType === 3) + return element.nodeValue(); + var text = ""; + //let nw = new NodeWalker(element); + var nw = new DOMWalker_1.DOMWalker(element); + // Loop over all the childrens of the element to get the text + while (nw.nextNode() && nw.node !== element && nw.node !== element.parentNode) { + if (nw.bEndTag) + continue; + if ((nw.node.nodeType === 1 && (VisUtil_1.VisUtil.hiddenByDefaultElements.includes(nw.node.nodeName.toLowerCase())) || !VisUtil_1.VisUtil.isNodeVisible(nw.node) || VisUtil_1.VisUtil.isElementOffscreen(nw.node))) { + if (nw.node.nextSibling) { + if (nw.node.nextSibling.nodeType === 3 && nw.node.nextSibling.nodeValue !== null) + text += nw.node.nextSibling.nodeValue; + nw.node = nw.node.nextSibling; + continue; + } + else + break; + } + if (nw.node.nodeType === 3 && nw.node.nodeValue !== null) { + text += nw.node.nodeValue.trim(); + } + } + return text.trim(); + }; + /** Return the text content of the given node + * this is different than innerText or textContent that return text content of a node and its descendants + */ + CommonUtil.getNodeText = function (element) { + if (!element) + return ""; + var text = ""; + var childNodes = element.childNodes; + for (var i = 0; i < childNodes.length; ++i) { + if (childNodes[i].nodeType == 3) { + text += childNodes[i].nodeValue; + } + } + return text; + }; + /** + * This function is responsible for checking if elements inner text is empty or not. + * + * @parm {element} node The node which should be checked it has inner text or not. + * @return {bool} true if element has empty inner text, false otherwise + * + * @memberOf AriaUtil + */ + CommonUtil.isInnerTextEmpty = function (element) { + // Get the innerText of the element + var text = CommonUtil.getInnerText(element); + // Trim the inner text and verify that it is not empty. + return !(text != null && text.trim().length > 0); + }; + CommonUtil.hasInnerContent = function (element) { + var text = CommonUtil.getInnerText(element); + var hasContent = (text !== null && text.trim().length > 0); + if (element.firstChild !== null) { + //let nw = new NodeWalker(element); + var nw = new DOMWalker_1.DOMWalker(element); + while (!hasContent && nw.nextNode()) { + hasContent = (nw.node.nodeName.toLowerCase() === "img" && + CommonUtil.attributeNonEmpty(nw.node, "alt")); + } + } + return hasContent; + }; + /** + * This function is responsible for determine if an element has inner content. + * This function also considers cases where inner text is hidden, which now will + * be classified as does not have hidden content. + * + * @parm {element} node The node which should be checked it has inner text or not. + * @return {bool} true if element has empty inner text, false otherwise + * + * @memberOf AriaUtil + */ + CommonUtil.hasInnerContentHidden = function (element) { + return CommonUtil.hasInnerContentHiddenHyperLink(element, false); + }; + CommonUtil.svgHasName = function (element) { + return CommonUtil.attributeNonEmpty(element, "aria-label") + || CommonUtil.attributeNonEmpty(element, "aria-labelledby") + || !!element.querySelector(":scope > title"); + }; + CommonUtil.hasInnerContentHiddenHyperLink = function (element, hyperlink_flag) { + if (!element) + return false; + // Variable Decleration + var childElement = element.firstElementChild; + var hasContent = false; + // In the case that the childElement is not null then we need to check each of the elements + // to make sure that the elements are not all hidden. + if (childElement != null) { + // Get the nodewalter of the element node, so that we can loop over it and verify + // that the elements under the element are not completly hidden. + //let nw = new NodeWalker(element); + var nw = new DOMWalker_1.DOMWalker(element); + // Loop over all the nodes until there are no more nodes or we have determine that there is content under + // this parent element. + while (!hasContent && nw.nextNode() && nw.node != element) { + // Get the next node + var node = nw.node; + // In the case an img element is present with alt then we can mark this as pass + // otherwise keep checking all the other elements. Make sure that this image element is not hidden. + hasContent = (node.nodeName.toLowerCase() === "img" + && (CommonUtil.attributeNonEmpty(node, "alt") || CommonUtil.attributeNonEmpty(node, "title")) + && !VisUtil_1.VisUtil.isNodeHiddenFromAT(node) && !VisUtil_1.VisUtil.isNodePresentational(node)) || (node.nodeName.toLowerCase() === "svg" + && CommonUtil.svgHasName(node)); + // Now we check if this node is of type element, visible + if (!hasContent && node.nodeType === 1 && !VisUtil_1.VisUtil.isNodeHiddenFromAT(node) && !VisUtil_1.VisUtil.isNodePresentational(node)) { + // Check if the innerText of the element is empty or not + hasContent = !CommonUtil.isInnerTextOnlyEmpty(node); + if (!hasContent && hyperlink_flag === true) { + hasContent = CommonUtil.attributeNonEmpty(node, "aria-label") || CommonUtil.attributeNonEmpty(node, "aria-labelledby"); + var doc = node.ownerDocument; + if (doc) { + var win = doc.defaultView; + if (win) { + var cStyle = win.getComputedStyle(node); + if (!hasContent && cStyle != null) { + // console.log(cStyle.backgroundImage); + // console.log(cStyle.content) + hasContent = ((cStyle.backgroundImage && cStyle.backgroundImage.indexOf) || cStyle.content) && CommonUtil.attributeNonEmpty(node, "alt"); + } + } + } + } + } + // Check for cases where there is text node after an element under the parent + // In the case we detect nodetype as text node and the patent of the text node is + // the same element we are checking has Inner content for then get the inner content of this + // text node. + if (node.nodeType === 3 && DOMWalker_1.DOMWalker.parentElement(node) === element) { + // Check if the innerText of the element is empty or not + hasContent = !CommonUtil.isInnerTextEmpty(node); + } + } + } + // In the case there are no child elements then we can simply perform the check for only innertext + // the img with alt case will be covered in the above if, as img is considers as an element. + else { + // Check if the innerText of the element is empty or not + hasContent = !CommonUtil.isInnerTextEmpty(element); + } + return hasContent; + }; + CommonUtil.hasInnerContentOrAlt = function (element) { + var text = CommonUtil.getInnerText(element); + var hasContent = (text != null && text.trim().length > 0) || CommonUtil.attributeNonEmpty(element, "alt"); + if (element.firstChild != null) { + //let nw = new NodeWalker(element); + var nw = new DOMWalker_1.DOMWalker(element); + while (!hasContent && nw.nextNode() && nw.node != element) { + hasContent = (nw.node.nodeName.toLowerCase() === "img" && + CommonUtil.attributeNonEmpty(nw.node, "alt")); + if (!hasContent + && (AriaUtil_1.AriaUtil.hasRole(nw.node, "button", true) || AriaUtil_1.AriaUtil.hasRole(nw.node, "textbox")) + && (AriaUtil_1.AriaUtil.hasAriaLabel(nw.node) || CommonUtil.attributeNonEmpty(nw.node, "title") || CommonUtil.getLabelForElementHidden(nw.elem(), true))) { + hasContent = true; + } + } + } + return hasContent; + }; + CommonUtil.concatUniqueArrayItem = function (item, arr) { + arr.indexOf(item) === -1 && item !== null ? arr.push(item) : false; + return arr; + }; + CommonUtil.concatUniqueArrayItemList = function (itemList, arr) { + for (var i = 0; itemList !== null && i < itemList.length; i++) { + arr = CommonUtil.concatUniqueArrayItem(itemList[i], arr); + } + return arr; + }; + /** + * remove array items from a given array + * @param itemList items to be removed from arr + * @param arr the array + * @returns + */ + CommonUtil.reduceArrayItemList = function (itemList, arr) { + if (arr && arr.length > 0 && itemList && itemList.length > 0) { + var result = arr.filter(function (value) { + return !itemList.includes(value); + }); + return result; + } + return arr; + }; + CommonUtil.getScopeForTh = function (element) { + /** https://www.w3.org/TR/html5/tabular-data.html#header-and-data-cell-semantics + * A header cell anchored at the slot with coordinate (x, y) with width width and height height is + * said to be a column header if any of the following conditions are true: + * * The cell's scope attribute is in the column state, or + * * The cell's scope attribute is in the auto state, and there are no data cells in any of + * the cells covering slots with y-coordinates y .. y+height-1. + * A header cell anchored at the slot with coordinate (x, y) with width width and height height is + * said to be a row header if any of the following conditions are true: + * * The cell's scope attribute is in the row state, or + * * The cell's scope attribute is in the auto state, the cell is not a column header, and there are + * no data cells in any of the cells covering slots with x-coordinates x .. x+width-1. + */ + // Note: auto is default scope + // Easiest answer is if scope is specified + if (element.hasAttribute("scope")) { + var scope = element.getAttribute("scope").toLowerCase(); + if (scope === "row" || scope === 'rowgroup') + return "row"; + if (scope === "col" || scope === 'colgroup') + return "column"; + } + // scope is auto, default (without a scope) or invalid value. + // if all the sibling elements are th, then return "columnheader" + var siblings = function (element) { return __spreadArray([], element.parentElement.children, true).filter(function (node) { return node.nodeType === 1 && node.tagName != "TH"; }); }; + if (siblings === null || siblings.length === 0) + return "column"; + else + return "row"; + }; + CommonUtil.getControlOfLabel = function (node) { + // Handle the easy case of label -> for + var labelAncestor = CommonUtil.getAncestor(node, "label"); + if (labelAncestor) { + if (labelAncestor.hasAttribute("for")) { + return fragment_1.FragmentUtil.getById(node, labelAncestor.getAttribute("for")); + } + } + // Create a dictionary containing ids of parent nodes + var idDict = {}; + var parentWalk = node; + while (parentWalk) { + if (parentWalk.nodeType === 1 /* Node.ELEMENT_NODE */) { + var ancestor = parentWalk; + if (ancestor.hasAttribute("id")) { + idDict[ancestor.getAttribute("id")] = true; + } + } + parentWalk = DOMWalker_1.DOMWalker.parentNode(parentWalk); + } + // Iterate through controls that use aria-labelledby and see if any of them reference one of my ancestor ids + var inputsUsingLabelledBy = node.ownerDocument.querySelectorAll("*[aria-labelledby]"); + for (var idx = 0; idx < inputsUsingLabelledBy.length; ++idx) { + var inputUsingLabelledBy = inputsUsingLabelledBy[idx]; + var ariaLabelledBy = inputUsingLabelledBy.getAttribute("aria-labelledby"); + var sp = ariaLabelledBy.split(" "); + for (var _i = 0, sp_1 = sp; _i < sp_1.length; _i++) { + var id = sp_1[_i]; + if (id in idDict && !CommonUtil.isIdReferToSelf(node, node.getAttribute("aria-labelledby"))) { + return inputUsingLabelledBy; + } + } + } + // Find the cases where we're within an aria labelledby + return null; + }; + /** + * This function is responsible for checking if the node that is provied is + * disabled or not. Following is how the check is performed: + * 1. Check if the current node is disabled with the following options: + * attribute --> disabled + * Also needs to be "button", "input", "select", "textarea", "optgroup", "option", + * "menuitem", "fieldset" nodes (in array elementsAllowedDisabled) + * attribute --> aria-disabled="true" + * 2. Check if any of the current nodes parents are disabled with the same + * options listed in 1. + * + * Note: If either current node or any of the parent nodes are disabled then this + * function will return true (node is disabled). + * + * @parm {HTMLElement} node - The node which should be checked if it is disabled or not. + * @return {bool} true if the node is disabled, false otherwise + * + * @memberOf AriaUtil + */ + CommonUtil.isNodeDisabled = function (node) { + // Set PT_NODE_DISABLED to false for all the nodes, before the check and this will be changed to + // true when we detect that the node is disabled. We have to set it to false so that we know + // the node has already been checked. Only set it to false if the setting is undefined or null + // as if it is defined we do not wnat to reset it. As if it is true then we should make use of it + // to speed up the check. + var PT_NODE_DISABLED = CacheUtil_1.CacheUtil.getCache(node, "PT_NODE_DISABLED", false); + // Check the nodeType of this node, if this node is a text node then + // we get the parentnode and set that as the node as a text nodes, + // disabled is directly related to the parent node. + if (node.nodeType === 3) { + node = DOMWalker_1.DOMWalker.parentNode(node); + } + // Variable Declaration + var nodeName = node.nodeName.toLowerCase(); + // Get the disabled element property, disabled and aria-disabled attribute and check that it is true + var disabledAttribute = node.hasAttribute("disabled"); + var disabledPropertyCustom = PT_NODE_DISABLED; + var ariaDisabledAttribute = node.hasAttribute('aria-disabled') && node.getAttribute("aria-disabled") === 'true'; + // If this node has disabled attribute and the node allows disabled attribute, then return true. + // Disabled attribute is only allowed on "button", "input", "select", "textarea", "optgroup", "option", "menuitem", "fieldset" + // In the case aria-disabled is set to true, then also return true + if (disabledPropertyCustom || (disabledAttribute && ARIADefinitions_1.ARIADefinitions.elementsAllowedDisabled.indexOf(nodeName) > -1) || ariaDisabledAttribute) { + PT_NODE_DISABLED = true; + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_DISABLED", PT_NODE_DISABLED); + return true; + } + // Get the parentNode for this node, becuase we have to check all parents to make sure they do not have + // disabled attribute. Only keep checking until we are all the way back to the parentNode + // element. + var parentElement = DOMWalker_1.DOMWalker.parentNode(node); + // If the parent node exists and the nodetype is element (1), then run recursive call to perform the check + // all the way up to the very parent node. Use recursive call here instead of a while loop so that we do not + // have to duplicate the logic for checking if the node is disabled or not for all the parents starting with + // child node. + if (parentElement != null && parentElement.nodeType === 1) { + // Check upwards recursively, and save the results in an variable + var nodeDisabled = CommonUtil.isNodeDisabled(parentElement); + // If the node is found to be disabled then add the custom PT_NODE_DISABLED to true. + // so that we can use this next time, to quickly determine if node is disabled or not. + // This is extra percaution, the isNodeDisabled function already sets this. + if (nodeDisabled) { + PT_NODE_DISABLED = true; + } + // Check upwards recursively + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_DISABLED", PT_NODE_DISABLED); + return nodeDisabled; + } + // Return false (node is not disabled) + return false; + }; + /** + * This function is responsible for determine if hidden content should be checked + * in rules. + * + * @parm {element} node - A node so that the document can be accessed to check for the + * option. Can be document element or a simple node element. + * @return {bool} true if hidden content should be checked, false otherwise + * + * @memberOf AriaUtil + */ + CommonUtil.shouldCheckHiddenContent = function (node) { + return false; + }; + /** + * This function is responsible for determining if node should be skipped from checking or not, based + * on the Check Hidden Content settings and if the node is visible or not. + * + * @parm {element} node - Node to check if it is visible or not based on the Check Hidden Content + * setting. + * + * @return {bool} true if node should be skipped, false otherwise + * + * @memberOf AriaUtil + */ + CommonUtil.shouldNodeBeSkippedHidden = function (node) { + // Following are the steps that are executed at this stage to determine if the node should be classified as hidden + // or not. + // 1. Only run isNodeVisible check if hidden content should NOT be checked. In the case that hidden content is to, + // be scanned then we can just scan everything as normal. In the case that the current node is hidden we + // return true to identify that the node should not be scanned/added to any hash/array. + // + // Note: The if conditions uses short-circuiting so if the first condition is not true it will not check the next one, + // so on and so forth. + if (!CommonUtil.shouldCheckHiddenContent(node) && !VisUtil_1.VisUtil.isNodeVisible(node)) { + return true; + } + return false; + }; + CommonUtil.isfocusableByDefault = function (node) { + var focusableElements = ['input', 'select', 'button', 'textarea', 'option', 'area']; + if (node.nodeName.toLowerCase() === "a" && CommonUtil.hasAttribute(node, 'href')) + return true; + if (node.nodeName.toLowerCase() === "area" && CommonUtil.hasAttribute(node, 'href')) + return true; + if (focusableElements.indexOf(node.nodeName.toLowerCase()) !== -1) + return true; + return false; + }; + /** + * This function check if a non-tabable node has valid tabable content. + * If it is tabable (the tabindex is not speicified or is not -1), returns false; + * If it is non-tabable, but a child is tabable and does not have element content, returns false; + * Otherwise, returns true. + */ + CommonUtil.nonTabableChildCheck = function (element) { + if (!element.hasAttribute("tabindex") || + (parseInt(element.getAttribute("tabindex")) != -1)) { + return false; + } + //let nw = new NodeWalker(element); + var nw = new DOMWalker_1.DOMWalker(element); + while (nw.nextNode()) { + var child = nw.elem(); + if (child === null) { // Text node. usually is a cartridge return. + continue; + } + if (child.hasAttribute("tabindex") && + (parseInt(child.getAttribute("tabindex")) != -1) && + !CommonUtil.hasInnerContent(child)) { + return false; + } + } + return true; + }; + CommonUtil.hasAttribute = function (element, attributeName) { + var hasAttribute = false; + if (element.hasAttribute) { + hasAttribute = element.hasAttribute(attributeName); + } + else if (element.attributes && element.attributes.getNamedItem) { + var attr = element.attributes.getNamedItem(attributeName); + hasAttribute = attr && attr.specified; + } + return hasAttribute; + }; + // truncate the given text to a given number of characters + // return truncated text to 150 chars, same with the media_alt_brief rule + CommonUtil.truncateText = function (text, len) { + if (len === void 0) { len = 150; } + if (!text) + return text; + text = text.trim(); + if (text.length > len) + return text.substring(0, len - 1) + "..."; + return text; + }; + CommonUtil.input_type_with_placeholder = ["text", "search", "tel", "url", "email", "password", "number"]; + CommonUtil.input_text_types = [ + "text", "file", "password", + "checkbox", "radio", + "search", "tel", "url", "email", + "date", "number", "range", + "time", "color" + ]; + CommonUtil.input_time_types = [ + "date", "month", "week", "time", "datetime-local" + ]; + CommonUtil.input_other_types = [ + "range", "color", "checkbox", "radio", "file", "image" + ]; + CommonUtil.form_button_types = [ + "button", "reset", "submit" + ]; + CommonUtil.form_labelable_elements = ["input", "textarea", "select", "keygen", "progress", "meter", "output", "button"]; + CommonUtil.tabTagMap = { + "button": function (element) { + return !element.hasAttribute("disabled"); + }, + "iframe": true, + "input": function (element) { + return element.getAttribute("type") !== "hidden" && !element.hasAttribute("disabled"); + }, + "select": function (element) { + return !element.hasAttribute("disabled"); + }, + "textarea": true, + /**"div": function (element) { + return element.hasAttribute("contenteditable"); + },*/ + "a": function (element) { + // xlink:href?? see svg + return element.hasAttribute("href"); + }, + "area": function (element) { + return element.hasAttribute("href"); + }, + "audio": function (element) { + return element.hasAttribute("controls"); + }, + "video": function (element) { + return element.hasAttribute("controls"); + }, + "summary": function (element) { + // first summary child of a details element is automatically focusable + return element.parentElement && element.parentElement.nodeName.toLowerCase() === 'details' + && DOMUtil_1.DOMUtil.sameNode(__spreadArray([], element.parentElement.children, true).filter(function (elem) { return elem.nodeName.toLowerCase() === 'summary'; })[0], element); + }, + "details": function (element) { + //details element without a direct summary child is automatically focusable + return element.children && __spreadArray([], element.children, true).filter(function (elem) { return elem.nodeName.toLowerCase() === 'summary'; }).length === 0; + } + }; + CommonUtil.image_extensions = [".bmp", ".gif", ".jpg", ".jpeg", ".pcx", ".png"]; + return CommonUtil; +}()); +exports.CommonUtil = CommonUtil; + + +/***/ }), + +/***/ "./src/v4/util/TableUtil.ts": +/*!**********************************!*\ + !*** ./src/v4/util/TableUtil.ts ***! + \**********************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.TableUtil = void 0; +var VisUtil_1 = __webpack_require__(/*! ./VisUtil */ "./src/v4/util/VisUtil.ts"); +var AriaUtil_1 = __webpack_require__(/*! ./AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CommonUtil_1 = __webpack_require__(/*! ./CommonUtil */ "./src/v4/util/CommonUtil.ts"); +var TableUtil = /** @class */ (function () { + function TableUtil() { + } + TableUtil.isDataTable = function (tableNode) { + return !(AriaUtil_1.AriaUtil.hasRole(tableNode, "none") || AriaUtil_1.AriaUtil.hasRole(tableNode, "presentation")); + }; + /* + * A complex data table is a data table with any of the following characteristics: + * + * a thead element that contains two or more tr elements + * a table with more than one thead element + * a table with two or more tr elements that contain only th elements + * a th or td element with a rowspan or colspan attribute + * a tr element that contains at least one td element and two or more th elements + * a table with headers not located in the first row or first column + * a td element with a headers attribute value that contains more than two IDREFs + */ + TableUtil.isComplexDataTable = function (table) { + if ("AriaUtil_isComplexDataTable" in table) { + return !!table.AriaUtil_isComplexDataTable; + } + var isComplexTable = false; + if (table && TableUtil.isDataTable(table)) { + var thNodes = null, tdNodes = null; + var trNodes = table.getElementsByTagName("tr"); + var trNodeCount = trNodes.length; + var tdNodeCount = 0, thNodeCount = 0, trNodesHavingOnlyThNodes = 0; + for (var i = 0; !isComplexTable && i < trNodeCount; ++i) { + thNodes = trNodes[i].getElementsByTagName("th"); + tdNodes = trNodes[i].getElementsByTagName("td"); + thNodeCount = thNodes.length; + tdNodeCount = tdNodes.length; + if (tdNodeCount !== 0) { + // a tr element that contains at least one td element and two or more th elements; + isComplexTable = thNodeCount > 1; + // a th element with a rowspan or colspan attribute + for (var j = 0; !isComplexTable && j < thNodeCount; ++j) { + isComplexTable = ((thNodes[j].hasAttribute("rowspan") || + thNodes[j].hasAttribute("colspan")) && + CommonUtil_1.CommonUtil.getAncestor(thNodes[j], "table") === table); + } + // a td element with a rowspan or colspan attribute + // a td element with a headers attribute value that contains more than two IDREFs + for (var k = 0; !isComplexTable && k < tdNodeCount; ++k) { + isComplexTable = ((tdNodes[k].hasAttribute("rowspan") || + tdNodes[k].hasAttribute("colspan") || + (tdNodes[k].hasAttribute("headers") && CommonUtil_1.CommonUtil.normalizeSpacing(tdNodes[k].getAttribute("headers")).split(" ").length > 2)) && + CommonUtil_1.CommonUtil.getAncestor(tdNodes[k], "table") === table); + } + } + else { + // two or more tr elements that contain only th elements + if (thNodeCount > 0) { + ++trNodesHavingOnlyThNodes; + } + isComplexTable = trNodesHavingOnlyThNodes === 2; + } + } + if (!isComplexTable) { + var theadNodes = table.getElementsByTagName("thead"); + var theadNodesLength = theadNodes.length; + if (theadNodesLength > 0) { + // table has more than one thead element + isComplexTable = theadNodesLength > 1; + // a thead element that contains two or more tr elements + if (!isComplexTable) { + isComplexTable = theadNodes[0].getElementsByTagName("tr").length > 1; + } + } + } + if (!isComplexTable && trNodeCount !== 0) { + // a table with headers not located in the first row or first column + isComplexTable = thNodeCount > 0 && !TableUtil.tableHeaderExists(table); + } + } + table.AriaUtil_isComplexDataTable = isComplexTable; + return isComplexTable; + }; + // Return true if a table cell is hidden or contain no data: <td></td> + TableUtil.isTableCellEmpty = function (cell) { + if (!cell || !VisUtil_1.VisUtil.isNodeVisible(cell) || cell.innerHTML.replace(/&nbsp;/g, ' ').trim().length === 0) + return true; + return false; + }; + // Return true if a table row is hidden or contain no data: <tr /> or <tr><td></td><td></td></tr> + TableUtil.isTableRowEmpty = function (row) { + if (!row || !row.cells || row.cells.length === 0 || !VisUtil_1.VisUtil.isNodeVisible(row)) + return true; + var passed = true; //empty + for (var c = 0; passed && c < row.cells.length; c++) { + var cell = row.cells[c]; + passed = TableUtil.isTableCellEmpty(cell); + } + return passed; + }; + // Return true if a table's header is in the first row or column + TableUtil.tableHeaderExists = function (ruleContext) { + var rows = ruleContext.rows; + if (!rows || rows.length === 0) + return null; + // note that table.rows return all all the rows in the table, + // including the rows contained within <thead>, <tfoot>, and <tbody> elements. + //case 1: headers are in the very first row with data in tbody or thead, but not in tfoot + //get the first row with data, ignoring the rows with no data + var passed = true; + var firstRow = rows[0]; + for (var r = 0; passed && r < rows.length; r++) { + firstRow = rows[r]; + // ignore the rows from tfoot + if (firstRow.parentNode && firstRow.parentNode.nodeName.toLowerCase() === 'tfoot') + continue; + passed = TableUtil.isTableRowEmpty(firstRow); + } + //table contain no data: <table><tr><td></td><td></td></tr></table> + if (passed) + return null; + // Check if the cells with data in the first data row are all TH's + passed = true; + for (var r = 0; passed && r < firstRow.cells.length; r++) { + var cell = firstRow.cells[r]; + passed = TableUtil.isTableCellEmpty(cell) || cell.nodeName.toLowerCase() === 'th'; + } + if (passed) + return true; + // Case 2: headers are in the first column with data + // Assume that the first column has all TH's or a TD without data in the first column. + passed = true; + for (var i = 0; passed && i < rows.length; ++i) { + // ignore the rows from tfoot + if (rows[i].parentNode && rows[i].parentNode.nodeName.toLowerCase() === 'tfoot') + continue; + // If no cells in this row, or no data at all, that's okay too. + passed = !rows[i].cells || + rows[i].cells.length === 0 || + rows[i].cells[0].innerHTML.trim().length === 0 || + rows[i].cells[0].nodeName.toLowerCase() != "td"; + } + if (passed) + return true; + //case 3: all td data cells have headers attributes that point to the id of a th element in the same table. + // https://html.spec.whatwg.org/multipage/tables.html#attributes-common-to-td-and-th-elements + passed = true; + var thIds = []; + var tdHeaders = []; + for (var r = 0; passed && r < rows.length; r++) { + var row = rows[r]; + // Check if the cells with data in the last data row are all TH's + for (var c = 0; c < row.cells.length; c++) { + var cell = row.cells[c]; + if (TableUtil.isTableCellEmpty(cell)) + continue; + if (cell.nodeName.toLowerCase() === 'td') { + if (!cell.getAttribute('headers') || cell.getAttribute('headers').trim().length === 0) + passed = false; + else + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(cell.getAttribute('headers').trim().split(" "), tdHeaders); + } + else if (cell.nodeName.toLowerCase() === 'th' && cell.getAttribute('id') && cell.getAttribute('id').trim().length > 0) + CommonUtil_1.CommonUtil.concatUniqueArrayItem(cell.getAttribute('id').trim(), thIds); + } + } + if (passed) { // all td elements have headers, to exam if the headers point to a th id + if (thIds.length > 0 && tdHeaders.every(function (header) { return thIds.includes(header); })) + return true; + } + return false; + }; + TableUtil.isLayoutTable = function (tableNode) { + return AriaUtil_1.AriaUtil.hasRole(tableNode, "presentation") || AriaUtil_1.AriaUtil.hasRole(tableNode, "none"); + }; + /* + * get conflict Aria and Html attributes + * return: a list of Aria and Html attribute pairs that are conflict + */ + TableUtil.isTableDescendant = function (contextHierarchies) { + if (!contextHierarchies) + return null; + return contextHierarchies["aria"].filter(function (hier) { return ["table", "grid", "treegrid"].includes(hier.role); }); + }; + return TableUtil; +}()); +exports.TableUtil = TableUtil; + + +/***/ }), + +/***/ "./src/v4/util/VisUtil.ts": +/*!********************************!*\ + !*** ./src/v4/util/VisUtil.ts ***! + \********************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.VisUtil = void 0; +var CacheUtil_1 = __webpack_require__(/*! ./CacheUtil */ "./src/v4/util/CacheUtil.ts"); +var DOMUtil_1 = __webpack_require__(/*! ../../v2/dom/DOMUtil */ "./src/v2/dom/DOMUtil.ts"); +var DOMWalker_1 = __webpack_require__(/*! ../../v2/dom/DOMWalker */ "./src/v2/dom/DOMWalker.ts"); +var DOMMapper_1 = __webpack_require__(/*! ../../v2/dom/DOMMapper */ "./src/v2/dom/DOMMapper.ts"); +var AriaUtil_1 = __webpack_require__(/*! ./AriaUtil */ "./src/v4/util/AriaUtil.ts"); +var CSSUtil_1 = __webpack_require__(/*! ./CSSUtil */ "./src/v4/util/CSSUtil.ts"); +var VisUtil = /** @class */ (function () { + function VisUtil() { + } + /** + * This function is responsible for checking if the node that is provied is + * visible or not. Following is how the check is performed: + * 1. Check if the current node is hidden with the following options: + * CSS --> dislay: none + * CSS --> visibility: hidden + * attribute --> hidden + * 2. Check if the any of the current nodes parents are hidden with the same + * options listed in 1. + * + * Note: If either current node or any of the parent nodes are hidden then this + * function will return false (node is not visible). + * + * Note: nodes with CSS properties opacity:0 or filter:opacity(0%), or similar SVG mechanisms: + * They are not considered hidden. Text hidden with these methods can still be selected or copied, + * and user agents still expose it in their accessibility trees. + * + * Note: nodes hidden off screen or behind another object: they are not considered hidden. + * They are exposed in the accessibility tree and they can even name on-screen objects. + * + * @parm {element} node The node which should be checked if it is visible or not. + * @return {bool} false if the node is NOT visible, true otherwise + * + * @memberOf VisUtil + */ + VisUtil.isNodeVisible = function (nodeIn) { + // Check the nodeType if this node, if this node is a text node then + // we get the parentnode and set that as the node as a text nodes, + // visibility is directly related to the parent node. + if (nodeIn.nodeType === 3) { + nodeIn = DOMWalker_1.DOMWalker.parentNode(nodeIn); + } + var node = nodeIn; + // We should only allow nodeType element, and TextNode all other nodesTypes + // we can return the visibility as visible. + // Following nodes will be returned as visable by default, since we can not + // actually change their visibility. + // Node.PROCESSING_INSTRUCTION_NODE --> 7 + // Node.COMMENT_NODE --> 8 + // 9 /* Node.DOCUMENT_NODE */ --> 9 + // Node.DOCUMENT_TYPE_NODE --> 10 + // Node.DOCUMENT_FRAGMENT_NODE --> 11 + if (node.nodeType !== 1) { + return true; + } + // Make sure that the ownerDocument is present before moving forward + // in detecting if the node is visible or not. In the case that ownerDocument + // does not exist then we simply return node is visible by default. + if (!node.ownerDocument) { + return true; + } + // Variable Declaration + var compStyle; + var nodeName = node.nodeName.toLowerCase(); + // In the case this node is a script, link or style node, right away return node is visible + // because scripts, links and style nodes can not be hidden by HTML attribute or CSS or are hidden by default. But we want to scan + // the elements everytime as they render content still which is still visible to users. + // script --> script elements have display: none by default + // link --> link elements have display: none by default, but the actually CSS script is still executed so we have to + // mark this element as visible at all times. + // style --> style elements have display: none by default, but the actually CSS script is still executed so we have to + // mark this element as visible at all times. + // datalist --> In the rendering, the datalist element represents nothing and it, along with its children, should be hidden. + if (VisUtil.hiddenByDefaultElements != null && VisUtil.hiddenByDefaultElements != undefined && VisUtil.hiddenByDefaultElements.indexOf(nodeName) > -1) { + //return true; + return false; + } + if (CacheUtil_1.CacheUtil.getCache(node, "PT_NODE_HIDDEN", undefined) !== undefined) { + return CacheUtil_1.CacheUtil.getCache(node, "PT_NODE_HIDDEN", undefined); + } + // Set PT_NODE_HIDDEN to false for all the nodes, before the check and this will be changed to + // true when we detect that the node is hidden. We have to set it to false so that we know + // the rules has already been checked. + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_HIDDEN", CacheUtil_1.CacheUtil.getCache(node, "PT_NODE_HIDDEN", false)); + // Check if this node is visible, we check couple of CSS properties and hidden attribute. + // area, param and audio elements we do not check if they are hidden as it does not apply to them. + // Check the unhideableElements array which is part of the rules, to check if this element is allowed to be hidden or not + // in the case that the element is part of the unhideableElements array then we do not run the hidden check on this element, + // and go stright to the parent node. + // Array check elements like: + // area --> area element is part of a map element and it can not be hidden because it is used to + // make an certian parts of an map interactive. + // param --> element can only be part of object elment and it cannot be hidden directly, it + // can only be hidden if the parent is hidden. + // audio --> If this element is hidden it will still play the music, so we should still trigger + // violations for this element. + // In the case that unhideableElements array is not defined then we just scan all elements and do no filtering at all. + if (VisUtil.unhideableElements === null || VisUtil.unhideableElements === undefined || VisUtil.unhideableElements.indexOf(nodeName) === -1) { + // Check if defaultView exists for this node, if it does then use this to run the getComputedStyle + // function to get the CSS style for the node. + if (node.ownerDocument.defaultView) { + // Run the getComputedStyle on this node to fetch the CSS compuation of the node + compStyle = node.ownerDocument.defaultView.getComputedStyle(node, null); + } + // In the case that defaultView does not exists return true to identify that this + // node is visible, because were not able to detect if it was not. + else { + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_HIDDEN", true); + return true; + } + // Get the hidden element property and hidden attribute + var hiddenAttribute = node.getAttribute("hidden"); + var hiddenPropertyCustom = CacheUtil_1.CacheUtil.getCache(node, "PT_NODE_HIDDEN", undefined); + // To get the hidden property we need to perform a special check as in some cases the hidden property will not be + // a boolean, for theses cases we set it to false as we are not able to determine the true hidden condition. + // The reason for this is because form elements are able to perform an override, so when we have id="hidden" for an element + // which is under the form element then, node.hidden gives the element/list of elements which have id="hidden". Refer to + // mozilla bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1267356 + var hiddenProperty = typeof node.hidden === "boolean" ? node.hidden : false; + // If compStyle object is empty, node does't have hidden property, node does't have hidden attribute and does't have custom PT + // hidden property then we can just return true (node visible) at this point. + if (!compStyle && + !hiddenProperty && // this covers false, null, or undefined + (hiddenAttribute === null || hiddenAttribute === undefined) && + !hiddenPropertyCustom // This covers false, null or undefined + ) { + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_HIDDEN", true); + return true; + } + // In the case that the compStyle is defined we check the following: + // CSS style display set to none + // CSS style visibility set to hidden + // Note: For this property since it is inherited, need to skip the check on parents as + // the parent can have hidden but the child can be visible. So we only check this property + // on child elements/elements that are passed to this function the first time. + // node hidden property set (node.hidden) + // node attribute hidden set (to any value) + // node custom hidden property ser (node.PT_NODE_HIDDEN) + // If any of the above conditions are true then we return false as this element is not visible + if ((compStyle !== null && ((compStyle.getPropertyValue('display') === 'none' || + (!CacheUtil_1.CacheUtil.getCache(node, "Visibility_Check_Parent", null) && compStyle.getPropertyValue('visibility') === 'hidden'))) || + (compStyle.getPropertyValue('display') !== 'block' && (hiddenProperty || hiddenAttribute != null || hiddenPropertyCustom)))) { + // Set a custom expandos property on the the node to identify that it is hidden, so that we can uses + // use this in the rules to determine if the node is hidden or not, if we need to. + // Use expandos property instead of a hash map which stores the elements, adding/checking expandos + // properties is a lot faster performance whise. For Hash map we need to store based on xpath, and to calculate + // xpath it is more performance impact. + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_HIDDEN", false); + return false; + } + // check content-visibility: if the content-visibility is hidden, then, return false as the element is not visible + if (VisUtil.isContentHidden(node)) { + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_HIDDEN", false); + return false; + } + } + // Get the parentNode for this node, becuase we have to check all parents to make sure they do not have + // the hidden CSS, property or attribute. Only keep checking until we are all the way back to the parentNode + // element. + var parentElement = DOMWalker_1.DOMWalker.parentNode(node); + // If the parent node exists and the nodetype is element (1), then run recursive call to perform the check + // all the way up to the very parent node. Use recursive call here instead of a while loop so that we do not + // have to duplicate the logic for checking if the node is visible or not for all the parents starting with + // child node. + if (parentElement != null && parentElement.nodeType === 1) { + // When we have a parent element going through the isNodeVisible function we have to mark it as such + // so that in the function we can skip checking visibility: hidden for parent elements since visibility: hidden + // is inherited, which allows a child to have a different setting then the child. This property only needs to be checked + // once for the first element that is passed down and that is all. Ignore it for all the parents that we iterate over. + CacheUtil_1.CacheUtil.setCache(parentElement, "Visibility_Check_Parent", true); + // Check upwards recursively, and save the results in an variable + var nodeVisible = VisUtil.isNodeVisible(parentElement); + // If the node is found to not be visible then add the custom PT_NODE_HIDDEN to true. + // so that we can use this in the rules. + // if (!nodeVisible) { + // CacheUtil.setCache(node, "PT_NODE_HIDDEN", true); + // } + // Check upwards recursively + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_HIDDEN", nodeVisible); + return nodeVisible; + } + // Return true (node is visible) + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_HIDDEN", true); + return true; + }; + /** + * This function is responsible for checking if the node that is visually hidden by clipping or opaq: + * 1. Check if the current node is visually hidden: + * CSS --> clip: rect(0px, 0px, 0px, 0px) + * CSS --> opacity: 0 + * + * Note: If either current node or any of the parent nodes are visually hidden then this + * function will return true (node is not visually hidden). + * + * Note: nodes with CSS properties clip: rect(0px, 0px, 0px, 0px) or opacity:0 or filter:opacity(0%), or similar SVG mechanisms: + * They are not considered hidden to an AT. Text hidden with these methods can still be selected or copied, + * and user agents still expose it in their accessibility trees. + * + * @parm {element} node The node which should be checked if it is visually hidden or not. + * @return {bool} true if the node is visually hidden, false otherwise + * + * @memberOf VisUtil + */ + VisUtil.isNodeVisuallyHidden = function (node) { + if (!node || node.nodeType !== 1) + return false; + var elem = node; + // Set PT_NODE_HIDDEN to false for all the nodes, before the check and this will be changed to + // true when we detect that the node is hidden. We have to set it to false so that we know + // the rules has already been checked. + var hidden = CacheUtil_1.CacheUtil.getCache(elem, "PT_NODE_VISUALLY_HIDDEN", undefined); + if (hidden === undefined) { + // defined styles only give the styles that changed + var defined_styles = CSSUtil_1.CSSUtil.getDefinedStyles(elem); + if ((defined_styles['position'] === 'absolute' && defined_styles['clip'] && defined_styles['clip'].replaceAll(' ', '') === 'rect(0px,0px,0px,0px)') + || (defined_styles['opacity'] && parseFloat(defined_styles['opacity']) < 0.1)) { + CacheUtil_1.CacheUtil.setCache(elem, "PT_NODE_VISUALLY_HIDDEN", true); + return true; + } + // Get the parentNode for this node, becuase we have to check all parents to make sure they do not have + // the hidden CSS, property or attribute. Only keep checking until we are all the way back to the parentNode + // element. + var parentElement = DOMWalker_1.DOMWalker.parentElement(elem); + if (!parentElement) + return false; + // Check upwards recursively + var hid = VisUtil.isNodeVisuallyHidden(parentElement); + CacheUtil_1.CacheUtil.setCache(elem, "PT_NODE_VISUALLY_HIDDEN", hid); + return hid; + } + return hidden; + }; + /** + * return true if the node or its ancestor is hidden by CSS content-visibility:hidden + * At this time, CSS content-visibility is partially supported by Chrome & Edge, but not supported by Firefox + * The implementation TEMPORARILY follows the Chrome test results: + * if content-visibility:hidden + * if the element is block-level (default or specified by the user), then the element and its children are normally hidden; + * if the element is inline (default or specified by the user), then the element and its children are normally NOT hidden; + * + * @param node + */ + VisUtil.isContentHidden = function (node) { + if (!node) + return false; + var vis = CacheUtil_1.CacheUtil.getCache(node, "PT_NODE_ContentHidden", undefined); + if (vis !== undefined) + return vis; + var style = getComputedStyle(node); + if (!style) { + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_ContentHidden", false); + return false; + } + var content_visibility = style.getPropertyValue("content-visibility"); + if (content_visibility !== 'hidden') { + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_ContentHidden", false); + return false; + } + var display = style.getPropertyValue("display"); + // inline element only + if (display === 'inline') { + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_ContentHidden", false); + return false; + } + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_ContentHidden", true); + return true; + }; + /** + * return true if the node is offscreen by CSS position + * @param node + */ + VisUtil.isElementOffscreen = function (node) { + if (!node) + return true; + if (node.nodeType !== 1) + return false; + var vis = CacheUtil_1.CacheUtil.getCache(node, "PT_NODE_Offscreen", undefined); + if (vis !== undefined) + return vis; + var mapper = new DOMMapper_1.DOMMapper(); + var bounds = mapper.getUnadjustedBounds(node); + if (!bounds) { + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_Offscreen", true); + return true; + } + if (bounds['height'] === 0 || bounds['width'] === 0 || (bounds['top'] + bounds['height']) <= 0 || (bounds['left'] + bounds['width']) <= 0) { + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_Offscreen", true); + return true; + } + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_Offscreen", false); + return false; + }; + /** + * return true if the node or its ancestor is natively hidden or aria-hidden = 'true' + * @param node + */ + VisUtil.isNodeHiddenFromAT = function (node) { + if (!node) + return false; + var vis = CacheUtil_1.CacheUtil.getCache(node, "PT_NODE_HiddenFromAT", undefined); + if (vis !== undefined) + return vis; + if (!VisUtil.isNodeVisible(node) || node.getAttribute("aria-hidden") === 'true') { + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_HiddenFromAT", true); + return true; + } + var ancestor = DOMUtil_1.DOMUtil.getAncestorWithAttribute(node, "aria-hidden", "true"); + if (ancestor) { + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_HiddenFromAT", true); + return true; + } + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_HiddenFromAT", false); + return false; + }; + /** + * return true if the node or its ancestor is natively hidden or aria-hidden = 'true' + * @param node + */ + VisUtil.isNodePresentational = function (node) { + var role = AriaUtil_1.AriaUtil.getResolvedRole(node); + if (role && (role === 'none' || role === 'presentation')) + return true; + return false; + }; + // This list contains a list of element tags which can not be hidden, when hidden is + // added to theses elements it does not do anything at all. + // area --> area element is part of a map element and it can not be hidden because it is used to + // make an certian parts of an map interactive. + // param --> element can only be part of object elment and it cannot be hidden directly, it + // can only be hidden if the parent is hidden. + // audio --> If this element is hidden it will still play the music, so we should still trigger + // violations for this element. + // Note: All element tags that are added here should be added as lowercase, as we are using indexOf to do the check. + VisUtil.unhideableElements = ['area', 'param', 'audio']; + // This list contains a list of elements tags which have display: none by default, since we have rules triggering + // on theses elements we need to make then visible by default so that the rules can trigger regardless of the + // Check Hidden Content option in the tools. + // script --> script elements have display: none by default + // link --> link elements have display: none by default, but the actually CSS script is still executed so we have to + // mark this element as visible at all times. + // style --> style elements have display: none by default, but the actually CSS script is still executed so we have to + // mark this element as visible at all times. + // head --> head elements have display: none by default, but it will still behave correct + // title --> title elements have display: none by default, but it will still display the title. remove title from the list because a title can be a child of a svg element too + // meta --> meta elements have display: none by default, but it will still perform the action that meta is suppose to + // base --> base elements have display: none by default, but it will still perform the action that meta is suppose to + // noscript --> noscript elements have display: none by default, but it will still perform the action that meta is suppose to + // template --> template elements have display: none by default, because they are just a mechanism for holding client-side content + // that is not to be rendered when a page is loaded. https://developer.mozilla.org/en/docs/Web/HTML/Element/template + // datalist --> datalist elements have display: none by default, + VisUtil.hiddenByDefaultElements = ['script', 'link', 'style', 'head', 'meta', 'base', 'noscript', 'template', 'datalist']; + return VisUtil; +}()); +exports.VisUtil = VisUtil; + + +/***/ }), + +/***/ "./src/v4/sc-urls.json": +/*!*****************************!*\ + !*** ./src/v4/sc-urls.json ***! + \*****************************/ +/***/ ((module) => { + +module.exports = JSON.parse('{"1.1.1":{"num":"1.1.1","url":"https://www.w3.org/TR/WCAG22/#non-text-content","scId":"WCAG2:non-text-content","scAltId":["text-equiv-all"],"test":"WCAG2:text-equiv-all","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#non-text-content","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/non-text-content.html","handle":"Non-text Content","level":"A","wcagType":"2.0"},"1.2.1":{"num":"1.2.1","url":"https://www.w3.org/TR/WCAG22/#audio-only-and-video-only-prerecorded","scId":"WCAG2:audio-only-and-video-only-prerecorded","scAltId":["media-equiv-av-only-alt"],"test":"WCAG2:media-equiv-av-only-alt","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#audio-only-and-video-only-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/audio-only-and-video-only-prerecorded.html","handle":"Audio-only and Video-only (Prerecorded)","level":"A","wcagType":"2.0"},"1.2.2":{"num":"1.2.2","url":"https://www.w3.org/TR/WCAG22/#captions-prerecorded","scId":"WCAG2:captions-prerecorded","scAltId":["media-equiv-captions"],"test":"WCAG2:media-equiv-captions","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#captions-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/captions-prerecorded.html","handle":"Captions (Prerecorded)","level":"A","wcagType":"2.0"},"1.2.3":{"num":"1.2.3","url":"https://www.w3.org/TR/WCAG22/#audio-description-or-media-alternative-prerecorded","scId":"WCAG2:audio-description-or-media-alternative-prerecorded","scAltId":["media-equiv-audio-desc"],"test":"WCAG2:media-equiv-audio-desc","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#audio-description-or-media-alternative-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/audio-description-or-media-alternative-prerecorded.html","handle":"Audio Description or Media Alternative (Prerecorded)","level":"A","wcagType":"2.0"},"1.2.4":{"num":"1.2.4","url":"https://www.w3.org/TR/WCAG22/#captions-live","scId":"WCAG2:captions-live","scAltId":["media-equiv-real-time-captions"],"test":"WCAG2:media-equiv-real-time-captions","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#captions-live","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/captions-live.html","handle":"Captions (Live)","level":"AA","wcagType":"2.0"},"1.2.5":{"num":"1.2.5","url":"https://www.w3.org/TR/WCAG22/#audio-description-prerecorded","scId":"WCAG2:audio-description-prerecorded","scAltId":["media-equiv-audio-desc-only"],"test":"WCAG2:media-equiv-audio-desc-only","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#audio-description-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/audio-description-prerecorded.html","handle":"Audio Description (Prerecorded)","level":"AA","wcagType":"2.0"},"1.2.6":{"num":"1.2.6","url":"https://www.w3.org/TR/WCAG22/#sign-language-prerecorded","scId":"WCAG2:sign-language-prerecorded","scAltId":["media-equiv-sign"],"test":"WCAG2:media-equiv-sign","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#sign-language-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/sign-language-prerecorded.html","handle":"Sign Language (Prerecorded)","level":"AAA","wcagType":"2.0"},"1.2.7":{"num":"1.2.7","url":"https://www.w3.org/TR/WCAG22/#extended-audio-description-prerecorded","scId":"WCAG2:extended-audio-description-prerecorded","scAltId":["media-equiv-extended-ad"],"test":"WCAG2:media-equiv-extended-ad","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#extended-audio-description-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/extended-audio-description-prerecorded.html","handle":"Extended Audio Description (Prerecorded)","level":"AAA","wcagType":"2.0"},"1.2.8":{"num":"1.2.8","url":"https://www.w3.org/TR/WCAG22/#media-alternative-prerecorded","scId":"WCAG2:media-alternative-prerecorded","scAltId":["media-equiv-text-doc"],"test":"WCAG2:media-equiv-text-doc","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#media-alternative-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/media-alternative-prerecorded.html","handle":"Media Alternative (Prerecorded)","level":"AAA","wcagType":"2.0"},"1.2.9":{"num":"1.2.9","url":"https://www.w3.org/TR/WCAG22/#audio-only-live","scId":"WCAG2:audio-only-live","scAltId":["media-equiv-live-audio-only"],"test":"WCAG2:media-equiv-live-audio-only","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#audio-only-live","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/audio-only-live.html","handle":"Audio-only (Live)","level":"AAA","wcagType":"2.0"},"1.3.1":{"num":"1.3.1","url":"https://www.w3.org/TR/WCAG22/#info-and-relationships","scId":"WCAG2:info-and-relationships","scAltId":["content-structure-separation-programmatic"],"test":"WCAG2:content-structure-separation-programmatic","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#info-and-relationships","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/info-and-relationships.html","handle":"Info and Relationships","level":"A","wcagType":"2.0"},"1.3.2":{"num":"1.3.2","url":"https://www.w3.org/TR/WCAG22/#meaningful-sequence","scId":"WCAG2:meaningful-sequence","scAltId":["content-structure-separation-sequence"],"test":"WCAG2:content-structure-separation-sequence","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#meaningful-sequence","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/meaningful-sequence.html","handle":"Meaningful Sequence","level":"A","wcagType":"2.0"},"1.3.3":{"num":"1.3.3","url":"https://www.w3.org/TR/WCAG22/#sensory-characteristics","scId":"WCAG2:sensory-characteristics","scAltId":["content-structure-separation-understanding"],"test":"WCAG2:content-structure-separation-understanding","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#sensory-characteristics","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/sensory-characteristics.html","handle":"Sensory Characteristics","level":"A","wcagType":"2.0"},"1.3.4":{"num":"1.3.4","url":"https://www.w3.org/TR/WCAG22/#orientation","scId":"WCAG2:orientation","scAltId":[],"test":"WCAG2:orientation","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#orientation","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/orientation.html","handle":"Orientation","level":"AA","wcagType":"2.1"},"1.3.5":{"num":"1.3.5","url":"https://www.w3.org/TR/WCAG22/#identify-input-purpose","scId":"WCAG2:identify-input-purpose","scAltId":[],"test":"WCAG2:identify-input-purpose","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#identify-input-purpose","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/identify-input-purpose.html","handle":"Identify Input Purpose","level":"AA","wcagType":"2.1"},"1.3.6":{"num":"1.3.6","url":"https://www.w3.org/TR/WCAG22/#identify-purpose","scId":"WCAG2:identify-purpose","scAltId":[],"test":"WCAG2:identify-purpose","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#identify-purpose","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/identify-purpose.html","handle":"Identify Purpose","level":"AAA","wcagType":"2.1"},"1.4.1":{"num":"1.4.1","url":"https://www.w3.org/TR/WCAG22/#use-of-color","scId":"WCAG2:use-of-color","scAltId":["visual-audio-contrast-without-color"],"test":"WCAG2:visual-audio-contrast-without-color","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#use-of-color","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/use-of-color.html","handle":"Use of Color","level":"A","wcagType":"2.0"},"1.4.2":{"num":"1.4.2","url":"https://www.w3.org/TR/WCAG22/#audio-control","scId":"WCAG2:audio-control","scAltId":["visual-audio-contrast-dis-audio"],"test":"WCAG2:visual-audio-contrast-dis-audio","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#audio-control","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/audio-control.html","handle":"Audio Control","level":"A","wcagType":"2.0"},"1.4.3":{"num":"1.4.3","url":"https://www.w3.org/TR/WCAG22/#contrast-minimum","scId":"WCAG2:contrast-minimum","scAltId":["visual-audio-contrast-contrast"],"test":"WCAG2:visual-audio-contrast-contrast","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#contrast-minimum","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/contrast-minimum.html","handle":"Contrast (Minimum)","level":"AA","wcagType":"2.0"},"1.4.4":{"num":"1.4.4","url":"https://www.w3.org/TR/WCAG22/#resize-text","scId":"WCAG2:resize-text","scAltId":["visual-audio-contrast-scale"],"test":"WCAG2:visual-audio-contrast-scale","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#resize-text","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/resize-text.html","handle":"Resize text","level":"AA","wcagType":"2.0"},"1.4.5":{"num":"1.4.5","url":"https://www.w3.org/TR/WCAG22/#images-of-text","scId":"WCAG2:images-of-text","scAltId":["visual-audio-contrast-text-presentation"],"test":"WCAG2:visual-audio-contrast-text-presentation","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#images-of-text","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/images-of-text.html","handle":"Images of Text","level":"AA","wcagType":"2.0"},"1.4.6":{"num":"1.4.6","url":"https://www.w3.org/TR/WCAG22/#contrast-enhanced","scId":"WCAG2:contrast-enhanced","scAltId":["visual-audio-contrast7"],"test":"WCAG2:visual-audio-contrast7","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#contrast-enhanced","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/contrast-enhanced.html","handle":"Contrast (Enhanced)","level":"AAA","wcagType":"2.0"},"1.4.7":{"num":"1.4.7","url":"https://www.w3.org/TR/WCAG22/#low-or-no-background-audio","scId":"WCAG2:low-or-no-background-audio","scAltId":["visual-audio-contrast-noaudio"],"test":"WCAG2:visual-audio-contrast-noaudio","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#low-or-no-background-audio","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/low-or-no-background-audio.html","handle":"Low or No Background Audio","level":"AAA","wcagType":"2.0"},"1.4.8":{"num":"1.4.8","url":"https://www.w3.org/TR/WCAG22/#visual-presentation","scId":"WCAG2:visual-presentation","scAltId":["visual-audio-contrast-visual-presentation"],"test":"WCAG2:visual-audio-contrast-visual-presentation","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#visual-presentation","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/visual-presentation.html","handle":"Visual Presentation","level":"AAA","wcagType":"2.0"},"1.4.9":{"num":"1.4.9","url":"https://www.w3.org/TR/WCAG22/#images-of-text-no-exception","scId":"WCAG2:images-of-text-no-exception","scAltId":["visual-audio-contrast-text-images"],"test":"WCAG2:visual-audio-contrast-text-images","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#images-of-text-no-exception","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/images-of-text-no-exception.html","handle":"Images of Text (No Exception)","level":"AAA","wcagType":"2.0"},"1.4.10":{"num":"1.4.10","url":"https://www.w3.org/TR/WCAG22/#reflow","scId":"WCAG2:reflow","scAltId":[],"test":"WCAG2:reflow","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#reflow","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/reflow.html","handle":"Reflow","level":"AA","wcagType":"2.1"},"1.4.11":{"num":"1.4.11","url":"https://www.w3.org/TR/WCAG22/#non-text-contrast","scId":"WCAG2:non-text-contrast","scAltId":[],"test":"WCAG2:non-text-contrast","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#non-text-contrast","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/non-text-contrast.html","handle":"Non-text Contrast","level":"AA","wcagType":"2.1"},"1.4.12":{"num":"1.4.12","url":"https://www.w3.org/TR/WCAG22/#text-spacing","scId":"WCAG2:text-spacing","scAltId":[],"test":"WCAG2:text-spacing","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#text-spacing","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/text-spacing.html","handle":"Text Spacing","level":"AA","wcagType":"2.1"},"1.4.13":{"num":"1.4.13","url":"https://www.w3.org/TR/WCAG22/#content-on-hover-or-focus","scId":"WCAG2:content-on-hover-or-focus","scAltId":[],"test":"WCAG2:content-on-hover-or-focus","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#content-on-hover-or-focus","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/content-on-hover-or-focus.html","handle":"Content on Hover or Focus","level":"AA","wcagType":"2.1"},"2.1.1":{"num":"2.1.1","url":"https://www.w3.org/TR/WCAG22/#keyboard","scId":"WCAG2:keyboard","scAltId":["keyboard-operation-keyboard-operable"],"test":"WCAG2:keyboard-operation-keyboard-operable","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#keyboard","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/keyboard.html","handle":"Keyboard","level":"A","wcagType":"2.0"},"2.1.2":{"num":"2.1.2","url":"https://www.w3.org/TR/WCAG22/#no-keyboard-trap","scId":"WCAG2:no-keyboard-trap","scAltId":["keyboard-operation-trapping"],"test":"WCAG2:keyboard-operation-trapping","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#no-keyboard-trap","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/no-keyboard-trap.html","handle":"No Keyboard Trap","level":"A","wcagType":"2.0"},"2.1.3":{"num":"2.1.3","url":"https://www.w3.org/TR/WCAG22/#keyboard-no-exception","scId":"WCAG2:keyboard-no-exception","scAltId":["keyboard-operation-all-funcs"],"test":"WCAG2:keyboard-operation-all-funcs","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#keyboard-no-exception","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/keyboard-no-exception.html","handle":"Keyboard (No Exception)","level":"AAA","wcagType":"2.0"},"2.1.4":{"num":"2.1.4","url":"https://www.w3.org/TR/WCAG22/#character-key-shortcuts","scId":"WCAG2:character-key-shortcuts","scAltId":[],"test":"WCAG2:WCAG2:character-key-shortcuts","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#character-key-shortcuts","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/character-key-shortcuts.html","handle":"Character Key Shortcuts","level":"A","wcagType":"2.1"},"2.2.1":{"num":"2.2.1","url":"https://www.w3.org/TR/WCAG22/#timing-adjustable","scId":"WCAG2:timing-adjustable","scAltId":["time-limits-required-behaviors"],"test":"WCAG2:time-limits-required-behaviors","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#timing-adjustable","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/timing-adjustable.html","handle":"Timing Adjustable","level":"A","wcagType":"2.0"},"2.2.2":{"num":"2.2.2","url":"https://www.w3.org/TR/WCAG22/#pause-stop-hide","scId":"WCAG2:pause-stop-hide","scAltId":["time-limits-pause"],"test":"WCAG2:time-limits-pause","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#pause-stop-hide","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/pause-stop-hide.html","handle":"Pause, Stop, Hide","level":"A","wcagType":"2.0"},"2.2.3":{"num":"2.2.3","url":"https://www.w3.org/TR/WCAG22/#no-timing","scId":"WCAG2:no-timing","scAltId":["time-limits-no-exceptions"],"test":"WCAG2:time-limits-no-exceptions","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#no-timing","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/no-timing.html","handle":"No Timing","level":"AAA","wcagType":"2.0"},"2.2.4":{"num":"2.2.4","url":"https://www.w3.org/TR/WCAG22/#interruptions","scId":"WCAG2:interruptions","scAltId":["time-limits-postponed"],"test":"WCAG2:time-limits-postponed","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#interruptions","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/interruptions.html","handle":"Interruptions","level":"AAA","wcagType":"2.0"},"2.2.5":{"num":"2.2.5","url":"https://www.w3.org/TR/WCAG22/#re-authenticating","scId":"WCAG2:re-authenticating","scAltId":["time-limits-server-timeout"],"test":"WCAG2:time-limits-server-timeout","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#re-authenticating","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/re-authenticating.html","handle":"Re-authenticating","level":"AAA","wcagType":"2.0"},"2.2.6":{"num":"2.2.6","url":"https://www.w3.org/TR/WCAG22/#timeouts","scId":"WCAG2:timeouts","scAltId":[],"test":"WCAG2:WCAG2:timeouts","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#timeouts","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/timeouts.html","handle":"Timeouts","level":"AAA","wcagType":"2.1"},"2.3.1":{"num":"2.3.1","url":"https://www.w3.org/TR/WCAG22/#three-flashes-or-below-threshold","scId":"WCAG2:three-flashes-or-below-threshold","scAltId":["seizure-does-not-violate"],"test":"WCAG2:seizure-does-not-violate","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#three-flashes-or-below-threshold","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/three-flashes-or-below-threshold.html","handle":"Three Flashes or Below Threshold","level":"A","wcagType":"2.0"},"2.3.2":{"num":"2.3.2","url":"https://www.w3.org/TR/WCAG22/#three-flashes","scId":"WCAG2:three-flashes","scAltId":["seizure-three-times"],"test":"WCAG2:seizure-three-times","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#three-flashes","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/three-flashes.html","handle":"Three Flashes","level":"AAA","wcagType":"2.0"},"2.3.3":{"num":"2.3.3","url":"https://www.w3.org/TR/WCAG22/#animation-from-interactions","scId":"WCAG2:animation-from-interactions","scAltId":[],"test":"WCAG2:WCAG2:animation-from-interactions","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#animation-from-interactions","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/animation-from-interactions.html","handle":"Animation from Interactions","level":"AAA","wcagType":"2.1"},"2.4.1":{"num":"2.4.1","url":"https://www.w3.org/TR/WCAG22/#bypass-blocks","scId":"WCAG2:bypass-blocks","scAltId":["navigation-mechanisms-skip"],"test":"WCAG2:navigation-mechanisms-skip","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#bypass-blocks","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/bypass-blocks.html","handle":"Bypass Blocks","level":"A","wcagType":"2.0"},"2.4.2":{"num":"2.4.2","url":"https://www.w3.org/TR/WCAG22/#page-titled","scId":"WCAG2:page-titled","scAltId":["navigation-mechanisms-title"],"test":"WCAG2:navigation-mechanisms-title","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#page-titled","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/page-titled.html","handle":"Page Titled","level":"A","wcagType":"2.0"},"2.4.3":{"num":"2.4.3","url":"https://www.w3.org/TR/WCAG22/#focus-order","scId":"WCAG2:focus-order","scAltId":["navigation-mechanisms-focus-order"],"test":"WCAG2:navigation-mechanisms-focus-order","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#focus-order","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/focus-order.html","handle":"Focus Order","level":"A","wcagType":"2.0"},"2.4.4":{"num":"2.4.4","url":"https://www.w3.org/TR/WCAG22/#link-purpose-in-context","scId":"WCAG2:link-purpose-in-context","scAltId":["navigation-mechanisms-refs"],"test":"WCAG2:navigation-mechanisms-refs","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#link-purpose-in-context","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/link-purpose-in-context.html","handle":"Link Purpose (In Context)","level":"A","wcagType":"2.0"},"2.4.5":{"num":"2.4.5","url":"https://www.w3.org/TR/WCAG22/#multiple-ways","scId":"WCAG2:multiple-ways","scAltId":["navigation-mechanisms-mult-loc"],"test":"WCAG2:navigation-mechanisms-mult-loc","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#multiple-ways","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/multiple-ways.html","handle":"Multiple Ways","level":"AA","wcagType":"2.0"},"2.4.6":{"num":"2.4.6","url":"https://www.w3.org/TR/WCAG22/#headings-and-labels","scId":"WCAG2:headings-and-labels","scAltId":["navigation-mechanisms-descriptive"],"test":"WCAG2:navigation-mechanisms-descriptive","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#headings-and-labels","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/headings-and-labels.html","handle":"Headings and Labels","level":"AA","wcagType":"2.0"},"2.4.7":{"num":"2.4.7","url":"https://www.w3.org/TR/WCAG22/#focus-visible","scId":"WCAG2:focus-visible","scAltId":["navigation-mechanisms-focus-visible"],"test":"WCAG2:navigation-mechanisms-focus-visible","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#focus-visible","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/focus-visible.html","handle":"Focus Visible","level":"AA","wcagType":"2.0"},"2.4.8":{"num":"2.4.8","url":"https://www.w3.org/TR/WCAG22/#location","scId":"WCAG2:location","scAltId":["navigation-mechanisms-location"],"test":"WCAG2:navigation-mechanisms-location","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#location","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/location.html","handle":"Location","level":"AAA","wcagType":"2.0"},"2.4.9":{"num":"2.4.9","url":"https://www.w3.org/TR/WCAG22/#link-purpose-link-only","scId":"WCAG2:link-purpose-link-only","scAltId":["navigation-mechanisms-link"],"test":"WCAG2:navigation-mechanisms-link","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#link-purpose-link-only","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/link-purpose-link-only.html","handle":"Link Purpose (Link Only)","level":"AAA","wcagType":"2.0"},"2.4.10":{"num":"2.4.10","url":"https://www.w3.org/TR/WCAG22/#section-headings","scId":"WCAG2:section-headings","scAltId":["navigation-mechanisms-headings"],"test":"WCAG2:navigation-mechanisms-headings","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#section-headings","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/section-headings.html","handle":"Section Headings","level":"AAA","wcagType":"2.0"},"2.4.11":{"num":"2.4.11","url":"https://www.w3.org/TR/WCAG22/#focus-not-obscured-minimum","scId":"WCAG2:focus-not-obscured-minimum","scAltId":["focus-not-obscured-minimum-alt"],"test":"WCAG2:focus-not-obscured-minimum-test","howToMeetUrl":"https://www.w3.org/TR/WCAG22/#focus-not-obscured-minimum","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/focus-not-obscured-minimum.html","handle":"Focus Not Obscured (Minimum)","level":"AA","wcagType":"2.2"},"2.4.12":{"num":"2.4.12","url":"https://www.w3.org/TR/WCAG22/#focus-not-obscured-enhanced","scId":"WCAG2:focus-not-obscured-enhanced","scAltId":[],"test":"WCAG2:focus-not-obscured-enhanced-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#focus-not-obscured-enhanced","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/focus-not-obscured-enhanced.html","handle":"Focus Not Obscured (Enhanced)","level":"AAA","wcagType":"2.2"},"2.4.13":{"num":"2.4.13","url":"https://www.w3.org/TR/WCAG22/#focus-appearance","scId":"WCAG2:focus-appearance","scAltId":[],"test":"WCAG2:focus-appearance","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#focus-appearance","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/focus-appearance.html","handle":"Focus Appearance","level":"AAA","wcagType":"2.2"},"2.5.1":{"num":"2.5.1","url":"https://www.w3.org/TR/WCAG22/#pointer-gestures","scId":"WCAG2:pointer-gestures","scAltId":[],"test":"WCAG2:pointer-gestures-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#pointer-gestures","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/pointer-gestures.html","handle":"Pointer Gestures","level":"A","wcagType":"2.1"},"2.5.2":{"num":"2.5.2","url":"https://www.w3.org/TR/WCAG22/#pointer-cancellation","scId":"WCAG2:pointer-cancellation","scAltId":[],"test":"WCAG2:WCAG2:pointer-cancellation","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#pointer-cancellation","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/pointer-cancellation.html","handle":"Pointer Cancellation","level":"A","wcagType":"2.1"},"2.5.3":{"num":"2.5.3","url":"https://www.w3.org/TR/WCAG22/#label-in-name","scId":"WCAG2:label-in-name","scAltId":[],"test":"WCAG2:WCAG2:label-in-name","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#label-in-name","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/label-in-name.html","handle":"Label in Name","level":"A","wcagType":"2.1"},"2.5.4":{"num":"2.5.4","url":"https://www.w3.org/TR/WCAG22/#motion-actuation","scId":"WCAG2:motion-actuation","scAltId":[],"test":"WCAG2:WCAG2:motion-actuation","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#motion-actuation","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/motion-actuation.html","handle":"Motion Actuation","level":"A","wcagType":"2.1"},"2.5.5":{"num":"2.5.5","url":"https://www.w3.org/TR/WCAG22/#target-size","scId":"WCAG2:target-size","scAltId":[],"test":"WCAG2:WCAG2:target-size","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#target-size","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/target-size.html","handle":"Target Size","level":"AAA","wcagType":"2.1"},"2.5.6":{"num":"2.5.6","url":"https://www.w3.org/TR/WCAG22/#concurrent-input-mechanisms","scId":"WCAG2:concurrent-input-mechanisms","scAltId":[],"test":"WCAG2:WCAG2:concurrent-input-mechanisms","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#concurrent-input-mechanisms","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/concurrent-input-mechanisms.html","handle":"Concurrent Input Mechanisms","level":"AAA","wcagType":"2.1"},"2.5.7":{"num":"2.5.7","url":"https://www.w3.org/TR/WCAG22/#dragging-movements","scId":"WCAG2:dragging-movement","scAltId":["dragging-movement-alt"],"test":"WCAG2:dragging-movement-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/Understanding/dragging-movements.html","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/dragging-movements.html","handle":"Dragging Movement","level":"AA","wcagType":"2.2"},"2.5.8":{"num":"2.5.8","url":"https://www.w3.org/TR/WCAG22/#target-size-minimum","scId":"WCAG2:minimum-target-size","scAltId":["minimum-target-size-alt"],"test":"WCAG2:minimum-target-size-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#target-size-minimum","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/target-size-minimum.html","handle":"Minimum Target Size","level":"AA","wcagType":"2.2"},"3.1.1":{"num":"3.1.1","url":"https://www.w3.org/TR/WCAG22/#language-of-page","scId":"WCAG2:language-of-page","scAltId":["meaning-doc-lang-id"],"test":"WCAG2:meaning-doc-lang-id","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#language-of-page","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/language-of-page.html","handle":"Language of Page","level":"A","wcagType":"2.0"},"3.1.2":{"num":"3.1.2","url":"https://www.w3.org/TR/WCAG22/#language-of-parts","scId":"WCAG2:language-of-parts","scAltId":["meaning-other-lang-id"],"test":"WCAG2:meaning-other-lang-id","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#language-of-parts","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/language-of-parts.html","handle":"Language of Parts","level":"AA","wcagType":"2.0"},"3.1.3":{"num":"3.1.3","url":"https://www.w3.org/TR/WCAG22/#unusual-words","scId":"WCAG2:unusual-words","scAltId":["meaning-idioms"],"test":"WCAG2:meaning-idioms","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#unusual-words","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/unusual-words.html","handle":"Unusual Words","level":"AAA","wcagType":"2.0"},"3.1.4":{"num":"3.1.4","url":"https://www.w3.org/TR/WCAG22/#abbreviations","scId":"WCAG2:abbreviations","scAltId":["meaning-located"],"test":"WCAG2:meaning-located","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#abbreviations","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/abbreviations.html","handle":"Abbreviations","level":"AAA","wcagType":"2.0"},"3.1.5":{"num":"3.1.5","url":"https://www.w3.org/TR/WCAG22/#reading-level","scId":"WCAG2:reading-level","scAltId":["meaning-supplements"],"test":"WCAG2:meaning-supplements","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#reading-level","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/reading-level.html","handle":"Reading Level","level":"AAA","wcagType":"2.0"},"3.1.6":{"num":"3.1.6","url":"https://www.w3.org/TR/WCAG22/#pronunciation","scId":"WCAG2:pronunciation","scAltId":["meaning-pronunciation"],"test":"WCAG2:meaning-pronunciation","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#pronunciation","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/pronunciation.html","handle":"Pronunciation","level":"AAA","wcagType":"2.0"},"3.2.1":{"num":"3.2.1","url":"https://www.w3.org/TR/WCAG22/#on-focus","scId":"WCAG2:on-focus","scAltId":["consistent-behavior-receive-focus"],"test":"WCAG2:consistent-behavior-receive-focus","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#on-focus","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/on-focus.html","handle":"On Focus","level":"A","wcagType":"2.0"},"3.2.2":{"num":"3.2.2","url":"https://www.w3.org/TR/WCAG22/#on-input","scId":"WCAG2:on-input","scAltId":["consistent-behavior-unpredictable-change"],"test":"WCAG2:consistent-behavior-unpredictable-change","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#on-input","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/on-input.html","handle":"On Input","level":"A","wcagType":"2.0"},"3.2.3":{"num":"3.2.3","url":"https://www.w3.org/TR/WCAG22/#consistent-navigation","scId":"WCAG2:consistent-navigation","scAltId":["consistent-behavior-consistent-locations"],"test":"WCAG2:consistent-behavior-consistent-locations","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#consistent-navigation","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/consistent-navigation.html","handle":"Consistent Navigation","level":"AA","wcagType":"2.0"},"3.2.4":{"num":"3.2.4","url":"https://www.w3.org/TR/WCAG22/#consistent-identification","scId":"WCAG2:consistent-identification","scAltId":["consistent-behavior-consistent-functionality"],"test":"WCAG2:consistent-behavior-consistent-functionality","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#consistent-identification","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/consistent-identification.html","handle":"Consistent Identification","level":"AA","wcagType":"2.0"},"3.2.5":{"num":"3.2.5","url":"https://www.w3.org/TR/WCAG22/#change-on-request","scId":"WCAG2:change-on-request","scAltId":["consistent-behavior-no-extreme-changes-context"],"test":"WCAG2:consistent-behavior-no-extreme-changes-context","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#change-on-request","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/change-on-request.html","handle":"Change on Request","level":"AAA","wcagType":"2.0"},"3.2.6":{"num":"3.2.6","url":"https://www.w3.org/TR/WCAG22/#consistent-help","scId":"WCAG2:consistent-help","scAltId":["consistent-help-alt"],"test":"WCAG2:consistent-help-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#consistent-help","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/consistent-help.html","handle":"Consistent Help","level":"AA","wcagType":"2.2"},"3.3.1":{"num":"3.3.1","url":"https://www.w3.org/TR/WCAG22/#error-identification","scId":"WCAG2:error-identification","scAltId":["minimize-error-identified"],"test":"WCAG2:minimize-error-identified","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#error-identification","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/error-identification.html","handle":"Error Identification","level":"A","wcagType":"2.0"},"3.3.2":{"num":"3.3.2","url":"https://www.w3.org/TR/WCAG22/#labels-or-instructions","scId":"WCAG2:labels-or-instructions","scAltId":["minimize-error-cues"],"test":"WCAG2:minimize-error-cues","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#labels-or-instructions","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/labels-or-instructions.html","handle":"Labels or Instructions","level":"A","wcagType":"2.0"},"3.3.3":{"num":"3.3.3","url":"https://www.w3.org/TR/WCAG22/#error-suggestion","scId":"WCAG2:error-suggestion","scAltId":["minimize-error-suggestions"],"test":"WCAG2:minimize-error-suggestions","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#error-suggestion","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/error-suggestion.html","handle":"Error Suggestion","level":"AA","wcagType":"2.0"},"3.3.4":{"num":"3.3.4","url":"https://www.w3.org/TR/WCAG22/#error-prevention-legal-financial-data","scId":"WCAG2:error-prevention-legal-financial-data","scAltId":["minimize-error-reversible"],"test":"WCAG2:minimize-error-reversible","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#error-prevention-legal-financial-data","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/error-prevention-legal-financial-data.html","handle":"Error Prevention (Legal, Financial, Data)","level":"AA","wcagType":"2.0"},"3.3.5":{"num":"3.3.5","url":"https://www.w3.org/TR/WCAG22/#help","scId":"WCAG2:help","scAltId":["minimize-error-context-help"],"test":"WCAG2:minimize-error-context-help","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#help","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/help.html","handle":"Help","level":"AAA","wcagType":"2.0"},"3.3.6":{"num":"3.3.6","url":"https://www.w3.org/TR/WCAG22/#error-prevention-all","scId":"WCAG2:error-prevention-all","scAltId":["minimize-error-reversible-all"],"test":"WCAG2:minimize-error-reversible-all","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#error-prevention-all","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/error-prevention-all.html","handle":"Error Prevention (All)","level":"AAA","wcagType":"2.0"},"3.3.7":{"num":"3.3.7","url":"https://www.w3.org/TR/WCAG22/#redundant-entry","scId":"WCAG2:redundant-entry","scAltId":["redundant-entry-alt"],"test":"WCAG2:redundant-entry-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#redundant-entry","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/redundant-entry.html","handle":"Redundant Entry","level":"AA","wcagType":"2.2"},"3.3.8":{"num":"3.3.8","url":"https://www.w3.org/TR/WCAG22/#accessible-authentication-minimum","scId":"WCAG2:accessible-authentication-minimum","scAltId":["accessible-authentication-minimum-alt"],"test":"WCAG2:accessible-authentication-minimum-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#accessible-authentication-minimum","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/accessible-authentication-minimum.html","handle":"Accessible Authentication (Minimum)","level":"AA","wcagType":"2.2"},"3.3.9":{"num":"3.3.9","url":"https://www.w3.org/TR/WCAG22/#accessible-authentication-enhanced","scId":"WCAG2:accessible-authentication-enhanced","scAltId":[],"test":"WCAG2:accessible-authentication-enhanced","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#accessible-authentication-enhanced","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/accessible-authentication-enhanced.html","handle":"Accessible Authentication (Enhanced)","level":"AAA","wcagType":"2.2"},"4.1.1":{"num":"4.1.1","url":"https://www.w3.org/TR/WCAG22/#parsing","scId":"WCAG2:parsing","scAltId":["ensure-compat-parses"],"test":"WCAG2:ensure-compat-parses","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/?versions=2.1#parsing","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/parsing.html","handle":"Parsing","level":"A","wcagType":"2.0"},"4.1.2":{"num":"4.1.2","url":"https://www.w3.org/TR/WCAG22/#name-role-value","scId":"WCAG2:name-role-value","scAltId":["ensure-compat-rsv"],"test":"WCAG2:ensure-compat-rsv","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#name-role-value","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/name-role-value.html","handle":"Name, Role, Value","level":"A","wcagType":"2.0"},"4.1.3":{"num":"4.1.3","url":"https://www.w3.org/TR/WCAG22/#status-messages","scId":"WCAG2:status-messages","scAltId":[],"test":"WCAG2:status-messages","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#status-messages","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/status-messages.html","handle":"Status Messages","level":"AA","wcagType":"2.1"},"HTML":{"num":"HTML","url":"https://html.spec.whatwg.org/multipage/","scId":[],"scAltId":[],"test":"","howToMeetUrl":"https://html.spec.whatwg.org/multipage/","understandingUrl":"https://html.spec.whatwg.org/multipage/","handle":"specification","level":"NA","wcagType":"NA"},"ARIA":{"num":"ARIA","url":"https://www.w3.org/TR/wai-aria-1.2/","scId":[],"scAltId":[],"test":"","howToMeetUrl":"https://www.w3.org/TR/wai-aria-1.2/","understandingUrl":"https://www.w3.org/TR/wai-aria-1.2/","handle":"specification","level":"NA","wcagType":"NA"}}'); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +var __webpack_exports__ = {}; +// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk. +(() => { +var exports = __webpack_exports__; +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.checkDemo = exports.DOMWalker = exports.Config = exports.ARIAMapper = exports.Checker = exports.Context = void 0; +var Context_1 = __webpack_require__(/*! ./v2/common/Context */ "./src/v2/common/Context.ts"); +Object.defineProperty(exports, "Context", ({ enumerable: true, get: function () { return Context_1.Context; } })); +// import { Simulator } from "./v2/simulator" +var Checker_1 = __webpack_require__(/*! ./v4/checker/Checker */ "./src/v4/checker/Checker.ts"); +Object.defineProperty(exports, "Checker", ({ enumerable: true, get: function () { return Checker_1.Checker; } })); +var ARIAMapper_1 = __webpack_require__(/*! ./v2/aria/ARIAMapper */ "./src/v2/aria/ARIAMapper.ts"); +Object.defineProperty(exports, "ARIAMapper", ({ enumerable: true, get: function () { return ARIAMapper_1.ARIAMapper; } })); +var Config_1 = __webpack_require__(/*! ./v2/config/Config */ "./src/v2/config/Config.ts"); +Object.defineProperty(exports, "Config", ({ enumerable: true, get: function () { return Config_1.Config; } })); +var DOMWalker_1 = __webpack_require__(/*! ./v2/dom/DOMWalker */ "./src/v2/dom/DOMWalker.ts"); +Object.defineProperty(exports, "DOMWalker", ({ enumerable: true, get: function () { return DOMWalker_1.DOMWalker; } })); +String.prototype.startsWith = String.prototype.startsWith || function (str) { + return this.indexOf(str) === 0; +}; +String.prototype.includes = String.prototype.includes || function (str) { + return this.indexOf(str) !== -1; +}; +Array.prototype.includes = Array.prototype.includes || function (str) { + return this.indexOf(str) !== -1; +}; +function checkDemo(timeout) { + if (!timeout) + timeout = 0; + var checker = new Checker_1.Checker(); + setTimeout(function () { + checker.check(document.documentElement, ["IBM_Accessibility", "IBM_Design"]) + .then(function (report) { + console.log(report); + var vals = { + "FAIL": 0, + "POTENTIAL": 1, + "MANUAL": 2, + "PASS": 3 + }; + for (var idx = 0; idx < report.results.length; ++idx) { + if (report.results[idx].value[1] === "PASS") { + report.results.splice(idx--, 1); + } + } + report.results.sort(function (a, b) { + if (a.category != b.category) { + return a.category.localeCompare(b.category); + } + if (a.path["aria"] === b.path["aria"]) { + return vals[a.value[1]] - vals[b.value[1]]; + } + return a.path["aria"].localeCompare(b.path["aria"]); + }); + var lastPath = null; + var category = null; + for (var _i = 0, _a = report.results; _i < _a.length; _i++) { + var result = _a[_i]; + if (category !== result.category) { + if (category !== null) { + console.groupEnd(); + console.groupEnd(); + lastPath = null; + } + category = result.category; + console.group(result.category); + } + if (result.path["aria"] != lastPath) { + if (lastPath !== null) { + console.groupEnd(); + } + lastPath = result.path["aria"]; + if (lastPath === "") { + console.group("page"); + } + else { + console.group(lastPath); + } + } + console.log(result.value, result.message); + } + console.groupEnd(); + console.groupEnd(); + }); + }, timeout); +} +exports.checkDemo = checkDemo; + +})(); + +ace = __webpack_exports__; +/******/ })() +; +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNlLWRlYnVnLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBOzs7Ozs7Ozs7Ozs7OzsrRUFjK0U7OztBQWtCL0U7SUFBQTtJQWl4RkEsQ0FBQztJQWh4RlUsK0JBQWUsR0FBdEIsVUFBdUIsSUFBWTtRQUMvQixPQUFPLENBQUMsSUFBSSxJQUFJLGVBQWUsQ0FBQyxjQUFjLENBQUM7ZUFDeEMsZUFBZSxDQUFDLGNBQWMsQ0FBQyxJQUFJLENBQUMsQ0FBQyxRQUFRO2VBQzdDLGVBQWUsQ0FBQyxjQUFjLENBQUMsSUFBSSxDQUFDLENBQUMsUUFBUSxDQUFDLFFBQVEsQ0F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ICAgICAgICAgdHJ1ZTogcmVmZXJzIHRvIFdBSS1BUklBIHByb3BlcnR5IHN1cHBvcnRzIGhpZGRlbiBJRCByZWZlcmVuY2VzXG4gICAgICogICAgICAgICAgICAgICAgICAgICAgICAgIGZhbHNlOiByZWZlcnMgdG8gV0FJLUFSSUEgcHJvcGVydHkgZG9lcyBub3Qgc3VwcG9ydCBoaWRkZW4gSUQgcmVmZXJlbmNlc1xuICAgICAqICAgICAgICAgICAgICAgICAgICAgICAgRGVmYXVsdCB2YWx1ZSB3aWxsIGJlIHNldCB0byBmYWxzZSwgaWYgbm90IHNwZWNpZmllZC5cbiAgICAgKi9cbiAgICBzdGF0aWMgcHJvcGVydHlEYXRhVHlwZXMgOiB7IFxuICAgICAgICBbcHJvcDogc3RyaW5nXSA6IHsgXG4gICAgICAgICAgICB0eXBlOiBzdHJpbmcsIFxuICAgICAgICAgICAgaGlkZGVuSURSZWZTdXBwb3J0ZWQ/OiBib29sZWFuLFxuICAgICAgICAgICAgdmFsdWVzPzogc3RyaW5nW10gXG4gICAgICAgIH1cbiAgICB9ID0ge1xuICAgICAgICBcImFyaWEtYWN0aXZlZGVzY2VuZGFudFwiOiB7XG4gICAgICAgICAgICB0eXBlOiBcImh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hI2lkcmVmXCIsXG4gICAgICAgICAgICBoaWRkZW5JRFJlZlN1cHBvcnRlZDogdHJ1ZVxuICAgICAgICB9LFxuICAgICAgICBcImFyaWEtYXRvbWljXCI6IHtcbiAgICAgICAgICAgIHR5cGU6IFwiaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEjYm9vbGVhblwiXG4gICAgICAgIH0sXG4gICAgICAgIFwiYXJpYS1hdXRvY29tcGxldGVcIjoge1xuICAgICAgICAgICAgdHlwZTogXCJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSNubXRva2VuXCIsXG4gICAgICAgICAgICB2YWx1ZXM6IFtcImlubGluZVwiLCBcImxpc3RcIiwgXCJib3RoXCIsIFwibm9uZVwiLCBcInVuZGVmaW5lZFwiXSAvL2FkZCB1bmRlZmluZWQgdG8gaGFuZGxlIHZhbHVlIGVtcHR5XG4gICAgICAgIH0sXG4gICAgICAgIFwiYXJpYS1idXN5XCI6IHtcbiAgICAgICAgICAgIHR5cGU6IFwiaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEjYm9vbGVhblwiXG4gICAgICAgIH0sXG4gICAgICAgIFwiYXJpYS1jaGVja2VkXCI6IHtcbiAgICAgICAgICAgIHR5cGU6IFwiaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEjbm10b2tlblwiLFxuICAgICAgICAgICAgdmFsdWVzOiBbXCJ0cnVlXCIsIFwiZmFsc2VcIiwgXCJtaXhlZFwiLCBcInVuZGVmaW5lZFwiXVxuICAgICAgICB9LFxuICAgICAgICBcImFyaWEtY29sY291bnRcIjoge1xuICAgICAgICAgICAgdHlwZTogXCJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSNpbnRcIlxuICAgICAgICB9LFxuICAgICAgICBcImFyaWEtY29saW5kZXhcIjoge1xuICAgICAgICAgICAgdHlwZTogXCJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSNpbnRcIlxuICAgICAgICB9LFxuICAgICAgICBcImFyaWEtY29sc3BhblwiOiB7XG4gICAgICAgICAgICB0eXBlOiBcImh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hI2ludFwiXG4gICAgICAgIH0sXG4gICAgICAgIFwiYXJpYS1jb250cm9sc1wiOiB7XG4gICAgICAgICAgICB0eXBlOiBcImh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hI2lkcmVmc1wiLFxuICAgICAgICAgICAgaGlkZGVuSURSZWZTdXBwb3J0ZWQ6IHRydWVcbiAgICAgICAgfSxcbiAgICAgICAgXCJhcmlhLWN1cnJ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U6IFwiaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEjaW50XCJcbiAgICAgICAgfSxcbiAgICAgICAgXCJhcmlhLXJvd2luZGV4XCI6IHtcbiAgICAgICAgICAgIHR5cGU6IFwiaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEjaW50XCJcbiAgICAgICAgfSxcbiAgICAgICAgXCJhcmlhLXJvd3NwYW5cIjoge1xuICAgICAgICAgICAgdHlwZTogXCJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSNpbnRcIlxuICAgICAgICB9LFxuICAgICAgICBcImFyaWEtc2VsZWN0ZWRcIjoge1xuICAgICAgICAgICAgdHlwZTogXCJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSNubXRva2VuXCIsXG4gICAgICAgICAgICB2YWx1ZXM6IFtcInRydWVcIiwgXCJmYWxzZVwiLCBcInVuZGVmaW5lZFwiXVxuICAgICAgICB9LFxuICAgICAgICBcImFyaWEtc2V0c2l6ZVwiOiB7XG4gICAgICAgICAgICB0eXBlOiBcImh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hI2ludFwiXG4gICAgICAgIH0sXG4gICAgICAgIFwiYXJpYS1zb3J0XCI6IHtcbiAgICAgICAgICAgIHR5cGU6IFwiaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEjbm10b2tlblwiLFxuICAgICAgICAgICAgdmFsdWVzOiBbXCJhc2NlbmRpbmdcIiwgXCJkZXNjZW5kaW5nXCIsIFwib3RoZXJcIiwgXCJub25lXCJdXG4gICAgICAgIH0sXG4gICAgICAgIFwiYXJpYS12YWx1ZW1heFwiOiB7XG4gICAgICAgICAgICB0eXBlOiBcImh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hI2RlY2ltYWxcIlxuICAgICAgICB9LFxuICAgICAgICBcImFyaWEtdmFsdWVtaW5cIjoge1xuICAgICAgICAg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9vbGVhbixcbiAgICAgICAgICAgIGRlcHJlY2F0ZWRQcm9wcz86IHN0cmluZ1tdXG4gICAgICAgICAgICBwcm9oaWJpdGVkUHJvcHM/OiBzdHJpbmdbXVxuICAgICAgICB9XG4gICAgfSA9IHtcbiAgICAgICAgXCJhbGVydFwiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IG51bGwsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJsaXZlUmVnaW9uXCIsXG4gICAgICAgICAgICBuYW1lUmVxdWlyZWQ6IGZhbHNlLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcImF1dGhvclwiXSxcbiAgICAgICAgICAgIGRlcHJlY2F0ZWRQcm9wczogWydhcmlhLWRpc2FibGVkJywgJ2FyaWEtZXJyb3JtZXNzYWdlJywgJ2FyaWEtaGFzcG9wdXAnLCAnYXJpYS1pbnZhbGlkJ10gXG4gICAgICAgIH0sXG5cbiAgICAgICAgXCJhbGVydGRpYWxvZ1wiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogW1wiYXJpYS1tb2RhbFwiXSxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IG51bGwsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJ3aW5kb3dcIixcbiAgICAgICAgICAgIG5hbWVSZXF1aXJlZDogdHJ1ZSxcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIl0sXG4gICAgICAgICAgICBkZXByZWNhdGVkUHJvcHM6IFsnYXJpYS1kaXNhYmxlZCcsICdhcmlhLWVycm9ybWVzc2FnZScsICdhcmlhLWhhc3BvcHVwJywgJ2FyaWEtaW52YWxpZCddIFxuICAgICAgICB9LFxuXG4gICAgICAgIFwiYXBwbGljYXRpb25cIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IFtcImFyaWEtYWN0aXZlZGVzY2VuZGFudFwiLCBcImFyaWEtZXhwYW5kZWRcIl0sXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBudWxsLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwic3RydWN0dXJlXCIsIC8vIG9yIGNhbiBiZSBcIndpZGdldFwiXG4gICAgICAgICAgICBuYW1lUmVxdWlyZWQ6IHRydWUsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wiYXV0aG9yXCJdIFxuICAgICAgICB9LFxuXG4gICAgICAgIFwiYXJ0aWNsZVwiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogW1wiYXJpYS1wb3NpbnNldFwiLCBcImFyaWEtc2V0c2l6ZVwiXSxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IG51bGwsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJzdHJ1Y3R1cmVcIixcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIl0sXG4gICAgICAgICAgICBkZXByZWNhdGVkUHJvcHM6IFsnYXJpYS1kaXNhYmxlZCcsICdhcmlhLWVycm9ybWVzc2FnZScsICdhcmlhLWhhc3BvcHVwJywgJ2FyaWEtaW52YWxpZCddIFxuICAgICAgICB9LFxuXG4gICAgICAgIFwiYmFubmVyXCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogbnVsbCxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogbnVsbCxcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcImxhbmRtYXJrXCIsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wiYXV0aG9yXCJdLFxuICAgICAgICAgICAgZGVwcmVjYXRlZFByb3BzOiBbJ2FyaWEtZGlzYWJsZWQnLCAnYXJpYS1lcnJvcm1lc3NhZ2UnLCAnYXJpYS1oYXNwb3B1cCcsICdhcmlhLWludmFsaWQnXSBcbiAgICAgICAgfSxcblxuICAgICAgICBcImJsb2NrcXVvdGVcIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBudWxsLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwic3RydWN0dXJlXCIsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wiYXV0aG9yXCJdLFxuICAgICAgICAgICAgZGVwcmVjYXRlZFByb3BzOiBbJ2FyaWEtZGlzYWJsZWQnLCAnYXJpYS1lcnJvcm1lc3NhZ2UnLCAnYXJpYS1oYXNwb3B1cCcsICdhcmlhLWludmFsaWQnXSBcbiAgICAgICAgfSxcblxuICAgICAgICBcImJ1dHRvblwiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogW1wiYXJpYS1leHBhbmRlZFwiLCBcImFyaWEtcHJlc3NlZFwiXSxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgIC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gICAgICAgICBwcm9wczogW1wiYXJpYS1jb2xpbmRleFwiLCBcImFyaWEtY29sc3BhblwiLCBcImFyaWEtcm93aW5kZXhcIiwgXCJhcmlhLXJvd3NwYW5cIl0sXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBcInRkXCIsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJzdHJ1Y3R1cmVcIixcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIiwgXCJjb250ZW50c1wiXSxcbiAgICAgICAgICAgIGRlcHJlY2F0ZWRQcm9wczogWydhcmlhLWRpc2FibGVkJywgJ2FyaWEtZXJyb3JtZXNzYWdlJywgJ2FyaWEtaGFzcG9wdXAnLCAnYXJpYS1pbnZhbGlkJ10gXG4gICAgICAgIH0sXG5cbiAgICAgICAgXCJjaGVja2JveFwiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogW1wiYXJpYS1leHBhbmRlZFwiLCBcImFyaWEtcmVhZG9ubHlcIiwgXCJhcmlhLXJlcXVpcmVkXCJdLFxuICAgICAgICAgICAgcmVxUHJvcHM6IFtcImFyaWEtY2hlY2tlZFwiXSxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBcImlucHV0W0B0eXBlPSdjaGVja2JveCddXCIsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJ3aWRnZXRcIixcbiAgICAgICAgICAgIG5hbWVSZXF1aXJlZDogdHJ1ZSxcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIiwgXCJjb250ZW50c1wiXSxcbiAgICAgICAgICAgIHByZXNlbnRhdGlvbmFsQ2hpbGRyZW46IHRydWUsXG4gICAgICAgICAgICBkZXByZWNhdGVkUHJvcHM6IFsnYXJpYS1oYXNwb3B1cCddIFxuICAgICAgICB9LFxuXG4gICAgICAgIFwiY29kZVwiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IG51bGwsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJzdHJ1Y3R1cmVcIixcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJwcm9oaWJpdGVkXCJdLFxuICAgICAgICAgICAgcHJvaGliaXRlZFByb3BzOiBbXCJhcmlhLWxhYmVsXCIsIFwiYXJpYS1sYWJlbGxlZGJ5XCJdLFxuICAgICAgICAgICAgZGVwcmVjYXRlZFByb3BzOiBbJ2FyaWEtZGlzYWJsZWQnLCAnYXJpYS1lcnJvcm1lc3NhZ2UnLCAnYXJpYS1oYXNwb3B1cCcsICdhcmlhLWludmFsaWQnXSBcbiAgICAgICAgfSxcblxuICAgICAgICBcImNvbHVtbmhlYWRlclwiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IFtcInJvd1wiXSxcbiAgICAgICAgICAgIHByb3BzOiBbXCJhcmlhLWNvbGluZGV4XCIsIFwiYXJpYS1jb2xzcGFuXCIsIFwiYXJpYS1leHBhbmRlZFwiLCBcImFyaWEtcmVhZG9ubHlcIiwgXCJhcmlhLXJlcXVpcmVkXCIsIFwiYXJpYS1yb3dpbmRleFwiLCBcImFyaWEtcm93c3BhblwiLCBcImFyaWEtc2VsZWN0ZWRcIiwgXCJhcmlhLXNvcnRcIl0sXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBcInRoW0BzY29wZT0nY29sJ11cIixcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcInN0cnVjdHVyZVwiLFxuICAgICAgICAgICAgbmFtZVJlcXVpcmVkOiB0cnVlLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcImF1dGhvclwiLCBcImNvbnRlbnRzXCJdIFxuICAgICAgICB9LFxuXG4gICAgICAgIFwiY29tYm9ib3hcIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IFtcImFyaWEtY29udHJvbHNcIiwgXCJhcmlhLWFjdGl2ZWRlc2NlbmRhbnRcIiwgXCJhcmlhLWF1dG9jb21wbGV0ZVwiLCBcImFyaWEtcmVhZG9ubHlcIiwgXCJhcmlhLXJlcXVpcmVkXCJdLFxuICAgICAgICAgICAgcmVxUHJvcHM6IFtcImFyaWEtZXhwYW5kZWRcIl0sIC8vIGFyaWEtY29udHJvbHMgaXNuJ3QgYWN0dWFsbHkgcmVxdWlyZWQgd2hlbiBhcmlhLWV4cGFuZGVkPVwiZmFsc2VcIlxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IFtdLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBudWxsLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwid2lkZ2V0XCIsXG4gICAgICAgICAgICBuYW1lUmVxdWlyZWQ6IHRydWUsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wiYXV0aG9yXCJdIFxuICAgICAgICB9LFxuXG4gICAgICAgIFwiY29tcGxlbWVudGFyeVwiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IG51bGwsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJsYW5kbWFya1wiLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcImF1dGhvclwiXSxcbiAgICAgICAgICAgIGRlcHJlY2F0ZWRQcm9wczogWydhcmlhLWRpc2FibGVkJywgJ2FyaWEtZXJyb3JtZXNzYWdlJywgJ2FyaWEtaGFzcG9wdXAnLCAnYXJpYS1pbnZhbGlkJ10gXG4gICAgICAgIH0sXG5cbiAgICAgICAgXCJjb21tZW50XCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogbnVsbCxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogbnVsbCxcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcInN0cnVjdHVyZVwiLFxuICAgICAgICAgICAgbmFtZVJlcXVpcmVkOiBmYWxzZSxcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIiwgXCJjb250ZW50c1wiXSxcbiAgICAgICAgICAgIGRlcHJlY2F0ZWRQcm9wczogWydhcmlhLWRpc2FibGVkJywgJ2FyaWEtZXJyb3JtZXNzYWdlJywgJ2FyaWEtaGFzcG9wdXAnLCAnYXJpYS1pbnZhbGlkJ10gXG4gICAgICAgIH0sXG5cbiAgICAgICAgXCJjb250ZW50aW5mb1wiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IG51bGwsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJsYW5kbWFya1wiLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcImF1dGhvclwiXSxcbiAgICAgICAgICAgIGRlcHJlY2F0ZWRQcm9wczogWydhcmlhLWRpc2FibGVkJywgJ2FyaWEtZXJyb3JtZXNzYWdlJywgJ2FyaWEtaGFzcG9wdXAnLCAnYXJpYS1pbnZhbGlkJ10gXG4gICAgICAgIH0sXG5cbiAgICAgICAgXCJkZWZpbml0aW9uXCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogbnVsbCxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogbnVsbCxcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcInN0cnVjdHVyZVwiLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcInByb2hpYml0ZWRcIl0sXG4gICAgICAgICAgICBwcm9oaWJpdGVkUHJvcHM6IFtcImFyaWEtbGFiZWxcIiwgXCJhcmlhLWxhYmVsbGVkYnlcIl0sXG4gICAgICAgICAgICBkZXByZWNhdGVkUHJvcHM6IFsnYXJpYS1kaXNhYmxlZCcsICdhcmlhLWVycm9ybWVzc2FnZScsICdhcmlhLWhhc3BvcHVwJywgJ2FyaWEtaW52YWxpZCddIFxuICAgICAgICB9LFxuXG4gICAgICAgIFwiZGVsZXRpb25cIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBudWxsLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwic3RydWN0dXJlXCIsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wicHJvaGliaXRlZFwiXSxcbiAgICAgICAgICAgIHByb2hpYml0ZWRQcm9wczogW1wiYXJpYS1sYWJlbFwiLCBcImFyaWEtbGFiZWxsZWRieVwiXSxcbiAgICAgICAgICAgIGRlcHJlY2F0ZWRQcm9wczogWydhcmlhLWRpc2FibGVkJywgJ2FyaWEtZXJyb3JtZXNzYWdlJywgJ2FyaWEtaGFzcG9wdXAnLCAnYXJpYS1pbnZhbGlkJ10gXG4gICAgICAgIH0sXG5cbiAgICAgICAgXCJkaWFsb2dcIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IFtcImFyaWEtbW9kYWxcIl0sXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBudWxsLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwid2luZG93XCIsXG4gICAgICAgICAgICBuYW1lUmVxdWlyZWQ6IHRydWUsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wiYXV0aG9yXCJdLFxuICAgICAgICAgICAgZGVwcmVjYXRlZFByb3BzOiBbJ2FyaWEtZGlzYWJsZWQnLCAnYXJpYS1lcnJvcm1lc3NhZ2UnLCAnYXJpYS1oYXNwb3B1cCcsICdhcmlhLWludmFsaWQnXSBcbiAgICAgICAgfSxcbiAgICAgICAgXCJkaXJlY3RvcnlcIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBudWxsLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwic3RydWN0dXJlXCIsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wiYXV0aG9yXCJdLFxuICAgICAgICAgICAgZGVwcmVjYXRlZDogdHJ1ZSxcbiAgICAgICAgICAgIGRlcHJlY2F0ZWRQcm9wczogWydhcmlhLWRpc2FibGVkJywgJ2FyaWEtZXJyb3JtZXNzYWdlJywgJ2FyaWEtaGFzcG9wdXAnLCAnYXJpYS1pbnZhbGlkJ10gIFxuICAgICAgICB9LCBcbiAgICAgICAgXCJkb2MtYWJzdHJhY3RcIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBudWxsLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwibGFuZG1hcmtcIixcbiAgICAgICAgICAgIG5hbWVSZXF1aXJlZDogZmFsc2UsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wiYXV0aG9yXCJdXG4gICAgICAgIH0sXG4gICAgICAgIFwiZG9jLWFja25vd2xlZGdtZW50c1wiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IG51bGwsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJsYW5kbWFya1wiLFxuICAgICAgICAgICAgbmFtZVJlcXVpcmVkOiBmYWxzZSxcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIl1cbiAgICAgICAgfSxcbiAgICAgICAgXCJkb2MtYWZ0ZXJ3b3JkXCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogbnVsbCxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogbnVsbCxcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcImxhbmRtYXJrXCIsXG4gICAgICAgICAgICBuYW1lUmVxdWlyZWQ6IGZhbHNlLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcImF1dGhvclwiXVxuICAgICAgICB9LFxuICAgICAgICBcImRvYy1hcHBlbmRpeFwiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IG51bGwsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJsYW5kbWFya1wiLFxuICAgICAgICAgICAgbmFtZVJlcXVpcmVkOiBmYWxzZSxcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIl1cbiAgICAgICAgfSxcbiAgICAgICAgXCJkb2MtYmFja2xpbmtcIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IFtcImFyaWEtZGlzYWJsZWRcIiwgXCJhcmlhLWV4cGFuZGVkXCIsIFwiYXJpYS1oYXNwb3B1cFwiXSxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IFwiYSB8IGxpbmtcIixcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcIndpZGdldFwiLFxuICAgICAgICAgICAgbmFtZVJlcXVpcmVkOiB0cnVlLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcImF1dGhvclwiLCBcImNvbnRlbnRzXCJdXG4gICAgICAgIH0sXG4gICAgICAgIFwiZG9jLWJpYmxpb2VudHJ5XCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogW1wibGlzdFwiXSxcbiAgICAgICAgICAgIHByb3BzOiBbXCJhcmlhLWxldmVsXCIsIFwiYXJpYS1wb3NpbnNldFwiLCBcImFyaWEtc2V0c2l6ZVwiXSxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IFwibGlcIixcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcInN0cnVjdHVyZVwiLFxuICAgICAgICAgICAgbmFtZVJlcXVpcmVkOiB0cnVlLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcImF1dGhvclwiXVxuICAgICAgICB9LFxuICAgICAgICBcImRvYy1iaWJsaW9ncmFwaHlcIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBudWxsLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwibGFuZG1hcmtcIixcbiAgICAgICAgICAgIG5hbWVSZXF1aXJlZDogZmFsc2UsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wiYXV0aG9yXCJdXG4gICAgICAgIH0sXG4gICAgICAgIFwiZG9jLWJpYmxpb3JlZlwiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogW1wiYXJpYS1kaXNhYmxlZFwiLCBcImFyaWEtZXhwYW5kZWRcIiwgXCJhcmlhLWhhc3BvcHVwXCJdLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogbnVsbCxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogXCJhIHwgbGlua1wiLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwid2lkZ2V0XCIsXG4gICAgICAgICAgICBuYW1lUmVxdWlyZWQ6IHRydWUsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wiYXV0aG9yXCIsIFwiY29udGVudHNcIl1cbiAgICAgICAgfSxcbiAgICAgICAgXCJkb2MtY2hhcHRlclwiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IG51bGwsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJsYW5kbWFya1wiLFxuICAgICAgICAgICAgbmFtZVJlcXVpcmVkOiBmYWxzZSxcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIl1cbiAgICAgICAgfSxcbiAgICAgICAgXCJkb2MtY29sb3Bob25cIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBudWxsLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwibGFuZG1hcmtcIixcbiAgICAgICAgICAgIG5hbWVSZXF1aXJlZDogdHJ1ZSxcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIl1cbiAgICAgICAgfSxcbiAgICAgICAgXCJkb2MtY29uY2x1c2lvblwiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IG51bGwsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJsYW5kbWFya1wiLFxuICAgICAgICAgICAgbmFtZVJlcXVpcmVkOiBmYWxzZSxcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIl1cbiAgICAgICAgfSxcbiAgICAgICAgXCJkb2MtY292ZXJcIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBcImltZ1wiLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwic3RydWN0dXJlXCIsXG4gICAgICAgICAgICBuYW1lUmVxdWlyZWQ6IGZhbHNlLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcImF1dGhvclwiXSxcbiAgICAgICAgICAgIHByZXNlbnRhdGlvbmFsQ2hpbGRyZW46IHRydWVcbiAgICAgICAgfSxcbiAgICAgICAgXCJkb2MtY3JlZGl0XCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogbnVsbCxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogbnVsbCxcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcImxhbmRtYXJrXCIsXG4gICAgICAgICAgICBuYW1lUmVxdWlyZWQ6IGZhbHNlLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcImF1dGhvclwiXVxuICAgICAgICB9LFxuICAgICAgICBcImRvYy1jcmVkaXRzXCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogbnVsbCxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogbnVsbCxcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcImxhbmRtYXJrXCIsXG4gICAgICAgICAgICBuYW1lUmVxdWlyZWQ6IGZhbHNlLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcImF1dGhvclwiXVxuICAgICAgICB9LFxuICAgICAgICBcImRvYy1kZWRpY2F0aW9uXCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogbnVsbCxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogbnVsbCxcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcImxhbmRtYXJrXCIsXG4gICAgICAgICAgICBuYW1lUmVxdWlyZWQ6IGZhbHNlLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcImF1dGhvclwiXVxuICAgICAgICB9LFxuICAgICAgICBcImRvYy1lbmRub3RlXCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogW1wibGlzdFwiXSxcbiAgICAgICAgICAgIHByb3BzOiBbXCJhcmlhLWxldmVsXCIsIFwiYXJpYS1wb3NpbnNldFwiLCBcImFyaWEtc2V0c2l6ZVwiXSxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IFwibGlcIixcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcInN0cnVjdHVyZVwiLFxuICAgICAgICAgICAgbmFtZVJlcXVpcmVkOiBmYWxzZSxcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIl1cbiAgICAgICAgfSxcbiAgICAgICAgXCJkb2MtZW5kbm90ZXNcIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBudWxsLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwibGFuZG1hcmtcIixcbiAgICAgICAgICAgIG5hbWVSZXF1aXJlZDogdHJ1ZSxcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIl1cbiAgICAgICAgfSxcbiAgICAgICAgXCJkb2MtZXBpZ3JhcGhcIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBudWxsLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwibGFuZG1hcmtcIixcbiAgICAgICAgICAgIG5hbWVSZXF1aXJlZDogZmFsc2UsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wiYXV0aG9yXCJdXG4gICAgICAgIH0sXG4gICAgICAgIFwiZG9jLWVwaWxvZ3VlXCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogbnVsbCxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogbnVsbCxcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcImxhbmRtYXJrXCIsXG4gICAgICAgICAgICBuYW1lUmVxdWlyZWQ6IGZhbHNlLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcImF1dGhvclwiXVxuICAgICAgICB9LFxuICAgICAgICBcImRvYy1lcnJhdGFcIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBudWxsLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwibGFuZG1hcmtcIixcbiAgICAgICAgICAgIG5hbWVSZXF1aXJlZDogZmFsc2UsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wiYXV0aG9yXCJdXG4gICAgICAgIH0sXG4gICAgICAgIFwiZG9jLWV4YW1wbGVcIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBudWxsLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwibGFuZG1hcmtcIixcbiAgICAgICAgICAgIG5hbWVSZXF1aXJlZDogZmFsc2UsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wiYXV0aG9yXCJdXG4gICAgICAgIH0sXG4gICAgICAgIFwiZG9jLWZvb3Rub3RlXCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogbnVsbCxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogbnVsbCxcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcImxhbmRtYXJrXCIsXG4gICAgICAgICAgICBuYW1lUmVxdWlyZWQ6IGZhbHNlLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcImF1dGhvclwiXVxuICAgICAgICB9LFxuICAgICAgICBcImRvYy1mb3Jld29yZFwiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IG51bGwsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJsYW5kbWFya1wiLFxuICAgICAgICAgICAgbmFtZVJlcXVpcmVkOiBmYWxzZSxcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIl1cbiAgICAgICAgfSxcbiAgICAgICAgXCJkb2MtZ2xvc3NhcnlcIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBudWxsLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwibGFuZG1hcmtcIixcbiAgICAgICAgICAgIG5hbWVSZXF1aXJlZDogZmFsc2UsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wiYXV0aG9yXCJdXG4gICAgICAgIH0sXG4gICAgICAgIFwiZG9jLWdsb3NzcmVmXCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBbXCJhcmlhLWRpc2FibGVkXCIsIFwiYXJpYS1leHBhbmRlZFwiLCBcImFyaWEtaGFzcG9wdXBcIl0sXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBcImEgfCBsaW5rXCIsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJ3aWRnZXRcIixcbiAgICAgICAgICAgIG5hbWVSZXF1aXJlZDogdHJ1ZSxcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIiwgXCJjb250ZW50c1wiXVxuICAgICAgICB9LFxuICAgICAgICBcImRvYy1pbmRleFwiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IG51bGwsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJsYW5kbWFya1wiLFxuICAgICAgICAgICAgbmFtZVJlcXVpcmVkOiBmYWxzZSxcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIl1cbiAgICAgICAgfSxcbiAgICAgICAgXCJkb2MtaW50cm9kdWN0aW9uXCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogbnVsbCxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogbnVsbCxcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcImxhbmRtYXJrXCIsXG4gICAgICAgICAgICBuYW1lUmVxdWlyZWQ6IGZhbHNlLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcImF1dGhvclwiXVxuICAgICAgICB9LFxuICAgICAgICBcImRvYy1ub3RlcmVmXCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBbXCJhcmlhLWRpc2FibGVkXCIsIFwiYXJpYS1leHBhbmRlZFwiLCBcImFyaWEtaGFzcG9wdXBcIl0sXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBcImEgfCBsaW5rXCIsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJ3aWRnZXRcIixcbiAgICAgICAgICAgIG5hbWVSZXF1aXJlZDogdHJ1ZSxcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIiwgXCJjb250ZW50c1wiXVxuICAgICAgICB9LFxuICAgICAgICBcImRvYy1ub3RpY2VcIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBudWxsLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwic3RydWN0dXJlXCIsXG4gICAgICAgICAgICBuYW1lUmVxdWlyZWQ6IGZhbHNlLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcImF1dGhvclwiXVxuICAgICAgICB9LFxuICAgICAgICBcImRvYy1wYWdlYnJlYWtcIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IFtcImFyaWEtb3JpZW50YXRpb25cIl0sIC8vIGFyaWEtZGlzYWJsZWQsIGFyaWEtdmFsdWVtYXgsIGFyaWEtdmFsdWVtaW4sIGFyaWEtdmFsdWV0ZXh0IGFyZSB2YWxpZCBpZiBmb2N1c2FibGUuIFRoaXMgaXMgaGFuZGxlZCBpbiB0aGUgY29kZS5cbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLCAvLyBhcmlhLXZhbHVlbm93IGlzIHJlcXVpcmVkIGlmIGZvY3VzYWJsZS4gVGhpcyBpcyBoYW5kbGVkIGluIHRoZSBjb2RlLlxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IG51bGwsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJzdHJ1Y3R1cmVcIiwgLy8gb3Igd2lkZ2V0IGlmIGZvY3VzYWJsZVxuICAgICAgICAgICAgbmFtZVJlcXVpcmVkOiB0cnVlLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcImF1dGhvclwiLCBcImNvbnRlbnRzXCJdLFxuICAgICAgICAgICAgcHJlc2VudGF0aW9uYWxDaGlsZHJlbjogdHJ1ZVxuICAgICAgICB9LFxuICAgICAgICBcImRvYy1wYWdlbGlzdFwiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IG51bGwsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJsYW5kbWFya1wiLFxuICAgICAgICAgICAgbmFtZVJlcXVpcmVkOiBmYWxzZSxcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIl1cbiAgICAgICAgfSxcbiAgICAgICAgXCJkb2MtcGFnZWZvb3RlclwiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IG51bGwsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJsYW5kbWFya1wiLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcInByb2hpYml0ZWRcIl0sXG4gICAgICAgICAgICBwcm9oaWJpdGVkUHJvcHM6IFtcImFyaWEtbGFiZWxcIiwgXCJhcmlhLWxhYmVsbGVkYnlcIl0sXG4gICAgICAgIH0sXG4gICAgICAgIFwiZG9jLXBhZ2VoZWFkZXJcIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBudWxsLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwibGFuZG1hcmtcIixcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJwcm9oaWJpdGVkXCJdLFxuICAgICAgICAgICAgcHJvaGliaXRlZFByb3BzOiBbXCJhcmlhLWxhYmVsXCIsIFwiYXJpYS1sYWJlbGxlZGJ5XCJdLFxuICAgICAgICB9LFxuICAgICAgICBcImRvYy1wYXJ0XCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogbnVsbCxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogbnVsbCxcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcImxhbmRtYXJrXCIsXG4gICAgICAgICAgICBuYW1lUmVxdWlyZWQ6IGZhbHNlLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcImF1dGhvclwiXVxuICAgICAgICB9LFxuICAgICAgICBcImRvYy1wcmVmYWNlXCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogbnVsbCxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogbnVsbCxcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcImxhbmRtYXJrXCIsXG4gICAgICAgICAgICBuYW1lUmVxdWlyZWQ6IGZhbHNlLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcImF1dGhvclwiXVxuICAgICAgICB9LFxuICAgICAgICBcImRvYy1wcm9sb2d1ZVwiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IG51bGwsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJsYW5kbWFya1wiLFxuICAgICAgICAgICAgbmFtZVJlcXVpcmVkOiBmYWxzZSxcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIl1cbiAgICAgICAgfSxcbiAgICAgICAgXCJkb2MtcHVsbHF1b3RlXCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogbnVsbCxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogbnVsbCxcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcInN0cnVjdHVyZVwiLFxuICAgICAgICAgICAgbmFtZVJlcXVpcmVkOiBmYWxzZSxcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIl1cbiAgICAgICAgfSxcbiAgICAgICAgXCJkb2MtcW5hXCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogbnVsbCxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogbnVsbCxcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcImxhbmRtYXJrXCIsXG4gICAgICAgICAgICBuYW1lUmVxdWlyZWQ6IGZhbHNlLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcImF1dGhvclwiXVxuICAgICAgICB9LFxuICAgICAgICBcImRvYy1zdWJ0aXRsZVwiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IG51bGwsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJzdHJ1Y3R1cmVcIixcbiAgICAgICAgICAgIG5hbWVSZXF1aXJlZDogZmFsc2UsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wiYXV0aG9yXCIsIFwiY29udGVudHNcIl1cbiAgICAgICAgfSxcbiAgICAgICAgXCJkb2MtdGlwXCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogbnVsbCxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogbnVsbCxcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcInN0cnVjdHVyZVwiLFxuICAgICAgICAgICAgbmFtZVJlcXVpcmVkOiBmYWxzZSxcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIl1cbiAgICAgICAgfSxcbiAgICAgICAgXCJkb2MtdG9jXCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogbnVsbCxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogbnVsbCxcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcImxhbmRtYXJrXCIsXG4gICAgICAgICAgICBuYW1lUmVxdWlyZWQ6IGZhbHNlLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcImF1dGhvclwiXVxuICAgICAgICB9LFxuICAgICAgICBcImRvY3VtZW50XCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogbnVsbCxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogbnVsbCxcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcInN0cnVjdHVyZVwiLFxuICAgICAgICAgICAgbmFtZVJlcXVpcmVkOiBmYWxzZSxcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIl0sXG4gICAgICAgICAgICBkZXByZWNhdGVkUHJvcHM6IFsnYXJpYS1kaXNhYmxlZCcsICdhcmlhLWVycm9ybWVzc2FnZScsICdhcmlhLWhhc3BvcHVwJywgJ2FyaWEtaW52YWxpZCddIFxuICAgICAgICB9LFxuXG4gICAgICAgIFwiZW1waGFzaXNcIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBudWxsLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwic3RydWN0dXJlXCIsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wicHJvaGliaXRlZFwiXSxcbiAgICAgICAgICAgIHByb2hpYml0ZWRQcm9wczogW1wiYXJpYS1sYWJlbFwiLCBcImFyaWEtbGFiZWxsZWRieVwiXSxcbiAgICAgICAgICAgIGRlcHJlY2F0ZWRQcm9wczogWydhcmlhLWRpc2FibGVkJywgJ2FyaWEtZXJyb3JtZXNzYWdlJywgJ2FyaWEtaGFzcG9wdXAnLCAnYXJpYS1pbnZhbGlkJ10gXG4gICAgICAgIH0sXG5cbiAgICAgICAgXCJmZWVkXCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogW1wiYXJ0aWNsZVwiXSxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogbnVsbCxcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcInN0cnVjdHVyZVwiLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcImF1dGhvclwiXSxcbiAgICAgICAgICAgIGRlcHJlY2F0ZWRQcm9wczogWydhcmlhLWRpc2FibGVkJywgJ2FyaWEtZXJyb3JtZXNzYWdlJywgJ2FyaWEtaGFzcG9wdXAnLCAnYXJpYS1pbnZhbGlkJ10gXG4gICAgICAgIH0sXG5cbiAgICAgICAgXCJmaWd1cmVcIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBudWxsLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwic3RydWN0dXJlXCIsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wiYXV0aG9yXCJdLFxuICAgICAgICAgICAgZGVwcmVjYXRlZFByb3BzOiBbJ2FyaWEtZGlzYWJsZWQnLCAnYXJpYS1lcnJvcm1lc3NhZ2UnLCAnYXJpYS1oYXNwb3B1cCcsICdhcmlhLWludmFsaWQnXSBcbiAgICAgICAgfSxcblxuICAgICAgICBcImZvcm1cIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBcImZvcm1cIixcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcImxhbmRtYXJrXCIsXG4gICAgICAgICAgICBuYW1lUmVxdWlyZWQ6IHRydWUsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wiYXV0aG9yXCJdLFxuICAgICAgICAgICAgZGVwcmVjYXRlZFByb3BzOiBbJ2FyaWEtZGlzYWJsZWQnLCAnYXJpYS1lcnJvcm1lc3NhZ2UnLCAnYXJpYS1oYXNwb3B1cCcsICdhcmlhLWludmFsaWQnXSBcbiAgICAgICAgfSxcblxuICAgICAgICBcImdlbmVyaWNcIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBcImRpdiB8IHNwYW5cIixcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcInN0cnVjdHVyZVwiLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcInByb2hpYml0ZWRcIl0sXG4gICAgICAgICAgICBwcm9oaWJpdGVkUHJvcHM6IFtcImFyaWEtbGFiZWxcIiwgXCJhcmlhLWxhYmVsbGVkYnlcIiwgXCJhcmlhLXJvbGVkZXNjcmlwdGlvblwiXSxcbiAgICAgICAgICAgIGRlcHJlY2F0ZWRQcm9wczogWydhcmlhLWRpc2FibGVkJywgJ2FyaWEtZXJyb3JtZXNzYWdlJywgJ2FyaWEtaGFzcG9wdXAnLCAnYXJpYS1pbnZhbGlkJ10gXG4gICAgICAgIH0sXG5cbiAgICAgICAgXCJncmFwaGljcy1kb2N1bWVudFwiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IG51bGwsXG4gICAgICAgICAgICBuYW1lUmVxdWlyZWQ6IHRydWUsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wiYXV0aG9yXCJdXG4gICAgICAgIH0sXG4gICAgICAgIFxuICAgICAgICBcImdyYXBoaWNzLW9iamVjdFwiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IG51bGwsXG4gICAgICAgICAgICBuYW1lUmVxdWlyZWQ6IGZhbHNlLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcImF1dGhvclwiXVxuICAgICAgICB9LFxuICAgICAgICBcbiAgICAgICAgXCJncmFwaGljcy1zeW1ib2xcIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBudWxsLFxuICAgICAgICAgICAgbmFtZVJlcXVpcmVkOiB0cnVlLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcImF1dGhvclwiXSxcbiAgICAgICAgICAgIHByZXNlbnRhdGlvbmFsQ2hpbGRyZW46IHRydWVcbiAgICAgICAgfSxcbiAgICAgICAgXG4gICAgICAgIFwiZ3JpZFwiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogW1wiYXJpYS1hY3RpdmVkZXNjZW5kYW50XCIsIFwiYXJpYS1jb2xjb3VudFwiLCBcImFyaWEtbXVsdGlzZWxlY3RhYmxlXCIsIFwiYXJpYS1yZWFkb25seVwiLCBcImFyaWEtcm93Y291bnRcIl0sXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBbXCJyb3dcIiwgXCJyb3dncm91cFw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yOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IFtcImFyaWEtYWN0aXZlZGVzY2VuZGFudFwiXSxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IG51bGwsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJzdHJ1Y3R1cmVcIixcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIl0sXG4gICAgICAgICAgICBkZXByZWNhdGVkUHJvcHM6IFsnYXJpYS1lcnJvcm1lc3NhZ2UnLCAnYXJpYS1oYXNwb3B1cCcsICdhcmlhLWludmFsaWQnXSBcbiAgICAgICAgfSxcblxuICAgICAgICBcImhlYWRpbmdcIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFQcm9wczogW1wiYXJpYS1sZXZlbFwiXSxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBcImgxIHwgaDIgfCBoMyB8IGg0IHwgaDUgfCBoNlwiLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwic3RydWN0dXJlXCIsXG4gICAgICAgICAgICBuYW1lUmVxdWlyZWQ6IHRydWUsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wiYXV0aG9yXCIsIFwiY29udGVudHNcIl0sXG4gICAgICAgICAgICBkZXByZWNhdGVkUHJvcHM6IFsnYXJpYS1kaXNhYmxlZCcsICdhcmlhLWVycm9ybWVzc2FnZScsICdhcmlhLWhhc3BvcHVwJywgJ2FyaWEtaW52YWxpZCddIFxuICAgICAgICB9LFxuXG4gICAgICAgIFwiaW1nXCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogbnVsbCxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogXCJpbWdcIixcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcInN0cnVjdHVyZVwiLFxuICAgICAgICAgICAgbmFtZVJlcXVpcmVkOiB0cnVlLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcImF1dGhvclwiXSxcbiAgICAgICAgICAgIHByZXNlbnRhdGlvbmFsQ2hpbGRyZW46IHRydWUsXG4gICAgICAgICAgICBkZXByZWNhdGVkUHJvcHM6IFsnYXJpYS1kaXNhYmxlZCcsICdhcmlhLWVycm9ybWVzc2FnZScsICdhcmlhLWhhc3BvcHVwJywgJ2FyaWEtaW52YWxpZCddIFxuICAgICAgICB9LFxuXG4gICAgICAgIFwiaW1hZ2VcIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBcImltZ1wiLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwic3RydWN0dXJlXCIsXG4gICAgICAgICAgICBuYW1lUmVxdWlyZWQ6IHRydWUsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wiYXV0aG9yXCJdLFxuICAgICAgICAgICAgcHJlc2VudGF0aW9uYWxDaGlsZHJlbjogdHJ1ZSxcbiAgICAgICAgICAgIGRlcHJlY2F0ZWRQcm9wczogWydhcmlhLWRpc2FibGVkJywgJ2FyaWEtZXJyb3JtZXNzYWdlJywgJ2FyaWEtaGFzcG9wdXAnLCAnYXJpYS1pbnZhbGlkJ10gXG4gICAgICAgIH0sXG5cbiAgICAgICAgXCJpbnNlcnRpb25cIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBudWxsLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwic3RydWN0dXJlXCIsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wicHJvaGliaXRlZFwiXSxcbiAgICAgICAgICAgIHByb2hpYml0ZWRQcm9wczogW1wiYXJpYS1sYWJlbFwiLCBcImFyaWEtbGFiZWxsZWRieVwiXSxcbiAgICAgICAgICAgIGRlcHJlY2F0ZWRQcm9wczogWydhcmlhLWRpc2FibGVkJywgJ2FyaWEtZXJyb3JtZXNzYWdlJywgJ2FyaWEtaGFzcG9wdXAnLCAnYXJpYS1pbnZhbGlkJ10gXG4gICAgICAgIH0sXG5cbiAgICAgICAgXCJsaW5rXCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBbXCJhcmlhLWV4cGFuZGVkXCJdLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogbnVsbCxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogXCJhIHwgbGlua1wiLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwid2lkZ2V0XCIsXG4gICAgICAgICAgICBuYW1lUmVxdWlyZWQ6IHRydWUsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wiYXV0aG9yXCIsIFwiY29udGVudHNcIl0sXG4gICAgICAgICAgICBkZXByZWNhdGVkUHJvcHM6IFsnYXJpYS1lcnJvcm1lc3NhZ2UnLCAnYXJpYS1pbnZhbGlkJ10gXG4gICAgICAgIH0sXG5cbiAgICAgICAgXCJsaXN0XCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBudWxsLFxuICAgICA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cIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBbXCJsaXN0XCJdLFxuICAgICAgICAgICAgcHJvcHM6IFtcImFyaWEtbGV2ZWxcIiwgXCJhcmlhLXBvc2luc2V0XCIsIFwiYXJpYS1zZXRzaXplXCJdLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogbnVsbCxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogXCJsaVwiLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwic3RydWN0dXJlXCIsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wiYXV0aG9yXCJdLFxuICAgICAgICAgICAgZGVwcmVjYXRlZFByb3BzOiBbJ2FyaWEtZGlzYWJsZWQnLCAnYXJpYS1lcnJvcm1lc3NhZ2UnLCAnYXJpYS1oYXNwb3B1cCcsICdhcmlhLWludmFsaWQnXSBcbiAgICAgICAgfSxcblxuICAgICAgICBcImxvZ1wiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IG51bGwsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJsaXZlUmVnaW9uXCIsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wiYXV0aG9yXCJdLFxuICAgICAgICAgICAgZGVwcmVjYXRlZFByb3BzOiBbJ2FyaWEtZGlzYWJsZWQnLCAnYXJpYS1lcnJvcm1lc3NhZ2UnLCAnYXJpYS1oYXNwb3B1cCcsICdhcmlhLWludmFsaWQnXSBcbiAgICAgICAgfSxcblxuICAgICAgICBcIm1haW5cIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBudWxsLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwibGFuZG1hcmtcIixcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIl0sXG4gICAgICAgICAgICBkZXByZWNhdGVkUHJvcHM6IFsnYXJpYS1kaXNhYmxlZCcsICdhcmlhLWVycm9ybWVzc2FnZScsICdhcmlhLWhhc3BvcHVwJywgJ2FyaWEtaW52YWxpZCddIFxuICAgICAgICB9LFxuXG4gICAgICAgIFwibWFya1wiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IFwibWFya1wiLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwic3RydWN0dXJlXCIsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wicHJvaGliaXRlZFwiXSxcbiAgICAgICAgICAgIHByb2hpYml0ZWRQcm9wczogW1wiYXJpYS1sYWJlbFwiLCBcImFyaWEtbGFiZWxsZWRieVwiXSxcbiAgICAgICAgICAgIGRlcHJlY2F0ZWRQcm9wczogWydhcmlhLWRpc2FibGVkJywgJ2FyaWEtZXJyb3JtZXNzYWdlJywgJ2FyaWEtaGFzcG9wdXAnLCAnYXJpYS1pbnZhbGlkJ10gXG4gICAgICAgIH0sXG5cbiAgICAgICAgXCJtYXJxdWVlXCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogbnVsbCxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogbnVsbCxcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcImxpdmVSZWdpb25cIixcbiAgICAgICAgICAgIG5hbWVSZXF1aXJlZDogdHJ1ZSxcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIl0sXG4gICAgICAgICAgICBkZXByZWNhdGVkUHJvcHM6IFsnYXJpYS1kaXNhYmxlZCcsICdhcmlhLWVycm9ybWVzc2FnZScsICdhcmlhLWhhc3BvcHVwJywgJ2FyaWEtaW52YWxpZCddIFxuICAgICAgICB9LFxuXG4gICAgICAgIFwibWF0aFwiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IG51bGwsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJzdHJ1Y3R1cmVcIixcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIl0sXG4gICAgICAgICAgICBwcmVzZW50YXRpb25hbENoaWxkcmVuOiBmYWxzZSxcbiAgICAgICAgICAgIGRlcHJlY2F0ZWRQcm9wczogWydhcmlhLWRpc2FibGVkJywgJ2FyaWEtZXJyb3JtZXNzYWdlJywgJ2FyaWEtaGFzcG9wdXAnLCAnYXJpYS1pbnZhbGlkJ10gXG4gICAgICAgIH0sXG5cbiAgICAgICAgXCJtZW51XCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBbXCJhcmlhLWFjdGl2ZWRlc2NlbmRhbnRcIiwgXCJhcmlhLW9yaWVudGF0aW9uXCJdLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogW1wiZ3JvdXBcIiwgXCJtZW51aXRlbVwiLCBcIm1lbnVp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B9LFxuXG4gICAgICAgIFwibWVudWl0ZW1cIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBbXCJncm91cFwiLCBcIm1lbnVcIiwgXCJtZW51YmFyXCJdLCAvLyBncm91cCBvbmx5IGNvdW50cyBhcyBhIHZhbGlkIGNvbnRhaW5lciBpZiBpdCBpcyBjb250YWluZWQgaW4gYSBtZW51IG9yIG1lbnViYXJcbiAgICAgICAgICAgIHByb3BzOiBbXCJhcmlhLWV4cGFuZGVkXCIsIFwiYXJpYS1wb3NpbnNldFwiLCBcImFyaWEtc2V0c2l6ZVwiXSxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IG51bGwsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJ3aWRnZXRcIixcbiAgICAgICAgICAgIG5hbWVSZXF1aXJlZDogdHJ1ZSxcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIiwgXCJjb250ZW50c1wiXSxcbiAgICAgICAgICAgIGRlcHJlY2F0ZWRQcm9wczogWydhcmlhLWVycm9ybWVzc2FnZScsICdhcmlhLWludmFsaWQnXSBcbiAgICAgICAgfSxcbiAgICAgICAgXG4gICAgICAgIFwibWVudWl0ZW1jaGVja2JveFwiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IFtcImdyb3VwXCIsIFwibWVudVwiLCBcIm1lbnViYXJcIl0sIC8vIGdyb3VwIG9ubHkgY291bnRzIGFzIGEgdmFsaWQgY29udGFpbmVyIGlmIGl0IGlzIGNvbnRhaW5lZCBpbiBhIG1lbnUgb3IgbWVudWJhclxuICAgICAgICAgICAgcHJvcHM6IFtcImFyaWEtZXhwYW5kZWRcIiwgXCJhcmlhLXBvc2luc2V0XCIsIFwiYXJpYS1zZXRzaXplXCJdLFxuICAgICAgICAgICAgcmVxUHJvcHM6IFtcImFyaWEtY2hlY2tlZFwiXSxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBudWxsLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwid2lkZ2V0XCIsXG4gICAgICAgICAgICBuYW1lUmVxdWlyZWQ6IHRydWUsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wiYXV0aG9yXCIsIFwiY29udGVudHNcIl0sXG4gICAgICAgICAgICBwcmVzZW50YXRpb25hbENoaWxkcmVuOiB0cnVlLFxuICAgICAgICAgICAgZGVwcmVjYXRlZFByb3BzOiBbJ2FyaWEtZXJyb3JtZXNzYWdlJywgJ2FyaWEtaW52YWxpZCddIFxuICAgICAgICB9LFxuXG4gICAgICAgIFwibWVudWl0ZW1yYWRpb1wiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IFtcImdyb3VwXCIsIFwibWVudVwiLCBcIm1lbnViYXJcIl0sIC8vIGdyb3VwIG9ubHkgY291bnRzIGFzIGEgdmFsaWQgY29udGFpbmVyIGlmIGl0IGlzIGNvbnRhaW5lZCBpbiBhIG1lbnUgb3IgbWVudWJhclxuICAgICAgICAgICAgcHJvcHM6IFtcImFyaWEtZXhwYW5kZWRcIiwgXCJhcmlhLXBvc2luc2V0XCIsIFwiYXJpYS1zZXRzaXplXCJdLFxuICAgICAgICAgICAgcmVxUHJvcHM6IFtcImFyaWEtY2hlY2tlZFwiXSxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBudWxsLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwid2lkZ2V0XCIsXG4gICAgICAgICAgICBuYW1lUmVxdWlyZWQ6IHRydWUsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wiYXV0aG9yXCIsIFwiY29udGVudHNcIl0sXG4gICAgICAgICAgICBwcmVzZW50YXRpb25hbENoaWxkcmVuOiB0cnVlLFxuICAgICAgICAgICAgZGVwcmVjYXRlZFByb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yaWEtZGlzYWJsZWQnLCAnYXJpYS1lcnJvcm1lc3NhZ2UnLCAnYXJpYS1oYXNwb3B1cCcsICdhcmlhLWludmFsaWQnXSBcbiAgICAgICAgfSxcblxuICAgICAgICBcIm5vbmVcIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IFtdLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogbnVsbCxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogbnVsbCxcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcInN0cnVjdHVyZVwiLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcInByb2hpYml0ZWRcIl0sXG4gICAgICAgICAgICBwcm9oaWJpdGVkUHJvcHM6IFtcImFyaWEtbGFiZWxcIiwgXCJhcmlhLWxhYmVsbGVkYnlcIl0sXG4gICAgICAgICAgICBkZXByZWNhdGVkUHJvcHM6IFsnYXJpYS1kaXNhYmxlZCcsICdhcmlhLWVycm9ybWVzc2FnZScsICdhcmlhLWhhc3BvcHVwJywgJ2FyaWEtaW52YWxpZCddIFxuICAgICAgICB9LFxuXG4gICAgICAgIFwibm90ZVwiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IG51bGwsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJzdHJ1Y3R1cmVcIixcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIl0sXG4gICAgICAgICAgICBkZXByZWNhdGVkUHJvcHM6IFsnYXJpYS1kaXNhYmxlZCcsICdhcmlhLWVycm9ybWVzc2FnZScsICdhcmlhLWhhc3BvcHVwJywgJ2FyaWEtaW52YWxpZCddIFxuICAgICAgICB9LFxuXG4gICAgICAgIFwib3B0aW9uXCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogW1wiZ3JvdXBcIiwgXCJsaXN0Ym94XCJdLCAvLyBncm91cCBvbmx5IGNvdW50cyBhcyBhIHZhbGlkIGNvbnRhaW5lciBpZiBpdCBpcyBjb250YWluZWQgaW4gYSBsaXN0Ym94XG4gICAgICAgICAgICBwcm9wczogW1wiYXJpYS1zZWxlY3RlZFwiLCBcImFyaWEtY2hlY2tlZFwiLCBcImFyaWEtcG9zaW5zZXRcIiwgXCJhcmlhLXNldHNpemVcIl0sXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCwgLy8gXCJhcmlhLXNlbGVjdGVkXCIgaGFzIGEgZGVmYXVsdFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IFwib3B0aW9uXCIsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJ3aWRnZXRcIixcbiAgICAgICAgICAgIG5hbWVSZXF1aXJlZDogdHJ1ZSxcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIiwgXCJjb250ZW50c1wiXSxcbiAgICAgICAgICAgIHByZXNlbnRhdGlvbmFsQ2hpbGRyZW46IHRydWUsXG4gICAgICAgICAgICBkZXByZWNhdGVkUHJvcHM6IFsnYXJpYS1lcnJvcm1lc3NhZ2UnLCAnYXJpYS1oYXNwb3B1cCcsICdhcmlhLWludmFsaWQnXSBcbiAgICAgICAgfSxcblxuICAgICAgICBcInBhcmFncmFwaFwiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IG51bGwsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJzdHJ1Y3R1cmVcIixcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJwcm9oaWJpdGVkXCJdLFxuICAgICAgICAgICAgcHJvaGliaXRlZFByb3BzOiBbXCJhcmlhLWxhYmVsXCIsIFwiYXJpYS1sYWJlbGxlZGJ5XCJdLFxuICAgICAgICAgICAgZGVwcmVjYXRlZFByb3BzOiBbJ2FyaWEtZGlzYWJsZWQnLCAnYXJpYS1lcnJvcm1lc3NhZ2UnLCAnYXJpYS1oYXNwb3B1cCcsICdhcmlhLWludmFsaWQnXSBcbiAgICAgICAgfSxcblxuICAgICAgICBcInByZXNlbnRhdGlvblwiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogW10sXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBudWxsLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwic3RydWN0dXJlXCIsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wicHJvaGliaXRlZFwiXSxcbiAgICAgICAgICAgIHByb2hpYml0ZWRQcm9wczogW1wiYXJpYS1sYWJlbFwiLCBcImFyaWEtbGFiZWxsZWRieVwiXSxcbiAgICAgICAgICAgIGRlcHJlY2F0ZWRQcm9wczogWydhcmlhLWRpc2FibGVkJywgJ2FyaWEtZXJyb3JtZXNzYWdlJywgJ2FyaWEtaGFzcG9wdXAnLCAnYXJpYS1pbnZhbGlkJ10gXG4gICAgICAgIH0sXG5cbiAgICAgICAgXCJwcm9ncmVzc2JhclwiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogW1wiYXJpYS12YWx1ZW1heFwiLCBcImFyaWEtdmFsdWVtaW5cIiwgXCJhcmlhLXZhbHVlbm93XCIsIFwiYXJpYS12YWx1ZXRleHRcIl0sXG4gICAgICAgICAgICBy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biAgICAgICAgXCJyYWRpb2dyb3VwXCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBbXCJhcmlhLWFjdGl2ZWRlc2NlbmRhbnRcIiwgXCJhcmlhLW9yaWVudGF0aW9uXCIsIFwiYXJpYS1yZWFkb25seVwiLCBcImFyaWEtcmVxdWlyZWRcIl0sXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBbXCJyYWRpb1wiXSxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogbnVsbCxcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcIndpZGdldFwiLFxuICAgICAgICAgICAgbmFtZVJlcXVpcmVkOiB0cnVlLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcImF1dGhvclwiXSxcbiAgICAgICAgICAgIGRlcHJlY2F0ZWRQcm9wczogWydhcmlhLWhhc3BvcHVwJ10gXG4gICAgICAgIH0sXG5cbiAgICAgICAgXCJyZWdpb25cIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBudWxsLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwibGFuZG1hcmtcIixcbiAgICAgICAgICAgIG5hbWVSZXF1aXJlZDogdHJ1ZSxcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIl0sXG4gICAgICAgICAgICBkZXByZWNhdGVkUHJvcHM6IFsnYXJpYS1kaXNhYmxlZCcsICdhcmlhLWVycm9ybWVzc2FnZScsICdhcmlhLWhhc3BvcHVwJywgJ2FyaWEtaW52YWxpZCddIFxuICAgICAgICB9LFxuXG4gICAgICAgIFwicm93XCI6IHtcbiAgICAgICA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29udHJvbHNcIiwgXCJhcmlhLXZhbHVlbm93XCJdLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IG51bGwsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJ3aWRnZXRcIixcbiAgICAgICAgICAgIG5hbWVSZXF1aXJlZDogZmFsc2UsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wiYXV0aG9yXCJdLFxuICAgICAgICAgICAgcHJlc2VudGF0aW9uYWxDaGlsZHJlbjogdHJ1ZSxcbiAgICAgICAgICAgIGRlcHJlY2F0ZWRQcm9wczogWydhcmlhLWVycm9ybWVzc2FnZScsICdhcmlhLWhhc3BvcHVwJywgJ2FyaWEtaW52YWxpZCddIFxuICAgICAgICB9LFxuXG4gICAgICAgIFwic2VhcmNoXCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogbnVsbCxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogbnVsbCxcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcImxhbmRtYXJrXCIsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wiYXV0aG9yXCJdLFxuICAgICAgICAgICAgZGVwcmVjYXRlZFByb3BzOiBbJ2FyaWEtZGlzYWJsZWQnLCAnYXJpYS1lcnJvcm1lc3NhZ2UnLCAnYXJpYS1oYXNwb3B1cCcsICdhcmlhLWludmFsaWQnXSBcbiAgICAgICAgfSxcblxuICAgICAgICBcInNlYXJjaGJveFwiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogW1wiYXJpYS1hY3RpdmVkZXNjZW5kYW50XCIsIFwiYXJpYS1hdXRvY29tcGxldGVcIiwgXCJhcmlhLW11bHRpbGluZVwiLCBcImFya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cm9wczogWydhcmlhLWVycm9ybWVzc2FnZScsICdhcmlhLWhhc3BvcHVwJywgJ2FyaWEtaW52YWxpZCddIFxuICAgICAgICB9LFxuXG4gICAgICAgIFwic2xpZGVyXCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBbXCJhcmlhLW9yaWVudGF0aW9uXCIsIFwiYXJpYS1yZWFkb25seVwiLCBcImFyaWEtdmFsdWVtYXhcIiwgXCJhcmlhLXZhbHVlbWluXCIsIFwiYXJpYS12YWx1ZXRleHRcIl0sXG4gICAgICAgICAgICByZXFQcm9wczogW1wiYXJpYS12YWx1ZW5vd1wiXSxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBudWxsLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwid2lkZ2V0XCIsXG4gICAgICAgICAgICBuYW1lUmVxdWlyZWQ6IHRydWUsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wiYXV0aG9yXCJdLFxuICAgICAgICAgICAgcHJlc2VudGF0aW9uYWxDaGlsZHJlbjogdHJ1ZVxuICAgICAgICB9LFxuXG4gICAgICAgIFwic3BpbmJ1dHRvblwiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogW1wiYXJpYS1hY3RpdmVkZXNjZW5kYW50XCIsIFwiYXJpYS1yZWFkb25seVwiLCBcImFyaWEtcmVxdWlyZWRcIiwgXCJhcmlhLXZhbHVlbWF4XCIsIFwiYXJpYS12YWx1ZW1pblwiLCBcImFyaWEtdmFsdWVub3dcIiwgXCJhcmlhLXZhbHVldGV4dFwiXSxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IG51bGwsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJ3aWRnZXRcIixcbiAgICAgICAgICAgIG5hbWVSZXF1aXJlZDogdHJ1ZSxcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIl0sXG4gICAgICAgICAgICBkZXByZWNhdGVkUHJvcHM6IFsnYXJpYS1oYXNwb3B1cCddIFxuICAgICAgICB9LFxuXG4gICAgICAgIFwic3RhdHVzXCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogbnVsbCxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogbnVsbCxcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcImxpdmVSZWdpb25cIixcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIl0sXG4gICAgICAgICAgICBkZXByZWNhdGVkUHJvcHM6IFsnYXJpYS1kaXNhYmxlZCcsICdhcmlhLWVycm9ybWVzc2FnZScsICdhcmlhLWhhc3BvcHVwJywgJ2FyaWEtaW52YWxpZCddIFxuICAgICAgICB9LFxuXG4gICAgICAgIFwic3Ryb25nXCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogbnVsbCxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogbnVsbCxcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcInN0cnVjdHVyZVwiLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcInByb2hpYml0ZWRcIl0sXG4gICAgICAgICAgICBwcm9oaWJpdGVkUHJvcHM6IFtcImFyaWEtbGFiZWxcIiwgXCJhcmlhLWxhYmVsbGVkYnlcIl0sXG4gICAgICAgICAgICBkZXByZWNhdGVkUHJvcHM6IFsnYXJpYS1kaXNhYmxlZCcsICdhcmlhLWVycm9ybWVzc2FnZScsICdhcmlhLWhhc3BvcHVwJywgJ2FyaWEtaW52YWxpZCddIFxuICAgICAgICB9LFxuXG4gICAgICAgIFwic3Vic2NyaXB0XCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogbnVsbCxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogbnVsbCxcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcInN0cnVjdHVyZVwiLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcInByb2hpYml0ZWRcIl0sXG4gICAgICAgICAgICBwcm9oaWJpdGVkUHJvcHM6IFtcImFyaWEtbGFiZWxcIiwgXCJhcmlhLWxhYmVsbGVkYnlcIl0sXG4gICAgICAgICAgICBkZXByZWNhdGVkUHJvcHM6IFsnYXJpYS1kaXNhYmxlZCcsICdhcmlhLWVycm9ybWVzc2FnZScsICdhcmlhLWhhc3BvcHVwJywgJ2FyaWEtaW52YWxpZCddIFxuICAgICAgICB9LFxuXG4gICAgICAgIFwic3VnZ2VzdGlvblwiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IG51bGwsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJzdHJ1Y3R1cmVcIixcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJwcm9oaWJpdGVkXCJdLFxuICAgICAgICAgICAgcHJvaGliaXRlZFByb3BzOiBbXCJhcmlhLWxhYmVsXCIsIFwiYXJpYS1sYWJlbGxlZGJ5XCJdLFxuICAgICAgICAgICAgZGVwcmVjYXRlZFByb3BzOiBbJ2FyaWEtZGlzYWJsZWQnLCAnYXJpYS1lcnJvcm1lc3NhZ2UnLCAnYXJpYS1oYXNwb3B1cCcsICdhcmlhLWludmFsaWQnXSBcbiAgICAgICAgfSxcblxuICAgICAgICBcInN1cGVyc2NyaXB0XCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogbnVsbCxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogbnVsbCxcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcInN0cnVjdHVyZVwiLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcInByb2hpYml0ZWRcIl0sXG4gICAgICAgICAgICBwcm9oaWJpdGVkUHJvcHM6IFtcImFyaWEtbGFiZWxcIiwgXCJhcmlhLWxhYmVsbGVkYnlcIl0sXG4gICAgICAgICAgICBkZXByZWNhdGVkUHJvcHM6IFsnYXJpYS1kaXNhYmxlZCcsICdhcmlhLWVycm9ybWVzc2FnZScsICdhcmlhLWhhc3BvcHVwJywgJ2FyaWEtaW52YWxpZCddIFxuICAgICAgICB9LFxuXG4gICAgICAgIFwic3dpdGNoXCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBbXCJhcmlhLWV4cGFuZGVkXCIsIFwiYXJpYS1yZWFkb25seVwiLCBcImFyaWEtcmVxdWlyZWRcIl0sXG4gICAgICAgICAgICByZXFQcm9wczogW1wiYXJpYS1jaGVja2VkXCJdLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IG51bGwsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJ3aWRnZXRcIixcbiAgICAgICAgICAgIG5hbWVSZXF1aXJlZDogdHJ1ZSxcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIiwgXCJjb250ZW50c1wiXSxcbiAgICAgICAgICAgIHByZXNlbnRhdGlvbmFsQ2hpbGRyZW46IHRydWUsXG4gICAgICAgICAgICBkZXByZWNhdGVkUHJvcHM6IFsnYXJpYS1oYXNwb3B1cCddIFxuICAgICAgICB9LFxuXG4gICAgICAgIFwidGFiXCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogW1widGFibGlzdFwiXSxcbiAgICAgICAgICAgIHByb3BzOiBbXCJhcmlhLWV4cGFuZGVkXCIsIFwiYXJpYS1wb3NpbnNldFwiLCBcImFyaWEtc2VsZWN0ZWRcIiwgXCJhcmlhLXNldHNpemVcIl0sXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBudWxsLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwid2lkZ2V0XCIsXG4gICAgICAgICAgICBuYW1lUmVxdWlyZWQ6IHRydWUsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wiYXV0aG9yXCIsIFwiY29udGVudHNcIl0sXG4gICAgICAgICAgICBwcmVzZW50YXRpb25hbENoaWxkcmVuOiB0cnVlLFxuICAgICAgICAgICAgZGVwcmVjYXRlZFByb3BzOiBbJ2FyaWEtZXJyb3JtZXNzYWdlJywgJ2FyaWEtaW52YWxpZCddIFxuICAgICAgICB9LFxuXG4gICAgICAgIFwidGFibGVcIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IFtcImFyaWEtY29sY291bnRcIiwgXCJhcmlhLXJvd2NvdW50XCJdLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogW1wicm93XCIsIFwicm93Z3JvdXBcIiwgXCJjYXB0aW9uXCJdLCAvLyByb3dncm91cCBhbmQgY2FwdGlvbiBhcmUgbm90IHJlcXVpcmVkLCBidXQgaXQgaXMgYWxsb3dlZFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBcInRhYmxlXCIsXG4gICAgICAgICAgICByb2xlVHlwZTogXCJzdHJ1Y3R1cmVcIixcbiAgICAgICAgICAgIG5hbWVSZXF1aXJlZDogdHJ1ZSxcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIl0sXG4gICAgICAgICAgICBkZXByZWNhdGVkUHJvcHM6IFsnYXJpYS1kaXNhYmxlZCcsICdhcmlhLWVycm9ybWVzc2FnZScsICdhcmlhLWhhc3BvcHVwJywgJ2FyaWEtaW52YWxpZCddIFxuICAgICAgICB9LFxuXG4gICAgICAgIFwidGFibGlzdFwiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogW1wiYXJpYS1hY3RpdmVkZXNjZW5kYW50XCIsIFwiYXJpYS1tdWx0aXNlbGVjdGFibGVcIiwgXCJhcmlhLW9yaWVudGF0aW9uXCJdLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogW1widGFiXCJdLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBudWxsLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwid2lkZ2V0XCIsXG4gICAgICAgICAgICBuYW1lUmVxdWlyZWQ6IGZhbHNlLCBcbiAgICAgICAgICAgIG5hbWVGcm9tOiBbXCJhdXRob3JcIl0sXG4gICAgICAgICAgICBkZXByZWNhdGVkUHJvcHM6IFsnYXJpYS1lcnJvcm1lc3NhZ2UnLCAnYXJpYS1oYXNwb3B1cCcsICdhcmlhLWludmFsaWQnXSBcbiAgICAgICAgfSxcblxuICAgICAgICBcInRhYnBhbmVsXCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogbnVsbCxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogbnVsbCxcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcIndpZGdldFwiLFxuICAgICAgICAgICAgbmFtZVJlcXVpcmVkOiB0cnVlLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcImF1dGhvclwiXSxcbiAgICAgICAgICAgIGRlcHJlY2F0ZWRQcm9wczogWydhcmlhLWRpc2FibGVkJywgJ2FyaWEtZXJyb3JtZXNzYWdlJywgJ2FyaWEtaGFzcG9wdXAnLCAnYXJpYS1pbnZhbGlkJ10gXG4gICAgICAgIH0sXG5cbiAgICAgICAgXCJ0ZXJtXCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogbnVsbCxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogXCJkZm5cIixcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcInN0cnVjdHVyZVwiLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcInByb2hpYml0ZWRcIl0sXG4gICAgICAgICAgICBwcm9oaWJpdGVkUHJvcHM6IFtcImFyaWEtbGFiZWxcIiwgXCJhcmlhLWxhYmVsbGVkYnlcIl0sXG4gICAgICAgICAgICBkZXByZWNhdGVkUHJvcHM6IFsnYXJpYS1kaXNhYmxlZCcsICdhcmlhLWVycm9ybWVzc2FnZScsICdhcmlhLWhhc3BvcHVwJywgJ2FyaWEtaW52YWxpZCddIFxuICAgICAgICB9LFxuXG4gICAgICAgIFwidGV4dGJveFwiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogW1wiYXJpYS1hY3RpdmVkZXNjZW5kYW50XCIsIFwiYXJpYS1hdXRvY29tcGxldGVcIiwgXCJhcmlhLW11bHRpbGluZVwiLCBcImFyaWEtcGxhY2Vob2xkZXJcIiwgXCJhcmlhLXJlYWRvbmx5XCIsIFwiYXJpYS1yZXF1aXJlZFwiXSxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IFwiaW5wdXRbQHR5cGU9J3RleHQnXVwiLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwid2lkZ2V0XCIsXG4gICAgICAgICAgICBuYW1lUmVxdWlyZWQ6IHRydWUsXG4gICAgICAgICAgICBuYW1lRnJvbTogW1wiYXV0aG9yXCJdXG4gICAgICAgIH0sXG5cbiAgICAgICAgXCJ0aW1lXCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogbnVsbCxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogbnVsbCxcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcInN0cnVjdHVyZVwiLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcInByb2hpYml0ZWRcIl0sXG4gICAgICAgICAgICBwcm9oaWJpdGVkUHJvcHM6IFtcImFyaWEtbGFiZWxcIiwgXCJhcmlhLWxhYmVsbGVkYnlcIl0sXG4gICAgICAgICAgICBkZXByZWNhdGVkUHJvcHM6IFsnYXJpYS1kaXNhYmxlZCcsICdhcmlhLWVycm9ybWVzc2FnZScsICdhcmlhLWhhc3BvcHVwJywgJ2FyaWEtaW52YWxpZCddIFxuICAgICAgICB9LFxuXG4gICAgICAgIFwidGltZXJcIjoge1xuICAgICAgICAgICAgY29udGFpbmVyOiBudWxsLFxuICAgICAgICAgICAgcHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFQcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcUNoaWxkcmVuOiBudWxsLFxuICAgICAgICAgICAgaHRtbEVxdWl2OiBudWxsLFxuICAgICAgICAgICAgcm9sZVR5cGU6IFwibGl2ZVJlZ2lvblwiLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcImF1dGhvclwiXSxcbiAgICAgICAgICAgIGRlcHJlY2F0ZWRQcm9wczogWydhcmlhLWRpc2FibGVkJywgJ2FyaWEtZXJyb3JtZXNzYWdlJywgJ2FyaWEtaGFzcG9wdXAnLCAnYXJpYS1pbnZhbGlkJ10gXG4gICAgICAgIH0sXG5cbiAgICAgICAgXCJ0b29sYmFyXCI6IHtcbiAgICAgICAgICAgIGNvbnRhaW5lcjogbnVsbCxcbiAgICAgICAgICAgIHByb3BzOiBbXCJhcmlhLWFjdGl2ZWRlc2NlbmRhbnRcIiwgXCJhcmlhLW9yaWVudGF0aW9uXCJdLFxuICAgICAgICAgICAgcmVxUHJvcHM6IG51bGwsXG4gICAgICAgICAgICByZXFDaGlsZHJlbjogbnVsbCxcbiAgICAgICAgICAgIGh0bWxFcXVpdjogbnVsbCxcbiAgICAgICAgICAgIHJvbGVUeXBlOiBcInN0cnVjdHVyZVwiLFxuICAgICAgICAgICAgbmFtZUZyb206IFtcImF1dGhvclwiXSxcbiAgICAgICAgICAgIGRlcHJlY2F0ZWRQcm9wczogWydhcmlhLWVycm9ybWVzc2FnZScsICdhcmlhLWhhc3BvcHVwJywgJ2FyaWEtaW52YWxpZCddIFxuICAgICAgICB9LFxuXG4gICAgICAgIFwidG9vbHRpcFwiOiB7XG4gICAgICAgICAgICBjb250YWluZXI6IG51bGwsXG4gICAgICAgICAgICBwcm9wczogbnVsbCxcbiAgICAgICAgICAgIHJlcVByb3BzOiBudWxsLFxuICAgICAgICAgICAgcmVxQ2hpbGRyZW46IG51bGwsXG4gICAgICAgICAgICBodG1sRXF1aXY6IG51bGwsXG4gICAgICAgICAgICBy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joge1xuICAgICAgICAgICAgaW1wbGljaXRSb2xlOiBudWxsLFxuICAgICAgICAgICAgdmFsaWRSb2xlczogW1wiYXBwbGljYXRpb25cIl0sXG4gICAgICAgICAgICBnbG9iYWxBcmlhQXR0cmlidXRlc1ZhbGlkOiB0cnVlXG4gICAgICAgIH0sXG4gICAgICAgIFwiYlwiOiB7XG4gICAgICAgICAgICBpbXBsaWNpdFJvbGU6IFtcImdlbmVyaWNcIl0sXG4gICAgICAgICAgICB2YWxpZFJvbGVzOiBbXCJhbnlcIl0sXG4gICAgICAgICAgICBnbG9iYWxBcmlhQXR0cmlidXRlc1ZhbGlkOiB0cnVlXG4gICAgICAgIH0sXG4gICAgICAgIFwiYmFzZVwiOiB7XG4gICAgICAgICAgICBpbXBsaWNpdFJvbGU6IG51bGwsXG4gICAgICAgICAgICB2YWxpZFJvbGVzOiBudWxsLFxuICAgICAgICAgICAgZ2xvYmFsQXJpYUF0dHJpYnV0ZXNWYWxpZDogZmFsc2VcbiAgICAgICAgfSxcbiAgICAgICAgXCJiZGlcIjoge1xuICAgICAgICAgICAgaW1wbGljaXRSb2xlOiBbXCJnZW5lcmljXCJdLFxuICAgICAgICAgICAgdmFsaWRSb2xlczogW1wiYW55XCJdLFxuICAgICAgICAgICAgZ2xvYmFsQXJpYUF0dHJpYnV0ZXNWYWxpZDogdHJ1ZVxuICAgICAgICB9LFxuICAgICAgICBcImJkb1wiOiB7XG4gICAgICAgICAgICBpbXBsaWNpdFJvbGU6IFtcImdlbmVyaWNcIl0sXG4gICAgICAgICAgICB2YWxpZFJvbGVzOiBbXCJhbnlcIl0sXG4gICAgICAgICAgICBnbG9iYWxBcmlhQXR0cmlidXRlc1ZhbGlkOiB0cnVlXG4gICAgICAgIH0sXG4gICAgICAgIFwiYmxvY2txdW90ZVwiOiB7XG4gICAgICAgICAgICBpbXBsaWNpdFJvbGU6IFtcImJsb2NrcXVvdGVcIl0sXG4gICAgICAgICAgICB2YWxpZFJvbGVzOiBbXCJhbnl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XBsaWNpdFJvbGU6IG51bGwsXG4gICAgICAgICAgICB2YWxpZFJvbGVzOiBudWxsLFxuICAgICAgICAgICAgZ2xvYmFsQXJpYUF0dHJpYnV0ZXNWYWxpZDogZmFsc2VcbiAgICAgICAgfSxcbiAgICAgICAgXCJtYWluXCI6IHtcbiAgICAgICAgICAgIGltcGxpY2l0Um9sZTogW1wibWFpblwiXSxcbiAgICAgICAgICAgIHZhbGlkUm9sZXM6IG51bGwsXG4gICAgICAgICAgICBnbG9iYWxBcmlhQXR0cmlidXRlc1ZhbGlkOiB0cnVlXG4gICAgICAgIH0sXG4gICAgICAgIFwibWFwXCI6IHtcbiAgICAgICAgICAgIGltcGxpY2l0Um9sZTogbnVsbCxcbiAgICAgICAgICAgIHZhbGlkUm9sZXM6IG51bGwsXG4gICAgICAgICAgICBnbG9iYWxBcmlhQXR0cmlidXRlc1ZhbGlkOiBmYWxzZVxuICAgICAgICB9LFxuICAgICAgICBcIm1hcmtcIjoge1xuICAgICAgICAgICAgaW1wbGljaXRSb2xlOiBudWxsLFxuICAgICAgICAgICAgdmFsaWRSb2xlczogW1wiYW55XCJdLFxuICAgICAgICAgICAgZ2xvYmFsQXJpYUF0dHJpYnV0ZXNWYWxpZDogdHJ1ZSxcbiAgICAgICAgICAgIHByb2hpYml0ZWRBcmlhQXR0cmlidXRlc1doZW5Ob0ltcGxpY2l0Um9sZTogW1wiYXJpYS1sYWJlbFwiLCBcImFyaWEtbGFiZWxsZWRieVwiXVxuICAgICAgICB9LFxuICAgICAgICBcIm1hdGhcIjoge1xuICAgICAgICAgICAgaW1wbGljaXRSb2xlOiBbXCJtYXRoXCJdLFxuICAgICAgICAgICAgdmFsaWRSb2xlczogbnVsbCxcbiAgICAgICAgICAgIGdsb2JhbEFyaWFBdHRyaWJ1dGVzVmFsaWQ6IHRydWVcbiAgICAgICAgfSxcbiAgICAgICAgXCJtZW51XCI6IHtcbiAgICAgICAgICAgIGltcGxpY2l0Um9sZTogW1wibGlzdFwiXSxc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IGltcGxpY2l0Um9sZTogW1wib3B0aW9uXCJdLFxuICAgICAgICAgICAgdmFsaWRSb2xlczogbnVsbCxcbiAgICAgICAgICAgIGdsb2JhbEFyaWFBdHRyaWJ1dGVzVmFsaWQ6IHRydWUsXG4gICAgICAgICAgICBvdGhlckRpc2FsbG93ZWRBcmlhQXR0cmlidXRlczogW1wiYXJpYS1zZWxlY3RlZFwiXVxuICAgICAgICB9LFxuICAgICAgICBcIm91dHB1dFwiOiB7XG4gICAgICAgICAgICBpbXBsaWNpdFJvbGU6IFtcInN0YXR1c1wiXSxcbiAgICAgICAgICAgIHZhbGlkUm9sZXM6IFtcImFueVwiXSxcbiAgICAgICAgICAgIGdsb2JhbEFyaWFBdHRyaWJ1dGVzVmFsaWQ6IHRydWVcbiAgICAgICAgfSxcbiAgICAgICAgXCJwXCI6IHtcbiAgICAgICAgICAgIGltcGxpY2l0Um9sZTogW1wicGFyYWdyYXBoXCJdLFxuICAgICAgICAgICAgdmFsaWRSb2xlczogW1wiYW55XCJdLFxuICAgICAgICAgICAgZ2xvYmFsQXJpYUF0dHJpYnV0ZXNWYWxpZDogdHJ1ZVxuICAgICAgICB9LFxuICAgICAgICBcInBhcmFtXCI6IHtcbiAgICAgICAgICAgIGltcGxpY2l0Um9sZTogbnVsbCxcbiAgICAgICAgICAgIHZhbGlkUm9sZXM6IG51bGwsXG4gICAgICAgICAgICBnbG9iYWxBcmlhQXR0cmlidXRlc1ZhbGlkOiBmYWxzZVxuICAgICAgICB9LFxuICAgICAgICBcInBpY3R1cmVcIjoge1xuICAgICAgICAgICAgaW1wbGljaXRSb2xlOiBudWxsLFxuICAgICAgICAgICAgdmFsaWRSb2xlczogbnVsbCxcbiAgICAgICAgICAgIGdsb2JhbEFyaWFBdHRyaWJ1dGVzVmFsaWQ6IGZhbHNlLFxuICAgICAgICAgICAgb3RoZXJBbGxvd2VkQXJpYUF0dHJpYnV0ZXM6IFtcImFyaWEtaGlkZGVuXCJdIFxuICAgICAgICB9LFxu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0cnVlXG4gICAgICAgIH0sXG4gICAgICAgIFwidGVtcGxhdGVcIjoge1xuICAgICAgICAgICAgaW1wbGljaXRSb2xlOiBudWxsLFxuICAgICAgICAgICAgdmFsaWRSb2xlczogbnVsbCxcbiAgICAgICAgICAgIGdsb2JhbEFyaWFBdHRyaWJ1dGVzVmFsaWQ6IGZhbHNlXG4gICAgICAgIH0sXG4gICAgICAgIFwidGV4dGFyZWFcIjoge1xuICAgICAgICAgICAgaW1wbGljaXRSb2xlOiBbXCJ0ZXh0Ym94XCJdLFxuICAgICAgICAgICAgdmFsaWRSb2xlczogbnVsbCxcbiAgICAgICAgICAgIGdsb2JhbEFyaWFBdHRyaWJ1dGVzVmFsaWQ6IHRydWVcbiAgICAgICAgfSxcbiAgICAgICAgXCJ0Zm9vdFwiOiB7XG4gICAgICAgICAgICBpbXBsaWNpdFJvbGU6IFtcInJvd2dyb3VwXCJdLFxuICAgICAgICAgICAgdmFsaWRSb2xlczogW1wiYW55XCJdLFxuICAgICAgICAgICAgZ2xvYmFsQXJpYUF0dHJpYnV0ZXNWYWxpZDogdHJ1ZVxuICAgICAgICB9LFxuICAgICAgICBcInRoZWFkXCI6IHtcbiAgICAgICAgICAgIGltcGxpY2l0Um9sZTogW1wicm93Z3JvdXBcIl0sXG4gICAgICAgICAgICB2YWxpZFJvbGVzOiBbXCJhbnlcIl0sXG4gICAgICAgICAgICBnbG9iYWxBcmlhQXR0cmlidXRlc1ZhbGlkOiB0cnVlXG4gICAgICAgIH0sXG4gICAgICAgIFwidGltZVwiOiB7XG4gICAgICAgICAgICBpbXBsaWNpdFJvbGU6IFtcInRpbWVcIl0sXG4gICAgICAgICAgICB2YWxpZFJvbGVzOiBbXCJhbnlcIl0sXG4gICAgICAgICAgICBnbG9iYWxBcmlhQXR0cmlidXRlc1ZhbGlkOiB0cnVlXG4gICAgICAgIH0sXG4gICAgICAgIFwidGl0bGVcIjoge1xuICAgICAgICAgICAgaW1wbGljaXRSb2xlOiBudWxsLFxuICA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zOiBbXCJwcmVzZW50YXRpb25cIiwgXCJub25lXCJdLFxuICAgICAgICAgICAgICAgIGdsb2JhbEFyaWFBdHRyaWJ1dGVzVmFsaWQ6IHRydWVcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcIm5vLWNoaWxkLWRsXCI6IHtcbiAgICAgICAgICAgICAgICBpbXBsaWNpdFJvbGU6IFtcImdlbmVyaWNcIl0sXG4gICAgICAgICAgICAgICAgdmFsaWRSb2xlczogW1wiYW55XCJdLFxuICAgICAgICAgICAgICAgIGdsb2JhbEFyaWFBdHRyaWJ1dGVzVmFsaWQ6IHRydWVcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAgXCJmaWd1cmVcIjoge1xuICAgICAgICAgICAgXCJjaGlsZC1maWdjYXB0aW9uXCI6IHtcbiAgICAgICAgICAgICAgICBpbXBsaWNpdFJvbGU6IFtcImZpZ3VyZVwiXSxcbiAgICAgICAgICAgICAgICB2YWxpZFJvbGVzOiBbJ2RvYy1leGFtcGxlJ10sXG4gICAgICAgICAgICAgICAgZ2xvYmFsQXJpYUF0dHJpYnV0ZXNWYWxpZDogdHJ1ZVxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIFwibm8tY2hpbGQtZmlnY2FwdGlvblwiOiB7XG4gICAgICAgICAgICAgICAgaW1wbGljaXRSb2xlOiBbXCJmaWd1cmVcIl0sXG4gICAgICAgICAgICAgICAgdmFsaWRSb2xlczogW1wiYW55XCJdLFxuICAgICAgICAgICAgICAgIGdsb2JhbEFyaWFBdHRyaWJ1dGVzVmFsaWQ6IHRydWVcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAgXCJmb290ZXJcIjoge1xuICAgICAgICAgICAgXCJkZXMtc2VjdGlvbi1hcnRpY2xlLWFzaWRlLW1haW4tbmF2XCI6IHtcbiAgICAgICAgICAgICAgICBpbXBsaWNpdFJvbGU6IFtcImdlbmVyaWNcIl0sXG4gICAgICAgICAgICAgICAgL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dLFxuICAgICAgICAgICAgICAgIGdsb2JhbEFyaWFBdHRyaWJ1dGVzVmFsaWQ6IHRydWUsXG4gICAgICAgICAgICAgICAgb3RoZXJBbGxvd2VkQXJpYUF0dHJpYnV0ZXM6IFtcImFyaWEtcmVxdWlyZWRcIl0sXG4gICAgICAgICAgICAgICAgb3RoZXJEaXNhbGxvd2VkQXJpYUF0dHJpYnV0ZXM6IFtcImFyaWEtY2hlY2tlZFwiXVxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIFwiY29sb3JcIjoge1xuICAgICAgICAgICAgICAgIGltcGxpY2l0Um9sZTogbnVsbCxcbiAgICAgICAgICAgICAgICB2YWxpZFJvbGVzOiBudWxsLFxuICAgICAgICAgICAgICAgIGdsb2JhbEFyaWFBdHRyaWJ1dGVzVmFsaWQ6IHRydWVcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcImRhdGVcIjoge1xuICAgICAgICAgICAgICAgIGltcGxpY2l0Um9sZTogbnVsbCxcbiAgICAgICAgICAgICAgICB2YWxpZFJvbGVzOiBudWxsLFxuICAgICAgICAgICAgICAgIGdsb2JhbEFyaWFBdHRyaWJ1dGVzVmFsaWQ6IHRydWUsXG4gICAgICAgICAgICAgICAgb3RoZXJBbGxvd2VkQXJpYUF0dHJpYnV0ZXM6IFtcImFyaWEtcmVxdWlyZWRcIiwgXCJhcmlhLXJlYWRvbmx5XCJdLFxuICAgICAgICAgICAgICAgIG90aGVyUm9sZXNGb3JBdHRyaWJ1dGVzOiBbXCJ0ZXh0Ym94XCJdXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJkYXRldGltZS1sb2NhbFwiOiB7XG4gICAgICAgICAgICAgICAgaW1wbGljaXRSb2xlOiBudWxsLFxuICAgICAgICAgICAgICAgIHZhbGlkUm9sZXM6IG51bGwsXG4gICAgICAgICAgICAgICAgZ2xvYmFsQXJpYUF0dHJpYnV0ZXNWYWxpZDogdHJ1ZSxcbiAgICAgICAgICAgICAgICBvdGhlckFsbG93ZWRBcmlhQXR0cmlidXRlczogW1wiYXJpYS1yZXF1aXJlZFwiLCBcImFyaWEtcmVhZG9ubHlcIl0sXG4gICAgICAgICAgICAgICAgb3RoZXJSb2xlc0ZvckF0dHJpYnV0ZXM6IFtcInRleHRib3hcIl1cbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcImVtYWlsLW5vLWxpc3RcIjoge1xuICAgICAgICAgICAgICAgIGltcGxpY2l0Um9sZTogW1widGV4dGJveFwiXSxcbiAgICAgICAgICAgICAgICAvL3JvbGVDb25kaXRpb246IFwiIHdpdGggdHlwZT1lbWFpbCBhbmQgbm8gbGlzdCBhdHRyaWJ1dGUgaXMgcHJlc2VudFwiLFxuICAgICAgICAgICAgICAgIHZhbGlkUm9sZXM6IG51bGwsXG4gICAgICAgICAgICAgICAgZ2xvYmFsQXJpYUF0dHJpYnV0ZXNWYWxpZDogdHJ1ZSxcbiAgICAgICAgICAgICAgICBvdGhlckFsbG93ZWRBcmlhQXR0cmlidXRlczogW1wiYXJpYS1wbGFjZWhvbGRlclwiLCBcImFyaWEtcmVxdWlyZWRcIiwgXCJhcmlhLXJlYWRvbmx5XCJdLFxuICAgICAgICAgICAgICAgIG90aGVyUm9sZXNGb3JBdHRyaWJ1dGVzOiBbXCJ0ZXh0Ym94XCJdXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJlbWFpbC13aXRoLWxpc3RcIjoge1xuICAgICAgICAgICAgICAgIGltcGxpY2l0Um9sZTogW1wiY29tYm9ib3hcIl0sXG4gICAgICAgICAgICAgICAgdmFsaWRSb2xlczogbnVsbCxcbiAgICAgICAgICAgICAgICBnbG9iYWxBcmlhQXR0cmlidXRlc1ZhbGlkOiB0cnVlXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJmaWxlXCI6IHtcbiAgICAgICAgICAgICAgICBpbXBsaWNpdFJvbGU6IG51bGwsXG4gICAgICAgICAgICAgICAgdmFsaWRSb2xlczogbnVsbCxcbiAg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gICAgICAgICAgICAgb3RoZXJSb2xlc0ZvckF0dHJpYnV0ZXM6IFtcInRleHRib3hcIl1cbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcIm51bWJlclwiOiB7XG4gICAgICAgICAgICAgICAgaW1wbGljaXRSb2xlOiBbXCJzcGluYnV0dG9uXCJdLFxuICAgICAgICAgICAgICAgIHZhbGlkUm9sZXM6IG51bGwsXG4gICAgICAgICAgICAgICAgZ2xvYmFsQXJpYUF0dHJpYnV0ZXNWYWxpZDogdHJ1ZSxcbiAgICAgICAgICAgICAgICBvdGhlckFsbG93ZWRBcmlhQXR0cmlidXRlczogW1wiYXJpYS1wbGFjZWhvbGRlclwiLCBcImFyaWEtcmVxdWlyZWRcIiwgXCJhcmlhLXJlYWRvbmx5XCJdLFxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIFwicGFzc3dvcmRcIjoge1xuICAgICAgICAgICAgICAgIGltcGxpY2l0Um9sZTogbnVsbCxcbiAgICAgICAgICAgICAgICB2YWxpZFJvbGVzOiBudWxsLFxuICAgICAgICAgICAgICAgIGdsb2JhbEFyaWFBdHRyaWJ1dGVzVmFsaWQ6IHRydWUsXG4gICAgICAgICAgICAgICAgb3RoZXJBbGxvd2VkQXJpYUF0dHJpYnV0ZXM6IFtcImFyaWEtcGxhY2Vob2xkZXJcIiwgXCJhcmlhLXJlcXVpcmVkXCIsIFwiYXJpYS1yZWFkb25seVwiXSxcbiAgICAgICAgICAgICAgICBvdGhlclJvbGVzRm9yQXR0cmlidXRlczogW1widGV4dGJveFwiXVxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIFwicmFkaW9cIjoge1xuICAgICAgICAgICAgICAgIGltcGxpY2l0Um9sZTogW1wicmFkaW9cIl0sXG4gICAgICAgICAgICAgICAgdmFsaWRSb2xlczogW1wibWVudWl0ZW1yYWRpb1wiXSxcbiAgICAgICAgICAgICAgICBnbG9iYWxBcmlhQXR0cmlidXRlc1ZhbGlkOiB0cnVlLFxuICAgICAgICAgICAgICAgIG90aGVyQWxsb3dlZEFyaWFBdHRyaWJ1dGVzOiBbXCJhcmlhLXJlcXVpcmVkXCJdLFxuICAgICAgICAgICAgICAgIG90aGVyRGlzYWxsb3dlZEFyaWFBdHRyaWJ1dGVzOiBbXCJhcmlhLWNoZWNrZWRcIl1cbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcInJhbmdlXCI6IHtcbiAgICAgICAgICAgICAgICBpbXBsaWNpdFJvbGU6IFtcInNsaWRlclwiXSxcbiAgICAgICAgICAgICAgICB2YWxpZFJvbGVzOiBudWxsLFxuICAgICAgICAgICAgICAgIGdsb2JhbEFyaWFBdHRyaWJ1dGVzVmFsaWQ6IHRydWUsXG4gICAgICAgICAgICAgICAgb3RoZXJEaXNhbGxvd2VkQXJpYUF0dHJpYnV0ZXM6IFtcImFyaWEtdmFsdWVtYXhcIiwgXCJhcmlhLXZhbHVlbWluXCJdXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJyZXNldFwiOiB7XG4gICAgICAgICAgICAgICAgaW1wbGljaXRSb2xlOiBbXCJidXR0b25cIl0sXG4gICAgICAgICAgICAgICAgdmFsaWRSb2xlczogW1wiY2hlY2tib3hcIiwgXCJjb21ib2JveFwiLCBcImdyaWRjZWxsXCIsIFwibGlua1wiLCBcIm1lbnVpdGVtXCIsIFwibWVudWl0ZW1jaGVja2JveFwiLCBcIm1lbnVpdGVtcmFkaW9cIiwgXCJvcHRpb25cIiwgXCJyYWRpb1wiLCBcInNsaWRlclwiLCBcInN3aXRjaFwiLCBcInRhYlwiLCBcInRyZWVpdGVtXCJdLFxuICAgICAgICAgICAgICAgIGdsb2JhbEFyaWFBdHRyaWJ1dGVzVmFsaWQ6IHRydWVcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcInNlYXJjaC1uby1saXN0XCI6IHtcbiAgICAgICAgICAgICAgICBpbXBsaWNpdFJvbGU6IFtcInNlYXJjaGJveFwiXSxcbiAgICAgICAgICAgICAgICB2YWxpZFJvbGVzOiBudWxsLFxuICAgICAgICAgICAgICAgIGdsb2JhbEFyaWFBdHRyaWJ1dGVzVmFsaWQ6IHRydWUsXG4gICAgICAgICAgICAgICAgb3RoZXJBbGxvd2VkQXJpYUF0dHJpYnV0ZXM6IFtcImFyaWEtcGxhY2Vob2xkZXJcIiwgXCJhcmlhLXJlcXVpcmVkXCIsIFwiYXJpYS1yZWFkb25seVwiXVxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIFwic2VhcmNoLXdpdGgtbGlzdFwiOiB7XG4gICAgICAgICAgICAgICAgaW1wbGljaXRSb2xlOiBbXCJjb21ib2JveFwiXSxcbiAgICAgICAgICAgICAgICB2YWxpZFJvbGVzOiBudWxsLFxuICAgICAgICAgICAgICAgIGdsb2JhbEFyaWFBdHRyaWJ1dGVzVmFsaWQ6IHRydWVcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcInN1Ym1pdFwiOiB7XG4gICAgICAgICAgICAgICAgaW1wbGljaXRSb2xlOiBbXCJidXR0b25cIl0sXG4gICAgICAgICAgICAgICAgdmFsaWRSb2xlczogW1wiY2hlY2tib3hcIiwgXCJjb21ib2JveFwiLCBcImdyaWRjZWxsXCIsIFwibGlua1wiLCBcIm1lbnVpdGVtXCIsIFwibWVudWl0ZW1jaGVja2JveFwiLCBcIm1lbnVpdGVtcmFkaW9cIiwgXCJvcHRpb25cIiwgXCJyYWRpb1wiLCBcInNsaWRlclwiLCBcInN3aXRjaFwiLCBcInRhYlwiLCBcInRyZWVpdGVtXCJdLFxuICAgICAgICAgICAgICAgIGdsb2JhbEFyaWFBdHRyaWJ1dGVzVmFsaWQ6IHRydWVcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcInRlbC1uby1saXN0XCI6IHtcbiAgICAgICAgICAgICAgICBpbXBsaWNpdFJvbGU6IFtcInRleHRib3hcIl0sXG4gICAgICAgICAgICAgICAgdmFsaWRSb2xlczogbnVsbCxcbiAgICAgICAgICAgICAgICBnbG9iYWxBcmlhQXR0cmlidXRlc1ZhbGlkOiB0cnVlLFxuICAgICAgICAgICAgICAgIG90aGVyQWxsb3dlZEFyaWFBdHRyaWJ1dGVzOiBbXCJhcmlhLXBsYWNlaG9sZGVyXCIsIFwiYXJpYS1yZXF1aXJlZFwiLCBcImFyaWEtcmVhZG9ubHlcIl1cbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcInRlbC13aXRoLWxpc3RcIjoge1xuICAgICAgICAgICAgICAgIGltcGxpY2l0Um9sZTogW1wiY29tYm9ib3hcIl0sXG4gICAgICAgICAgICAgICAgdmFsaWRSb2xlczogbnVsbCxcbiAgICAgICAgICAgICAgICBnbG9iYWxBcmlhQXR0cmlidXRlc1ZhbGlkOiB0cnVlXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJ0ZXh0LW5vLWxpc3RcIjoge1xuICAgICAgICAgICAgICAgIGltcGxpY2l0Um9sZTogW1widGV4dGJveFwiXSxcbiAgICAgICAgICAgICAgICB2YWxpZFJvbGVzOiBbXCJjb21ib2JveFwiLCBcInNlYXJjaGJveFwiLCBcInNwaW5idXR0b25cIl0sXG4gICAgICAgICAgICAgICAgZ2xvYmFsQXJpYUF0dHJpYnV0ZXNWYWxpZDogdHJ1ZSxcbiAgICAgICAgICAgICAgICBvdGhlckFsbG93ZWRBcmlhQXR0cmlidXRlczogW1wiYXJpYS1wbGFjZWhvbGRlclwiLCBcImFyaWEtcmVxdWlyZWRcIiwgXCJhcmlhLXJlYWRvbmx5XCJdXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJ0ZXh0LXdpdGgtbGlzdFwiOiB7XG4gICAgICAgICAgICAgICAgaW1wbGljaXRSb2xlOiBbXCJjb21ib2JveFwiXSxcbiAgICAgICAgICAgICAgICB2YWxpZFJvbGVzOiBudWxsLFxuICAgICAgICAgICAgICAgIGdsb2JhbEFyaWFBdHRyaWJ1dGVzVmFsaWQ6IHRydWVcbiAgICAgICAgICAgICAgICAvL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gICAgICAgICAgfSxcbiAgICAgICAgICAgIFwid2Vla1wiOiB7XG4gICAgICAgICAgICAgICAgaW1wbGljaXRSb2xlOiBudWxsLFxuICAgICAgICAgICAgICAgIHZhbGlkUm9sZXM6IG51bGwsXG4gICAgICAgICAgICAgICAgZ2xvYmFsQXJpYUF0dHJpYnV0ZXNWYWxpZDogdHJ1ZSxcbiAgICAgICAgICAgICAgICBvdGhlckFsbG93ZWRBcmlhQXR0cmlidXRlczogW1wiYXJpYS1yZWFkb25seVwiXSxcbiAgICAgICAgICAgICAgICBvdGhlclJvbGVzRm9yQXR0cmlidXRlczogW1widGV4dGJveFwiXVxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIFwiZGVmYXVsdC13aXRoLWxpc3RcIjoge1xuICAgICAgICAgICAgICAgIC8vIGlucHV0IHdpdGggYSBtaXNzaW5nIG9yIGludmFsaWQgdHlwZSwgd2l0aCBhIGxpc3QgYXR0cmlidXRlXG4gICAgICAgICAgICAgICAgaW1wbGljaXRSb2xlOiBbXCJjb21ib2JveFwiXSxcbiAgICAgICAgICAgICAgICB2YWxpZFJvbGVzOiBudWxsLFxuICAgICAgICAgICAgICAgIGdsb2JhbEFyaWFBdHRyaWJ1dGVzVmFsaWQ6IHRydWVcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcImRlZmF1bHQtbm8tbGlzdFwiOiB7XG4gICAgICAgICAgICAgICAgLy8gaW5wdXQgd2l0aCBhIG1pc3Npbmcgb3IgaW52YWxpZCB0eXBlLCB3aXRoIGEgbGlzdCBhdHRyaWJ1dGVcbiAgICAgICAgICAgICAgICBpbXBsaWNpdFJvbGU6IFtcInRleHRib3hcIl0sXG4gICAgICAgICAgICAgICAgdmFsaWRSb2xlczogbnVsbCxcbiAgICAgICAgICAgICAgICBnbG9iYWxBcmlhQXR0cmlidXRlc1ZhbGlkOiB0cnVlXG4gICAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIFwibGlcIjoge1xuICAgICAgICA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b3RoZXJBbGxvd2VkQXJpYUF0dHJpYnV0ZXM6IFtcImFyaWEtZGlzYWJsZWRcIiwgXCJhcmlhLWhhc3BvcHVwXCJdXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJuby1maXJzdC1zdW1tYXJ5LW9mLWRldGFpbFwiOiB7XG4gICAgICAgICAgICAgICAgaW1wbGljaXRSb2xlOiBudWxsLFxuICAgICAgICAgICAgICAgIHZhbGlkUm9sZXM6IFtcImFueVwiXSxcbiAgICAgICAgICAgICAgICBnbG9iYWxBcmlhQXR0cmlidXRlc1ZhbGlkOiB0cnVlXG4gICAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIFwidGJvZHlcIjoge1xuICAgICAgICAgICAgXCJkZXMtdGFibGVcIjoge1xuICAgICAgICAgICAgICAgIGltcGxpY2l0Um9sZTogW1wicm93Z3JvdXBcIl0sXG4gICAgICAgICAgICAgICAgdmFsaWRSb2xlczogW1wiYW55XCJdLFxuICAgICAgICAgICAgICAgIGdsb2JhbEFyaWFBdHRyaWJ1dGVzVmFsaWQ6IHRydWVcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcImRlcy1ncmlkXCI6IHtcbiAgICAgICAgICAgICAgICBpbXBsaWNpdFJvbGU6IFtcInJvd2dyb3VwXCJdLFxuICAgICAgICAgICAgICAgIHZhbGlkUm9sZXM6IFtcImFueVwiXSxcbiAgICAgICAgICAgICAgICBnbG9iYWxBcmlhQXR0cmlidXRlc1ZhbGlkOiB0cnVlXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJkZXMtdHJlZWdyaWRcIjoge1xuICAgICAgICAgICAgICAgIGltcGxpY2l0Um9sZTogW1wicm93Z3JvdXBcIl0sXG4gICAgICAgICAgICAgICAgdmFsaWRSb2xlczogW1wiYW55XCJdLFxuICAgICAgICAgICAgICAgIGdsb2JhbEFyaWFBdHRyaWJ1dGVzVmFsaWQ6IHRydWVcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcImRlcy1vdGhlclwiOiB7XG4gICAgICAgICAgICAgICAgaW1wbGljaXRSb2xlOiBudWxsLFxuICAgICAgICAgICAgICAgIHZhbGlkUm9sZXM6IFtcImFueVwiXSxcbiAgICAgICAgICAgICAgICBnbG9iYWxBcmlhQXR0cmlidXRlc1ZhbGlkOiB0cnVlXG4gICAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIFwidGRcIjoge1xuICAgICAgICAgICAgXCJkZXMtdGFibGVcIjoge1xuICAgICAgICAgICAgICAgIGltcGxpY2l0Um9sZTogW1wiY2VsbFwiXSxcbiAgICAgICAgICAgICAgICB2YWxpZFJvbGVzOiBudWxsLFxuICAgICAgICAgICAgICAgIGdsb2JhbEFyaWFBdHRyaWJ1dGVzVmFsaWQ6IHRydWVcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcImRlcy1ncmlkXCI6IHtcbiAgICAgICAgICAgICAgICBpbXBsaWNpdFJvbGU6IFtcImdyaWRjZWxsXCJdLFxuICAgICAgICAgICAgICAgIHZhbGlkUm9sZXM6IG51bGwsXG4gICAgICAgICAgICAgICAgZ2xvYmFsQXJpYUF0dHJpYnV0ZXNWYWxpZDogdHJ1ZVxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIFwiZGVzLXRyZWVncmlkXCI6IHtcbiAgICAgICAgICAgICAgICBpbXBsaWNpdFJvbGU6IFtcImdyaWRjZWxsXCJdLFxuICAgICAgICAgICAgICAgIHZhbGlkUm9sZXM6IG51bGwsXG4gICAgICAgICAgICAgICAgZ2xvYmFsQXJpYUF0dHJpYnV0ZXNWYWxpZDogdHJ1ZVxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIFwiZGVzLW90aGVyXCI6IHtcbiAgICAgICAgICAgICAgICBpbXBsaWNpdFJvbGU6IG51bGwsXG4gICAgICAgICAgICAgICAgdmFsaWRSb2xlczogW1wiYW55XCJdLFxuICAgICAgICAgICAgICAgIGdsb2JhbEFyaWFBdHRyaWJ1dGVzVmFsaWQ6IHRydWVcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAgXCJ0aFwiOiB7XG4gICAgICAgICAgICBcImRlcy10YWJsZS1ncmlkLXRyZWVncmlkLXJvdy1zY29wZVwiOiB7XG4gICAgICAgICAgICAgICAgaW1wbGljaXRSb2xlOiBbXCJyb3doZWFkZXJcIiwgXCJjZWxsXCJdLFxuICAgICAgICAgICAgICAgIHZhbGlkUm9sZXM6IG51bGwsXG4gICAgICAgICAgICAgICAgZ2xvYmFsQXJpYUF0dHJpYnV0ZXNWYWxpZDogdHJ1ZVxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIFwiZGVzLXRhYmxlLWdyaWQtdHJlZWdyaWQtY29sdW1uLXNjb3BlXCI6IHtcbiAgICAgICAgICAgICAgICBpbXBsaWNpdFJvbGU6IFtcImNvbHVtbmhlYWRlclwiLCBcImNlbGxcIl0sXG4gICAgICAgICAgICAgICAgdmFsaWRSb2xlczogbnVsbCxcbiAgICAgICAgICAgICAgICBnbG9iYWxBcmlhQXR0cmlidXRlc1ZhbGlkOiB0cnVlXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJkZXMtb3RoZXJcIjoge1xuICAgICAgICAgICAgICAgIGltcGxpY2l0Um9sZTogbnVsbCxcbiAgICAgICAgICAgICAgICB2YWxpZFJvbGVzOiBbXCJhbnlcIl0sXG4gICAgICAgICAgICAgICAgZ2xvYmFsQXJpYUF0dHJpYnV0ZXNWYWxpZDogdHJ1ZVxuICAgICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICBcInRyXCI6IHtcbiAgICAgICAgICAgIFwiZGVzLXRhYmxlXCI6IHtcbiAgICAgICAgICAgICAgICBpbXBsaWNpdFJvbGU6IFtcInJvd1wiXSxcbiAgICAgICAgICAgICAgICB2YWxpZFJvbGVzOiBudWxsLFxuICAgICAgICAgICAgICAgIGdsb2JhbEFyaWFBdHRyaWJ1dGVzVmFsaWQ6IHRydWVcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcImRlcy1ncmlkXCI6IHtcbiAgICAgICAgICAgICAgICBpbXBsaWNpdFJvbGU6IFtcInJvd1wiXSxcbiAgICAgICAgICAgICAgICB2YWxpZFJvbGVzOiBudWxsLFxuICAgICAgICAgICAgICAgIGdsb2JhbEFyaWFBdHRyaWJ1dGVzVmFsaWQ6IHRydWVcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcImRlcy10cmVlZ3JpZFwiOiB7XG4gICAgICAgICAgICAgICAgaW1wbGljaXRSb2xlOiBbXCJyb3dcIl0sXG4gICAgICAgICAgICAgICAgdmFsaWRSb2xlczogbnVsbCxcbiAgICAgICAgICAgICAgICBnbG9iYWxBcmlhQXR0cmlidXRlc1ZhbGlkOiB0cnVlXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJkZXMtb3RoZXJcIjoge1xuICAgICAgICAgICAgICAgIGltcGxpY2l0Um9sZTogbnVsbCxcbiAgICAgICAgICAgICAgICB2YWxpZFJvbGVzOiBbXCJhbnlcIl0sXG4gICAgICAgICAgICAgICAgZ2xvYmFsQXJpYUF0dHJpYnV0ZXNWYWxpZDogdHJ1ZVxuICAgICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICBcbiAgICAgICAgXCJkZWZhdWx0XCI6IHtcbiAgICAgICAgICAgIGltcGxpY2l0Um9sZTogbnVsbCxcbiAgICAgICAgICAgIC8vcm9sZUNvbmRpdGlvbjogXCJcIixcbiAgICAgICAgICAgIHZhbGlkUm9sZXM6IFtcImFueVwiXSxcbiAgICAgICAgICAgIGdsb2JhbEFyaWFBdHRyaWJ1dGVzVmFsaWQ6IHRydWVcbiAgICAgICAgfVxuICAgIH0gLy8gZW5kIG9mIGRvY3VtZW50Q29uZm9ybWFuY2VSZXF1aXJlbWVudFNwZWNpYWxUYWdzXG5cbiAgICAvLyBtYXAgYXJpYSBhdHRyaWJ1dGUgdG8gdGhlIGNvcnJlc3BvbmRpbmcg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bWxBdHRyaWJ1dGVOYW1lczogW1wiY2hlY2tlZFwiXSxcbiAgICAgICAgICAgICAgICBodG1sQXR0cmlidXRlVmFsdWVzOiBudWxsXG4gICAgICAgICAgICB9XSxcbiAgICAgICAgICAgIG92ZXJsYXBwaW5nOiBbeyAgICBcbiAgICAgICAgICAgICAgICBhcmlhQXR0cmlidXRlVmFsdWU6IFwidHJ1ZVwiLFxuICAgICAgICAgICAgICAgIGh0bWxBdHRyaWJ1dGVOYW1lczogW1wiY2hlY2tlZFwiXSxcbiAgICAgICAgICAgICAgICBodG1sQXR0cmlidXRlVmFsdWVzOiBudWxsXG4gICAgICAgICAgICB9XVxuICAgICAgICB9LCAgICBcbiAgICAgICAgXCJhcmlhLWRpc2FibGVkXCI6IHtcbiAgICAgICAgICAgIGNvbmZsaWN0OiBbe1xuICAgICAgICAgICAgICAgIGFyaWFBdHRyaWJ1dGVWYWx1ZTogXCJmYWxzZVwiLFxuICAgICAgICAgICAgICAgIGh0bWxBdHRyaWJ1dGVOYW1lczogW1wiZGlzYWJsZWRcIl0sXG4gICAgICAgICAgICAgICAgaHRtbEF0dHJpYnV0ZVZhbHVlczogbnVsbFxuICAgICAgICAgICAgfV0sXG4gICAgICAgICAgICBvdmVybGFwcGluZzogW3sgICAgXG4gICAgICAgICAgICAgICAgYXJpYUF0dHJpYnV0ZVZhbHVlOiBcInRydWVcIixcbiAgICAgICAgICAgICAgICBodG1sQXR0cmlidXRlTmFtZXM6IFtcImRpc2FibGVkXCJdLFxuICAgICAgICAgICAgICAgIGh0bWxBdHRyaWJ1dGVWYWx1ZXM6IG51bGxcbiAgICAgICAgICAgIH1dXG4gICAgICAgIH0sXG4gICAgICAgIFwiYXJpYS1oaWRkZW5cIjoge1xuICAgICAgICAgICAgY29uZmxpY3Q6IFt7XG4gICAgICAgICAgICAgICAgYXJpYUF0dHJpYnV0ZVZhbHVlOiBcImZhbHNlXCIsXG4gICAgICAgICAgICAgICAgaHRtbEF0dHJpYnV0ZU5hbWVzOiBbXCJoaWRkZW5cIl0sXG4gICAgICAgICAgICAgICAgaHRtbEF0dHJpYnV0ZVZhbHVlczogW1wiaGlkZGVuLG51bGxcIl1cbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgYXJpYUF0dHJpYnV0ZVZhbHVlOiBcInRydWVcIixcbiAgICAgICAgICAgICAgICBodG1sQXR0cmlidXRlTmFtZXM6IFtcImhpZGRlblwiXSxcbiAgICAgICAgICAgICAgICBodG1sQXR0cmlidXRlVmFsdWVzOiBbXCJ1bnRpbC1mb3VuZFwiXVxuICAgICAgICAgICAgfV0sXG4gICAgICAgICAgICBvdmVybGFwcGluZzogW3sgICAgXG4gICAgICAgICAgICAgICAgYXJpYUF0dHJpYnV0ZVZhbHVlOiBcInRydWVcIixcbiAgICAgICAgICAgICAgICBodG1sQXR0cmlidXRlTmFtZXM6IFtcImhpZGRlblwiXSxcbiAgICAgICAgICAgICAgICBodG1sQXR0cmlidXRlVmFsdWVzOiBbXCJoaWRkZW4sbnVsbFwiXVxuICAgICAgICAgICAgfV1cbiAgICAgICAgfSwgICAgXG4gICAgICAgIFwiYXJpYS1wbGFjZWhvbGRlclwiOiB7XG4gICAgICAgICAgICBjb25mbGljdDogW3tcbiAgICAgICAgICAgICAgICBhcmlhQXR0cmlidXRlVmFsdWU6IG51bGwsXG4gICAgICAgICAgICAgICAgaHRtbEF0dHJpYnV0ZU5hbWVzOiBbXCJwbGFjZWhvbGRlclwiXSxcbiAgICAgICAgICAgICAgICBodG1sQXR0cmlidXRlVmFsdWVzOiBudWxsXG4gICAgICAgICAgICB9XVxuICAgICAgICB9LCAgICBcbiAgICAgICAgXCJhcmlhLXZhbHVlbWF4XCI6IHtcbiAgICAgICAgICAgIGNvbmZsaWN0OiBbe1xuICAgICAgICAgICAgICAgIGFyaWFBdHRyaWJ1dGVWYWx1ZTogbnVsbCxcbiAgICAgICAgICAgICAgICBodG1sQXR0cmlidXRlTmFtZXM6IFtcIm1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ZW50ZWRpdGFibGVcIl0sXG4gICAgICAgICAgICAgICAgaHRtbEF0dHJpYnV0ZVZhbHVlczogW251bGwsIFwiZmFsc2VcIiwgXCJmYWxzZVwiXVxuICAgICAgICAgICAgfV0sXG4gICAgICAgICAgICBvdmVybGFwcGluZzogW3sgICAgXG4gICAgICAgICAgICAgICAgYXJpYUF0dHJpYnV0ZVZhbHVlOiBcInRydWVcIixcbiAgICAgICAgICAgICAgICBodG1sQXR0cmlidXRlTmFtZXM6IFtcInJlYWRvbmx5XCIsIFwiY29udGVudGVkaXRhYmxlXCIsIFwiaXNjb250ZW50ZWRpdGFibGVcIl0sXG4gICAgICAgICAgICAgICAgaHRtbEF0dHJpYnV0ZVZhbHVlczogW251bGwsIFwidHJ1ZVwiLCBcInRydWVcIl1cbiAgICAgICAgICAgIH1dXG4gICAgICAgIH0sXG4gICAgICAgIFwiYXJpYS1yZXF1aXJlZFwiOiB7XG4gICAgICAgICAgICBjb25mbGljdDogW3tcbiAgICAgICAgICAgICAgICBhcmlhQXR0cmlidXRlVmFsdWU6IFwiZmFsc2VcIixcbiAgICAgICAgICAgICAgICBodG1sQXR0cmlidXRlTmFtZXM6IFtcInJlcXVpcmVkXCJdLFxuICAgICAgICAgICAgICAgIGh0bWxBdHRyaWJ1dGVWYWx1ZXM6IG51bGxcbiAgICAgICAgICAgIH1dLFxuICAgICAgICAgICAgb3ZlcmxhcHBpbmc6IFt7ICAgIFxuICAgICAgICAgICAgICAgIGFyaWFBdHRyaWJ1dGVWYWx1ZTogXCJ0cnVlXCIsXG4gICAgICAgICAgICAgICAgaHRtbEF0dHJpYnV0ZU5hbWVzOiBbXCJyZXF1aXJlZFwiXSxcbiAgICAgICAgICAgICAgICBodG1sQXR0cmlidXRlVmFsdWVzOiBudWxsXG4gICAgICAgICAgICB9XVxuICAgICAgICB9LCAgICAgICAgXG4gICAgICAgIFwiYXJpYS1jb2xzcGFuXCI6IHtcbiAgICAgICAgICAgIGNvbmZsaWN0OiBbe1xuICAgICAgICAgICAgICAgIC8vIGNvbmZsaWN0IG9jY3VycyBpZiBib3RoIHZhbHVlcyBhcmUgZGlmZmVyZW50XG4gICAgICAgICAgICAgICAgYXJpYUF0dHJpYnV0ZVZhbHVlOiBcIlZBTFVFXCIsXG4gICAgICAgICAgICAgICAgaHRtbEF0dHJpYnV0ZU5hbWVzOiBbXCJjb2xzcGFuXCJdLFxuICAgICAgICAgICAgICAgIGh0bWxBdHRyaWJ1dGVWYWx1ZXM6IFtcIlZBTFVFXCJdXG4gICAgICAgICAgICB9XSxcbiAgICAgICAgICAgIG92ZXJsYXBwaW5nOiBbeyAgICBcbiAgICAgICAgICAgICAgICAvLyBvdmVybGFwIG9jY3VycyBpZiBib3RoIGV4aXN0c1xuICAgICAgICAgICAgICAgIGFyaWFBdHRyaWJ1dGVWYWx1ZTogbnVsbCxcbiAgICAgICAgICAgICAgICBodG1sQXR0cmlidXRlTmFtZXM6IFtcImNvbHNwYW5cIl0sXG4gICAgICAgICAgICAgICAgaHRtbEF0dHJpYnV0ZVZhbHVlczogbnVsbFxuICAgICAgICAgICAgfV1cbiAgICAgICAgfSxcbiAgICAgICAgXCJhcmlhLXJvd3NwYW5cIjoge1xuICAgICAgICAgICAgY29uZmxpY3Q6IFt7XG4gICAgICAgICAgICAgICAgLy8gY29uZmxpY3Qgb2NjdXJzIGlmIGJvdGggdmFsdWVzIGFyZSBkaWZmZXJlbnRcbiAgICAgICAgICAgICAgICBhcmlhQXR0cmlidXRlVmFsdWU6IFwiVkFMVUVcIixcbiAgICAgICAgICAgICAgICBodG1sQXR0cmlidXRlTmFtZXM6IFtcInJvd3NwYW5cIl0sXG4gICAgICAgICAgICAgICAgaHRtbEF0dHJpYnV0ZVZhbHVlczogW1wiVkFMVUVcIl1cbiAgICAgICAgICAgIH1dLFxuICAgICAgICAgICAgb3ZlcmxhcHBpbmc6IFt7ICAgXG4gICAgICAgICAgICAgICAgLy8gb3ZlcmxhcCBvY2N1cnMgaWYgYm90aCBleGlzdHMgXG4gICAgICAgICAgICAgICAgYXJpYUF0dHJpYnV0ZVZhbHVlOiBudWxsLFxuICAgICAgICAgICAgICAgIGh0bWxBdHRyaWJ1dGVOYW1lczogW1wicm93c3BhblwiXSxcbiAgICAgICAgICAgICAgICBodG1sQXR0cmlidXRlVmFsdWVzOiBudWxsXG4gICAgICAgICAgICB9XVxuICAgICAgICB9LFxuICAgICAgICAvKiogXCJhcmlhLWF1dG9jb21wbGV0ZVwiOiB7XG4gICAgICAgICAgICBjb25mbGljdDogW3tcbiAgICAgICAgICAgICAgICAvLyBjb25mbGljdCBvY2N1cnMgaWYgYm90aCBleGlzdHMsIGFyaWEgdmFsdWUgaXMgb25seSBmb3IgY3VzdG9tIHdpZGdldCwgcmF0aGVyIHRoYW4gbmF0aXZlXG4gICAgICAgICAgICAgICAgYXJpYUF0dHJpYnV0ZVZhbHVlOiBudWxsLFxuICAgICAgICAgICAgICAgIGh0bWxBdHRyaWJ1dGVOYW1lczogW1wiYXV0b2NvbXBsZXRlXCJdLFxuICAgICAgICAgICAgICAgIGh0bWxBdHRyaWJ1dGVWYWx1ZXM6IG51bGxcbiAgICAgICAgICAgIH1dXG4gICAgICAgIH0gKi8gXG4gICAgfVxuXG4gICAgc3RhdGljIGNvbnRhaW5lcnMgPSBbXVxufTtcblxubGV0IGNvbnRhaW5lckFycmF5ID0gW107XG5cbmZvciAoY29uc3Qgcm9sZURlc2lnbiBpbiBBUklBRGVmaW5pdGlvbnMuZGVzaWduUGF0dGVybnMpIHtcbiAgICBjb25zdCBjb250YWluZXJzID0gQVJJQURlZmluaXRpb25zLmRlc2lnblBhdHRlcm5zW3JvbGVEZXNpZ25dLmNvbnRhaW5lcjtcbiAgICBpZiAoY29udGFpbmVycyAhPT0gbnVsbCkge1xuICAgICAgICBmb3IgKGNvbnN0IGNvbnRhaW5lciBvZiBjb250YWluZXJzKSB7XG4gICAgICAgICAgICBpZiAoY29udGFpbmVyQXJyYXkuaW5kZXhPZihjb250YWluZXIpID09IC0x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xlbS5hdHRyaWJ1dGVzLmxlbmd0aDsgKytpZHgpIHtcbiAgICAgICAgICAgICAgICBjb25zdCBhdHRySW5mbyA9IGVsZW0uYXR0cmlidXRlc1tpZHhdO1xuICAgICAgICAgICAgICAgIGNvbnN0IG5hbWUgPSBhdHRySW5mby5uYW1lLnRvTG93ZXJDYXNlKCk7XG4gICAgICAgICAgICAgICAgaWYgKG5hbWUuc3RhcnRzV2l0aChcImFyaWEtXCIpKSB7XG4gICAgICAgICAgICAgICAgICAgIHJldFZhbFtuYW1lLnN1YnN0cmluZyg1KV0gPSBhdHRySW5mby5ub2RlVmFsdWU7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBsZXQgYXBwbHlBdHRyUm9sZT0gZnVuY3Rpb24obm9kZU5hbWU6c3RyaW5nKSB7XG4gICAgICAgICAgICAgICAgaWYgKCEobm9kZU5hbWUgaW4gQVJJQU1hcHBlci5lbGVtQXR0clZhbHVlQ2FsY3VsYXRvcnMpKSByZXR1cm47XG4gICAgICAgICAgICAgICAgZm9yIChjb25zdCBhdHRyIGluIEFSSUFNYXBwZXIuZWxlbUF0dHJWYWx1ZUNhbGN1bGF0b3JzW25vZGVOYW1lXSkge1xuICAgICAgICAgICAgICAgICAgICBpZiAoIShhdHRyIGluIHJldFZhbCkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCB2YWx1ZSA9IEFSSUFNYXBwZXIuZWxlbUF0dHJWYWx1ZUNhbGN1bGF0b3JzW25vZGVOYW1lXVthdHRyXTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmICh0eXBlb2YgdmFsdWUgIT0gXCJ1bmRlZmluZWRcIiAmJiB2YWx1ZSAhPT0gbnVsbCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmICh0eXBlb2YgdmFsdWUgIT09IHR5cGVvZiBcIlwiKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhbHVlID0gKHZhbHVlIGFzIE5vZGVDYWxjKShlbGVtKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0VmFsW2F0dHJdID0gdmFsdWU7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH0gXG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgYXBwbHlBdHRyUm9sZShcImdsb2JhbFwiKTtcbiAgICAgICAgICAgIGFwcGx5QXR0clJvbGUobm9kZS5ub2RlTmFtZS50b0xvd2VyQ2FzZSgpKTtcbiAgICAgICAgfSBlbHNlIGlmIChub2RlLm5vZGVUeXBlID09PSAzIC8qIE5vZGUuVEVYVF9OT0RFICovKSB7XG4gICAgICAgICAgICBmb3IgKGNvbnN0IGF0dHIgaW4gQVJJQU1hcHBlci50ZXh0QXR0clZhbHVlQ2FsY3VsYXRvcnMpIHtcbiAgICAgICAgICAgICAgICBsZXQgdmFsID0gQVJJQU1hcHBlci50ZXh0QXR0clZhbHVlQ2FsY3VsYXRvcnNbYXR0cl0obm9kZSk7XG4gICAgICAgICAgICAgICAgaWYgKHR5cGVvZiB2YWwgIT0gXCJ1bmRlZmluZWRcIiAmJiB2YWwgIT09IG51bGwpIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0VmFsW2F0dHJdID0gdmFsO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gcmV0VmFsO1xuICAgIH1cblxuICAgIHN0YXRpYyBnZXRBcmlhT3duZWRCeShlbGVtOiBIVE1MRWxlbWVudCkgOiBIVE1MRWxlbWVudCB8IG51bGwge1xuICAgICAgICBjb25zdCBkb2MgPSBGcmFnbWVudFV0aWwuZ2V0T3duZXJGcmFnbWVudChlbGVtKTtcbiAgICAgICAgaWYgKCFDYWNoZVV0aWwuZ2V0Q2FjaGUoZG9jLCBcIkFSSUFNYXBwZXI6OnByZWNhbGNPd25lZFwiLCBmYWxzZSkpIHtcbiAgICAgICAgICAgIGNvbnN0IG93bmVycyA9IGRvYy5xdWVyeVNlbGVjdG9yQWxsKFwiW2FyaWEtb3duc11cIik7XG4gICAgICAgICAgICBmb3IgKGxldCBpT3duZXIgPSAwOyBpT3duZXIgPCBvd25lcnMubGVuZ3RoOyArK2lPd25lcikge1xuICAgICAgICAgICAgICAgIGNvbnN0IG93bmVyID0gb3duZXJzW2lPd25lcl07XG4gICAgICAgICAgICAgICAgY29uc3Qgb3duSWRzID0gb3duZXIuZ2V0QXR0cmlidXRlKFwiYXJpYS1vd25zXCIpLnNwbGl0KC8gKy9nKTtcbiAgICAgICAgICAgICAgICBmb3IgKGxldCBpSWQ9MDsgaUlkIDwgb3duSWRzLmxlbmd0aDsgKytpSWQpIHtcbiAgICAgICAgICAgICAgICAgICAgY29uc3Qgb3duZWQgPSBkb2MuZ2V0RWxlbWVudEJ5SWQob3duSWRzW2lJZF0pO1xuICAgICAgICAgICAgICAgICAgICAvL2lnbm9yZSBpZiB0aGUgYXJpYS1vd25zIHBvaW50IHRvIHRoZSBlbGVtZW50IGl0c2VsZlxuICAgICAgICAgICAgICAgICAgICBpZiAob3duZWQgJiYgIURPTVV0aWwuc2FtZU5vZGUob3duZXIsIG93bmVkKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgQ2FjaGVVdGlsLnNldENhY2hlKG93bmVkLCBcImFyaWEtb3duZWRcIiwgb3duZXIpO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgQ2FjaGVVdGlsLnNldENhY2hlKGRvYywgXCJBUklBTWFwcGVyOjpwcmVjYWxjT3duZWRcIiwgdHJ1ZSk7XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIENhY2hlVXRpbC5nZXRDYWNoZShlbGVtLCBcImFyaWEtb3duZWRcIiwgbnVsbCk7XG4gICAgfVxuXG4gICAgcHJpdmF0ZSBnZXROb2RlSGllcmFyY2h5KG5vZGU6IE5vZGUpIHtcbiAgICAgICAgaWYgKCFub2RlKSByZXR1cm4gW107XG4gICAgICAgIGlmIChub2RlLm5vZGVUeXBlICE9PSAxKSB7XG4gICAgICAgICAgICBsZXQgcGFyZW50SGllcmFyY2h5ID0gdGhpcy5nZXROb2RlSGllcmFyY2h5KERPTVdhbGtlci5wYXJlbnRFbGVtZW50KG5vZGUpKTtcbiAgICAgICAgICAgIGxldCBwYXJlbnRJbmZvID0gcGFyZW50SGllcmFyY2h5Lmxlbmd0aCA+IDAgPyBwYXJlbnRIaWVyYXJjaHlbcGFyZW50SGllcmFyY2h5Lmxlbmd0aC0xXSA6IHtcbiAgICAgICAgICAgICAgICByb2xlOiBcIlwiLFxuICAgICAgICAgICAgICAgIHJvbGVQYXRoOiBcIlwiLFxuICAgICAgICAgICAgICAgIHJvbGVDb3VudDoge30sXG4gICAgICAgICAgICAgICAgY2hpbGRyZW5DYW5IYXZlUm9sZTogdHJ1ZVxuICAgICAgICAgICAgfTtcbiAgICAgICAgICAgIGxldCBub2RlSGllcmFyY2h5ID0gW107XG4gICAgICAgICAgICAvLyBTZXQgaGllcmFyY2h5XG4gICAgICAgICAgICBmb3IgKGNvbnN0IGl0ZW0gb2YgcGFyZW50SGllcmFyY2h5KSB7XG4gICAgICAgICAgICAgICAgbm9kZUhpZXJhcmNoeS5wdXNoKGl0ZW0pO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgbm9kZUhpZXJhcmNoeS5wdXNoKHtcbiAgICAgICAgICAgICAgICBhdHRyaWJ1dGVzOiB7fSxcbiAgICAgICAgICAgICAgICBib3VuZHM6IHRoaXMuZ2V0Qm91bmRzKG5vZGUpLFxuICAgICAgICAgICAgICAgIG5hbWVzcGFjZTogdGhpcy5nZXROYW1lc3BhY2UoKSxcbiAgICAgICAgICAgICAgICBub2RlOiBub2RlLFxuICAgICAgICAgICAgICAgIHJvbGU6IHRoaXMuZ2V0Um9sZShub2RlKSB8fCBcIm5vbmVcIixcbiAgICAgICAgICAgICAgICByb2xlUGF0aDogcGFyZW50SW5mby5yb2xlUGF0aCtcIi9cIisodGhpcy5nZXRSb2xlKG5vZGUpIHx8IFwibm9uZVwiKSxcbiAgICAgICAgICAgICAgICByb2xlQ291bnQ6IHt9LFxuICAgICAgICAgICAgICAgIGNoaWxkcmVuQ2FuSGF2ZVJvbGU6IHBhcmVudEluZm8uY2hpbGRyZW5DYW5IYXZlUm9sZVxuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICByZXR1cm4gbm9kZUhpZXJhcmNoeTtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIGxldCBlbGVtID0gbm9kZSBhcyBIVE1MRWxlbWVudDtcbiAgICAgICAgICAgIGxldCBub2RlSGllcmFyY2h5IDogQXJyYXk8e1xuICAgICAgICAgICAgICAgIHJvbGU6IHN0cmluZyxcbiAgICAgICAgICAgICAgICByb2xlUGF0aDogc3RyaW5nLFxuICAgICAgICAgICAgICAgIHJvbGVDb3VudDoge1xuICAgICAgICAgICAgICAgICAgICBbcm9sZTogc3RyaW5nXTogbnVtYmVyXG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGNoaWxkcmVuQ2FuSGF2ZVJvbGU6IGJvb2xlYW5cbiAgICAgICAgICAgIH0+ID0gQ2FjaGVVdGlsLmdldENhY2hlKGVsZW0sIFwiQVJJQU1hcHBlcjo6Z2V0Tm9kZUhpZXJhcmNoeVwiLCBudWxsKTtcbiAgICAgICAgICAgIGlmICghbm9kZUhpZXJhcmNoeSkge1xuICAgICAgICAgICAgICAgIC8vIFRoaXMgZWxlbWVudCBoYXNuJ3QgYmVlbiBwcm9jZXNzZWQgeWV0IC0gYnV0IDo6cmVzZXQgcHJvY2Vzc2VzIHRoZW0gYWxsIGluIHRoZSByaWdodCBvcmRlclxuXG4gICAgICAgICAgICAgICAgLy8gR2V0IGRldGFpbHMgYWJvdXQgdGhlIGNvcnJlY3QgcGFyZW50IGZpcnN0XG4gICAgICAgICAgICAgICAgbGV0IHBhcmVudCA9IEFSSUFNYXBwZXIuZ2V0QXJpYU93bmVkQnkoZWxlbSk7XG4gICAgICAgICAgICAgICAgaWYgKCFwYXJlbnQpIHtcbiAgICAgICAgICAgICAgICAgICAgcGFyZW50ID0gRE9NV2Fsa2VyLnBhcmVudEVsZW1lbnQoZWxlbSkgYXMgSFRNTEVsZW1lbnQ7XG4gICAgICAgICAgICAgICAgfSBcbiAgICAgICAgICAgICAgICB3aGlsZSAocGFyZW50ICYmIHBhcmVudC5ub2RlVHlwZSAhPT0gMSkgeyBcbiAgICAgICAgICAgICAgICAgICAgcGFyZW50ID0gRE9NV2Fsa2VyLnBhcmVudEVsZW1lbnQoZWxlbSkgYXMgSFRNTEVsZW1lbnQ7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGxldCBwYXJlbnRIaWVyYXJjaHkgPSBwYXJlbnQgPyB0aGlzLmdldE5vZGVIaWVyYXJjaHkocGFyZW50KSA6IFtdO1xuICAgICAgICAgICAgICAgIGxldCBwYXJlbnRJbmZvID0gcGFyZW50SGllcmFyY2h5Lmxlbmd0aCA+IDAgPyBwYXJlbnRIaWVyYXJjaHlbcGFyZW50SGllcmFyY2h5Lmxlbmd0aC0xXSA6IHtcbiAgICAgICAgICAgICAgICAgICAgcm9sZTogXCJcIixcbiAgICAgICAgICAgICAgICAgICAgcm9sZVBhdGg6IFwiXCIsXG4gICAgICAgICAgICAgICAgICAgIHJvbGVDb3VudDoge30sXG4gICAgICAgICAgICAgICAgICAgIGNoaWxkcmVuQ2FuSGF2ZVJvbGU6IHRydWVcbiAgICAgICAgICAgICAgICB9O1xuICAgICAgICAgICAgICAgIHdoaWxlIChwYXJlbnRJbmZvLnJvbGUgPT09IFwibm9uZVwiIHx8IHBhcmVudEluZm8ucm9sZSA9PT0gXCIvbm9uZVwiKSB7XG4gICAgICAgICAgICAgICAgICAgIHBhcmVudCA9IEFSSUFNYXBwZXIuZ2V0QXJpYU93bmVkQnkocGFyZW50KSB8fCBET01XYWxrZXIucGFyZW50RWxlbWVudChwYXJlbnQpIGFzIEhUTUxFbGVtZW50O1xuICAgICAgICAgICAgICAgICAgICBwYXJlbnRIaWVyYXJjaHkgPSBwYXJlbnQgPyB0aGlzLmdldE5vZGVIaWVyYXJjaHkocGFyZW50KSA6IFtdO1xuICAgICAgICAgICAgICAgICAgICBwYXJlbnRJbmZvID0gcGFyZW50SGllcmFyY2h5W3BhcmVudEhpZXJhcmNoeS5sZW5ndGgtMV07XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgLy8gU2V0IGluaXRpYWwgbm9kZSBpbmZvXG4gICAgICAgICAgICAgICAgbGV0IG5vZGVJbmZvIDoge1xuICAgICAgICAgICAgICAgICAgICBhdHRyaWJ1dGVzOiB7XG4gICAgICAgICAgICAgICAgICAgICAgICBbcm9sZTogc3RyaW5nXTogc3RyaW5nXG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgYm91bmRzOiBhbnksXG4gICAgICAgICAgICAgICAgICAgIG5hbWVzcGFjZTogc3RyaW5nLFxuICAgICAgICAgICAgICAgICAgICBub2RlOiBIVE1MRWxlbWVudCxcbiAgICAgICAgICAgICAgICAgICAgcm9sZTogc3RyaW5nLFxuICAgICAgICAgICAgICAgICAgICByb2xlUGF0aDogc3RyaW5nLFxuICAgICAgICAgICAgICAgICAgICByb2xlQ291bnQ6IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIFtyb2xlOiBzdHJpbmddOiBudW1iZXJcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICBjaGlsZHJlbkNhbkhhdmVSb2xlOiBib29sZWFuXG4gICAgICAgICAgICAgICAgfSA9IHtcbiAgICAgICAgICAgICAgICAgICAgYXR0cmlidXRlczogZWxlbS5ub2RlVHlwZSA9PT0gMSA/IHRoaXMuZ2V0QXR0cmlidXRlcyhlbGVtKToge30sICAgXG4gICAgICAgICAgICAgICAgICAgIGJvdW5kczogdGhpcy5nZXRCb3VuZHMoZWxlbSksXG4gICAgICAgICAgICAgICAgICAgIG5hbWVzcGFjZTogdGhpcy5nZXROYW1lc3BhY2UoKSxcbiAgICAgICAgICAgICAgICAgICAgbm9kZTogZWxlbSxcbiAgICAgICAgICAgICAgICAgICAgcm9sZTogdGhpcy5nZXRSb2xlKGVsZW0pIHx8IFwibm9uZVwiLFxuICAgICAgICAgICAgICAgICAgICByb2xlUGF0aDogXCJcIixcbiAgICAgICAgICAgICAgICAgICAgcm9sZUNvdW50OiB7fSxcbiAgICAgICAgICAgICAgICAgICAgY2hpbGRyZW5DYW5IYXZlUm9sZTogdHJ1ZVxuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIC8vIEFkanVzdCByb2xlIGlmIHdlJ3JlIHdpdGhpbiBhIHByZXNlbnRhdGlvbmFsIGNvbnRhaW5lclxuICAgICAgICAgICAgICAgIGxldCBwcmVzZW50YXRpb25hbENvbnRhaW5lciA9ICFwYXJlbnRJbmZvLmNoaWxkcmVuQ2FuSGF2ZVJvbGU7XG4gICAgICAgICAgICAgICAgaWYgKHByZXNlbnRhdGlvbmFsQ29udGFpbmVyKSB7XG4gICAgICAgICAgICAgICAgICAgIG5vZGVJbmZvLnJvbGUgPSBcIm5vbmVcIjtcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICBub2RlSW5mby5jaGlsZHJlbkNhbkhhdmVSb2xlID0gcGFyZW50SW5mby5jaGlsZHJlbkNhbkhhdmVSb2xlIFxuICAgICAgICAgICAgICAgICAgICAgICAgJiYgdGhpcy5jaGlsZHJlbkNhbkhhdmVSb2xlKGVsZW0sIG5vZGVJbmZvLnJvbGUpO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIC8vIFNldCB0aGUgcGF0aHNcbiAgICAgICAgICAgICAgICBpZiAobm9kZUluZm8ucm9sZSAhPT0gXCJub25lXCIpIHtcbiAgICAgICAgICAgICAgICAgICAgcGFyZW50SW5mby5yb2xlQ291bnRbbm9kZUluZm8ucm9sZV0gPSAocGFyZW50SW5mby5yb2xlQ291bnRbbm9kZUluZm8ucm9sZV0gfHwgMCkgKyAxOyBcbiAgICAgICAgICAgICAgICAgICAgbm9kZUluZm8ucm9sZVBhdGggPSBwYXJlbnRJbmZvLnJvbGVQYXRoK1wiL1wiK25vZGVJbmZvLnJvbGUrXCJbXCIrcGFyZW50SW5mby5yb2xlQ291bnRbbm9kZUluZm8ucm9sZV0rXCJdXCI7XG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgbm9kZUluZm8ucm9sZVBhdGggPSBwYXJlbnRJbmZvLnJvbGVQYXRoO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgXG4gICAgICAgICAgICAgICAgLy8gU2V0IGhpZXJhcmNoeVxuICAgICAgICAgICAgICAgIG5vZGVIaWVyYXJjaHkgPSBbXVxuICAgICAgICAgICAgICAgIGZvciAoY29uc3QgaXRlbSBvZiBwYXJlbnRIaWVyYXJjaHkpIHtcbiAgICAgICAgICAgICAgICAgICAgbm9kZUhpZXJhcmNoeS5wdXNoKGl0ZW0pO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBub2RlSGllcmFyY2h5LnB1c2gobm9kZUluZm8pO1xuICAgICAgICAgICAgICAgIENhY2hlVXRpbC5zZXRDYWNoZShlbGVtLCBcIkFSSUFNYXBwZXI6OmdldE5vZGVIaWVyYXJjaHlcIiwgbm9kZUhpZXJhcmNoeSk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXR1cm4gbm9kZUhpZXJhcmNoeTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIHJlc2V0KG5vZGU6IE5vZGUpIHtcbiAgICAgICAgQVJJQU1hcHBlci5uYW1lQ29tcHV0YXRpb25JZCA9IDA7X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IChlbGVtLmdldEF0dHJpYnV0ZShcIm11bHRpcGxlXCIpPT1cInRydWVcIiB8fCBlbGVtLmdldEF0dHJpYnV0ZShcIm11bHRpcGxlXCIpPT1cIlwiKSlcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgLCBcImgxXCI6IHtcbiAgICAgICAgICAgIFwibGV2ZWxcIjogXCIxXCJcbiAgICAgICAgfVxuICAgICAgICAsIFwiaDJcIjoge1xuICAgICAgICAgICAgXCJsZXZlbFwiOiBcIjJcIlxuICAgICAgICB9XG4gICAgICAgICwgXCJoM1wiOiB7XG4gICAgICAgICAgICBcImxldmVsXCI6IFwiM1wiXG4gICAgICAgIH1cbiAgICAgICAgLCBcImg0XCI6IHtcbiAgICAgICAgICAgIFwibGV2ZWxcIjogXCI0XCJcbiAgICAgICAgfVxuICAgICAgICAsIFwiaDVcIjoge1xuICAgICAgICAgICAgXCJsZXZlbFwiOiBcIjVcIlxuICAgICAgICB9XG4gICAgICAgICwgXCJoNlwiOiB7XG4gICAgICAgICAgICBcImxldmVsXCI6IFwiNlwiXG4gICAgICAgIH1cbiAgICAgICAgLCBcImlucHV0XCI6IHtcbiAgICAgICAgICAgIC8vIC0gdHlwZT1cImNoZWNrYm94XCIgc3RhdGUgc2V0IHRvIFwibWl4ZWRcIiBpZiB0aGUgZWxlbWVudCdzIGluZGV0ZXJtaW5hdGUgSURMIGF0dHJpYnV0ZSBcbiAgICAgICAgICAgIC8vIGlzIHRydWUsIG9yIFwidHJ1ZVwiIGlmIHRoZSBlbGVtZW50J3MgY2hlY2tlZG5lc3MgaXMgdHJ1ZSwgb3IgXCJmYWxzZVwiIG90aGVyd2lzZVxuICAgICAgICAgICAgLy8gLSB0eXBlPVwicmFkaW9cIiBzdGF0ZSBzZXQgdG8gXCJ0cnVlXCIgaWYgdGhlIGVsZW1lbnQncyBjaGVja2VkbmVzcyBp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gICAgIH1cbiAgICAgICAgICAgIC8vIFBvc2l0aW9uIG9mIGxpIGVsZW1lbnQgd2l0aGluIHRoZSBvbCwgdWwsIG1lbnVcbiAgICAgICAgICAgICwgXCJwb3NpbnNldFwiOiBlbGVtID0+IHtcbiAgICAgICAgICAgICAgICBsZXQgcGFyZW50ID0gRE9NVXRpbC5nZXRBbmNlc3RvcihlbGVtLCBbXCJvbFwiLCBcInVsXCIsIFwibWVudVwiXSlcbiAgICAgICAgICAgICAgICBpZiAoIXBhcmVudCkgcmV0dXJuIG51bGw7XG4gICAgICAgICAgICAgICAgbGV0IGxpcyA9IHBhcmVudC5xdWVyeVNlbGVjdG9yQWxsKFwibGlcIik7XG4gICAgICAgICAgICAgICAgbGV0IG51bSA9IDA7XG4gICAgICAgICAgICAgICAgZm9yIChsZXQgaWR4PTA7IGlkeDxsaXMubGVuZ3RoOyArK2lkeCkge1xuICAgICAgICAgICAgICAgICAgICBjb25zdCBsaSA9IGxpc1tpZHhdO1xuICAgICAgICAgICAgICAgICAgICBpZiAoRE9NVXRpbC5zYW1lTm9kZShwYXJlbnQsIERPTVV0aWwuZ2V0QW5jZXN0b3IobGksIFtcIm9sXCIsIFwidWxcIiwgXCJtZW51XCJdKSkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBcIlwiK251bTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICArK251bTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgLCBcIm1lbnVpdGVtXCI6IHtcbiAgICAgICAgICAgIC8vIHR5cGUgPSBjaGVja2JveCBvciByYWRpbywgc2V0IHRvIFwidHJ1ZVwiIGlmIHRoZSBjaGVja2VkIGF0dHJpYnV0ZSBcbiAgICAgICAgICAgIC8vIGlzIHByZXNlbnQsIGFuZCBcImZhbHNlXCIgb3RoZXJ3aXNlXG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4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgXG4gICAgICAgIH1cblxuICAgICAgICAvLyAyZS5cbiAgICAgICAgaWYgKCh3YWxrVHJhdmVyc2UgfHwgbGFiZWxsZWRieVRyYXZlcnNlKSAmJiBpc0VtYmVkZGVkQ29udHJvbCkge1xuICAgICAgICAgICAgLy8gSWYgdGhlIGVtYmVkZGVkIGNvbnRyb2wgaGFzIHJvbGUgdGV4dGJveCwgcmV0dXJuIGl0cyB2YWx1ZS5cbiAgICAgICAgICAgIGlmIChyb2xlID09PSBcInRleHRib3hcIikge1xuICAgICAgICAgICAgICAgIGlmIChlbGVtLm5vZGVOYW1lLnRvTG93ZXJDYXNlKCkgPT09IFwiaW5wdXRcIikge1xuICAgICAgICAgICAgICAgICAgICBpZiAoZWxlbS5oYXNBdHRyaWJ1dGUoXCJ2YWx1ZVwiKSkgcmV0dXJuIGVsZW0uZ2V0QXR0cmlidXRlKFwidmFsdWVcIik7XG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgd2Fsa1RyYXZlcnNlID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAvLyBJZiB0aGUgZW1iZWRkZWQgY29udHJvbCBoYXMgcm9sZSBidXR0b24sIHJldHVybiB0aGUgdGV4dCBhbHRlcm5hdGl2ZSBvZiB0aGUgYnV0dG9uLlxuICAgICAgICAgICAgaWYgKHJvbGUgPT09IFwiYnV0dG9uXCIpIHtcbiAgICAgICAgICAgICAgICBpZiAoZWxlbS5ub2RlTmFtZS50b0xvd2VyQ2FzZSgpID09PSBcImlucHV0XCIpIHtcbiAgICAgICAgICAgICAgICAgICAgbGV0IHR5cGUgPSBlbGVtLmdldEF0dHJpYnV0ZShcInR5cGVcIikudG9Mb3dlckNhc2UoKTtcbiAgICAgICAgICAgICAgICAgICAgaWYgKFtcImJ1dHRvblwiLCBcInN1Ym1pdFwiLCBcInJlc2V0XCJdLmluY2x1ZGVzKHR5cGUpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoZWxlbS5oYXNBdHRyaWJ1dGUoXCJ2YWx1ZVwiKSkgcmV0dXJuIGVsZW0uZ2V0QXR0cmlidXRlKFwidmFsdWVcIik7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAodHlwZSA9PT0gXCJzdWJtaXRcIikgcmV0dXJuIFwiU3VibWl0XCI7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAodHlwZSA9PT0gXCJyZXNldFwiKSByZXR1cm4gXCJSZXNldFwiO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgd2Fsa1RyYXZlcnNlID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAvLyBUT0RPOiBJZiB0aGUgZW1iZWRkZWQgY29udHJvbCBoYXMgcm9sZSBjb21ib2JveCBvciBsaXN0Ym94LCByZXR1cm4gdGhlIHRleHQgYWx0ZXJuYXRpdmUgb2YgdGhlIGNob3NlbiBvcHRpb24uXG4gICAgICAgICAgICBpZiAocm9sZSA9PT0gXCJjb21ib2JveFwiKSB7XG4gICAgICAgICAgICAgICAgaWYgKGVsZW0uaGFzQXR0cmlidXRlKFwiYXJpYS1hY3RpdmVkZXNjZW5kYW50XCIpKSB7XG4gICAgICAgICAgICAgICAgICAgIGxldCBzZWxlY3RlZCA9IEZyYWdtZW50VXRpbC5nZXRCeUlkKGVsZW0sIFwiYXJpYS1hY3RpdmVkZXNjZW5kYW50XCIpO1xuICAgICAgICAgICAgICAgICAgICBpZiAoc2VsZWN0ZWQgJiYgIURPTVV0aWwuc2FtZU5vZGUoZWxlbSwgc2VsZWN0ZWQpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICByZ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ROb2RlcygpIHx8IChlbGVtIGFzIEhUTUxTbG90RWxlbWVudCkuYXNzaWduZWROb2RlcygpLmxlbmd0aCA9PT0gMCkge1xuICAgICAgICAgICAgICAgICAgICBsZXQgaW5uZXJUZXh0ID0gQ29tbW9uVXRpbC5nZXRJbm5lclRleHQoZWxlbSk7XG4gICAgICAgICAgICAgICAgICAgIGlmIChpbm5lclRleHQgJiYgaW5uZXJUZXh0ICE9PSBudWxsICYmIGlubmVyVGV4dC50cmltKCkubGVuZ3RoID4gMClcbiAgICAgICAgICAgICAgICAgICAgICAgIGFjY3VtdWxhdGVkICs9ICBcIiBcIiArIGlubmVyVGV4dDtcbiAgICAgICAgICAgICAgICB9IGVsc2UgeyAgICBcbiAgICAgICAgICAgICAgICAgICAgLy8gY2hlY2sgdGV4dCBmcm9tIGFsbCBhc3NpZ25lZCBub2Rlc1xuICAgICAgICAgICAgICAgICAgICBmb3IgKGNvbnN0IHNsb3RDaGlsZCBvZiAoZWxlbSBhcyBIVE1MU2xvdEVsZW1lbnQpLmFzc2lnbmVkTm9kZXMoKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgbGV0IG5leHRDaGlsZENvbnRlbnQgPSBBUklBTWFwcGVyLmNvbXB1dGVOYW1lSGVscCh3YWxrSWQsIHNsb3RDaGlsZCwgbGFiZWxsZWRieVRyYXZlcnNlLCB0cnVlKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGFjY3VtdWxhdGVkICs9IFwiIFwiICsgbmV4dENoaWxkQ29udGVudDtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgbGV0IHdhbGtDaGlsZCA9IGVsZW0uZmlyc3RDaGlsZDtcbiAgICAgICAgICAgICAgICB3aGlsZSAod2Fsa0NoaWxkKSB7XG4gICAgICAgICAgICAgICAgICAgIGxldCBuZXh0Q2hpbGRDb250ZW50ID0gQVJJQU1hcHBlci5j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GF0aW9uIHJvbGVzIGFyZSB0byBiZSBpZ25vcmVkXG4gICAgICAgICAgICAgICAgICAgIGlmICghQ29tbW9uVXRpbC5pc0ZvY3VzYWJsZShlbGVtKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKHJvbGUgaW4gQVJJQURlZmluaXRpb25zLmRlc2lnblBhdHRlcm5zKSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiByb2xlO1xuICAgICAgICAgICAgICAgIH0gICAgXG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgLy9yZXR1cm4gdGhpcy5lbGVtVG9JbXBsaWNpdFJvbGUoZWxlbSk7XG4gICAgICAgIGNvbnN0IHJvbGVzID0gQXJpYVV0aWwuZ2V0SW1wbGljaXRSb2xlKGVsZW0pO1xuICAgICAgICAvL2NvbnNvbGUubG9nKFwibm9kZT1cIiArIG5vZGUubm9kZU5hbWUgK1wiLCByb2xlPSBcIiArIChyb2xlcyA/IHJvbGVzWzBdIDogbnVsbCkgK1wiLCByZXNvbHZlZD1cIiArIEFyaWFVdGlsLmdldFJlc29sdmVkUm9sZShlbGVtKSk7XG4gICAgICAgIGNvbnN0IHJvbGUgPSAhcm9sZXMgfHwgcm9sZXMubGVuZ3RoID09PTAgPyBudWxsIDogcm9sZXNbMF07XG4gICAgICAgIHJldHVybiByb2xlID09PSBcInByZXNlbnRhdGlvblwiIHx8IHJvbGUgPT09IFwibm9uZVwiID8gbnVsbCA6IHJvbGU7XG4gICAgICAgIC8vcmV0dXJuIEFyaWFVdGlsLmdldFJlc29sdmVkUm9sZShlbGVtKTtcbiAgICAgICAgXG4gICAgfVxufSBcbiIsIi8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcbiAgICAgQ29weXJpZ2h0O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CA9ICh0aGlzLm5vZGUgYXMgSFRNTFNsb3RFbGVtZW50KVxuICAgICAgICAgICAgICAgIGlmICh0aGlzLm5vZGUubm9kZVR5cGUgPT09IDEgLyogTm9kZS5FTEVNRU5UX05PREUgKi8gXG4gICAgICAgICAgICAgICAgICAgICYmIHRoaXMubm9kZS5ub2RlTmFtZS50b1VwcGVyQ2FzZSgpID09PSBcIklGUkFNRVwiXG4gICAgICAgICAgICAgICAgICAgICYmIFZpc1V0aWwuaXNOb2RlVmlzaWJsZShpZnJhbWVOb2RlKVxuICAgICAgICAgICAgICAgICAgICAmJiBpZnJhbWVOb2RlLmNvbnRlbnREb2N1bWVudFxuICAgICAgICAgICAgICAgICAgICAmJiBpZnJhbWVOb2RlLmNvbnRlbnREb2N1bWVudC5kb2N1bWVudEVsZW1lbnQpXG4gICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICBsZXQgb3duZXJFbGVtZW50ID0gdGhpcy5ub2RlO1xuICAgICAgICAgICAgICAgICAgICB0aGlzLm5vZGUgPSBpZnJhbWVOb2RlLmNvbnRlbnREb2N1bWVudC5kb2N1bWVudEVsZW1lbnQ7XG4gICAgICAgICAgICAgICAgICAgICh0aGlzLm5vZGUgYXMgYW55KS5vd25lckVsZW1lbnQgPSBvd25lckVsZW1lbnQ7XG4gICAgICAgICAgICAgICAgfSBlbHNlIGlmICh0aGlzLm5vZGUubm9kZVR5cGUgPT09IDEgLyogTm9kZS5FTEVNRU5UX05PREUgKi8gXG4gICAgICAgICAgICAgICAgICAgICYmIFZpc1V0aWwuaXNOb2RlVmlzaWJsZShlbGVtZW50Tm9kZSlcbiAgICAgICAgICAgICAgICAgICAgJiYgZWxlbWVudE5vZGUuc2hhZG93Um9vdFxuICAgICAgICAgICAgICAgICAgICAmJiBlbGVtZW50Tm9kZS5zaGFkb3dSb290LmZpcnN0Q2hpbGQpXG4gICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICBsZXQgb3duZXJFbGVtZW50ID0gdGhpcy5ub2RlO1xuICAgICAgICAgICAgICAgICAgICB0aGlzLm5vZGUgPSBlbGVtZW50Tm9kZS5zaGFkb3dSb290O1xuICAgICAgICAgICAgICAgICAgICAodGhpcy5ub2RlIGFzIGFueSkub3duZXJFbGVtZW50ID0gb3duZXJFbGVtZW50O1xuICAgICAgICAgICAgICAgICAgICBET01XYWxrZXIuYXNzaWduU2xvdHModGhpcy5ub2RlIGFzIFNoYWRvd1Jvb3QpO1xuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAodGhpcy5ub2RlLm5vZGVUeXBlID09PSAxIFxuICAgICAgICAgICAgICAgICAgICAmJiBlbGVtZW50Tm9kZS5ub2RlTmFtZS50b0xvd2VyQ2FzZSgpID09PSBcInNsb3RcIlxuICAgICAgICAgICAgICAgICAgICAmJiBzbG90RWxlbWVudC5hc3NpZ25lZE5vZGVzKCkubGVuZ3RoID4gMCkgXG4gICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLm5vZGUgPSBzbG90RWxlbWVudC5hc3NpZ25lZE5vZGVzKClbMF07XG4gICAgICAgICAgICAgICAgfSBlbHNlIGlmICgodGhpcy5ub2RlLm5vZGVUeXBlID09PSAxIC8qIE5vZGUuRUxFTUVOVF9OT0RFICovIHx8IHRoaXMubm9kZS5ub2RlVHlwZSA9PT0gMTEgLyogTm9kZS5ET0NVTUVOVF9GUkFHTUVOVF9OT0RFICovKSBcbiAgICAgICAgICAgICAgICAgICAgJiYgRE9NV2Fsa2VyLmZpcnN0Q2hpbGROb3RPd25lZEJ5U2xvdCh0aGlzLm5vZGUpKSB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMubm9kZSA9IERPTVdhbGtlci5maXJzdENoaWxkTm90T3duZWRCeVNsb3QodGhpcy5ub2RlKTtcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLmJFbmRUYWcgPSB0cnVlO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgaWYgKHRoaXMuYXRSb290KCkpIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoKHRoaXMubm9kZSBhcyBhbnkpLnNsb3RPd25lcikge1xuICAgICAgICAgICAgICAgICAgICBsZXQgc2xvdE93bmVyID0gKHRoaXMubm9kZSBhcyBhbnkpLnNsb3RPd25lcjtcbiAgICAgICAgICAgICAgICAgICAgbGV0IG5leHRTbG90SW5kZXggPSAodGhpcy5ub2RlIGFzIGFueSkuc2xvdEluZGV4KzE7XG4gICAgICAgICAgICAgICAgICAgIC8vIGRlbGV0ZSAodGhpcy5ub2RlIGFzIGFueSkuc2xvdE93bmVyO1xuICAgICAgICAgICAgICAgICAgICAvLyBkZWxldGUgKHRoaXMubm9kZSBhcyBhbnkpLnNsb3RJbmRleDtcbiAgICAgICAgICAgICAgICAgICAgaWYgKG5leHRTbG90SW5kZXggPCBzbG90T3duZXIuYXNzaWduZWROb2RlcygpLmxlbmd0aCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5ub2RlID0gc2xvdE93bmVyLmFzc2lnbmVkTm9kZXMoKVtuZXh0U2xvdEluZGV4XTtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuYkVuZFRhZyA9IGZhbHNlO1xuICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5ub2RlID0gc2xvdE93bmVyO1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5iRW5kVGFnID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoKHRoaXMubm9kZSBhcyBhbnkpLm93bmVyRWxlbWVudCkge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLm5vZGUgPSAodGhpcy5ub2RlIGFzIGFueSkub3duZXJFbGVtZW50O1xuICAgICAgICAgICAgICAgICAgICB0aGlzLmJFbmRUYWcgPSB0cnVlO1xuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoRE9NV2Fsa2VyLm5leHRTaWJsaW5nTm90T3duZWRCeVNsb3QodGhpcy5ub2RlKSkge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLm5vZGUgPSBET01XYWxrZXIubmV4dFNpYmxpbmdOb3RPd25lZEJ5U2xvdCh0aGlzLm5vZGUpO1xuICAgICAgICAgICAgICAgICAgICB0aGlzLmJFbmRUYWcgPSBmYWxzZTtcbiAgICAgICAgICAgICAgICAgICAgc2tpcE93bmVkID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKHRoaXMubm9kZS5wYXJlbnROb2RlKSB7XG4gICAgICAgICAgICAgICAgICAgIGlmICh0aGlzLm5vZGUucGFyZW50Tm9kZS5ub2RlVHlwZSA9PT0gMSAmJiAodGhpcy5ub2RlLnBhcmVudE5vZGUgYXMgSFRNTEVsZW1lbnQpLmhhc0F0dHJpYnV0ZShcImFyaWEtb3duc1wiKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgbGV0IG93bklkcyA9ICh0aGlzLm5vZGUucGFyZW50Tm9kZSBhcyBIVE1MRWxlbWVudCkuZ2V0QXR0cmlidXRlKFwiYXJpYS1vd25zXCIpLnNwbGl0KC8gKy9nKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmICh0aGlzLm5vZGUubm9kZVR5cGUgIT09IDEgfHwgISh0aGlzLm5vZGUgYXMgSFRNTEVsZW1lbnQpLmhhc0F0dHJpYnV0ZShcImlkXCIpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5ub2RlID0gRnJhZ21lbnRVdGlsLmdldE93bmVyRnJhZ21lbnQodGhpcy5ub2RlKS5nZXRFbGVtZW50QnlJZChvd25JZHNbMF0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuYkVuZFRhZyA9IGZhbHNlO1xuICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgaWR4ID0gb3duSWRzLmluZGV4T2YoKHRoaXMubm9kZSBhcyBIVE1MRWxlbWVudCkuZ2V0QXR0cmlidXRlKFwiaWRcIikpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChpZHggPT09IG93bklkcy5sZW5ndGggLSAxKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGxhc3Qgb25lXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMubm9kZSA9IHRoaXMubm9kZS5wYXJlbnROb2RlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLmJFbmRUYWcgPSB0cnVlOyAgICAgICAgICAgIFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGdyYWIgbmV4dFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLm5vZGUgPSBGcmFnbWVudFV0aWwuZ2V0T3duZXJGcmFnbWVudCh0aGlzLm5vZGUpLmdldEVsZW1lbnRCeUlkKG93bklkc1tpZHgrMV0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLmJFbmRUYWcgPSBmYWxzZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgdGhpcy5ub2RlID0gdGhpcy5ub2RlLnBhcmVudE5vZGU7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuYkVuZFRhZyA9IHRydWU7XG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfSB3aGlsZSAoXG4gICAgICAgICAgICAodGhpcy5ub2RlLm5vZGVUeXBlICE9PSAxIC8qIE5vZGUuRUxFTUVOVF9OT0RFICovICYmIHRoaXMubm9kZS5ub2RlVHlwZSAhPT0gMTEgJiYgdGhpcy5ub2RlLm5vZGVUeXBlICE9PSAzIC8qIE5vZGUuVEVYVF9OT0RFICovKVxuICAgICAgICAgICAgfHwgKHRoaXMubm9kZS5ub2RlVHlwZSA9PT0gMSAmJiAodGhpcy5ub2RlIGFzIEVsZW1lbnQpLmdldEF0dHJpYnV0ZShcImFDaGVja2VyXCIpID09PSBcIkFDRVwiKVxuICAgICAgICAgICAgfHwgKHNraXBPd25lZCAmJiB0aGlzLm5vZGUubm9kZVR5cGUgPT09IDEgJiYgISFBUklBTWFwcGVyLmdldEFyaWFPd25lZEJ5KHRoaXMubm9kZSBhcyBIVE1MRWxlbWVudCkpXG4gICAgICAgICk7XG4gICAgICAgIHJldHVybiB0cnVlO1xuICAgIH1cblxuICAgIHByZXZOb2RlKCkgOiBib29sZWFuIHtcbiAgICAgICAgbGV0IHNraXBPd25lZCA9IGZhbHNlO1xuICAgICAgICBkbyB7XG4gICAgICAgICAgICBza2lwT3duZWQgPSBmYWxzZTtcbiAgICAgICAgICAgIGlmICh0aGlzLmJFbmRUYWcpIHtcbiAgICAgICAgICAgICAgICBsZXQgaWZyYW1lTm9kZSA9ICh0aGlzLm5vZGUgYXMgSFRNTElGcmFtZUVsZW1lbnQpO1xuICAgICAgICAgICAgICAgIGxldCBlbGVtZW50Tm9kZSA9ICh0aGlzLm5vZGUgYXMgSFRNTEVsZW1lbnQpO1xuICAgICAgICAgICAgICAgIGlmICh0aGlzLm5vZGUubm9kZVR5cGUgPT09IDEgLyogTm9kZS5FTEVNRU5UX05PREUgKi8gXG4gICAgICAgICAgICAgICAgICAgICYmIHRoaXMubm9kZS5ub2RlTmFtZS50b1VwcGVyQ2FzZSgpID09PSBcIklGUkFNRVwiXG4gICAgICAgICAgICAgICAgICAgICYmIFZpc1V0aWwuaXNOb2RlVmlzaWJsZShpZnJhbWVOb2RlKVxuICAgICAgICAgICAgICAgICAgICAmJiBpZnJhbWVOb2RlLmNvbnRlbnREb2N1bWVudFxuICAgICAgICAgICAgICAgICAgICAmJiBpZnJhbWVOb2RlLmNvbnRlbnREb2N1bWVudC5kb2N1bWVudEVsZW1lbnQpIFxuICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgbGV0IG93bmVyRWxlbWVudCA9IHRoaXMubm9kZTtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5ub2RlID0gaWZyYW1lTm9kZS5jb250ZW50RG9jdW1lbnQuZG9jdW1lbnRFbGVtZW50O1xuICAgICAgICAgICAgICAgICAgICAodGhpcy5ub2RlIGFzIGFueSkub3duZXJFbGVtZW50ID0gb3duZXJFbGVtZW50O1xuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAodGhpcy5ub2RlLm5vZGVUeXBlID09PSAxIC8qIE5vZGUuRUxFTUVOVF9OT0RFICovIFxuICAgICAgICAgICAgICAgICAgICAmJiBWaXNVdGlsLmlzTm9kZVZpc2libGUoZWxlbWVudE5vZGUpXG4gICAgICAgICAgICAgICAgICAgICYmIGVsZW1lbnROb2RlLnNoYWRvd1Jvb3RcbiAgICAgICAgICAgICAgICAgICAgJiYgZWxlbWVudE5vZGUuc2hhZG93Um9vdC5sYXN0Q2hpbGQpIFxuICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgbGV0IG93bmVyRWxlbWVudCA9IHRoaXMubm9kZTtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5ub2RlID0gZWxlbWVudE5vZGUuc2hhZG93Um9vdDtcbiAgICAgICAgICAgICAgICAgICAgKHRoaXMubm9kZSBhcyBhbnkpLm93bmVyRWxlbWVudCA9IG93bmVyRWxlbWVudDtcbiAgICAgICAgICAgICAgICAgICAgRE9NV2Fsa2VyLmFzc2lnblNsb3RzKHRoaXMubm9kZSBhcyBTaGFkb3dSb290KTtcbiAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKCh0aGlzLm5vZGUubm9kZVR5cGUgPT09IDEgLyogTm9kZS5FTEVNRU5UX05PREUgKi8gfHwgdGhpcy5ub2RlLm5vZGVUeXBlID09PSAxMSkgXG4gICAgICAgICAgICAgICAgICAgICYmIERPTVdhbGtlci5sYXN0Q2hpbGROb3RPd25lZEJ5U2xvdCh0aGlzLm5vZGUpKSB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMubm9kZSA9IERPTVdhbGtlci5sYXN0Q2hpbGROb3RPd25lZEJ5U2xvdCh0aGlzLm5vZGUpO1xuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuYkVuZFRhZyA9IGZhbHNlO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgaWYgKHRoaXMuYXRSb290KCkpIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoRE9NV2Fsa2VyLnByZXZpb3VzU2libGluZ05vdE93bmVkQnlTbG90KHRoaXMubm9kZSkpIHtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5ub2RlID0gRE9NV2Fsa2VyLnByZXZpb3VzU2libGluZ05vdE93bmVkQnlTbG90KHRoaXMubm9kZSk7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuYkVuZFRhZyA9IHRydWU7XG4gICAgICAgICAgICAgICAgfSBlbHNlIGlmICgodGhpcy5ub2RlIGFzIGFueSkub3duZXJFbGVtZW50KSB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMubm9kZSA9ICh0aGlzLm5vZGUgYXMgYW55KS5vd25lckVsZW1lbnQ7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuYkVuZFRhZyA9IGZhbHNlO1xuICAgICAgICAgICAgICAgICAgICBza2lwT3duZWQgPSB0cnVlO1xuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAodGhpcy5ub2RlLnBhcmVudE5vZGUpIHtcbiAgICAgICAgICAgICAgICAgICAgaWYgKHRoaXMubm9kZS5wYXJlbnROb2RlLm5vZGVUeXBlID09PSAxICYmICh0aGlzLm5vZGUucGFyZW50Tm9kZSBhcyBIVE1MRWxlbWVudCkuaGFzQXR0cmlidXRlKFwiYXJpYS1vd25zXCIpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBsZXQgb3duSWRzID0gKHRoaXMubm9kZS5wYXJlbnROb2RlIGFzIEhUTUxFbGVtZW50KS5nZXRBdHRyaWJ1dGUoXCJhcmlhLW93bnNcIikuc3BsaXQoLyArL2cpO1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHRoaXMubm9kZS5ub2RlVHlwZSAhPT0gMSB8fCAhKHRoaXMubm9kZSBhcyBIVE1MRWxlbWVudCkuaGFzQXR0cmlidXRlKFwiaWRcIikpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLm5vZGUgPSBGcmFnbWVudFV0aWwuZ2V0T3duZXJGcmFnbWVudCh0aGlzLm5vZGUpLmdldEVsZW1lbnRCeUlkKG93bklkc1swXSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5iRW5kVGFnID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBpZHggPSBvd25JZHMuaW5kZXhPZigodGhpcy5ub2RlIGFzIEhUTUxFbGVtZW50KS5nZXRBdHRyaWJ1dGUoXCJpZFwiKSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGlkeCA9PT0gb3duSWRzLmxlbmd0aCAtIDEpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gbGFzdCBvbmVcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5ub2RlID0gdGhpcy5ub2RlLnBhcmVudE5vZGU7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuYkVuZFRhZyA9IHRydWU7ICAgICAgICAgICAgXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gZ3JhYiBuZXh0XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMubm9kZSA9IEZyYWdtZW50VXRpbC5nZXRPd25lckZyYWdtZW50KHRoaXMubm9kZSkuZ2V0RWxlbWVudEJ5SWQob3duSWRzW2lkeCsxXSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuYkVuZFRhZyA9IGZhbHNlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB0aGlzLm5vZGUgPSB0aGlzLm5vZGUucGFyZW50Tm9kZTtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5iRW5kVGFnID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfSB3aGlsZSAoXG4gICAgICAgICAgICAodGhpcy5ub2RlLm5vZGVUeXBlICE9PSAxIC8qIE5vZGUuRUxFTUVOVF9OT0RFICovICYmIHRoaXMubm9kZS5ub2RlVHlwZSAhPT0gMTEpXG4gICAgICAgICAgICB8fCAodGhpcy5ub2RlLm5vZGVUeXBlID09PSAxICYmICh0aGlzLm5vZGUgYXMgRWxlbWVudCkuZ2V0QXR0cmlidXRlKFwiYUNoZWNrZXJcIikgPT09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AgICAgIHJldHVybiB0cnVlO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgfVxuXG4gICAgcHVibGljIHN0YXRpYyBpc0ZyYW1lKGNvbnRleHRIaWVyYXJjaHk6IFJ1bGVDb250ZXh0SGllcmFyY2h5KSA6IGJvb2xlYW4ge1xuICAgICAgICBpZiAoY29udGV4dEhpZXJhcmNoeSAmJiBjb250ZXh0SGllcmFyY2h5LmRvbSkge1xuICAgICAgICAgICAgLy8gU2tpcCBjdXJyZW50IG5vZGUgYmVjYXVzZSB3ZSB3YW50IGFuY2VzdHJ5XG4gICAgICAgICAgICBmb3IgKGxldCBpZHg9Y29udGV4dEhpZXJhcmNoeS5kb20ubGVuZ3RoLTI7IGlkeCA+PSAwOyAtLWlkeCkge1xuICAgICAgICAgICAgICAgIGNvbnN0IGVsZW0gPSAoY29udGV4dEhpZXJhcmNoeS5kb21baWR4XS5ub2RlIGFzIEhUTUxFbGVtZW50KTtcbiAgICAgICAgICAgICAgICBpZiAoZWxlbS5ub2RlVHlwZSA9PT0gMSAmJiBlbGVtLm5vZGVOYW1lLnRvTG93ZXJDYXNlKCkgPT09IFwiaWZyYW1lXCIpIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHRydWU7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIHJldHVybiBmYWxzZTtcbiAgICB9XG59IiwiLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuICAgICBDb3B5cmlnaHQ6OiAyMDIwLSBJQk0sIEluY1xuXG4gICAgTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAgICB5b3UgbWF5IG5vdCB1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gICAgIGlmIChuLm5vZGVUeXBlID09PSAxMSkge1xuICAgICAgICAgICAgICAgIHJldHVybiBuIGFzIERvY3VtZW50RnJhZ21lbnQ7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIG5vZGUub3duZXJEb2N1bWVudDtcbiAgICB9XG5cbiAgICBwdWJsaWMgc3RhdGljIGdldEJ5SWQobm9kZTogTm9kZSwgaWQ6IHN0cmluZykge1xuICAgICAgICByZXR1cm4gdGhpcy5nZXRPd25lckZyYWdtZW50KG5vZGUpLmdldEVsZW1lbnRCeUlkKGlkKTtcbiAgICB9XG5cbiAgICBwdWJsaWMgc3RhdGljIGdldEFuY2VzdG9yKGhpZXJhcmNoaWVzOiBSdWxlQ29udGV4dEhpZXJhcmNoeSwgZWxlbU5hbWU6IHN0cmluZykge1xuICAgICAgICBsZXQgbWF0Y2hlcyA9IGhpZXJhcmNoaWVzW1wiZG9tXCJdLmZpbHRlcihpbmZvID0+IGluZm8ucm9sZSA9PT0gZWxlbU5hbWUpO1xuICAgICAgICByZXR1cm4gbWF0Y2hlcy5sZW5ndGggPiAwICYmIG1hdGNoZXNbMF0ubm9kZSB8fCBudWxsO1xuICAgIH1cblxuICAgIHB1YmxpYyBzdGF0aWMgZ2V0QW5jZXN0b3JXaXRoUm9sZShoaWVyYXJjaGllczogUnVsZUNvbnRleHRIaWVyYXJjaHksIHJvbGU6IHN0cmluZykge1xuICAgICAgICBsZXQgbWF0Y2hlcyA9IGhpZXJhcmNoaWVzW1wiYXJpYVwiXS5maWx0ZXIoaW5mbyA9PiBpbmZvLnJvbGUgPT09IHJvbGUpO1xuICAgICAgICByZXR1cm4gbWF0Y2hlcy5sZW5ndGggPiAwICYmIG1hdGNoZXNbMF0ubm9kZSB8fCBudWxsO1xuICAgIH1cbn0iLCIvKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqXG4gICAgI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iaGlcIixcImJoalwiLFwiYmhrXCIsXCJiaGxcIixcImJobVwiLFwiYmhuXCIsXCJiaG9cIixcImJocFwiLFwiYmhxXCIsXCJiaHJcIixcImJoc1wiLFwiYmh0XCIsXCJiaHVcIixcImJodlwiLFwiYmh3XCIsXCJiaHhcIixcImJoeVwiLFwiYmh6XCIsXCJiaWFcIixcImJpYlwiLFwiYmljXCIsXCJiaWRcIixcImJpZVwiLFwiYmlmXCIsXCJiaWdcIixcImJpalwiLFwiYmlrXCIsXCJiaWxcIixcImJpbVwiLFwiYmluXCIsXCJiaW9cIixcImJpcFwiLFwiYmlxXCIsXCJiaXJcIixcImJpdFwiLFwiYml1XCIsXCJiaXZcIixcImJpd1wiLFwiYml4XCIsXCJiaXlcIixcImJpelwiLFwiYmphXCIsXCJiamJcIixcImJqY1wiLFwiYmpkXCIsXCJiamVcIixcImJqZlwiLFwiYmpnXCIsXCJiamhcIixcImJqaVwiLFwiYmpqXCIsXCJiamtcIixcImJqbFwiLFwiYmptXCIsXCJiam5cIixcImJqb1wiLFwiYmpwXCIsXCJianFcIixcImJqclwiLFwiYmpzXCIsXCJianRcIixcImJqdVwiLFwiYmp2XCIsXCJiandcIixcImJqeFwiLFwiYmp5XCIsXCJianpcIixcImJrYVwiLFwiYmtiXCIsXCJia2NcIixcImJrZFwiLFwiYmtmXCIsXCJia2dcIixcImJraFwiLFwiYmtpXCIsXCJia2pcIixcImJra1wiLFwiYmtsXCIsXCJia21cIixcImJrblwiLFwiYmtvXCIsXCJia3BcIixcImJrcVwiLFwiYmtyXCIsXCJia3NcIixcImJrdFwiLFwiYmt1XCIsXCJia3ZcIixcImJrd1wiLFwiYmt4XCIsXCJia3lcIixcImJrelwiLFwiYmxhXCIsXCJibGJcIixcImJsY1wiLFwiYmxkXCIsXCJibGVcIixcImJsZlwiLFwiYmxnXCIsXCJibGhcIixcImJsaVwiLFwiYmxqXCIsXCJibGtcIixcImJsbFwiLFwiYmxtXCIsXCJibG5cIixcImJsb1wiLFwiYmxwXCIsXCJibHFcIixcImJsclwiLFwiYmxzXCIsXCJibHRcIixcImJsdlwiLFwiYmx3XCIsXCJibHhcIixcImJseVwiLFwiYmx6XCIsXCJibWFcIixcImJtYlwiLFwiYm1jXCIsXCJibWRcIixcImJtZVwiLFwiYm1mXCIsXCJibWdcIixcImJtaFwiLFwiYm1pXCIsXCJibWpcIixcImJta1wiLFwiYm1sXCIsXCJibW1cIixcImJtblwiLFwiYm1vXCIsXCJibXBcIixcImJtcVwiLFwiYm1yXCIsXCJibXNcIixcImJtdFwiLFwiYm11XCIsXCJibXZcIixcImJtd1wiLFwiYm14XCIsXCJibXlcIixcImJtelwiLFwiYm5hXCIsXCJibmJcIixcImJuY1wiLFwiYm5kXCIsXCJibmVcIixcImJuZlwiLFwiYm5nXCIsXCJibmlcIixcImJualwiLFwiYm5rXCIsXCJibmxcIixcImJubVwiLFwiYm5uXCIsXCJibm9cIixcImJucFwiLFwiYm5xXCIsXCJibnJcIixcImJuc1wiLFwiYm50XCIsXCJibnVcIixcImJudlwiLFwiYm53XCIsXCJibnhcIixcImJueVwiLFwiYm56XCIsXCJib2FcIixcImJvYlwiLFwiYm9lXCIsXCJib2ZcIixcImJvZ1wiLFwiYm9oXCIsXCJib2lcIixcImJvalwiLFwiYm9rXCIsXCJib2xcIixcImJvbVwiLFwiYm9uXCIsXCJib29cIixcImJvcFwiLFwiYm9xXCIsXCJib3JcIixcImJvdFwiLFwiYm91XCIsXCJib3ZcIixcImJvd1wiLFwiYm94XCIsXCJib3lcIixcImJvelwiLFwiYnBhXCIsXCJicGJcIixcImJwZFwiLFwiYnBlXCIsXCJicGdcIixcImJwaFwiLFwiYnBpXCIsXCJicGpcIixcImJwa1wiLFwiYnBsXCIsXCJicG1cIixcImJwblwiLFwiYnBvXCIsXCJicHBcIixcImJwcVwiLFwiYnByXCIsXCJicHNcIixcImJwdFwiLFwiYnB1XCIsXCJicHZcIixcImJwd1wiLFwiYnB4XCIsXCJicHlcIixcImJwelwiLFw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IsXCJjbGhcIixcImNsaVwiLFwiY2xqXCIsXCJjbGtcIixcImNsbFwiLFwiY2xtXCIsXCJjbG9cIixcImNsdFwiLFwiY2x1XCIsXCJjbHdcIixcImNseVwiLFwiY21hXCIsXCJjbWNcIixcImNtZVwiLFwiY21nXCIsXCJjbWlcIixcImNta1wiLFwiY21sXCIsXCJjbW1cIixcImNtblwiLFwiY21vXCIsXCJjbXJcIixcImNtc1wiLFwiY210XCIsXCJjbmFcIixcImNuYlwiLFwiY25jXCIsXCJjbmdcIixcImNuaFwiLFwiY25pXCIsXCJjbmtcIixcImNubFwiLFwiY25vXCIsXCJjbnBcIixcImNuclwiLFwiY25zXCIsXCJjbnRcIixcImNudVwiLFwiY253XCIsXCJjbnhcIixcImNvYVwiLFwiY29iXCIsXCJjb2NcIixcImNvZFwiLFwiY29lXCIsXCJjb2ZcIixcImNvZ1wiLFwiY29oXCIsXCJjb2pcIixcImNva1wiLFwiY29sXCIsXCJjb21cIixcImNvblwiLFwiY29vXCIsXCJjb3BcIixcImNvcVwiLFwiY290XCIsXCJjb3VcIixcImNvdlwiLFwiY293XCIsXCJjb3hcIixcImNveVwiLFwiY296XCIsXCJjcGFcIixcImNwYlwiLFwiY3BjXCIsXCJjcGVcIixcImNwZlwiLFwiY3BnXCIsXCJjcGlcIixcImNwblwiLFwiY3BvXCIsXCJjcHBcIixcImNwc1wiLFwiY3B1XCIsXCJjcHhcIixcImNweVwiLFwiY3FkXCIsXCJjcXVcIixcImNyYVwiLFwiY3JiXCIsXCJjcmNcIixcImNyZFwiLFwiY3JmXCIsXCJjcmdcIixcImNyaFwiLFwiY3JpXCIsXCJjcmpcIixcImNya1wiLFwiY3JsXCIsXCJjcm1cIixcImNyblwiLFwiY3JvXCIsXCJjcnBcIixcImNycVwiLFwiY3JyXCIsXCJjcnNcIixcImNydFwiLFwiY3J2XCIsXCJjcndcIixcImNyeFwiLFwiY3J5XCIsXCJjcnpcIixcImNzYVwiLFwiY3NiXCIsXCJjc2NcIix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aGlsXCIsXCJoaW1cIixcImhpb1wiLFwiaGlyXCIsXCJoaXRcIixcImhpd1wiLFwiaGl4XCIsXCJoamlcIixcImhrYVwiLFwiaGtlXCIsXCJoa2hcIixcImhra1wiLFwiaGtuXCIsXCJoa3NcIixcImhsYVwiLFwiaGxiXCIsXCJobGRcIixcImhsZVwiLFwiaGx0XCIsXCJobHVcIixcImhtYVwiLFwiaG1iXCIsXCJobWNcIixcImhtZFwiLFwiaG1lXCIsXCJobWZcIixcImhtZ1wiLFwiaG1oXCIsXCJobWlcIixcImhtalwiLFwiaG1rXCIsXCJobWxcIixcImhtbVwiLFwiaG1uXCIsXCJobXBcIixcImhtcVwiLFwiaG1yXCIsXCJobXNcIixcImhtdFwiLFwiaG11XCIsXCJobXZcIixcImhtd1wiLFwiaG14XCIsXCJobXlcIixcImhtelwiLFwiaG5hXCIsXCJobmRcIixcImhuZVwiLFwiaG5nXCIsXCJobmhcIixcImhuaVwiLFwiaG5qXCIsXCJobm5cIixcImhub1wiLFwiaG5zXCIsXCJobnVcIixcImhvYVwiLFwiaG9iXCIsXCJob2NcIixcImhvZFwiLFwiaG9lXCIsXCJob2hcIixcImhvaVwiLFwiaG9qXCIsXCJob2tcIixcImhvbFwiLFwiaG9tXCIsXCJob29cIixcImhvcFwiLFwiaG9yXCIsXCJob3NcIixcImhvdFwiLFwiaG92XCIsXCJob3dcIixcImhveVwiLFwiaG96XCIsXCJocG9cIixcImhwc1wiLFwiaHJhXCIsXCJocmNcIixcImhyZVwiLFwiaHJrXCIsXCJocm1cIixcImhyb1wiLFwiaHJwXCIsXCJocnJcIixcImhydFwiLFwiaHJ1XCIsXCJocndcIixcImhyeFwiLFwiaHJ6XCIsXCJoc2JcIixcImhzaFwiLFwiaHNsXCIsXCJoc25cIixcImhzc1wiLFwiaHRpXCIsXCJodG9cIixcImh0c1wiLFwiaHR1XCIsXCJodHhcIixcImh1YlwiLFwiaHVjXCIsXCJodWRcIixcImh1ZVwiLFwiaHVmXCIsXCJod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WFcIixcIml5b1wiLFwiaXl4XCIsXCJpemhcIixcIml6aVwiLFwiaXpyXCIsXCJpenpcIl1cbixbIFwiamFcIixcImppXCIsXCJqdlwiLFwiandcIixcImphYVwiLFwiamFiXCIsXCJqYWNcIixcImphZFwiLFwiamFlXCIsXCJqYWZcIixcImphaFwiLFwiamFqXCIsXCJqYWtcIixcImphbFwiLFwiamFtXCIsXCJqYW5cIixcImphb1wiLFwiamFxXCIsXCJqYXJcIixcImphc1wiLFwiamF0XCIsXCJqYXVcIixcImpheFwiLFwiamF5XCIsXCJqYXpcIixcImpiZVwiLFwiamJpXCIsXCJqYmpcIixcImpia1wiLFwiamJtXCIsXCJqYm5cIixcImpib1wiLFwiamJyXCIsXCJqYnRcIixcImpidVwiLFwiamJ3XCIsXCJqY3NcIixcImpjdFwiLFwiamRhXCIsXCJqZGdcIixcImpkdFwiLFwiamViXCIsXCJqZWVcIixcImplZ1wiLFwiamVoXCIsXCJqZWlcIixcImpla1wiLFwiamVsXCIsXCJqZW5cIixcImplclwiLFwiamV0XCIsXCJqZXVcIixcImpnYlwiLFwiamdlXCIsXCJqZ2tcIixcImpnb1wiLFwiamhpXCIsXCJqaHNcIixcImppYVwiLFwiamliXCIsXCJqaWNcIixcImppZFwiLFwiamllXCIsXCJqaWdcIixcImppaFwiLFwiamlpXCIsXCJqaWxcIixcImppbVwiLFwiamlvXCIsXCJqaXFcIixcImppdFwiLFwiaml1XCIsXCJqaXZcIixcImppeVwiLFwiamplXCIsXCJqanJcIixcImprYVwiLFwiamttXCIsXCJqa29cIixcImprcFwiLFwiamtyXCIsXCJqa3NcIixcImprdVwiLFwiamxlXCIsXCJqbHNcIixcImptYVwiLFwiam1iXCIsXCJqbWNcIixcImptZFwiLFwiam1pXCIsXCJqbWxcIixcImptblwiLFwiam1yXCIsXCJqbXNcIixcImptd1wiLFwiam14XCIsXCJqbmFcIixcImpuZFwiLFwiam5nXCIsXCJqbmlcIixcImpualwiLFwiam5sXCIsXCJqbnNcIixcImpvYlwiLFwiam9kXCIsXCJqb2dcIixcImpvclwiLFwiam9zXCIsXCJqb3dcIixcImpwYVwiLFwianByXCIsXCJqcHhcIixcImpxclwiLFwianJhXCIsXCJqcmJcIixcImpyclwiLFwianJ0XCIsXCJqcnVcIixcImpzbFwiLFwianVhXCIsXCJqdWJcIixcImp1Y1wiLFwianVkXCIsXCJqdWhcIixcImp1aVwiLFwianVrXCIsXCJqdWxcIixcImp1bVwiLFwianVuXCIsXCJqdW9cIixcImp1cFwiLFwianVyXCIsXCJqdXNcIixcImp1dFwiLFwianV1XCIsXCJqdXdcIixcImp1eVwiLFwianZkXCIsXCJqdm5cIixcImp3aVwiLFwianlhXCIsXCJqeWVcIixcImp5eVwiXVxuLFsgXCJrYVwiLFwia2dcIixcImtpXCIsXCJralwiLFwia2tcIixcImtsXCIsXCJrbVwiLFwia25cIixcImtvXCIsXCJrclwiLFwia3NcIixcImt1XCIsXCJrdlwiLFwia3dcIixcImt5XCIsXCJrYWFcIixcImthYlwiLFwia2FjXCIsXCJrYWRcIixcImthZVwiLFwia2FmXCIsXCJrYWdcIixcImthaFwiLFwia2FpXCIsXCJrYWpcIixcImtha1wiLFwia2FtXCIsXCJrYW9cIixcImthcFwiLFwia2FxXCIsXCJrYXJcIixcImthdlwiLFwia2F3XCIsXCJrYXhcIixcImtheVwiLFwia2JhXCIsXCJrYmJcIixcImtiY1wiLFwia2JkXCIsXCJrYmVcIixcImtiZlwiLFwia2JnXCIsXCJrYmhcIixcImtiaVwiLFwia2JqXCIsXCJrYmtcIixcImtibFwiLFwia2JtXCIsXCJrYm5cIixcImtib1wiLFwia2JwXCIsXCJrYnFcIixcImticlwiLFwia2JzXCIsXCJrYnRcIixcImtidVwiLFwia2J2XCIsXCJrYndcIixcImtieFwiLFwia2J5XCIsXCJrYnpcIixcImtjYVwiLFwia2NiXCIsXCJrY2NcIixcImtjZFwiLFwia2NlXCIsXCJrY2ZcIixcImtjZ1wiLFwia2NoXCIsXCJrY2lcIixcImtjalwiLFwia2NrXCIsXCJrY2xcIixcImtjbVwiLFwia2NuXCIsXCJrY29cIixcImtjcFwiLFwia2NxXCIsXCJrY3JcIixcImtjc1wiLFwia2N0XCIsXCJrY3VcIixcImtjdlwiLFwia2N3XCIsXCJrY3hcIixcImtjeVwiLFwia2N6XCIsXCJrZGFcIixcImtkY1wiLFwia2RkXCIsXCJrZGVcIixcImtkZlwiLFwia2RnXCIsXCJrZGhcIixcImtkaVwiLFwia2RqXCIsXCJrZGtcIixcImtkbFwiLFwia2RtXCIsXCJrZG5cIixcImtkb1wiLFwia2RwXCIsXCJrZHFcIixcImtkclwiLFwia2R0XCIsXCJrZHVcIixcImtkdlwiLFwia2R3XCIsXCJrZHhcIixcImtkeVwiLFwia2R6XCIsXCJrZWFcIixcImtlYlwiLFwia2VjXCIsXCJrZWRcIixcImtlZVwiLFwia2VmXCIsXCJrZWdcIixcImtlaFwiLFwia2VpXCIsXCJrZWpcIixcImtla1wiLFwia2VsXCIsXCJrZW1cIixcImtlblwiLFwia2VvXCIsXCJrZXBcIixcImtlcVwiLFwia2VyXCIsXCJrZXNcIixcImtldFwiLFwia2V1XCIsXCJrZXZcIixcImtld1wiLFwia2V4XCIsXCJrZXlcIixcImtlelwiLFwia2ZhXCIsXCJrZmJcIixcImtmY1wiLFwia2ZkXCIsXCJrZmVcIixcImtmZlwiLFwia2ZnXCIsXCJrZmhcIixcImtmaVwiLFwia2ZqXCIsXCJrZmtcIixcImtmbFwiLFwia2ZtXCIsXCJrZm5cIixcImtmb1wiLFwia2ZwXCIsXCJrZnFcIixcImtmclwiLFwia2ZzXCIsXCJrZnRcIixcImtmdVwiLFwia2Z2XCIsXCJrZndcIixcImtmeFwiLFwia2Z5XCIsXCJrZnpcIixcImtnYVwiLFwia2diXCIsXCJrZ2NcIixcImtnZFwiLFwia2dlXCIsXCJrZ2ZcIixcImtnZ1wiLFwia2doXCIsXCJrZ2lcIixcImtnalwiLFwia2drXCIsXCJrZ2xcIixcImtnbVwiLFwia2duXCIsXCJrZ29cIixcImtncFwiLFwia2dxXCIsXCJrZ3JcIixcImtnc1wiLFwia2d0XCIsXCJrZ3VcIixcImtndlwiLFwia2d3XCIsXCJrZ3hcIixcImtneVwiLFwia2hhXCIsXCJseWdcIixcImtoYlwiLFwia2hjXCIsXCJraGRcIixcImtoZVwiLFwia2hmXCIsXCJraGdcIixcImtoaFwiLFwia2hpXCIsXCJraGpcIixcImtoa1wiLFwia2hsXCIsXCJraG5cIixcImtob1wiLFwia2hwXCIsXCJraHFcIixcImtoclwiLFwia2hzXCIsXCJraHRcIixcImtodVwiLFwia2h2XCIsXCJraHdcIixcImtoeFwiLFwia2h5XCIsXCJraHpcIixcImtpYVwiLFwia2liXCIsXCJraWNcIixcImtpZFwiLFwia2llXCIsXCJraWZcIixcImtpZ1wiLFwia2loXCIsXCJraWlcIixcImtpalwiLFwia2lsXCIsXCJraW1cIixcImtpb1wiLFwia2lwXCIsXCJraXFcIixcImtpc1wiLFwia2l0XCIsXCJraXVcIixcImtpdlwiLFwia2l3XCIsXCJraXhcIixcImtpeVwiLFwia2l6XCIsXCJramFcIixcImtqYlwiLFwia2pjXCIsXCJramRcIixcImtqZVwiLFwia2pmXCIsXCJramdcIixcImtqaFwiLFwia2ppXCIsXCJrampcIixcImtqa1wiLFwia2psXCIsXCJram1cIixcImtqblwiLFwia2pvXCIsXCJranBcIixcImtqcVwiLFwia2pyXCIsXCJranNcIixcImtqdFwiLFwia2p1XCIsXCJranZcIixcImtqeFwiLFwia2p5XCIsXCJranpcIixcImtrYVwiLFwia2tiXCIsXCJra2NcIixcImtrZFwiLFwia2tlXCIsXCJra2ZcIixcImtrZ1wiLFwia2toXCIsXCJra2lcIixcImtralwiLFwia2trXCIsXCJra2xcIixcImtrbVwiLFwia2tuXCIsXCJra29cIixcImtrcFwiLFwia2txXCIsXCJra3JcIixcImtrc1wiLFwia2t0XCIsXCJra3VcIixcImtrdlwiLFwia2t3XCIsXCJra3hcIixcImtreVwiLFwia2t6XCIsXCJrbGFcIixcImtsYlwiLFwia2xjXCIsXCJrbGRcIixcImtsZVwiLFwia2xmXCIsXCJrbGdcIixcImtsaFwiLFwia2xpXCIsXCJrbGpcIixcImtsa1wiLFwia2xsXCIsXCJrbG1cIixcImtsblwiLFwia2xvXCIsXCJrbHBcIixcImtscVwiLFwia2xyXCIsXCJrbHNcIixcImtsdFwiLFwia2x1XCIsXCJrbHZcIixcImtsd1wiLFwia2x4XCIsXCJrbHlcIixcImtselwiLFwia21hXCIsXCJrbWJcIixcImttY1wiLFwia21kXCIsXCJrbWVcIixcImttZlwiLFwia21nXCIsXCJrbWhcIixcImttaVwiLFwia21qXCIsXCJrbWtcIixcImttbFwiLFwia21tXCIsXCJrbW5cIixcImttb1wiLFwia21wXCIsXCJrbXFcIixcImttclwiLFwia21zXCIsXCJrbXRcIixcImttdVwiLFwia212XCIsXCJrbXdcIixcImtteFwiLFwia215XCIsXCJrbXpcIixcImtuYVwiLFwia25iXCIsXCJrbmNcIixcImtuZFwiLFwia25lXCIsXCJrbmZcIixcImtuZ1wiLFwia25pXCIsXCJrbmpcIixcImtua1wiLFwia25sXCIsXCJrbm1cIixcImtublwiLFwia25vXCIsXCJrbnBcIixcImtucVwiLFwia25yXCIsXCJrbnNcIixcImtudFwiLFwia251XCIsXCJrbnZcIixcImtud1wiLFwia254XCIsXCJrbnlcIixcImtuelwiLFwia29hXCIsXCJrb2NcIixcImtvZFwiLFwia29lXCIsXCJrb2ZcIixcImtvZ1wiLFwia29oXCIsXCJrb2lcIixcImtvalwiLFwia29rXCIsXCJrb2xcIixcImtvb1wiLFwia29wXCIsXCJrb3FcIixcImtvc1wiLFwia290XCIsXCJrb3VcIixcImtvdlwiLFwia293XCIsXCJrb3hcIixcImtveVwiLFwia296XCIsXCJrcGFcIixcImtwYlwiLFwia3BjXCIsXCJrcGRcIixcImtwZVwiLFwia3BmXCIsXCJrcGdcIixcImtwaFwiLFwia3BpXCIsXCJrcGpcIixcImtwa1wiLFwia3BsXCIsXCJrcG1cIixcImtwblwiLFwia3BvXCIsXCJrcHBcIixcImtwcVwiLFwia3ByXCIsXCJrcHNcIixcImtwdFwiLFwia3B1XCIsXCJrcHZcIixcImtwd1wiLFwia3B4XCIsXCJrcHlcIixcImtwelwiLFwia3FhXCIsXCJrcWJcIixcImtxY1wiLFwia3FkXCIsXCJrcWVcIixcImtxZlwiLFwia3FnXCIsXCJrcWhcIixcImtxaVwiLFwia3FqXCIsXCJrcWtcIixcImtxbFwiLFwia3FtXCIsXCJrcW5cIixcImtxb1wiLFwia3FwXCIsXCJrcXFcIixcImtxclwiLFwia3FzXCIsXCJrcXRcIixcImtxdVwiLFwia3F2XCIsXCJrcXdcIixcImtxeFwiLFwia3F5XCIsXCJrcXpcIixcImtyYVwiLFwia3JiXCIsXCJrcmNcIixcImtyZFwiLFwia3JlXCIsXCJrcmZcIixcImtyaFwiLFwia3JpXCIsXCJrcmpcIixcImtya1wiLFwia3JsXCIsXCJrcm1cIixcImtyblwiLFwia3JvXCIsXCJrcnBcIixcImtyclwiLFwia3JzXCIsXCJrcnRcIixcImtydVwiLFwia3J2XCIsXCJrcndcIixcImtyeFwiLFwia3J5XCIsXCJrcnpcIixcImtzYVwiLFwia3NiXCIsXCJrc2NcIixcImtzZFwiLFwia3NlXCIsXCJrc2ZcIixcImtzZ1wiLFwia3NoXCIsXCJrc2lcIixcImtzalwiLFwia3NrXCIsXCJrc2xcIixcImtzbVwiLFwia3NuXCIsXCJrc29cIixcImtzcFwiLFwia3NxXCIsXCJrc3JcIixcImtzc1wiLFwia3N0XCIsXCJrc3VcIixcImtzdlwiLFwia3N3XCIsXCJrc3hcIixcImtzeVwiLFwia3N6XCIsXCJrdGFcIixcImt0YlwiLFwia3RjXCIsXCJrdGRcIixcImt0ZVwiLFwia3RmXCIsXCJrdGdcIixcImt0aFwiLFwia3RpXCIsXCJrdGpcIixcImt0a1wiLFwia3RsXCIsXCJrdG1cIixcImt0blwiLFwia3RvXCIsXCJrdHBcIixcImt0cVwiLFwia3RyXCIsXCJrdHNcIixcImt0dFwiLFwia3R1XCIsXCJrdHZcIixcImt0d1wiLFwia3R4XCIsXCJrdHlcIixcImt0elwiLFwia3ViXCIsXCJrdWNcIixcImt1ZFwiLFwia3VlXCIsXCJrdWZcIixcImt1Z1wiLFwia3VoXCIsXCJrdWlcIixcImt1alwiLFwia3VrXCIsXCJrdWxcIixcImt1bVwiLFwia3VuXCIsXCJrdW9cIixcImt1cFwiLFwia3VxXCIsXCJrdXNcIixcImt1dFwiLFwia3V1XCIsXCJrdXZcIixcImt1d1wiLFwia3V4XCIsXCJrdXlcIixcImt1elwiLFwia3ZhXCIsXCJrdmJcIixcImt2Y1wiLFwia3ZkXCIsXCJrdmVcIixcImt2ZlwiLFwia3ZnXCIsXCJrdmhcIixcImt2aVwiLFwia3ZqXCIsXCJrdmtcIixcImt2bFwiLFwia3ZtXCIsXCJrdm5cIixcImt2b1wiLFwia3ZwXCIsXCJrdnFcIixcImt2clwiLFwia3ZzXCIsXCJrdnRcIixcImt2dVwiLFwia3Z2XCIsXCJrdndcIixcImt2eFwiLFwia3Z5XCIsXCJrdnpcIixcImt3YVwiLFwia3diXCIsXCJrd2NcIixcImt3ZFwiLFwia3dlXCIsXCJrd2ZcIixcImt3Z1wiLFwia3doXCIsXCJrd2lcIixcImt3alwiLFwia3drXCIsXCJrd2xcIixcImt3bVwiLFwia3duXCIsXCJrd29cIixcImt3cFwiLFwia3dxXCIsXCJrd3JcIixcImt3c1wiLFwia3d0XCIsXCJrd3VcIixcImt3dlwiLFwia3d3XCIsXCJrd3hcIixcImt3eVwiLFwia3d6XCIsXCJreGFcIixcImt4YlwiLFwia3hjXCIsXCJreGRcIixcImt4ZVwiLFwia3hmXCIsXCJreGhcIixcImt4aVwiLFwia3hqXCIsXCJreGtcIixcImt4bFwiLFwia3htXCIsXCJreG5cIixcImt4b1wiLFwia3hwXCIsXCJreHFcIixcImt4clwiLFwia3hzXCIsXCJreHRcIixcImt4dVwiLFwia3h2XCIsXCJreHdcIixcImt4eFwiLFwia3h5XCIsXCJreHpcIixcImt5YVwiLFwia3liXCIsXCJreWNcIixcImt5ZFwiLFwia3llXCIsXCJreWZcIixcImt5Z1wiLFwia3loXCIsXCJreWlcIixcImt5alwiLFwia3lrXCIsXCJreWxcIixcImt5bVwiLFwia3luXCIsXCJreW9cIixcImt5cFwiLFwia3lxXCIsXCJreXJcIixcImt5c1wiLFwia3l0XCIsXCJreXVcIixcImt5dlwiLFwia3l3XCIsXCJreXhcIixcImt5eVwiLFwia3l6XCIsXCJremFcIixcImt6YlwiLFwia3pjXCIsXCJremRcIixcImt6ZVwiLFwia3pmXCIsXCJremdcIixcImt6aFwiLFwia3ppXCIsXCJrempcIixcImt6a1wiLFwia3psXCIsXCJrem1cIixcImt6blwiLFwia3pvXCIsXCJrenBcIixcImt6cVwiLFwia3pyXCIsXCJrenNcIixcImt6dFwiLFwia3p1XCIsXCJrenZcIixcImt6d1wiLFwia3p4XCIsXCJrenlcIixcImt6elwiXVxuLFsgXCJsYVwiLFwibGJcIixcImxnXCIsXCJsaVwiLFwibG5cIixcImxvXCIsXCJsdFwiLFwibHVcIixcImx2XCIsXCJsYWFcIixcImxhYlwiLFwibGFjXCIsXCJsYWRcIixcImxhZVwiLFwibGFmXCIsXCJsYWdcIixcImxhaFwiLFwibGFpXCIsXCJsYWpcIixcImxha1wiLFwibGFsXCIsXCJsYW1cIixcImxhblwiLFwibGFwXCIsXCJsYXFcIixcImxhclwiLFwibGFzXCIsXCJsYXVcIixcImxhd1wiLFwibGF4XCIsXCJsYXlcIixcImxhelwiLFwibGJhXCIsXCJsYmJcIixcImxiY1wiLFwibGJlXCIsXCJsYmZcIixcImxiZ1wiLFwibGJpXCIsXCJsYmpcIixcImxia1wiLFwibGJsXCIsXCJsYm1cIixcImxiblwiLFwibGJvXCIsXCJsYnFcIixcImxiclwiLFwibGJzXCIsXCJsYnRcIixcImxidVwiLFwibGJ2XCIsXCJsYndcIixcImxieFwiLFwibGJ5XCIsXCJsYnpcIixcImxjY1wiLFwibGNkXCIsXCJsY2VcIixcImxjZlwiLFwibGNoXCIsXCJsY2xcIixcImxjbVwiLFwibGNwXCIsXCJsY3FcIixcImxjc1wiLFwibGRhXCIsXCJsZGJcIixcImxkZFwiLFwibGRnXCIsXCJsZGhcIixcImxkaVwiLFwibGRqXCIsXCJsZGtcIixcImxkbFwiLFwibGRtXCIsXCJsZG5cIixcImxkb1wiLFwibGRwXCIsXCJsZHFcIixcImxlYVwiLFwibGViXCIsXCJsZWNcIixcImxlZFwiLFwibGVlXCIsXCJsZWZcIixcImxlZ1wiLFwibGVoXCIsXCJsZWlcIixcImxlalwiLFwibGVrXCIsXCJsZWxcIixcImxlbVwiLFwibGVuXCIsXCJsZW9cIixcImxlcFwiLFwibGVxXCIsXCJsZXJcIixcImxlc1wiLFwibGV0XCIsXCJsZXVcIixcImxldlwiLFwibGV3XCIsXCJsZXhcIixcImxleVwiLFwibGV6XCIsXCJsZmFcIixcImxmblwiLFwibGdhXCIsXCJsZ2JcIixcImxnZ1wiLFwibGdoXCIsXCJsZ2lcIixcImxna1wiLFwibGdsXCIsXCJsZ21cIixcImxnblwiLFwibGdxXCIsXCJsZ3JcIixcImxndFwiLFwibGd1XCIsXCJsZ3pcIixcImxoYVwiLFwibGhoXCIsXCJsaGlcIixcImxobFwiLFwibGhtXCIsXCJsaG5cIixcImxocFwiLFwibGhzXCIsXCJsaHRcIixcImxodVwiLFwibGlhXCIsXCJsaWJcIixcImxpY1wiLFwibGlkXCIsXCJsaWVcIixcImxpZlwiLFwibGlnXCIsXCJsaWhcIixcImxpaVwiLFwibGlqXCIsXCJsaWtcIixcImxpbFwiLFwibGlvXCIsXCJsaXBcIixcImxpcVwiLFwibGlyXCIsXCJsaXNcIixcImxpdVwiLFwibGl2XCIsXCJsaXdcIixcImxpeFwiLFwibGl5XCIsXCJsaXpcIixcImxqYVwiLFwibGplXCIsXCJsamlcIixcImxqbFwiLFwibGpwXCIsXCJsandcIixcImxqeFwiLFwibGthXCIsXCJsa2JcIixcImxrY1wiLFwibGtkXCIsXCJsa2VcIixcImxraFwiLFwibGtpXCIsXCJsa2pcIixcImxrbFwiLFwibGttXCIsXCJsa25cIixcImxrb1wiLFwibGtyXCIsXCJsa3NcIixcImxrdFwiLFwibGt1XCIsXCJsa3lcIixcImxsYVwiLFwibGxiXCIsXCJsbGNcIixcImxsZFwiLFwibGxlXCIsXCJsbGZcIixcImxsZ1wiLFwibGxoXCIsXCJsbGlcIixcImxsalwiLFwibGxrXCIsXCJsbGxcIixcImxsbVwiLFwibGxuXCIsXCJsbG9cIixcImxscFwiLFwibGxxXCIsXCJsbHNcIixcImxsdVwiLFwibGx4XCIsXCJsbWFcIixcImxtYlwiLFwibG1jXCIsXCJsbWRcIixcImxtZVwiLFwibG1mXCIsXCJsbWdcIixcImxtaFwiLFwibG1pXCIsXCJsbWpcIixcImxta1wiLFwibG1sXCIsXCJsbW1cIixcImxtblwiLFwibG1vXCIsXCJsbXBcIixcImxtcVwiLFwibG1yXCIsXCJsbXVcIixcImxtdlwiLFwibG13XCIsXCJsbXhcIixcImxteVwiLFwibG16XCIsXCJsbmFcIixcImxuYlwiLFwibG5kXCIsXCJsbmdcIixcImxuaFwiLFwibG5pXCIsXCJsbmpcIixcImxubFwiLFwibG5tXCIsXCJsbm5cIixcImxub1wiLFwibG5zXCIsXCJsbnVcIixcImxud1wiLFwibG56XCIsXCJsb2FcIixcImxvYlwiLFwibG9jXCIsXCJsb2VcIixcImxvZlwiLFwibG9nXCIsXCJsb2hcIixcImxvaVwiLFwibG9qXCIsXCJsb2tcIixcImxvbFwiLFwibG9tXCIsXCJsb25cIixcImxvb1wiLFwibG9wXCIsXCJsb3FcIixcImxvclwiLFwibG9zXCIsXCJsb3RcIixcImxvdVwiLFwibG92XCIsXCJsb3dcIixcImxveFwiLFwibG95XCIsXCJsb3pcIixcImxwYVwiLFwibHBlXCIsXCJscG5cIixcImxwb1wiLFwibHB4XCIsXCJscmFcIixcImxyY1wiLFwibHJlXCIsXCJscmdcIixcImxyaVwiLFwibHJrXCIsXCJscmxcIixcImxybVwiLFwibHJuXCIsXCJscm9cIixcImxyclwiLFwibHJ0XCIsXCJscnZcIixcImxyelwiLFwibHNhXCIsXCJsc2JcIixcImxzZFwiLFwibHNlXCIsXCJsc2dcIixcImxzaFwiLFwibHNpXCIsXCJsc2xcIixcImxzbVwiLFwibHNuXCIsXCJsc29cIixcImxzcFwiLFwibHNyXCIsXCJsc3NcIixcImxzdFwiLFwibHN2XCIsXCJsc3lcIixcImx0Y1wiLFwibHRnXCIsXCJsdGhcIixcImx0aVwiLFwibHRuXCIsXCJsdG9cIixcImx0c1wiLFwibHR1XCIsXCJsdWFcIixcImx1Y1wiLFwibHVkXCIsXCJsdWVcIixcImx1ZlwiLFwibHVpXCIsXCJsdWpcIixcImx1a1wiLFwibHVsXCIsXCJsdW1cIixcImx1blwiLFwibHVvXCIsXCJsdXBcIixcImx1cVwiLFwibHVyXCIsXCJsdXNcIixcImx1dFwiLFwibHV1XCIsXCJsdXZcIixcImx1d1wiLFwibHV5XCIsXCJsdXpcIixcImx2YVwiLFwibHZpXCIsXCJsdmtcIixcImx2c1wiLFwibHZ1XCIsXCJsd2FcIixcImx3ZVwiLFwibHdnXCIsXCJsd2hcIixcImx3bFwiLFwibHdtXCIsXCJsd29cIixcImx3c1wiLFwibHd0XCIsXCJsd3VcIixcImx3d1wiLFwibHhtXCIsXCJseWFcIixcImx5Z1wiLFwibHluXCIsXCJsemhcIixcImx6bFwiLFwibHpuXCIsXCJsenpcIl1cbixbIFwibWdcIixcIm1oXCIsXCJtaVwiLFwibWtcIixcIm1sXCIsXCJtblwiLFwibW9cIixcIm1yXCIsXCJtc1wiLFwibXRcIixcIm15XCIsXCJtYWFcIixcIm1hYlwiLFwibWFkXCIsXCJtYWVcIixcIm1hZlwiLFwibWFnXCIsXCJtYWlcIixcIm1halwiLFwibWFrXCIsXCJtYW1cIixcIm1hblwiLFwibWFwXCIsXCJtYXFcIixcIm1hc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JtaXdcIixcIm1peFwiLFwibWl5XCIsXCJtaXpcIixcIm1qYVwiLFwibWpiXCIsXCJtamNcIixcIm1qZFwiLFwibWplXCIsXCJtamdcIixcIm1qaFwiLFwibWppXCIsXCJtampcIixcIm1qa1wiLFwibWpsXCIsXCJtam1cIixcIm1qblwiLFwibWpvXCIsXCJtanBcIixcIm1qcVwiLFwibWpyXCIsXCJtanNcIixcIm1qdFwiLFwibWp1XCIsXCJtanZcIixcIm1qd1wiLFwibWp4XCIsXCJtanlcIixcIm1qelwiLFwibWthXCIsXCJta2JcIixcIm1rY1wiLFwibWtlXCIsXCJta2ZcIixcIm1rZ1wiLFwibWtoXCIsXCJta2lcIixcIm1ralwiLFwibWtrXCIsXCJta2xcIixcIm1rbVwiLFwibWtuXCIsXCJta29cIixcIm1rcFwiLFwibWtxXCIsXCJta3JcIixcIm1rc1wiLFwibWt0XCIsXCJta3VcIixcIm1rdlwiLFwibWt3XCIsXCJta3hcIixcIm1reVwiLFwibWt6XCIsXCJtbGFcIixcIm1sYlwiLFwibWxjXCIsXCJtbGRcIixcIm1sZVwiLFwibWxmXCIsXCJtbGhcIixcIm1saVwiLFwibWxqXCIsXCJtbGtcIixcIm1sbFwiLFwibWxtXCIsXCJtbG5cIixcIm1sb1wiLFwibWxwXCIsXCJtbHFcIixcIm1sclwiLFwibWxzXCIsXCJtbHVcIixcIm1sdlwiLFwibWx3XCIsXCJtbHhcIixcIm1selwiLFwibW1hXCIsXCJtbWJcIixcIm1tY1wiLFwibW1kXCIsXCJtbWVcIixcIm1tZlwiLFwibW1nXCIsXCJtbWhcIixcIm1taVwiLFwibW1qXCIsXCJtbWtcIixcIm1tbFwiLFwibW1tXCIsXCJtbW5cIixcIm1tb1wiLFwibW1wXCIsXCJtbXFcIixcIm1tclwiLFwibW10XCIsXCJtbXVcIixcIm1tdlwiLFwibW13XCIsXCJtbXhcIixcIm1teVwiLFwibW16XCIsXCJtbmFcIixcIm1uYlwiLFwibW5jXCIsXCJtbmRcIix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xXCIsXCJtdnJcIixcIm12c1wiLFwibXZ0XCIsXCJtdnVcIixcIm12dlwiLFwibXZ3XCIsXCJtdnhcIixcIm12eVwiLFwibXZ6XCIsXCJtd2FcIixcIm13YlwiLFwibXdjXCIsXCJtd2RcIixcIm13ZVwiLFwibXdmXCIsXCJtd2dcIixcIm13aFwiLFwibXdpXCIsXCJtd2pcIixcIm13a1wiLFwibXdsXCIsXCJtd21cIixcIm13blwiLFwibXdvXCIsXCJtd3BcIixcIm13cVwiLFwibXdyXCIsXCJtd3NcIixcIm13dFwiLFwibXd1XCIsXCJtd3ZcIixcIm13d1wiLFwibXd4XCIsXCJtd3lcIixcIm13elwiLFwibXhhXCIsXCJteGJcIixcIm14Y1wiLFwibXhkXCIsXCJteGVcIixcIm14ZlwiLFwibXhnXCIsXCJteGhcIixcIm14aVwiLFwibXhqXCIsXCJteGtcIixcIm14bFwiLFwibXhtXCIsXCJteG5cIixcIm14b1wiLFwibXhwXCIsXCJteHFcIixcIm14clwiLFwibXhzXCIsXCJteHRcIixcIm14dVwiLFwibXh2XCIsXCJteHdcIixcIm14eFwiLFwibXh5XCIsXCJteHpcIixcIm15YlwiLFwibXljXCIsXCJteWRcIixcIm15ZVwiLFwibXlmXCIsXCJteWdcIixcIm15aFwiLFwibXlpXCIsXCJteWpcIixcIm15a1wiLFwibXlsXCIsXCJteW1cIixcIm15blwiLFwibXlvXCIsXCJteXBcIixcIm15cVwiLFwibXlyXCIsXCJteXNcIixcIm15dFwiLFwibXl1XCIsXCJteXZcIixcIm15d1wiLFwibXl4XCIsXCJteXlcIixcIm15elwiLFwibXphXCIsXCJtemJcIixcIm16Y1wiLFwibXpkXCIsXCJtemVcIixcIm16Z1wiLFwibXpoXCIsXCJtemlcIixcIm16alwiLFwibXprXCIsXCJtemxcIixcIm16bVwiLFwibXpuXCIsXCJtem9cIixcIm16cFwiLFwibXpxXCIsXCJtenJcIixcIm16c1wiLFwibXp0XCIsXCJtenVcIixcIm16dlwiLFwibXp3XCI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aXZcIixcIm5pd1wiLFwibml4XCIsXCJuaXlcIixcIm5pelwiLFwibmphXCIsXCJuamJcIixcIm5qZFwiLFwibmpoXCIsXCJuamlcIixcIm5qalwiLFwibmpsXCIsXCJuam1cIixcIm5qblwiLFwibmpvXCIsXCJuanJcIixcIm5qc1wiLFwibmp0XCIsXCJuanVcIixcIm5qeFwiLFwibmp5XCIsXCJuanpcIixcIm5rYVwiLFwibmtiXCIsXCJua2NcIixcIm5rZFwiLFwibmtlXCIsXCJua2ZcIixcIm5rZ1wiLFwibmtoXCIsXCJua2lcIixcIm5ralwiLFwibmtrXCIsXCJua21cIixcIm5rblwiLFwibmtvXCIsXCJua3BcIixcIm5rcVwiLFwibmtyXCIsXCJua3NcIixcIm5rdFwiLFwibmt1XCIsXCJua3ZcIixcIm5rd1wiLFwibmt4XCIsXCJua3pcIixcIm5sYVwiLFwibmxjXCIsXCJubGVcIixcIm5sZ1wiLFwibmxpXCIsXCJubGpcIixcIm5sa1wiLFwibmxsXCIsXCJubG1cIixcIm5sblwiLFwibmxvXCIsXCJubHFcIixcIm5sclwiLFwibmx1XCIsXCJubHZcIixcIm5sd1wiLFwibmx4XCIsXCJubHlcIixcIm5selwiLFwibm1hXCIsXCJubWJcIixcIm5tY1wiLFwibm1kXCIsXCJubWVcIixcIm5tZlwiLFwibm1nXCIsXCJubWhcIixcIm5taVwiLFwibm1qXCIsXCJubWtcIixcIm5tbFwiLFwibm1tXCIsXCJubW5cIixcIm5tb1wiLFwibm1wXCIsXCJubXFcIixcIm5tclwiLFwibm1zXCIsXCJubXRcIixcIm5tdVwiLFwibm12XCIsXCJubXdcIixcIm5teFwiLFwibm15XCIsXCJubXpcIixcIm5uYVwiLFwibm5iXCIsXCJubmNcIixcIm5uZFwiLFwibm5lXCIsXCJubmZcIixcIm5uZ1wiLFwibm5oXCIsXCJubmlcIixcIm5ualwiLFwibm5rXCIsXCJubmxcIixcIm5ubVwiLFwibm5uXCIsXCJubnBcIixcIm5ucVwiLFwibm5yXCIsXCJubnNcIixcIm5udFwiLFwibm51XCIsXCJubnZcIixcIm5ud1wiLFwibm54XCIsXCJubnlcIixcIm5uelwiLFwibm9hXCIsXCJub2NcIixcIm5vZFwiLFwibm9lXCIsXCJub2ZcIixcIm5vZ1wiLFwibm9oXCIsXCJub2lcIixcIm5valwiLFwibm9rXCIsXCJub2xcIixcIm5vbVwiLFwibm9uXCIsXCJub29cIixcIm5vcFwiLFwibm9xXCIsXCJub3NcIixcIm5vdFwiLFwibm91XCIsXCJub3ZcIixcIm5vd1wiLFwibm95XCIsXCJub3pcIixcIm5wYVwiLFwibnBiXCIsXCJucGdcIixcIm5waFwiLFwibnBpXCIsXCJucGxcIixcIm5wblwiLFwibnBvXCIsXCJucHNcIixcIm5wdVwiLFwibnB4XCIsXCJucHlcIixcIm5xZ1wiLFwibnFrXCIsXCJucWxcIixcIm5xbVwiLFwibnFuXCIsXCJucW9cIixcIm5xcVwiLFwibnF0XCIsXCJucXlcIixcIm5yYVwiLFwibnJiXCIsXCJucmNcIixcIm5yZVwiLFwibnJmXCIsXCJucmdcIixcIm5yaVwiLFwibnJrXCIsXCJucmxcIixcIm5ybVwiLFwibnJuXCIsXCJucnBcIixcIm5yclwiLFwibnJ0XCIsXCJucnVcIixcIm5yeFwiLFwibnJ6XCIsXCJuc2FcIixcIm5zYlwiLFwibnNjXCIsXCJuc2RcIixcIm5zZVwiLFwibnNmXCIsXCJuc2dcIixcIm5zaFwiLFwibnNpXCIsXCJuc2tcIixcIm5zbFwiLFwibnNtXCIsXCJuc25cIixcIm5zb1wiLFwibnNwXCIsXCJuc3FcIixcIm5zclwiLFwibnNzXCIsXCJuc3RcIixcIm5zdVwiLFwibnN2XCIsXCJuc3dcIixcIm5zeFwiLFwibnN5XCIsXCJuc3pcIixcIm50ZFwiLFwibnRlXCIsXCJudGdcIixcIm50aVwiLFwibnRqXCIsXCJudGtcIixcIm50bVwiLFwibnRvXCIsXCJudHBcIixcIm50clwiLFwibnRzXCIsXCJudHVcIixcIm50d1wiLFwibnR4XCIsXCJudHlcIixcIm50elwiLFwibnVhXCIsXCJudWJcIixcIm51Y1wiLFwibnVkXCIsXCJudWVcIixcIm51ZlwiLFwibnVnXCIsXCJudWhcIixcIm51aVwiLFwibnVqXCIsXCJudWtcIixcIm51bFwiLFwibnVtXCIsXCJudW5cIixcIm51b1wiLFwibnVwXCIsXCJudXFcIixcIm51clwiLFwibnVzXCIsXCJudXRcIixcIm51dVwiLFwibnV2XCIsXCJudXdcIixcIm51eFwiLFwibnV5XCIsXCJudXpcIixcIm52aFwiLFwibnZtXCIsXCJudm9cIixcIm53YVwiLFwibndiXCIsXCJud2NcIixcIm53ZVwiLFwibndnXCIsXCJud2lcIixcIm53bVwiLFwibndvXCIsXCJud3JcIixcIm53eFwiLFwibnd5XCIsXCJueGFcIixcIm54ZFwiLFwibnhlXCIsXCJueGdcIixcIm54aVwiLFwibnhrXCIsXCJueGxcIixcIm54bVwiLFwibnhuXCIsXCJueG9cIixcIm54cVwiLFwibnhyXCIsXCJueHVcIixcIm54eFwiLFwibnliXCIsXCJueWNcIixcIm55ZFwiLFwibnllXCIsXCJueWZcIixcIm55Z1wiLFwibnloXCIsXCJueWlcIixcIm55alwiLFwibnlrXCIsXCJueWxcIixcIm55bVwiLFwibnluXCIsXCJueW9cIixcIm55cFwiLFwibnlxXCIsXCJueXJcIixcIm55c1wiLFwibnl0XCIsXCJueXVcIixcIm55dlwiLFwibnl3XCIsXCJueXhcIixcIm55eVwiLFwibnphXCIsXCJuemJcIixcIm56ZFwiLFwibnppXCIsXCJuemtcIixcIm56bVwiLFwibnpzXCIsXCJuenVcIixcIm56eVwiLFwibnp6XCJdXG4sWyBcIm9jXCIsXCJvalwiLFwib21cIixcIm9yXCIsXCJvc1wiLFwib2FhXCIsXCJvYWNcIixcIm9hclwiLFwib2F2XCIsXCJvYmlcIixcIm9ia1wiLFwib2JsXCIsXCJvYm1cIixcIm9ib1wiLFwib2JyXCIsXCJvYnRcIixcIm9idVwiLF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XCIsXCJvcmVcIixcIm9yZ1wiLFwib3JoXCIsXCJvcm5cIixcIm9yb1wiLFwib3JyXCIsXCJvcnNcIixcIm9ydFwiLFwib3J1XCIsXCJvcnZcIixcIm9yd1wiLFwib3J4XCIsXCJvcnlcIixcIm9yelwiLFwib3NhXCIsXCJvc2NcIixcIm9zaVwiLFwib3NuXCIsXCJvc29cIixcIm9zcFwiLFwib3N0XCIsXCJvc3VcIixcIm9zeFwiLFwib3RhXCIsXCJvdGJcIixcIm90ZFwiLFwib3RlXCIsXCJvdGlcIixcIm90a1wiLFwib3RsXCIsXCJvdG1cIixcIm90blwiLFwib3RvXCIsXCJvdHFcIixcIm90clwiLFwib3RzXCIsXCJvdHRcIixcIm90dVwiLFwib3R3XCIsXCJvdHhcIixcIm90eVwiLFwib3R6XCIsXCJvdWFcIixcIm91YlwiLFwib3VlXCIsXCJvdWlcIixcIm91bVwiLFwib3VuXCIsXCJvdmRcIixcIm93aVwiLFwib3dsXCIsXCJveWJcIixcIm95ZFwiLFwib3ltXCIsXCJveXlcIixcIm96bVwiXVxuLFsgXCJwYVwiLFwicGlcIixcInBsXCIsXCJwc1wiLFwicHRcIixcInBhYVwiLFwicGFiXCIsXCJwYWNcIixcInBhZFwiLFwicGFlXCIsXCJwYWZcIixcInBhZ1wiLFwicGFoXCIsXCJwYWlcIixcInBha1wiLFwicGFsXCIsXCJwYW1cIixcInBhb1wiLFwicGFwXCIsXCJwYXFcIixcInBhclwiLFwicGFzXCIsXCJwYXRcIixcInBhdVwiLFwicGF2XCIsXCJwYXdcIixcInBheFwiLFwicGF5XCIsXCJwYXpcIixcInBiYlwiLFwicGJjXCIsXCJwYmVcIixcInBiZlwiLFwicGJnXCIsXCJwYmhcIixcInBiaVwiLFwicGJsXCIsXCJwYm1cIixcInBiblwiLFwicGJvXCIsXCJwYnBcIixcInBiclwiLFwicGJzXCIsXCJwYnRcIixcInBidVwiLFwicGJ2XCIsXCJwYnlcIixcInBielwiLFwicGNhXCIsXCJwY2JcIixcInBjY1wiLFwicGNkXCIsXCJwY2VcIixcInBjZlwiLFwicGNnXCIsXCJwY2hcIixcInBjaVwiLFwicGNqXCIsXCJwY2tcIixcInBjbFwiLFwicGNtXCIsXCJwY25cIixcInBjcFwiLFwicGNyXCIsXCJwY3dcIixcInBkYVwiLFwicGRjXCIsXCJwZGlcIixcInBkblwiLFwicGRvXCIsXCJwZHRcIixcInBkdVwiLFwicGVhXCIsXCJwZWJcIixcInBlZFwiLFwicGVlXCIsXCJwZWZcIixcInBlZ1wiLFwicGVoXCIsXCJwZWlcIixcInBlalwiLFwicGVrXCIsXCJwZWxcIixcInBlbVwiLFwicGVvXCIsXCJwZXBcIixcInBlcVwiLFwicGVzXCIsXCJwZXZcIixcInBleFwiLFwicGV5XCIsXCJwZXpcIixcInBmYVwiLFwicGZlXCIsXCJwZmxcIixcInBnYVwiLFwicGdkXCIsXCJwZ2dcIixcInBnaVwiLFwicGdrXCIsXCJwZ2xcIixcInBnblwiLFwicGdzXCIsXCJwZ3VcIixcInBneVwiLFwicGd6XCIsXCJwaGFcIixcInBoZFwiLFwicGhnXCIsXCJwaGhcIixcInBoaVwiLFwicGhrXCIsXCJwaGxcIixcInBobVwiLFwicGhuXCIsXCJwaG9cIixcInBocVwiLFwicGhyXCIsXCJwaHRcIixcInBodVwiLFwicGh2XCIsXCJwaHdcIixcInBpYVwiLFwicGliXCIsXCJwaWNcIixcInBpZFwiLFwicGllXCIsXCJwaWZcIixcInBpZ1wiLFwicGloXCIsXCJwaWlcIixcInBpalwiLFwicGlsXCIsXCJwaW1cIixcInBpblwiLFwicGlvXCIsXCJwaXBcIixcInBpclwiLFwicGlzXCIsXCJwaXRcIixcInBpdVwiLFwicGl2XCIsXCJwaXdcIixcInBpeFwiLFwicGl5XCIsXCJwaXpcIixcInBqdFwiLFwicGthXCIsXCJwa2JcIixcInBrY1wiLFwicGtnXCIsXCJwa2hcIixcInBrblwiLFwicGtvXCIsXCJwa3BcIixcInBrclwiLFwicGtzXCIsXCJwa3RcIixcInBrdVwiLFwicGxhXCIsXCJwbGJcIixcInBsY1wiLFwicGxkXCIsXCJwbGVcIixcInBsZlwiLFwicGxnXCIsXCJwbGhcIixcInBsalwiLFwicGxrXCIsXCJwbGxcIixcInBsblwiLFwicGxvXCIsXCJwbHBcIixcInBscVwiLFwicGxyXCIsXCJwbHNcIixcInBsdFwiLFwicGx1XCIsXCJwbHZcIixcInBsd1wiLFwicGx5XCIsXCJwbHpcIixcInBtYVwiLFwicG1iXCIsXCJwbWNcIixcInBtZFwiLFwicG1lXCIsXCJwbWZcIixcInBtaFwiLFwicG1pXCIsXCJwbWpcIixcInBta1wiLFwicG1sXCIsXCJwbW1cIixcInBtblwiLFwicG1vXCIsXCJwbXFcIixcInBtclwiLFwicG1zXCIsXCJwbXRcIixcInBtdVwiLFwicG13XCIsXCJwbXhcIixcInBteVwiLFwicG16XCIsXCJwbmFcIixcInBuYlwiLFwicG5jXCIsXCJwbmRcIixcInBuZVwiLFwicG5nXCIsXCJwbmhcIixcInBuaVwiLFwicG5qXCIsXCJwbmtcIixcInBubFwiLFwicG5tXCIsXCJwbm5cIixcInBub1wiLFwicG5wXCIsXCJwbnFcIixcInBuclwiLFwicG5zXCIsXCJwbnRcIixcInBudVwiLFwicG52XCIsXCJwbndcIixcInBueFwiLFwicG55XCIsXCJwbnpcIixcInBvY1wiLFwicG9kXCIsXCJwb2VcIixcInBvZlwiLFwicG9nXCIsXCJwb2hcIixcInBvaVwiLFwicG9rXCIsXCJwb21cIixcInBvblwiLFwicG9vXCIsXCJwb3BcIixcInBvcVwiLFwicG9zXCIsXCJwb3RcIixcInBvdlwiLFwicG93XCIsXCJwb3hcIixcInBveVwiLFwicG96XCIsXCJwcGFcIixcInBwZVwiLFwicHBpXCIsXCJwcGtcIixcInBwbFwiLFwicHBtXCIsXCJwcG5cIixcInBwb1wiLFwicHBwXCIsXCJwcHFcIixcInBwclwiLFwicHBzXCIsXCJwcHRcIixcInBwdVwiLFwicHFhXCIsXCJwcWVcIixcInBxbVwiLFwicHF3XCIsXCJwcmFcIixcInByYlwiLFwicHJjXCIsXCJwcmRcIixcInByZVwiLFwicHJmXCIsXCJwcmdcIixcInByaFwiLFwicHJpXCIsXCJwcmtcIixcInBybFwiLFwicHJtXCIsXCJwcm5cIixcInByb1wiLFwicHJwXCIsXCJwcnFcIixcInByclwiLFwicHJzXCIsXCJwcnRcIixcInBydVwiLFwicHJ3XCIsXCJwcnhcIixcInByeVwiLFwicHJ6XCIsXCJwc2FcIixcInBzY1wiLFwicHNkXCIsXCJwc2VcIixcInBzZ1wiLFwicHNoXCIsXCJwc2lcIixcInBzbFwiLFwicHNtXCIsXCJwc25cIixcInBzb1wiLFwicHNwXCIsXCJwc3FcIixcInBzclwiLFwicHNzXCIsXCJwc3RcIixcInBzdVwiLFwicHN3XCIsXCJwc3lcIixcInB0YVwiLFwicHRoXCIsXCJwdGlcIixcInB0blwiLFwicHRvXCIsXCJwdHBcIixcInB0cVwiLFwicHRyXCIsXCJwdHRcIixcInB0dVwiLFwicHR2XCIsXCJwdHdcIixcInB0eVwiLFwicHVhXCIsXCJwdWJcIixcInB1Y1wiLFwicHVkXCIsXCJwdWVcIixcInB1ZlwiLFwicHVnXCIsXCJwdWlcIixcInB1alwiLFwicHVrXCIsXCJwdW1cIixcInB1b1wiLFwicHVwXCIsXCJwdXFcIixcInB1clwiLFwicHV0XCIsXCJwdXVcIixcInB1d1wiLFwicHV4XCIsXCJwdXlcIixcInB1elwiLFwicHdhXCIsXCJwd2JcIixcInB3Z1wiLFwicHdpXCIsXCJwd21cIixcInB3blwiLFwicHdvXCIsXCJwd3JcIixcInB3d1wiLFwicHhtXCIsXCJweWVcIixcInB5bVwiLFwicHluXCIsXCJweXNcIixcInB5dVwiLFwicHl4XCIsXCJweXlcIixcInB6blwiXVxuLFsgXCJxdVwiLFwicXVhXCIsXCJxdWJcIixcInF1Y1wiLFwicXVkXCIsXCJxdWZcIixcInF1Z1wiLFwicXVoXCIsXCJxdWlcIixcInF1a1wiLFwicXVsXCIsXCJxdW1cIixcInF1blwiLFwicXVwXCIsXCJxdXFcIixcInF1clwiLFwicXVzXCIsXCJxdXZcIixcInF1d1wiLFwicXV4XCIsXCJxdXlcIixcInF1elwiLFwicXZhXCIsXCJxdmNcIixcInF2ZVwiLFwicXZoXCIsXCJxdmlcIixcInF2alwiLFwicXZsXCIsXCJxdm1cIixcInF2blwiLFwicXZvXCIsXCJxdnBcIixcInF2c1wiLFwicXZ3XCIsXCJxdnlcIixcInF2elwiLFwicXdhXCIsXCJxd2NcIixcInF3ZVwiLFwicXdoXCIsXCJxd21cIixcInF3c1wiLFwicXd0XCIsXCJxeGFcIixcInF4Y1wiLFwicXhoXCIsXCJxeGxcIixcInF4blwiLFwicXhvXCIsXCJxeHBcIixcInF4cVwiLFwicXhyXCIsXCJxeHNcIixcInF4dFwiLFwicXh1XCIsXCJxeHdcIixcInF5YVwiLFwicXlwXCJdXG4sWyBcInJtXCIsXCJyblwiLFwicm9cIixcInJ1XCIsXCJyd1wiLFwicmFhXCIsXCJyYWJcIixcInJhY1wiLFwicmFkXCIsXCJyYWZcIixcInJhZ1wiLFwicmFoXCIsXCJyYWlcIixcInJhalwiLFwicmFrXCIsXCJyYWxcIixcInJhbVwiLFwicmFuXCIsXCJyYW9cIixcInJhcFwiLFwicmFxXCIsXCJyYXJcIixcInJhc1wiLFwicmF0XCIsXCJyYXVcIixcInJhdlwiLFwicmF3XCIsXCJyYXhcIixcInJheVwiLFwicmF6XCIsXCJyYmJcIixcInJia1wiLFwicmJsXCIsXCJyYnBcIixcInJjZlwiLFwicmRiXCIsXCJyZWFcIixcInJlYlwiLFwicmVlXCIsXCJyZWdcIixcInJlaVwiLFwicmVqXCIsXCJyZWxcIixcInJlbVwiLFwicmVuXCIsXCJyZXJcIixcInJlc1wiLFwicmV0XCIsXCJyZXlcIixcInJnYVwiLFwicmdlXCIsXCJyZ2tcIixcInJnblwiLFwicmdyXCIsXCJyZ3NcIixcInJndVwiLFwicmhnXCIsXCJyaHBcIixcInJpYVwiLFwicmllXCIsXCJyaWZcIixcInJpbFwiLFwicmltXCIsXCJyaW5cIixcInJpclwiLFwicml0XCIsXCJyaXVcIixcInJqZ1wiLFwicmppXCIsXCJyanNcIixcInJrYVwiLFwicmtiXCIsXCJya2hcIixcInJraVwiLFwicmttXCIsXCJya3RcIixcInJrd1wiLFwicm1hXCIsXCJybWJcIixcInJtY1wiLFwicm1kXCIsXCJybWVcIixcInJtZlwiLFwicm1nXCIsXCJybWhcIixcInJtaVwiLFwicm1rXCIsXCJybWxcIixcInJtbVwiLFwicm1uXCIsXCJybW9cIixcInJtcFwiLFwicm1xXCIsXCJybXJcIixcInJtc1wiLFwicm10XCIsXCJybXVcIixcInJtdlwiLFwicm13XCIsXCJybXhcIixcInJteVwiLFwicm16XCIsXCJybmFcIixcInJuZFwiLFwicm5nXCIsXCJybmxcIixcInJublwiLFwicm5wXCIsXCJybnJcIixcInJud1wiLFwicm9hXCIsXCJyb2JcIixcInJvY1wiLFwicm9kXCIsXCJyb2VcIixcInJvZlwiLFwicm9nXCIsXCJyb2xcIixcInJvbVwiLFwicm9vXCIsXCJyb3BcIixcInJvclwiLFwicm91XCIsXCJyb3dcIixcInJwblwiLFwicnB0XCIsXCJycmlcIixcInJyb1wiLFwicnJ0XCIsXCJyc2JcIixcInJzaVwiLFwicnNsXCIsXCJyc21cIixcInJ0Y1wiLFwicnRoXCIsXCJydG1cIixcInJ0c1wiLFwicnR3XCIsXCJydWJcIixcInJ1Y1wiLFwicnVlXCIsXCJydWZcIixcInJ1Z1wiLFwicnVoXCIsXCJydWlcIixcInJ1a1wiLFwicnVvXCIsXCJydXBcIixcInJ1cVwiLFwicnV0XCIsXCJydXVcIixcInJ1eVwiLFwicnV6XCIsXCJyd2FcIixcInJ3a1wiLFwicndsXCIsXCJyd21cIixcInJ3b1wiLFwicndyXCIsXCJyeGRcIixcInJ4d1wiLFwicnluXCIsXCJyeXNcIixcInJ5dVwiLFwicnpoXCJdXG4sWyBcInNhXCIsXCJzY1wiLFwic2RcIixcInNlXCIsXCJzZ1wiLFwic2hcIixcInNpXCIsXCJza1wiLFwic2xcIixcInNtXCIsXCJzblwiLFwic29cIixcInNxXCIsXCJzclwiLFwic3NcIixcInN0XCIsXCJzdVwiLFwic3ZcIixcInN3XCIsXCJzYWFcIixcInNhYlwiLFwic2FjXCIsXCJzYWRcIixcInNhZVwiLFwic2FmXCIsXCJzYWhcIixcInNhaVwiLFwic2FqXCIsXCJzYWtcIixcInNhbFwiLFwic2FtXCIsXCJzYW9cIixcInNhcFwiLFwic2FxXCIsXCJzYXJcIixcInNhc1wiLFwic2F0XCIsXCJzYXVcIixcInNhdlwiLFwic2F3XCIsXCJzYXhcIixcInNheVwiLFwic2F6XCIsXCJzYmFcIixcInNiYlwiLFwic2JjXCIsXCJzYmRcIixcInNiZVwiLFwic2JmXCIsXCJzYmdcIixcInNiaFwiLFwic2JpXCIsXCJzYmpcIixcInNia1wiLFwic2JsXCIsXCJzYm1cIixcInNiblwiLFwic2JvXCIsXCJzYnBcIixcInNicVwiLFwic2JyXCIsXCJzYnNcIixcInNidFwiLFwic2J1XCIsXCJzYnZcIixcInNid1wiLFwic2J4XCIsXCJzYnlcIixcInNielwiLFwic2NhXCIsXCJzY2JcIixcInNjZVwiLFwic2NmXCIsXCJzY2dcIixcInNjaFwiLFwic2NpXCIsXCJzY2tcIixcInNjbFwiLFwic2NuXCIsXCJzY29cIixcInNjcFwiLFwic2NxXCIsXCJzY3NcIixcInNjdFwiLFwic2N1XCIsXCJzY3ZcIixcInNjd1wiLFwic2N4XCIsXCJzZGFcIixcInNkYlwiLFwic2RjXCIsXCJzZGVcIixcInNkZlwiLFwic2RnXCIsXCJzZGhcIixcInNkalwiLFwic2RrXCIsXCJzZGxcIixcInNkbVwiLFwic2RuXCIsXCJzZG9cIixcInNkcFwiLFwic2RxXCIsXCJzZHJcIixcInNkc1wiLFwic2R0XCIsXCJzZHVcIixcInNkdlwiLFwic2R4XCIsXCJzZHpcIixcInNlYVwiLFwic2ViXCIsXCJzZWNcIixcInNlZFwiLFwic2VlXCIsXCJzZWZcIixcInNlZ1wiLFwic2VoXCIsXCJzZWlcIixcInNlalwiLFwic2VrXCIsXCJzZWxcIixcInNlbVwiLFwic2VuXCIsXCJzZW9cIixcInNlcFwiLFwic2VxXCIsXCJzZXJcIixcInNlc1wiLFwic2V0XCIsXCJzZXVcIixcInNldlwiLFwic2V3XCIsXCJzZXlcIixcInNlelwiLFwic2ZiXCIsXCJzZmVcIixcInNmbVwiLFwic2ZzXCIsXCJzZndcIixcInNnYVwiLFwic2diXCIsXCJzZ2NcIixcInNnZFwiLFwic2dlXCIsXCJzZ2dcIixcInNnaFwiLFwic2dpXCIsXCJzZ2pcIixcInNna1wiLFwic2dsXCIsXCJzZ21cIixcInNnblwiLFwic2dvXCIsXCJzZ3BcIixcInNnclwiLFwic2dzXCIsXCJzZ3RcIixcInNndVwiLFwic2d3XCIsXCJzZ3hcIixcInNneVwiLFwic2d6XCIsXCJzaGFcIixcInNoYlwiLFwic2hjXCIsXCJzaGRcIixcInNoZVwiLFwic2hnXCIsXCJzaGhcIixcInNoaVwiLFwic2hqXCIsXCJzaGtcIixcInNobFwiLFwic2htXCIsXCJzaG5cIixcInNob1wiLFwic2hwXCIsXCJzaHFcIixcInNoclwiLFwic2hzXCIsXCJzaHRcIixcInNodVwiLFwic2h2XCIsXCJzaHdcIixcInNoeFwiLFwic2h5XCIsXCJzaHpcIixcInNpYVwiLFwic2liXCIsXCJzaWRcIixcInNpZVwiLFwic2lmXCIsXCJzaWdcIixcInNpaFwiLFwic2lpXCIsXCJzaWpcIixcInNpa1wiLFwic2lsXCIsXCJzaW1cIixcInNpb1wiLFwic2lwXCIsXCJzaXFcIixcInNpclwiLFwic2lzXCIsXCJzaXRcIixcInNpdVwiLFwic2l2XCIsXCJzaXdcIixcInNpeFwiLFwic2l5XCIsXCJzaXpcIixcInNqYVwiLFwic2piXCIsXCJzamRcIixcInNqZVwiLFwic2pnXCIsXCJzamtcIixcInNqbFwiLFwic2ptXCIsXCJzam5cIixcInNqb1wiLFwic2pwXCIsXCJzanJcIixcInNqc1wiLFwic2p0XCIsXCJzanVcIixcInNqd1wiLFwic2thXCIsXCJza2JcIixcInNrY1wiLFwic2tkXCIsXCJza2VcIixcInNrZlwiLFwic2tnXCIsXCJza2hcIixcInNraVwiLFwic2tqXCIsXCJza2tcIixcInNrbVwiLFwic2tuXCIsXCJza29cIixcInNrcFwiLFwic2txXCIsXCJza3JcIixcInNrc1wiLFwic2t0XCIsXCJza3VcIixcInNrdlwiLFwic2t3XCIsXCJza3hcIixcInNreVwiLFwic2t6XCIsXCJzbGFcIixcInNsY1wiLFwic2xkXCIsXCJzbGVcIixcInNsZlwiLFwic2xnXCIsXCJzbGhcIixcInNsaVwiLFwic2xqXCIsXCJzbGxcIixcInNsbVwiLFwic2xuXCIsXCJzbHBcIixcInNscVwiLFwic2xyXCIsXCJzbHNcIixcInNsdFwiLFwic2x1XCIsXCJzbHdcIixcInNseFwiLFwic2x5XCIsXCJzbHpcIixcInNtYVwiLFwic21iXCIsXCJzbWNcIixcInNtZFwiLFwic21mXCIsXCJzbWdcIixcInNtaFwiLFwic21pXCIsXCJzbWpcIixcInNta1wiLFwic21sXCIsXCJzbW1cIixcInNtblwiLFwic21wXCIsXCJzbXFcIixcInNtclwiLFwic21zXCIsXCJzbXRcIixcInNtdVwiLFwic212XCIsXCJzbXdcIixcInNteFwiLFwic215XCIsXCJzbXpcIixcInNuYlwiLFwic25jXCIsXCJzbmVcIixcInNuZlwiLFwic25nXCIsXCJzbmhcIixcInNuaVwiLFwic25qXCIsXCJzbmtcIixcInNubFwiLFwic25tXCIsXCJzbm5cIixcInNub1wiLFwic25wXCIsXCJzbnFcIixcInNuclwiLFwic25zXCIsXCJzbnVcIixcInNudlwiLFwic253XCIsXCJzbnhcIixcInNueVwiLFwic256XCIsXCJzb2FcIixcInNvYlwiLFwic29jXCIsXCJzb2RcIixcInNvZVwiLFwic29nXCIsXCJzb2hcIixcInNvaVwiLFwic29qXCIsXCJzb2tcIixcInNvbFwiLFwic29uXCIsXCJzb29cIixcInNvcFwiLFwic29xXCIsXCJzb3JcIixcInNvc1wiLFwic291XCIsXCJzb3ZcIixcInNvd1wiLFwic294XCIsXCJzb3lcIixcInNvelwiLFwic3BiXCIsXCJzcGNcIixcInNwZFwiLFwic3BlXCIsXCJzcGdcIixcInNwaVwiLFwic3BrXCIsXCJzcGxcIixcInNwbVwiLFwic3BuXCIsXCJzcG9cIixcInNwcFwiLFwic3BxXCIsXCJzcHJcIixcInNwc1wiLFwic3B0XCIsXCJzcHVcIixcInNwdlwiLFwic3B4XCIsXCJzcHlcIixcInNxYVwiLFwic3FoXCIsXCJzcWpcIixcInNxa1wiLFwic3FtXCIsXCJzcW5cIixcInNxb1wiLFwic3FxXCIsXCJzcXJcIixcInNxc1wiLFwic3F0XCIsXCJzcXVcIixcInNxeFwiLFwic3JhXCIsXCJzcmJcIixcInNyY1wiLFwic3JlXCIsXCJzcmZcIixcInNyZ1wiLFwic3JoXCIsXCJzcmlcIixcInNya1wiLFwic3JsXCIsXCJzcm1cIixcInNyblwiLFwic3JvXCIsXCJzcnFcIixcInNyclwiLFwic3JzXCIsXCJzcnRcIixcInNydVwiLFwic3J2XCIsXCJzcndcIixcInNyeFwiLFwic3J5XCIsXCJzcnpcIixcInNzYVwiLFwic3NiXCIsXCJzc2NcIixcInNzZFwiLFwic3NlXCIsXCJzc2ZcIixcInNzZ1wiLFwic3NoXCIsXCJzc2lcIixcInNzalwiLFwic3NrXCIsXCJzc2xcIixcInNzbVwiLFwic3NuXCIsXCJzc29cIixcInNzcFwiLFwic3NxXCIsXCJzc3JcIixcInNzc1wiLFwic3N0XCIsXCJzc3VcIixcInNzdlwiLFwic3N4XCIsXCJzc3lcIixcInNzelwiLFwic3RhXCIsXCJzdGJcIixcInN0ZFwiLFwic3RlXCIsXCJzdGZcIixcInN0Z1wiLFwic3RoXCIsXCJzdGlcIixcInN0alwiLFwic3RrXCIsXCJzdGxcIixcInN0bVwiLFwic3RuXCIsXCJzdG9cIixcInN0cFwiLFwic3RxXCIsXCJzdHJcIixcInN0c1wiLFwic3R0XCIsXCJzdHVcIixcInN0dlwiLFwic3R3XCIsXCJzdHlcIixcInN1YVwiLFwic3ViXCIsXCJzdWNcIixcInN1ZVwiLFwic3VnXCIsXCJzdWlcIixcInN1alwiLFwic3VrXCIsXCJzdWxcIixcInN1bVwiLFwic3VvXCIsXCJzdXFcIixcInN1clwiLFwic3VzXCIsXCJzdXRcIixcInN1dlwiLFwic3V3XCIsXCJzdXhcIixcInN1eVwiLFwic3V6XCIsXCJzdmFcIixcInN2YlwiLFwic3ZjXCIsXCJzdmVcIixcInN2a1wiLFwic3ZtXCIsXCJzdnJcIixcInN2c1wiLFwic3Z4XCIsXCJzd2JcIixcInN3Y1wiLFwic3dmXCIsXCJzd2dcIixcInN3aFwiLFwic3dpXCIsXCJzd2pcIixcInN3a1wiLFwic3dsXCIsXCJzd21cIixcInN3blwiLFwic3dvXCIsXCJzd3BcIixcInN3cVwiLFwic3dyXCIsXCJzd3NcIixcInN3dFwiLFwic3d1XCIsXCJzd3ZcIixcInN3d1wiLFwic3d4XCIsXCJzd3lcIixcInN4YlwiLFwic3hjXCIsXCJzeGVcIixcInN4Z1wiLFwic3hrXCIsXCJzeGxcIixcInN4bVwiLFwic3huXCIsXCJzeG9cIixcInN4clwiLFwic3hzXCIsXCJzeHVcIixcInN4d1wiLFwic3lhXCIsXCJzeWJcIixcInN5Y1wiLFwic3lkXCIsXCJzeWlcIixcInN5a1wiLFwic3lsXCIsXCJzeW1cIixcInN5blwiLFwic3lvXCIsXCJzeXJcIixcInN5c1wiLFwic3l3XCIsXCJzeXhcIixcInN5eVwiLFwic3phXCIsXCJzemJcIixcInN6Y1wiLFwic3pkXCIsXCJzemVcIixcInN6Z1wiLFwic3psXCIsXCJzem5cIixcInN6cFwiLFwic3pzXCIsXCJzenZcIixcInN6d1wiLFwic3p5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cIixcInpsZVwiLFwiemxqXCIsXCJ6bG1cIixcInpsblwiLFwiemxxXCIsXCJ6bHNcIixcInpsd1wiLFwiem1hXCIsXCJ6bWJcIixcInptY1wiLFwiem1kXCIsXCJ6bWVcIixcInptZlwiLFwiem1nXCIsXCJ6bWhcIixcInptaVwiLFwiem1qXCIsXCJ6bWtcIixcInptbFwiLFwiem1tXCIsXCJ6bW5cIixcInptb1wiLFwiem1wXCIsXCJ6bXFcIixcInptclwiLFwiem1zXCIsXCJ6bXRcIixcInptdVwiLFwiem12XCIsXCJ6bXdcIixcInpteFwiLFwiem15XCIsXCJ6bXpcIixcInpuYVwiLFwiem5kXCIsXCJ6bmVcIixcInpuZ1wiLFwiem5rXCIsXCJ6bnNcIixcInpvY1wiLFwiem9oXCIsXCJ6b21cIixcInpvb1wiLFwiem9xXCIsXCJ6b3JcIixcInpvc1wiLFwienBhXCIsXCJ6cGJcIixcInpwY1wiLFwienBkXCIsXCJ6cGVcIixcInpwZlwiLFwienBnXCIsXCJ6cGhcIixcInpwaVwiLFwienBqXCIsXCJ6cGtcIixcInpwbFwiLFwienBtXCIsXCJ6cG5cIixcInpwb1wiLFwienBwXCIsXCJ6cHFcIixcInpwclwiLFwienBzXCIsXCJ6cHRcIixcInpwdVwiLFwienB2XCIsXCJ6cHdcIixcInpweFwiLFwienB5XCIsXCJ6cHpcIixcInpxZVwiLFwienJhXCIsXCJ6cmdcIixcInpyblwiLFwienJvXCIsXCJ6cnBcIixcInpyc1wiLFwienNhXCIsXCJ6c2tcIixcInpzbFwiLFwienNtXCIsXCJ6c3JcIixcInpzdVwiLFwienRlXCIsXCJ6dGdcIixcInp0bFwiLFwienRtXCIsXCJ6dG5cIixcInp0cFwiLFwienRxXCIsXCJ6dHNcIixcInp0dFwiLFwienR1XCIsXCJ6dHhcIixcInp0eVwiLFwienVhXCIsXCJ6dWhcIixcInp1bVwiLFwienVuXCIsXCJ6dXlcIixcInp3YVwiLFwienh4XCIsXCJ6eWJcIixcInp5Z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AgIHJvbGVDb3VudDoge31cbiAgICAgICAgfV07XG5cbiAgICAgICAgbGV0IGFuY2VzdG9ycyA6IE5vZGVbXSA9IFtdO1xuICAgICAgICBsZXQgcGFyZW50ID0gRE9NV2Fsa2VyLnBhcmVudE5vZGUobm9kZSk7XG4gICAgICAgIHdoaWxlIChwYXJlbnQgJiYgcGFyZW50Lm5vZGVUeXBlICE9IDkgLyogTm9kZS5ET0NVTUVOVF9OT0RFICovKSB7XG4gICAgICAgICAgICBhbmNlc3RvcnMucHVzaChwYXJlbnQpO1xuICAgICAgICAgICAgcGFyZW50ID0gRE9NV2Fsa2VyLnBhcmVudE5vZGUocGFyZW50KTtcbiAgICAgICAgfVxuICAgICAgICBhbmNlc3RvcnMgPSBhbmNlc3RvcnMucmV2ZXJzZSgpO1xuICAgICAgICBmb3IgKGNvbnN0IGFuY2VzdG9yIG9mIGFuY2VzdG9ycykge1xuICAgICAgICAgICAgbGV0IHNpYmxpbmdzID0gW107XG4gICAgICAgICAgICBsZXQgc2libGluZyA9IGFuY2VzdG9yLnByZXZpb3VzU2libGluZztcbiAgICAgICAgICAgIHdoaWxlIChzaWJsaW5nKSB7XG4gICAgICAgICAgICAgICAgc2libGluZ3MucHVzaChzaWJsaW5nKTtcbiAgICAgICAgICAgICAgICBzaWJsaW5nID0gc2libGluZy5wcmV2aW91c1NpYmxpbmc7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBzaWJsaW5ncyA9IHNpYmxpbmdzLnJldmVyc2UoKTtcbiAgICAgICAgICAgIGZvciAoY29uc3Qgc2libGluZyBvZiBzaWJsaW5ncykge1xuICAgICAgICAgICAgICAgIHRoaXMucHVzaEhpZXJhcmNoeShzaWJsaW5nKTtcbiAgICAgICAgICAgICAgICB0aGlzLnBvcEhpZXJhcmNoeSgpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgdGhpcy5wdXNoSGllcmFyY2h5KGFuY2VzdG9yKTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIHByb3RlY3RlZCBwdXNoSGllcmFyY2h5KG5vZGU6IE5vZGUpIHtcbiAgICAgICAgbGV0IHJvbGUgOiBzdHJpbmcgPSB0aGlzLmdldFJvbGUobm9kZSkgfHwgXCJub25lXCI7XG4gICAgICAgIHRoaXMuaGllcmFyY2h5Um9sZS5wdXNoKHJvbGUpO1xuICAgICAgICBpZiAocm9sZSAhPT0gXCJub25lXCIpIHtcbiAgICAgICAgICAgIGxldCBwYXJlbnRQYXRoSW5mbyA9IHRoaXMuaGllcmFyY2h5UGF0aFt0aGlzLmhpZXJhcmNoeVBhdGgubGVuZ3RoLTFdO1xuICAgICAgICAgICAgcGFyZW50UGF0aEluZm8ucm9sZUNvdW50W3JvbGVdID0gKHBhcmVudFBhdGhJbmZvLnJvbGVDb3VudFtyb2xlXSB8fCAwKSArIDE7IFxuICAgICAgICAgICAgdGhpcy5oaWVyYXJjaHlQYXRoLnB1c2goe1xuICAgICAgICAgICAgICAgIFwicm9sZVBhdGhcIjogcGFyZW50UGF0aEluZm8ucm9sZVBhdGgrXCIvXCIrcm9sZStcIltcIitwYXJlbnRQYXRoSW5mby5yb2xlQ291bnRbcm9sZV0rXCJdXCIsXG4gICAgICAgICAgICAgICAgXCJyb2xlQ291bnRcIjoge31cbiAgICAgICAgICAgIH0pO1xuICAgICAgICB9XG5cbiAgICAgICAgbGV0IGF0dHIgPSB7fVxuICAgICAgICBpZiAobm9kZS5ub2RlVHlwZSA9PT0gMSkge1xuICAgICAgICAgICAgYXR0ciA9IHRoaXMuZ2V0QXR0cmlidXRlcyhub2RlKTtcbiAgICAgICAgfVxuICAgICAgICB0aGlzLmhpZXJhcmNoeVJlc3VsdHMucHVzaCh7XG4gICAgICAgICAgICBub2RlOiBub2RlLFxuICAgICAgICAgICAgbmFtZXNwYWNlOiB0aGlzLmdldE5hbWVzcGFjZSgpLFxuICAgICAgICAgICAgcm9sZTogcm9sZSxcbiAgICAgICAgICAgIGF0dHJpYnV0ZXM6IGF0dHIsXG4gICAgICA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EtWipcXC1fXSspKCE/Wz1+XSk/KFteXFxdXSspP1xcXS8pO1xuICAgICAgICAgICAgICAgIGF0dHJJbmZvLnB1c2gobmV3IEF0dHJJbmZvKFxuICAgICAgICAgICAgICAgICAgICBhdHRyUGFydHNbMV0gIT09IFwiIVwiLFxuICAgICAgICAgICAgICAgICAgICBhdHRyUGFydHNbMl0udG9Mb3dlckNhc2UoKSxcbiAgICAgICAgICAgICAgICAgICAgYXR0clBhcnRzWzNdLFxuICAgICAgICAgICAgICAgICAgICBhdHRyUGFydHNbNF1cbiAgICAgICAgICAgICAgICApKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHBhcnRzWzJdID0gcGFydHNbMl0udG9Mb3dlckNhc2UoKTtcbiAgICAgICAgICAgIGNvbnN0IG5zUGFydHMgPSBwYXJ0c1syXS5zcGxpdChcIjpcIik7XG4gICAgICAgICAgICBsZXQgaW5jbCA9IHBhcnRzWzFdICE9PSBcIiFcIjtcbiAgICAgICAgICAgIGNvbnN0IG5zID0gbnNQYXJ0cy5zaGlmdCgpO1xuICAgICAgICAgICAgbGV0IHJvbGUgPSBuc1BhcnRzLmpvaW4oXCI6XCIpO1xuICAgICAgICAgICAgbGV0IHBhcnRJbmZvID0gbmV3IFBhcnRJbmZvKGluY2wsIG5zLCByb2xlLCBhdHRySW5mbywgcGFydHNbcGFydHMubGVuZ3RoLTFdKTtcbiAgICAgICAgICAgIHJlc3VsdHMucHVzaChwYXJ0SW5mbyk7XG4gICAgICAgIH1cbiAgICAgICAgdGhpcy5jb250ZXh0SW5mbyA9IHJlc3VsdHM7XG4gICAgfVxuXG4gICAgc3RhdGljIGNsZWFuQ29udGV4dChjb250ZXh0OiBzdHJpbmcpIDogc3RyaW5nIHtcbiAgICAgICAgY29udGV4dCA9IGNvbnRleHQudG9Mb3dlckNhc2UoKS50cmltKCk7XG4gICAgICAgIGNvbnRleHQgPSBjb250ZXh0LnJlcGxhY2UoLyArIS9nLCBcIiAhXCIpO1xuICAgICAgICBjb250ZXh0ID0gY29udGV4dC5yZXBsYWNlKC8gKyhbPit+LF0pL2csIFwiJDFcIik7XG4gICAgICAgIGNvbnRleHQgPSBjb250ZXh0LnJlcGxhY2UoLyhbPit+LF0pICsvZywgXCIkMVwiKTtcbiAgICAgICAgY29udGV4dCA9IGNvbnRleHQucmVwbGFjZSgvICsvZywgXCIgXCIpO1xuICAgICAgICByZXR1cm4gY29udGV4dC50cmltKCk7XG4gICAgfVxuXG4gICAgc3RhdGljIHBhcnNlKGNvbnRleHQ6IHN0cmluZykge1xuICAgICAgICBsZXQgY29udGV4dHMgPSBDb250ZXh0LnNwbGl0TXVsdGlwbGUoQ29udGV4dC5jbGVhbkNvbnRleHQoY29udGV4dCkpO1xuXG4gICAgICAgIGxldCByZXRWYWwgOiBDb250ZXh0W10gPSBbXTtcblxuICAgICAgICBmb3IgKGxldCBpID0gMDsgaSA8IGNvbnRleHRzLmxlbmd0aDsgKytpKSB7XG4gICAgICAgICAgICBsZXQgY3R4ID0gbmV3IENvbnRleHQoY29udGV4dHNbaV0pO1xuICAgICAgICAgICAgcmV0VmFsLnB1c2goY3R4KTtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gcmV0VmFsO1xuICAgIH1cblxuICAgIC8qKlxuICAgICAqIEhhbmRsZXMgaW5pdGlhbCBwcm9jZXNzaW5nIG9mIHNwbGl0dGluZyBvbiBjb21tYSAtIGNvbnRleHQsY29udGV4dFxuICAgICAqIEBwYXJhbSBjb250ZXh0IFxuICAgICAqL1xuICAgIHN0YXRpYyBzcGxpdE11bHRpcGxlKGNvbnRleHQ6IHN0cmluZykgOiBzdHJpbmdbXSB7XG4gICAgICAgIGxldCBjb250ZXh0cyA9IFtdO1xuICAgICAgICBpZiAoY29udGV4dCkge1xuICAgICAgICAgICAgaWYgKGNvbnRleHQuaW5kZXhPZihcIixcIikgPT09IC0xKSB7XG4gICAgICAgICAgICAgICAgY29udGV4dHMucHVzaChjb250ZXh0KTtcbiAgICAgICAgICAgI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gICAgICAgY29uc3QgZXJyOiBFcnJvciA9IGU7XG4gICAgICAgICAgICBjb25zb2xlLmVycm9yKFwiUlVMRSBFWENFUFRJT046XCIsdGhpcy5ydWxlLmlkLCBjb250ZXh0LmRvbS5yb2xlUGF0aCwgZXJyLnN0YWNrKTtcbiAgICAgICAgICAgIHRocm93IGU7XG4gICAgICAgIH1cbiAgICAgICAgY29uc3QgZW5kVGltZSA9IG5ldyBEYXRlKCkuZ2V0VGltZSgpO1xuICAgICAgICBpZiAoIXJlc3VsdHMpIHJlc3VsdHMgPSBbXTtcblxuICAgICAgICBpZiAoIShyZXN1bHRzIGluc3RhbmNlb2YgQXJyYXkpKSB7XG4gICAgICAgICAgICByZXN1bHRzID0gW3Jlc3VsdHNdO1xuICAgICAgICB9XG4gICAgICAgIGxldCByZXRWYWwgOiBJc3N1ZVtdID0gW107XG4gICAgICAgIGZvciAoY29uc3QgcmVzdWx0IG9mIHJlc3VsdHMpIHtcbiAgICAgICAgICAgIGNvbnN0IG1lc3NhZ2UgPSBlbmdpbmUuZ2V0TWVzc2FnZSh0aGlzLnJ1bGUuaWQsIHJlc3VsdC5yZWFzb25JZCwgcmVzdWx0Lm1lc3NhZ2VBcmdzKTtcbiAgICAgICAgICAgIGNvbnN0IHBhdGggPSB7fTtcbiAgICAgICAgICAgIGZvciAoY29uc3QgbnMgaW4gY29udGV4dCkge1xuICAgICAgICAgICAgICAgIHBhdGhbbnNdID0gY29udGV4dFtuc10ucm9sZVBhdGhcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGNvbnN0IHJ1bGVJZCA9IHRoaXMucnVsZS5pZC5yZXBsYWNlKC9eKC4qKVxcJFxcJFxcZCskLywgXCIkMVwiKTtcblxuICAgICAgICAgICAgcmV0VmFsLnB1c2goe1xuICAgICAgICAgICAgICAgIHJ1bGVJZDogcnVsZUlkLFxuICAgICAgICAgICAgICAgIHZhbHVlOiByZXN1bHQudmFsdWUsXG4gICAgICAgICAgICAgICAgbm9kZTogY29udGV4dFtcImRvbVwiXS5ub2RlLFxuICAgICAgICAgICAgICAgIHBhdGg6IHBhdGgsXG4gICAgICAgICAgICAgICAgcnVsZVRpbWU6IGVuZFRpbWUtc3RhcnRUaW1lLFxuICAgICAgICAgICAgICAgIHJlYXNvbklkOiByZXN1bHQucmVhc29uSWQsXG4gICAgICAgICAgICAgICAgbWVzc2FnZTogbWVzc2FnZSxcbiAgICAgICAgICAgICAgICBtZXNzYWdlQXJnczogcmVzdWx0Lm1lc3NhZ2VBcmdzLFxuICAgICAgICAgICAgICAgIGFwaUFyZ3M6IHJlc3VsdC5hcGlBcmdzLFxuICAgICAgICAgICAgICAgIGJvdW5kczogY29udGV4dFtcImRvbVwiXS5ib3VuZHMsXG4gICAgICAgICAgICAgICAgc25pcHBldDogV3JhcHBlZFJ1bGUuY29udmVydE5vZGVUb1NuaXBwZXQoY29udGV4dFtcImRvbVwiXS5ub2RlIGFzIEVsZW1lbnQpXG4gICAgICAgICAgICB9KVxuICAgICAgICB9XG4gICAgICAgIHJldHVybiByZXRWYWw7XG4gICAgfVxufVxuXG5leHBvcnQgY2xhc3MgRW5naW5lIGltcGxlbWVudHMgSUVuZ2luZSB7XG4gICAgcHVibGljIHN0YXRpYyBnZXRMYW5ndWFnZXMoKSB7XG4gICAgICAgIGNvbnN0IGVudiA9IHR5cGVvZiBwcm9jZXNzICE9PSBcInVuZGVmaW5lZFwiICYmIHR5cGVvZiAocHJvY2VzcyBhcyBhbnkpLm5vZGVUeXBlID09PSBcInVuZGVmaW5lZFwiICYmIHByb2Nlc3MuZW52O1xuICAgICAgICAvLyBJZiBhbGwgZWxzZSBmYWlscywgZGVmYXVsdCB0byBVUyBFbmdsaXNoXG4gICAgICAgIGxldCBub2RlTGFuZyA9IFwiZW4tVVNcIjtcbiAgICAgICAgaWYgKGVudikge1xuICAgICAgICAgICAgbm9kZUxhbmcgPSBlbnYuTEFORyB8fCBlbnYuTEFOR1VBR0UgfHwgZW52LkxDX0FMTCB8fCBlbnYuT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CB8IE5vZGUsIG9wdGlvbnM/OiB7fSk6IFByb21pc2U8UmVwb3J0PiB7XG4gICAgICAgIGlmIChyb290ID09PSBudWxsKSB7XG4gICAgICAgICAgICByZXR1cm4gUHJvbWlzZS5yZWplY3QoXCJudWxsIGRvY3VtZW50XCIpO1xuICAgICAgICB9XG4gICAgICAgIGlmIChyb290Lm5vZGVUeXBlID09PSA5IC8qIE5vZGUuRE9DVU1FTlRfTk9ERSAqLykge1xuICAgICAgICAgICAgcm9vdCA9IChyb290IGFzIERvY3VtZW50KS5kb2N1bWVudEVsZW1lbnQ7XG4gICAgICAgIH1cbiAgICAgICAgcm9vdC5vd25lckRvY3VtZW50ICYmICgocm9vdC5vd25lckRvY3VtZW50IGFzIGFueSkuUFRfQ0hFQ0tfSElEREVOX0NPTlRFTlQgPSBmYWxzZSk7XG4gICAgICAgIENhY2hlVXRpbC5jbGVhckNhY2hlcyhyb290KTtcbiAgICAgICAgY29uc3Qgd2Fsa2VyID0gbmV3IERPTVdhbGtlcihyb290LCBmYWxzZSwgcm9vdCwgdHJ1ZSk7XG4gICAgICAgIGNvbnN0IHJldFZhbCA6IFJlcG9ydCA9IHtcbiAgICAgICAgICAgIHJlc3VsdHM6IFtdLFxuICAgICAgICAgICAgbnVtRXhlY3V0ZWQ6IDAsXG4gICAgICAgICAgICBydWxlVGltZTogMCxcbiAgICAgICAgICAgIHRvdGFsVGltZTogMFxuICAgICAgICB9XG4gICAgICAgIGNvbnN0IHN0YXJ0ID0gbmV3IERhdGUoKS5nZXRUaW1lKCk7XG4gICAgICAgIC8vIFJlc2V0IHRoZSByb2xlIG1hcHBlcnNcbiAgICAgICAgZm9yIChjb25zdCBuYW1lc3BhY2UgaW4gdGhpcy5tYXBwZXJzKSB7XG4gICAgICAgICAgICB0aGlzLm1hcHBlcnNbbmFtZXNwYWNlXS5yZXNldChyb290KTtcbiAgICAgICAgfVxuXG4gICAgICAgIC8vIEluaXRpYWxpemUgdGhlIGNvbnRleHQgZGV0ZWN0b3JcbiAgICAgICAgZG8ge1xuICAgICAgICAgICAgLy8gR2V0IHRoZSBjb250ZXh0IGluZm9ybWF0aW9uIGZyb20gdGhlIHJ1bGUgbWFwcGVyc1xuICAgICAgICAgICAgY29uc3QgY29udGV4dEhpZXJhcmNoaWVzIDogUnVsZUNvbnRleHRIaWVyYXJjaHkgPSB7fTtcbiAgICAgICAgICAgIGZvciAoY29uc3QgbmFtZXNwYWNlIGluIHRoaXMubWFwcGVycykge1xuICAgICAgICAgICAgICAgIGlmICghd2Fsa2VyLmJFbmRUYWcpIHtcbiAgICAgICAgICAgICAgICAgICAgY29udGV4dEhpZXJhcmNoaWVzW25hbWVzcGFjZV0gPSB0aGlzLm1hcHBlcnNbbmFtZXNwYWNlXS5vcGVuU2NvcGUod2Fsa2VyLm5vZGUpO1xuICAgICAgICAgICAgICAgICAgICAvLyBpZiAobmFtZXNwYWNlID09PSBcImRvbVwiICYmIHdhbGtlci5ub2RlLm5vZGVUeXBlID09PSAxIC8qIE5vZGUuRUxFTUVOVF9OT0RFICovKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAvLyBjb25zdCBlbGVtID0gd2Fsa2VyLm5vZGUgYXMgRWxlbWVudDtcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vIGxldCBpZDtcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vIGlmIChlbGVtLmhhc0F0dHJpYnV0ZShcImlkXCIpICYmIChpZCA9IGVsZW0uZ2V0QXR0cmlidXRlKFwiaWRcIikudHJpbSgpKS5sZW5ndGggPiAwKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gaWYgKHJvb3Qub3duZXJEb2N1bWVudC5nZXRFbGVtZW50QnlJZChpZCkgPT09IGVsZW0pIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29udGV4dEhpZXJhcmNoaWVzW1wiZG9tXCJdW2NvbnRleHRIaWVyYXJjaGllc1tcImRvbVwiXS5sZW5ndGgtMV0ucm9sZVBhdGggPSBcIi8vKltAaWQ9J1wiK2lkK1wiJ11cIjtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyB9XG4gICAgICAgICAgICAgICAgICAgICAgICAvLyB9XG4gICAgICAgICAgICAgICAgICAgIC8vIH1cbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICBjb250ZXh0SGllcmFyY2hpZXNbbmFtZXNwYWNlXSA9IHRoaXMubWFwcGVyc1tuYW1lc3BhY2VdLmNsb3NlU2NvcGUod2Fsa2VyLm5vZGUpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIFxuICAgICAgICAgICAgaWYgKHdhbGtlci5ub2RlLm5vZGVUeXBlICE9PSAxMSBcbiAgICAgICAgICAgICAgICAmJiAoVmlzVXRpbC5pc05vZGVWaXNpYmxlKHdhbGtlci5ub2RlKVxuICAgICAgICAgICAgICAgICAgICAvLyB8fCB3YWxrZXIubm9kZS5ub2RlTmFtZS50b0xvd2VyQ2FzZSgpID09PSBcImhlYWRcIlxuICAgICAgICAgICAgICAgICAgICB8fCB3YWxrZXIubm9kZS5ub2RlTmFtZS50b0xvd2VyQ2FzZSgpID09PSBcIm1ldGFcIlxuICAgICAgICAgICAgICAgICAgICB8fCB3YWxrZXIubm9kZS5ub2RlTmFtZS50b0xvd2VyQ2FzZSgpID09PSBcInN0eWxlXCJcbiAgICAgICAgICAgICAgICAgICAgfHwgd2Fsa2VyLm5vZGUubm9kZU5hbWUudG9Mb3dlckNhc2UoKSA9PT0gXCJkYXRhbGlzdFwiXG4gICAgICAgICAgICAgICAgICAgIHx8IHdhbGtlci5ub2RlLm5vZGVOYW1lLnRvTG93ZXJDYXNlKCkgPT09IFwicGFyYW1cIlxuICAgICAgICAgICAgICAgICAgICB8fCAhRE9NVXRpbC5nZXRBbmNlc3Rvcih3YWxrZXIubm9kZSwgW1wiYm9keVwiXSlcbiAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICApIHtcbiAgICAgICAgICAgICAgICBsZXQgY29udGV4dCA6IFJ1bGVDb250ZXh0ID0ge307XG4gICAgICAgICAgICAgICAgZm9yIChjb25zdCBucyBpbiBjb250ZXh0SGllcmFyY2hpZXMpIHtcbiAgICAgICAgICAgICAgICAgICAgY29uc3QgbnNIaWVyID0gY29udGV4dEhpZXJhcmNoaWVzW25zXTtcbiAgICAgICAgICAgICAgICAgICAgY29uc3QgbGFzdEhpZXIgPSBuc0hpZXJbbnNIaWVyLmxlbmd0aC0xXTtcbiAgICAgICAgICAgICAgICAgICAgY29udGV4dFtuc10gPSBsYXN0SGllcjsgXG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgbGV0IG1hdGNoaW5nUnVsZXMgPSB0aGlzLmdldE1hdGNoaW5nUnVsZXMoY29udGV4dEhpZXJhcmNoaWVzKTtcbiAgICAgICAgICAgICAgICBsZXQgZGVwTWF0Y2ggPSB7fVxuICAgICAgICAgICAgICAgIGZvciAoY29uc3QgbWF0Y2hpbmdSdWxlIG9mIG1hdGNoaW5nUnVsZXMpIHtcbiAgICAgICAgICAgICAgICAgICAgbGV0IGZ1bGZpbGxzRGVwZW5kZW5jaWVzID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICAgICAgZm9yIChjb25zdCBkZXAgb2YgbWF0Y2hpbmdSdWxlLnJ1bGUuZGVwZW5kZW5jaWVzIHx8IFtdKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoIWRlcE1hdGNoW2RlcF0pIGZ1bGZpbGxzRGVwZW5kZW5jaWVzID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgaWYgKGZ1bGZpbGxzRGVwZW5kZW5jaWVzKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBsZXQgcmVzdWx0cyA6IElzc3VlW10gPSBbXTtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRyeSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVzdWx0cyA9IG1hdGNoaW5nUnVsZS5ydW4odGhpcywgY29udGV4dCwgb3B0aW9ucywgY29udGV4dEhpZXJhcmNoaWVzKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH0gY2F0Y2ggKGVycikge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIFdyYXBwZXIgc2hvd3MgZXJyb3IgaW4gY29uc29sZS4gU2tpcCB0aGlzIHJ1bGUgYXMgTi9BXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gV2UgZG9uJ3Qgd2FudCB0byBraWxsIHRoZSBlbmdpbmVcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIC8vIElmIG91dCBvZiBzY29wZSwgaXQgZnVsZmlsbHMgdGhlIGRlcGVuZGVuY3lcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChyZXN1bHRzLmxlbmd0aCA9PT0gMCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRlcE1hdGNoW21hdGNoaW5nUnVsZS5ydWxlLmlkXSA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICBmb3IgKGNvbnN0IHJlc3VsdCBvZiByZXN1bHRzKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0VmFsLnJlc3VsdHMucHVzaChyZXN1bHQpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldFZhbC5ydWxlVGltZSArPSByZXN1bHQucnVsZVRpbWU7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0VmFsLm51bUV4ZWN1dGVkKys7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHJlc3VsdC52YWx1ZVsxXSA9PT0gZVJ1bGVDb25maWRlbmNlLlBBU1MpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZGVwTWF0Y2hbcmVzdWx0LnJ1bGVJZF0gPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfSB3aGlsZSAod2Fsa2VyLm5leHROb2RlKCkpO1xuICAgICAgICBDYWNoZVV0aWwuY2xlYXJDYWNoZXMocm9vdCk7XG4gICAgICAgIHJldFZhbC50b3RhbFRpbWUgPSBuZXcgRGF0ZSgpLmdldFRpbWUoKS1zdGFydDtcbiAgICAgICAgcmV0dXJuIFByb21pc2UucmVzb2x2ZShyZXRWYWwpO1xuICAgIH1cblxuICAgIGVuYWJsZVJ1bGVzKHJ1bGVJZHM6IHN0cmluZ1tdKSB7XG4gICAgICAgIGZvciAoY29uc3QgcnVsZUlkIGluIHRoaXMucnVsZU1hcCkge1xuICAgICAgICAgICAgdGhpcy5ydWxlTWFwW3J1bGVJZF0uZW5hYmxlZCA9IGZhbHNlO1xuICAgICAgICB9XG4gICAgICAgIGZvciAoY29uc3QgcnVsZUlkIG9mIHJ1bGVJZHMgfHwgW10pIHtcbiAgICAgICAgICAgIGlmICghKHJ1bGVJZCBpbiB0aGlzLnJ1bGVNYXApKSB7XG4gICAgICAgICAgICAgICAgY29uc29sZS53YXJuKFwiV0FSTklORzogUnVsZSBJZFwiLHJ1bGVJZCxcImNvdWxkIG5vdCBiZSBlbmFibGVkLlwiKTtcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgdGhpcy5ydWxlTWFwW3J1bGVJZF0uZW5hYmxlZCA9IHRydWU7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBnZXRSdWxlKHJ1bGVJZDogc3RyaW5nKTogUnVsZSB7XG4gICAgICAgIHJldHVybiB0aGlzLnJ1bGVNYXBbcnVsZUlkXTtcbiAgICB9XG5cbiAgICBnZXRSdWxlc0lkcygpIDogc3RyaW5nW10ge1xuICAgICAgICBsZXQgcmV0VmFsID0gW107XG4gICAgICAgIGZvciAoY29uc3QgcnVsZUlkIGluIHRoaXMucnVsZU1hcCkge1xuICAgICAgICAgICAgcmV0VmFsLnB1c2gocnVsZUlkKTtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gcmV0VmFsO1xuICAgIH1cblxuICAgIGFkZFJ1bGVzKHJ1bGVzOiBSdWxlW10pIHtcbiAgICAgICAgZm9yIChjb25zdCBydWxlIG9mIHJ1bGVzKSB7XG4gICAgICAgICAgICB0aGlzLmFkZFJ1bGUocnVsZSwgdHJ1ZSk7XG4gICAgICAgIH1cbiAgICAgICAgdGhpcy5fc29ydFJ1bGVzKCk7XG4gICAgfVxuXG4gICAgYWRkUnVsZShydWxlOiBSdWxlLCBza2lwU29ydD86IGJvb2xlYW4pIHtcbiAgICAgICAgbGV0IGN0eHMgOkNvbnRleHRbXSA9IENvbnRleHQucGFyc2UocnVsZS5jb250ZXh0KTtcbiAgICAgICAgbGV0IGlkeCA9IDA7XG4gICAgICAgIGNvbnN0IHJ1bGVJZCA9IHJ1bGUuaWQ7XG4gICAgICAgIGlmIChydWxlSWQgaW4gdGhpcy5ydWxlTWFwKSB7XG4gICAgICAgICAgICBjb25zb2xlLmxvZyhcIldBUk5JTkc6IFJ1bGVcIixydWxlSWQsXCJhbHJlYWR5IGFkZGVkIHRvIGVuZ2luZS4gSWdub3JpbmcuLi5cIik7XG4gICAgICAgICAgICByZXR1cm47XG4gICAgICAgIH1cbiAgICAgICAgdGhpcy5ydWxlTWFwW3J1bGVJZF0gPSBydWxlO1xuICAgICAgICBmb3IgKGNvbnN0IGN0eCBvZiBjdHhzKSB7XG4gICAgICAgICAgICBsZXQgd3JhcElkID0gcnVsZUlkO1xuICAgICAgICAgICAgaWYgKGlkeCA+PSAxKSB7XG4gICAgICAgICAgICAgICAgd3JhcElkID0gcnVsZUlkK1wiJCRcIitpZHg7XG4gICAgICAgICA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hhc0RlcEEgPSBydWxlQS5ydWxlLmRlcGVuZGVuY2llcyAmJiBydWxlQS5ydWxlLmRlcGVuZGVuY2llcy5sZW5ndGggPiAwO1xuICAgICAgICAgICAgICAgIGNvbnN0IGhhc0RlcEIgPSBydWxlQi5ydWxlLmRlcGVuZGVuY2llcyAmJiBydWxlQi5ydWxlLmRlcGVuZGVuY2llcy5sZW5ndGggPiAwO1xuICAgICAgICAgICAgICAgIC8vIElmIEIgZGVwZW5kcyBvbiBBLCBzb3J0IEEgYmVmb3JlIEJcbiAgICAgICAgICAgICAgICBpZiAoaGFzRGVwQiAmJiBydWxlQi5ydWxlLmRlcGVuZGVuY2llcy5pbmNsdWRlcyhydWxlQS5ydWxlLmlkKSkgcmV0dXJuIC0xO1xuICAgICAgICAgICAgICAgIC8vIElmIEEgZGVwZW5kcyBvbiBCLCBzb3J0IEIgYmVmb3JlIEFcbiAgICAgICAgICAgICAgICBpZiAoaGFzRGVwQSAmJiBydWxlQS5ydWxlLmRlcGVuZGVuY2llcy5pbmNsdWRlcyhydWxlQi5ydWxlLmlkKSkgcmV0dXJuIDE7XG4gICAgICAgICAgICAgICAgLy8gT3RoZXJ3aXNlLCBkb2Vzbid0IG1hdHRlclxuICAgICAgICAgICAgICAgIHJldHVybiAwO1xuICAgICAgICAgICAgfSk7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBhZGRObHNNYXAobWFwOiBObHNNYXApIHtcbiAgICAgICAgZm9yIChjb25zdCBrZXkgaW4gbWFwKSB7XG4gICAgICAgICAgICB0aGlzLm5sc01hcFtrZXldID0gbWFwW2tleV07XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBhZGRIZWxwTWFwKG1hcDogSGVscE1hcCkge1xuICAgICAgICBmb3IgKGNvbnN0IGtleSBpbiBtYXApIHtcbiAgICAgICAgICAgIHRoaXMuaGVscE1hcFtrZXldID0gbWFwW2tleV07XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBnZXRNZXNzYWdlKHJ1b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V0dXJuIGZhbHNlO1xuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIC8vIERpcmVjdCBwYXJlbnQgY2hlY2sgYW5kIGRvZXMgbWF0Y2hcbiAgICAgICAgICAgICAgICAgICAgLS1wYXJ0SWR4O1xuICAgICAgICAgICAgICAgICAgICAtLWhpZXJJZHg7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSBlbHNlIGlmIChwYXJ0LmNvbm5lY3RvciA9PT0gXCIgXCIpIHtcbiAgICAgICAgICAgICAgICBpZiAocGFydC5pbmNsdXNpdmUpIHtcbiAgICAgICAgICAgICAgICAgICAgLy8gaW5jbHVzaXZlIGFuY2VzdG9yIG1hdGNoXG4gICAgICAgICAgICAgICAgICAgIGlmIChtYXRjaGVzUGFydCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgLS1wYXJ0SWR4O1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIC8vIElmIGRvZXNuJ3QgbWF0Y2gsIGp1c3QgbW92ZSB1cCB0aGUgcm9sZSBoaWVyYXJjaHlcbiAgICAgICAgICAgICAgICAgICAgLS1oaWVySWR4O1xuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoIW1hdGNoZXNQYXJ0KSB7XG4gICAgICAgICAgICAgICAgICAgIC8vIGV4Y2x1c2l2ZSBhbmNlc3RvciBtYXRjaCBhbmQgY3VycmVudCBtYXRjaGVzXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTtcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAvLyBleGNsdXNpdmUgYW5jZXN0b3IgbWF0Y2ggYW5kIGN1cnJlbnQgZG9lc24ndCBtYXRjaCAtIGNoZWNrIGZvciBvdGhlciBhbmNlc3RvcnNcbiAgICAgICAgICAgICAgICAgICAgbGV0IHBhcmVudE1hdGNoID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgICAgIGZvciAobGV0IHNlYXJjaElkeCA9IGhpZXJJZHgtMTsgIXBhcmVudE1hdGNoICYmIHNlYXJjaElkeCA+PSAwOyAtLXNlYXJjaElkeCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgcGFyZW50TWF0Y2ggPSAhcnVsZVBhcnRzW3BhcnRJZHhdLm1hdGNoZXMoY29udGV4dEhpZXIsIHNlYXJjaElkeCk7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgaWYgKHBhcmVudE1hdGNoKSByZXR1cm4gZmFsc2U7XG4gICAgICAgICAgICAgICAgICAgIGVsc2UgLS1wYXJ0SWR4O1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgdGhyb3cgbmV3IEVycm9yKFwiQ29udGV4dCBjb25uZWN0b3IgXCIrcGFydC5jb25uZWN0b3IrXCIgaXMgbm90IHN1cHBvcnRlZFwiKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gcGFydElkeCA9PT0gLTE7XG4gICAgfVxuXG4gICAgcHJpdmF0ZSBnZXRNYXRjaGluZ1J1bGVzKGN0eEhpZXIgOiBSdWxlQ29udGV4dEhpZXJhcmNoeSkgOiBXcmFwcGVkUnVsZVtdIHtcbiAgICAgICAgbGV0IG1hdGNoZXMgOiBXcmFwcGVkUnVsZVtdID0gW107XG4gICAgICAgIGZ1bmN0aW9uIGFkZE1hdGNoZXMocnVsZXM6IFdyYXBwZWRSdWxlW10pIHtcbiAgICAgICAgICAgIGZvciAoY29uc3QgcnVsZSBvZiBydWxlcykge1xuICAgICAgICAgICAgICAgIGlmIChydWxlLnJ1bGUuZW5hYmxlZCAmJiBFbmdpbmUubWF0Y2gocnVsZSwgY3R4SGllcikpIHtcbiAgICAgICAgICAgICAgICAgICAgbWF0Y2hlcy5wdXNoKHJ1bGUpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICBmb3IgKGNvbnN0IG5zIGluIGN0eEhpZXIpIHtcbiAgICAgICAgICAgIGxldCByb2xlID0gbnMrXCI6XCIrKGN0eEhpZXJbbnNdLmxlbmd0aCA+IDAgPyBjdHhIaWVyW25zXVtjdHhIaWVyW25zXS5sZW5ndGgtMV0ucm9sZSA6IFwibm9uZVwiKTtcbiAgICAgICAgICAgIGlmIChyb2xlIGluIHRoaXMuaW5jbFJ1bGVzKSB7XG4gICAgICAgICAgICAgICAgYWRkTWF0Y2hlcyh0aGlzLmluY2xSdWxlc1tyb2xlXSk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBmb3IgKGNvbnN0IHhSb2xlIGluIHRoaXMuZXhjbFJ1bGVzKSB7XG4gICAgICAgICAgICAgICAgaWYgKHhSb2xlICE9PSByb2xlKSB7XG4gICAgICAgICAgICAgICAgICAgIGFkZE1hdGNoZXModGhpcy5leGNsUnVsZXNbeFJvbGVdKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBpZiAocm9sZSAhPT0gbnMrXCI6bm9uZVwiKSB7XG4gICAgICAgICAgICAgICAgaWYgKHJvbGUuc3RhcnRzV2l0aChucytcIjovXCIpKSB7XG4gICAgICAgICAgICAgICAgICAgIGlmIChucytcIjovKlwiIGluIHRoaXMuaW5jbFJ1bGVzKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBhZGRNYXRjaGVzKHRoaXMuaW5jbFJ1bGVzW25zK1wiOi8qXCJdKVxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgaWYgKG5zK1wiOipcIiBpbiB0aGlzLmluY2xSdWxlcykge1xuICAgICAgICAgICAgICAgICAgICAgICAgYWRkTWF0Y2hlcyh0aGlzLmluY2xSdWxlc1tucytcIjoqXCJdKVxuICAgICAgICAgICAgICAgICAgICB9XG4gICA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V0IGNoYW5nZSA9IGZhbHNlO1xuICAgICAgICBkbyB7XG4gICAgICAgICAgICBjaGFuZ2UgPSBmYWxzZTtcbiAgICAgICAgICAgIGZvciAobGV0IGlkeD0wOyBpZHg8ZGVwUnVsZXMubGVuZ3RoOyArK2lkeCkge1xuICAgICAgICAgICAgICAgIGNvbnN0IGRlcFJ1bGUgPSBkZXBSdWxlc1tpZHhdO1xuICAgICAgICAgICAgICAgIGlmIChkZXBSdWxlLnJ1bGUuaWQgaW4gaWRUb1J1bGUpIGNvbnRpbnVlO1xuICAgICAgICAgICAgICAgIGxldCBhbGxNYXRjaCA9IHRydWU7XG4gICAgICAgICAgICAgICAgaWYgKGRlcFJ1bGUucnVsZS5kZXBlbmRlbmNpZXMgJiYgZGVwUnVsZS5ydWxlLmRlcGVuZGVuY2llcy5sZW5ndGggPiAwKSB7XG4gICAgICAgICAgICAgICAgICAgIGZvciAoY29uc3QgZGVwSWQgb2YgZGVwUnVsZS5ydWxlLmRlcGVuZGVuY2llcykge1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKCEoZGVwSWQgaW4gaWRUb1J1bGUpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgYWxsTWF0Y2ggPSBmYWxzZTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAvLyBpZiAoZGVwUnVsZS5ydWxlLnByZXJlcXMgJiYgZGVwUnVsZS5ydWxlLnByZXJlcXMubGVuZ3RoID4gMCkge1xuICAgICAgICAgICAgICAgIC8vICAgICBmb3IgKGNvbnN0IGRlcElkIG9mIGRlcFJ1bGUucnVsZS5wcmVyZXFzKSB7XG4gICAgICAgICAgICAgICAgLy8gICAgICAgICBpZiAoIShkZXBJZCBpbiBpZFRvUnVsZSkpIHtcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICBhbGxNYXRjaCA9IGZhbHNlO1xuICAgICAgICAgICAgICAgIC8vICAgICAgICAgfSAgICAgICAgICAgICAgICAgICAgICAgIFxuICAgICAgICAgICAgICAgIC8vICAgICB9XG4gICAgICAgICAgICAgICAgLy8gfVxuICAgICAgICAgICAgICAgIGlmIChhbGxNYXRjaCkge1xuICAgICAgICAgICAgICAgICAgICBjaGFuZ2UgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICByZXRWYWwucHVzaChkZXBSdWxlKTtcbiAgICAgICAgICAgICAgICAgICAgaWRUb1J1bGVbZGVwUnVsZS5ydWxlLmlkXSA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgIGRlcFJ1bGVzLnNwbGljZShpZHgtLSwgMSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9IHdoaWxlIChjaGFuZ2UpO1xuICAgICAgICByZXR1cm4gcmV0VmFsO1xuICAgIH1cbn0iLCIvKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqXG4gICAgIENvcHlyaWdodDo6IDIwMjAtIElCTSwgSW5jXG5cbiAgICBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICAgIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAgICBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcblxuICAgIGh0dHA6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuXG4gICAgVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICAgIGRpc3RyaWJ1dGVkIHVuZGVyIHR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N0ZWQgZm9yIHNjcm9sbCBpZiBhbnlcbiAgICAgICAgICAgIGlmIChib3VuZHMpIHtcbiAgICAgICAgICAgICAgICBsZXQgc2Nyb2xsWCA9IG5vZGUgJiYgbm9kZS5vd25lckRvY3VtZW50ICYmIG5vZGUub3duZXJEb2N1bWVudC5kZWZhdWx0VmlldyAmJiBub2RlLm93bmVyRG9jdW1lbnQuZGVmYXVsdFZpZXcuc2Nyb2xsWCB8fCAwO1xuICAgICAgICAgICAgICAgIGxldCBzY3JvbGxZID0gbm9kZSAmJiBub2RlLm93bmVyRG9jdW1lbnQgJiYgbm9kZS5vd25lckRvY3VtZW50LmRlZmF1bHRWaWV3ICYmIG5vZGUub3duZXJEb2N1bWVudC5kZWZhdWx0Vmlldy5zY3JvbGxZIHx8IDA7XG4gICAgICAgICAgICAgICAgY29uc3QgcmV0ID0ge1xuICAgICAgICAgICAgICAgICAgICBcImxlZnRcIjogTWF0aC5jZWlsKGJvdW5kcy5sZWZ0ICsgc2Nyb2xsWCksXG4gICAgICAgICAgICAgICAgICAgIFwidG9wXCI6IE1hdGguY2VpbChib3VuZHMudG9wICsgc2Nyb2xsWSksXG4gICAgICAgICAgICAgICAgICAgIFwiaGVpZ2h0XCI6IE1hdGguY2VpbChib3VuZHMuaGVpZ2h0KSxcbiAgICAgICAgICAgICAgICAgICAgXCJ3aWR0aFwiOiBNYXRoLmNlaWwoYm91bmRzLndpZHRoKVxuICAgICAgICAgICAgICAgIH07XG4gICAgICAgICAgICAgICAgQ2FjaGVVdGlsLnNldENhY2hlKG5vZGUgYXMgRWxlbWVudCwgXCJET01NYXBwZXJfVW5hZGp1c3RlZEJvdW5kc1wiLCByZXQpO1xuICAgICAgICAgICAgICAgIHJldHVybiByZXQ7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gYnVuZHM7XG4gICAgfVxufVxuIiwiLyoqKioqKioqKioqKioqKioqKioqKioq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ICAgICAgICAgcmV0dXJuIHRydWU7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBzdGF0aWMgY2xlYW5XaGl0ZXNwYWNlKHM6IHN0cmluZykgOiBzdHJpbmcge1xuICAgICAgICBsZXQgcmV0VmFsID0gcy5yZXBsYWNlKC9bIFxcdFxcclxcbl0vZywgXCIgXCIpLnJlcGxhY2UoLyArL2csXCIgXCIpO1xuICAgICAgICByZXR1cm4gcmV0VmFsO1xuICAgIH1cblxuICAgIHN0YXRpYyBjbGVhblNwYWNlKHM6IHN0cmluZykgOiBzdHJpbmcge1xuICAgICAgICBsZXQgcmV0VmFsID0gcy5yZXBsYWNlKC8gKy9nLFwiIFwiKTtcbiAgICAgICAgcmV0dXJuIHJldFZhbDtcbiAgICB9XG5cbiAgICAvLyByZXR1cm4gdHJ1ZSBpZiBlbGVtZW50MSBhbmQgZWxlbWVudDIgKGNlbGxzKSBhcmUgaW4gdGhlIHNhbWUgdGFibGVcbiAgICBzdGF0aWMgaXNJblNhbWVUYWJsZShlbGVtZW50MSwgZWxlbWVudDIpIHtcbiAgICAgICAgaWYgKGVsZW1lbnQxICYmIGVsZW1lbnQyKSB7XG4gICAgICAgICAgICBjb25zdCBwYXJlbnROYW1lID0gWyd0YWJsZSddO1xuICAgICAgICAgICAgY29uc3QgcGFyZW50MT0gRE9NVXRpbC5nZXRBbmNlc3RvcihlbGVtZW50MSwgcGFyZW50TmFtZSk7XG4gICAgICAgICAgICBjb25zdCBwYXJlbnQyPSBET01VdGlsLmdldEFuY2VzdG9yKGVsZW1lbnQyLCBwYXJlbnROYW1lKTtcbiAgICAgICAgICAgIGlmIChwYXJlbnQxICE9PSBudWxsICYmIHBhcmVudDIgIT0gbnVsbCAmJiBET01VdGlsLnNhbWVOb2RlKHBhcmVudDEsIHBhcmVudDIpKVxuICAgICAgICAgICAgICAgIHJldHVybiB0cnVlO1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiBmYWxzZTtcbiAgICB9XG4gICAgXG4gICAgc3RhdGljIHNoYWRvd1Jvb3ROb2RlKG5vZGU6IE5vZGUpIDogTm9kZSB8IG51bGwge1xuICAgICAgICBsZXQgbmQgPSBub2RlO1xuICAgICAgICB3aGlsZSAobmQgIT0gbnVsbCAmJiBuZC5ub2RlVHlwZSAhPT0gMTEgLyogTm9kZS5ET0NVTUVOVF9GUkFHTUVOVF9OT0RFICovKSBcbiAgICAgICAgICAgIG5kID0gbmQucGFyZW50Tm9kZTtcbiAgICAgICAgcmV0dXJuIG5kO1xuICAgIH1cblxuICAgIC8qKlxuICAgICAqIENvcGllcyBvYmplY3RzLCBidXQgcmV0YWlucyBOb2RlIGF0dHJpYnV0ZXMgYXMgcmVmZXJlbmNlc1xuICAgICAqIEBwYXJhbSByaHMgXG4gICAgICovXG4gICAgc3RhdGljIG9iamVjdENvcHlXaXRoTm9kZVJlZnMocmhzOiBhbnkpIHtcbiAgICAgICAgaWYgKCFyaHMpIHJldHVybiByaHM7XG4gICAgICAgIGlmICh0eXBlb2YgcmhzICE9PSBcIm9iamVjdFwiKSB7XG4gICAgICAgICAgICBpZiAodHlwZW9mIHJocyA9PT0gXCJmdW5jdGlvblwiKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIHJocztcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIEpTT04ucGFyc2UoSlNPTi5zdHJpbmdpZnkocmhzKSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH0gZWxzZSBpZiAocmhzIGluc3RhbmNlb2YgTm9kZSB8fCAhIXJocy5ub2RlVHlwZSkge1xuICAgICAgICAgICAgcmV0dXJuIHJocztcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIGxldCByZXRWYWw7XG4gICAgICAgICAgICBpZiAocmhzLmNvbnN0cnVjdG9yLm5hbWUgPT09IFwiQXJyYXlcIikge1xuICAgICAgICAgICAgICAgIHJldFZhbCA9IFtdO1xuICAgICAgICAgICAgICAgIGZvciAoY29uc3QgaXRlbSBvZiByaHMpIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0VmFsLnB1c2godGhpcy5vYmplY3RDb3B5V2l0aE5vZGVSZWZzKGl0ZW0pKTtcbiAgICAgICAgICAgICAgICB9ICAgICAgICAgICAgICAgIFxuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICByZXRWYWwgPSB7fTtcbiAgICAgICAgICAgICAgICBmb3IgKGNvbnN0IGtleSBpbiByaHMpIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0VmFsW2tleV0gPSB0aGlzLm9iamVjdENvcHlXaXRoTm9kZVJlZnMocmhzW2tleV0pO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHJldHVybiByZXRWYWw7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBwdWJsaWMgc3RhdGljIGdldEFuY2VzdG9yV2l0aEF0dHJpYnV0ZShlbGVtZW50LCBhdHRyTmFtZSwgYXR0clZhbHVlKSB7XG4gICAgICAgIGxldCB3YWxrTm9kZSA9IERPTVdhbGtlci5wYXJlbnROb2RlKGVsZW1lbnQpO1xuICAgICAgICB3aGlsZSAod2Fsa05vZGUgIT09IG51bGwpIHtcbiAgICAgICAgICAgIGlmICh3YWxrTm9kZS5ub2RlVHlwZSA9PT0gMSAvKiBOb2RlLkVMRU1FTlRfTk9ERSAqLyAmJiAoPEVsZW1lbnQ+d2Fsa05vZGUpLmdldEF0dHJpYnV0ZShhdHRyTmFtZSkgPT09IGF0dHJWYWx1ZSkgXG4gICAgICAgICAgICAgICAgcmV0dXJuIHdhbGtOb2RlO1xuICAgICAgICAgICAgd2Fsa05vZGUgPSBET01XYWxrZXIucGFyZW50Tm9kZSh3YWxrTm9kZSk7XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgfVxufSIsIi8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq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ERvY3VtZW50KS5kb2N1bWVudEVsZW1lbnRcbiAgICAgICAgfVxuICAgICAgICB0aGlzLmJFbmRUYWcgPSAoYkVuZCA9PSB1bmRlZmluZWQgPyBmYWxzZSA6IGJFbmQgPT0gdHJ1ZSk7XG4gICAgICAgIHRoaXMuY29uc2lkZXJIaWRkZW4gPSBjb25zaWRlckhpZGRlbiB8fCBmYWxzZTtcbiAgICB9XG5cbiAgICBlbGVtKCkgOiBIVE1MRWxlbWVudCB8IG51bGwge1xuICAgICAgICByZXR1cm4gdGhpcy5ub2RlLm5vZGVUeXBlID09PSAxICYmIHRoaXMubm9kZSBhcyBIVE1MRWxlbWVudCB8fCBudWxsO1xuICAgIH1cbiAgICBcbiAgICBzdGF0aWMgcGFyZW50Tm9kZShub2RlOiBOb2RlKSA6IE5vZGUgfCBudWxsIHtcbiAgICAgICAgaWYgKG5vZGUgPT09IG51bGwpIHJldHVybiBudWxsO1xuICAgICAgICBsZXQgcCA6IE5vZGUgPSBub2RlLnBhcmVudE5vZGU7XG4gICAgICAgIGlmICgobm9kZSBhcyBhbnkpLnNsb3RPd25lcikge1xuICAgICAgICAgICAgcCA9IChub2RlIGFzIGFueSkuc2xvdE93bmVyO1xuICAgICAgICB9IGVsc2UgaWYgKChub2RlIGFzIGFueSkub3duZXJFbGVtZW50KSB7XG4gICAgICAgICAgICBwID0gKG5vZGUgYXMgYW55KS5vd25lckVsZW1lbnQ7XG4gICAgICAgIH0gZWxzZSBpZiAocCAmJiBwLm5vZGVUeXBlID09PSAxMSkge1xuICAgICAgICAgICAgaWYgKChwIGFzIFNoYWRvd1Jvb3QpLmhvc3QpIHtcbiAgICAgICAgICAgICAgICBwID0gKHAgYXMgU2hhZG93Um9vdCkuaG9zdDtcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgcCA9IG51bGw7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIHA7XG4gICAgfVxuXG4gICAgc3Rhd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QgcmV0VmFsID0gbm9kZS5maXJzdENoaWxkO1xuICAgICAgICB3aGlsZSAocmV0VmFsICYmIChyZXRWYWwgYXMgYW55KS5zbG90T3duZXIpIHtcbiAgICAgICAgICAgIHJldFZhbCA9IHJldFZhbC5uZXh0U2libGluZztcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gcmV0VmFsO1xuICAgIH1cblxuICAgIHN0YXRpYyBsYXN0Q2hpbGROb3RPd25lZEJ5U2xvdChub2RlOiBOb2RlKSB7XG4gICAgICAgIGxldCByZXRWYWwgPSBub2RlLmxhc3RDaGlsZDtcbiAgICAgICAgd2hpbGUgKHJldFZhbCAmJiAocmV0VmFsIGFzIGFueSkuc2xvdE93bmVyKSB7XG4gICAgICAgICAgICByZXRWYWwgPSByZXRWYWwucHJldmlvdXNTaWJsaW5nO1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiByZXRWYWw7XG4gICAgfVxuXG4gICAgc3RhdGljIG5leHRTaWJsaW5nTm90T3duZWRCeVNsb3Qobm9kZTpOb2RlKSB7XG4gICAgICAgIGxldCByZXRWYWwgPSBub2RlLm5leHRTaWJsaW5nO1xuICAgICAgICB3aGlsZSAocmV0VmFsICYmIChyZXRWYWwgYXMgYW55KS5zbG90T3duZXIpIHtcbiAgICAgICAgICAgIHJldFZhbCA9IHJldFZhbC5uZXh0U2libGluZztcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gcmV0VmFsO1xuICAgIH1cblxuICAgIHN0YXRpYyBwcmV2aW91c1NpYmxpbmdOb3RPd25lZEJ5U2xvdChub2RlOk5vZGUpIHtcbiAgICAgICAgbGV0IHJldFZhbCA9IG5vZGUucHJldmlvdXNTaWJsaW5nO1xuICAgICAgICB3aGlsZSAocmV0VmFsICYmIChyZXRWYWwgYXMgYW55KS5zbG90T3duZXIpIHtcbiAgICAgICAgICAgIHJldFZhbCA9IHJldFZhbC5wcmV2aW91c1NpYmxpbmc7XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIHJldFZhbDtcbiAgICB9XG5cbiAgICBhdFJvb3QoKSA6IGJvb2xlYW4ge1xuICAgICAgICBpZiAoKHRoaXMgYXMgYW55KS5vd25lckVsZW1lbnQpIHJldHVybiBmYWxzZTtcbiAgICAgICAgaWYgKHRoaXMucm9vdCA9PT0gdGhpcy5ub2RlKSB7XG4gICAgICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICAgICAgfSBlbHNlIGlmICh0aGlzLnJvb3QuaXNTYW1lTm9kZSkge1xuICAgICAgICAgICAgcmV0dXJuIHRoaXMucm9vdC5pc1NhbWVOb2RlKHRoaXMubm9kZSk7XG4gICAgICAgIH0gZWxzZSBpZiAodGhpcy5yb290LmNvbXBhcmVEb2N1bWVudFBvc2l0aW9uKSB7XG4gICAgICAgICAgICByZXR1cm4gdGhpcy5yb290LmNvbXBhcmVEb2N1bWVudFBvc2l0aW9uKHRoaXMubm9kZSkgPT09IDA7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAvLyBOb3Qgc3VwcG9ydGVkIGluIHRoaXMgZW52aXJvbm1lbnQgLSB0cnkgb3VyIGJlc3RcbiAgICAgICAgICAgIHJldHVybiB0aGlzLm5vZGUucGFyZW50Tm9kZSA9PT0gbnVsbDtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIERFQlVHSURYID0gMDtcbiAgICBpbmRlbnQgPSAwO1xuICAgIG5leHROb2RlKCkgOiBib29sZWFuIHtcbiAgICAgICAgY29uc3QgaW5kZW50ID0gKCkgPT4ge1xuICAgICAgICAgICAgbGV0IHMgPSBcIlwiO1xuICAgICAgICAgICAgZm9yIChsZXQgaWR4PTA7IGlkeDx0aGlzLmluZGVudDsgKytpZHgpIHtcbiAgICAgICAgICAgICAgICBzICs9IFwiIFwiO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgcmV0dXJuIHM7XG4gICAgICAgIH1cbiAgICAgICAgbGV0IERCRyA9IGZhbHNlOy8vdGhpcy5ERUJVR0lEWCA+PSA3ICYmIHRoaXMuREVCVUdJRFggPD0gMTA7XG4gICAgICAgIGxldCBzdGFydE5hbWUgPSB0aGlzLm5vZGUubm9kZU5hbWU7XG4gICAgICAgIGlmICghdGhpcy5ub2RlKSB7XG4gICAgICAgICAgICB0aGlzLmJFbmRUYWcgPSBmYWxzZTtcbiAgICAgICAgICAgIHJldHVybiBmYWxzZTtcbiAgICAgICAgfVxuICAgICAgICBkbyB7XG4gICAgICAgICAgICAvL2NvbnNvbGUubG9nKHRoaXMubm9kZS5ub2RlTmFtZSwgdGhpcy5iRW5kVGFnP1wiRU5EXCI6XCJTVEFSVFwiLCB0aGlzLm5vZGUubm9kZVR5cGUgPT09IDEgJiYgKHRoaXMubm9kZSBhcyBhbnkpLmdldEF0dHJpYnV0ZShcImlkXCIpKTtcbiAgICAgICAgICAgIGlmICghdGhpcy5iRW5kVGFnKSB7XG4gICAgICAgICAgICAgICAgbGV0IGlmcmFtZU5vZGUgPSAodGhpcy5ub2RlIGFzIEhUTUxJRnJhbWVFbGVtZW50KTtcbiAgICAgICAgICAgICAgICBsZXQgZWxlbWVudE5vZGUgPSAodGhpcy5ub2RlIGFzIEhUTUxFbGVtZW50KTtcbiAgICAgICAgICAgICAgICBsZXQgc2xvdEVsZW1lbnQgPSAodGhpcy5ub2RlIGFzIEhUTUxTbG90RWxlbWVudClcbiAgICAgICAgICAgICAgICBpZiAodGhpcy5ub2RlLm5vZGVUeXBlID09PSAxIC8qIE5vZGUuRUxFTUVOVF9OT0RFICovIFxuICAgICAgICAgICAgICAgICAgICAmJiB0aGlzLm5vZGUubm9kZU5hbWUudG9VcHBlckNhc2UoKSA9PT0gXCJJRlJBTUVcIlxuICAgICAgICAgICAgICAgICAgICAmJiAodGhpcy5jb25zaWRlckhpZGRlbiA/IFZpc1V0aWwuaXNOb2RlVmlzaWJsZShpZnJhbWVOb2RlKSA6IHRydWUpXG4gICAgICAgICAgICAgICAgICAgICYmIGlmcmFtZU5vZGUuY29udGVudERvY3VtZW50XG4gICAgICAgICAgICAgICAgICAgICYmIGlmcmFtZU5vZGUuY29udGVudERvY3VtZW50LmRvY3VtZW50RWxlbWVudClcbiAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgIERCRyAmJiBjb25zb2xlLmxvZyhcIiEhIUludG8gRnJhbWVcIik7XG4gICAgICAgICAgICAgICAgICAgIGxldCBvd25lckVsZW1lbnQgPSB0aGlzLm5vZGU7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMubm9kZSA9IGlmcmFtZU5vZGUuY29udGVudERvY3VtZW50LmRvY3VtZW50RWxlbWVudDtcbiAgICAgICAgICAgICAgICAgICAgKHRoaXMubm9kZSBhcyBhbnkpLm93bmVyRWxlbWVudCA9IG93bmVyRWxlbWVudDtcbiAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKHRoaXMubm9kZS5ub2RlVHlwZSA9PT0gMSAvKiBOb2RlLkVMRU1FTlRfTk9ERSAqLyBcbiAgICAgICAgICAgICAgICAgICAgJiYgKHRoaXMuY29uc2lkZXJIaWRkZW4gPyBWaXNVdGlsLmlzTm9kZVZpc2libGUoZWxlbWVudE5vZGUpIDogdHJ1ZSlcbiAgICAgICAgICAgICAgICAgICAgJiYgZWxlbWVudE5vZGUuc2hhZG93Um9vdFxuICAgICAgICAgICAgICAgICAgICAmJiBlbGVtZW50Tm9kZS5zaGFkb3dSb290LmZpcnN0Q2hpbGQpXG4gICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICBEQkcgJiYgY29uc29sZS5sb2coXCIhISFJbnRvIHNoYWRvdyByb290XCIpO1xuICAgICAgICAgICAgICAgICAgICBsZXQgb3duZXJFbGVtZW50ID0gdGhpcy5ub2RlO1xuICAgICAgICAgICAgICAgICAgICB0aGlzLm5vZGUgPSBlbGVtZW50Tm9kZS5zaGFkb3dSb290O1xuICAgICAgICAgICAgICAgICAgICAodGhpcy5ub2RlIGFzIGFueSkub3duZXJFbGVtZW50ID0gb3duZXJFbGVtZW50O1xuICAgICAgICAgICAgICAgICAgICBET01XYWxrZXIuYXNzaWduU2xvdHModGhpcy5ub2RlIGFzIFNoYWRvd1Jvb3QpO1xuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAodGhpcy5ub2RlLm5vZGVUeXBlID09PSAxIFxuICAgICAgICAgICAgICAgICAgICAmJiBlbGVtZW50Tm9kZS5ub2RlTmFtZS50b0xvd2VyQ2FzZSgpID09PSBcInNsb3RcIlxuICAgICAgICAgICAgICAgICAgICAmJiBzbG90RWxlbWVudC5hc3NpZ25lZE5vZGVzKCkubGVuZ3RoID4gMCkgXG4gICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICBEQkcgJiYgY29uc29sZS5sb2coXCIhISFJbnRvIHNsb3RcIik7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMubm9kZSA9IHNsb3RFbGVtZW50LmFzc2lnbmVkTm9kZXMoKVswXTtcbiAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKCh0aGlzLm5vZGUubm9kZVR5cGUgPT09IDEgLyogTm9kZS5FTEVNRU5UX05PREUgKi8gfHwgdGhpcy5ub2RlLm5vZGVUeXBlID09PSAxMSAvKiBOb2RlLkRPQ1VNRU5UX0ZSQUdNRU5UX05PREUgKi8pIFxuICAgICAgICAgICAgICAgICAgICAmJiBET01XYWxrZXIuZmlyc3RDaGlsZE5vdE93bmVkQnlTbG90KHRoaXMubm9kZSkpIHtcbiAgICAgICAgICAgICAgICAgICAgREJHICYmIGNvbnNvbGUubG9nKFwiISEhRmlyc3QgY2hpbGRcIik7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMubm9kZSA9IERPTVdhbGtlci5maXJzdENoaWxkTm90T3duZWRCeVNsb3QodGhpcy5ub2RlKTtcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICBEQkcgJiYgY29uc29sZS5sb2coXCIhISFGbGlwIHRvIGVuZCB0YWdcIik7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuYkVuZFRhZyA9IHRydWU7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICBEQkcgJiYgY29uc29sZS5sb2coXCIhISExXCIpO1xuICAgICAgICAgICAgICAgIGlmICh0aGlzLmF0Um9vdCgpKSB7XG4gICAgICAgICAgICAgICAgICAgIERCRyAmJiBjb25zb2xlLmxvZyhcIiEhIURvbmUgYXQgcm9vdFwiKTtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoKHRoaXMubm9kZSBhcyBhbnkpLnNsb3RPd25lcikge1xuICAgICAgICAgICAgICAgICAgICBsZXQgc2xvdE93bmVyID0gKHRoaXMubm9kZSBhcyBhbnkpLnNsb3RPd25lcjtcbiAgICAgICAgICAgICAgICAgICAgbGV0IG5leHRTbG90SW5kZXggPSAodGhpcy5ub2RlIGFzIGFueSkuc2xvdEluZGV4KzE7XG4gICAgICAgICAgICAgICAgICAgIC8vIGRlbGV0ZSAodGhpcy5ub2RlIGFzIGFueSkuc2xvdE93bmVyO1xuICAgICAgICAgICAgICAgICAgICAvLyBkZWxldGUgKHRoaXMubm9kZSBhcyBhbnkpLnNsb3RJbmRleDtcbiAgICAgICAgICAgICAgICAgICAgaWYgKG5leHRTbG90SW5kZXggPCBzbG90T3duZXIuYXNzaWduZWROb2RlcygpLmxlbmd0aCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgREJHICYmIGNvbnNvbGUubG9nKFwiISEhTmV4dCBzbG90IGNoaWxkXCIpO1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5ub2RlID0gc2xvdE93bmVyLmFzc2lnbmVkTm9kZXMoKVtuZXh0U2xvdEluZGV4XTtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuYkVuZFRhZyA9IGZhbHNlO1xuICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgREJHICYmIGNvbnNvbGUubG9nKFwiISEhQmFjayB1cCB0byBzbG90IG93bmVyXCIpO1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5ub2RlID0gc2xvdE93bmVyO1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5iRW5kVGFnID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoKHRoaXMubm9kZSBhcyBhbnkpLm93bmVyRWxlbWVudCkge1xuICAgICAgICAgICAgICAgICAgICBEQkcgJiYgY29uc29sZS5sb2coXCIhISFVcCB0byBmcmFtZSBvd25lclwiKTtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5ub2RlID0gKHRoaXMubm9kZSBhcyBhbnkpLm93bmVyRWxlbWVudDtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5iRW5kVGFnID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKERPTVdhbGtlci5uZXh0U2libGluZ05vdE93bmVkQnlTbG90KHRoaXMubm9kZSkpIHtcbiAgICAgICAgICAgICAgICAgICAgREJHICYmIGNvbnNvbGUubG9nKFwiISEhTmV4dCBzaWJsaW5nXCIpO1xuICAgICAgICAgICAgICAgICAgICB0aGlzLm5vZGUgPSBET01XYWxrZXIubmV4dFNpYmxpbmdOb3RPd25lZEJ5U2xvdCh0aGlzLm5vZGUpO1xuICAgICAgICAgICAgICAgICAgICB0aGlzLmJFbmRUYWcgPSBmYWxzZTtcbiAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKHRoaXMubm9kZS5wYXJlbnROb2RlKSB7XG4gICAgICAgICAgICAgICAgICAgIERCRyAmJiBjb25zb2xlLmxvZyhcIiEhIVBhcmVudFwiKTtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5ub2RlID0gdGhpcy5ub2RlLnBhcmVudE5vZGU7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuYkVuZFRhZyA9IHRydWU7XG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgREJHICYmIGNvbnNvbGUubG9nKFwiISEhRG9uZSB3aXRoIHdhbGtcIik7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBpZiAoREJHICYmIChcbiAgICAgICAgICAgICAgICAodGhpcy5ub2RlLm5vZGVUeXBlICE9PSAxICYmIHRoaXMubm9kZS5ub2RlVHlwZSAhPT0gMTEgJiYgdGhpcy5ub2RlLm5vZGVUeXBlICE9PSAzIClcbiAgICAgICAgICAgICAgICB8fCAodGhpcy5ub2RlLm5vZGVUeXBlID09PSAxICYmICh0aGlzLm5vZGUgYXMgRWxlbWVudCkuZ2V0QXR0cmlidXRlKFwiYUNoZWNrZXJcIikgPT09IFwiQUNFXCIpXG4gICAgICAgICAgICApKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5ERUJVRyAmJiBjb25zb2xlLmxvZyhpbmRlbnQoKStgPCR7dGhpcy5iRW5kVGFnP1wiL1wiOlwiXCJ9JHt0aGlzLm5vZGUubm9kZU5hbWV9PiAoZnJvbSAke3N0YXJ0TmFtZX0pICR7dGhpcy5ERUJVR0lEWCsrfSBTS0lQUEVEYCk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH0gd2hpbGUgKFxuICAgICAgICAgICAgKHRoaXMubm9kZS5ub2RlVHlwZSAhPT0gMSAmJiB0aGlzLm5vZGUubm9kZVR5cGUgIT09IDExICYmIHRoaXMubm9kZS5ub2RlVHlwZSAhPT0gMyApXG4gICAgICAgICAgICB8fCAodGhpcy5ub2RlLm5vZGVUeXBlID09PSAxICYmICh0aGlzLm5vZGUgYXMgRWxlbWVudCkuZ2V0QXR0cmlidXRlKFwiYUNoZWNrZXJcIikgPT09IFwiQUNFXCIpXG4gICAgICAgICk7XG4gICAgICAgIGlmICh0aGlzLmJFbmR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XG4gICAgICAgICAgICAgICAgaWYgKHRoaXMubm9kZS5ub2RlVHlwZSA9PT0gMSAvKiBOb2RlLkVMRU1FTlRfTk9ERSAqLyBcbiAgICAgICAgICAgICAgICAgICAgJiYgdGhpcy5ub2RlLm5vZGVOYW1lLnRvVXBwZXJDYXNlKCkgPT09IFwiSUZSQU1FXCJcbiAgICAgICAgICAgICAgICAgICAgJiYgKHRoaXMuY29uc2lkZXJIaWRkZW4gPyBWaXNVdGlsLmlzTm9kZVZpc2libGUoaWZyYW1lTm9kZSkgOiB0cnVlKVxuICAgICAgICAgICAgICAgICAgICAmJiBpZnJhbWVOb2RlLmNvbnRlbnREb2N1bWVudFxuICAgICAgICAgICAgICAgICAgICAmJiBpZnJhbWVOb2RlLmNvbnRlbnREb2N1bWVudC5kb2N1bWVudEVsZW1lbnQpIFxuICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgbGV0IG93bmVyRWxlbWVudCA9IHRoaXMubm9kZTtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5ub2RlID0gaWZyYW1lTm9kZS5jb250ZW50RG9jdW1lbnQuZG9jdW1lbnRFbGVtZW50O1xuICAgICAgICAgICAgICAgICAgICAodGhpcy5ub2RlIGFzIGFueSkub3duZXJFbGVtZW50ID0gb3duZXJFbGVtZW50O1xuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAodGhpcy5ub2RlLm5vZGVUeXBlID09PSAxIC8qIE5vZGUuRUxFTUVOVF9OT0RFICovIFxuICAgICAgICAgICAgICAgICAgICAmJiAodGhpcy5jb25zaWRlckhpZGRlbiA/IFZpc1V0aWwuaXNOb2RlVmlzaWJsZShlbGVtZW50Tm9kZSkgOiB0cnVlKVxuICAgICAgICAgICAgICAgICAgICAmJiBlbGVtZW50Tm9kZS5zaGFkb3dSb290XG4gICAgICAgICAgICAgICAgICAgICYmIGVsZW1lbnROb2RlLnNoYWRvd1Jvb3QubGFzdENoaWxkKSBcbiAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgIGxldCBvd25lckVsZW1lbnQgPSB0aGlzLm5vZGU7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMubm9kZSA9IGVsZW1lbnROb2RlLnNoYWRvd1Jvb3Q7XG4gICAgICAgICAgICAgICAgICAgICh0aGlzLm5vZGUgYXMgYW55KS5vd25lckVsZW1lbnQgPSBvd25lckVsZW1lbnQ7XG4gICAgICAgICAgICAgICAgICAgIERPTVdhbGtlci5hc3NpZ25TbG90cyh0aGlzLm5vZGUgYXMgU2hhZG93Um9vdCk7XG4gICAgICAgICAgICAgICAgfSBlbHNlIGlmICgodGhpcy5ub2RlLm5vZGVUeXBlID09PSAxIC8qIE5vZGUuRUxFTUVOVF9OT0RFICovIHx8IHRoaXMubm9kZS5ub2RlVHlwZSA9PT0gMTEpIFxuICAgICAgICAgICAgICAgICAgICAmJiBET01XYWxrZXIubGFzdENoaWxkTm90T3duZWRCeVNsb3QodGhpcy5ub2RlKSkge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLm5vZGUgPSBET01XYWxrZXIubGFzdENoaWxkTm90T3duZWRCeVNsb3QodGhpcy5ub2RlKTtcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLmJFbmRUYWcgPSBmYWxzZTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIGlmICh0aGlzLmF0Um9vdCgpKSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTtcbiAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKERPTVdhbGtlci5wcmV2aW91c1NpYmxpbmdOb3RPd25lZEJ5U2xvdCh0aGlzLm5vZGUpKSB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMubm9kZSA9IERPTVdhbGtlci5wcmV2aW91c1NpYmxpbmdOb3RPd25lZEJ5U2xvdCh0aGlzLm5vZGUpO1xuICAgICAgICAgICAgICAgICAgICB0aGlzLmJFbmRUYWcgPSB0cnVlO1xuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoKHRoaXMubm9kZSBhcyBhbnkpLm93bmVyRWxlbWVudCkge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLm5vZGUgPSAodGhpcy5ub2RlIGFzIGFueSkub3duZXJFbGVtZW50O1xuICAgICAgICAgICAgICAgICAgICB0aGlzLmJFbmRUYWcgPSBmYWxzZTtcbiAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKHRoaXMubm9kZS5wYXJlbnROb2RlKSB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMubm9kZSA9IHRoaXMubm9kZS5wYXJlbnROb2RlO1xuICAgICAgICAgICAgICAgICAgICB0aGlzLmJFbmRUYWcgPSBmYWxzZTtcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9IHdoaWxlIChcbiAgICAgICAgICAgICh0aGlzLm5vZGUubm9kZVR5cGUgIT09IDEgLyogTm9kZS5FTEVNRU5UX05PREUgKi8gJiYgdGhpcy5ub2RlLm5vZGVUeXBlICE9PSAxMSAmJiB0aGlzLm5vZGUubm9kZVR5cGUgIT09IDMgKVxuICAgICAgICAgICAgfHwgKHRoaXMubm9kZS5ub2RlVHlwZSA9PT0gMSAmJiAodGhpcy5ub2RlIGFzIEVsZW1lbnQpLmdldEF0dHJpYnV0ZShcImFDaGVja2VyXCIpID09PSBcIkFDRVwiKVxuICAgICAgICApO1xuICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICB9XG59IiwiLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuICAgICBDb3B5cmlnaHQ6OiAyMDIwLSBJQk0sIEluY1xuXG4gICAgTGljZW5zZWQgd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aGVja05sc1t2NFJ1bGUuaWRdWzBdID0gY2hlY2tObHNbdjRSdWxlLmlkXS5ncm91cDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICAvLyBDb252ZXJ0IFJTXG4gICAgICAgIGZvciAoY29uc3QgcnNTZWN0aW9uIG9mIHY0UnVsZS5ydWxlc2V0cykge1xuICAgICAgICAgICAgZm9yIChjb25zdCBycyBvZiBhMTF5UnVsZXNldHMgYXMgR3VpZGVsaW5lW10pIHtcbiAgICAgICAgICAgICAgICBsZXQgY2hlY2tSc0lkcyA6IHN0cmluZ1tdID0gdHlwZW9mIHJzU2VjdGlvbi5pZCA9PT0gXCJzdHJpbmdcIiA/IFtyc1NlY3Rpb24uaWRdIDogcnNTZWN0aW9uLmlkO1xuICAgICAgICAgICAgICAgIGlmIChjaGVja1JzSWRzLmluY2x1ZGVzKHJzLmlkKSkge1xuICAgICAgICAgICAgICAgICAgICBmb3IgKGNvbnN0IGNwIG9mIHJzLmNoZWNrcG9pbnRzKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBsZXQgY2hlY2tDUElkcyA6IHN0cmluZ1tdID0gdHlwZW9mIHJzU2VjdGlvbi5udW0gPT09IFwic3RyaW5nXCIgPyBbcnNTZWN0aW9uLm51bV0gOiByc1NlY3Rpb24ubnVtO1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGNoZWNrQ1BJZHMuaW5jbHVkZXMoY3AubnVtKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNwLnJ1bGVzID0gY3AucnVsZXMgfHwgW11cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjcC5ydWxlcy5wdXNoKHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWQ6IHY0UnVsZS5pZCxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVhc29uQ29kZXM6IHJzU2VjdGlvbi5yZWFzb25Db2RlcyxcbiAgICAgICAgICAgICAgICAgICAgICAgIC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gdGhpcy5ydWxlUmVhc29uTGV2ZWxzW3J1bGUuaWRdW2d1aWRlbGluZS5pZF1bY29kZV0gPSBydWxlLmxldmVsO1xuICAgICAgICAgICAgICAgICAgICB0aGlzLnJ1bGVDYXRlZ29yeVtydWxlLmlkXSA9IHRoaXMucnVsZUNhdGVnb3J5W3J1bGUuaWRdIHx8IHt9O1xuICAgICAgICAgICAgICAgICAgICB0aGlzLnJ1bGVDYXRlZ29yeVtydWxlLmlkXVtndWlkZWxpbmUuaWRdID0gZ3VpZGVsaW5lLmNhdGVnb3J5O1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICB0aGlzLnJ1bGVzZXRSdWxlc1tndWlkZWxpbmUuaWRdID0gcnVsZUlkcztcbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiBFbmFibGUgYSBydWxlIGZvciBhbGwgZ3VpZGVsaW5lc1xuICAgICAqIEBwYXJhbSBydWxlSWQgXG4gICAgICovXG4gICAgZW5hYmxlUnVsZShydWxlSWQ6IHN0cmluZykge1xuICAgICAgICBmb3IgKGNvbnN0IGd1aWRlbGluZSBvZiB0aGlzLmdldEd1aWRlbGluZXMoKSkge1xuICAgICAgICAgICAgbGV0IHVwZGF0ZWQgPSBmYWxzZTtcbiAgICAgICAgICAgIGZvciAoY29uc3QgY3Agb2YgZ3VpZGVsaW5lLmNoZWNrcG9pbnRzKSB7XG4gICAgICAgICAgICAgICAgZm9yIChjb25zdCBydWxlIG9mIGNwLnJ1bGVzKSB7XG4gICAgICAgICAgICAgICAgICAgIGlmIChydWxlLmVuYWJsZWQgPT09IGZhbHNlKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICB1cGRhdGVkID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGRlbGV0ZSBydWxlLmVuYWJsZWQ7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBpZiAodXBkYXRlZCkge1xuICAgICAgICAgICAgICAgIHRoaXMuYWRkR3VpZGVsaW5lKGd1aWRlbGluZSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiBEaXNhYmxlIGEgcnVsZSBmb3IgYWxsIGd1aWRlbGluZXNcbiAgICAgKiBAcGFyYW0gcnVsZUlkIFxuICAgICAqL1xuICAgIGRpc2FibGVSdWxlKHJ1bGVJZDogc3RyaW5nKSB7XG4gICAgICAgIGZvciAoY29uc3QgZ3VpZGVsaW5lIG9mIHRoaXMuZ2V0R3VpZGVsaW5lcygpKSB7XG4gICAgICAgICAgICBsZXQgdXBkYXRlZCA9IGZhbHNlO1xuICAgICAgICAgICAgZm9yIChjb25zdCBjcCBvZiBndWlkZWxpbmUuY2hlY2twb2ludHMpIHtcbiAgICAgICAgICAgICAgICBmb3IgKGNvbnN0IHJ1bGUgb2YgY3AucnVsZXMpIHtcbiAgICAgICAgICAgICAgICAgICAgaWYgKHJ1bGUuZW5hYmxlZCAhPT0gZmFsc2UpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHVwZGF0ZWQgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgcnVsZS5lbmFibGVkID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBpZiAodXBkYXRlZCkge1xuICAgICAgICAgICAgICAgIHRoaXMuYWRkR3VpZGVsaW5lKGd1aWRlbGluZSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiBSZW1vdmUgYSBndWlkZWxpbmUgZnJvbSB0aGUgZW5naW5lXG4gICAgICogXG4gICAgICogR2VuZXJhbGx5LCB0aGVyZSBpc24ndCBhIGdvb2QgcmVhc29uIHRvIGRvIHRoaXMuIFVzZXJzIHNob3VsZCBqdXN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KSB7XG4gICAgICAgICAgICAgICAgaWYgKHJzSWQgaW4gdGhpcy5ydWxlc2V0UnVsZXMpIHtcbiAgICAgICAgICAgICAgICAgICAgcnVsZUlkcyA9IHJ1bGVJZHMuY29uY2F0KHRoaXMucnVsZXNldFJ1bGVzW3JzSWRdKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH0gICAgXG4gICAgICAgIHRoaXMuZW5naW5lLmVuYWJsZVJ1bGVzKHJ1bGVJZHMpO1xuICAgICAgICAvLyBBZGQgdGhlIHJlcG9ydCBsZXZlbHNcbiAgICAgICAgbGV0IG15VGhpcyA9IHRoaXM7XG4gICAgICAgIHJldHVybiB0aGlzLmVuZ2luZS5ydW4obm9kZSlcbiAgICAgICAgICAgIC50aGVuKGZ1bmN0aW9uIChyZXBvcnQpIHtcbiAgICAgICAgICAgICAgICByZXBvcnQubmxzID0ge31cblxuICAgICAgICAgICAgICAgIGZvciAoY29uc3QgcmVzdWx0IG9mIHJlcG9ydC5yZXN1bHRzKSB7XG4gICAgICAgICAgICAgICAgICAgIGlmIChyZXN1bHQucnVsZUlkIGluIGNoZWNrTmxzKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICByZXBvcnQubmxzW3Jlc3VsdC5ydWxlSWRdID0gcmVwb3J0Lm5sc1tyZXN1bHQucnVsZUlkXSB8fCB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgMDogY2hlY2tObHNbcmVzdWx0LnJ1bGVJZF1bMF1cbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChyZXN1bHQucmVhc29uSWQgaW4gY2hlY2tObHNbcmVzdWx0LnJ1bGVJZF0pIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXBvcnQubmxzW3Jlc3VsdC5ydWxlSWRdW3Jlc3VsdC5yZWFzb25JZF0gPSBjaGVja05sc1tyZXN1bHQucnVsZUlkXVtyZXN1bHQucmVhc29uSWRdO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIC8vcmVzdWx0LnZhbHVlWzBdID0gbXlUaGlzLmdldExldmVsKGd1aWRlbGluZUlkcyBhcyBzdHJpbmdbXSwgcmVzdWx0LnJ1bGVJZCk7XG4gICAgICAgICAgICAgICAgICAgIGxldCBjb2RlID0gcmVzdWx0LnJlYXNvbklkPyByZXN1bHQucmVhc29uSWQgYXMgc3RyaW5nIDogXCJOb25lXCI7XG4gICAgICAgICAgICAgICAgICAgIHJlc3VsdC52YWx1ZVswXSA9IG15VGhpcy5nZXRSZWFzb25MZXZlbChndWlkZWxpbmVJZHMgYXMgc3RyaW5nW10sIHJlc3VsdC5ydWxlSWQsIGNvZGUpO1xuICAgICAgICAgICAgICAgICAgICByZXN1bHQuY2F0ZWdvcnkgPSBteVRoaXMuZ2V0Q2F0ZWdvcnkoZ3VpZGVsaW5lSWRzIGFzIHN0cmluZ1tdLCByZXN1bHQucnVsZUlkKTtcbiAgICAgICAgICAgICAgICAgICAgZGVsZXRlIHJlc3VsdC5wYXRoLmNzcztcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgcmV0dXJuIHJlcG9ydDtcbiAgICAgICAgICAgIH0pO1xuICAgIH1cblxuICAgcHJpdmF0ZSBnZXRMZXZlbChyc0lkczogc3RyaW5nW10sIHJ1bGVJZDogc3RyaW5nKSA6IGVSdWxlUG9saWN5IHtcbiAgICAgICAgaWYgKCFyc0lkcykgcmV0dXJuIGVSdWxlUG9saWN5LklORk9STUFUSU9OO1xuICAgICAgICBsZXQgcnNJbmZvID0gdGhpcy5ydWxlTGV2ZWxzW3J1bGVJZF07XG4gICAgICAgIGxldCByZXRWYWwgPSBudWxsO1xuICAgICAgICBpZiAocnNJZHMpIHtcbiAgICAgICAgICAgIGlmICghKHJ1bGVJZCBpbiB0aGlzLnJ1bGVMZXZlbHMpKSB7XG4gICAgICAgICAgICAgICAgdGhyb3cgbmV3IEVycm9yKFwiUnVsZSB0cmlnZ2VyZWQgZm9yIHdoaWNoIHdlIGhhdmUgbm8gcnVsZSBsZXZlbCBpbmZvcm1hdGlvbjogXCIrcnVsZUlkKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGZvciAoY29uc3QgcnNJZCBvZiByc0lkcykge1xuICAgICAgICAgICAgICAgIGlmIChyc0lkIGluIHJzSW5mbykge1xuICAgICAgICAgICAgICAgICAgICBpZiAocnNJbmZvW3JzSWRdID09PSBlUnVsZVBvbGljeS5WSU9MQVRJT04pIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldFZhbCA9IGVSdWxlUG9saWN5LlZJT0xBVElPTjtcbiAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmIChyc0luZm9bcnNJZF0gPT09IGVSdWxlUG9saWN5LlJFQ09NTUVOREFUSU9OICYmIHJldFZhbCA9PT0gbnVsbCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgcmV0VmFsID0gZVJ1bGVQb2xpY3kuUkVDT01NRU5EQVRJT047XG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAocmV0VmFsID09PSBudWxsKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICByZXRWYWwgPSBlUnVsZVBvbGljeS5JTkZPUk1BVElPTjtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICBpZiAocmV0VmFsID09PSBudWxsKSB7XG4gICAgICAgICAgICB0aHJvdyBuZXcgRXJyb3IoXCJSdWxlIHRyaWdnZXJlZCBmb3Igd2hpY2ggd2UgaGF2ZSBubyBydWxlIGxldmVsIGluZm9ybWF0aW9uOiBcIitydWxlSWQpO1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiByZXRWYWw7XG4gICAgfVxuXG4gICAgcHJpdmF0ZSBnZXRSZWFzb25MZXZlbChyc0lkczogc3RyaW5nW10sIHJ1bGVJZDogc3RyaW5nLCByZWFzb25Db2RlPzogc3RyaW5nKSA6IGVSdWxlUG9saWN5IHtcbiAgICAgICAgaWYgKCFyc0lkcykgcmV0dXJuIGVSdWxlUG9saWN5LklORk9STUFUSU9OOyBcbiAgICAgICAgbGV0IHJzSW5mbyA9IHRoaXMucnVsZVJlYXNvbkxldmVsc1tydWxlSWRdO1xuICAgICAgICBsZXQgcmV0VmFsID0gbnVsbDtcbiAgICAgICAgaWYgKHJzSWRzKSB7XG4gICAgICAgICAgICBpZiAoIShydWxlSWQgaW4gdGhpcy5ydWxlUmVhc29uTGV2ZWxzKSkge1xuICAgICAgICAgICAgICAgIHRocm93IG5ldyBFcnJvcihcIlJ1bGUgdHJpZ2dlcmVkIGZvciB3aGljaCB3ZSBoYXZlIG5vIHJ1bGUgbGV2ZWwgaW5mb3JtYXRpb24gXCIrcnVsZUlkKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGZvciAoY29uc3QgcnNJZCBvZiByc0lkcykge1xuICAgICAgICAgICAgICAgIGlmIChyc0lkIGluIHJzSW5mbykge1xuICAgICAgICAgICAgICAgICAgICBjb25zdCByZUNvZGUgPSBuZXcgUmVnRXhwKGAoXnwtLSkke3JlYXNvbkNvZGV9KCR8LS0pYCk7XG4gICAgICAgICAgICAgICAgICAgIE9iamVjdC5rZXlzKHJzSW5mb1tyc0lkXSkuZm9yRWFjaChjb2RlID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCBsZXZlbCA9IG51bGw7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoY29kZSA9PT0gJ05vbmUnKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldmVsID0gcnNJbmZvW3JzSWRdW1wiTm9uZVwiXTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGVsc2UgaWYgKHJlQ29kZS50ZXN0KGNvZGUpKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldmVsID0gcnNJbmZvW3JzSWRdW2NvZGVdOyBcbiAgICAgICAgICAgICAgICAgICAgICAgIFxuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGxldmVsICE9PSBudWxsKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGxldmVsID09PSBlUnVsZVBvbGljeS5WSU9MQVRJT04pIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0VmFsID0gZVJ1bGVQb2xpY3kuVklPTEFUSU9OO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAobGV2ZWwgPT09IGVSdWxlUG9saWN5LlJFQ09NTUVOREFUSU9OICYmIHJldFZhbCA9PT0gbnVsbCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXRWYWwgPSBlUnVsZVBvbGljeS5SRUNPTU1FTkRBVElPTjsgXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmIChyZXRWYWwgPT09IG51bGwpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0VmFsID0gZVJ1bGVQb2xpY3kuSU5GT1JNQVRJT047XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgICAgaWYgKHJldFZhbCA9PT0gbnVsbCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgcmV0VmFsID0gZVJ1bGVQb2xpY3kuSU5GT1JNQVRJT047XG4gICAgICAgICAgICAgICAgICAgIH0gICAgXG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9IFxuICAgICAgICBpZiAocmV0VmFsID09PSBudWxsKSB7XG4gICAgICAgICAgICB0aHJvdyBuZXcgRXJyb3IoXCJSdWxlIHRyaWdnZXJlZCBmb3Igd2hpY2ggd2UgaGF2ZSBubyBydWxlIGxldmVsIGluZm9ybWF0aW9uOiBcIitydWxlSWQpO1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiByZXRWYWw7XG4gICAgfVxuXG4gICAgcHJpdmF0ZSBnZXRDYXRlZ29yeShyc0lkczogc3RyaW5nW10sIHJ1bGVJZD86IHN0cmluZykgOiBlR3VpZGVsaW5lQ2F0ZWdvcnkge1xuICAgICAgICBsZXQgcnNJbmZvID0gdGhpcy5ydWxlQ2F0ZWdvcnlbcnVsZUlkXTtcbiAgICAgICAgbGV0IHJldFZhbCA9IFwiXCI7XG5cbiAgICAgICAgaWYgKCEocnVsZUlkIGluIHRoaXMucnVsZUNhdGVnb3J5KSkge1xuICAgICAgICAgICAgcmV0dXJuIGVHdWlkZWxpbmVDYXRlZ29yeS5PVEhFUjtcbiAgICAgICAgfVxuICAgICAgICBpZiAoIXJzSWRzKSB7XG4gICAgICAgICAgICByc0lkcyA9IHRoaXMuZ2V0R3VpZGVsaW5lSWRzKCk7XG4gICAgICAgIH1cbiAgICAgICAgZm9yIChjb25zdCByc0lkIG9mIHJzSWRzKSB7XG4gICAgICAgICAgICBpZiAocnNJZCBpbiByc0luZm8pIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gcnNJbmZvW3JzSWRdO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIHJldHVybiBlR3VpZGVsaW5lQ2F0ZWdvcnkuT1RIRVI7XG4gICAgfVxufVxuIiwiLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuICAgIENvcHlyaWdodDo6IDIwMjItIElCTSwgSW5jXG4gICAgTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAgICB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vu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FibGVkXG4gICAgICAgIGlmIChWaXNVdGlsLmlzTm9kZUhpZGRlbkZyb21BVChydWxlQ29udGV4dCkgfHwgQ29tbW9uVXRpbC5pc05vZGVEaXNhYmxlZChydWxlQ29udGV4dCkpIHtcbiAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICB9XG4gICAgICAgIFxuICAgICAgICAvLyBSdWxlIG9ubHkgcGFzc2VzIGlmIGFuIGVsZW1lbnQgaGFzIGlubmVyIGNvbnRlbnQsXG4gICAgICAgIC8vIGluIHRoZSBjYXNlIHRoYXQgdGhlcmUgaXMgb25seSBoaWRkZW4gY29udGVudCB1bmRlciB0aGUgdGhlIGVsZW1lbnQgaXQgaXMgYSB2aW9sYXRpb25cbiAgICAgICAgY29uc3QgYWNjTmFtZV9wYWlyID0gQWNjTmFtZVV0aWwuY29tcHV0ZUFjY2Vzc2libGVOYW1lKHJ1bGVDb250ZXh0KTtcbiAgICAgICAgbGV0IHBhc3NlZCA9XG4gICAgICAgICAgICAoYWNjTmFtZV9wYWlyICYmIGFjY05hbWVfcGFpci5uYW1lICYmIGFjY05hbWVfcGFpci5uYW1lLnRyaW0oKS5sZW5ndGggPiAwKSBcbiAgICAgICAgICAgIC8qKkFSSUFNYXBwZXIuY29tcHV0ZU5hbWUocnVsZUNvbnRleHQpLnRyaW0oKS5sZW5ndGggPiAwKi9cbiAgICAgICAgICAgIHx8IENvbW1vblV0aWwubm9uVGFiYWJsZUNoaWxkQ2hlY2socnVsZUNvbnRleHQpO1xuICAgICAgICBpZiAoIXBhc3NlZCkge1xuICAgICAgICAgICAgcmV0dXJuIFJ1bGVGYWlsKFwiZmFpbF9hY2NfbmFtZVwiKTtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIHJldHVybiBSdWxlUGFzcyhcInBhc3NcIik7XG4gICAgICAgIH1cbiAgICB9XG59XG4iLCIvKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKio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AgICAgICAgICAgcmV0dXJuIFJ1bGVQYXNzKFwiUGFzc18wXCIpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxufVxuICAgICIsIi8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcbiAgICBDb3B5cmlnaHQ6OiAyMDIyLSBJQk0sIEluY1xuICAgIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gICAgeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICAgIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICAgIGh0dHA6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICAgIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAgICBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gICAgV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gICAgU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICAgIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqL1xuXG5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pOiBSdWxlUmVzdWx0IHwgUnVsZVJlc3VsdFtdID0+IHtcbiAgICAgICAgY29uc3QgcnVsZUNvbnRleHQgPSBjb250ZXh0W1wiZG9tXCJdLm5vZGUgYXMgRWxlbWVudDtcbiAgICAgICAgbGV0IHBhc3NlZCA9IHRydWU7XG4gICAgICAgIGxldCBjaGlsZHJlbiA9IHJ1bGVDb250ZXh0LmNoaWxkTm9kZXM7XG4gICAgICAgIGZvciAobGV0IGkgPSAwOyBwYXNzZWQgJiYgaSA8IGNoaWxkcmVuLmxlbmd0aDsgaSsrKSB7XG4gICAgICAgICAgICBpZiAoY2hpbGRyZW5baV0ubm9kZVR5cGUgPT09IDEpIHtcbiAgICAgICAgICAgICAgICBpZiAoVmlzVXRpbC5pc05vZGVWaXNpYmxlKGNoaWxkcmVuW2ldKSkge1xuICAgICAgICAgICAgICAgICAgICBwYXNzZWQgPSBBcmlhVXRpbC5oYXNSb2xlSW5TZW1hbnRpY3MoY2hpbGRyZW5baV0sIFwiZG9jdW1lbnRcIikgfHwgQXJpYVV0aWwuaGFzUm9sZUluU2VtYW50aWNzKGNoaWxkcmVuW2ldLCBcImFydGljbGVcIik7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSBlbHNlIGlmIChjaGlsZHJlbltpXS5ub2RlVHlwZSA9PT0gMykge1xuICAgICAgICAgICAgICAgIHBhc3NlZCA9IGNoaWxkcmVuW2ldLm5vZGVWYWx1ZS50cmltKCkubGVuZ3RoID09PSAwO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgcmV0dXJuIHBhc3NlZCA/IFJ1bGVQYXNzKFwiUGFzc18wXCIpIDogUnVsZVBvdGVudGlhbChcIlBvdGVudGlhbF8xXCIpO1xuICAgIH1cbn1cbiIsIi8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcbiAgICBDb3B5cmlnaHQ6OiAyM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ldHVybiBudWxsO1xuICAgICAgICBjb25zdCBkZXByZWNhdGVkQXR0cmlidXRlcyA9IEFyaWFVdGlsLmdldERlcHJlY2F0ZWRBcmlhQXR0cmlidXRlcyhydWxlQ29udGV4dCk7XG4gICAgICAgIGlmIChkZXByZWNhdGVkQXR0cmlidXRlcyAmJiBkZXByZWNhdGVkQXR0cmlidXRlcy5sZW5ndGggPiAwKSByZXR1cm4gbnVsbDtcblxuICAgICAgICBsZXQgcm9sZSA9IEFyaWFVdGlsLmdldFJlc29sdmVkUm9sZShydWxlQ29udGV4dCk7XG4gICAgICAgIFxuICAgICAgICBjb25zdCBuYW1lX3BhaXIgPSBBY2NOYW1lVXRpbC5jb21wdXRlQWNjZXNzaWJsZU5hbWUocnVsZUNvbnRleHQpO1xuICAgICAgICBpZiAoIW5hbWVfcGFpciB8fCAhbmFtZV9wYWlyLm5hbWUgfHwgbmFtZV9wYWlyLm5hbWUudHJpbSgpLmxlbmd0aCA9PT0gMCkge1xuICAgICAgICAgICAgaWYgKHJvbGUgPT09ICdpbWcnIHx8IHJvbGUgPT09ICdpbWFnZScpXG4gICAgICAgICAgICAgICAgcmV0dXJuIFJ1bGVGYWlsKFwiZmFpbF9ub19hY2Nlc3NpYmxlX25hbWVfaW1hZ2VcIiwgW3J1bGVDb250ZXh0Lm5vZGVOYW1lLnRvTG93ZXJDYXNlKCksIHJvbGVdKTsgXG4gICAgICAgICAgICByZXR1cm4gUnVsZUZhaWwoXCJmYWlsX25vX2FjY2Vzc2libGVfbmFtZVwiLCBbcnVsZUNvbnRleHQubm9kZU5hbWUudG9Mb3dlckNhc2UoKSwgcm9sZV0pO1xuICAgICAgICB9ICAgIFxuICAgICAgICByZXR1cm4gUnVsZVBhc3MoXCJwYXNzXCIpO1xuICAgIH1cbn1cbiIsIi8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcbiAgQ29weXJpZ2h0OjogMj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m9sc1wiKS50cmltKCkpLnNwbGl0KFwiIFwiKTtcbiAgICAgICAgICAgIGZvciAobGV0IGkgPSAwOyBpIDwgY29udHJvbGxlZF9pZHMubGVuZ3RoOyBpKyspIHtcbiAgICAgICAgICAgICAgICBsZXQgY29udHJvbGxlZF9lbGUgPSBGcmFnbWVudFV0aWwuZ2V0QnlJZChydWxlQ29udGV4dCwgY29udHJvbGxlZF9pZHNbaV0pO1xuICAgICAgICAgICAgICAgIGlmIChjb250cm9sbGVkX2VsZSAmJiAhRE9NVXRpbC5zYW1lTm9kZShjb250cm9sbGVkX2VsZSwgcnVsZUNvbnRleHQpICYmIGNvbnRyb2xsZWRfZWxlLmNvbnRhaW5zKGRlc2NlbmRhbnQpKSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBSdWxlUGFzcyhcIlBhc3NfMFwiKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgaWYgKGNvbnRyb2xsZWRfZWxlLmhhc0F0dHJpYnV0ZShcImFyaWEtb3duc1wiKSkge1xuICAgICAgICAgICAgICAgICAgICBsZXQgb3duc19pZHMgPSBDb21tb25VdGlsLm5vcm1hbGl6ZVNwYWNpbmcoY29udHJvbGxlZF9lbGUuZ2V0QXR0cmlidXRlKFwiYXJpYS1vd25zXCIpLnRyaW0oKSkuc3BsaXQoXCIgXCIpO1xuICAgICAgICAgICAgICAgICAgICBmb3IgKGxldCBqID0gMDsgaiA8IG93bnNfaWRzLmxlbmd0aDsgaisrKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBsZXQgb3duZWRfZWxlID0gRnJhZ21lbnRVdGlsLmdldEJ5SWQocnVsZUNvbnRleHQsIG93bnNfaWRzW2pdKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChvd25lZF9lbGUgJiYgIURPTVV0aWwuc2FtZU5vZGUob3duZWRfZWxlLCBydWxlQ29udGV4dCkgJiYgb3duZWRfZWxlLmNvbnRhaW5zKGRlc2NlbmRhbnQpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFJ1bGVQYXNzKFwiUGFzc18wXCIpO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgLy8gUE9GMzogSSdtIG5vdCBhIGNvbWJvYm94LCBhbmQgdGhlIHJlZmVyZW5jZWQgYWN0aXZlLWRlc2NlbmRhbnQgaXMgbm90IGEgZGVzY2VuZGFudCBhbmQgbm90IG93bmVkIGJ5IHRoZSBlbGVtZW50IFxuICAgICAgICAvLyB0aGF0IHJlZmVyZW5jZWQgaXQuXG4gICAgICAgIGlmIChwb2ZJZCA9PSAzKSB7XG4gICAgICAgICAgICByZXR1cm4gUnVsZUZhaWwoXCJGYWlsXzNcIik7XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgfVxufSIsIi8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcbiAgQ29weXJpZ2h0OjogMjAyMi0gSUJNLCBJbmNcbiAgTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAgeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAgaHR0cDovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAgZGlzdHJpYn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lbnQsXG4gICAgICAgICAgICBcImFyaWFfYXBwbGljYXRpb25fbGFiZWxfdW5pcXVlXCIsXG4gICAgICAgICAgICBudWxsXG4gICAgICAgICk7XG4gICAgICAgIGlmICghZHVwZXMpIHtcbiAgICAgICAgICAgIGR1cGVzID0gQXJpYVV0aWwuZmluZEFyaWFMYWJlbER1cGVzKGxhbmRtYXJrcyk7XG4gICAgICAgICAgICBDYWNoZVV0aWwuc2V0Q2FjaGUoXG4gICAgICAgICAgICAgICAgcnVsZUNvbnRleHQub3duZXJEb2N1bWVudCxcbiAgICAgICAgICAgICAgICBcImFyaWFfYXBwbGljYXRpb25fbGFiZWxfdW5pcXVlXCIsXG4gICAgICAgICAgICAgICAgZHVwZXNcbiAgICAgICAgICAgICk7XG4gICAgICAgIH1cbiAgICAgICAgbGV0IG15TGFiZWwgPSBBcmlhVXRpbC5nZXRBcmlhTGFiZWwocnVsZUNvbnRleHQpO1xuICAgICAgICBsZXQgcGFzc2VkID1cbiAgICAgICAgICAgIG15TGFiZWwgIT09IFwiXCIgJiYgKCEobXlMYWJlbCBpbiBkdXBlcykgfHwgZHVwZXNbbXlMYWJlbF0gPD0gMSk7XG5cbiAgICAgICAgLy9yZXR1cm4gbmV3IFZhbGlkYXRpb25SZXN1bHQocGFzc2VkLCBydWxlQ29udGV4dCwgJycsICcnLCBbIG15TGFiZWwgXSk7XG4gICAgICAgIGlmICghcGFzc2VkKSB7XG4gICAgICAgICAgICByZXR1cm4gUnVsZUZhaWwoXCJGYWlsXzFcIiwgW215TGFiZWxdKTtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIHJldHVybiBSdWxlUGFzcyhcIlBhc3NfMFwiKTtcbiAgICAgICAgfVxuICAgIH1cbn0iLCIvKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqXG4gIENvcHlyaWdodDo6IDIwMjItIElCTSwgSW5jXG4gIExpY2V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GUgYXMgRWxlbWVudDtcbiAgICAgICAgLy8gQ29uc2lkZXIgdGhlIENoZWNrIEhpZGRlbiBDb250ZW50IHNldHRpbmcgdGhhdCBpcyBzZXQgYnkgdGhlIHJ1bGVzXG4gICAgICAgIC8vIEFsc28sIGNvbnNpZGVyIEltcGxpY2l0IHJvbGUgY2hlY2tpbmcuXG4gICAgICAgIGxldCBsYW5kbWFya3MgPSBDb21tb25VdGlsLmdldEVsZW1lbnRzQnlSb2xlSGlkZGVuKFxuICAgICAgICAgICAgcnVsZUNvbnRleHQub3duZXJEb2N1bWVudCxcbiAgICAgICAgICAgIFwiYXJ0aWNsZVwiLFxuICAgICAgICAgICAgdHJ1ZSxcbiAgICAgICAgICAgIHRydWVcbiAgICAgICAgKTtcbiAgICAgICAgaWYgKGxhbmRtYXJrcy5sZW5ndGggPT09IDAgfHwgbGFuZG1hcmtzLmxlbmd0aCA9PT0gMSkge1xuICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgIH1cblxuICAgICAgICBsZXQgZHVwZXMgPSBDYWNoZVV0aWwuZ2V0Q2FjaGUoXG4gICAgICAgICAgICBydWxlQ29udGV4dC5vd25lckRvY3VtZW50LFxuICAgICAgICAgICAgXCJhcmlhX2FydGljbGVfbGFiZWxfdW5pcXVlXCIsXG4gICAgICAgICAgICBudWxsXG4gICAgICAgICk7XG4gICAgICAgIGlmICghZHVwZXMpIHtcbiAgICAgICAgICAgIGR1cGVzID0gQXJpYVV0aWwuZmluZEFyaWFMYWJlbER1cGVzKGxhbmRtYXJrcyk7XG4gICAgICAgICAgICBDYWNoZVV0aWwuc2V0Q2FjaGUoXG4gICAgICAgICAgICAgICAgcnVsZUNvbnRleHQub3duZXJEb2N1bWVudCxcbiAgICAgICAgICAgICAgICBcImFyaWFfYXJ0aWNsZV9sYWJlbF91bmlxdWVcIixcbiAgICAgICAgICAgICAgICBkdXBlc1xuICAgICAgICAgICAgKTtcbiAgICAgICAgfVxuICAgICAgICBsZXQgbXlM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BdHRyaWJ1dGUocnVsZUNvbnRleHQsIGF0dHJOYW1lKSkge1xuICAgICAgICAgICAgICAgICAgICB0ZXN0ZWRQcm9wZXJ0aWVzKys7XG4gICAgICAgICAgICAgICAgICAgIC8vIE5vdyB3ZSBqdXN0IGhhdmUgYXJpYSBhdHRyaWJ1dGVzIHdoaWNoIGNhblxuICAgICAgICAgICAgICAgICAgICAvLyBwYXNzIG9yIGZhaWwgYmFzZWQgb24gd2hldGhlciB0aGVyZSBwcm9wZXJ0eSBpcyB2YWxpZFxuICAgICAgICAgICAgICAgICAgICBsZXQgZGF0YVR5cGVzID0gcHJvcGVydHlEYXRhVHlwZXNbYXR0ck5hbWVdO1xuICAgICAgICAgICAgICAgICAgICBpZiAoIWRhdGFUeXBlcykgeyAvLyBpZiBwcm9wZXJ0eSBpcyBub3QgaW4gdmFsaWQgcHJvcGVydHkgbGlzdFxuICAgICAgICAgICAgICAgICAgICAgICAgLy8gY3JlYXRlIGZhaWxlZFByb3BlcnRpZXMgY29tbWEgc2VwIGxpc3RcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChmYWlsZWRQcm9wZXJ0aWVzLmxlbmd0aCA9PSAwKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZmFpbGVkUHJvcGVydGllcyA9IGF0dHJOYW1lO1xuICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBmYWlsZWRQcm9wZXJ0aWVzID0gZmFpbGVkUHJvcGVydGllcyArIFwiLCBcIiArIGF0dHJOYW1lO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgaWYgKHRlc3RlZFByb3BlcnRpZXMgPT0gMCkge1xuICAgICAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICAgICAgfSBlbHNlIGlmIChmYWlsZWRQcm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gICAgIGxldCBhdHRyaWJ1dGUgPSByZXF1aXJlZFJvbGVQcm9wc1tpXTtcbiAgICAgICAgICAgICAgICBpZiAoaGFzQXR0cmlidXRlKHJ1bGVDb250ZXh0LCBhdHRyaWJ1dGUpKSB7XG4gICAgICAgICAgICAgICAgICAgIHRlc3RlZFByb3BlcnRpZXMrKztcbiAgICAgICAgICAgICAgICAgICAgbGV0IG5vZGVWYWx1ZSA9IENvbW1vblV0aWwubm9ybWFsaXplU3BhY2luZyhydWxlQ29udGV4dC5nZXRBdHRyaWJ1dGUocmVxdWlyZWRSb2xlUHJvcHNbaV0pKTtcbiAgICAgICAgICAgICAgICAgICAgaWYgKG5vZGVWYWx1ZS5sZW5ndGggPT0gMCkgYXR0ck5hbWVBcnIucHVzaChyZXF1aXJlZFJvbGVQcm9wc1tpXSk7XG4gICAgICAgICAgICAgICAgfSBlbHNlIGlmIChyZXF1aXJlZFJvbGVQcm9wc1tpXSA9PSBcImFyaWEtbGFiZWxsZWRieVwiKSB7XG4gICAgICAgICAgICAgICAgICAgIGlmICgocm9sZSA9PSBcInJhZGlvZ3JvdXBcIikgJiYgKGhhc0F0dHJpYnV0ZShydWxlQ29udGV4dCwgXCJhcmlhLWxhYmVsXCIpKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgdGVzdGVkUHJvcGVydGllcysrO1xuICAgICAgICAgICAgICAgICAgICAgICAgbGV0IG5vZGVWYWx1ZSA9IENvbW1vblV0aWwubm9ybWFsaXplU3BhY2luZyhydWxlQ29udGV4dC5nZXRBdHRyaWJ1dGUoXCJhcmlhLWxhYmVsXCIpKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChub2RlVmFsdWUubGVuZ3RoID09IDApIGF0dHJOYW1lQXJyLnB1c2goXCJhcmlhLWxhYmVsXCIpO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfSBlbHNlIGlmIChyZXF1aXJlZFJvbGVQcm9wc1tpXSA9PSBcImFyaWEtd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gICAgICAgICAgICAgICBsZXQgYXR0cmlidXRlID0gYWxsb3dlZEF0dHJpYnV0ZXNbaV07XG4gICAgICAgICAgICAgICAgaWYgKGF0dHJpYnV0ZSA9PSBcImFyaWEtY2hlY2tlZFwiIHx8IGF0dHJpYnV0ZSA9PSBcImFyaWEtc2VsZWN0ZWRcIiB8fFxuICAgICAgICAgICAgICAgICAgICBhdHRyaWJ1dGUgPT0gXCJhcmlhLWV4cGFuZGVkXCIgfHwgYXR0cmlidXRlID09IFwiYXJpYS1vcmllbnRhdGlvblwiIHx8XG4gICAgICAgICAgICAgICAgICAgIGF0dHJpYnV0ZSA9PSBcImFyaWEtbGV2ZWxcIikge1xuICAgICAgICAgICAgICAgICAgICBpZiAoaGFzQXR0cmlidXRlKHJ1bGVDb250ZXh0LCBhdHRyaWJ1dGUpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICB0ZXN0ZWRQcm9wZXJ0aWVzKys7XG4gICAgICAgICAgICAgICAgICAgICAgICBsZXQgbm9kZVZhbHVlID0gQ29tbW9uVXRpbC5ub3JtYWxpemVTcGFjaW5nKHJ1bGVDb250ZXh0LmdldEF0dHJpYnV0ZShhdHRyaWJ1dGUpKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChub2RlVmFsdWUubGVuZ3RoID09IDAgJiYgIWF0dHJOYW1lQXJyLmluY2x1ZGVzKGF0dHJpYnV0ZSkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBhdHRyTmFtZUFyci5wdXNoKGF0dHJpYnV0ZSk7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICBsZXQgcmV0TXNnID0gbmV3IEFycmF5KCk7XG4gICAgICAgIGxldCBwYXNzZWQgPSBhdHRyTmFtZUFyci5sZW5ndGggPT0gMDtcbiAgICAgICAgcmV0TXNnLnB1c2goY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ClcbiAgICAgICAgICAgIHJldHVybiBudWxsO1xuXG4gICAgICAgIGxldCBkb21BdHRyaWJ1dGVzID0gcnVsZUNvbnRleHQuYXR0cmlidXRlcztcbiAgICAgICAgbGV0IGFyaWFBdHRycyA9IFtdO1xuICAgICAgICBsZXQgaHRtbEF0dHJzID0gW107XG4gICAgICAgIGlmIChkb21BdHRyaWJ1dGVzKSB7XG4gICAgICAgICAgICBmb3IgKGxldCBpID0gMDsgaSA8IGRvbUF0dHJpYnV0ZXMubGVuZ3RoOyBpKyspIHtcbiAgICAgICAgICAgICAgICBsZXQgYXR0ck5hbWUgPSBkb21BdHRyaWJ1dGVzW2ldLm5hbWUudHJpbSgpLnRvTG93ZXJDYXNlKCk7IFxuICAgICAgICAgICAgICAgIGxldCBhdHRyVmFsdWUgPSBydWxlQ29udGV4dC5nZXRBdHRyaWJ1dGUoYXR0ck5hbWUpO1xuICAgICAgICAgICAgICAgIGlmIChhdHRyVmFsdWUgPT09ICcnKSBhdHRyVmFsdWUgPSBudWxsO1xuICAgICAgICAgICAgICAgIGlmIChhdHRyTmFtZS5zdWJzdHJpbmcoMCwgNSkgPT09ICdhcmlhLScpIFxuICAgICAgICAgICAgICAgICAgICBhcmlhQXR0cnMucHVzaCh7bmFtZTogYXR0ck5hbWUsIHZhbHVlOiBhdHRyVmFsdWV9KTtcbiAgICAgICAgICAgICAgICBlbHNlIFxuICAgICAgICAgICAgICAgICAgICBodG1sQXR0cnMucHVzaCh7bmFtZTogYXR0ck5hbWUsIHZhbHVlOiBhdHRyVmFsdWV9KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICBsZXQgcmV0ID0gW107XG4gICAgICAgIGZvciAobGV0IGkgPSAwOyBpIDwgYXJpYUF0dHJzLmxlbmd0aDsgaSsrKSB7XG4gICAgICAgICAgICBjb25zdCBleGFtaW5lZEh0bWxBdHJOYW1lcyA9IEFyaWFVdGlsLmdldENvbmZsaWN0T3JPdmVybGFwcGluZ0h0bWxBdHRyaWJ1dGUoYXJpYUF0dHJzW2ldLCBodG1sQXR0cnMsICdvdmVybGFwcGluZycpO1xuICAgICAgICAgICAgaWYgKGV4YW1pbmVkSHRtbEF0ck5hbWVzID09PSBudWxsKSBjb250aW51ZTtcbiAgICAgICAgICAgIGV4YW1pbmVkSHRtbEF0ck5hbWVzLmZvckVhY2goaXRlbSA9PiB7XG4gICAgICAgICAgICAgICAgaWYgKGl0ZW1bJ3Jlc3VsdCddID09PSAnUGFzcycpIHsgLy9wYXNzXG4gICAgICAgICAgICAgICAgICAgIHJldC5wdXNoKFJ1bGVQYXNzKFwicGFzc1wiKSk7XG4gICAgICAgICAgICAgICAgfSBlbHNlIGlmIChpdGVtWydyZXN1bHQnXSA9PT0gJ0ZhaWxlZCcpIHsgLy9mYWlsZWRcbiAgICAgICAgICAgICAgICAgICAgcmV0LnB1c2goUnVsZUZhaWwoXCJmYWlsX3JlZHVuZGFudFwiLCBbYXJpYUF0dHJzW2ldWyduYW1lJ10sIGl0ZW1bJ2F0dHInXV0pKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9KTsgICAgXG4gICAgICAgIH0gICAgXG4gICAgICAgIGlmIChyZXQubGVuZ3RoID4gMClcbiAgICAgICAgICAgIHJldHVybiByZXQ7XG4gICAgICAgIHJldHVybiBudWxsO1xuICAgIH1cbn0iLCIvKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqXG4gICAgQ29weXJpZ2h0OjogMjAyMi0gSUJNLCBJbmNcbiAgICBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICAgIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAgICBZb3UgbWF5IG9idGFpbiB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YgKCFoYXNBdHRyaWJ1dGUocnVsZUNvbnRleHQsIHJlcXVpcmVkUm9sZVByb3BzW2ldKSkge1xuICAgICAgICAgICAgICAgICAgICAvLyBJZiBhbiBhcmlhLWxhYmVsbGVkYnkgaXNuJ3QgcHJlc2VudCwgYW4gYXJpYS1sYWJlbCB3aWxsIG1lZXQgdGhlIHJlcXVpcmVtZW50LlxuICAgICAgICAgICAgICAgICAgICBpZiAocmVxdWlyZWRSb2xlUHJvcHNbaV0gPT0gXCJhcmlhLWxhYmVsbGVkYnlcIikge1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKCghaGFzQXR0cmlidXRlKHJ1bGVDb250ZXh0LCBcImFyaWEtbGFiZWxcIikpIHx8IChyb2xlICE9IFwicmFkaW9ncm91cFwiKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGF0dHJOYW1lQXJyLnB1c2gocmVxdWlyZWRSb2xlUHJvcHNbaV0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJvbGVNaXNzaW5nUmVxUHJvcCA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAocmVxdWlyZWRSb2xlUHJvcHNbaV0gPT0gXCJhcmlhLXZhbHVlbm93XCIpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmICgoIWhhc0F0dHJpYnV0ZShydWxlQ29udGV4dCwgXCJhcmlhLXZhbHVldGV4dFwiKSkgfHwgKHJvbGUgIT0gXCJwcm9ncmVzc2JhclwiKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGF0dHJOYW1lQXJyLnB1c2gocmVxdWlyZWRSb2xlUHJvcHNbaV0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJvbGVNaXNzaW5nUmVxUHJvcCA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAocmVxdWlyZWRSb2xlUHJvcHNbaV0gPT0gXCJhcmlhLWNvbnRyb2xzXCIgJiYgcm9sZSA9PSBcImNvbWJvYm94XCIpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vIFNraXAgdGhpcyBjaGVjayBzaW5jZSBhcmlhLWNvbnRyb2xzIGluIHRoZSB0ZXh0Ym94IG9mIGEgY29tYm9ib3ggaXMgYWxyZWFkeSBoYW5kbGVkIGluIHJ1bGUgSEFBQ19Db21ib2JveF9NdXN0X2hhdmVfVGV4dF9JbnB1dFxuICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgYXR0ck5hbWVBcnIucHVzaChyZXF1aXJlZFJvbGVQcm9wc1tpXSk7XG4gICAgICAgICAgICAgICAgICAgICAgICByb2xlTWlzc2luZ1JlcVByb3AgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgaWYgKHJvbGVNaXNzaW5nUmVxUHJvcCA9PSB0cnVlKSB7XG4gICAgICAgICAgICAgICAgcm9sZU5hbWVBcnIucHVzaChyb2xlKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICBcbiAgICAgICAgbGV0IHBhc3NlZCA9IHJvbGVOYW1lQXJyLmxlbmd0aCA9PSAwIHx8IGF0dHJOYW1lQXJyLmxlbmd0aCA9PSAwOyAvLyBvbmx5IGFyaWEgYXR0cmlidXRlcyBzbyBOTyBPVVQgT0YgU0NPUEVcbiAgICAgICAgaWYgKCFwYXNzZWQpIHtcbiAgICAgICAgICAgIGxldCByZXRUb2tlbiA9IG5ldyBBcnJheSgpO1xuICAgICAgICAgICAgcmV0VG9rZW4ucHVzaChyb2xlTmFtZUFyci5qb2luKFwiLCBcIikpO1xuICAgICAgICAgICAgcmV0VG9rZW4ucHVzaChhdHRyTmFtZUFyci5qb2luKFwiLCBcIikpO1xuICAgICAgIC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iBkYXRhVHlwZXMudmFsdWVzKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoZGF0YVR5cGVzLnZhbHVlcy5pbmRleE9mKG5vZGVWYWx1ZSkgPT0gLTEpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoZGF0YVR5cGVzLnZhbHVlcy5pbmRleE9mKCd1bmRlZmluZWQnKSAhPSAtMSAmJiBub2RlVmFsdWUubGVuZ3RoID09IDApIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy90cmFuc2xhdGUgJ3VuZGVmaW5lZCcgdG8gbWVhbiAnJ1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGFyaWEtcmVsZXZhbnQgaXMgcmVwcmVzZW50ZWQgYXMgYSBzcGFjZSBkZWxpbWl0ZWQgbGlzdCBvZiB0aGUgZm9sbG93aW5nIHZhbHVlczogXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGFkZGl0aW9ucywgcmVtb3ZhbHMsIHRleHQ7IG9yIGEgc2luZ2xlIGNhdGNoLWFsbCB2YWx1ZSBhbGwuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChkYXRhVHlwZXMudHlwZSA9PT0gXCJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSNubXRva2Vuc1wiKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgYXR0clZhbHVlcyA9IGNvbnRleHRBdHRyaWJ1dGVzW2ldLm5vZGVWYWx1ZS50cmltKCkuc3BsaXQoXCIgXCIpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gaWYgdGhlIHZhbHVlIGFsbCBpcyBzcGVjaWZpZWQsIGl0IGNhbm5vdCBoYXZlIGFueSBvdGhlciB2YWx1ZVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGF0dHJWYWx1ZXMubGVuZ3RoID4gMSAmJiBhdHRyVmFsdWVzLmluY2x1ZGVzKFwiYWxsXCIpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFsdWVBcnIucHVzaChjb250ZXh0QXR0cmlidXRlc1tpXS5ub2RlVmFsdWUuc3BsaXQoXCIgXCIpKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhdHRyTmFtZUFyci5wdXNoKGF0dHJOYW1lKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBkYXRhVHlwZUFyci5wdXNoKGRhdGFUeXBlcy52YWx1ZXMudG9TdHJpbmcoKSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBoYXNoID0ge307XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZm9yIChsZXQgaiA9IDA7IGogPCBhdHRyVmFsdWVzLmxlbmd0aDsgaisrKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGlmIHRoZSBpbmRpdmlkdWFsIHZhbHVlIGlzIG5vdCBpbiB0aGUgbGlzdCBvZiBhbGxvd2VkIHZhbHVlc1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoYXR0clZhbHVlc1tqXSAhPSBcIlwiICYmICFkYXRhVHlwZXMudmFsdWVzLmluY2x1ZGVzKGF0dHJWYWx1ZXNbal0pKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoIWhhc2guaGFzT3duUHJvcGVydHkoYXR0ck5hbWUpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGFzaFthdHRyTmFtZV0gPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGF0dHJOYW1lQXJyLnB1c2goYXR0ck5hbWUpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFsdWVBcnIucHVzaChhdHRyVmFsdWVzW2pdKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRhdGFUeXBlQXJyLnB1c2goZGF0YVR5cGVzLnZhbHVlcy50b1N0cmluZygpKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhbHVlQXJyLnB1c2goY29udGV4dEF0dHJpYnV0ZXNbaV0ubm9kZVZhbHVlLnNwbGl0KFwiIFwiKSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhdHRyTmFtZUFyci5wdXNoKGF0dHJOYW1lKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRhdGFUeXBlQXJyLnB1c2goZGF0YVR5cGVzLnZhbHVlcy50b1N0cmluZygpKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmIChkYXRhVHlwZXMgJiYgZGF0YVR5cGVzLnR5cGUgJiYgZGF0YVR5cGVzLnR5cGUgPT09IFwiaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEjaW50XCIpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCBpVmFsID0gcGFyc2VJbnQobm9kZVZhbHVlKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChpc05hTihpVmFsKSB8fCAoXCJcIiArIGlWYWwgIT09IG5vZGVWYWx1ZSkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YWx1ZUFyci5wdXNoKG5vZGVWYWx1ZSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgYXR0ck5hbWVBcnIucHVzaChhdHRyTmFtZSk7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoZGF0YVR5cGVzICYmIGRhdGFUeXBlcy50eXBlICYmIGRhdGFUeXBlcy50eXBlID09IFwiaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEjZGVjaW1hbFwiKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBsZXQgZlZhbCA9IHBhcnNlRmxvYXQobm9kZVZhbHVlKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChpc05hTihmVmFsKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhbHVlQXJyLnB1c2gobm9kZVZhbHVlKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBhdHRyTmFtZUFyci5wdXNoKGF0dHJOYW1lKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmIChkYXRhVHlwZXMgJiYgZGF0YVR5cGVzLnR5cGUgJiYgKGRhdGFUeXBlcy50eXBlID09IFwiaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEjYm9vbGVhblwiKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHRtcFYgPSBub2RlVmFsdWUudHJpbSgpLnRvTG93ZXJDYXNlKCk7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAodG1wViAhPT0gXCJ0cnVlXCIgJiYgdG1wViAhPT0gXCJmYWxzZVwiKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFsdWVBcnIucHVzaChub2RlVmFsdWUpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGF0dHJOYW1lQXJyLnB1c2goYXR0ck5hbWUpO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKGRhdGFUeXBlcyAmJiBkYXRhVHlwZXMudHlwZSAmJiAoZGF0YVR5cGVzLnR5cGUgPT0gXCJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSNzdHJpbmdcIikpIHtcbiAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRlc3RlZFByb3BlcnR5VmFsdWVzLS07XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgbGV0IHJldE1zZyA9IG5ldyBBcnJheSgpO1xuICAgICAgICBsZXQgcGFzc2VkID0gYXR0ck5hbWVBcnIubGVuZ3RoID09IDA7XG4gICAgICAgIHJldE1zZy5wdXNoKHZhbHVlQXJyLmpvaW4oXCIsIFwiKSk7XG4gICAgICAgIHJldE1zZy5wdXNoKGF0dHJOYW1lQXJyLmpvaW4oXCIsIFwiKSk7XG4gICAgICAgIHJldE1zZy5wdXNoKHJ1bGVDb250ZXh0Lm5vZGVOYW1lLnRvTG93ZXJDYXNlKCkpO1xuICAgICAgICAvLyByZXRNc2cucHVzaCAoZGF0YVR5cGVBcnIuam9pbihcIiwgXCIpKTtcbiAgICAgICAgLy9yZXR1cm4gbmV3IFZhbGlkYXRpb25SZXN1bHQocGFzc2VkLCBbcnVsZUNvbnRle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0aW9ucz86IHt9LCBjb250ZXh0SGllcmFyY2hpZXM/OiBSdWxlQ29udGV4dEhpZXJhcmNoeSk6IFJ1bGVSZXN1bHQgfCBSdWxlUmVzdWx0W10gPT4ge1xuICAgICAgICBjb25zdCBydWxlQ29udGV4dCA9IGNvbnRleHRbXCJkb21cIl0ubm9kZSBhcyBFbGVtZW50O1xuICAgICAgICAvLyBDb25zaWRlciB0aGUgQ2hlY2sgSGlkZGVuIENvbnRlbnQgc2V0dGluZyB0aGF0IGlzIHNldCBieSB0aGUgcnVsZXNcbiAgICAgICAgLy8gQWxzbywgY29uc2lkZXIgSW1wbGljaXQgcm9sZSBjaGVja2luZy5cbiAgICAgICAgbGV0IGxhbmRtYXJrcyA9IENvbW1vblV0aWwuZ2V0RWxlbWVudHNCeVJvbGVIaWRkZW4oXG4gICAgICAgICAgICBydWxlQ29udGV4dC5vd25lckRvY3VtZW50LFxuICAgICAgICAgICAgXCJiYW5uZXJcIixcbiAgICAgICAgICAgIHRydWUsXG4gICAgICAgICAgICB0cnVlXG4gICAgICAgICk7XG4gICAgICAgIGlmIChsYW5kbWFya3MubGVuZ3RoID09PSAwIHx8IGxhbmRtYXJrcy5sZW5ndGggPT09IDEpIHtcbiAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICB9XG5cbiAgICAgICAgbGV0IGR1cGVzID0gQ2FjaGVVdGlsLmdldENhY2hlKFxuICAgICAgICAgICAgcnVsZUNvbnRleHQub3duZXJEb2N1bWVudCxcbiAgICAgICAgICAgIFwiYXJpYV9iYW5uZXJfbGFiZWxfdW5pcXVlXCIsXG4gICAgICAgICAgICBudWxsXG4gICAgICAgICk7XG4gICAgICAgIGlmICghZHVwZXMpIHtcbiAgICAgICAgICAgIGR1cGVzID0gQXJpYVV0aWwuZmluZEFyaWFMYWJlbER1cGVzKGxhbmRtYXJrcyk7XG4gICAgICAgICAgICBDYWNoZVV0aWwuc2V0Q2FjaGUoXG4gICAgICAgICAgICAgICAgcnVsZUNvbnRleHQub3duZXJEb2N1bWVudCxcbiAgICAgICAgICAgICAgICBcImFyaWFfYmFubmVyX2xhYmVsX3VuaXF1ZVwiLFxuICAgICAgICAgICAgICAgIGR1cGVzXG4gICAgICAgICAgICApO1xuICAgICAgICB9XG4gICAgICAgIGxldCBteUxhYmVsID0gQXJpYVV0aWwuZ2V0QXJpYUxhYmVsKHJ1bGVDb250ZXh0KTtcbiAgICAgICAgbGV0IHBhc3NlZCA9XG4gICAgICAgICAgICBteUxhYmVsICE9PSBcIlwiICYmICghKG15TGFiZWwgaW4gZHVwZXMpIHx8IGR1cGVzW215TGFiZWxdIDw9IDEpO1xuXG4gICAgICAgIC8vcmV0dXJuIG5ldyBWYWxpZGF0aW9uUmVzdWx0KHBhc3NlZCwgcnVsZUNvbnRleHQsICcnLCAnJywgWyBteUxhYmVsIF0pO1xuICAgICAgICBpZiAoIXBhc3NlZCkge1xuICAgICAgICAgICAgcmV0dXJuIFJ1bGVGYWlsKFwiRmFpbF8xXCIsIFtteUxhYmVsXSk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICByZXR1cm4gUnVsZVBhc3MoXCJQYXNzXzBcIik7XG4gICAgICAgIH1cbiAgICB9XG59IiwiLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuICBDb3B5cmlnaHQ6OiAyMDIyLSBJQk0sIEluY1xuICBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICBodHRwOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDR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AgICAgICBcInRvb2xraXRMZXZlbFwiOiBlVG9vbGtpdExldmVsLkxFVkVMX1RIUkVFXG4gICAgfV0sXG4gICAgYWN0OiBbXSxcbiAgICBydW46IChjb250ZXh0OiBSdWxlQ29udGV4dCwgb3B0aW9ucz86IHt9LCBjb250ZXh0SGllcmFyY2hpZXM/OiBSdWxlQ29udGV4dEhpZXJhcmNoeSk6IFJ1bGVSZXN1bHQgfCBSdWxlUmVzdWx0W10gPT4ge1xuICAgICAgICBjb25zdCBydWxlQ29udGV4dCA9IGNvbnRleHRbXCJkb21cIl0ubm9kZSBhcyBFbGVtZW50O1xuICAgICAgICBpZiAoIUFyaWFVdGlsLmhhc1JvbGVJblNlbWFudGljcyhydWxlQ29udGV4dCwgXCJiYW5uZXJcIikpIHtcbiAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICB9XG5cbiAgICAgICAgbGV0IHBhc3NlZCA9XG4gICAgICAgICAgICBBcmlhVXRpbC5nZXRTaWJsaW5nV2l0aFJvbGVIaWRkZW4oXG4gICAgICAgICAgICAgICAgcnVsZUNvbnRleHQsXG4gICAgICAgICAgICAgICAgXCJiYW5uZXJcIixcbiAgICAgICAgICAgICAgICB0cnVlLFxuICAgICAgICAgICAgICAgIHRydWVcbiAgICAgICAgICAgICkgPT09IG51bGw7XG4gICAgICAgIC8vcmV0dXJuIG5ldyBWYWxpZGF0aW9uUmVzdWx0KHBhc3NlZCwgW3J1bGVDb250ZXh0XSwgJ3JvbGUnLCAnJywgW10pO1xuICAgICAgICBpZiAocGFzc2VkKSB7XG4gICAgICAgICAgICByZXR1cm4gUnVsZVBhc3MoXCJQYXNzXzBcIik7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICByZXR1cm4gUnVsZUZhaWwoXCJGYWlsXzFcIik7XG4gICAgICAgIH1cbiAgICB9XG59IiwiLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKio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AgICAgICAgICB9XG4gICAgICAgICAgICAqL1xuICAgICAgICAgICAgY29uc3QgZWxlbSA9IHJ1bGVDb250ZXh0Lm93bmVyRG9jdW1lbnQucXVlcnlTZWxlY3RvcihgKlthcmlhLWNvbnRyb2xzPScke2lkfSddW2FyaWEtaGFzcG9wdXA9J3RydWUnXSwgKlthcmlhLWNvbnRyb2xzPScke2lkfSddW2FyaWEtZXhwYW5kZWQ9J3RydWUnXWApO1xuICAgICAgICAgICAgY29uc3QgY29udGFpbmVycyA9IFsnY29tYm9ib3gnLCAnbGlzdGJveCcsICdtZW51JywgJ21lbnViYXInLCAncmFkaW9ncm91cCcsICd0cmVlJywgJ3RyZWVncmlkJ107XG4gICAgICAgICAgICBpZiAoZWxlbSAmJiBDb21tb25VdGlsLmlzVGFiYmFibGUoZWxlbSkgJiYgcm9sZXMgJiYgcm9sZXMubGVuZ3RoID4wICYmIHJvbGVzLnNvbWUocj0+Y29udGFpbmVycy5pbmNsdWRlcyhyKSkpXG4gICAgICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgIH1cblxuICAgICAgICBsZXQgcGFzc2VkID0gdHJ1ZTtcbiAgICAgICAgbGV0IGRvYyA9IHJ1bGVDb250ZXh0Lm93bmVyRG9jdW1lbnQ7XG4gICAgICAgIGxldCBoYXNBdHRyaWJ1dGUgPSBDb21tb25VdGlsLmhhc0F0dHJpYnV0ZTtcbiAgICAgICAgbGV0IHJvbGVOYW1lQXJyID0gbmV3IEFycmF5KCk7XG4gICAgICAgIGxldCBub2RlTmFtZSA9IFwiXCI7XG4gICAgICAgIGxldCBpblNjb3BlID0gZmFsc2U7XG5cbiAgICAgICAgZm9yIChsZXQgaiA9IDA7IGogPCByb2xlcy5sZW5ndGg7ICsraikge1xuICAgICAgICAgICAgaWYgKEFSSUFEZWZpbml0aW9ucy5jb250YWluZXJzLmluY2x1ZGVzKHJvbGVzW2pdKSkge1xuICAgICAgICAgICAgICAgIGxldCBkaXNhYmxlZCA9IGhhc0F0dHJpYnV0ZShydWxlQ29udGV4dCwgJ2FyaWEtZGlzYWJsZWQnKSA/IHJ1bGVDb250ZXh0LmdldEF0dHJpYnV0ZShcImFyaWEtZGlzYWJsZWRcIikgOiAnJztcbiAgICAgICAgICAgICAgICBpZiAoZGlzYWJsZWQgIT0gJ3RydWUnICYmICFoYXNBdHRyaWJ1dGUocnVsZUNvbnRleHQsICdhcmlhLWFjdGl2ZWRlc2NlbmRhbnQnKSAmJiAhQ29tbW9uVXRpbC5pc1RhYmJhYmxlKHJ1bGVDb250ZXh0KSkge1xuICAgICAgICAgICAgICAgICAgICBsZXQgcmVxQ2hpbGRyZW4gPSBBUklBRGVmaW5pdGlvbnMuZGVzaWduUGF0dGVybnNbcm9sZXNbal1dLnJlcUNoaWxkcmVuO1xuICAgICAgICAgICAgICAgICAgICBpZiAocmVxQ2hpbGRyZW4pIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGluU2NvcGUgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgcGFzc2VkID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgICAgICAgICBsZXQgeHAgPSBcImRlc2NlbmRhbnQ6OipbXCI7XG4gICAgICAgICAgICAgICAgICAgICAgICBmb3IgKGxldCBpID0gMDsgaSA8IHJlcUNoaWxkcmVuLmxlbmd0aDsgaSsrKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgeHAgKz0gXCJAcm9sZT0nXCIgKyByZXFDaGlsZHJlbltpXSArIFwiJyBvciBcIjtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIHhwID0geHAuc3Vic3RyaW5nKDAsIHhwLmxlbmd0aCAtIDQpICsgJ10nO1xuICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHhwYXRoUmVzdWx0ID0gZG9jLmV2YWx1YXRlKHhwLCBydWxlQ29udGV4dCwgQ29tbW9uVXRpbC5kZWZhdWx0TlNSZXNvbHZlciwgMCAvKiBYUGF0aFJlc3VsdC5BTllfVFlQRSAqLywgbnVsbCk7XG4gICAgICAgICAgICAgICAgICAgICAgICBsZXQgcjogRWxlbWVudCA9IHhwYXRoUmVzdWx0Lml0ZXJhdGVOZXh0KCkgYXMgRWxlbWVudDtcbiAgICAgICAgICAgICAgICAgICAgICAgIHdoaWxlIChyICYmICFwYXNzZWQpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBGb2xsb3dpbmcgYXJlIHRoZSBzdGVwcyB0aGF0IGFyZSBleGVjdXRlZCBhdCB0aGlzIHN0YWdlIHRvIGRldGVybWluZSBpZiB0aGUgbm9kZSBzaG91bGQgYmUgY2xhc3NpZmllZCBhcyBoaWRkZW5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBvciBub3QuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gIDEuIE9ubHkgcnVuIGlzTm9kZVZpc2libGUgY2hlY2sgaWYgaGlkZGVuIGNvbnRlbnQgc2hvdWxkIE5PVCBiZSBjaGVja2VkLiBJbiB0aGUgY2FzZSB0aGF0IGhpZGRlbiBjb250ZW50IGlzIHRvLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vICAgICBiZSBzY2FubmVkIHRoZW4gd2UgY2FuIGp1c3Qgc2NhbiBldmVyeXRoaW5nIGFzIG5vcm1hbC4gSW4gdGhlIGNhc2UgdGhhdCB0aGUgY3VycmVudCBub2RlIGlzIGhpZGRlbiB3ZSBkbyBub3RcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyAgICAgYWRkIGl0IHRvIHRoZSByb2xlVG9FbGVtcyBoYXNoIGF0IGFsbCBvciBldmVuIGRvIGFueSBjaGVja2luZyBmb3IgaXQgYXQgYWxsLlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gTm90ZTogVGhlIGlmIGNvbmRpdGlvbnMgdXNlcyBzaG9ydC1jaXJjdWl0aW5nIHNvIGlmIHRoZSBmaXJzdCBjb25kaXRpb24gaXMgbm90IHRydWUgaXQgd2lsbCBub3QgY2hlY2sgdGhlIG5leHQgb25lLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vICAgICAgIHNvIG9uIGFuZCBzbyBmb3J0aC5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoQ29tbW9uVXRpbC5zaG91bGROb2RlQmVTa2lwcGVkSGlkZGVuKHIpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHIgPSB4cGF0aFJlc3VsdC5pdGVyYXRlTmV4dCgpIGFzIEVsZW1lbnQ7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnRpbnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHBhc3NlZCA9IENvbW1vblV0aWwuaXNUYWJiYWJsZShyKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIFJlcXVpcmVkIGNoaWxkIGlzIG5vdCBmb2N1c2FibGUgdmlhIHRhYmluZGV4LiBTZWUgaWYgdGhlcmUgaXMgYSBncmFuZGNoaWxkIHRoYXQgaXMgZm9jdXNhYmxlIGJ5IGRlZmF1bHQgb3IgYnkgdGFiaW5kZXguXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKCFwYXNzZWQpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHhwMiA9IFwiZGVzY2VuZGFudDo6KlwiO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgeHBhdGhSZXN1bHQyID0gZG9jLmV2YWx1YXRlKHhwMiwgciwgQ29tbW9uVXRpbC5kZWZhdWx0TlNSZXNvbHZlciwgMCAvKiBYUGF0aFJlc3VsdC5BTllfVFlQRSAqLywgbnVsbCk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCByMiA9IHhwYXRoUmVzdWx0Mi5pdGVyYXRlTmV4dCgpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB3aGlsZSAocjIgJiYgIXBhc3NlZCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gRm9sbG93aW5nIGFyZSB0aGUgc3RlcHMgdGhhdCBhcmUgZXhlY3V0ZWQgYXQgdGhpcyBzdGFnZSB0byBkZXRlcm1pbmUgaWYgdGhlIG5vZGUgc2hvdWxkIGJlIGNsYXNzaWZpZWQgYXMgaGlkZGVuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBvciBub3QuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyAgMS4gT25seSBydW4gaXNOb2RlVmlzaWJsZSBjaGVjayBpZiBoaWRkZW4gY29udGVudCBzaG91bGQgTk9UIGJlIGNoZWNrZWQuIEluIHRoZSBjYXNlIHRoYXQgaGlkZGVuIGNvbnRlbnQgaXMgdG8sXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyAgICAgYmUgc2Nhbm5lZCB0aGVuIHdlIGNhbiBqdXN0IHNjYW4gZXZlcnl0aGluZyBhcyBub3JtYWwuIEluIHRoZSBjYXNlIHRoYXQgdGhlIGN1cnJlbnQgbm9kZSBpcyBoaWRkZW4gd2UgZG8gbm90XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyAgICAgYWRkIGl0IHRvIHRoZSByb2xlVG9FbGVtcyBoYXNoIGF0IGFsbCBvciBldmVuIGRvIGFueSBjaGVja2luZyBmb3IgaXQgYXQgYWxsLlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy9cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIE5vdGU6IFRoZSBpZiBjb25kaXRpb25zIHVzZXMgc2hvcnQtY2lyY3VpdGluZyBzbyBpZiB0aGUgZmlyc3QgY29uZGl0aW9uIGlzIG5vdCB0cnVlIGl0IHdpbGwgbm90IGNoZWNrIHRoZSBuZXh0IG9uZSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vICAgICAgIHNvIG9uIGFuZCBzbyBmb3J0aC5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChDb21tb25VdGlsLnNob3VsZE5vZGVCZVNraXBwZWRIaWRkZW4ocjIpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcjIgPSB4cGF0aFJlc3VsdDIuaXRlcmF0ZU5leHQoKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb250aW51ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHBhc3NlZCA9IENvbW1vblV0aWwuaXNUYWJiYWJsZShyKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHIyID0geHBhdGhSZXN1bHQyLml0ZXJhdGVOZXh0KCk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoIXBhc3NlZCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByb2xlTmFtZUFyciA9IHIuZ2V0QXR0cmlidXRlKFwicm9sZVwiKS50cmltKCkuc3BsaXQoXCIgXCIpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBub2RlTmFtZSA9IHIubm9kZU5hbWUudG9Mb3dlckNhc2UoKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgciA9IHhwYXRoUmVzdWx0Lml0ZXJhdGVOZXh0KCkgYXMgRW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tpdExldmVsLkxFVkVMX1RIUkVFXG4gICAgfV0sXG4gICAgYWN0OiBbXSxcbiAgICBydW46IChjb250ZXh0OiBSdWxlQ29udGV4dCwgb3B0aW9ucz86IHt9LCBjb250ZXh0SGllcmFyY2hpZXM/OiBSdWxlQ29udGV4dEhpZXJhcmNoeSk6IFJ1bGVSZXN1bHQgfCBSdWxlUmVzdWx0W10gPT4ge1xuICAgICAgICBjb25zdCBydWxlQ29udGV4dCA9IGNvbnRleHRbXCJkb21cIl0ubm9kZSBhcyBFbGVtZW50O1xuICAgICAgICAvLyBDb25zaWRlciB0aGUgQ2hlY2sgSGlkZGVuIENvbnRlbnQgc2V0dGluZyB0aGF0IGlzIHNldCBieSB0aGUgcnVsZXNcbiAgICAgICAgLy8gQWxzbywgY29uc2lkZXIgSW1wbGljaXQgcm9sZSBjaGVja2luZy5cbiAgICAgICAgbGV0IGxhbmRtYXJrcyA9IENvbW1vblV0aWwuZ2V0RWxlbWVudHNCeVJvbGVIaWRkZW4oXG4gICAgICAgICAgICBydWxlQ29udGV4dC5vd25lckRvY3VtZW50LFxuICAgICAgICAgICAgXCJjb21wbGVtZW50YXJ5XCIsXG4gICAgICAgICAgICB0cnVlLFxuICAgICAgICAgICAgdHJ1ZVxuICAgICAgICApO1xuICAgICAgICBpZiAobGFuZG1hcmtzLmxlbmd0aCA9PT0gMCB8fCBsYW5kbWFya3MubGVuZ3RoID09PSAxKSB7XG4gICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgfVxuXG4gICAgICAgIGxldCBkdXBlcyA9IENhY2hlVXRpbC5nZXRDYWNoZShcbiAgICAgICAgICAgIHJ1bGVDb250ZXh0Lm93bmVyRG9jdW1lbnQsXG4gICAgICAgICAgICBcImFyaWFfY29tcGxlbWVudGFyeV9sYWJlbF91bmlxdWVcIixcbiAgICAgICAgICAgIG51bGxcbiAgICAgICAgKTtcbiAgICAgICAgaWYgKCFkdXBlcykge1xuICAgICAgICAgICAgZHVwZXMgPSBBcmlhVXRpbC5maW5kQXJpYUxhYmVsRHVwZXMobGFuZG1hcmtzKTtcbiAgICAgICAgICAgIENhY2hlVXRpbC5zZXRDYWNoZShcbiAgICAgICAgICAgICAgICBydWxlQ29udGV4dC5vd25lckRvY3VtZW50LFxuICAgICAgICAgICAgICAgIFwiYXJpYV9jb21wbGVtZW50YXJ5X2xhYmVsX3VuaXF1ZVwiLFxuICAgICAgICAgICAgICAgIGR1cGVzXG4gICAgICAgICAgICApO1xuICAgICAgICB9XG4gICAgICAgIGxldCBteUxhYmVsID0gQXJpYVV0aWwuZ2V0QXJpYUxhYmVsKHJ1bGVDb250ZXh0KTtcbiAgICAgICAgbGV0IHBhc3NlZCA9XG4gICAgICAgICAgICBteUxhYmVsICE9PSBcIlwiICYmICghKG15TGFiZWwgaW4gZHVwZXMpIHx8IGR1cGVzW215TGFiZWxdIDw9IDEpO1xuXG4gICAgICAgIC8vcmV0dXJuIG5ldyBWYWxpZGF0aW9uUmVzdWx0KHBhc3NlZCwgcnVsZUNvbnRleHQsICcnLCAnJywgWyBteUxhYmVsIF0pO1xuICAgICAgICBpZiAoIXBhc3NlZCkge1xuICAgICAgICAgICAgcmV0dXJuIFJ1bGVGYWlsKFwiRmFpbF8xXCIsIFtteUxhYmVsXSk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICByZXR1cm4gUnVsZVBhc3MoXCJQYXNzXzBcIik7XG4gICAgICAgIH1cbiAgICB9XG59IiwiLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuICBDb3B5cmlnaHQ6OiAyMDIyLSBJQk0sIEluY1xuICBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmN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wic2VhcmNoXCJdLFxuICAgICAgICAgICAgICAgICAgICB0eXBlOiBcImFycmF5XCJcbiAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgIHBvc3NpYmxlT3JwaGFuZWRXaWRnZXRzOiB7XG4gICAgICAgICAgICAgICAgICAgIHZhbHVlOiBbXCJidXR0b25cIiwgXCJjb21ib2JveFwiLCBcImNoZWNrYm94XCIsIFwiZ3JpZFwiLCBcImhlYWRpbmdcIiwgXCJsaW5rXCIsIFwibGlzdFwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgXCJsaXN0Ym94XCIsIFwibWVudVwiLCBcIm1lbnViYXJcIiwgXCJwcm9ncmVzc2JhclwiLCBcInJhZGlvXCIsIFwidGFibGlzdFwiLCBcInRleHRib3hcIiwgXCJ0b29sYmFyXCIsIFwidHJlZVwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgXCJ0cmVlZ3JpZFwiXG4gICAgICAgICAgICAgICAgICAgIF0sXG4gICAgICAgICAgICAgICAgICAgIHR5cGU6IFwiYXJyYXlcIlxuICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgcG9zc2libGVPcnBoYW5lZEVsZW1lbnRzOiB7XG4gICAgICAgICAgICAgICAgICAgIHZhbHVlOiBbXCJwXCIsIFwidGFibGVcIiwgXCJpbnB1dFwiLCBcInRleHRhcmVhXCIsIFwic2VsZWN0XCIsIFwiYnV0dG9uXCIsIFwiYVwiLCBcIm9sXCIsIFwidWxcIiwgXCJkbFwiLCBcImgxXCIsIFwiaDJcIiwgXCJoM1wiLCBcImg0XCIsIFwiaDVcIixcbiAgICAgICAgICAgICAgICAgICAgICAgIFwiaDZcIiwgXCJlbWJlZFwiLCBcIm9iamVjdFwiLCBcImFyZWFcIlxuICAgICAgICAgICAgICAgICAgICBdLFxuICAgICAgICAgICAgICAgICAgICB0eXBlOiBcImFycmF5XCJcbiAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgIG5vTGFuZG1hcm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c2VkID0gcGFyZW50Um9sZXMuZmlsdGVyKHJvbGUgPT4gcm9sZSBpbiBwYXJhbXMubWFwTGFuZG1hcmtzKS5sZW5ndGggPiAwXG4gICAgICAgICAgICBpZiAoIXBhc3NlZCkge1xuICAgICAgICAgICAgICAgIC8vIERvbid0IGZhaWwgZWxlbWVudHMgd2hlbiBhIHBhcmVudCBvciBzaWJsaW5nIGhhcyBmYWlsZWQgLSBjYXVzZXMgdG9vIG1hbnkgbWVzc2FnZXMuXG4gICAgICAgICAgICAgICAgbGV0IHdhbGtFbGVtZW50ID0gRE9NV2Fsa2VyLnBhcmVudEVsZW1lbnQocnVsZUNvbnRleHQpO1xuICAgICAgICAgICAgICAgIHdoaWxlICghcGFzc2VkICYmIHdhbGtFbGVtZW50ICE9IG51bGwpIHtcbiAgICAgICAgICAgICAgICAgICAgcGFzc2VkID0gQ2FjaGVVdGlsLmdldENhY2hlKHdhbGtFbGVtZW50LCBcIlJwdF9BcmlhX09ycGhhbmVkQ29udGVudFwiLCBmYWxzZSk7XG4gICAgICAgICAgICAgICAgICAgIHdhbGtFbGVtZW50ID0gRE9NV2Fsa2VyLnBhcmVudEVsZW1lbnQod2Fsa0VsZW1lbnQpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB3YWxrRWxlbWVudCA9IHJ1bGVDb250ZXh0Lm5leHRFbGVtZW50U2libGluZztcbiAgICAgICAgICAgICAgICB3aGlsZSAoIXBhc3NlZCAmJiB3YWxrRWxlbWVudCAhPSBudWxsKSB7XG4gICAgICAgICAgICAgICAgICAgIHBhc3NlZCA9IENhY2hlVXRpbC5nZXRDYWNoZSh3YWxrRWxlbWVudCwgXCJScHRfQXJpYV9PcnBoYW5lZENvbnRlbnRcIiwgZmFsc2UpO1xuICAgICAgICAgICAgICAgICAgICB3YWxrRWxlbWVudCA9IHdhbGtFbGVtZW50Lm5leHRFbGVtZW50U2libGluZztcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgd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xuICAgICAgICAgICAgICAgICAgICAgICAgQ2FjaGVVdGlsLnNldENhY2hlKHJ1bGVDb250ZXh0LCBcIlJwdF9BcmlhX09ycGhhbmVkQ29udGVudF9Ob1RyaWdnZXJcIiwgdHJ1ZSk7XG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICB9XG5cbiAgICAgICAgLy9yZXR1cm4gbmV3IFZhbGlkYXRpb25SZXN1bHQocGFzc2VkLCBbcnVsZUNvbnRleHRdLCAnJywgJycsIFtdKTtcbiAgICAgICAgaWYgKCFwYXNzZWQpIHtcbiAgICAgICAgICAgIHJldHVybiBSdWxlRmFpbChcIkZhaWxfMVwiKTtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIHJldHVybiBSdWxlUGFzcyhcIlBhc3NfMFwiKTtcbiAgICAgICAgfVxuICAgIH1cbn0iLCIvKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqXG4gIENvcHlyaWdodDo6IDIwMjItIElCTSwgSW5jXG4gIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAgWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gIGh0dHA6Ly93d3cuYXBhY2hlLm9yZy9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bGw7XG4gICAgICAgIH1cblxuICAgICAgICBsZXQgZHVwZXMgPSBDYWNoZVV0aWwuZ2V0Q2FjaGUoXG4gICAgICAgICAgICBydWxlQ29udGV4dC5vd25lckRvY3VtZW50LFxuICAgICAgICAgICAgXCJhcmlhX2NvbnRlbnRpbmZvX2xhYmVsX3VuaXF1ZVwiLFxuICAgICAgICAgICAgbnVsbFxuICAgICAgICApO1xuICAgICAgICBpZiAoIWR1cGVzKSB7XG4gICAgICAgICAgICBkdXBlcyA9IEFyaWFVdGlsLmZpbmRBcmlhTGFiZWxEdXBlcyhsYW5kbWFya3MpO1xuICAgICAgICAgICAgQ2FjaGVVdGlsLnNldENhY2hlKFxuICAgICAgICAgICAgICAgIHJ1bGVDb250ZXh0Lm93bmVyRG9jdW1lbnQsXG4gICAgICAgICAgICAgICAgXCJhcmlhX2NvbnRlbnRpbmZvX2xhYmVsX3VuaXF1ZVwiLFxuICAgICAgICAgICAgICAgIGR1cGVzXG4gICAgICAgICAgICApO1xuICAgICAgICB9XG4gICAgICAgIGxldCBteUxhYmVsID0gQXJpYVV0aWwuZ2V0QXJpYUxhYmVsKHJ1bGVDb250ZXh0KTtcbiAgICAgICAgbGV0IHBhc3NlZCA9XG4gICAgICAgICAgICBteUxhYmVsICE9PSBcIlwiICYmICghKG15TGFiZWwgaW4gZHVwZXMpIHx8IGR1cGVzW215TGFiZWxdIDw9IDEpO1xuXG4gICAgICAgIC8vcmV0dXJuIG5ldyBWYWxpZGF0aW9uUmVzdWx0KHBhc3NlZCwgcnVsZUNvbnRleHQsICcnLCAnJywgWyBteUxhYmVsIF0pO1xuICAgICAgICBpZiAoIXBhc3NlZCkge1xuICAgICAgICAgICAgcmV0dXJuIFJ1bGVGYWlsKFwiRmFpbF8xXCIsIFtteUxhYmVsXSk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICByZXR1cm4gUnVsZVBhc3MoXCJQYXNzXzBcIik7XG4gICAgICAgIH1cbiAgICB9XG59IiwiLyo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cm4gbnVsbDtcbiAgICAgICAgfVxuXG4gICAgICAgIC8vIENvbnNpZGVyIHRoZSBDaGVjayBIaWRkZW4gQ29udGVudCBzZXR0aW5nIHRoYXQgaXMgc2V0IGJ5IHRoZSBydWxlc1xuICAgICAgICBsZXQgcGFzc2VkID1cbiAgICAgICAgICAgIENvbW1vblV0aWwuZ2V0RWxlbWVudHNCeVJvbGVIaWRkZW4oXG4gICAgICAgICAgICAgICAgcnVsZUNvbnRleHQub3duZXJEb2N1bWVudCxcbiAgICAgICAgICAgICAgICBcIm1haW5cIixcbiAgICAgICAgICAgICAgICB0cnVlLFxuICAgICAgICAgICAgICAgIHRydWVcbiAgICAgICAgICAgICkubGVuZ3RoID4gMDtcblxuICAgICAgICAvL3JldHVybiBuZXcgVmFsaWRhdGlvblJlc3VsdChwYXNzZWQsIFtydWxlQ29udGV4dF0sICdyb2xlJywgJycsIFtdKTtcbiAgICAgICAgaWYgKCFwYXNzZWQpIHtcbiAgICAgICAgICAgIHJldHVybiBSdWxlRmFpbChcIkZhaWxfMVwiKTtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIHJldHVybiBSdWxlUGFzcyhcIlBhc3NfMFwiKTtcbiAgICAgICAgfVxuICAgIH1cbn0iLCIvKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqXG4gIENvcHlyaWdodDo6IDIwMjItIElCTSwgSW5jXG4gIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAgWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gIGh0dHA6Ly93d3cuYXBhY2h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zdCB0YWcgPSBkaXJlY3RBVENoaWxkcmVuW2pdLm5vZGVOYW1lLnRvTG93ZXJDYXNlKCk7XG4gICAgICAgICAgICAgICAgaWYgKHRhZyA9PT0gJ2ltZycgfHwgdGFnID09PSAnc3ZnJykgY29udGludWU7XG4gICAgICAgICAgICAgICAgXG4gICAgICAgICAgICAgICAgLy8gZ2V0IGV4cGxpY2l0IHJvbGUgaWYgZXhpc3RzXG4gICAgICAgICAgICAgICAgbGV0IGNoaWxkUm9sZXMgPSBBcmlhVXRpbC5nZXRSb2xlcyhkaXJlY3RBVENoaWxkcmVuW2pdLCBmYWxzZSk7XG4gICAgICAgICAgICAgICAgaWYgKGNoaWxkUm9sZXMgJiYgY2hpbGRSb2xlcy5sZW5ndGggPiAwKSB7XG4gICAgICAgICAgICAgICAgICAgIGV4cGxpY2l0Um9sZXMucHVzaChjaGlsZFJvbGVzLmpvaW4oXCIsIFwiKSk7XG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgLy8gZ2V0IGltcGxpY2l0IHJvbGUgaWYgZXhpc3RzXG4gICAgICAgICAgICAgICAgICAgIGNoaWxkUm9sZXMgPSAgQXJpYVV0aWwuZ2V0SW1wbGljaXRSb2xlKGRpcmVjdEFUQ2hpbGRyZW5bal0pO1xuICAgICAgICAgICAgICAgICAgICBpZiAoY2hpbGRSb2xlcyAmJiBjaGlsZFJvbGVzLmxlbmd0aCA+IDApXG4gICAgICAgICAgICAgICAgICAgICAgICBpbXBsaWNpdFJvbGVzLnB1c2goY2hpbGRSb2xlcy5qb2luKFwiLCBcIikpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0gXG4gICAgICAgICAgICBcbiAgICAgICAgICAgIGlmIChleHBsaWNpdFJvbGVzLmxlbmd0aCA+IDApIHtcbiAgICAgICAgICAgICAgICBsZXQgcmV0VmFsdWVzID0gW107XG4gICAgICAgICAgICAgICAgZm9yIChsZXQgaT0wOyBpIDwgZXhwbGljaXRSb2xlcy5sZW5ndGg7IGkrKykge1xuICAgICAgICAgICAgICAgICAgICBsZXQgcmV0VG9rZW4gPSBuZXcgQXJyYXkoKTtcbiAgICAgICAgICAgICAgICAgICAgcmV0VG9rZW4ucHVzaChyb2xlcy5qb2luKFwiLCBcIikpO1xuICAgICAgICAgICAgICAgICAgICByZXRUb2tlbi5wdXNoKGV4cGxpY2l0Um9sZXNbaV0pO1xuICAgICAgICAgICAgICAgICAgICByZXRWYWx1ZXMucHVzaChSdWxlRmFpbChcImZhaWxfY2hpbGRfZXhwbGljaXRfcm9sZVwiLCByZXRUb2tlbikpO1xuICAgICAgICAgICAgICAgIH0gXG4gICAgICAgICAgICAgICAgcmV0dXJuIHJldFZhbHVlcztcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgaWYgKGltcGxpY2l0Um9sZXMubGVuZ3RoID4gMCkge1xuICAgICAgICAgICAgICAgIGxldCByZXRWYWx1ZXMgPSBbXTtcbiAgICAgICAgICAgICAgICBmb3IgKGxldCBpPTA7IGkgPCBpbXBsaWNpdFJvbGVzLmxlbmd0aDsgaSsrKSB7XG4gICAgICAgICAgICAgICAgICAgIGxldCByZXRUb2tlbiA9IG5ldyBBcnJheSgpO1xuICAgICAgICAgICAgICAgICAgICByZXRUb2tlbi5wdXNoKHJvbGVzLmpvaW4oXCIsIFwiKSk7XG4gICAgICAgICAgICAgICAgICAgIHJldFRva2VuLnB1c2goaW1wbGljaXRSb2xlc1tpXSk7XG4gICAgICAgICAgICAgICAgICAgIHJldFZhbHVlcy5wdXNoKFJ1bGVQb3RlbnRpYWwoXCJwb3RlbnRpYWxfY2hpbGRfaW1wbGljaXRfcm9sZVwiLCByZXRUb2tlbikpO1xuICAgICAgICAgICAgICAgIH0gXG4gICAgICAgICAgICAgICAgcmV0dXJuIHJldFZhbHVlcztcbiAgICAgICAgICAgIH1cblxuICAgICAgICB9IGVsc2VcbiAgICAgICAgICAgIHJldHVybiBSdWxlUGFzcyhcInBhc3NcI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AgICAgLy8gQWxzbywgY29uc2lkZXIgSW1wbGljaXQgcm9sZSBjaGVja2luZy5cbiAgICAgICAgbGV0IGxhbmRtYXJrcyA9IENvbW1vblV0aWwuZ2V0RWxlbWVudHNCeVJvbGVIaWRkZW4oXG4gICAgICAgICAgICBydWxlQ29udGV4dC5vd25lckRvY3VtZW50LFxuICAgICAgICAgICAgXCJkb2N1bWVudFwiLFxuICAgICAgICAgICAgdHJ1ZSxcbiAgICAgICAgICAgIHRydWVcbiAgICAgICAgKTtcbiAgICAgICAgaWYgKGxhbmRtYXJrcy5sZW5ndGggPT09IDAgfHwgbGFuZG1hcmtzLmxlbmd0aCA9PT0gMSkge1xuICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgIH1cblxuICAgICAgICBsZXQgZHVwZXMgPSBDYWNoZVV0aWwuZ2V0Q2FjaGUoXG4gICAgICAgICAgICBydWxlQ29udGV4dC5vd25lckRvY3VtZW50LFxuICAgICAgICAgICAgXCJhcmlhX2RvY3VtZW50X2xhYmVsX3VuaXF1ZVwiLFxuICAgICAgICAgICAgbnVsbFxuICAgICAgICApO1xuICAgICAgICBpZiAoIWR1cGVzKSB7XG4gICAgICAgICAgICBkdXBlcyA9IEFyaWFVdGlsLmZpbmRBcmlhTGFiZWxEdXBlcyhsYW5kbWFya3MpO1xuICAgICAgICAgICAgQ2FjaGVVdGlsLnNldENhY2hlKFxuICAgICAgICAgICAgICAgIHJ1bGVDb250ZXh0Lm93bmVyRG9jdW1lbnQsXG4gICAgICAgICAgICAgICAgXCJhcmlhX2RvY3VtZW50X2xhYmVsX3VuaXF1ZVwiLFxuICAgICAgICAgICAgICAgIGR1cGVzXG4gICAgICAgICAgICApO1xuICAgICAgICB9XG4gICAgICAgIGxldCBteUxhYmVsID0gQXJpYVV0aWwuZ2V0QXJpYUxhYmVsKHJ1bGVDb250ZXh0KTtcbiAgICAgICAgbGV0IHBhc3NlZCA9XG4gICAgICAgICAgICBteUxhYmVsID09PSBcIlwiIH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bFxuICAgICAgICAvLyBmb3JtIGVsZW1lbnQgc2hvdWxkIG9ubHkgYmUgY29uc2lkZXJlZCBpZiBpdCBoYXMgYW4gYXJpYSBsYWJlbCBvciB0aXRsZVxuICAgICAgICBpZiAoXG4gICAgICAgICAgICBydWxlQ29udGV4dC5nZXRBdHRyaWJ1dGUoXCJyb2xlXCIpID09PSBcImZvcm1cIiB8fFxuICAgICAgICAgICAgcnVsZUNvbnRleHQuaGFzQXR0cmlidXRlKFwiYXJpYS1sYWJlbFwiKSB8fFxuICAgICAgICAgICAgcnVsZUNvbnRleHQuaGFzQXR0cmlidXRlKFwiYXJpYS1sYWJlbGxlZGJ5XCIpIHx8XG4gICAgICAgICAgICBydWxlQ29udGV4dC5oYXNBdHRyaWJ1dGUoXCJ0aXRsZVwiKVxuICAgICAgICApIHtcbiAgICAgICAgICAgIC8vIENvbnNpZGVyIHRoZSBDaGVjayBIaWRkZW4gQ29udGVudCBzZXR0aW5nIHRoYXQgaXMgc2V0IGJ5IHRoZSBydWxlc1xuICAgICAgICAgICAgLy8gQWxzbywgY29uc2lkZXIgSW1wbGljaXQgcm9sZSBjaGVja2luZy5cbiAgICAgICAgICAgIGxldCBsYW5kbWFya3MgPSBDb21tb25VdGlsLmdldEVsZW1lbnRzQnlSb2xlSGlkZGVuKFxuICAgICAgICAgICAgICAgIHJ1bGVDb250ZXh0Lm93bmVyRG9jdW1lbnQsXG4gICAgICAgICAgICAgICAgXCJmb3JtXCIsXG4gICAgICAgICAgICAgICAgdHJ1ZSxcbiAgICAgICAgICAgICAgICB0cnVlXG4gICAgICAgICAgICApO1xuICAgICAgICAgICAgaWYgKGxhbmRtYXJrcy5sZW5ndGggPT09IDAgfHwgbGFuZG1hcmtzLmxlbmd0aCA9PT0gMSkge1xuICAgICAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBsZXQgZHVwZXMgPSBDYWNoZVV0aWwuZ2V0Q2FjaGUoXG4gICAgICAgICAgICAgICAgcnVsZUNvbnRleHQub3duZXJEb2N1bWVudCxcbiAgICAgICAgICAgICAgICBcImFyaWFfZm9ybV9sYWJlbF91bmlxdWVcIixcbiAgICAgICAgICAgICAgICBudWxsXG4gICAgICAgICAgICApO1xuICAgICAgICAgICAgaWYgKCFkdXBlcykge1xuICAgICAgICAgICAgICAgIGR1cGVzID0gQXJpYVV0aWwuZmluZEFyaWFMYWJlbER1cGVzKGxhbmRtYXJrcyk7XG4gICAgICAgICAgICAgICAgQ2FjaGVVdGlsLnNldENhY2hlKFxuICAgICAgICAgICAgICAgICAgICBydWxlQ29udGV4dC5vd25lckRvY3VtZW50LFxuICAgICAgICAgICAgICAgICAgICBcImFyaWFfZm9ybV9sYWJlbF91bmlxdWVcIixcbiAgICAgICAgICAgICAgICAgICAgZHVwZXNcbiAgICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgbGV0IG15TGFiZWwgPSBBcmlhVXRpbC5nZXRBcmlhTGFiZWwocnVsZUNvbnRleHQpO1xuICAgICAgICAgICAgbGV0IHBhc3NlZCA9XG4gICAgICAgICAgICAgICAgbXlMYWJlbCAhPT0gXCJcIiAmJlxuICAgICAgICAgICAgICAgICghKG15TGFiZWwgaW4gZHVwZXMpIHx8IGR1cGVzW215TGFiZWxdIDw9IDEpO1xuICAgICAgICAgICAgaWYgKCFwYXNzZWQpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gUnVsZUZhaWwoXCJGYWlsXzFcIiwgW215TGFiZWxdKTtcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIFJ1bGVQYXNzKFwiUGFzc18wXCIpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgIH1cbiAgICB9XG59IiwiLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqK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xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRlc3RlZFJlZmVyZW5jZXMrKztcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgbm9kZVZhbHVlTGVuZ3RoID0gQ29tbW9uVXRpbC5ub3JtYWxpemVTcGFjaW5nKGNvbnRleHRBdHRyaWJ1dGVzW2ldLm5vZGVWYWx1ZSkubGVuZ3RoO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBpZEFycmF5ID0gY29udGV4dEF0dHJpYnV0ZXNbaV0ubm9kZVZhbHVlLnNwbGl0KFwiIFwiKTtcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIENoZWNrIGZvciBhbiBlbXB0eSBJRCBSZWZcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAobm9kZVZhbHVlTGVuZ3RoIDwgMSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwYXNzID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlkVG9rZW5zLnB1c2goXCJcXFwiXCIgKyBjb250ZXh0QXR0cmlidXRlc1tpXS5ub2RlVmFsdWUgKyBcIlxcXCJcIik7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGNoZWNrIHRvIHNlZSBpZiB0b28gbWFueSBJRFJlZnNcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbHNlIGlmIChzdXBwb3J0c09uZUlEUmVmKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vSWYgaGFzIHRvbyBtYW55IElEUmVmcyBpdCBpcyBhbiBlcnJvclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAobm9kZVZhbHVlTGVuZ3RoID49IDEpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChpZEFycmF5Lmxlbmd0aCA+IDEpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwYXNzID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gTmVlZCB0byBjYXB0dXJlIGFsbCB0aGUgSURSZWZzIGZvciBpZFRva2Vuc1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZvciAobGV0IHogPSAwLCBsZW5ndGggPSBpZEFycmF5Lmxlbmd0aDsgeiA8IGxlbmd0aDsgKyt6KSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChpZEFycmF5W3pdICE9IFwiXCIpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlkVG9rZW5zLnB1c2goaWRBcnJheVt6XSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY2hlY2sgdG8gc2VlIGlmIGlkIHJlZnMgYXJlIGludmFsaWRcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAocGFzcyAmJiBub2RlVmFsdWVMZW5ndGggPj0gMSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmb3IgKGxldCBqID0gMCwgbGVuZ3RoID0gaWRBcnJheS5sZW5ndGg7IGogPCBsZW5ndGg7ICsraikge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGlkQXJyYXlbal0ubGVuZ3RoID4gMCkgeyAvLyBpdCBpcyBhbiBlbXB0eSBzdHJpbmcgaWYgc3BhY2VzIGFyZSBvbmUgYWZ0ZXIgdGhlIG90aGVyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gR2V0IHRoZSBlbGVtZW50IGJ5IElkXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGVsZW1lbnRCeUlkID0gb3duZXJEb2N1bWVudC5nZXRFbGVtZW50QnlJZChpZEFycmF5W2pdKTtcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIFBhc3MgaWYgdGhlIGVsZW1lbnQgZXhpc3RzXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcGFzcyA9IGVsZW1lbnRCeUlkICE9IG51bGw7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBJZiB0aGUgZWxlbWVudCBleGlzdHMgYW5kIHRoaXMgaXMgYW4gYXJpYSBhdHRyaWJ1dGUgdGhhdCBkb2Vzbid0IHN1cHBvcnQgaGlkZGVuIElEIHJlZmVyZW5jZVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIHRoZW4gcGVyZm9ybSBhIGlzTm9kZVZpc2libGUgY2hlY2ssIGluIHRoZSBjYXNlIHRoZSBub2RlIGlzIG5vdCB2aXNpYmxlIHRoZW4gd2UgcmV0dXJuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gZmFsc2UgYW5kIHRydWUgb3RoZXJ3aXNlLlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChwYXNzICYmICFkYXRhVHlwZXMuaGlkZGVuSURSZWZTdXBwb3J0ZWQpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcGFzcyA9IFZpc1V0aWwuaXNOb2RlVmlzaWJsZShlbGVtZW50QnlJZCk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKCFwYXNzKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChpZEFycmF5W2pdICE9IFwiXCIpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlkVG9rZW5zLnB1c2goaWRBcnJheVtqXSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gT25seSBvbmUgb2YgdGhlIGlkIHJlZmVyZW5jZXMgbmVlZCB0byBiZSB2YWxpZCB0byBtYXJrIHRoZSBydWxlIGFzIHBhc3NlZC5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBUaGVyZWZvcmUgaWYgd2UgZmluZCBhIHNpbmdsZSB2aXNpYmxlIGVsZW1lbnQgdGhlbiBzdG9wIGNoZWNraW5nIGFuZCBtYXJrIGFzXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gcGFzc2VkLlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgaWYgKCFwYXNzKSBhdHRyTmFtZUFyci5wdXNoKGF0dHJOYW1lKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgbGV0IHBhc3NlZCA9IGF0dHJOYW1lQXJyLmxlbmd0aCA9PSAwO1xuICAgICAgICBsZXQgcmV0VG9rZW4xID0gbmV3IEFycmF5KCk7XG4gICAgICAgIGxldCByZXRUb2tlbjIgPSBuZXcgQXJyYXkoKTtcbiAgICAgICAgbGV0IHJldFRva2VuMyA9IG5ldyBBcnJheSgpO1xuICAgICAgICBpZiAoIXBhc3NlZCkge1xuXG4gICAgICAgICAgICByZXRUb2tlbjIucHVzaChhdHRyTmFtZUFyci5qb2luKFwiLCBcIikpO1xuICAgICAgICAgICAgcmV0VG9rZW4zLnB1c2gocnVsZUNvbnRleHQubm9kZU5hbWUudG9Mb3dlckNhc2UoKSk7XG4gICAgICAgICAgICBpZiAoaWRUb2tlbnMubGVuZ3RoID4gMCkge1xuICAgICAgICAgICAgICAgIHJldFRva2VuMS5wdXNoKGlkVG9rZW5zLmpvaW4oXCIsIFwiKSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICAvL3JldHVybiBuZXcgVmFsaWRhdGlvblJlc3VsdChwYXNzZWQsIFtydWxlQ29udGV4dF0sIGF0dHJOYW1lQXJyLCAnJywgcGFzc2VkID09IHRydWUgPyBbXSA6IFtyZXRUb2tlbjEsIHJldFRva2VuMiwgcmV0VG9rZW4zXSk7XG4gICAgICAgIGlmICh0ZXN0ZWRSZWZlcmVuY2VzID09IDApIHtcbiAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICB9IGVsc2UgaWYgKCFwYXNzZWQpIHtcbiAgICAgICAgICAgIHJldHVybiBSdWxlRmFpbChcIkZhaWxfMVwiLCBbcmV0VG9rZW4xLnRvU3RyaW5nKCksIHJldFRva2VuMi50b1N0cmluZygpLCByZXRUb2tlbjMudG9TdHJpbmcoKV0pO1xuICAgICAgICB9IGVsc2Uge1xu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IG90aGVyLCBjb250YWluZWQgd2lkZ2V0cy5cbiAgICAgICAgbGV0IHJvbGVDb250YWluZXJzID0gW1wiY29tYm9ib3hcIiwgXCJncmlkXCIsIFwibGlzdGJveFwiLCBcIm1lbnVcIiwgXCJtZW51YmFyXCIsIFwicmFkaW9ncm91cFwiLCBcInRhYmxpc3RcIiwgXCJ0cmVlXCIsIFwidHJlZWdyaWRcIl07XG4gICAgICAgIGZvciAoY29uc3Qgcm9sZSBvZiByb2xlQ29udGFpbmVycykge1xuICAgICAgICAgICAgaWYgKEFyaWFVdGlsLmdldEFuY2VzdG9yV2l0aFJvbGUocnVsZUNvbnRleHQsIHJvbGUsIHRydWUpICE9IG51bGwpIFxuICAgICAgICAgICAgICAgIC8vIGl0J3MgYSBkZXNjZW5kYW50IG9mIGEgY29tcG9zaXRlIHdpZGdldCBhbHJlYWR5IGV4YW1pbmVkXG4gICAgICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgIH1cbiAgICAgICAgXG4gICAgICAgIGxldCBoYXNBdHRyaWJ1dGUgPSBDb21tb25VdGlsLmhhc0F0dHJpYnV0ZTtcbiAgICAgICAgXG4gICAgICAgIGxldCByb2xlTmFtZUFyciA9IG5ldyBBcnJheSgpO1xuXG4gICAgICAgIGZvciAobGV0IGogPSAwOyBqIDwgcm9sZXMubGVuZ3RoOyArK2opIHtcbiAgICAgICAgICAgIGxldCBwYXR0ZXJuID0gZGVzaWduUGF0dGVybnNbcm9sZXNbal1dO1xuICAgICAgICAgICAgaWYgKHJvbGVDb250YWluZXJzLmluZGV4T2Yocm9sZXNbal0pID49IDApIHtcbiAgICAgICAgICAgICAgICBsZXQgZGlzYWJsZWQgPSBoYXNBdHRyaWJ1dGUocnVsZUNvbnRleHQsICdhcmlhLWRpc2FibGVkJykgPyBydWxlQ29udGV4dC5nZXRBdHRyaWJ1dGUoXCJhcmlhLWRpc2FibGVkXCIpIDogJyc7XG4gICAgICAgICAgICAgICAgaWYgKCFkaXNhYmxlZCkge1xuXG4gICAgICAgICAgICAgICAgICAgIC8vIFNlZSBpZiB0aGVyZSBpcyBhIGtleWJvYXJkIGV2ZW50IGhhbmRsZXIgb24gdGhlIHBhcmVudCBlbGVtZW50LlxuICAgICAgICAgICAgICAgICAgICBwYXNzZWQgPSAocnVsZUNvbnRleHQuaGFzQXR0cmlidXRlKFwib25rZXlkb3duXCIpIHx8IHJ1bGVDb250ZXh0Lmhhc0F0dHJpYnV0ZShcIm9ua2V5cHJlc3NcIikgfHwgcnVsZUNvbnRleHQuaGFzQXR0cmlidXRlKFwib25rZXl1cFwiKSk7XG5cbiAgICAgICAgICAgICAgICAgICAgLy8gTm8ga2V5Ym9hcmQgZXZlbnQgaGFuZGxlciBmb3VuZCBvbiBwYXJlbnQuIFNlZSBpZiBrZXlib2FyZCBldmVudCBoYW5kbGVycyBhcmUgb24gcmVxdWlyZWQgY2hpbGQgZWxlbWVudHMuXG4gICAgICAgICAgICAgICAgICAgIGlmICghcGFzc2VkKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoIWhhc0F0dHJpYnV0ZShydWxlQ29udGV4dCwgJ2FyaWEtYWN0aXZlZGVzY2VuZGFudCcpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHJlcUNoaWxkcmVuID0gQVJJQURlZmluaXRpb25zLmRlc2lnblBhdHRlcm5zW3JvbGVzW2pdXS5yZXFDaGlsZHJlbjtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAocmVxQ2hpbGRyZW4pIHsgLyogU01GIFRPRE8gbWVudWJhciBkb2VzIG5vdCBoYXZlIGFueSByZXFDaGlsZHJlbiAqL1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmb3IgKGxldCBpID0gMCwgcmVxdWlyZWRDaGlsZHJlbkxlbmd0aCA9IHJlcUNoaWxkcmVuLmxlbmd0aDsgaSA8IHJlcXVpcmVkQ2hpbGRyZW5MZW5ndGg7IGkrKykge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHhwID0gXCIqW2NvbnRhaW5zKEByb2xlLCdcIiArIHJlcUNoaWxkcmVuW2ldICsgXCInKV1cIjtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCB4cGF0aFJlc3VsdCA9IGRvYy5ldmFsdWF0ZSh4cCwgcnVsZUNvbnRleHQsIENvbW1vblV0aWwuZGVmYXVsdE5TUmVzb2x2ZXIsIDAgLyogWFBhdGhSZXN1bHQuQU5ZX1RZUEUgKi8sIG51bGwpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHIgPSB4cGF0aFJlc3VsdC5pdGVyYXRlTmV4dCgpIGFzIEVsZW1lbnQ7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB3aGlsZSAocikge1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcGFzc2VkID0gKHIuaGFzQXR0cmlidXRlKFwib25rZXlkb3duXCIpIHx8IHIuaGFzQXR0cmlidXRlKFwib25rZXlwcmVzc1wiKSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKCFwYXNzZWQpIHtcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBDaGlsZCBkaWQgbm90IGhhdmUgYSBrZXkgaGFuZGxlci4gU2VlIGlmIGFueSBvZiB0aGUgZ3JhbmRjaGlsZHJlbiBkby5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHhwMiA9IFwiZGVzY2VuZGFudDo6KlwiO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgeHBhdGhSZXN1bHQyID0gZG9jLmV2YWx1YXRlKHhwMiwgciwgQ29tbW9uVXRpbC5kZWZhdWx0TlNSZXNvbHZlciwgMCAvKiBYUGF0aFJlc3VsdC5BTllfVFlQRSAqLywgbnVsbCk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCByMjogRWxlbWVudCA9IHhwYXRoUmVzdWx0Mi5pdGVyYXRlTmV4dCgpIGFzIEVsZW1lbnQ7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHdoaWxlIChyMiAmJiAhcGFzc2VkKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBGb2xsb3dpbmcgYXJlIHRoZSBzdGVwcyB0aGF0IGFyZSBleGVjdXRlZCBhdCB0aGlzIHN0YWdlIHRvIGRldGVybWluZSBpZiB0aGUgbm9kZSBzaG91bGQgYmUgY2xhc3NpZmllZCBhcyBoaWRkZW5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIG9yIG5vdC5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vICAxLiBPbmx5IHJ1biBpc05vZGVWaXNpYmxlIGNoZWNrIGlmIGhpZGRlbiBjb250ZW50IHNob3VsZCBOT1QgYmUgY2hlY2tlZC4gSW4gdGhlIGNhc2UgdGhhdCBoaWRkZW4gY29udGVudCBpcyB0byxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vICAgICBiZSBzY2FubmVkIHRoZW4gd2UgY2FuIGp1c3Qgc2NhbiBldmVyeXRoaW5nIGFzIG5vcm1hbC4gSW4gdGhlIGNhc2UgdGhhdCB0aGUgY3VycmVudCBub2RlIGlzIGhpZGRlbiB3ZSBkbyBub3RcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vICAgICBhZGQgaXQgdG8gdGhlIHJvbGVUb0VsZW1zIGhhc2ggYXQgYWxsIG9yIGV2ZW4gZG8gYW55IGNoZWNraW5nIGZvciBpdCBhdCBhbGwuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvL1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gTm90ZTogVGhlIGlmIGNvbmRpdGlvbnMgdXNlcyBzaG9ydC1jaXJjdWl0aW5nIHNvIGlmIHRoZSBmaXJzdCBjb25kaXRpb24gaXMgbm90IHRydWUgaXQgd2lsbCBub3QgY2hlY2sgdGhlIG5leHQgb25lLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gICAgICAgc28gb24gYW5kIHNvIGZvcnRoLlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKENvbW1vblV0aWwuc2hvdWxkTm9kZUJlU2tpcHBlZEhpZGRlbihyMikpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByMiA9IHhwYXRoUmVzdWx0Mi5pdGVyYXRlTmV4dCgpIGFzIEVsZW1lbnQ7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29udGludWU7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHBhc3NlZCA9IENvbW1vblV0aWwuaXNUYWJiYWJsZShyMikgJiZcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAocjIuaGFzQXR0cmlidXRlKFwib25rZXlkb3duXCIpIHx8IHIyLmhhc0F0dHJpYnV0ZShcIm9ua2V5cHJlc3NcIikpO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoIXBhc3NlZCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBJcyB0aGlzIGFuIGFjdGlvbiBsaW5rP1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAocjIubm9kZU5hbWUudG9Mb3dlckNhc2UoKSA9PSBcImFcIiAmJiByMi5oYXNBdHRyaWJ1dGUoXCJocmVmXCIpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgaHJlZiA9IHIyLmdldEF0dHJpYnV0ZShcImhyZWZcIik7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBBY3Rpb24gbGluayBtdXN0IHN0YXJ0IHdpdGggXCJqYXZhc2NyaXB0OlwiLCBtdXN0IG5vdCBjb250YWluIGEgXCJ2b2lkXCIgYW5kXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBtdXN0IGhhdmUgYSBmdW5jdGlvbiBuYW1lIGZvbGxvd2luZyBcImphdmFzY3JpcHQ6XCIgKGkuZS4sIGhyZWYubGVuZ3RoID4gMTEpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwYXNzZWQgPSAoaHJlZi5zdGFydHNXaXRoKFwiamF2YXNjcmlwdDpcIikgJiYgaHJlZi5pbmRleE9mKFwidm9pZFwiKSA9PSAtMSAmJiBocmVmLmxlbmd0aCA+IDExKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcjIgPSB4cGF0aFJlc3VsdDIuaXRlcmF0ZU5leHQoKSBhcyBFbGVtZW50O1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmICghcGFzc2VkKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIEFsbCB0aGUgcmVxdWlyZWQgY2hpbGRyZW4gKG9yIGFueSBkZXNjZW5kYW50cyBvZiB0aGUgcmVxdWlyZWQgY2hpbGRyZW4pIG11c3QgaGF2ZSBrZXlwcmVzcy9rZXlkb3duXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIElmIG5vdCwgaXQgaXMgYSBmYWlsdXJlLCBubyBuZWVkIHRvIGtlZXAgY2hlY2tpbmcgYW55IG1vcmUuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByID0geHBhdGhSZXN1bHQuaXRlcmF0ZU5leHQoKSBhcyBFbGVtZW50O1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gVGhlIGN1cnJlbnQgZWxlbWVudCBmYWlsZWQgdGhlIGtleWRvd24va2V5cHJlc3MsIGFuZCBpdCBkb2VzIG5vdCBoYXZlIHJlcXVpcmVkIGNoaWxkcmVuLCBzdWNoIGFzIG1lbnViYXIuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIExldCdzIGNoZWNrIGl0cyBkZXNjZW5kYW50cy5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHhwMiA9IFwiZGVzY2VuZGFudDo6KlwiO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgeHBhdGhSZXN1bHQyID0gZG9jLmV2YWx1YXRlKHhwMiwgcnVsZUNvbnRleHQsIENvbW1vblV0aWwuZGVmYXVsdE5TUmVzb2x2ZXIsIDAgLyogWFBhdGhSZXN1bHQuQU5ZX1RZUEUgKi8sIG51bGwpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgcjIgPSB4cGF0aFJlc3VsdDIuaXRlcmF0ZU5leHQoKSBhcyBFbGVtZW50O1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB3aGlsZSAocjIgJiYgIXBhc3NlZCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gRm9sbG93aW5nIGFyZSB0aGUgc3RlcHMgdGhhdCBhcmUgZXhlY3V0ZWQgYXQgdGhpcyBzdGFnZSB0byBkZXRlcm1pbmUgaWYgdGhlIG5vZGUgc2hvdWxkIGJlIGNsYXNzaWZpZWQgYXMgaGlkZGVuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBvciBub3QuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyAgMS4gT25seSBydW4gaXNOb2RlVmlzaWJsZSBjaGVjayBpZiBoaWRkZW4gY29udGVudCBzaG91bGQgTk9UIGJlIGNoZWNrZWQuIEluIHRoZSBjYXNlIHRoYXQgaGlkZGVuIGNvbnRlbnQgaXMgdG8sXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyAgICAgYmUgc2Nhbm5lZCB0aGVuIHdlIGNhbiBqdXN0IHNjYW4gZXZlcnl0aGluZyBhcyBub3JtYWwuIEluIHRoZSBjYXNlIHRoYXQgdGhlIGN1cnJlbnQgbm9kZSBpcyBoaWRkZW4gd2UgZG8gbm90XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyAgICAgYWRkIGl0IHRvIHRoZSByb2xlVG9FbGVtcyBoYXNoIGF0IGFsbCBvciBldmVuIGRvIGFueSBjaGVja2luZyBmb3IgaXQgYXQgYWxsLlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy9cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIE5vdGU6IFRoZSBpZiBjb25kaXRpb25zIHVzZXMgc2hvcnQtY2lyY3VpdGluZyBzbyBpZiB0aGUgZmlyc3QgY29uZGl0aW9uIGlzIG5vdCB0cnVlIGl0IHdpbGwgbm90IGNoZWNrIHRoZSBuZXh0IG9uZSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vICAgICAgIHNvIG9uIGFuZCBzbyBmb3J0aC5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChDb21tb25VdGlsLnNob3VsZE5vZGVCZVNraXBwZWRIaWRkZW4ocjIpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcjIgPSB4cGF0aFJlc3VsdDIuaXRlcmF0ZU5leHQoKSBhcyBFbGVtZW50O1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnRpbnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwYXNzZWQgPSBDb21tb25VdGlsLmlzVGFiYmFibGUocjIpICYmXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKHIyLmhhc0F0dHJpYnV0ZShcIm9ua2V5ZG93blwiKSB8fCByMi5oYXNBdHRyaWJ1dGUoXCJvbmtleXByZXNzXCIpKTtcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKCFwYXNzZWQpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBJcyB0aGlzIGFuIGFjdGlvbiBsaW5rP1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChyMi5ub2RlTmFtZS50b0xvd2VyQ2FzZSgpID09IFwiYVwiICYmIHIyLmhhc0F0dHJpYnV0ZShcImhyZWZcIikpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGhyZWYgPSByMi5nZXRBdHRyaWJ1dGUoXCJocmVmXCIpO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIEFjdGlvbiBsaW5rIG11c3Qgc3RhcnQgd2l0aCBcImphdmFzY3JpcHQ6XCIsIG11c3Qgbm90IGNvbnRhaW4gYSBcInZvaWRcIiBhbmRcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gbXVzdCBoYXZlIGEgZnVuY3Rpb24gbmFtZSBmb2xsb3dpbmcgXCJqYXZhc2NyaXB0OlwiIChpLmUuLCBocmVmLmxlbmd0aCA+IDExKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwYXNzZWQgPSAoaHJlZi5zdGFydHNXaXRoKFwiamF2YXNjcmlwdDpcIikgJiYgaHJlZi5pbmRleE9mKFwidm9pZFwiKSA9PSAtMSAmJiBocmVmLmxlbmd0aCA+IDExKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByMiA9IHhwYXRoUmVzdWx0Mi5pdGVyYXRlTmV4dCgpIGFzIEVsZW1lbnQ7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIEF0dHJpYnV0ZSAnYXJpYS1hY3RpdmVkZXNjZW5kYW50JyBpcyBzcGVjaWZpZWQuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcGFzc2VkID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGlmICghcGFzc2VkKSB7XG4gICAgICAgICAgICAgICAgcm9sZU5hbWVBcnIucHVzaChyb2xlc1tqXSk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBpZiAoIXBhc3NlZCAmJiBzYXZlZFBhc3NlZCkge1xuICAgICAgICAgICAgICAgIHNhdmVkUGFzc2VkID0gcGFzc2VkO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgbGV0IHJldFRva2VuMSA9IG5ldyBBcnJheSgpO1xuICAgICAgICByZXRUb2tlbjEucHVzaChydWxlQ29udGV4dC5ub2RlTmFtZS50b0xvd2VyQ2FzZSgpKTtcbiAgICAgICAgbGV0IHJldFRva2VuMiA9IG5ldyBBcnJheSgpO1xuICAgICAgICByZXRUb2tlbjIucHVzaChyb2xlTmFtZUFyci5qb2luKFwiLCBcIikpO1xuXG4gICAgICAgIC8vIERldGVybWluZSBpZiB0aGlzIGlzIHJlZmVyZW5jZWQgYnkgYSBjb21ib2JveC4gSWYgc28sIGxlYXZlIGl0IHRvIHRoZSBjb21ib2JveCBydWxlcyB0byBjaGVja1xuICAgICAgICBsZXQgaWQgPSBydWxlQ29udGV4dC5nZXRBdHRyaWJ1dGUoXCJpZFwiKTtcbiAgICAgICAgaWYgKGlkICYmIGlkL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biAgICAgICAgICAgIGlmIChlbGVtICE9PSBudWxsKSB7XG4gICAgICAgICAgICAgICAgaWYgKGVsZW0udGFnTmFtZSA9PSBcIkRJQUxPR1wiIHx8IGVsZW0uZ2V0QXR0cmlidXRlKCdyb2xlJykgPT0gXCJkaWFsb2dcIikge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gbnVsbCAvLyBTa2lwcGluZyBjaGVja2luZyBsYW5kbWFya3MgdGhhdCBoYXBwZW4gdG8gYmUgaW5zaWRlIGRpYWxvZyBlbGVtZW50c1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfSlcblxuICAgICAgICAvLyBCZWdpbmluZyBmb3JtQ2FjaGUgd29ya1xuICAgICAgICBsZXQgb3duZXJEb2N1bWVudCA9IEZyYWdtZW50VXRpbC5nZXRPd25lckZyYWdtZW50KHJ1bGVDb250ZXh0KTtcbiAgICAgICAgbGV0IGZvcm1DYWNoZSA6IHtcbiAgICAgICAgICAgIG5hdmlnYXRpb25Ob2RlczogYW55W10sXG4gICAgICAgICAgICBuYXZpZ2F0aW9uTm9kZXNDb21wdXRlZExhYmVsczogc3RyaW5nW10sXG4gICAgICAgICAgICBuYXZpZ2F0aW9uTm9kZXNQYXJlbnRzOiBhbnlbXSxcbiAgICAgICAgICAgIG5hdmlnYXRpb25Ob2Rlc01hdGNoRm91bmQ6IHN0cmluZ1tdXG4gICAgICAgIH0gPSBDYWNoZVV0aWwuZ2V0Q2FjaGUoXG4gICAgICAgICAgICBydWxlQ29udGV4dC5vd25lckRvY3VtZW50LFxuICAgICAgICAgICAgXCJhcmlhX2xhbmRtYXJrX25hbWVfdW5pcXVlXCIsXG4gICAgICAgICAgICBudWxsXG4gICAgICAgICk7XG4gICAgICAgIGlmICghZm9ybUNhY2hlKSB7XG4gICAgICAgICAgICAvLyBjb25zb2xlLmxvZyhcIi0tLS0tLS0tLUVOVEVSSU5HIEZPUk0gQ0FDSEVcIilcbiAgICAgICAgICAgI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CB0byB0ZXN0IGFnYWluc3QgYXMgd2UgY29uc2lkZXIgZGlhbG9ncyBhcmUgc2VwYXJhdGUgbG9jYXRpb25zIGZyb20gdGhlIHJlc3Qgb2YgdGhlIG1haW4gcGFnZS5cbiAgICAgICAgICAgIGxldCBuYXZpZ2F0aW9uTm9kZXNXaXRob3V0RGlhbG9ncyA9IFtdO1xuICAgICAgICAgICAgZm9yIChsZXQgaSA9IDA7IGkgPCBuYXZpZ2F0aW9uTm9kZXMubGVuZ3RoOyBpKyspIHtcbiAgICAgICAgICAgICAgICBsZXQgYSA9IG5hdmlnYXRpb25Ob2Rlc1tpXTtcbiAgICAgICAgICAgICAgICBsZXQgZGlhbG9nTm9kZUZvdW5kRmxhZyA9IGZhbHNlO1xuICAgICAgICAgICAgICAgIHdoaWxlIChhKSB7XG4gICAgICAgICAgICAgICAgICAgIGEgPSBhLnBhcmVudEVsZW1lbnQ7XG4gICAgICAgICAgICAgICAgICAgIGlmIChhICE9PSBudWxsKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoYS50YWdOYW1lID09IFwiRElBTE9HXCIgfHwgYS5nZXRBdHRyaWJ1dGUoJ3JvbGUnKSA9PSBcImRpYWxvZ1wiKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZGlhbG9nTm9kZUZvdW5kRmxhZyA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgaWYgKCFkaWFsb2dOb2RlRm91bmRGbGFnKSB7XG4gICAgICAgICAgICAgICAgICAgIG5hdmlnYXRpb25Ob2Rlc1dpdGhvdXREaWFsb2dzLnB1c2gobmF2aWdhdGlvbk5vZGVzW2ldKVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIG5hdmlnYXRpb25Ob2RlcyA9IG5hdmlnYXRpb25Ob2Rlc1dpdGhvdXREaWFsb2dzO1xuXG5cbiAgICAgICAgICAgIGZvciAobGV0IGkgPSAwOyBpIDwgbmF2aWdhdGlvbk5vZGVzLmxlbmd0aDsgaSsrKSB7XG4gICAgICAgICAgICAgICAgLy8gTG9vcCBvdmVyIGFsbCB0aGUgbGFuZG1hcmsgbm9kZXNcbiAgICAgICAgICAgICAgICBsZXQgZWxzID0gW107XG4gICAgICAgICAgICAgICAgbGV0IGEgPSBuYXZpZ2F0aW9uTm9kZXNbaV0ucGFyZW50RWxlbWVudDtcbiAgICAgICAgICAgICAgICB3aGlsZSAoYSkge1xuICAgICAgICAgICAgICAgICAgICBlbHMucHVzaChhKTtcbiAgICAgICAgICAgICAgICAgICAgYSA9IGEucGFyZW50RWxlbWVudDtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICBmb3IgKGxldCBqID0gMDsgaiA8IGVscy5sZW5ndGg7IGorKykge1xuICAgICAgICAgICAgICAgICAgICAvLyBMb29wIG92ZXIgYWxsIHRoZSBwYXJlbnRzIG9mIHRoZSBsYW5kbWFyayBub2Rlc1xuICAgICAgICAgICAgICAgICAgICAvLyBGaW5kIG5lYXJlc3QgbGFuZG1hcmsgcGFyZW50IGJhc2VkIG9uIHRoZSB0YWdOYW1lIG9yIHRoZSByb2xlIGF0dHJpYnV0ZVxuICAgICAgICAgICAgICAgICAgICBsZXQgdGFnTmFtZVRyaWdnZXIgPSBbXG4gICAgICAgICAgICAgICAgICAgICAgICBcIkFTSURFXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICBcIkZPT1RFUlwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgXCJGT1JNXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICBcIkhFQURFUlwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgXCJNQUlOXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICBcIk5BVlwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgXCJTRUNUSU9OXCIsXG4gICAgICAgICAgICAgICAgICAgIF0uaW5jbHVkZXMoZWxzW2pdLnRhZ05hbWUpO1xuICAgICAgICAgICAgICAgICAgICBsZXQgcm9sZU5hbWVUcmlnZ2VyID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgICAgIGlmIChlbHNbal0uaGFzQXR0cmlidXRlKFwicm9sZVwiKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgcm9sZU5hbWVUcmlnZ2VyID0gW1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFwiY29tcGxlbWVudGFyeVwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFwiY29udGVudGluZm9cIixcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBcImZvcm1cIixcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBcImJhbm5lclwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFwibWFpblwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFwibmF2aWdhdGlvblwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFwicmVnaW9uXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgXCJzZWFyY2hcIixcbiAgICAgICAgICAgICAgICAgICAgICAgIF0uaW5jbHVkZXMoZWxzW2pdLmdldEF0dHJpYnV0ZShcInJvbGVcIikpOyAvLyBUT0RPIHdlIGFyZSBub3QgY292ZXJpbmcgdGhlIGNhc2Ugd2hlcmUgYSBlbGVtZW5lbnQgd2l0aCBtdWx0aXBsZSByb2xlcy4gZS5nLiwgcm9sZSA9IFwiZm9ybSBiYW5uZXJcIi4gVGhpcyBpcyBhIGltcHJvdm1lbnQgd2UgbWlnaHQgd2FudCB0byBhZGQgaW4gdGhlIGZ1dHVyZS5cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICBpZiAodGFnTmFtZVRyaWdnZXIgfHwgcm9sZU5hbWVUcmlnZ2VyKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAvLyBOZWFyZXN0IHBhcmVudC1sYW5kbWFyayBmb3VuZFxuICAgICAgICAgICAgICAgICAgICAgICAgbmF2aWdhdGlvbk5vZGVzUGFyZW50cy5wdXNoKGVsc1tqXSk7XG4gICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICBpZiAoaiA9PT0gZWxzLmxlbmd0aCAtIDEpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vIFRoaXMgbm9kZSBpcyBhdCB0aGUgaGVhZCBvZiB0aGUgZmlsZSBzbyBpdCBkb2VzIG5vdCBoYXZlIGEgcGFyZW50XG4gICAgICAgICAgICAgICAgICAgICAgICBuYXZpZ2F0aW9uTm9kZXNQYXJlbnRzLnB1c2gobnVsbCk7XG4gICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgbGV0IG5hdmlnYXRpb25Ob2Rlc0NvbXB1dGVkTGFiZWxzID0gW107XG4gICAgICAgICAgICBmb3IgKGxldCBpID0gMDsgaSA8IG5hdmlnYXRpb25Ob2Rlcy5sZW5ndGg7IGkrKykge1xuICAgICAgICAgICAgICAgIGNvbnN0IHBhaXIgPSBBY2NOYW1lVXRpbC5jb21wdXRlQWNjZXNzaWJsZU5hbWUobmF2aWdhdGlvbk5vZGVzW2ldKTtcbiAgICAgICAgICAgICAgICAvLyBMb29wIG92ZXIgYWxsIHRoZSBsYW5kbWFyayBub2Rlc1xuICAgICAgICAgICAgICAgIG5hdmlnYXRpb25Ob2Rlc0NvbXB1dGVkTGFiZWxzLnB1c2goXG4gICAgICAgICAgICAgICAgICAgIC8qKkFSSUFNYXBwZXIuY29tcHV0ZU5hbWUobmF2aWdhdGlvbk5vZGVzW2ldKSovXG4gICAgICAgICAgICAgICAgICAgIHBhaXIgJiYgcGFpci5uYW1lICYmIHBhaXIubmFtZS50cmltKCkubGVuZ3RoID4gMCA/IHBhaXIubmFtZS50cmltKCkgOiBcIlwiXG4gICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGZvciAobGV0IGkgPSAwOyBpIDwgbmF2aWdhdGlvbk5vZGVzUGFyZW50cy5sZW5ndGg7IGkrKykge1xuICAgICAgICAgICAgICAgIC8vIExvb3Agb3ZlciBhbGwgdGhlIHBhcmVudHMgb2YgdGhlIGxhbmRtYXJrIG5vZGVzIHRvIGZpbmQgZHVwbGljYXRlc1xuICAgICAgICAgICAgICAgIGxldCBtYXRjaEZvdW5kID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgbGV0IHBhc3NfMF9mbGFnID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgZm9yIChsZXQgaiA9IDA7IGogPCBuYXZpZ2F0aW9uTm9kZXNQYXJlbnRzLmxlbmd0aDsgaisrKSB7XG4gICAgICAgICAgICAgICAgICAgIGlmIChqID09PSBpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAvLyBXZSBkbyBub3Qgd2FudCB0byBjb21wYXJlIGFnYWluc3Qgb3Vyc2VsZnNcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbnRpbnVlO1xuICAgICAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAgICAgLy8gVGhpcyBpZiBzdGF0ZW1lbnQgZm9jdXMgb24gdGhlIGNhc2Ugd2hlcmUgdGhlIHBhcmVudCBsYW5kbWFyayBpcyBudWxsXG4gICAgICAgICAgICAgICAgICAgIGlmIChcbiAgICAgICAgICAgICAgICAgICAgICAgIG5hdmlnYXRpb25Ob2Rlc1BhcmVudHNbaV0gPT09IG51bGwgJiZcbiAgICAgICAgICAgICAgICAgICAgICAgIG5hdmlnYXRpb25Ob2Rlc1BhcmVudHNbal0gPT09IG51bGxcbiAgICAgICAgICAgICAgICAgICAgKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAvLyBXZSBhcmUgbG9va2luZyBhdCB0d28gcm9vdCBub2Rlcywgc28gd2Ugc2hvdWxkIGNvbXBhcmUgdGhlbS5cbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBBUklBTWFwcGVyLm5vZGVUb1JvbGUobmF2aWdhdGlvbk5vZGVzW2ldKSA9PT1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBBUklBTWFwcGVyLm5vZGVUb1JvbGUobmF2aWdhdGlvbk5vZGVzW2pdKVxuICAgICAgICAgICAgICAgICAgICAgICAgKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gQm90aCBub2RlcyBoYXZlIHRoZSBzYW1lIHJvbGUgQU5EXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBuYXZpZ2F0aW9uTm9kZXNDb21wdXRlZExhYmVsc1tpXSA9PT1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbmF2aWdhdGlvbk5vZGVzQ29tcHV0ZWRMYWJlbHNbal1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICApIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gYm90aCBoYXZlIHRoZSBzYW1lIChjb21wdXRlZCkgYXJpYS1sYWJlbC9hcmlhLWxhYmVsbGVkYnlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gaWYgKG5hdmlnYXRpb25Ob2Rlc0NvbXB1dGVkTGFiZWxzW2ldID09PSBcIlwiKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG5hdmlnYXRpb25Ob2Rlc01hdGNoRm91bmQucHVzaChcIkZhaWxfMFwiKTsgLy8gRmFpbCAwXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG1hdGNoRm91bmQgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIFNhbWUgcGFyZW50cyAmJiBzYW1lIG5vZGUgcm9sZXMgQlVUIGRpZmZlcmVudCBjb21wdXRlZCBhcmlhLWxhYmVsL2FyaWEtbGFiZWxsZWRieVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBXZSBoYXZlIGF0IGxlYXN0IGEgUGFzc18wLiBCdXQgd2UgbmVlZCB0byBjaGVjayBhbGwgbm9kZXMgdG8gc2VlIGlmIGFub3RoZXIgb25lIGZhaWxzLiBTbyBzZXQgYSBmbGFnLlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwYXNzXzBfZmxhZyA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBTYW1lIHBhcmVudHMgYnV0IGRpZmZlcmVudCBub2RlIHJvbGVzIC8vIE5vdCBhcHBsaWNhYmxlXG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoXG4gICAgICAgICAgICAgICAgICAgICAgICBuYXZpZ2F0aW9uTm9kZXNQYXJlbnRzW2ldID09PSBudWxsIHx8XG4gICAgICAgICAgICAgICAgICAgICAgICBuYXZpZ2F0aW9uTm9kZXNQYXJlbnRzW2pdID09PSBudWxsXG4gICAgICAgICAgICAgICAgICAgICkge1xuICAgICAgICAgICAgICAgICAgICAgICAgLy8gV2UgYXJlIGxvb2tpbmcgYXQgYSBzaW5nbGUgcm9vdCBub2RlXG4gICAgICAgICAgICAgICAgICAgICAgICBjb250aW51ZTtcbiAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgIC8vIFRoaXMgaWYgc3RhdGVtZW50IGZvY3VzIG9uIHRoZSBjYXNlIHdoZXJlIHRoZSBwYXJlbnQgbGFuZG1hcmsgaXMgTk9UIG51bGxcbiAgICAgICAgICAgICAgICAgICAgaWYgKFxuICAgICAgICAgICAgICAgICAgICAgICAgRE9NVXRpbC5zYW1lTm9kZShcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBuYXZpZ2F0aW9uTm9kZXNQYXJlbnRzW2ldLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIG5hdmlnYXRpb25Ob2Rlc1BhcmVudHNbal1cbiAgICAgICAgICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgICAgICAgKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAvLyBXZSBoYXZlIHRoZSBzYW1lIHBhcmVudC1sYW5kbWFyayBBTkRcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBBUklBTWFwcGVyLm5vZGVUb1JvbGUobmF2aWdhdGlvbk5vZGVzW2ldKSA9PT1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBBUklBTWFwcGVyLm5vZGVUb1JvbGUobmF2aWdhdGlvbk5vZGVzW2pdKVxuICAgICAgICAgICAgICAgICAgICAgICAgKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gQm90aCBub2RlcyBoYXZlIHRoZSBzYW1lIHJvbGUgQU5EXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBuYXZpZ2F0aW9uTm9kZXNDb21wdXRlZExhYmVsc1tpXSA9PT1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbmF2aWdhdGlvbk5vZGVzQ29tcHV0ZWRMYWJlbHNbal1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICApIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gYm90aCBoYXZlIHRoZSBzYW1lIChjb21wdXRlZCkgYXJpYS1sYWJlbC9hcmlhLWxhYmVsbGVkYnlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gaWYgKG5hdmlnYXRpb25Ob2Rlc0NvbXB1dGVkTGFiZWxzW2ldID09PSBcIlwiKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG5hdmlnYXRpb25Ob2Rlc01hdGNoRm91bmQucHVzaChcIkZhaWxfMFwiKTsgLy8gRmFpbCAwXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG1hdGNoRm91bmQgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIFNhbWUgcGFyZW50cyAmJiBzYW1lIG5vZGUgcm9sZXMgQlVUIGRpZmZlcmVudCBjb21wdXRlZCBhcmlhLWxhYmVsL2FyaWEtbGFiZWxsZWRieVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBXZSBoYXZlIGF0IGxlYXN0IGEgUGFzc18wLiBCdXQgd2UgbmVlZCB0byBjaGVjayBhbGwgbm9kZXMgdG8gc2VlIGlmIGFub3RoZXIgb25lIGZhaWxzLiBTbyBzZXQgYSBmbGFnLlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwYXNzXzBfZmxhZyA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBTYW1lIHBhcmVudHMgYnV0IGRpZmZlcmVudCBub2RlIHJvbGVzIC8vIE5vdCBhcHBsaWNhYmxlXG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAvLyBEaWZmZXJlbnQgcGFyZW50cyAvLyBOb3QgYXBwbGljYWJsZVxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGlmICghbWF0Y2hGb3VuZCkge1xuICAgICAgICAgICAgICAgICAgICBpZiAocGFzc18wX2ZsYWcpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIG5hdmlnYXRpb25Ob2Rlc01hdGNoRm91bmQucHVzaChcIlBhc3NfMFwiKTtcbiAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIG5hdmlnYXRpb25Ob2Rlc01hdGNoRm91bmQucHVzaChcIm51bGxcIik7IC8vIFRoaXMgaXMgbm90IHRoZSBrZXl3b3JkIG51bGwgb24gcHVycG9zZS4gSXQgaXMgYSBzcGFjZWhvbGRlciBpbiB0aGUgYXJyYXkgc28gaW5kZXhlcyBtYXRjaCB1cC5cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGZvcm1DYWNoZS5uYXZpZ2F0aW9uTm9kZXNDb21wdXRlZExhYmVscyA9XG4gICAgICAgICAgICAgICAgbmF2aWdhdGlvbk5vZGVzQ29tcHV0ZWRMYWJlbHM7XG4gICAgICAgICAgICBmb3JtQ2FjaGUubmF2aWdhdGlvbk5vZGVzID0gbmF2aWdhdGlvbk5vZGVzO1xuICAgICAgICAgICAgZm9ybUNhY2hlLm5hdmlnYXRpb25Ob2Rlc1BhcmVudHMgPSBuYXZpZ2F0aW9uTm9kZXNQYXJlbnRzO1xuICAgICAgICAgICAgZm9ybUNhY2hlLm5hdmlnYXRpb25Ob2Rlc01hdGNoRm91bmQgPSBuYXZpZ2F0aW9uTm9kZXNNYXRjaEZvdW5kO1xuICAgICAg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AgZm9ybUNhY2hlLm5hdmlnYXRpb25Ob2Rlc1tpbmRleFRvQ2hlY2tdXG4gICAgICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgXVxuICAgICAgICAgICAgKTtcbiAgICAgICAgfSBlbHNlIGlmIChmb3JtQ2FjaGUubmF2aWdhdGlvbk5vZGVzTWF0Y2hGb3VuZFtpbmRleFRvQ2hlY2tdID09PSBcIkZhaWxfMFwiKSB7XG4gICAgICAgICAgICByZXR1cm4gUnVsZUZhaWwoXCJGYWlsXzBcIixcbiAgICAgICAgICAgICAgICBbXG4gICAgICAgICAgICAgICAgICAgIEFSSUFNYXBwZXIubm9kZVRvUm9sZShcbiAgICAgICAgICAgICAgICAgICAgICAgIGZvcm1DYWNoZS5uYXZpZ2F0aW9uTm9kZXNbaW5kZXhUb0NoZWNrXVxuICAgICAgICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgICAgICAgICBmb3JtQ2FjaGUubmF2aWdhdGlvbk5vZGVzQ29tcHV0ZWRMYWJlbHNbaW5kZXhUb0NoZWNrXSxcbiAgICAgICAgICAgICAgICBdXG4gICAgICAgICAgICApO1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgIH1cbiAgICB9XG59IiwiLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuICBDb3B5cmlnaHQ6OiAyMDIyLSBJQk0sIEluY1xuICBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICBodHRwO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FwiV0NBR18yXzJcIl0sXG4gICAgICAgIFwibnVtXCI6IFtcIjIuNC4xXCJdLFxuICAgICAgICBcImxldmVsXCI6IGVSdWxlUG9saWN5LlZJT0xBVElPTixcbiAgICAgICAgXCJ0b29sa2l0TGV2ZWxcIjogZVRvb2xraXRMZXZlbC5MRVZFTF9USFJFRVxuICAgIH1dLFxuICAgIGFjdDogW10sXG4gICAgcnVuOiAoY29udGV4dDogUnVsZUNvbnRleHQsIG9wdGlvbnM/OiB7fSwgY29udGV4dEhpZXJhcmNoaWVzPzogUnVsZUNvbnRleHRIaWVyYXJjaHkpOiBSdWxlUmVzdWx0IHwgUnVsZVJlc3VsdFtdID0+IHtcbiAgICAgICAgY29uc3QgcnVsZUNvbnRleHQgPSBjb250ZXh0W1wiZG9tXCJdLm5vZGUgYXMgRWxlbWVudDtcbiAgICAgICAgbGV0IGNvbnRleHRMYWJlbCA9IEFyaWFVdGlsLmdldEFyaWFMYWJlbChydWxlQ29udGV4dCk7XG5cbiAgICAgICAgbGV0IHBhcmVudERvY1JvbGUgPSBBcmlhVXRpbC5nZXRBbmNlc3RvcldpdGhSb2xlKFxuICAgICAgICAgICAgcnVsZUNvbnRleHQsXG4gICAgICAgICAgICBcImRvY3VtZW50XCIsXG4gICAgICAgICAgICB0cnVlXG4gICAgICAgICk7XG4gICAgICAgIGxldCBtYWlucyA9IENvbW1vblV0aWwuZ2V0RWxlbWVudHNCeVJvbGVIaWRkZW4oXG4gICAgICAgICAgICBydWxlQ29udGV4dC5vd25lckRvY3VtZW50LFxuICAgICAgICAgICAgXCJtYWluXCIsXG4gICAgICAgICAgICB0cnVlLFxuICAgICAgICAgICAgdHJ1ZVxuICAgICAgICApO1xuICAgICAgICBsZXQgcmVzdWx0ID0gbnVsbDtcbiAgICAgICAgZm9yIChsZXQgaSA9IDA7IGkgPCBtYWlucy5sZW5ndGg7ICsraSkge1xuICAgICAgICAgICAgaWYgKG1haW5zW2ldID09PSBydWxlQ29udGV4dCkgY29udGludWU7XG4gICAgICAgICAgICByZXN1bHQgPSBSdWxlUGFzcyhcIlBhc3NfMFwiKTtcbiAgICAgICAgICAgIGxldCB0aGlzUGFyZW50RG9jUm9sZSA9IEFyaWFVdGlsLmdldEFuY2VzdG9yV2l0aFJvbGUoXG4gICAgICAgICAgICAgICAgbWFpbnNbaV0sXG4gICAgICAgICAgICAgICAgXCJkb2N1bWVudFwiLFxuICAgICAgICAgICAgICAgIHRydWVcbiAgICAgICAgICAgICk7XG4gICAgICAgICAgICBpZiAodGhpc1BhcmVudERvY1JvbGUgPT09IHBhcmVudERvY1JvbGUpIHtcbiAgICAgICAgICAgICAgICBpZiAoQXJpYVV0aWwuZ2V0QXJpYUxhYmVsKG1haW5zW2ldKSA9PT0gY29udGV4dExhYmVsKSB7XG4gICAgICAgICAgICAgICAgICAgIHJlc3VsdCA9IFJ1bGVGYWlsKFwiRmFpbF8xXCIpO1xuICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIHJlc3VsdDtcbiAgICB9XG59IiwiLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuICBDb3B5cmlnaHQ6OiAyMDIyLSBJQk0sIEluY1xuICBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICBodHRwOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAgVW5sZXNzIHJlcXVpcmVkIGJ5I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KTogUnVsZVJlc3VsdCB8IFJ1bGVSZXN1bHRbXSA9PiB7XG4gICAgICAgIGNvbnN0IHJ1bGVDb250ZXh0ID0gY29udGV4dFtcImRvbVwiXS5ub2RlIGFzIEVsZW1lbnQ7XG4gICAgICAgIC8vIENvbnNpZGVyIHRoZSBDaGVjayBIaWRkZW4gQ29udGVudCBzZXR0aW5nIHRoYXQgaXMgc2V0IGJ5IHRoZSBydWxlc1xuICAgICAgICBsZXQgbGFuZG1hcmtzID0gQ29tbW9uVXRpbC5nZXRFbGVtZW50c0J5Um9sZUhpZGRlbihcbiAgICAgICAgICAgIHJ1bGVDb250ZXh0Lm93bmVyRG9jdW1lbnQsXG4gICAgICAgICAgICBcIm5hdmlnYXRpb25cIixcbiAgICAgICAgICAgIHRydWUsXG4gICAgICAgICAgICB0cnVlXG4gICAgICAgICk7XG4gICAgICAgIGlmIChsYW5kbWFya3MubGVuZ3RoID09PSAwIHx8IGxhbmRtYXJrcy5sZW5ndGggPT09IDEpIHtcbiAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICB9XG5cbiAgICAgICAgbGV0IGR1cGVzID0gQ2FjaGVVdGlsLmdldENhY2hlKFxuICAgICAgICAgICAgcnVsZUNvbnRleHQub3duZXJEb2N1bWVudCxcbiAgICAgICAgICAgIFwiYXJpYV9uYXZpZ2F0aW9uX2xhYmVsX3VuaXF1ZVwiLFxuICAgICAgICAgICAgbnVsbFxuICAgICAgICApO1xuICAgICAgICBpZiAoIWR1cGVzKSB7XG4gICAgICAgICAgICBkdXBlcyA9IEFyaWFVdGlsLmZpbmRBcmlhTGFiZWxEdXBlcyhsYW5kbWFya3MpO1xuICAgICAgICAgICAgQ2FjaGVVdGlsLnNldENhY2hlKFxuICAgICAgICAgICAgICAgIHJ1bGVDb250ZXh0Lm93bmVyRG9jdW1lbnQsXG4gICAgICAgICAgICAgICAgXCJhcmlhX25hdmlnYXRpb25fbGFiZWxfdW5pcXVlXCIsXG4gICAgICAgICAgICAgICAg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9uYWxDaGlsZChydWxlQ29udGV4dCkgfHwgVmlzVXRpbC5pc05vZGVQcmVzZW50YXRpb25hbChydWxlQ29udGV4dCkpXG4gICAgICAgICAgICByZXR1cm47XG4gICAgICAgIFxuICAgICAgICBsZXQgcGFzc2VkID0gdHJ1ZTtcbiAgICAgICAgbGV0IGRlc2lnblBhdHRlcm5zID0gQVJJQURlZmluaXRpb25zLmRlc2lnblBhdHRlcm5zO1xuICAgICAgICBsZXQgcm9sZU5hbWVBcnIgPSBuZXcgQXJyYXkoKTtcbiAgICAgICAgbGV0IGNvbnRhaW5lclJvbGVzID0gbmV3IEFycmF5KCk7XG4gICAgICAgIGxldCB0ZXN0ZWRDb250YWluZXIgPSAwO1xuXG4gICAgICAgIGxldCBhbmNlc3RvclJvbGVzID0gY29udGV4dEhpZXJhcmNoaWVzW1wiYXJpYVwiXS5tYXAoaW5mbyA9PiBpbmZvLnJvbGUpO1xuICAgICAgICBsZXQgcGFyZW50Um9sZSA9IGFuY2VzdG9yUm9sZXNbYW5jZXN0b3JSb2xlcy5sZW5ndGggLSAyXTtcbiAgICAgICAgbGV0IGNvdW50ID0gMjtcbiAgICAgICAgd2hpbGUgKHBhcmVudFJvbGUgPT09ICdub25lJykge1xuICAgICAgICAgICAgY291bnQrKztcbiAgICAgICAgICAgIHBhcmVudFJvbGUgPSBhbmNlc3RvclJvbGVzW2FuY2VzdG9yUm9sZXMubGVuZ3RoIC0gY291bnRdO1xuXG4gICAgICAgIH1cbiAgICAgICAgXG4gICAgICAgIC8qKmZvciAobGV0IGogPSAwLCBsZW5ndGggPSByb2xlcy5sZW5ndGg7IGogPCBsZW5ndGg7ICsraikge1xuICAgICAgICAgICAgaWYgKGRlc2lnblBhdHRlcm5zW3JvbGVzW2pdXSAmJiBkZXNpZ25QYXR0ZXJuc1tyb2xlc1tqXV0uY29udGFpbmVyICE9IG51bGwpIHtcbiAgICAgICAgICAgICAgICB0ZXN0ZWRDb250YWluZXIrKztcbiAgICAgICAgICAgICAgICBwYXNzZWQgPSBmYWxzZTtcbiAgICAgICAgICAgICAgICBjb250YWluZXJSb2xlcyA9IGRlc2lnblBhdHRlcm5zW3JvbGVzW2pdXS5jb250YWluZXI7XG4gICAgICAgICAgICAgICAgZm9yIChsZXQgaSA9IDAsIGNvbnRhaW5lcnNMZW5ndGggPSBjb250YWluZXJSb2xlcy5sZW5ndGg7ICFwYXNzZWQgJiYgaSA8IGNvbnRhaW5lcnNMZW5ndGg7IGkrKykge1xuICAgICAgICAgICAgICAgICAgICBwYXNzZWQgPSBwYXJlbnRSb2xlID09PSBjb250YWluZXJSb2xlc1tpXTtcbiAgICAgICAgICAgICAgICAgICAgaWYgKHBhc3NlZCkgYnJlYWs7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGlmIChwYXNzZWQgPT0gZmFsc2UpIHtcbiAgICAgICAgICAgICAgICAgICAgcm9sZU5hbWVBcnIucHVzaChyb2xlc1tqXSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9IFxuICAgICAgICAqL1xuICAgICAgICBjb25zdCByb2xlID0gQXJpYVV0aWwuZ2V0UmVzb2x2ZWRSb2xlKHJ1bGVDb250ZXh0KTtcbiAgICAgICAgaWYgKGRlc2lnblBhdHRlcm5zW3JvbGVdICYmIGRlc2lnblBhdHRlcm5zW3JvbGVdLmNvbnRhaW5lciAhPSBudWxsKSB7XG4gICAgICAgICAgICB0ZXN0ZWRDb250YWluZXIrKztcbiAgICAgICAgICAgIHBhc3NlZCA9IGZhbHNlO1xuICAgICAgICAgICAgY29udGFpbmVyUm9sZXMgPSBkZXNpZ25QYXR0ZXJuc1tyb2xlXS5jb250YWluZXI7XG4gICAgICAgICAgICBmb3IgKGxldCBpID0gMCwgY29udGFpbmVyc0xlbmd0aCA9IGNvbnRhaW5lclJvbGVzLmxlbmd0aDsgIXBhc3NlZCAmJiBpIDwgY29udGFpbmVyc0xlbmd0aDsgaSsrKSB7XG4gICAgICAgICAgICAgICAgcGFzc2VkID0gcGFyZW50Um9sZSA9PT0gY29udGFpbmVyUm9sZXNbaV07XG4gICAgICAgICAgICAgICAgaWYgKHBhc3NlZCkgYnJlYWs7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBpZiAocGFzc2VkID09IGZhbHNlKSB7XG4gICAgICAgICAgICAgICAgcm9sZU5hbWVBcnIucHVzaChyb2xlKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIGxldCByZXRUb2tlbjEgPSBuZXcgQXJyYXkoKTtcbiAgICAgICAgcmV0VG9rZW4xLnB1c2gocm9sZU5hbWVBcnIuam9pbihcIiwgXCIpKTtcbiAgICAgICAgbGV0IHJldFRva2VuMiA9IG5ldyBBcnJheSgpO1xuICAgICAgICByZXRUb2tlbjIucHVzaChjb250YWluZXJSb2xlcy5qb2luKFwiLCBcIikpO1xuICAgICAgICAvL3JldHVybiBuZXcgVmFsaWRhdGlvblJlc3VsdChwYXNzZWQsIFtydWxlQ29udGV4dF0sICcnLCAnJywgcGFzc2VkID09IHRydWUgPyBbXSA6IFtyZXRUb2tlbjEsIHJldFRva2VuMl0pO1xuICAgICAgICBpZiAodGVzdGVkQ29udGFpbmVyID09IDApIHtcbiAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICB9IGVsc2UgaWYgKCFwYXNzZWQpIHtcbiAgICAgICAgICAgIHJldHVybiBSdWxlRmFpbChcIkZhaWxfMVwiLCBbcmV0VG9rZW4xLnRvU3RyaW5nKCksIHJldFRva2VuMi50b1N0cmluZygpXSk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICByZXR1cm4gUnVsZVBhc3MoXCJQYXNzXzBcIik7XG4gICAgICAgIH1cbiAgICB9XG59IiwiLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuICBDb3B5cmlnaHQ6OiAyMDIyLSBJQk0sI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RsZVxuICAgICAgICBpZiAoXG4gICAgICAgICAgICBydWxlQ29udGV4dC5nZXRBdHRyaWJ1dGUoXCJyb2xlXCIpID09PSBcInJlZ2lvblwiIHx8XG4gICAgICAgICAgICBydWxlQ29udGV4dC5oYXNBdHRyaWJ1dGUoXCJhcmlhLWxhYmVsXCIpIHx8XG4gICAgICAgICAgICAocnVsZUNvbnRleHQuaGFzQXR0cmlidXRlKFwiYXJpYS1sYWJlbGxlZGJ5XCIpICYmICFDb21tb25VdGlsLmlzSWRSZWZlclRvU2VsZihydWxlQ29udGV4dCwgcnVsZUNvbnRleHQuZ2V0QXR0cmlidXRlKFwiYXJpYS1sYWJlbGxlZGJ5XCIpKSkgfHxcbiAgICAgICAgICAgIHJ1bGVDb250ZXh0Lmhhc0F0dHJpYnV0ZShcInRpdGxlXCIpXG4gICAgICAgICkge1xuICAgICAgICAgICAgLy8gQ29uc2lkZXIgdGhlIENoZWNrIEhpZGRlbiBDb250ZW50IHNldHRpbmcgdGhhdCBpcyBzZXQgYnkgdGhlIHJ1bGVzXG4gICAgICAgICAgICAvLyBBbHNvLCBjb25zaWRlciBJbXBsaWNpdCByb2xlIGNoZWNraW5nLlxuICAgICAgICAgICAgbGV0IGxhbmRtYXJrcyA9IENvbW1vblV0aWwuZ2V0RWxlbWVudHNCeVJvbGVIaWRkZW4oXG4gICAgICAgICAgICAgICAgcnVsZUNvbnRleHQub3duZXJEb2N1bWVudCxcbiAgICAgICAgICAgICAgICBcInJlZ2lvblwiLFxuICAgICAgICAgICAgICAgIHRydWUsXG4gICAgICAgICAgICAgICAgdHJ1ZVxuICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIGlmIChsYW5kbWFya3MubGVuZ3RoID09PSAwIHx8IGxhbmRtYXJrcy5sZW5ndGggPT09IDEpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgbGV0IGR1cGVzID0gQ2FjaGVVdGlsLmdldENhY2hlKFxuICAgICAgICAgICAgICAgIHJ1bGVDb250ZXh0Lm93bmVyRG9jdW1lbnQsXG4gICAgICAgICAgICAgICAgXCJhcmlhX3JlZ2lvbl9sYWJlbF91bmlxdWVcIixcbiAgICAgICAgICAgICAgICBudWxsXG4gICAgICAgICAgICApO1xuICAgICAgICAgICAgaWYgKCFkdXBlcykge1xuICAgICAgICAgICAgICAgIGR1cGVzID0gQXJpYVV0aWwuZmluZEFyaWFMYWJlbER1cGVzKGxhbmRtYXJrcyk7XG4gICAgICAgICAgICAgICAgQ2FjaGVVdGlsLnNldENhY2hlKFxuICAgICAgICAgICAgICAgICAgICBydWxlQ29udGV4dC5vd25lckRvY3VtZW50LFxuICAgICAgICAgICAgICAgICAgICBcImFyaWFfcmVnaW9uX2xhYmVsX3VuaXF1ZVwiLFxuICAgICAgICAgICAgICAgICAgICBkdXBlc1xuICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBsZXQgbXlMYWJlbCA9IEFyaWFVdGlsLmdldEFyaWFMYWJlbChydWxlQ29udGV4dCk7XG4gICAgICAgICAgICBsZXQgcGFzc2VkID1cbiAgICAgICAgICAgICAgICBteUxhYmVsICE9PSBcIlwiICYmXG4gICAgICAgICAgICAgICAgKCEobXlMYWJlbCBpbiBkdXBlcykgfHwgZHVwZXNbbXlMYWJlbF0gPD0gMSk7XG4gICAgICAgICAgICBpZiAoIXBhc3NlZCkge1xuICAgICAgICAgICAgICAgIHJldHVybiBSdWxlRmFpbChcIkZhaWxfMVwiLCBbbXlMYWJlbF0pO1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gUnVsZVBhc3MoXCJQYXNzXzBcIik7XG4gICAgICAgICAgICB9XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgfVxuICAgIH1cbn0iLCIvKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqK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gIT09IG51bGwgJiYgcGFyZW50Um9sZS5sZW5ndGggPiAwKVxuICAgICAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICB9XG5cbiAgICAgICAgbGV0IGltcGxpY2l0Um9sZXMgPSBBcmlhVXRpbC5nZXRJbXBsaWNpdFJvbGUocnVsZUNvbnRleHQpO1xuICAgICAgICBpZiAoIWltcGxpY2l0Um9sZXMgfHwgaW1wbGljaXRSb2xlcy5sZW5ndGggPT09IDApXG4gICAgICAgICAgICAgcmV0dXJuIFJ1bGVQYXNzKFwicGFzc1wiKTtcblxuICAgICAgICBsZXQgcmV0ID0gW107XG4gICAgICAgIGZvciAobGV0IGkgPSAwOyBpIDwgYXJpYVJvbGVzLmxlbmd0aDsgaSsrKSB7XG4gICAgICAgICAgICBpZiAoIWltcGxpY2l0Um9sZXMuaW5jbHVkZXMoYXJpYVJvbGVzW2ldKSkgIFxuICAgICAgICAgICAgICAgIHJldC5wdXNoKFJ1bGVQYXNzKFwicGFzc1wiKSk7XG4gICAgICAgICAgICBlbHNlICAgICBcbiAgICAgICAgICAgICAgICByZXQucHVzaChSdWxlRmFpbChcImZhaWxfcmVkdW5kYW50XCIsIFthcmlhUm9sZXNbaV0sIGVsZW1OYW1lXSkpO1xuICAgICAgICB9ICBcbiAgICAgICAgaWYgKHJldC5sZW5ndGggPiAwKSAgXG4gICAgICAgICAgICByZXR1cm4gcmV0O1xuICAgICAgICByZXR1cm4gbnVsbDsgICAgXG4gICAgfVxufSIsIi8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcbiAgQ29weXJpZ2h0OjogMjAyMi0gSUJNLCBJbmNcbiAgTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAgeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4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YW5kbWFya3MubGVuZ3RoID09PSAxKSB7XG4gICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgfVxuXG4gICAgICAgIGxldCBkdXBlcyA9IENhY2hlVXRpbC5nZXRDYWNoZShcbiAgICAgICAgICAgIHJ1bGVDb250ZXh0Lm93bmVyRG9jdW1lbnQsXG4gICAgICAgICAgICBcImFyaWFfc2VhcmNoX2xhYmVsX3VuaXF1ZVwiLFxuICAgICAgICAgICAgbnVsbFxuICAgICAgICApO1xuICAgICAgICBpZiAoIWR1cGVzKSB7XG4gICAgICAgICAgICBkdXBlcyA9IEFyaWFVdGlsLmZpbmRBcmlhTGFiZWxEdXBlcyhsYW5kbWFya3MpO1xuICAgICAgICAgICAgQ2FjaGVVdGlsLnNldENhY2hlKFxuICAgICAgICAgICAgICAgIHJ1bGVDb250ZXh0Lm93bmVyRG9jdW1lbnQsXG4gICAgICAgICAgICAgICAgXCJhcmlhX3NlYXJjaF9sYWJlbF91bmlxdWVcIixcbiAgICAgICAgICAgICAgICBkdXBlc1xuICAgICAgICAgICAgKTtcbiAgICAgICAgfVxuICAgICAgICBsZXQgbXlMYWJlbCA9IEFyaWFVdGlsLmdldEFyaWFMYWJlbChydWxlQ29udGV4dCk7XG4gICAgICAgIGxldCBwYXNzZWQgPVxuICAgICAgICAgICAgbXlMYWJlbCAhPT0gXCJcIiAmJiAoIShteUxhYmVsIGluIGR1cGVzKSB8fCBkdXBlc1tteUxhYmVsXSA8PSAxKTtcblxuICAgICAgICAvLyByZXR1cm4gbmV3IFZhbGlkYXRpb25SZXN1bHQocGFzc2VkLCBydWxlQ29udGV4dCwgJycsICcnLCBbIG15TGFiZWwgXSk7XG4gICAgICAgIGlmICghcGFzc2VkKSB7XG4gICAgICAgICAgICByZXR1cm4gUnVsZUZhaWwoXCJGYWlsXzFcIiwgW215TGFiZWxdKTtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIHJldHVybiBSdWxlUGFzcyhcIlBhc3NfMF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ghZHVwZXMpIHtcbiAgICAgICAgICAgIGR1cGVzID0gQXJpYVV0aWwuZmluZEFyaWFMYWJlbER1cGVzKGxhbmRtYXJrcyk7XG4gICAgICAgICAgICBDYWNoZVV0aWwuc2V0Q2FjaGUoXG4gICAgICAgICAgICAgICAgcnVsZUNvbnRleHQub3duZXJEb2N1bWVudCxcbiAgICAgICAgICAgICAgICBcImFyaWFfdG9vbGJhcl9sYWJlbF91bmlxdWVcIixcbiAgICAgICAgICAgICAgICBkdXBlc1xuICAgICAgICAgICAgKTtcbiAgICAgICAgfVxuICAgICAgICBsZXQgbXlMYWJlbCA9IEFyaWFVdGlsLmdldEFyaWFMYWJlbChydWxlQ29udGV4dCk7XG4gICAgICAgIGxldCBwYXNzZWQgPVxuICAgICAgICAgICAgbXlMYWJlbCAhPT0gXCJcIiAmJiAoIShteUxhYmVsIGluIGR1cGVzKSB8fCBkdXBlc1tteUxhYmVsXSA8PSAxKTtcblxuICAgICAgICBpZiAoIXBhc3NlZCkge1xuICAgICAgICAgICAgcmV0dXJuIFJ1bGVGYWlsKFwiRmFpbF8xXCIsIFtteUxhYmVsXSk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICByZXR1cm4gUnVsZVBhc3MoXCJQYXNzXzBcIik7XG4gICAgICAgIH1cbiAgICB9XG59IiwiLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuICBDb3B5cmlnaHQ6OiAyMDIyLSBJQk0sIEluY1xuICBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5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iAgICAgICAgICAgICAgICBydWxlQ29udGV4dC5nZXRBdHRyaWJ1dGUoXCJ0eXBlXCIpID09PSBcImhpZGRlblwiKSB8fFxuICAgICAgICAgICAgKEFyaWFVdGlsLmdldEFuY2VzdG9yV2l0aFJvbGUocnVsZUNvbnRleHQsIFwiY29tYm9ib3hcIikgJiZcbiAgICAgICAgICAgICAgICAhKFxuICAgICAgICAgICAgICAgICAgICBBcmlhVXRpbC5oYXNSb2xlSW5TZW1hbnRpY3MocnVsZUNvbnRleHQsIFwidGV4dGJveFwiKSB8fFxuICAgICAgICAgICAgICAgICAgICBBcmlhVXRpbC5oYXNSb2xlSW5TZW1hbnRpY3MocnVsZUNvbnRleHQsIFwic2VhcmNoYm94XCIpXG4gICAgICAgICAgICAgICAgKSlcbiAgICAgICAgKSB7XG4gICAgICAgICAgICAvLyB3ZSBuZWVkIHRvIGRpYWdub3NlIHRoYXQgYSBjb21ib2JveCBpbnB1dCB0ZXh0Ym94IGhhcyBhIGxhYmVsKGdpdGh1YiBpc3N1ZSAjMTEwNClcbiAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICB9XG5cbiAgICAgICAgbGV0IGVsZW1Sb2xlID0gQVJJQU1hcHBlci5ub2RlVG9Sb2xlKHJ1bGVDb250ZXh0KTtcbiAgICAgICAgbGV0IHRhZ05hbWUgPSBydWxlQ29udGV4dC5ub2RlTmFtZS50b0xvd2VyQ2FzZSgpO1xuXG4gICAgICAgIC8vIEhhbmRsZWQgYnkgaW5wdXRfbGFiZWxfZXhpc3RzXG4gICAgICAgIGxldCBza2lwUm9sZXMgPSBbXG4gICAgICAgICAgICBcImJ1dHRvblwiLFxuICAgICAgICAgICAgXCJjaGVja2JveFwiLFxuICAgICAgICAgICAgXCJjb21ib2JveFwiLFxuICAgICAgICAgICAgXCJsaXN0Ym94XCIsXG4gICAgICAgICAgICBcIm1lbnVpdGVtY2hlY2tib3hcIixcbiAgICAgICAgICAgIFwibWVudWl0ZW1yYWRpb1wiLFxuICAgICAgICAgICAgXCJyYWRpb1wiLFxuICAgICAgICAgICAgXCJzZWFyY2hib3hcIixcbiAgICAgICAgICAgIFwic2xpZGVyXCIsXG4gICAgICAgICAgICBcInNwaW5idXR0b25cIixcbiAgICAgICAgICAgIFwic3dpdGNoXCIsXG4gICAgICAgICAgICBcInRleHRib3hcIixcbiAgICAgICAgICAgIFwicHJvZ3Jlc3NiYXJcIixcbiAgICAgICAgICAgIFwibGlua1wiLFxuICAgICAgICBdO1xuICAgICAgICBpZiAoc2tpcFJvbGVzLmluY2x1ZGVzKGVsZW1Sb2xlKSkgcmV0dXJuIG51bGw7XG4gICAgICAgIGlmIChcbiAgICAgICAgICAgIHRhZ05hbWUgPT09IFwib3V0cHV0XCIgfHxcbiAgICAgICAgICAgICh0YWdOYW1lID09PSBcImlucHV0XCIgJiZcbiAgICAgICAgICAgICAgICBydWxlQ29udGV4dC5nZXRBdHRyaWJ1dGUoXCJ0eXBlXCIpID09PSBcImZpbGVcIilcbiAgICAgICAgKSB7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKCFydWxlQ29udGV4dC5oYXNBdHRyaWJ1dGUoXCJyb2xlXCIpKSB7XG4gICAgICAgICAgICAvLyBGb3JtL2lucHV0IGVsZW1lbnRzIGFyZSBjaGVja2VkIGJ5IEc0MSwgd2Ugc2tpcCB0aGVtIGZyb20gdGhpcyBydWxlLiBHaXRodWIgaXNzdWUgNDQ5XG4gICAgICAgICAgICBsZXQgc2tpcEVsZW1lbnRzID0gW1xuICAgICAgICAgICAgICAgIFwiaW5wdXRcIixcbiAgICAgICAgICAgICAgICBcInRleHRhcmVhXCIsXG4gICAgICAgICAgICAgICAgXCJzZWxlY3RcIixcbiAgICAgICAgICAgICAgICBcImJ1dHRvblwiLFxuICAgICAgICAgICAgICAgIFwiZGF0YWxpc3RcIixcbiAgICAgICAgICAgICAgICBcIm9wdGdyb3VwXCIsXG4gICAgICAgICAgICAgICAgXCJvcHRpb25cIixcbiAgICAgICAgICAgICAgICBcImtleWdlblwiLFxuICAgICAgICAgICAgICAgIFwib3V0cHV0XCIsXG4gICAgICAgICAgICAgICAgXCJwcm9ncmVzc1wiLFxuICAgICAgICAgICAgICAgIFwibWV0ZXJcIixcbiAgICAgICAgICAgIF07XG4gICAgICAgICAgICBpZiAoXG4gICAgICAgICAgICAgICAgc2tpcEVsZW1lbnRzLmluZGV4T2YocnVsZUNvbnRleHQubm9kZU5hbWUudG9Mb3dlckNhc2UoKSkgIT1cbiAgICAgICAgICAgICAgICAtMVxuICAgICAgICAgICAgKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICAvLyBhdm9pZCBkaWFnbm9zaW5nIHRoZSBwb3B1cCBsaXN0IG9mIGEgY29tYm9ib3guXG4gICAgICAgIGxldCByb2xlc1RvQ2hlY2sgPSBbXCJsaXN0Ym94XCIsIFwidHJlZVwiLCBcImdyaWRcIiwgXCJkaWFsb2dcIl07XG4gICAgICAgIGZvciAobGV0IGogPSAwOyBqIDwgcm9sZXNUb0NoZWNrLmxlbmd0aDsgaisrKSB7XG4gICAgICAgICAgICBpZiAoQXJpYVV0aWwuaGFzUm9sZUluU2VtYW50aWNzKHJ1bGVDb250ZXh0LCByb2xlc1RvQ2hlY2tbal0pKSB7XG4gICAgICAgICAgICAgICAgbGV0IGNvbWJvYm94ZXMgPSBDb21tb25VdGlsLmdldEVsZW1lbnRzQnlSb2xlSGlkZGVuKFxuICAgICAgICAgICAgICAgICAgICBydWxlQ29udGV4dC5vd25lckRvY3VtZW50LFxuICAgICAgICAgICAgICAgICAgICBcImNvbWJvYm94XCIsXG4gICAgICAgICAgICAgICAgICAgIHRydWUsXG4gICAgICAgICAgICAgICAgICAgIHRydWVcbiAgICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgICAgIGZvciAobGV0IGsgPSAwOyBrIDwgY29tYm9ib3hlcy5sZW5ndGg7IGsrKykge1xuICAgICAgICAgICAgICAgICAgICBsZXQgY29tYm9ib3ggPSBjb21ib2JveGVzW2tdO1xuICAgICAgICAgICAgICAgICAgICBsZXQgYXJpYV9vd25zID0gQ29tbW9uVXRpbC5nZXRFbGVtZW50QXR0cmlidXRlKFxuICAgICAgICAgICAgICAgICAgICAgICAgY29tYm9ib3gsXG4gICAgICAgICAgICAgICAgICAgICAgICBcImFyaWEtb3duc1wiXG4gICAgICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICAgICAgICAgIGlmIChhcmlhX293bnMpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCBvd25zID0gQ29tbW9uVXRpbC5ub3JtYWxpemVTcGFjaW5nKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFyaWFfb3ducy50cmltKClcbiAgICAgICAgICAgICAgICAgICAgICAgICkuc3BsaXQoXCIgXCIpO1xuICAgICAgICAgICAgICAgICAgICAgICAgZm9yIChsZXQgaSA9IDA7IGkgPCBvd25zLmxlbmd0aDsgaSsrKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IG93bmVkID0gRnJhZ21lbnRVdGlsLmdldEJ5SWQoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJ1bGVDb250ZXh0LFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBvd25zW2ldXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAob3duZWQgPT09IHJ1bGVDb250ZXh0KSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIGxldCBwYXNzZWQgPSB0cnVlO1xuICAgICAgICBsZXQgcHJ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Bkb2N1bWVudGF0aW9uLlxuICAgICAgICAgICAgICAgIC8vIEVuY291cmFnZSB1c2Ugb2YgYXJpYS1sYWJlbCwgYXJpYS1sYWJlbGxlZGJ5IG9yIGh0bWwgbGFiZWwgZWxlbWVudC5cbiAgICAgICAgICAgICAgICBwYXNzZWQgPVxuICAgICAgICAgICAgICAgICAgICBBcmlhVXRpbC5oYXNBcmlhTGFiZWwocnVsZUNvbnRleHQpIHx8XG4gICAgICAgICAgICAgICAgICAgIENvbW1vblV0aWwuYXR0cmlidXRlTm9uRW1wdHkocnVsZUNvbnRleHQsIFwidGl0bGVcIikgfHxcbiAgICAgICAgICAgICAgICAgICAgQ29tbW9uVXRpbC5nZXRMYWJlbEZvckVsZW1lbnRIaWRkZW4ocnVsZUNvbnRleHQsIHRydWUpO1xuXG4gICAgICAgICAgICAgICAgaWYgKFxuICAgICAgICAgICAgICAgICAgICAhcGFzc2VkICYmXG4gICAgICAgICAgICAgICAgICAgIHBhdHRlcm4ubmFtZUZyb20gJiZcbiAgICAgICAgICAgICAgICAgICAgcGF0dGVybi5uYW1lRnJvbS5pbmRleE9mKFwiY29udGVudHNcIikgPj0gMFxuICAgICAgICAgICAgICAgICkge1xuICAgICAgICAgICAgICAgICAgICAvLyBTZWUgaWYgd2lkZ2V0J3MgYWNjZXNzaWJsZSBuYW1lIGlzIHN1cHBsaWVkIGJ5IGVsZW1lbnQncyBpbm5lciB0ZXh0XG4gICAgICAgICAgICAgICAgICAgIC8vIG5hbWVGcm9tOiBbXCJhdXRob3JcIiwgXCJjb250ZW50c1wiXVxuICAgICAgICAgICAgICAgICAgICBwYXNzZWQgPSBDb21tb25VdGlsLmhhc0lubmVyQ29udGVudE9yQWx0KHJ1bGVDb250ZXh0KTtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICBpZiAoIXBhc3NlZCkge1xuICAgICAgICAgICAgICAgICAgICAvLyBjaGVjayBpZiBpdCBoYXMgaW1wbGljaXQgbGFiZWwsIGxpa2UgPGxhYmVsPjxpbnB1dCAuLi4uPmFiYyA8L2xhYmVsPlxuICAgICAgICAgICAgICAgICAgICBwYXNzZWQgPSBDb21tb25VdGlsLmhhc0ltcGxpY2l0TGFiZWwocnVsZUNvbnRleHQpO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIGlmIChcbiAgICAgICAgICAgICAgICAgICAgIXBhc3NlZCAmJlxuICAgICAgICAgICAgICAgICAgICBydWxlQ29udGV4dC50YWdOYW1lLnRvTG93ZXJDYXNlKCkgPT09IFwiaW1nXCIgJiZcbiAgICAgICAgICAgICAgICAgICAgIXJ1bGVDb250ZXh0Lmhhc0F0dHJpYnV0ZShcInJvbGVcIikgJiZcbiAgICAgICAgICAgICAgICAgICAgcnVsZUNvbnRleHQuaGFzQXR0cmlidXRlKFwiYWx0XCIpXG4gICAgICAgICAgICAgICAgKSB7XG4gICAgICAgICAgICAgICAgICAgIHBhc3NlZCA9XG4gICAgICAgICAgICAgICAgICAgICAgICBET01VdGlsLmNsZWFuV2hpdGVzcGFjZShcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBydWxlQ29udGV4dC5nZXRBdHRyaWJ1dGUoXCJhbHRcIilcbiAgICAgICAgICAgICAgICAgICAgICAgICkudHJpbSgpLmxlbmd0aCA+IDA7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgaWYgKHBhdHRlcm4ubmFtZUZyb20uaW5kZXhPZihcInByb2hpYml0ZWRcIikgPj0gMCkge1xuICAgICAgICAgICAgICAgICAgICBwcm9oaWJpdGVkID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICBpZiAobnVtV2lkZ2V0c1Rlc3RlZCA9PT0gMCkge1xuICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgIH0gZWxzZSBpZiAoIXBhc3NlZCkge1xuICAgICAgICAgICAgcmV0dXJuIFJ1bGVGYWlsKFwiRmFpbF8xXCIsIFtlbGVtUm9sZV0pO1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgLy9UT0RPXG4gICAgICAgICAgICAvLyAgICAgICAgICAgICAgICBpZiAocHJvaGliaXRlZCkge1xuICAgICAgICAgICAgLy8gICAgICAgICAgICAgICAgICAgIHJldHVybiBSdWxlRmFpbChcIkZhaWxfMlwiKTtcbiAgICAgICAgICAgIC8vICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICByZXR1cm4gUnVsZVBhc3MoXCJQYXNzXzBcIik7XG4gICAgICAgICAgICAvLyAgICAgICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG59IiwiLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuICBDb3B5cmlnaHQ6OiAyMDIyLSBJQk0sIEluY1xuICBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICBodHRwOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAgVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZX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gICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIGFscGhOdW1TYW1lQ2hhcmFjdGVyQ291bnQgPSAwO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0gZWxzZSBpZiAoL1xccy8udGVzdChjaFN0cikpIHtcbiAgICAgICAgICAgICAgICBhbHBoTnVtU2FtZUNoYXJhY3RlckNvdW50ID0gMDtcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgbm9uQWxwaGFOdW1lcmljTm9yU3BhY2VDb3VudCA9IG5vbkFscGhhTnVtZXJpY05vclNwYWNlQ291bnQgKyAxO1xuICAgICAgICAgICAgICAgIGFscGhOdW1TYW1lQ2hhcmFjdGVyQ291bnQgPSAwO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgbGFzdENoYXJhY3RlciA9IGNoU3RyO1xuXG4gICAgICAgICAgICAvLyBNYWtlIHRoZSBkZWNpc2lvblxuICAgICAgICAgICAgaWYgKG5vbkFscGhhTnVtZXJpY05vclNwYWNlQ291bnQgPj0gNSB8fCBhbHBoTnVtU2FtZUNoYXJhY3RlckNvdW50ID49IDQpIHtcbiAgICAgICAgICAgICAgICBwYXNzZWQgPSBmYWxzZTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICBpZiAocGFzc2VkKSByZXR1cm4gUnVsZVBhc3MoXCJQYXNzXzBcIik7XG4gICAgICAgIGlmICghcGFzc2VkKSByZXR1cm4gUnVsZVBvdGVudGlhbChcIlBvdGVudGlhbF8xXCIpO1xuICAgIH1cbn0iLCIvKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqXG4gICAgQ29weXJpZ2h0OjogMjAyMi0gSUJNLCBJbmNcbiAgICBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJM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c2libGUobncubm9kZSkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHBhc3NlZCA9ICFudy5lbGVtKCkuaGFzQXR0cmlidXRlKFwiYXJpYS1hdXRvY29tcGxldGVcIik7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAobncuYkVuZFRhZyAmJiBudy5ub2RlID09PSBwb3B1cEVsZW1lbnQubGFzdEVsZW1lbnRDaGlsZCkgYnJlYWs7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICBpZiAoIXBhc3NlZCkge1xuICAgICAgICAgICAgcmV0VmFsLnB1c2goUnVsZUZhaWwoXCJGYWlsXzFcIiwgW3BvcHVwSWRdKSk7XG4gICAgICAgIH1cblxuICAgICAgICBpZiAocmV0VmFsLmxlbmd0aCA+IDApIHtcbiAgICAgICAgICAgIHJldHVybiByZXRWYWw7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICByZXR1cm4gUnVsZVBhc3MoXCJQYXNzXCIpO1xuICAgICAgICB9XG4gICAgfVxufSIsIi8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcbiAgQ29weXJpZ2h0OjogMjAyMi0gSUJNLCBJbmNcbiAgTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAgeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAgaHR0cDovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gIFVubGVzcyByZXF1aXJlZCBieSBh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biAgICAgICAgICAgICAgICBcImlucHV0RWxlbWVudFwiOiBlZGl0YWJsZSA/IHJ1bGVDb250ZXh0IDogbnVsbCxcbiAgICAgICAgICAgICAgICBcInBhdHRlcm5cIjogcGF0dGVybixcbiAgICAgICAgICAgICAgICBcImV4cGFuZGVkXCI6IGV4cGFuZGVkXG4gICAgICAgICAgICB9O1xuICAgICAgICAgICAgQ2FjaGVVdGlsLnNldENhY2hlKHJ1bGVDb250ZXh0Lm93bmVyRG9jdW1lbnQsIFwiY29tYm9ib3hcIiwgY2FjaGUpO1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgLy8gTm8geHBhdGg/XG4gICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgfVxuXG4gICAgICAgIGlmIChwYXR0ZXJuID09PSBcIjEuMFwiKSB7XG4gICAgICAgICAgICByZXR1cm4gUnVsZVBhc3MoXCJQYXNzXzEuMFwiKTtcbiAgICAgICAgfSBlbHNlIGlmIChwYXR0ZXJuID09PSBcIjEuMVwiKSB7XG4gICAgICAgICAgICByZXR1cm4gUnVsZUZhaWwoXCJGYWlsXzEuMVwiKTtcbiAgICAgICAgfSBlbHNlIGlmIChwYXR0ZXJuID09PSBcIjEuMlwiKSB7XG4gICAgICAgICAgICByZXR1cm4gUnVsZVBhc3MoXCJQYXNzXzEuMlwiKTtcbiAgICAgICAgfVxuICAgIH1cbn0iLCIvKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqXG4gIENvcHlyaWdodDo6IDIwMjItIElCTSwgSW5jXG4gIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAg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AgICAgICAgICAgICAgICAgICBwYXNzZWQgPSAhQ29tbW9uVXRpbC5pc1RhYmJhYmxlKG53Lm5vZGUpICYmXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgIUFyaWFVdGlsLmdldEFyaWFBdHRyaWJ1dGUobncubm9kZSwgXCJhcmlhLWFjdGl2ZWRlc2NlbmRhbnRcIik7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAobncuYkVuZFRhZyAmJiBudy5ub2RlID09PSBwb3B1cEVsZW1lbnQubGFzdEVsZW1lbnRDaGlsZCkgYnJlYWs7ICAgIFxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgaWYgKCFwYXNzZWQpIHtcbiAgICAgICAgICAgIHJldFZhbC5wdXNoKFJ1bGVGYWlsKFwiRmFpbF90YWJiYWJsZV9jaGlsZFwiKSk7XG4gICAgICAgIH1cblxuICAgICAgICBpZiAocmV0VmFsLmxlbmd0aCA9PT0gMCkge1xuICAgICAgICAgICAgcmV0dXJuIFJ1bGVQYXNzKFwiUGFzc1wiKTtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIHJldHVybiByZXRWYWw7XG4gICAgICAgIH1cbiAgICB9XG59IiwiLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuICBDb3B5cmlnaHQ6OiAyMDIyLSBJQk0sIEluY1xuICBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFx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HJ1bGVDb250ZXh0KSlcbiAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICBcbiAgICAgICAgY29uc3Qgbm9kZU5hbWUgPSBydWxlQ29udGV4dC5ub2RlTmFtZS50b0xvY2FsZUxvd2VyQ2FzZSgpOyBcbiAgICAgICAgICBcbiAgICAgICAgLy9pZ25vcmUgY2VydGFpbiBlbGVtZW50c1xuICAgICAgICBpZiAoQ29tbW9uVXRpbC5nZXRBbmNlc3RvcihydWxlQ29udGV4dCwgW1wicHJlXCIsIFwiY29kZVwiLCBcInNjcmlwdFwiLCBcIm1ldGFcIl0pICE9PSBudWxsIFxuICAgICAgICAgICAgfHwgbm9kZU5hbWUgPT09IFwiYm9keVwiIHx8IG5vZGVOYW1lID09PSBcImh0bWxcIiApXG4gICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgXG4gICAgICAgIGlmIChydWxlQ29udGV4dC5nZXRBdHRyaWJ1dGUoXCJkcmFnZ2FibGVcIikgPT09ICd0cnVlJykgXG4gICAgICAgICAgICByZXR1cm4gUnVsZVBvdGVudGlhbChcInBvdGVudGlhbF9hbHRlcm5hdGl2ZVwiLCBbbm9kZU5hbWVdKTtcbiAgICAgICAgZWxzZSBpZiAocnVsZUNvbnRleHQuZ2V0QXR0cmlidXRlKFwiZHJhZ2dhYmxlXCIpID09PSAnZmFsc2UnKSBcbiAgICAgICAgICAgIHJldHVybiBSdWxlUGFzcyhcInBhc3NfdW5kcmFnZ2FibGVcIiwgW25vZGVOYW1lXSk7XG4gICAgICAgIGVsc2UgXG4gICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICB9XG59XG4iLCIvKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqXG4gIENvcHlyaWdodDo6IDIwMjItIElCTSwgSW5jXG4gIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lv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clwiLCBbdmlvbGF0aW9uc10pO1xuICAgICAgICB9XG5cbiAgICAgICAgLy8gY2hlY2sgaWYgaXQncyBhIGRlcHJlY2F0ZWQgSFRNTCBlbGVtZW50ICYgYXR0cmlidXRlXG4gICAgICAgIHZpb2xhdGlvbnMgPSAnJztcbiAgICAgICAgaWYgKG5vZGVOYW1lIGluIERFUFJFQ0FURURfRUxFTUVOVF9BVFRSSUJVVEVTKSB7XG4gICAgICAgICAgICBmb3IgKGNvbnN0IGF0dHIgb2YgYXR0cnMpIHtcbiAgICAgICAgICAgICAgICBpZiAoREVQUkVDQVRFRF9FTEVNRU5UX0FUVFJJQlVURVNbbm9kZU5hbWVdICYmIERFUFJFQ0FURURfRUxFTUVOVF9BVFRSSUJVVEVTW25vZGVOYW1lXS5pbmNsdWRlcyhhdHRyKSkge1xuICAgICAgICAgICAgICAgICAgICBpZiAodmlvbGF0aW9ucyAhPT0gJycpIHZpb2xhdGlvbnMgKz0gJywgJztcbiAgICAgICAgICAgICAgICAgICAgdmlvbGF0aW9ucyArPSBhdHRyO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGlmICh2aW9sYXRpb25zICE9PSAnJykge1xuICAgICAgICAgICAgICAgIHJldHVybiBSdWxlRmFpbChcImZhaWxfZWxlbV9hdHRyXCIsIFt2aW9sYXRpb25zLCBub2RlTmFtZV0pO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgcmV0dXJuIFJ1bGVQYXNzKFwicGFzc1wiKTtcbiAgICB9XG59IiwiLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuICBDb3B5cmlnaHQ6OiAyMDIyLSBJQk0sIEluY1xuICBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICB5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dW5pcXVlbmVzcy5cbiAgICAgICAgaWYgKGlkID09PSBcIlwiKSB7XG4gICAgICAgICAgICAvL3JldHVybiBuZXcgVmFsaWRhdGlvblJlc3VsdChmYWxzZSwgW3J1bGVDb250ZXh0XSwgJycsICcnLCBbcnVsZUNvbnRleHQubm9kZU5hbWUudG9Mb3dlckNhc2UoKSwgaWRdKTtcbiAgICAgICAgICAgIHJldHVybiBSdWxlRmFpbChcIkZhaWxfMVwiLCBbcnVsZUNvbnRleHQubm9kZU5hbWUudG9Mb3dlckNhc2UoKSwgaWRdKTtcbiAgICAgICAgfVxuXG4gICAgICAgIGxldCBlbGVtZW50ID0gRnJhZ21lbnRVdGlsLmdldEJ5SWQocnVsZUNvbnRleHQsIGlkKTtcbiAgICAgICAgbGV0IHBhc3NlZCA9IGVsZW1lbnQgPT09IHJ1bGVDb250ZXh0O1xuICAgICAgICAvL3JldHVybiBuZXcgVmFsaWRhdGlvblJlc3VsdChwYXNzZWQsIFtydWxlQ29udGV4dF0sICcnLCAnJywgcGFzc2VkID09IHRydWUgPyBbXSA6IFtydWxlQ29udGV4dC5ub2RlTmFtZS50b0xvd2VyQ2FzZSgpLCBpZF0pO1xuICAgICAgICBpZiAoIXBhc3NlZCkge1xuICAgICAgICAgICAgcmV0dXJuIFJ1bGVGYWlsKFwiRmFpbF8yXCIsIFtydWxlQ29udGV4dC5ub2RlTmFtZS50b0xvd2VyQ2FzZSgpLCBpZF0pO1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgcmV0dXJuIFJ1bGVQYXNzKFwiUGFzc18wXCIpO1xuICAgICAgICB9XG4gICAgfVxufSIsIi8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcbiAgQ29weXJpZ2h0OjogMjAyMi0gSUJNLCBJbmNcbiAgTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDI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VlKTtcbiAgICAgICAgICAgICAgICB3aGlsZSAoIWhhc0NvbnRlbnQgJiYgbncubmV4dE5vZGUoKSkge1xuICAgICAgICAgICAgICAgICAgICAvLyBTa2lwIGhpZGRlblxuICAgICAgICAgICAgICAgICAgICBpZiAobncubm9kZS5ub2RlVHlwZSA9PT0gMSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGVsZW1lbnQgPSBudy5ub2RlIGFzIEVsZW1lbnQ7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoIVZpc1V0aWwuaXNOb2RlVmlzaWJsZShlbGVtZW50KSB8fCBlbGVtZW50Lmhhc0F0dHJpYnV0ZShcImxhbmdcIikpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBudy5iRW5kVGFnID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY29uc3QgcGFpciA9IEFjY05hbWVVdGlsLmNvbXB1dGVBY2Nlc3NpYmxlTmFtZShlbGVtZW50KTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBoYXNDb250ZW50ID0gaGFzQ29udGVudCBcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfHwgZWxlbWVudC5ub2RlTmFtZS50b0xvd2VyQ2FzZSgpID09PSBcImltZ1wiICYmIChwYWlyICYmIHBhaXIubmFtZSAmJiBwYWlyLm5hbWUudHJpbSgpLmxlbmd0aCA+IDApLyoqQVJJQU1hcHBlci5jb21wdXRlTmFtZShlbGVtZW50KS50cmltKCkubGVuZ3RoID4gMCovO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgaGFzQ29udGVudCA9IGhhc0NvbnRlbnQgXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfHwgbncubm9kZS5ub2RlVHlwZSA9PT0gMyAmJiBudy5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ICAgICAgICBub2RlTmFtZSA9PSBcImFcIiB8fCBub2RlTmFtZSA9PSBcImJ1dHRvblwiKSk7XG5cbiAgICAgICAgbGV0IGZhaWxlZE1vdXNlRXZlbnRzID0gbmV3IEFycmF5KCk7XG4gICAgICAgIGlmICghcGFzc2VkKSB7XG4gICAgICAgICAgICAvL3N0b3JlIGFuZCBkaXNwbGF5IGV2ZW50IG5hbWUgYW5kIG5vZGUgbmFtZSBpbiB0aGUgdG9rZW5zXG4gICAgICAgICAgICBpZiAocnVsZUNvbnRleHQuaGFzQXR0cmlidXRlKFwib25kYmxjbGlja1wiKSkge1xuICAgICAgICAgICAgICAgIGZhaWxlZE1vdXNlRXZlbnRzLnB1c2goXCJvbmRibGNsaWNrXCIpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgaWYgKHJ1bGVDb250ZXh0Lmhhc0F0dHJpYnV0ZShcIm9ubW91c2Vtb3ZlXCIpKSB7XG4gICAgICAgICAgICAgICAgZmFpbGVkTW91c2VFdmVudHMucHVzaChcIm9ubW91c2Vtb3ZlXCIpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgaWYgKHJ1bGVDb250ZXh0Lmhhc0F0dHJpYnV0ZShcIm9ubW91c2Vkb3duXCIpICYmICFydWxlQ29udGV4dC5oYXNBdHRyaWJ1dGUoXCJvbmtleWRvd25cIikpIHtcbiAgICAgICAgICAgICAgICBmYWlsZWRNb3VzZUV2ZW50cy5wdXNoKFwib25tb3VzZWRvd25cIik7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBpZiAocnVsZUNvbnRleHQuaGFzQXR0cmlidXRlKFwib25tb3VzZXVwXCIpICYmICFydWxlQ29udGV4dC5oYXNBdHRyaWJ1dGUoXCJvbmtleXVwXCIpKSB7XG4gICAgICAgICAgICAgICAgZmFpbGVkTW91c2VFdmVudHMucHVzaChcIm9ubW91c2V1cFwiKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGlmIChydWxlQ29udGV4dC5oYX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YW5zZm9ybXMgPSBbXTtcbiAgICAgICAgT2JqZWN0LmtleXMob3JpZW50YXRpb25UcmFuc2Zvcm1zKS5mb3JFYWNoKGtleSA9PiB7XG4gICAgICAgICAgICBPYmplY3Qua2V5cyhvcmllbnRhdGlvblRyYW5zZm9ybXNba2V5XSkuZm9yRWFjaCh0YWcgPT4ge1xuICAgICAgICAgICAgICAgIGlmIChPYmplY3Qua2V5cyhvcmllbnRhdGlvblRyYW5zZm9ybXNba2V5XVt0YWddKS5sZW5ndGggPiAwICYmIENTU1V0aWwuc2VsZWN0b3JNYXRjaGVzRWxlbShydWxlQ29udGV4dCwgdGFnKSkge1xuICAgICAgICAgICAgICAgICAgICBpZiAob3JpZW50YXRpb25UcmFuc2Zvcm1zW2tleV1bdGFnXS50cmFuc2Zvcm0pXG4gICAgICAgICAgICAgICAgICAgICAgICBtZWRpYV90cmFuc2Zvcm1zLnB1c2gob3JpZW50YXRpb25UcmFuc2Zvcm1zW2tleV1bdGFnXS50cmFuc2Zvcm0pO1xuICAgICAgICAgICAgICAgICAgICBlbHNlXG4gICAgICAgICAgICAgICAgICAgICAgICBtZWRpYV90cmFuc2Zvcm1zLnB1c2gob3JpZW50YXRpb25UcmFuc2Zvcm1zW2tleV1bdGFnXSk7XG4gICAgICAgICAgICAgICAgfSAgICBcbiAgICAgICAgICAgIH0pO1xuICAgICAgICB9KTtcbiAgICAgICAgXG4gICAgICAgIC8vIG5vIG1hdGNoLCB0aGUgZWxlbWVudCBpcyBub3QgaW4gbWVkaWEgb3JpZW50YXRpb24gdHJhbnNmb3JtXG4gICAgICAgIGlmIChtZWRpYV90cmFuc2Zvcm1zLmxlbmd0aCA9PT0gMCkgcmV0dXJuIG51bGw7XG4gICAgICAgIFxuICAgICAgICBsZXQgcmV0ID0gW107XG4gICAgICAgIGZvciAobGV0IGk9MDsgaSA8IG1lZGlhX3RyYW5zZm9ybXMubGVuZ3RoOyBpKyspIHtcbiAgICAgICAgICAgIGxldCBtZWRpYV90cmFuc2Zvcm0gPSBtZWRpYV90cmFuc2Zvcm1zW2ldO1xuICAgICAgICAgICAgaWYgKHR5cGVvZiBtZWRpYV90cmFuc2Zvcm0gPT09ICdvYmplY3QnKVxuICAgICAgICAgICAgICAgIGZvcih2YXIga2V5IGluIG1lZGlhX3RyYW5zZm9ybSlcbiAgICAgICAgICAgICAgICAgICAgbWVkaWFfdHJhbnNmb3JtID0ga2V5ICtcIihcIiArIG1lZGlhX3RyYW5zZm9ybVtrZXldICtcIilcIjtcbiAgICAgICAgICAgIFxuICAgICAgICAgICAgbGV0IGNvbnRhaW5zUm90YXRpb24gPSBmYWxzZTtcbiAgICAgICAgICAgIFsncm90YXRlJywgJ3JvdGF0ZTNkJywgJ3JvdGF0ZVonLCAnbWF0cml4JywgJ21hdHJpeDNkJ10uZm9yRWFjaChyb3RhdGlvbiA9PiB7XG4gICAgICAgICAgICAgICAgaWYgKG1lZGlhX3RyYW5zZm9ybS5pbmNsdWRlcyhyb3RhdGlvbikpIGNvbnRhaW5zUm90YXRpb24gPSB0cnVlO1xuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAvLyBubyByb3RhdGlvbiB0cmFuc2Zvcm0sIHNraXBcbiAgICAgICAgICAgIGlmICghY29udGFpbnNSb3RhdGlvbikgY29udGludWU7XG5cbiAgICAgICAgICAgIGxldCBkZWdyZWUgPSBDU1NVdGlsLmdldFJvdGF0aW9uRGVncmVlKG1lZGlhX3RyYW5zZm9ybSk7XG4gICAgICAgICAgICBcbiAgICAgICAgICAgIC8vIG5vIG9yIDM2MG4gZGVncmVlIHJvdGF0aW9uIFxuICAgICAgICAgICAgaWYgKGRlZ3JlZSA9PT0gMCkgeyBcbiAgICAgICAgICAgICAgICByZXQucHVzaChSdWxlUGFzcyhcInBhc3NcIikpO1xuICAgICAgICAgICAgICAgIGNvbnRpbnVlO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgLyoqXG4gICAgICAgICAgICAgKiBjYWxjdWxhdGUgdGhlIG9yaWd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XB0XCIsIFwibWV0YVwiXSkgIT09IG51bGwgXG4gICAgICAgICAgICB8fCBub2RlTmFtZSA9PT0gXCJib2R5XCIgfHwgbm9kZU5hbWUgPT09IFwiaHRtbFwiIClcbiAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICBcbiAgICAgICAgY29uc3QgbWFwcGVyIDogRE9NTWFwcGVyID0gbmV3IERPTU1hcHBlcigpO1xuICAgICAgICBjb25zdCBib3VuZHMgPSBtYXBwZXIuZ2V0VW5hZGp1c3RlZEJvdW5kcyhydWxlQ29udGV4dCk7OyAgICBcbiAgICAgICAgXG4gICAgICAgIC8vaW4gY2FzZSB0aGUgYm91bmRzIG5vdCBhdmFpbGFibGVcbiAgICAgICAgaWYgKCFib3VuZHMpIHJldHVybiBudWxsO1xuICAgICAgICBcbiAgICAgICAgLy9pZ25vcmUgaWYgb2Zmc2NyZWVuXG4gICAgICAgIGlmIChib3VuZHNbJ2hlaWdodCddID09PSAwIHx8IGJvdW5kc1snd2lkdGgnXSA9PT0gMCApIFxuICAgICAgICAgICAgcmV0dXJuIG51bGw7XG5cbiAgICAgICAgY29uc3QgZG9jID0gcnVsZUNvbnRleHQub3duZXJEb2N1bWVudDtcbiAgICAgICAgaWYgKCFkb2MpIHtcbiAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICB9XG4gICAgICAgIGNvbnN0IHdpbiA9IGRvYy5kZWZhdWx0VmlldztcblxuICAgICAgICBpZiAoIXdpbikge1xuICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgIH1cbiAgICAgICAgXG4gICAgICAgIGNvbnN0IGNTdHlsZSA9IHdpbi5nZXRDb21wdXRlZFN0eWxlKHJ1bGVDb250ZXh0KTtcblxuICAgICAgICBpZiAoY1N0eWxlID09PSBudWxsKSBcbiAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICBcbiAgICAgICAgbGV0IHppbmRleCA9IGNTdHlsZS56SW5kZXg7ICAgXG4gICAgICAgIGlmICghemluZGV4IHx8IHppbmRleCA9PT0gJ2F1dG8nKVxuICAgICAgICAgICAgemluZGV4ID0gXCIwXCI7XG4gICAgICAgIFxuICAgICAgICBjb25zdCBlbGVtcyA9IGRvYy5xdWVyeVNlbGVjdG9yQWxsKCdib2R5ICo6bm90KHNjcmlwdCknKTtcblxuICAgICAgICBpZiAoIWVsZW1zIHx8IGVsZW1zLmxlbmd0aCA9PSAwKVxuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAgXG4gICAgICAgIGxldCB2aW9sYXRpb25zID0gW107XG4gICAgICAgIGxldCBiZWZvcmUgPSB0cnVlO1xuICAgICAgICBlbGVtcy5mb3JFYWNoKGVsZW0gPT4ge1xuICAgICAgICAgICAgLyoqXG4gICAgICAgICAgICAgKiAgdGhlIG5vZGVzIHJldHVybmVkIGZyb20gcXVlcnlTZWxlY3RvckFsbCBpcyBpbiBkb2N1bWVudCBvcmRlclxuICAgICAgICAgICAgICogIGlmIHR3byBlbGVtZW50cyBvdmVybGFwIGFuZCB6LWluZGV4IGFyZSBub3QgZGVmaW5lZCwgdGhlbiB0aGUgbm9kZSByZW5kZXJlZCBlYXJsaWVyIHdpbGwgYmUgb3ZlcmxhaWQgYnkgdGhlIG5vZGUgcmVuZGVyZWQgbGF0ZXJcbiAgICAgICAgICAgICAqL1xuICAgICAgICAgICAgaWYgKHJ1bGVDb250ZXh0LmNvbnRhaW5zKGVsZW0pKSB7XG4gICAgICAgICAgICAgICAgLy90aGUgbmV4dCBub2RlIGluIGVsZW1zIHdpbGwgYmUgYWZ0ZXIgdGhlIHRhcmdldCBub2RlIChydWxlQ29udGV4dCkuIFxuICAgICAgICAgICAgICAgIGJlZm9yZSA9IGZhbHNlO1xuICAgICAgICAgICAgfSBlbHNlIGlmIChWaXNVdGlsLmlzTm9kZVZpc2libGUoZWxlbSkgJiYgIWVsZW0uY29udGFpbnMocnVsZUNvbnRleHQpKSB7XG4gICAgICAgICAgICAgICAgY29uc3QgYm5kcyA9IG1hcHBlci5nZXRVbmFkanVzdGVkQm91bmRzKGVsZW0pO1xuICAgICAgICAgICAgICAgIGNvbnN0IHpTdHlsZSA9IHdpbi5nZXRDb21wdXRlZFN0eWxlKGVsZW0pOyBcbiAgICAgICAgICAgICAgICBsZXQgel9pbmRleCA9ICcwJztcbiAgICAgICAgICAgICAgICBpZiAoelN0eWxlKSB7XG4gICAgICAgICAgICAgICAgICAgIHpfaW5kZXggPSB6U3R5bGUuekluZGV4O1xuICAgICAgICAgICAgICAgICAgICBpZiAoIXpfaW5kZXggfHwgaXNOYU4oTnVtYmVyKHpfaW5kZXgpKSlcbiAgICAgICAgICAgICAgICAgICAgICAgIHpfaW5kZXggPSBcIjBcIjtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgaWYgKGJuZHMuaGVpZ2h0ICE9PSAwICYmIGJuZHMud2lkdGggIT09IDAgIFxuICAgICAgICAgICAgICAgICAgICAmJiBibmRzLnRvcCA8PSBib3VuZHMudG9wICYmIGJuZHMubGVmdCA8PSBib3VuZHMubGVmdCAmJiBibmRzLnRvcCArIGJuZHMuaGVpZ2h0ID49IGJvdW5kcy50b3AgKyBib3VuZHMuaGVpZ2h0IFxuICAgICAgICAgICAgICAgICAgICAmJiBibmRzLmxlZnQgKyBibmRzLmhlaWdodCA+PSBib3VuZHMubGVmdCArIGJvdW5kcy53aWR0aCBcbiAgICAgICAgICAgICAgICAgICAgJiYgKGJlZm9yZSA/IHBhcnNlSW50KHppbmRleCkgPCBwYXJzZUludCh6X2luZGV4KTogcGFyc2VJbnQoemluZGV4KSA8PSBwYXJzZUludCh6X2luZGV4KSkpXG4gICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICB2aW9sYXRpb25zLnB1c2goZWxlbSk7IFxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0gIFxuICAgICAgICB9KTtcbiAgICAgICAgXG4gICAgICAgIGlmICh2aW9sYXRpb25zLmxlbmd0aCA+IDApIHtcb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zX3N0eWxlcyA9IENTU1V0aWwuZ2V0RGVmaW5lZFN0eWxlcyhydWxlQ29udGV4dCwgXCI6Zm9jdXNcIik7XG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IGZvY3VzX3Zpc2libGVfc3R5bGVzID0gQ1NTVXRpbC5nZXREZWZpbmVkU3R5bGVzKHJ1bGVDb250ZXh0LCBcIjpmb2N1cy12aXNpYmxlXCIpO1xuICAgICAgICAgICAgICAgICAgICBjb25zdCBmb2N1c193aXRoaW5fc3R5bGVzID0gQ1NTVXRpbC5nZXREZWZpbmVkU3R5bGVzKHJ1bGVDb250ZXh0LCBcIjpmb2N1cy13aXRoaW5cIik7XG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IGNoZWNrZWRfc3R5bGVzID0gQ1NTVXRpbC5nZXREZWZpbmVkU3R5bGVzKHJ1bGVDb250ZXh0LCBcIjpjaGVja2VkXCIpO1xuICAgICAgICAgICAgICAgICAgICBcbiAgICAgICAgICAgICAgICAgICAgaWYgKGZvY3VzX3N0eWxlcyB8fCBmb2N1c192aXNpYmxlX3N0eWxlcyB8fCBmb2N1c193aXRoaW5fc3R5bGVzIHx8IGNoZWNrZWRfc3R5bGVzKVxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFJ1bGVQYXNzKFwicGFzc1wiKTtcbiAgICAgICAgICAgICAgICB9ICAgICBcbiAgICAgICAgICAgIH0gICAgXG4gICAgICAgICAgICByZXR1cm4gUnVsZVBvdGVudGlhbChcInBvdGVudGlhbF92aXNpYmxlXCIsIFtdKTtcbiAgICAgICAgfSAgICBcblxuICAgICAgICBpZiAoYm91bmRzWyd0b3AnXSA+PSAwICYmIGJvdW5kc1snbGVmdCddID49IDApXG4gICAgICAgICAgICByZXR1cm4gUnVsZVBhc3MoXCJwYXNzXCIpO1xuICAgICAgICBcbiAgICAgICAgY29uc3QgZGVmYXVsdF9zdHlsZXMgPSBnZXRDb21wdXRlZFN0eWxlKHJ1bGVDb250ZXh0KTtcbi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ICAgICAgICAgICAgICAgICB0b3AgPSBOdW1iZXIuTUlOX1ZBTFVFOyAgIFxuICAgICAgICAgICAgICAgIH0gICAgIFxuICAgICAgICAgICAgfSBcbiAgICAgICAgICAgIGlmICh0eXBlb2Ygb25mb2N1c19zdHlsZXNbJ2xlZnQnXSAhPT0gJ3VuZGVmaW5lZCcpIHtcbiAgICAgICAgICAgICAgICBpZiAocG9zaXRpb25zLmluY2x1ZGVzKG9uZm9jdXNfc3R5bGVzWydwb3NpdGlvbiddKSB8fCAodHlwZW9mIG9uZm9jdXNfc3R5bGVzWydwb3NpdGlvbiddID09PSAndW5kZWZpbmVkJyAmJiBwb3NpdGlvbnMuaW5jbHVkZXMoZGVmYXVsdF9zdHlsZXNbJ3Bvc2l0aW9uJ10pKSkge1xuICAgICAgICAgICAgICAgICAgICBsZWZ0ID0gb25mb2N1c19zdHlsZXNbJ2xlZnQnXS5yZXBsYWNlKC9cXEQvZywnJyk7XG4gICAgICAgICAgICAgICAgfSBlbHNlIHsgXG4gICAgICAgICAgICAgICAgICAgIC8vIHRoZSBwb3NpdGlvbiBpcyB1bmRlZmluZWQgYW5kIHRoZSBwYXJlbnQncyBwb3NpdGlvbiBpcyAncmVsYXRpdmUnXG4gICAgICAgICAgICAgICAgICAgIGxlZnQgPSBOdW1iZXIuTUlOX1ZBTFVFOyAgIFxuICAgICAgICAgICAgICAgIH0gICAgIFxuICAgICAgICAgICAgfSAgICBcbiAgICAgICAgfVxuICAgICAgICBcbiAgICAgICAgaWYgKHRvcCA+PSAwICYmIGxlZnQgPj0gMClcbiAgICAgICAgICAgIHJldHVybiBSdWxlUGFzcyhcInBhc3NcIik7XG4gICAgICAgIGVsc2VcbiAgICAgICAgICAgIHJldHVybiBSdWxlUG90ZW50aWFsKFwicG90ZW50aWFsX3Zpc2libGVcIiwgW10pO1xuICAgIH1cbn1cbiIsIi8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq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lQmVTa2lwcGVkSGlkZGVuKHdhbGtOb2RlKSB0byB0aGUgYmVsb3dcbiAgICAgICAgICAgIC8vIGlmLlxuICAgICAgICAgICAgaWYgKHdhbGtOb2RlLm5vZGVOYW1lID09IFwiI3RleHRcIikge1xuICAgICAgICAgICAgICAgIHRlc3RUZXh0ICs9IFwiIFwiICsgd2Fsa05vZGUubm9kZVZhbHVlO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgd2Fsa05vZGUgPSB3YWxrTm9kZS5uZXh0U2libGluZztcbiAgICAgICAgfVxuXG4gICAgICAgIGlmICh0ZXN0VGV4dC50cmltKCkubGVuZ3RoID4gMCkge1xuICAgICAgICAgICAgZm9yIChsZXQgaiA9IDA7IHBhc3NlZCAmJiBqIDwgZW1vdGljb25zLmxlbmd0aDsgKytqKSB7XG4gICAgICAgICAgICAgICAgbGV0IGVtb3RJZHggPSB0ZXN0VGV4dC5pbmRleE9mKGVtb3RpY29uc1tqXSk7XG4gICAgICAgICAgICAgICAgbGV0IGVMbmd0aCA9IGVtb3RpY29uc1tqXS5sZW5ndGg7XG4gICAgICAgICAgICAgICAgd2hpbGUgKHBhc3NlZCAmJiBlbW90SWR4ICE9IC0xKSB7XG4gICAgICAgICAgICAgICAgICAgIC8vIFBhc3NlcyBpZjogdGhlIGVtb3RpY29uIGlzIG5vdCBwcmVjZWRlZCBieSB3aGl0ZXNwYWNlLFxuICAgICAgICAgICAgICAgICAgICAvLyBvciB0aGUgZW1vdGljb24gaXMgbm90IGZvbGxvd2VkIGJ5IHdoaXRlc3BhY2UgdW5sZXNzIGl0J3MgcHVuY3R1YXRpb24sXG4gICAgICAgICAgICAgICAgICAgIC8vIG9yIGl0J3MgaW4gYSBwcmUsIGNvZGUsIG9yIHNjcmlwdFxuICAgICAgICAgICAgICAgICAgICBwYXNzZWQgPVxuICAgICAgICAgICAgICAgICAgICAgICAgKGVtb3RJZHggPiAwICYmICEvXFxzLy50ZXN0KHRlc3RUZXh0LnN1YnN0cmluZyhlbW90SWR4IC0gMSwgZW1vdElkeCkpKSB8fFxuICAgICAgICAgICAgICAgICAgICAgICAgKGVtb3RJZHggPCB0ZXN0VGV4dC5sZW5ndGggLSBlTG5ndGggJiYgIS9cXHMvLnRlc3QodGVzdFRleHQuc3Vic3RyaW5nKGVtb3RJZHggKyBlTG5ndGgsIGVtb3RJZHggKyBlTG5ndGggKyAxKSkgJiZcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAhL1suLCEnXCI/XS8udGVzdCh0ZXN0VGV4dC5zdWJzdHJpbmcoZW1vdElkeCArIGVMbmd0aCwgZW1vdElkeCArIGVMbmd0aCArIDEpKSk7XG5cbiAgICAgICAgICAgICAgICAgICAgLy8gQWxsb3cgdXNhZ2Ugb2YgKDogc3R1ZmYgOikgc2luY2UgdGhpcyBpcyBhIGNvbW1lbnQgaW4gc29tZSBsYW5ndWFnZXNcbiAgICAgICAgICAgICAgICAgICAgcGFzc2VkID0gcGFzc2VkIHx8ICgoZW1vdGljb25zW2pdID09IFwiOilcIiB8fCBlbW90aWNvbnNbal0gPT0gXCIoOlwiKSAmJiAvXFwoXFw6LipcXDpcXCkvLnRlc3QodGVzdFRleHQpKTtcbiAgICAgICAgICAgICAgICAgICAgcGFzc2VkID0gcGFzc2VkIHx8ICgoZW1vdGljb25zW2pdID09IFwiOylcIiB8fCBlbW90aWNvbnNbal0gPT0gXCIoO1wiKSAmJiAvXFwoXFw7LipcXDtcXCkvLnRlc3QodGVzdFRleHQpKTtcbiAgICAgICAgICAgICAgICAgICAgZW1vdElkeCA9IHRlc3RUZXh0LmluZGV4T2YoZW1vdGljb25zW2pdLCBlbW90SWR4ICsgMSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgaWYgKCFwYXNzZWQpIHtcbiAgICAgICAgICAgIC8vIERvbid0IHRyaWdnZXIgaWYgd2UncmUgbm90IGluIHRoZSBib2R5IG9yIGlmIHdlJ3JlIGluIGEgc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B1dFwiLFxuICAgICAgICAgICAgbnVsbFxuICAgICAgICApO1xuICAgICAgICBcbiAgICAgICAgaWYgKCFmb3JtQ2FjaGUpIHtcbiAgICAgICAgICAgIGZvcm1DYWNoZSA9IHtcbiAgICAgICAgICAgICAgICBncm91cHNXaXRoSW5wdXRzOiBbXSxcbiAgICAgICAgICAgICAgICBncm91cHNXaXRoSW5wdXRzQ29tcHV0ZWRMYWJlbHM6IFtdLFxuICAgICAgICAgICAgfTtcbiAgICAgICAgICAgIGxldCBhbGxHcm91cHNUZW1wID0gb3duZXJEb2N1bWVudC5xdWVyeVNlbGVjdG9yQWxsKFxuICAgICAgICAgICAgICAgICdmaWVsZHNldCxbcm9sZT1cImdyb3VwXCJdJ1xuICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIGxldCBhbGxHcm91cHMgPSBBcnJheS5mcm9tKGFsbEdyb3Vwc1RlbXApO1xuICAgICAgICAgICAgbGV0IGdyb3Vwc1dpdGhJbnB1dHMgPSBbXTtcbiAgICAgICAgICAgIGZvciAobGV0IGkgPSAwOyBpIDwgYWxsR3JvdXBzLmxlbmd0aDsgaSsrKSB7XG4gICAgICAgICAgICAgICAgLy8gTG9vcCBvdmVyIGFsbCB0aGUgZ3JvdXAgbm9kZXNcbiAgICAgICAgICAgICAgICBpZiAoYWxsR3JvdXBzW2ldLnF1ZXJ5U2VsZWN0b3IoXCJpbnB1dFwiKSkge1xuICAgICAgICAgICAgICAgICAgICBncm91cHNXaXRoSW5wdXRzLnB1c2goYWxsR3JvdXBzW2ldKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBsZXQgZ3JvdXBzV2l0aElucHV0c0NvbXB1dGVkTGFiZWxzID0gW107XG4gICAgICAgICAgICBmb3IgKGxldCBpID0gMDsgaSA8IGdyb3Vwc1dpdGhJbnB1dHMubGVuZ3RoOyBpKyspIHtcbiAgICAgICAgICAgICAgICBjb25zdCBwYWlyID0gQWNjTmFtZVV0aWw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V0gPT09IFwiXCIgfHxcbiAgICAgICAgICAgICAgICAgICAgZm9ybUNhY2hlLmdyb3Vwc1dpdGhJbnB1dHNDb21wdXRlZExhYmVsc1tpXSA9PT0gbnVsbFxuICAgICAgICAgICAgICAgICkge1xuICAgICAgICAgICAgICAgICAgICAvLyBjb25zb2xlLmxvZyhcIkZhaWxfMVwiKVxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gUnVsZUZhaWwoXCJGYWlsXzFcIik7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGxldCBmb3VuZFNhbWVOYW1lRmxhZyA9IGZhbHNlO1xuICAgICAgICAgICAgICAgIGZvciAoXG4gICAgICAgICAgICAgICAgICAgIGxldCBqID0gMDtcbiAgICAgICAgICAgICAgICAgICAgaiA8IGZvcm1DYWNoZS5ncm91cHNXaXRoSW5wdXRzQ29tcHV0ZWRMYWJlbHMubGVuZ3RoO1xuICAgICAgICAgICAgICAgICAgICBqKytcbiAgICAgICAgICAgICAgICApIHtcbiAgICAgICAgICAgICAgICAgICAgaWYgKGkgPT0gaikge1xuICAgICAgICAgICAgICAgICAgICAgICAgY29udGludWU7XG4gICAgICAgICAgICAgICAgICAgIH0gLy8gV2UgZG8gbm90IHdhbnQgdG8gY29tcGFyZSBhZ2FpbnN0IG91cnNlbGZzXG4gICAgICAgICAgICAgICAgICAgIGlmIChcbiAgICAgICAgICAgICAgICAgICAgICAgIGZvcm1DYWNoZS5ncm91cHNXaXRoSW5wdXRzQ29tcHV0ZWRMYWJlbHNbaV0gPT09XG4gICAgICAgICAgICAgICAgICAgICAgICBmb3JtQ2FjaGUuZ3JvdXBzV2l0aElucHV0c0NvbXB1dGVkTGFiZWxzW2pdXG4gICAgICAgICAgICAgICAgICAgICkge1xuICAgICAgICAgICAgICAgICAgICAgICAgZm91bmRTYW1lTmFtZUZsYWcgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGlmIChmb3VuZFNhbWVOYW1lRmxhZykge1xuICAgICAgICAgICAgICAgICAgICAvLyBjb25zb2xlLmxvZyhcIkZhaWxfMlwiKVxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gUnVsZUZhaWwoXCJGYWlsXzJcIiwgW1xuICAgICAgICAgICAgICAgICAgICAgICAgZm9ybUNhY2hlLmdyb3Vwc1dpdGhJbnB1dHNDb21wdXRlZExhYmVsc1tpXSxcbiAgICAgICAgICAgICAgICAgICAgXSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGNvbXB1dGVkTmFtZSA9IGZvcm1DYWNoZS5ncm91cHNXaXRoSW5wdXRzQ29tcHV0ZWRMYWJlbHNbaV07XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgaWYgKCFydWxlQ29udGV4dEZvdW5kSW5ncm91cHNXaXRoSW5wdXRzRmxhZykge1xuICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCJudWxsIHJldHVyblwiKVxuICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgIH1cbiAgICAgICAgLy8gY29uc29sZS5sb2coXCJQYXNzXzFcIilcbiAgICAgICAgcmV0dXJuIFJ1bGVQYXNzKFwiUGFzc18xXCIsIFtjb21wdXRlZE5hbWVdKTtcbiAgICB9XG59IiwiLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuICBDb3B5cmlnaHQ6OiAyMDIyLSBJQk0sIEluY1xuICBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0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29sa2l0TGV2ZWwuTEVWRUxfVFdPXG4gICAgfV0sXG4gICAgYWN0OiBbXSxcbiAgICBydW46IChjb250ZXh0OiBSdWxlQ29udGV4dCwgb3B0aW9ucz86IHt9LCBjb250ZXh0SGllcmFyY2hpZXM/OiBSdWxlQ29udGV4dEhpZXJhcmNoeSk6IFJ1bGVSZXN1bHQgfCBSdWxlUmVzdWx0W10gPT4ge1xuICAgICAgICBjb25zdCBydWxlQ29udGV4dCA9IGNvbnRleHRbXCJkb21cIl0ubm9kZSBhcyBFbGVtZW50O1xuICAgICAgICBsZXQgcGFzc2VkID0gdHJ1ZTtcbiAgICAgICAgbGV0IGZvbnRzID0gcnVsZUNvbnRleHQuZ2V0RWxlbWVudHNCeVRhZ05hbWUoXCJmb250XCIpO1xuICAgICAgICBpZiAoZm9udHMgIT0gbnVsbCkge1xuICAgICAgICAgICAgZm9yIChsZXQgaSA9IDA7IGkgPCBmb250cy5sZW5ndGg7ICsraSkge1xuICAgICAgICAgICAgICAgIHBhc3NlZCA9ICFmb250c1tpXS5oYXNBdHRyaWJ1dGUoXCJjb2xvclwiKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICBpZiAocGFzc2VkKSByZXR1cm4gUnVsZVBhc3MoXCJQYXNzXzBcIik7XG4gICAgICAgIGlmICghcGFzc2VkKSByZXR1cm4gUnVsZVBvdGVudGlhbChcIlBvdGVudGlhbF8xXCIpO1xuXG4gICAgfVxufSIsIi8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcbiAgQ29weXJpZ2h0OjogMjAyMi0gSUJNLCBJbmNcbiAgTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAgeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB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ldyBOb2RlV2Fsa2VyKHJ1bGVDb250ZXh0LCB0cnVlKTtcbiAgICAgICAgICAgIGxldCBudyA9IG5ldyBET01XYWxrZXIocnVsZUNvbnRleHQsIHRydWUpO1xuICAgICAgICAgICAgd2hpbGUgKCFwYXNzZWQgJiYgbncucHJldk5vZGUoKSAmJiBudy5ub2RlICE9IHJ1bGVDb250ZXh0KSB7XG4gICAgICAgICAgICAgICAgaWYgKCFudy5iRW5kVGFnKSB7XG4gICAgICAgICAgICAgICAgICAgIGxldCBub2RlTmFtZSA9IG53Lm5vZGUubm9kZU5hbWUudG9Mb3dlckNhc2UoKTtcbiAgICAgICAgICAgICAgICAgICAgaWYgKG5vZGVOYW1lID09PSBcImlucHV0XCIpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCB0eXBlID0gbncuZWxlbSgpLmdldEF0dHJpYnV0ZShcInR5cGVcIik7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAodHlwZSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGUgPSB0eXBlLnRvTG93ZXJDYXNlKCk7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICBwYXNzZWQgPSB0eXBlID09PSBcInN1Ym1pdFwiIHx8IHR5cGUgPT09IFwiaW1hZ2VcIjtcbiAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmIChub2RlTmFtZSA9PT0gXCJidXR0b25cIikge1xuICAgICAgICAgICAgICAgICAgICAgICAgcGFzc2VkID0gbncuZWxlbSgpLmhhc0F0dHJpYnV0ZShcInR5cGVcIikgJiYgbncuZWxlbSgpLmdldEF0dHJpYnV0ZShcInR5cGVcIikudG9Mb3dlckNhc2UoKSA9PT0gXCJzdWJtaXRcIjtcbiAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmIChudy5ub2RlLm5vZGVUeXBlID09PSAxKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBwYXNzZWQgPSBBcmlh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CAhTGFuZ1V0aWwudmFsaWRQcmltYXJ5TGFuZyhsYW5nWE1MKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgLy8gTGV0IEVsZW1fTGFuZ19WYWxpZCBoYW5kbGUgdGhpc1xuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgaWYgKCFMYW5nVXRpbC5tYXRjaFByaW1hcnlMYW5nKGxhbmcsIGxhbmdYTUwpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAvLyBYSFRNTCBhbmQgbGFuZyBhbmQgeG1sOmxhbmcsIGJ1dCB0aGV5IGRvbid0IG1hdGNoXG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gUnVsZUZhaWwoXCJGYWlsXzRcIiwgW2xhbmcsIGxhbmdYTUxdLCBbXSk7XG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gUnVsZUZhaWwoXCJGYWlsXzVcIiwgW2xhbmcsIGxhbmdYTUxdLCBbXSk7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAvLyBYSFRNTCBhbmQgbGFuZyBhbmQgeG1sOmxhbmcgbWF0Y2hcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFJ1bGVQYXNzKFwiUGFzc18wXCIsW2xhbmddKVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0gZWxzZSBpZiAobGFuZykge1xuICAgICAgICAgICAgICAgIC8vIFhIVE1MIGFuZCBvbmx5IGxhbmcgKG9rYXkgaWYgb25seSBkZWxpdmVyZWQgdmlhIHRleHQvaHRtbClcbiAgICAgICAgICAgICAgICByZXR1cm4gUnVsZVBvdGVudGlhbChcIlBvdGVudGlhbF81XCIpO1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAvLyBYSFRNTCBhbmQgb25seSB4bWw6bGFuZyAob2theSBpZiBvbmx5IGRlbGl2ZXJlZCB2aWEgeG1sIG1pbWUgdHlwZSlcbiAgICAgICAgICAgICAgICByZXR1cm4gUnVsZVBvdGVudGlhbChcIlBvdGVudGlhbF82XCIpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgaWYgKCFsYW5nKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIFJ1bGVGYWlsKFwiRmFpbF8zXCIpO1xuICAgICAgICAgICAgfSBlbHNlIGlmIChsYW5nICYmIGxhbmdYTUwpIHtcbiAgICAgICAgICAgICAgICAvLyBIVE1MNSBwb2x5Z2xvdCBkb2N1bWVudHNcbiAgICAgICAgICAgICAgICBpZiAobGFuZyAhPT0gbGFuZ1hNTCkge1xuICAgICAgICAgICAgICAgICAgICBpZiAoIUxhbmdVdGlsLnZhbGlkUHJpbWFyeUxhbmcobGFuZykgfHwgIUxhbmdVdGlsLnZhbGlkUHJpbWFyeUxhbmcobGFuZ1hNTCkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vIExldCBFbGVtX0xhbmdfVmFsaWQgaGFuZGxlIHRoaXNcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIGlmICghTGFuZ1V0aWwubWF0Y2hQcmltYXJ5TGFuZyhsYW5nLCBsYW5nWE1MKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgLy8gWEhUTUwgYW5kIGxhbmcgYW5kIHhtbDpsYW5nLCBidXQgdGhleSBkb24ndCBtYXRjaFxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFJ1bGVGYWlsKFwiRmFpbF80XCIsIFtsYW5nLCBsYW5nWE1MXSwgW10pO1xuICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgIC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GVuZ3RoOyArK2lkeCkge1xuICAgICAgICAgICAgICAgIGlmIChhbmNob3JzW2lkeF0uaGFzQXR0cmlidXRlKFwiaHJlZlwiKSkge1xuICAgICAgICAgICAgICAgICAgICBsZXQgaHJlZiA9IGFuY2hvcnNbaWR4XS5ocmVmO1xuICAgICAgICAgICAgICAgICAgICBpZiAodHlwZW9mIGhyZWYgIT09IHR5cGVvZiBcIlwiKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoaHJlZi5iYXNlVmFsKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaHJlZiA9IGhyZWYuYmFzZVZhbDtcbiAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaHJlZiA9IFwiXCI7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgbGV0IHRtcExvY2F0aW9uO1xuICAgICAgICAgICAgICAgICAgICBpZiAodHlwZW9mICgocnVsZUNvbnRleHQub3duZXJEb2N1bWVudCBhcyBhbnkpLmxvY2F0aW9uRnJvbURBUCkgIT0gXCJ1bmRlZmluZWRcIiAmJiAocnVsZUNvbnRleHQub3duZXJEb2N1bWVudCBhcyBhbnkpLmxvY2F0aW9uRnJvbURBUCAhPSBudWxsKSB7IC8vIERBUCBzZXRzIGl0XG4gICAgICAgICAgICAgICAgICAgICAgICB0bXBMb2NhdGlvbiA9IChydWxlQ29udGV4dC5vd25lckRvY3VtZW50IGFzIGFueSkubG9jYXRpb25Gcm9tREFQO1xuICAgICAgICAgICAgICAgICAgICB9IGVsc2UgeyAvLyBzZXJ2ZXIgc2NhbiBoYXMgdGhlIGxvY2F0aW9uIG9iamVjdFxuICAgICAgICAgICAgICAgICAgICAgICAgdG1wTG9jYXRpb24gPSBydWxlQ29udGV4dC5vd25lckRvY3VtZW50LmxvY2F0aW9uO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIGxldCBkb2NIcmVmID0gXCJcIjtcbiAgICAgICAgICAgICAgICAgICAgaWYgKHRtcExvY2F0aW9uKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBkb2NIcmVmID0gdG1wTG9jYXRpb24uaHJlZjtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAvLyBGaXggd2VpcmQgYnVncyB3aXRoIGhvdyB2YXJpb3VzIHBhcnNlcnMgcmVwb3J0IG9uIGZpbGU6IHVybCdzOlxuICAgICAgICAgICAgICAgICAgICBpZiAoaHJlZi5zdGFydHNXaXRoKFwiZmlsZTovLy9cIikpIGhyZWYgPSBcImZpbGU6L1wiICsgaHJlZi5zdWJzdHJpbmcoXCJmaWxlOi8vL1wiLmxlbmd0aCk7XG4gICAgICAgICAgICAgICAgICAgIGlmIChkb2NIcmVmLnN0YXJ0c1dpdGgoXCJmaWxlOi8vL1wiKSkgZG9jSHJlZiA9IFwiZmlsZTovXCIgKyBkb2NIcmVmLnN1YnN0cmluZyhcImZpbGU6Ly8vXCIubGVuZ3RoKTtcblxuICAgICAgICAgICAgICAgICAgICBpZiAoaHJlZi5jaGFyQXQoMCkgPT0gXCIjXCIgfHwgaHJlZi5zdGFydHNXaXRoKGRvY0hyZWYgKyBcIiNcIikpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCB0YXJnZXQgPSBDb21tb25VdGlsLmdldEZpbGVBbmNob3IoaHJlZik7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoRnJhZ21lbnRVdGlsLmdldEJ5SWQocnVsZUNvbnRleHQsIHRhcmdldCkgIT0gbnVsbClcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBwYXNzZWQgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgZWxzZVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRhcmdldHNbdGFyZ2V0XSA9IHRydWU7XG4gICAgICAgICAgICA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sZW5ndGg7ICsraSkge1xuICAgICAgICAgICAgICAgICAgICBwYXNzZWQgPSBhbHRUZXh0LmluZGV4T2YoYmFkVGV4dFtpXSkgPT0gLTE7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGlmIChwYXNzZWQpIHtcbiAgICAgICAgICAgICAgICAgICAgbGV0IHNyYyA9IHJ1bGVDb250ZXh0LmdldEF0dHJpYnV0ZSgobm9kZU5hbWUgPT0gXCJhcmVhXCIpID8gXCJocmVmXCIgOiBcInNyY1wiKTtcbiAgICAgICAgICAgICAgICAgICAgLy8gQWxsb3cgaXQgdG8gcGFzcyBpZiB0aGVyZSdzIG5vIHNyYyAtIGNhbid0IGRldGVybWluZSB0aGVzZS5cbiAgICAgICAgICAgICAgICAgICAgaWYgKHNyYyAhPSBudWxsKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAvLyBGYWlsIGlmIHRoZSBhbHQgbWF0Y2hlcyB0aGUgc3JjIGV4YWN0bHlcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vIEFsc28gZmFpbCBpZiB0aGUgYWx0IGhhcyBhIC4gaW4gaXQgYW5kIGVpdGhlciB0aGUgc3JjIGlzIGluIHRoZSBhbHQgb3IgdGhlIGFsdCBpcyBpbiB0aGUgc3JjXG4gICAgICAgICAgICAgICAgICAgICAgICBwYXNzZWQgPSBzcmMudHJpbSgpICE9IGFsdFRleHQgJiZcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAoYWx0VGV4dC5pbmRleE9mKFwiLlwiKSA9PSAtMSB8fCAoYWx0VGV4dC5pbmRleE9mKHNyYykgPT0gLTEgJiYgc3JjLmluZGV4T2YoYWx0VGV4dCkgPT0gLTEpKTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICBpZiAocGFzc2VkKSByZXR1cm4gUnVsZVBhc3MoXCJQYXNzXzBcIik7XG4gICAgICAg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mV3IERPTVdhbGtlcihhTm9kZSk7XG4gICAgICAgICAgICB3aGlsZSAocGFzc2VkICYmIHdhbGsucHJldk5vZGUoKSkge1xuICAgICAgICAgICAgICAgIC8vIEdldCB0aGUgbm9kZSBhbmQgbm9kZU5hbWVcbiAgICAgICAgICAgICAgICBsZXQgbm9kZSA9IHdhbGsubm9kZTtcbiAgICAgICAgICAgICAgICBsZXQgbm9kZU5hbWUgPSBub2RlLm5vZGVOYW1lLnRvTG93ZXJDYXNlKCk7XG4gICAgICAgICAgICAgICAgaWYgKChub2RlTmFtZSA9PSBcIiN0ZXh0XCIgJiYgbm9kZS5ub2RlVmFsdWUubGVuZ3RoID4gMCkgfHxcbiAgICAgICAgICAgICAgICAgICAgKG5vZGVOYW1lID09IFwiaW1nXCIgJiYgQ29tbW9uVXRpbC5hdHRyaWJ1dGVOb25FbXB0eShub2RlLCBcImFsdFwiKSkpIHtcbiAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIC8vIENvbXBseSB3aXRoIHRoZSBDaGVjayBIaWRkZW4gQ29udGVudCBTZXR0aW5nIGlmIHRoZSBhIGVsZW1lbnQgc2hvdWxkIGJlIGNoZWNrZWQgb3Igbm90XG4gICAgICAgICAgICAgICAgZWxzZSBpZiAobm9kZU5hbWUgPT09IFwiYVwiICYmICFDb21tb25VdGlsLnNob3VsZE5vZGVCZVNraXBwZWRIaWRkZW4obm9kZSkpIHtcbiAgICAgICAgICAgICAgICAgICAgLy8gVGV4dCBiZWZvcmUgaW1hZ2UgbGlua1xuICAgICAgICAgICAgICAgICAgICBwYXNzZWQgPSAoKG5vZGUgYXMgSFRNTEVsZW1lbnQpLmlubmVyVGV4dCB8fCBub2RlLnRleHRDb250ZW50IHx8IFwiXCIpLnRyaW0oKS50b0xvd2VyQ2FzZSgpICE9IGFsdFRleHQ7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgaWYgKCFwYXNzZWQpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gUnVsZUZhaWwoXCJGYWlsXzJcIik7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICAvL3dhbGsgPSBuZXcgTm9kZVdhbGtlcihhTm9kZSwgdHJ1ZSk7XG4gICAgICAgICAgICB3YWxrID0gbmV3IERPTVdhbGtlcihhTm9kZSwgdHJ1ZSk7XG4gICAgICAgICAgICB3aGlsZSAocGFzc2VkICYmIHdhbGsubmV4dE5vZGUoKSkge1xuICAgICAgICAgICAgICAgIC8vIEdldCB0aGUgbm9kZSBhbmQgbm9kZU5hbWVcbiAgICAgICAgICAgICAgICBsZXQgbm9kZSA9IHdhbGsubm9kZTtcbiAgICAgICAgICAgICAgICBsZXQgbm9kZU5hbWUgPSBub2RlLm5vZGVOYW1lLnRvTG93ZXJDYXNlKCk7XG5cbiAgICAgICAgICAgICAgICBpZiAoKG5vZGVOYW1lID09IFwiI3RleHRcIiAmJiBub2RlLm5vZGVWYWx1ZS5sZW5ndGggPiAwKSB8fFxuICAgICAgICAgICAgICAgICAgICAobm9kZU5hbWUgPT0gXCJpbWdcIiAmJiBDb21tb25VdGlsLmF0dHJpYnV0ZU5vbkVtcHR5KG5vZGUsIFwiYWx0XCIpKSkge1xuICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgLy8gQ29tcGx5IHdpdGggdGhlIENoZWNrIEhpZGRlbiBDb250ZW50IFNldHRpbmcgaWYgdGhlIGEgZWxlbWVudCBzaG91bGQgYmUgY2hlY2tlZCBvciBub3RcbiAgICAgICAgICAgICAgICBlbHNlIGlmIChub2RlTmFtZSA9PSBcImFcIiAmJiAhQ29tbW9uVXRpbC5zaG91bGROb2RlQmVTa2lwcGVkSGlkZGVuKG5vZGUpKSB7XG4gICAgICAgICAgICAgICAgICAgIHBhc3NlZCA9IChub2RlIGFzIEhUTUxFbGVtZW50KS5pbm5lclRleHQudH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IC8vIHRoZSBpbWcgaGFzIG5vbi1lbXB0eSBhcmlhIGxhYmVsXG4gICAgICAgICAgICByZXR1cm4gUnVsZVBhc3MoXCJwYXNzXCIpO1xuICAgICAgICB9XG5cbiAgICAgICAgbGV0IGFsdCA9IHJ1bGVDb250ZXh0Lmhhc0F0dHJpYnV0ZShcImFsdFwiKSA/IHJ1bGVDb250ZXh0LmdldEF0dHJpYnV0ZShcImFsdFwiKSA6IG51bGw7XG4gICAgICAgIFxuICAgICAgICAvLyBjaGVjayB0aXRsZSBhdHRyaWJ1dGVcbiAgICAgICAgaWYgKGFsdCA9PT0gbnVsbCkge1xuICAgICAgICAgICAgLy8gdGhlIGltZyBoYXMgbm8gYWx0IG9yIGF0dHJpYnV0ZSwgZXhhbWluZSB0aGUgdGl0bGUgYXR0cmlidXRlXG4gICAgICAgICAgICBsZXQgdGl0bGUgPSBydWxlQ29udGV4dC5oYXNBdHRyaWJ1dGUoXCJ0aXRsZVwiKSA/IHJ1bGVDb250ZXh0LmdldEF0dHJpYnV0ZShcInRpdGxlXCIpIDogbnVsbDtcbiAgICAgICAgICAgIGlmICh0aXRsZSA9PT0gbnVsbCB8fCB0aXRsZS5sZW5ndGggPT09IDApIHtcbiAgICAgICAgICAgICAgICAvLyBubyB0aXRsZSBvciB0aXRsZSBpcyBlbXB0eSwgZXhhbWluZSBhbHQgZnVydGhlclxuICAgICAgICAgICAgICAgIGlmIChhbHQgPT09IG51bGwpIHtcbiAgICAgICAgICAgICAgICAgICAgbGV0IHJvbGUgPSBBcmlhVXRpbC5nZXRSZXNvbHZlZFJvbGUocnVsZUNvbnRleHQsIGZhbHNlKTtcbiAgICAgICAgICAgICAgICAgICAgaWYgKHJvbGUgPT09ICdwcmVzZW50YXRpb24nIHx8IHJvbGUgPT09ICdub25lJylcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBSdWxlUGFzcyhcInBhc3NcIik7XG4gICAgICAgICAgICAgICAgICAgIFxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gUnVsZUZhaWwoXCJmYWlsX25vX2FsdFwiKTtcbiAgICAgICAgICAgICAgICB9ICAgIFxuICAgICAgICAgICAgICAgIGlmIChhbHQubGVuZ3RoID09PSAwKVxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gUnVsZVBhc3MoXCJwYXNzXCIpOyBcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgaWYgKHRpdGxlLnRyaW0oKS5sZW5ndGggPT09IDApIHtcbiAgICAgICAgICAgICAgICAgICAgLy8gdGl0bGUgY29udGFpbnMgYmxhbmsgc3BhY2Ugb25seSAodGl0bGU9XCIgIFwiKVxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gUnVsZUZhaWwoXCJmYWlsX2JsYW5rX3RpdGxlXCIpOyBcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgLy8gdGl0bGUgY29udGFpbnMgc29tZSB0ZXh0ICh0aXRsZT1cInNvbWUgdGV4dFwiKVxuICAgICAgICAgICAgICAgIHJldHVybiBSdWxlUGFzcyhcInBhc3NcIik7XG4gICAgICAgICAgICB9XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICBpZiAoYWx0Lmxlbmd0aCA9PT0gMCB8fCBhbHQudHJpbSgpLmxlbmd0aCA+IDApIHtcbiAgICAgICAgICAgICAgICAvLyB0aGUgaW1nIGhhcyBlbXB0eSBhbHQgKGFsdD1cIlwiKSBvciBub24tZW1wdHkgYWx0IChhbHQ9XCJzb21lIHRleHRcIilcbiAgICAgICAgICAgICAgICByZXR1cm4gUnVsZVBhc3MoXCJwYXNzXCIpOyBcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgLy8gYWx0IGNvbnRhaW5zIGJsYW5rIHNwYWNlIG9ubHkgKGFsdD1cIiBcIilcbiAgICAgICAgICAgICAgICByZXR1cm4gUnVsZUZhaWwoXCJmYWlsX2JsYW5rX2FsdFwiKTsgXG4gICAgICA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VsZUNvbnRleHQuZ2V0QXR0cmlidXRlKFwidXNlbWFwXCIpO1xuICAgICAgICAgICAgdXNlbWFwID0gdXNlbWFwLnRyaW0oKS50b0xvd2VyQ2FzZSgpO1xuICAgICAgICAgICAgbGV0IGlkeCA9IHVzZW1hcC5pbmRleE9mKFwiI1wiKTtcbiAgICAgICAgICAgIGlmIChpZHggIT0gLTEpXG4gICAgICAgICAgICAgICAgdXNlbWFwID0gdXNlbWFwLnN1YnN0cihpZHggKyAxKTtcblxuICAgICAgICAgICAgaWYgKHVzZW1hcC5sZW5ndGggPiAwKSB7XG4gICAgICAgICAgICAgICAgbGV0IG1hcHMgPSBDb21tb25VdGlsLmdldERvY0VsZW1lbnRzQnlUYWcocnVsZUNvbnRleHQsIFwibWFwXCIpO1xuICAgICAgICAgICAgICAgIGZvciAobGV0IGkgPSAwOyAhcGFzc2VkICYmIGkgPCBtYXBzLmxlbmd0aDsgKytpKSB7XG4gICAgICAgICAgICAgICAgICAgIHBhc3NlZCA9IG1hcHNbaV0uaGFzQXR0cmlidXRlKFwibmFtZVwiKSAmJlxuICAgICAgICAgICAgICAgICAgICAgICAgbWFwc1tpXS5nZXRBdHRyaWJ1dGUoXCJuYW1lXCIpLnRvTG93ZXJDYXNlKCkgPT0gdXNlbWFwO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICBpZiAocGFzc2VkKSByZXR1cm4gUnVsZVBhc3MoXCJQYXNzXzBcIik7XG4gICAgICAgIGlmICghcGFzc2VkKSByZXR1cm4gUnVsZVBvdGVudGlhbChcIlBvdGVudGlhbF8xXCIpO1xuXG4gICAgfVxufSIsIi8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcbiAgQ29weXJpZ2h0OjogMjAyMi0gSUJNLCBJbmNcbiAgTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWN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AgICAgICAgICAgICAgICBcInRyYW5zYWN0aW9uLWFtb3VudFwiLFxuICAgICAgICAgICAgICAgIFwiYmRheS1kYXlcIixcbiAgICAgICAgICAgICAgICBcImJkYXktbW9udGhcIixcbiAgICAgICAgICAgICAgICBcImJkYXkteWVhclwiXSxcbiAgICAgICAgICAgIFwidG9rZW5zTWFuZGF0b3J5R3JvdXAxX2RhdGVcIjogW1wiYmRheVwiXSxcbiAgICAgICAgICAgIFwidG9rZW5zTWFuZGF0b3J5R3JvdXAxX3VybFwiOiBbXCJ1cmxcIiwgXCJwaG90b1wiXSxcbiAgICAgICAgICAgIFwidG9rZW5zTWFuZGF0b3J5R3JvdXAxX3RleHRcIjogW1wibmFtZVwiLFxuICAgICAgICAgICAgICAgIFwiaG9ub3JpZmljLXByZWZpeFwiLFxuICAgICAgICAgICAgICAgIFwiZ2l2ZW4tbmFtZVwiLFxuICAgICAgICAgICAgICAgIFwiYWRkaXRpb25hbC1uYW1lXCIsXG4gICAgICAgICAgICAgICAgXCJmYW1pbHktbmFtZVwiLFxuICAgICAgICAgICAgICAgIFwiaG9ub3JpZmljLXN1ZmZpeFwiLFxuICAgICAgICAgICAgICAgIFwibmlja25hbWVcIixcbiAgICAgICAgICAgICAgICBcInVzZXJuYW1lXCIsXG4gICAgICAgICAgICAgICAgXCJvcmdhbml6YXRpb24tdGl0bGVcIixcbiAgICAgICAgICAgICAgICBcIm9yZ2FuaXphdGlvblwiLFxuICAgICAgICAgICAgICAgIFwiYWRkcmVzcy1saW5lMVwiLFxuICAgICAgICAgICAgICAgIFwiYWRkcmVzcy1saW5lMlwiLFxuICAgICAgICAgICAgICAgIFwiYWRkcmVzcy1saW5lM1wiLFxuICAgICAgICAgICAgICAgIFwiYWRkcmVzcy1sZXZlbDRcIixcbiAgICAgICAgICAgICAgICBcImFkZHJlc3MtbGV2ZWwzXCIsXG4gICAgICAgICAgICAgICAgXCJhZGRyZXNzLWxldmVsMlwiLFxuICAgICAgICAgICAgICAgIFwiYWRkcmVzcy1sZXZlbDFcIixcbiAgICAgICAgICAgICAgICBcImNvdW50cnlcIixcbiAgICAgICAgICAgICAgICBcImNvdW50cnktbmFtZVwiLFxuICAgICAgICAgICAgICAgIFwicG9zdGFsLWNvZGVcIixcbiAgICAgICAgICAgICAgICBcImNjLW5hbWVcIixcbiAgICAgICAgICAgICAgICBcImNjLWdpdmVuLW5hbWVcIixcbiAgICAgICAgICAgICAgICBcImNjLWFkZGl0aW9uYWwtbmFtZVwiLFxuICAgICAgICAgICAgICAgIFwiY2MtZmFtaWx5LW5hbWVcIixcbiAgICAgICAgICAgICAgICBcImNjLW51bWJlclwiLFxuICAgICAgICAgICAgICAgIFwiY2MtY3NjXCIsXG4gICAgICAgICAgICAgICAgXCJjYy10eXBlXCIsXG4gICAgICAgICAgICAgICAgXCJ0cmFuc2FjdGlvbi1jdXJyZW5jeVwiLFxuICAgICAgICAgICAgICAgIFwibGFuZ3VhZ2VcIixcbiAgICAgICAgICAgICAgICBcInNleFwiXSxcbiAgICAgICAgICAgIFwidG9rZW5zTWFuZGF0b3J5R3JvdXAxX2FsbFwiOiBbXCJuYW1lXCIsXG4gICAgICAgICAgICAgICAgXCJob25vcmlmaWMtcHJlZml4XCIsXG4gICAgICAgICAgICAgICAgXCJnaXZlbi1uYW1lXCIsXG4gICAgICAgICAgICAgICAgXCJhZGRpdGlvbmFsLW5hbWVcIixcbiAgICAgICAgICAgICAgICBcImZhbWlseS1uYW1lXCIsXG4gICAgICAgICAgICAgICAgXCJob25vcmlmaWMtc3VmZml4XCIsXG4gICAgICAgICAgICAgICAgXCJuaWNrbmFtZVwiLFxuICAgICAgICAgICAgICAgIFwidXNlcm5hbWVcIixcbiAgICAgICAgICAgICAgICBcIm5ldy1wYXNzd29yZFwiLFxuICAgICAgICAgICAgICAgIFwiY3VycmVudC1wYXNzd29yZFwiLFxuICAgICAgICAgICAgICAgIFwib3JnYW5pemF0aW9uLXRpdGxlXCIsXG4gICAgICAgICAgICAgICAgXCJvcmdhbml6YXRpb25cIixcbiAgICAgICAgICAgICAgICBcInN0cmVldC1hZGRyZXNzXCIsXG4gICAgICAgICAgICAgICAgXCJhZGRyZXNzLWxpbmUxXCIsXG4gICAgICAgICAgICAgICAgXCJhZGRyZXNzLWxpbmUyXCIsXG4gICAgICAgICAgICAgICAgXCJhZGRyZXNzLWxpbmUzXCIsXG4gICAgICAgICAgICAgICAgXCJhZGRyZXNzLWxldmVsNFwiLFxuICAgICAgICAgICAgICAgIFwiYWRkcmVzcy1sZXZlbDNcIixcbiAgICAgICAgICAgICAgICBcImFkZHJlc3MtbGV2ZWwyXCIsXG4gICAgICAgICAgICAgICAgXCJhZGRyZXNzLWxldmVsMVwiLFxuICAgICAgICAgICAgICAgIFwiY291bnRyeVwiLFxuICAgICAgICAgICAgICAgIFwiY291bnRyeS1uYW1lXCIsXG4gICAgICAgICAgICAgICAgXCJwb3N0YWwtY29kZVwiLFxuICAgICAgICAgICAgICAgIFwiY2MtbmFtZVwiLFxuICAgICAgICAgICAgICAgIFwiY2MtZ2l2ZW4tbmFtZVwiLFxuICAgICAgICAgICAgICAgIFwiY2MtYWRkaXRpb25hbC1uYW1lXCIsXG4gICAgICAgICAgICAgICAgXCJjYy1mYW1pbHktbmFtZVwiLFxuICAgICAgICAgICAgICAgIFwiY2MtbnVtYmVyXCIsXG4gICAgICAgICAgICAgICAgXCJjYy1leHBcIixcbiAgICAgICAgICAgICAgICBcImNjLWV4cC1tb250aFwiLFxuICAgICAgICAgICAgICAgIFwiY2MtZXhwLXllYXJcIixcbiAgICAgICAgICAgICAgICBcImNjLWNzY1wiLFxuICAgICAgICAgICAgICAgIFwiY2MtdHlwZVwiLFxuICAgICAgICAgICAgICAgIFwidHJhbnNhY3Rpb24tY3VycmVuY3lcIixcbiAgICAgICAgICAgICAgICBcInRyYW5zYWN0aW9uLWFtb3VudFwiLFxuICAgICAgICAgICAgICAgIFwibGFuZ3VhZ2VcIixcbiAgICAgICAgICAgICAgICBcImJkYXlcIixcbiAgICAgICAgICAgICAgICBcImJkYXktZGF5XCIsXG4gICAgICAgICAgICAgICAgXCJiZGF5LW1vbnRoXCIsXG4gICAgICAgICAgICAgICAgXCJiZGF5LXllYXJcIixcbiAgICAgICAgICAgICAgICBcInNleFwiLFxuICAgICAgICAgICAgICAgIFwidXJsXCIsXG4gICAgICAgICAgICAgICAgXCJwaG90b1wiXSxcbiAgICAgICAgICAgIFwidG9rZW5zT3B0aW9uYWxHcm91cDJcIjogW1wiaG9tZVwiLFxuICAgICAgICAgICAgICAgIFwid29ya1wiLFxuICAgICAgICAgICAgICAgIFwibW9iaWxlXCIsXG4gICAgICAgICAgICAgICAgXCJmYXhcIixcbiAgICAgICAgICAgICAgICBcInBhZ2VyXCJdLFxuXG4gICAgICAgICAgICBcInRva2Vuc01hbmRhdG9yeUdyb3VwMl90ZWxcIjogW1widGVsXCJdLFxuICAgICAgICAgICAgXCJ0b2tlbnNNYW5kYXRvcnlHcm91cDJfZW1haWxcIjogW1wiZW1haWxcIl0sXG4gICAgICAgICAgICBcInRva2Vuc01hbmRhdG9yeUdyb3VwMl91cmxcIjogW1wiaW1wcFwiXSxcbiAgICAgICAgICAgIFwidG9rZW5zTWFuZGF0b3J5R3JvdXAyX3RleHRcIjogW1widGVsLWNvdW50cnktY29kZVwiLFxuICAgICAgICAgICAgICAgIFwidGVsLW5hdGlvbmFsXCIsXG4gICAgICAgICAgICAgICAgXCJ0ZWwtYXJlYS1jb2RlXCIsXG4gICAgICAgICAgICAgICAgXCJ0ZWwtbG9jYWxcIixcbiAgICAgICAgICAgICAgICBcInRlbC1sb2NhbC1wcmVmaXhcIixcbiAgICAgICAgICAgICAgICBcInRlbC1sb2NhbC1zdWZmaXhcIixcbiAgICAgICAgICAgICAgICBcInRlbC1leHRlbnNpb25cIl0sXG4gICAgICAgICAgICBcInRva2Vuc01hbmRhdG9yeUdyb3VwMl9hbGxcIjogW1widGVsXCIsXG4gICAgICAgICAgICAgICAgXCJ0ZWwtY291bnRyeS1jb2RlXCIsXG4gICAgICAgICAgICAgICAgXCJ0ZWwtbmF0aW9uYWxcIixcbiAgICAgICAgICAgICAgICBcInRlbC1hcmVhLWNvZGVcIixcbiAgICAgICAgICAgICAgICBcInRlbC1sb2NhbFwiLFxuICAgICAgICAgICAgICAgIFwidGVsLWxvY2FsLXByZWZpeFwiLFxuICAgICAgICAgICAgICAgIFwidGVsLWxvY2FsLXN1ZmZpeFwiLFxuICAgICAgICAgICAgICAgIFwidGVsLWV4dGVuc2lvblwiLFxuICAgICAgICAgICAgICAgIFwiZW1haWxcIixcbiAgICAgICAgICAgICAgICBcImltcHBcIl0sXG4gICAgICAgICAgICBcInRva2Vuc09wdGlvbkdyb3VwMV93ZWJhdXRoblwiOiBbXCJ3ZWJhdXRoblwiXSAgICBcbiAgICAgICAgfVxuICAgICAgICBsZXQgdmFsaWRfdmFsdWVzID0gW107XG4gICAgICAgIGZvciAodmFyIGtleSBpbiBjYWNoZSlcbiAgICAgICAgICAgIHZhbGlkX3ZhbHVlcz12YWxpZF92YWx1ZXMuY29uY2F0KGNhY2hlW2tleV0pO1xuICAgICAgICBcbiAgICAgICAgbGV0IGZvdW5kTWFuZGF0b3J5VG9rZW4gPSBmYWxzZTtcbiAgICAgICAgbGV0IGZvdW5kUmVjb2duaXplZFRva2VuID0gdHJ1ZTtcbiAgICAgICAgbGV0IG5vZGVOYW1lID0gcnVsZUNvbnRleHQubm9kZU5hbWUudG9Mb3dlckNhc2UoKTtcbiAgICAgICAgaWYgKCF0b2tlbnMuZXZlcnkociA9PiB2YWxpZF92YWx1ZXMuaW5jbHVkZXMocikgfHwgci5zdGFydHNXaXRoKGNhY2hlWyd0b2tlbk9wdGlvbmFsU2VjdGlvbiddKSkpXG4gICAgICAgICAgICByZXR1cm4gUnVsZUZhaWwoXCJmYWlsX2luY29ycmVjdFwiKTtcbiAgICAgICAgXG4gICAgICAgIGxldCB0eXBlID0gcnVsZUNvbnRleHQuaGFzQXR0cmlidXRlKFwidHlwZVwiKSA/IHJ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ydW0gZGlzY3Vzc2lvblxuICAgICAgICAgICAgICAgIC8qXG4gICAgICAgICAgICAgICAgY2FzZSBcImhpZGRlblwiOlxuICAgICAgICAgICAgICAgICAgICAvLyBhY2NlcHQgYWxsIHRva2Vuc1xuICAgICAgICAgICAgICAgICAgICB0b2tlbnNNYW5kYXRvcnlHcm91cDEgPSBjYWNoZS50b2tlbnNNYW5kYXRvcnlHcm91cDFfYWxsO1xuICAgICAgICAgICAgICAgICAgICB0b2tlbnNNYW5kYXRvcnlHcm91cDIgPSBjYWNoZS50b2tlbnNNYW5kYXRvcnlHcm91cDJfYWxsO1xuICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICAqL1xuXG4gICAgICAgICAgICAgICAgY2FzZSBcInRleHRcIjpcbiAgICAgICAgICAgICAgICBjYXNlIFwic2VhcmNoXCI6XG4gICAgICAgICAgICAgICAgICAgIHRva2Vuc01hbmRhdG9yeUdyb3VwMSA9IGNhY2hlLnRva2Vuc01hbmRhdG9yeUdyb3VwMV90ZXh0LmNvbmNhdChjYWNoZS50b2tlbnNNYW5kYXRvcnlHcm91cDFfcGFzc3dvcmQsXG4gICAgICAgICAgICAgICAgICAgICAgICBjYWNoZS50b2tlbnNNYW5kYXRvcnlHcm91cDFfdXJsLFxuICAgICAgICAgICAgICAgICAgICAgICAgY2FjaGUudG9rZW5zTWFuZGF0b3J5R3JvdXAxX251bWVyaWMsXG4gICAgICAgICAgICAgICAgICAgICAgICBjYWNoZS50b2tlbnNNYW5kYXRvcnlHcm91cDFfbW9udGgsXG4gICAgICAgICAgICAgICAgICAgICAgICBjYWNoZS50b2tlbnNNYW5kYXRvcnlHcm91cDFfZGF0ZSk7XG4gICAgICAgICAgICAgICAgICAgIHRva2Vuc01hbmRhdG9yeUdyb3VwMiA9IGNhY2hlLnRva2Vuc01hbmRhdG9yeUdyb3VwMl9hbGw7XG4gICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgIGNhc2UgXCJwYXNzd29yZFwiOlxuICAgICAgICAgICAgICAgICAgICB0b2tlbnNNYW5kYXRvcnlHcm91cDEgPSBjYWNoZS50b2tlbnNNYW5kYXRvcnlHcm91cDFfcGFzc3dvcmQ7XG4gICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgIGNhc2UgXCJ1cmxcIjpcbiAgICAgICAgICAgICAgICAgICAgdG9rZW5zTWFuZGF0b3J5R3JvdXAxID0gY2FjaGUudG9rZW5zTWFuZGF0b3J5R3JvdXAxX3VybDtcbiAgICAgICAgICAgICAgICAgICAgdG9rZW5zTWFuZGF0b3J5R3JvdXAyID0gY2FjaGUudG9rZW5zTWFuZGF0b3J5R3JvdXAyX3VybDtcbiAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgY2FzZSBcImVtYWlsXCI6XG4gICAgICAgICAgICAgICAgICAgIHRva2Vuc01hbmRhdG9yeUdyb3VwMiA9IGNhY2hlLnRva2Vuc01hbmRhdG9yeUdyb3VwMl9lbWFpbDtcbiAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgY2FzZSBcInRlbFwiOlxuICAgICAgICAgICAgICAgICAgICB0b2tlbnNNYW5kYXRvcnlHcm91cDIgPSBjYWNoZS50b2tlbnNNYW5kYXRvcnlHcm91cDJfdGVsO1xuICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICBjYXNlIFwibnVtYmVyXCI6XG4gICAgICAgICAgICAgICAgICAgIHRva2Vuc01hbmRhdG9yeUdyb3VwMSA9IGNhY2hlLnRva2Vuc01hbmRhdG9yeUdyb3VwMV9udW1lcmljO1xuICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICBjYXNlIFwibW9udGhcIjpcbiAgICAgICAgICAgICAgICAgICAgdG9rZW5zTWFuZGF0b3J5R3JvdXAxID0gY2FjaGUudG9rZW5zTWFuZGF0b3J5R3JvdXAxX21vbnRoO1xuICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICBjYXNlIFwiZGF0ZVwiOlxuICAgICAgICAgICAgICAgICAgICB0b2tlbnNNYW5kYXRvcnlHcm91cDEgPSBjYWNoZS50b2tlbnNNYW5kYXRvcnlHcm91cDFfZGF0ZTtcbiAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICAgICAgICAgICAgLy8gdW5zdXBwb3J0ZWQgdHlwZSBmb3IgdGhpcyBydWxlLlxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgICAgIH1cblxuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgLy8gc2hvdWxkIG5ldmVyIGdldCBoZXJlLlxuICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgIH1cblxuICAgICAgICAvLyBEaXNhYmxlIGNoZWNrIGZvciBpbnB1dCB0eXBlPWhpZGRlbiBmb3Igbm93IGJhc2VkIG9uIHNjcnVtIGRpc2N1c3Npb25cbiAgICAgICAgbGV0IGF1dG9maWxsTWFudGxlID0gLyogKG5vZGVOYW1lPT09XCJpbnB1dFwiICYmIHR5cGU9PT1cImhpZGRlblwiKSA/IFwiYW5jaG9yXCIgOiAqLyBcImV4cGVjdGF0aW9uXCI7XG5cbiAgICAgICAgaWYgKGF1dG9maWxsTWFudGxlID09PSBcImV4cGVjdGF0aW9uXCIpIHtcbiAgICAgICAgICAgIC8vIGNoZWNrIG9ufG9mZiBmb3IgZXhwZWN0YXRpb24gbWFudGxlLlxuICAgICAgICAgICAgaWYgKHRva2Vucy5pbmNsdWRlcyhcIm9uXCIpIHx8IHRva2Vucy5pbmNsdWRlcyhcIm9mZlwiKSkge1xuICAgICAgICAgICAgICAgIC8vIG9ufG9mZiBzaG91bGQgYmUgdGhlIG9ubHkgdG9rZW5cbiAgICAgICAgICAgICAgICBpZiAodG9rZW5zLmxlbmd0aCA9PT0gMSkge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gUnVsZVBhc3MoXCJwYXNzXCIpO1xuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBSdWxlRmFpbChcImZhaWxfaW52YWxpZFwiKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICAvLyBjaGVjayBkZXRhaWwgYXV0b2ZpbGwgdG9rZW5zXG4gICAgICAgIGxldCBjdXJySW5kZXggPSAwO1xuICAgICAgICBsZXQgY3VyclJlY29nbml6ZWRJbmRleCA9IDA7XG5cbiAgICAgICAgLy8gY2hlY2sgb3B0aW9uYWwgJ3NlY3Rpb24tKicgdG9rZW5zXG4gICAgICAgIGlmICh0b2tlbnNbY3VyckluZGV4XS5zdGFydHNXaXRoKGNhY2hlLnRva2VuT3B0aW9uYWxTZWN0aW9uKSAmJlxuICAgICAgICAgICAgdG9rZW5zW2N1cnJJbmRleF0ubGVuZ3RoID4gOCkge1xuICAgICAgICAgICAgY3VyckluZGV4Kys7IC8vIGNvbnN1bWUgdG9rZW5cbiAgICAgICAgICAgIGN1cnJSZWNvZ25pemVkSW5kZXgrKztcbiAgICAgICAgfVxuXG4gICAgICAgIC8vIGNoZWNrIG9wdGlvbmFsICdzaGlwcGluZ3xiaWxsaW5nJyB0b2tlbnNcbiAgICAgICAgaWYgKHRva2Vucy5sZW5ndGggPiBjdXJySW5kZXggJiZcbiAgICAgICAgICAgIGNhY2hlLnRva2Vuc09wdGlvbmFsUHVycG9zZS5pbmNsdWRlcyh0b2tlbnNbY3VyckluZGV4XSkpIHtcbiAgICAgICAgICAgIGN1cnJJbmRleCsrOyAvLyBjb25zdW1lICB0b2tlblxuICAgICAgICAgICAgY3VyclJlY29nbml6ZWRJbmRleCsrO1xuICAgICAgICB9XG5cbiAgICAgICAgLy8gY2hlY2sgZWl0aGVyIG1hbmRhdG9yeSBncm91cCAxIG9yIDIgdG9rZW5zXG4gICAgICAgIGlmICh0b2tlbnMubGVuZ3RoID4gY3VyckluZGV4KSB7XG4gICAgICAgICAgICAvLyBjaGVjayBtYW5kYXRvcnkgZ3JvdXAgMVxuICAgICAgICAgICAgaWYgKHRva2Vuc01hbmRhdG9yeUdyb3VwMS5pbmNsdWRlcyh0b2tlbnNbY3VyckluZGV4XSkpIHtcbiAgICAgICAgICAgICAgICBmb3VuZE1hbmRhdG9yeVRva2VuID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICBjdXJySW5kZXgrKztcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgLy8gY2hlY2sgb3B0aW9uYWwgdG9rZW5zIGZvciBncm91cCAyXG4gICAgICAgICAgICAgICAgaWYgKGNhY2hlLnRva2Vuc09wdGlvbmFsR3JvdXAyLmluY2x1ZGVzKHRva2Vuc1tjdXJySW5kZXhdKSkge1xuICAgICAgICAgICAgICAgICAgICBjdXJySW5kZXgrKztcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgLy8gY2hlY2sgbWFuZGF0b3J5IGdyb3VwIDJcbiAgICAgICAgICAgICAgICBpZiAodG9rZW5zTWFuZGF0b3J5R3JvdXAyLmluY2x1ZGVzKHRva2Vuc1tjdXJySW5kZXhdKSkge1xuICAgICAgICAgICAgICAgICAgICBmb3VuZE1hbmRhdG9yeVRva2VuID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICAgICAgY3VyckluZGV4Kys7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgLy8gY2hlY2sgZWl0aGVyIG1hbmRhdG9yeSBncm91cCAxIG9yIDIgdG9rZW5zXG4gICAgICAgIGlmICh0b2tlbnMubGVuZ3RoID4gY3VyclJlY29nbml6ZWRJbmRleCkge1xuICAgICAgICAgICAgLy8gY2hlY2sgbWFuZGF0b3J5IGdyb3VwIDFcbiAgICAgICAgICAgIGlmIChjYWNoZS50b2tlbnNNYW5kYXRvcnlHcm91cDFfYWxsLmluY2x1ZGVzKHRva2Vuc1tjdXJyUmVjb2duaXplZEluZGV4XSkpIHtcbiAgICAgICAgICAgICAgICBmb3VuZFJlY29nbml6ZWRUb2tlbiA9IHRydWU7XG4gICAgICAgICAgICAgICAgY3VyclJlY29nbml6ZWRJbmRleCsrO1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAvLyBjaGVjayBvcHRpb25hbCB0b2tlbnMgZm9yIGdyb3VwIDJcbiAgICAgICAgICAgICAgICBpZiAoY2FjaGUudG9rZW5zT3B0aW9uYWxHcm91cDIuaW5jbHVkZXModG9rZW5zW2N1cnJSZWNvZ25pemVkSW5kZXhdKSkge1xuICAgICAgICAgICAgICAgICAgICBjdXJyUmVjb2duaXplZEluZGV4Kys7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIC8vIGNoZWNrIG1hbmRhdG9yeSBncm91cCAyXG4gICAgICAgICAgICAgICAgaWYgKGNhY2hlLnRva2Vuc01hbmRhdG9yeUdyb3VwMl9hbGwuaW5jbHVkZXModG9rZW5zW2N1cnJSZWNvZ25pemVkSW5kZXhdKSkge1xuICAgICAgICAgICAgICAgICAgICBmb3VuZFJlY29nbml6ZWRUb2tlbiA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgIGN1cnJSZWNvZ25pemVkSW5kZXgrKztcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgXG4gICAgICAgIGlmICh0b2tlbnMubGVuZ3RoID4gY3VyckluZGV4ICsgY3VyclJlY29nbml6ZWRJbmRleCkge1xuICAgICAgICAgICAgLy8gY2hlY2sgb3B0aW9uYWwgdG9rZW5zIHdlYmF1dGhuXG4gICAgICAgICAgICBpZiAodG9rZW5zT3B0aW9uYWxHcm91cC5pbmNsdWRlcyh0b2tlbnNbY3VyckluZGV4ICsgY3VyclJlY29nbml6ZWRJbmRleF0pKSB7XG4gICAgICAgICAgICAgICAgY3VyckluZGV4Kys7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgaWYgKCh0b2tlbnMubGVuZ3RoID4gY3VyckluZGV4ICYmIHRva2Vuc09wdGlvbmFsR3JvdXAuaW5jbHVkZXModG9rZW5zW2N1cnJJbmRleF0pKVxuICAgICAgICAgICAgfHwgKHRva2Vucy5sZW5ndGggPiBjdXJyUmVjb2duaXplZEluZGV4ICYmIHRva2Vuc09wdGlvbmFsR3JvdXAuaW5jbHVkZXModG9rZW5zW2N1cnJSZWNvZ25pemVkSW5kZXhdKSkpIHtcbiAgICAgICAgICAgIGN1cnJJbmRleCsrO1xuICAgICAgICAgICAgY3VyclJlY29nbml6ZWRJbmRleCsrO1xuICAgICAgICB9XG5cbiAgICAgICAgLy8gT25seSBwYXNzIGlmIHdlIGhhdmUgc2VlbiBlaXRoZXIgb2YgdGhlIG1hbmRhdG9yeSBncm91cHMgYW5kIGFsbCB0b2tlbnMgaGF2ZSBiZWVuIGNvbnN1bWVkXG4gICAgICAgIGlmIChmb3VuZE1hbmRhdG9yeVRva2VuICYmIHRva2Vucy5sZW5ndGggPT09IGN1cnJJbmRleCkge1xuICAgICAgICAgICAgcmV0dXJuIFJ1bGVQYXNzKFwicGFzc1wiKTtcbiAgICAgICAgfSBlbHNlIGlmIChmb3VuZFJlY29nbml6ZWRUb2tlbiAmJiB0b2tlbnMubGVuZ3RoID09PSBjdXJyUmVjb2duaXplZEluZGV4KSB7XG4gICAgICAgICAgICByZXR1cm4gUnVsZUZhaWwoXCJmYWlsX2luY29ycmVjdFwiKTtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIHJldHVybiBSdWxlRmFpbChcImZhaWxfaW5hcHByb3ByaWF0ZVwiKTtcbiAgICAgICAgfVxuICAgIH1cbn0iLCIvKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqK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ICAvLyBhbmQgY2FjaGUgaXQgZm9yIGFsbCBvZiB0aGUgb3RoZXIgaW5wdXRzIGluIHRoaXMgc2NvcGVcbiAgICAgICAgbGV0IGZvcm1DYWNoZSA9IENhY2hlVXRpbC5nZXRDYWNoZShjdHhGb3JtLCBcImlucHV0X2NoZWNrYm94ZXNfZ3JvdXBlZFwiLCBudWxsKTtcbiAgICAgICAgaWYgKCFmb3JtQ2FjaGUpIHtcbiAgICAgICAgICAgIGZvcm1DYWNoZSA9IHtcbiAgICAgICAgICAgICAgICBjaGVja2JveEJ5TmFtZToge30sXG4gICAgICAgICAgICAgICAgcmFkaW9zQnlOYW1lOiB7fSxcbiAgICAgICAgICAgICAgICBuYW1lVG9Hcm91cDoge1xuXG4gICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICBudW1DaGVja2JveGVzOiAwLFxuICAgICAgICAgICAgICAgIG51bVJhZGlvczogMFxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgLy8gR2V0IGFsbCBvZiB0aGUgY2hlY2tib3hlcyBpbiB0aGUgZm9ybSBvciBib2R5IChidXQgbm90IG5lc3RlZCBpbiBzb21ldGhpbmcgZWxzZSBhbmQgbm90IGhpZGRlbilcbiAgICAgICAgICAgIC8vIEFuZCBnZXQgYSBtYXBwaW5nIG9mIHRoZXNlIGNoZWNrYm94ZXMgdG9cbiAgICAgICAgICAgIGxldCBjV2Fsa2VyID0gbmV3IERPTVdhbGtlcihjdHhGb3JtLCBmYWxzZSwgY3R4Rm9ybSwgdHJ1ZSk7XG4gICAgICAgICAgICBsZXQgY2hlY2tib3hRID0gW107XG4gICAgICAgICAgICBsZXQgcmFkaW9zUSA9IFtdO1xuICAgICAgICAgICAgd2hpbGUgKGNXYWxrZXIubmV4dE5vZGUoKSkge1xuICAgICAgICAgICAgICAgIGlmICghY1dhbGtlci5iRW5kVGFnXG4gICAgICAgICAgICAgICAgICAgICYmIGNXYWxrZXIubm9kZS5ub2RlVHlwZSA9PT0gMVxuICAgICAgICAgICAgICAgICAgICAmJiBjV2Fsa2VyLm5vZGUubm9kZU5hbWUudG9Mb3dlckNhc2UoKSA9PT0gXCJpbnB1dFwiXG4gICAgICAgICAgICAgICAgICAgICYmIFZpc1V0aWwuaXNOb2RlVmlzaWJsZShjV2Fsa2VyLm5vZGUpKSB7XG4gICAgICAgICAgICAgICAgICAgIGxldCB0eXBlID0gKGNXYWxrZXIubm9kZSBhcyBFbGVtZW50KS5nZXRBdHRyaWJ1dGUoXCJ0eXBlXCIpO1xuICAgICAgICAgICAgICAgICAgICBpZiAodHlwZSA9PT0gXCJjaGVja2JveFwiKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBjaGVja2JveFEucHVzaChjV2Fsa2VyLm5vZGUpO1xuICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKHR5cGUgPT09IFwicmFkaW9cIikge1xuICAgICAgICAgICAgICAgICAgICAgICAgcmFkaW9zUS5wdXNoKGNXYWxrZXIubm9kZSk7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICAvLyBsZXQgY2hlY2tib3hRID0gY3R4Rm9ybS5xdWVyeVNlbGVjdG9yQWxsKFwiaW5wdXRbdHlwZT1jaGVja2JveF1cIik7XG4gICAgICAgICAgICBmb3IgKGxldCBpZHggPSAwOyBpZHggPCBjaGVja2JveFEubGVuZ3RoOyArK2lkeCkge1xuICAgICAgICAgICAgICAgIGNvbnN0IGNiID0gY2hlY2tib3hRW2lkeF07XG4gICAgICAgICAgICAgICAgaWYgKChBcmlhVXRpbC5nZXRBbmNlc3RvcldpdGhSb2xlKGNiLCBcImZvcm1cIilcbiAgICAgICAgICAgICAgICAgICAgfHwgQ29tbW9uVXRpbC5nZXRBbmNlc3RvcihydWxlQ29udGV4dCwgXCJodG1sXCIpXG4gICAgICAgICAgICAgICAgICAgIHx8IHJ1bGVDb250ZXh0Lm93bmVyRG9jdW1lbnQuZG9jd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AgICAgY3R4VHlwZSA9IGN0eFR5cGUgPT09IFwicmFkaW9cIiA/IFwiUmFkaW9cIiA6IFwiQ2hlY2tib3hcIjtcblxuICAgICAgICBpZiAoIWN0eE5hbWUgfHwgY3R4TmFtZSA9PT0gXCJcIikge1xuICAgICAgICAgICAgLy8gRmlyc3QgcHJvY2VzcyBjYXNlcyB3aGVyZSB0aGUgY29udHJvbCBpcyBub3QgbmFtZWRcbiAgICAgICAgICAgIGlmIChjdHhUeXBlID09PSBcIlJhZGlvXCIpIHtcbiAgICAgICAgICAgICAgICAvLyBSYWRpb3Mgd2l0aG91dCBuYW1lcyBkb24ndCBhY3QgbGlrZSBncm91cHMsIHNvIGRvbid0IGVuZm9yY2UgZ3JvdXBpbmdcbiAgICAgICAgICAgICAgICBpZiAoY3R4R3JvdXAgPT09IG51bGwpIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFJ1bGVQYXNzKFwicGFzc19yYWRpb25vbmFtZVwiLCBbY3R4VHlwZV0pO1xuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBSdWxlUGFzcyhcInBhc3NfZ3JvdXBlZFwiLCBbY3R4VHlwZV0pO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgLy8gTXVzdCBiZSBhbiB1bm5hbWVkIGNoZWNrYm94XG4gICAgICAgICAgICAgICAgaWYgKGN0eEdyb3VwID09PSBudWxsKSB7XG4gICAgICAgICAgICAgICAgICAgIGlmICgoZm9ybUNhY2hlLmNoZWNrYm94QnlOYW1lW1wiXCJdIHx8IFtdKS5sZW5ndGggPiAxKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gUnVsZVBvdGVudGlhbChcInBvdGVudGlhbF91bm5hbWVkY2hlY2tib3hcIiwgW2N0eFR5cGVdKTtcbiAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgIC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gdG8gZXhhbWluZSBpdFxuICAgICAgICAgICAgICAgIGlmIChjdHhHcm91cCA9PT0gbnVsbCkge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gUnVsZVBvdGVudGlhbChcInBvdGVudGlhbF9sb25lY2hlY2tib3hcIiwgW2N0eFR5cGVdKTtcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gUnVsZVBhc3MoXCJwYXNzX2dyb3VwZWRcIiwgW2N0eFR5cGVdKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIC8vIFdlIHNoYXJlIGEgbmFtZSB3aXRoIGFub3RoZXIgc2ltaWxhciBjb250cm9sLiBBcmUgd2UgZ3JvdXBlZCB0b2dldGhlcj9cbiAgICAgICAgICAgICAgICBpZiAoY3R4R3JvdXAgPT09IG51bGwpIHtcbiAgICAgICAgICAgICAgICAgICAgaWYgKGZvcm1DYWNoZS5uYW1lVG9Hcm91cFtjdHhOYW1lXSAhPT0gbnVsbCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgLy8gV2UncmUgbm90IGdyb3VwZWQsIGJ1dCBzb21lIGNvbnRyb2wgd2l0aCB0aGUgc2FtZSBuYW1lIGlzIGluIGEgZ3JvdXBcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBSdWxlRmFpbChcImZhaWxfbm90Z3JvdXBlZG90aGVyZ3JvdXBlZFwiLCBbY3R4VHlwZSwgY3R4TmFtZV0pO1xuICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgLy8gTm9uZSBvZiB1cyBhcmUgZ3JvdXBlZFxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFJ1bGVGYWlsKFwiZmFpbF9ub3Rncm91cGVkb3RoZXJub3Rncm91cGVkXCIsIFtjdHhUeXBlLCBjdHhOYW1lXSlcbiAgICAgICAgICA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OiB7XG4gICAgICAgICAgICAvLyBcIlBhc3NcIjogXCJwYXNzXCIsXG4gICAgICAgICAgICBcIlBvdGVudGlhbF8xXCI6IFwicG90ZW50aWFsX3R5cGVfbWlzdXNlXCIsXG4gICAgICAgICAgICBcIlBvdGVudGlhbF8yXCI6IFwicG90ZW50aWFsX21pc3VzZVwifVxuICAgIH0sXG4gICAgaGVscDoge1xuICAgICAgICBcImVuLVVTXCI6IHtcbiAgICAgICAgICAgIFwiZ3JvdXBcIjogXCJpbnB1dF9oYXNwb3B1cF9jb25mbGljdC5odG1sXCIsXG4gICAgICAgICAgICAvLyBcInBhc3NcIjogXCJpbnB1dF9oYXNwb3B1cF9jb25mbGljdC5odG1sXCIsXG4gICAgICAgICAgICBcInBvdGVudGlhbF90eXBlX21pc3VzZVwiOiBcImlucHV0X2hhc3BvcHVwX2NvbmZsaWN0Lmh0bWxcIixcbiAgICAgICAgICAgIFwicG90ZW50aWFsX21pc3VzZVwiOiBcImlucHV0X2hhc3BvcHVwX2NvbmZsaWN0Lmh0bWxcIixcbiAgICAgICAgICAgIFwicG90ZW50aWFsX2xpc3Rfbm90ZXhpc3RcIjogXCJpbnB1dF9oYXNwb3B1cF9jb25mbGljdC5odG1sXCIsXG4gICAgICAgICAgICBcImZhaWxfaW52YWxpZF9saXN0X3R5cGVcIjogXCJpbnB1dF9oYXNwb3B1cF9jb25mbGljdC5odG1sXCIsXG4gICAgICAgICAgICBcImZhaWxfaW52YWxpZF9saXN0X2VsZW1cIjogXCJpbnB1dF9oYXNwb3B1cF9jb25mbGljdC5odG1sXCJcbiAgICAgICAgfVxuICAgIH0sXG4gICAgbWVzc2FnZXM6IHtcbiAgICAgICAgXCJlbi1VU1wiOiB7XG4gICAgICAgICAgICBcImdyb3VwXCI6IFwiPGlucHV0PiBlbGVtZW50IHdpdGggYSAnbGlzdCcgYXR0cmlidXRlIHNob3VsZCBub3QgdXNlIGFuIGV4cGxpY2l0ICdhcmlhLWhhc3BvcHVwJyBhdHRya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ZGUubm9kZU5hbWUudG9Mb3dlckNhc2UoKSA9PSBcIiN0ZXh0XCIgJiYgd2Fsa05vZGUubm9kZVZhbHVlLnRyaW0oKS5sZW5ndGggPiAwKVxuICAgICAgICAgICAgICAgICAgICB8fCAod2Fsa05vZGUubm9kZU5hbWUudG9Mb3dlckNhc2UoKSA9PSBcInNwYW5cIiAmJiB3YWxrTm9kZS50ZXh0Q29udGVudC50cmltKCkubGVuZ3RoID4gMCkpO1xuICAgICAgICAgICAgICAgIHdhbGtOb2RlID0gd2Fsa05vZGUucHJldmlvdXNTaWJsaW5nO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgaWYgKCFwYXNzZWQpIHtcbiAgICAgICAgICAgICAgICAvLyBJbnB1dCBuZXN0ZWQgaW4gbGFiZWwgYW5kIHRleHQgYWZ0ZXIgaW5wdXRcbiAgICAgICAgICAgICAgICByZXR1cm4gUnVsZUZhaWwoXCJGYWlsXzFcIik7XG4gICAgICAgICAgICB9XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICBpZiAodmFsdWUgIT0gLTEpIHtcbiAgICAgICAgICAgICAgICAvLyBsYWJlbCBpcyBhZnRlciBpbnB1dFxuICAgICAgICAgICAgICAgIHJldHVybiBSdWxlRmFpbChcIkZhaWxfMlwiKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICAvLyBIYXZlbid0IHJldHVybmVkIHlldCwgdGhlbiBJIHBhc3NcbiAgICAgICAgcmV0dXJuIFJ1bGVQYXNzKFwiUGFzc18wXCIpO1xuICAgIH1cbn0iLCIvKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqXG4gIENvcHlyaWdodDo6IDIwMjItIElCTSwgSW5jXG4gIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4g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ZXh0LCBcImNvbWJvYm94XCIpKSkpIHtcbiAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICB9XG4gICAgICAgIC8vIGF2b2lkIGRpYWdub3NpbmcgdGhlIHBvcHVwIGxpc3Qgb2YgYSBjb21ib2JveC5cbiAgICAgICAgbGV0IHJvbGVzVG9DaGVjayA9IFtcImxpc3Rib3hcIiwgXCJ0cmVlXCIsIFwiZ3JpZFwiLCBcImRpYWxvZ1wiXTtcbiAgICAgICAgZm9yIChsZXQgaiA9IDA7IGogPCByb2xlc1RvQ2hlY2subGVuZ3RoOyBqKyspIHtcbiAgICAgICAgICAgIGlmIChBcmlhVXRpbC5oYXNSb2xlSW5TZW1hbnRpY3MocnVsZUNvbnRleHQsIHJvbGVzVG9DaGVja1tqXSkpIHtcbiAgICAgICAgICAgICAgICBsZXQgY29tYm9ib3hlcyA9IENvbW1vblV0aWwuZ2V0RWxlbWVudHNCeVJvbGVIaWRkZW4ocnVsZUNvbnRleHQub3duZXJEb2N1bWVudCwgXCJjb21ib2JveFwiLCB0cnVlLCB0cnVlKTtcbiAgICAgICAgICAgICAgICBmb3IgKGxldCBrID0gMDsgayA8IGNvbWJvYm94ZXMubGVuZ3RoOyBrKyspIHtcbiAgICAgICAgICAgICAgICAgICAgbGV0IGNvbWJvYm94ID0gY29tYm9ib3hlc1trXTtcbiAgICAgICAgICAgICAgICAgICAgbGV0IGFyaWFfb3ducyA9IENvbW1vblV0aWwuZ2V0RWxlbWVudEF0dHJpYnV0ZShjb21ib2JveCwgXCJhcmlhLW93bnNcIik7XG4gICAgICAgICAgICAgICAgICAgIGlmIChhcmlhX293bnMpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCBvd25zID0gQ29tbW9uVXRpbC5ub3JtYWxpemVTcGFjaW5nKGFyaWFfb3ducy50cmltKCkpLnNwbGl0KFwiIFwiKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGZvciAobGV0IGkgPSAwOyBpIDwgb3ducy5sZW5ndGg7IGkrKykge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBvd25lZCA9IEZyYWdtZW50VXRpbC5nZXRCeUlkKHJ1bGVDb250ZXh0LCBvd25zW2ldKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAob3duZWQgPT09IHJ1bGVDb250ZXh0KSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICBcbiAgICAgICAgY29uc3QgcGFpciA9IEFjY05hbWVVdGlsLmNvbXB1dGVBY2Nlc3NpYmxlTmFtZShydWxlQ29udGV4dCk7XG4gICAgICAgIC8vIGNoZWNrIHZpc2libGUgbGFiZWwgZm9yIGlucHV0IG9yIGJ1dHRvblxuICAgICAgICBpZiAobm9kZU5hbWUgPT09ICdpbnB1dCcgfHwgbm9kZU5hbWUgPT09ICdidXR0b24nKSB7XG4gICAgICAgICAgICAvKipcbiAgICAgICAgICAgIGlmIChDb21tb25VdGlsLmhhc0ltcGxpY2l0TGFiZWwocnVsZUNvbnRleHQpKVxuICAgICAgICAgICAgICAgIHJldHVybiBSdWxlUGFzcyhcInBhc3NcIik7XG4gICAgICAgICAgICBcbiAgICAgICAgICAgIGxldCBsYWJlbCA9IENvbW1vblV0aWwuZ2V0TGFiZWxGb3JFbGVtZW50KHJ1bGVDb250ZXh0KTtcbiAgICAgICAgICAgIGlmIChsYWJlbCAmJiBDb21tb25VdGlsLmhhc0lubmVyQ29udGVudEhpZGRlbihsYWJlbCkpXG4gICAgICAgICAgICAgICAgcmV0dXJuIFJ1bGVQYXNzKFwicGFzc1wiKTsgIFxuXG4gICAgICAgICAgICAvLyBzcGVjaWFsIGNhc2VzXG4gICAgICAgICAg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aGlzIGlzIHJlZmVyZW5jZWQgYnkgYSBjb21ib2JveC4gSWYgc28sIHRoZSBsYWJlbCBiZWxvbmdzIHRvIHRoZSBjb21ib2JveFxuICAgICAgICBsZXQgaWQgPSBydWxlQ29udGV4dC5nZXRBdHRyaWJ1dGUoXCJpZFwiKTtcbiAgICAgICAgaWYgKGlkICYmIGlkLnRyaW0oKS5sZW5ndGggPiAwKSB7XG4gICAgICAgICAgICBpZiAocnVsZUNvbnRleHQub3duZXJEb2N1bWVudC5xdWVyeVNlbGVjdG9yKGAqW2FyaWEtY29udHJvbHM9JyR7aWR9J11bcm9sZT0nY29tYm9ib3gnXWApKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICAvLyBjaGVjayBpZiBhIHBsYWNlaG9sZGVyIGV4aXN0cyBldmVuIHRob3VnaCBhIHBsYWNlaG9sZGVyIHRleHQgaXMgbm90IHN1ZmZpY2llbnQgYXMgYSB2aXNpYmxlIHRleHRcbiAgICAgICAgaWYgKENvbW1vblV0aWwuYXR0cmlidXRlTm9uRW1wdHkocnVsZUNvbnRleHQsIFwicGxhY2Vob2xkZXJcIikpXG4gICAgICAgICAgICByZXR1cm4gUnVsZVBvdGVudGlhbChcInBvdGVudGlhbF9wbGFjZWhvbGRlcl9vbmx5XCIpO1xuXG4gICAgICAgIHJldHVybiBSdWxlUG90ZW50aWFsKFwicG90ZW50aWFsX25vX2xhYmVsXCIpO1xuICAgIH1cbn0iLCIvKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqXG4gIENvcHlyaWdodDo6IDIwMjItIElCTSwgSW5jXG4gIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gIHlvdSBtYXkgbm90IHVzZSB0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tcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIGlmIChydWxlQ29udGV4dC5oYXNBdHRyaWJ1dGUoXCJhcmlhLWxhYmVsXCIpKSB7XG4gICAgICAgICAgICByZXR1cm4gUnVsZVBvdGVudGlhbChcIlBvdGVudGlhbF8xXCIpO1xuICAgICAgICB9XG5cbiAgICAgICAgaWYgKHJ1bGVDb250ZXh0Lmhhc0F0dHJpYnV0ZShcImFyaWEtbGFiZWxsZWRieVwiKSAmJiBydWxlQ29udGV4dC5oYXNBdHRyaWJ1dGUoXCJpZFwiKSkge1xuICAgICAgICAgICAgbGV0IGlkID0gcnVsZUNvbnRleHQuZ2V0QXR0cmlidXRlKFwiaWRcIikudHJpbSgpO1xuICAgICAgICAgICAgbGV0IHJlZklkcyA9IHJ1bGVDb250ZXh0LmdldEF0dHJpYnV0ZShcImFyaWEtbGFiZWxsZWRieVwiKS50cmltKCkuc3BsaXQoL1xccysvKTsgLy8gc2VwYXJhdGVkIGJ5IG9uZSBvciBtb3JlIHdoaXRlIHNwYWNlc1xuICAgICAgICAgICAgaWYgKCFyZWZJZHMuaW5jbHVkZXMoaWQpKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIFJ1bGVQYXNzKFwiUGFzc18wXCIpO1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gUnVsZVBvdGVudGlhbChcIlBvdGVudGlhbF8yXCIpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgcmV0dXJuIFJ1bGVQYXNzKFwiUGFzc18wXCIpO1xuICAgIH1cbn0iLCIvKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqXG4gIENvcHlyaWdodDo6IDIwMjItIElCTSwgSW5jXG4gIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLj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luY2UgaXQgdGFrZXMgcHJlY2VkZW5jZS5cbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIGxldCB0aGVMYWJlbCA9IG51bGw7XG4gICAgICAgICAgICBpZiAodGhlTGFiZWxCeSAmJiAhQ29tbW9uVXRpbC5pc0lkUmVmZXJUb1NlbGYocnVsZUNvbnRleHQsIHRoZUxhYmVsQnkpKSB7XG4gICAgICAgICAgICAgICAgbGV0IGxhYmVsVmFsdWVzID0gdGhlTGFiZWxCeS5zcGxpdCgvXFxzKy8pO1xuICAgICAgICAgICAgICAgIGZvciAobGV0IGogPSAwOyBqIDwgbGFiZWxWYWx1ZXMubGVuZ3RoOyArK2opIHtcbiAgICAgICAgICAgICAgICAgICAgbGV0IGVsZW1lbnRCeUlkID0gRnJhZ21lbnRVdGlsLmdldEJ5SWQocnVsZUNvbnRleHQsIGxhYmVsVmFsdWVzW2pdKTtcbiAgICAgICAgICAgICAgICAgICAgaWYgKGVsZW1lbnRCeUlkKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGVMYWJlbCA9IENvbW1vblV0aWwuZ2V0SW5uZXJUZXh0KGVsZW1lbnRCeUlkKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICB0aGVMYWJlbCA9IEFyaWFVdGlsLmdldEFyaWFBdHRyaWJ1dGUocnVsZUNvbnRleHQsIFwiYXJpYS1sYWJlbFwiKTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgaWYgKCF0aGVMYWJlbCkge1xuICAgICAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgXG4gICAgICAgICAgICBsZXQgdGV4dCA9IG51bGw7XG5cbiAgICAgICAgICAgIGlmIChpc0lucHV0QnV0dG9uKSB7XG4gICAgICAgICAgICAgICAgLyogTm90ZTogRGlzYWJsZSB0aGUgYWx0IGNoZWNrIGluIGltYWdlcyB1bnRpbCB3ZSBnZXQgY29uZmlybWF0aW9uXG4gICAgICAgICAgICAgICAgaWYgKGlucHV0VHlwZT09PVwiaW1hZ2VcIiAmJiBydWxlQ29udGV4dC5oYXNBdHRyaWJ1dGUoXCJhbHRcIikpe1xuICAgICAgICAgICAgICAgICAgICAvLyB1c2UgJ2FsdCcgYXR0cmlidXRlIGFzIHZpc2libGUgdGV4dFxuICAgICAgICAgICAgICAgICAgICB0ZXh0ID0gcnVsZUNvbnRleHQuZ2V0QXR0cmlidXRlKFwiYWx0XCIpO1xuICAgICAgICAgICAgICAgIH1lbHNlIFxuICAgICAgICAgICAgICAgICovXG4gICAgICAgICAgICAgICAgaWYgKHJ1bGVDb250ZXh0Lmhhc0F0dHJpYnV0ZShcInZhbHVlXCIpKSB7XG4gICAgICAgICAgICAgICAgICAgIC8vIHVzZSAndmFsdWUnIGF0dHJpYnV0ZSBhcyB2aXNpYmxlIHRleHRcbiAgICAgICAgICAgICAgICAgICAgdGV4dCA9IHJ1bGVDb250ZXh0LmdldEF0dHJpYnV0ZShcInZhbHVlXCIpO1xuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIC8vIHVzZSBkZWZhdWx0IHZhbHVlXG4gICAgICAgICAgICAgICAgICAgIGlmIChpbnB1dFR5cGUgPT09IFwic3VibWl0XCIvKnx8aW5wdXRUeXBlPT09XCJpbWFnZVwiKi8pIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRleHQgPSBcInN1Ym1pdFwiO1xuICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKGlucHV0VHlwZSA9PT0gXCJyZXNldFwiKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICB0ZXh0ID0gXCJyZXNldFwiO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG5cbiAgICAgICAgICAgIGlmICghdGV4dCkge1xuICAgICAgICAgICAgICAgIC8vIGxvb2sgZm9yIGEgPGxhYmVsPiBlbGVtZW50XG4gICAgICAgICAgICAgICAgbGV0IGxhYmVsRWxlbSA9IENvbW1vblV0aWwuZ2V0TGFiZWxGb3JFbGVtZW50SGlkZGVuKHJ1bGVDb250ZXh0LCB0cnVlKTtcbiAgICAgICAgICAgICAgICBpZiAoIWxhYmVsRWxlbSkge1xuICAgICAgICAgICAgICAgICAgICBsZXQgcGFyZW50Tm9kZSA9IERPTVdhbGtlci5wYXJlbnROb2RlKHJ1bGVDb250ZXh0KTtcbiAgICAgICAgICAgICAgICAgICAgaWYgKHBhcmVudE5vZGUubm9kZU5hbWUudG9Mb3dlckNhc2UoKSA9PT0gXCJsYWJlbFwiIC8qJiYgUlBUVXRpbC5pc0ZpcnN0Rm9ybUVsZW1lbnQocGFyZW50Tm9kZSwgcnVsZUNvbnRleHQpKi8pIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCBwYXJlbnRDbG9uZSA9IHBhcmVudE5vZGUuY2xvbmVOb2RlKHRydWUpO1xuICAgICAgICAgICAgICAgICAgICAgICAgLy8gZXhjbHVkZSBhbGwgZm9ybSBlbGVtZW50cyBmcm9tIHRoZSBsYWJlbCBzaW5jZSB0aGV5IG1pZ2h0IGFsc28gaGF2ZSBpbm5lciBjb250ZW50XG4gICAgICAgICAgICAgICAgICAgICAgICBsYWJlbEVsZW0gPSBDb21tb25VdGlsLnJlbW92ZUFsbEZvcm1FbGVtZW50c0Zyb21MYWJlbChwYXJlbnRDbG9uZSk7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICBsZXQgZWxlbWVudCA9IGxhYmVsRWxlbSA/IGxhYmVsRWxlbSA6IHJ1bGVDb250ZXh0O1xuXG4gICAgICAgICAgICAgICAgbGV0IGVsZW1lbnRzVG9Ta2lwQ29udGVudENoZWNrID0gW1wibWV0ZXJcIiwgXCJvdXRwdXRcIiwgXCJwcm9ncmVzc1wiLCBcInNlbGVjdFwiLCBcInRleHRhcmVhXCJdO1xuICAgICAgICAgICAgICAgIGlmICghbGFiZWxFbGVtICYmIGVsZW1lbnRzVG9Ta2lwQ29udGVudENoZWNrLmluZGV4T2Yobm9kZU5hbWUpICE9PSAtMSkge1xuICAgICAgICAgICAgICAgICAgICB0ZXh0ID0gXCJcIjsgLy8gc2tpcCBjb250ZW50IGNoZWNrIGZvciBzb21lIGVsZW1lbnRzXG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgLy8gZ2V0IHRoZSB2aXNpYmxlIHRleHQgb25seVxuICAgICAgICAgICAgICAgICAgICB0ZXh0ID0gQ29tbW9uVXRpbC5nZXRPblNjcmVlbklubmVyVGV4dChlbGVtZW50KTtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAvKiBOb3RlOiBEaXNhYmxlIHRoaXMgYWx0IGNoZWNrIGluIGltYWdlcyBmb3Igbm93IHVudGlsIHdlIGdldCBjb25maXJtYXRpb25cbiAgICAgICAgICAgICAgICAvLyBMb29rIGZvciB0aGUgYWx0IGF0dHJpYnV0ZSBvZiBhbiBpbWFnZSB3aGljaCBpcyBjb25zaWRlcmVkIHZpc2libGUgdGV4dC5cbiAgICAgICAgICAgICAgICBsZXQgaGFzSW1nQWx0ID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgaWYgKGVsZW1lbnQuZmlyc3RDaGlsZCAhPSBudWxsKSB7XG4gICAgICAgICAgICAgICAgICAgIGxldCBudyA9IFJQVFV0aWwubmV3IE5vZGVXYWxrZXIoZWxlbWVudCk7XG4gICAgICAgICAgICAgICAgICAgIHdoaWxlICghaGFzSW1nQWx0ICYmIG53Lm5leHROb2RlKCkgJiYgbncubm9kZSAhPSBlbGVtZW50ICYmIG53Lm5vZGUgIT0gZWxlbWVudC5uZXh0U2libGluZykge1xuICAgICAgICAgICAgICAgICAgICAgICAgaGFzSW1nQWx0ID0gKG53Lm5vZGUubm9kZU5hbWUudG9Mb3dlckNhc2UoKSA9PSBcImltZ1wiICYmIFJQVFV0aWwuYXR0cmlidXRlTm9uRW1wdHkobncubm9kZSwgXCJhbHRcIikpO1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGhhc0ltZ0FsdCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRleHQgPSB0ZXh0ID8gdGV4dCArIG53Lm5vZGUuZ2V0QXR0cmlidXRlKFwiYWx0XCIpIDogbncubm9kZS5nZXRBdHRyaWJ1dGUoXCJhbHRcIik7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgKi9cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgbGV0IG5vbmFscGhhbnVtZXJpYyA9IC9bXmEtekEtWjAtOV0vZztcblxuICAgICAgICAgICAgdGV4dCA9IHRleHQucmVwbGFjZShub25hbHBoYW51bWVyaWMsIFwiIFwiKTsgLy8gb25seSBjb25zaWRlciBhbHBoYW51bWVyaWMgY2hhcmFjdGVyc1xuICAgICAgICAgICAgbGV0IG5vcm1hbGl6ZWRUZXh0ID0gQ29tbW9uVXRpbC5ub3JtYWxpemVTcGFjaW5nKHRleHQpLnRvTG93ZXJDYXNlKCk7IC8vIExlYWRpbmcgYW5kIHRyYWlsaW5nIHdoaXRlc3BhY2UgYW5kIGRpZmZlcmVuY2UgaW4gY2FzZSBzZW5zaXRpdml0eSBzaG91bGQgYmUgaWdub3JlZC5cblxuICAgICAgICAgICAgdGhlTGFiZWwgPSB0aGVMYWJlbC5yZXBsYWNlKG5vbmFscGhhbnVtZXJpYywgXCIgXCIpOyAvLyBvbmx5IGNvbnNpZGVyIGFscGhhbnVtZXJpYyBjaGFyYWN0ZXJzXG4gICAgICAgICAgICBsZXQgbm9ybWFsaXplZExhYmVsID0gQ29tbW9uVXRpbC5ub3JtYWxpemVTcGFjaW5nKHRoZUxhYmVsKS50b0xvd2VyQ2FzZSgpO1xuXG4gICAgICAgICAgICBpZiAobm9ybWFsaXplZFRleHQubGVuZ3RoID4gMSkgeyAvLyBza2lwIG5vbi10ZXh0IGNvbnRlbnQuIGUuZy4sIDxidXR0b24gYXJpYS1sYWJlbD1cImNsb3NlXCI+WDwvYnV0dG9uPlxuICAgICAgICAgICAgICAgIGxldCBsb2NhdGlvbiA9IG5vcm1hbGl6ZWRMYWJlbC5pbmRleE9mKG5vcm1hbGl6ZWRUZXh0KTtcblxuICAgICAgICAgICAgICAgIC8vIEF2b2lkIG1hdGNoaW5nIHBhcnRpYWwgd29yZHMuZS5nLiwgdGV4dCBcIm5hbWVcIiBzaG91bGQgbm90IG1hdGNoICdzdXJuYW1lJyBvciAnbmFtZXMnXG4gICAgICAgICAgICAgICAgaWYgKGxvY2F0aW9uID49IDAgJiYgbm9ybWFsaXplZExhYmVsLmxlbmd0aCA+IG5vcm1hbGl6ZWRUZXh0Lmxlbmd0aCkge1xuICAgICAgICAgICAgICAgICAgICBsZXQgbGV0dGVycyA9IC9eWzAtOWEtekEtWl0rJC87XG4gICAgICAgICAgICAgICAgICAgIGlmICgobG9jYXRpb24gKyBub3JtYWxpemVkVGV4dC5sZW5ndGgpIDwgbm9ybWFsaXplZExhYmVsLmxlbmd0aCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgLy8gY2hlY2sgZW5kaW5nXG4gICAgICAgICAgICAgICAgICAgICAgICBsZXQgdGhlQ2hhciA9IG5vcm1hbGl6ZWRMYWJlbC5jaGFyQXQobG9jYXRpb24gKyBub3JtYWxpemVkVGV4dC5sZW5ndGgpO1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHRoZUNoYXIubWF0Y2gobGV0dGVycykpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBwYXNzZWQgPSBmYWxzZTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICBpZiAocGFzc2VkICYmIGxvY2F0aW9uID4gMCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgLy8gY2hlY2sgYmVnaW5uaW5nXG4gICAgICAgICAgICAgICAgICAgICAgICBsZXQgdGhlQ2hhciA9IG5vcm1hbGl6ZWRMYWJlbC5jaGFyQXQobG9jYXRpb24gLSAxKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmICh0aGVDaGFyLm1hdGNoKGxldHRlcnMpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcGFzc2VkID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgaWYgKGxvY2F0aW9uID09PSAtMSkgeyAvLyBjaGVjayB0aGF0IHZpc2libGUgdGV4dCBjb250ZW50IG9mIHRoZSB0YXJnZXQgaXMgY29udGFpbmVkIHdpdGhpbiBpdHMgYWNjZXNzaWJsZSBuYW1lLlxuICAgICAgICAgICAgICAgICAgICBwYXNzZWQgPSBmYWxzZTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgfVxuXG4gICAgICAgIGlmICghcGFzc2VkKSB7XG4gICAgICAgICAgICByZXR1cm4gUnVsZUZhaWwoXCJGYWlsXzFcIik7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICByZXR1cm4gUnVsZVBhc3MoXCJQYXNzXzBcIik7XG4gICAgICAgIH1cbiAgICB9XG59IiwiLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuICBDb3B5cmlnaHQ6OiAyMDIyLSBJQk0sIEluY1xuICBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24g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Zpc2libGVcbiAgICAgICAgICAgIGlmICghVmlzVXRpbC5pc05vZGVWaXNpYmxlKHRhcmdldCkgJiYgIVZpc1V0aWwuaXNOb2RlVmlzaWJsZShydWxlQ29udGV4dCkpXG4gICAgICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgICAgICBcbiAgICAgICAgICAgIHBhc3NlZCA9IHRydWU7XG4gICAgICAgICAgICAvLyBoYW5kbGVzIG51bGwgYW5kIHVuZGVmaW5lZFxuICAgICAgICAgICAgaWYgKCF0YXJnZXQuaGFzQXR0cmlidXRlKFwicm9sZVwiKSkge1xuICAgICAgICAgICAgICAgIC8vIEZhaWwgaWYgd2UncmUgcG9pbnRpbmcgYXQgc29tZXRoaW5nIHRoYXQgaXMgbGFiZWxsZWQgYnkgYW5vdGhlciBtZWNoYW5pc21cbiAgICAgICAgICAgICAgICBsZXQgbm9kZU5hbWUgPSB0YXJnZXQubm9kZU5hbWUudG9Mb3dlckNhc2UoKTtcbiAgICAgICAgICAgICAgICBwYXNzZWQgPSBub2RlTmFtZSA9PSBcImlucHV0XCIgfHwgbm9kZU5hbWUgPT0gXCJzZWxlY3RcIiB8fCBub2RlTmFtZSA9PSBcInRleHRhcmVhXCJcbiAgICAgICAgICAgICAgICAgICAgfHwgbm9kZU5hbWUgPT0gXCJidXR0b25cIiB8fCBub2RlTmFtZSA9PSBcImRhdGFsaXN0XCJcbiAgICAgICAgICAgICAgICAgICAgfHwgbm9kZU5hbWUgPT0gXCJvcHRncm91cFwiIHx8IG5vZGVOYW1lID09IFwib3B0aW9uXCJcbiAgICAgICAgICAgICAgICAgICAgfHwgbm9kZU5hbWUgPT0gXCJrZXlnZW5cIiB8fCBub2RlTmFtZSA9PSBcIm91dHB1dFwiXG4gICAgICAgICAgICAgICAgICAgIHx8IG5vZGVOYW1lID09IFwicHJvZ3Jlc3NcIiB8fCBub2RlTmFtZSA9PSBcIm1ldGVyXCJcbiAgICAgICAgICAgICAgICAgICAgfHwgbm9kZU5hbW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gICAgICAgIH1cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgLy8gQWRkIG9uZSBtb3JlIGNoZWNrIHRvIG1ha2Ugc3VyZSB0aGUgdGFyZ2V0IGVsZW1lbnQgaXMgTk9UIGhpZGRlbiwgaW4gdGhlIGNhc2UgdGhlIHRhcmdldCBpcyBoaWRkZW5cbiAgICAgICAgICAgIC8vIGZsYWcgYSB2aW9sYXRpb24gcmVnYXJkbGVzcyBvZiB3aGF0IHRoZSBDaGVjayBIaWRkZW4gQ29udGVudCBzZXR0aW5nIGlzLlxuICAgICAgICAgICAgaWYgKHBhc3NlZCAmJiAhVmlzVXRpbC5pc05vZGVWaXNpYmxlKHRhcmdldCkpIHtcbiAgICAgICAgICAgICAgICBwYXNzZWQgPSBmYWxzZTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICBsZXQgcmV0VG9rZW46IHN0cmluZ1tdID0gW107XG4gICAgICAgIGlmICghcGFzc2VkKSB7XG4gICAgICAgICAgICByZXRUb2tlbi5wdXNoKGlkKTtcbiAgICAgICAgfVxuICAgICAgICAvL3JldHVybiBuZXcgVmFsaWRhdGlvblJlc3VsdChwYXNzZWQsIFtydWxlQ29udGV4dF0sICcnLCAnJywgcGFzc2VkID09IHRydWUgPyBbXSA6IFtyZXRUb2tlbl0pO1xuICAgICAgICBpZiAoIXBhc3NlZCkge1xuICAgICAgICAgICAgcmV0dXJuIFJ1bGVGYWlsKFwiZmFpbF9pbnZhbGlkXCIsIHJldFRva2VuKTtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIHJldHVybiBSdWxlUGFzcyhcInBhc3NcIik7XG4gICAgICAgIH1cbiAgICB9XG59IiwiLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuICBDb3B5cmlnaHQ6OiAyMDIyLSBJQk0sIEluY1xuICBMaWNlbnNlZCB1bmRlciB0a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gdG8gdGhpbmdzIGxpa2UgPGk+U29tZSBzZW50ZW5jZTwvaT4uIE5ldyBzZW50ZW5jZS5cbiAgICAgICAgICAgICAgICAgICAgLy9sZXQgbncgPSBuZXcgTm9kZVdhbGtlcih3YWxrTm9kZSk7XG4gICAgICAgICAgICAgICAgICAgIGxldCBudyA9IG5ldyBET01XYWxrZXIod2Fsa05vZGUpO1xuICAgICAgICAgICAgICAgICAgICB3aGlsZSAoIXBhc3NlZCAmJiBudy5wcmV2Tm9kZSgpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBsZXQgbm9kZU5hbWUgPSBudy5ub2RlLm5vZGVOYW1lLnRvTG93ZXJDYXNlKCk7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoW1wiYmxvY2txdW90ZVwiLCBcImNlbnRlclwiLCBcImRpclwiLCBcImRpdlwiLCBcImZvcm1cIiwgXCJoMVwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFwiaDJcIiwgXCJoM1wiLCBcImg0XCIsIFwiaDVcIiwgXCJoNlwiLCBcImhyXCIsIFwiYnJcIiwgXCJtZW51XCIsIFwicFwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFwicHJlXCJdLmluY2x1ZGVzKG5vZGVOYW1lKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKG5vZGVOYW1lID09IFwiI3RleHRcIikge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCB0eHQgPSBudy5ub2RlLm5vZGVWYWx1ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBwYXNzZWQgPSB0eHQubGVuZ3RoID4gMCAmJiAhW1wiIFwiLCBcIlxcdFwiLCBcIlxcblwiXS5pbmNsdWRlcyh0eHQuY2hhckF0KHR4dC5sZW5ndGggLSAxKSk7XG4gICAgICAgICAgICAgICAgICAgICAgICB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biAgICAgICAgICAgICAgICAgICAgaWYgKHdhbGtDaGlsZHJlbi5ub2RlVHlwZSA9PSAxKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBsZXQgbm9kZU5hbWUgPSB3YWxrQ2hpbGRyZW4ubm9kZU5hbWUudG9Mb3dlckNhc2UoKTtcblxuICAgICAgICAgICAgICAgICAgICAgICAgLy8gV2hpbGUgd2Fsa2luZyB0aHJvdWdoIHRoZSBlbGVtZW50cyB1bmRlciBkbCwgaWYgd2UgZmluZCBhIFxuICAgICAgICAgICAgICAgICAgICAgICAgLy8gcHJlc2VudGF0aW9uYWwgZWxlbWVudCB3ZSBtb3ZlIHRvIHRoZSBuZXh0IGVsZW1lbnQgYXMgcHJlc2VudGF0aW9uYWxcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vIGVsZW1lbnRzIGFyZSBhbGxvd2VkIHVuZGVyIGxpc3QgZWxlbWVudHMgYXMgdGhleSBhcmUgb25seSBmb3JcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vIGZvcm1hdHRpbmcgdGV4dCBub2Rlcy5cbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChBcmlhVXRpbC5pc1ByZXNlbnRhdGlvbmFsRWxlbWVudCh3YWxrQ2hpbGRyZW4pKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcHJlc2VudGF0aW9uYWxGb3VuZCA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgd2Fsa0NoaWxkcmVuID0gd2Fsa0NoaWxkcmVuLm5leHRTaWJsaW5nO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnRpbnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgICAgICAvLyBPbmx5IHNldCB0byBwYXNzIGlmIHdlIGZpbmQgZGQgb3IgZHQgZWxlbWVudCwgaW4gdGhlIGNhc2Ugb2ZcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vIGFuIG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C5jaGlsZHJlbi5sZW5ndGggPT0gMCkpIHtcbiAgICAgICAgICAgICAgICBwYXNzZWQgPSB0cnVlO1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICBsZXQgbGlGb3VuZCA9IGZhbHNlO1xuICAgICAgICAgICAgICAgIGxldCBwcmVzZW50YXRpb25hbEZvdW5kID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgcGFzc2VkID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICB3aGlsZSAocGFzc2VkICYmIHdhbGtDaGlsZHJlbiAhPSBudWxsKSB7XG4gICAgICAgICAgICAgICAgICAgIC8vIFdoaWxlIHdhbGtpbmcgdGhyb3VnaCB0aGUgbGlzdCBlbGVtZW50cywgaWYgd2UgZmluZCBhIFxuICAgICAgICAgICAgICAgICAgICAvLyBwcmVzZW50YXRpb25hbCBlbGVtZW50IHdlIHNraXAgY2hlY2tpbmcgYXMgcHJlc2VudGF0aW9uYWxcbiAgICAgICAgICAgICAgICAgICAgLy8gZWxlbWVudHMgYXJlIGFsbG93ZWQgdW5kZXIgbGlzdCBlbGVtZW50cyBhcyB0aGV5IGFyZSBvbmx5IGZvclxuICAgICAgICAgICAgICAgICAgICAvLyBmb3JtYXR0aW5nIHRleHQuXG4gICAgICAgICAgICAgICAgICAgIGlmIChBcmlhVXRpbC5pc1ByZXNlbnRhdGlvbmFsRWxlbWVudCh3YWxrQ2hpbGRyZW4pKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBwcmVzZW50YXRpb25hbEZvdW5kID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgIHdhbGtDaGlsZHJlbiA9IHdhbGtDaGlsZHJlbi5uZXh0U2libGluZztcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbnRpbnVlO1xuICAgICAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAgICAgLy8gUGFzcyBpZiB0aGUgbm9kZSB0eXBlIGlzIGFueXRoaW5nIGJ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pbylcIixcbiAgICAgICAgICAgIFwiZ3JvdXBcIjogXCJMaXZlIG1lZGlhIChzdHJlYW1pbmcgdmlkZW8gd2l0aCBhdWRpbykgc2hvdWxkIGhhdmUgY2FwdGlvbnMgZm9yIGF1ZGlvIGNvbnRlbnRcIlxuICAgICAgICB9XG4gICAgfSxcbiAgICBydWxlc2V0czogW3tcbiAgICAgICAgXCJpZFwiOiBbXCJJQk1fQWNjZXNzaWJpbGl0eVwiLCBcIklCTV9BY2Nlc3NpYmlsaXR5X25leHRcIiwgXCJXQ0FHXzJfMVwiLCBcIldDQUdfMl8wXCIsIFwiV0NBR18yXzJcIl0sXG4gICAgICAgIFwibnVtXCI6IFtcIjEuMi40XCJdLFxuICAgICAgICBcImxldmVsXCI6IGVSdWxlUG9saWN5LlJFQ09NTUVOREFUSU9OLFxuICAgICAgICBcInRvb2xraXRMZXZlbFwiOiBlVG9vbGtpdExldmVsLkxFVkVMX09ORVxuICAgIH1dLFxuICAgIGFjdDogW10sXG4gICAgcnVuOiAoY29udGV4dDogUnVsZUNvbnRleHQsIG9wdGlvbnM/OiB7fSwgY29udGV4dEhpZXJhcmNoaWVzPzogUnVsZUNvbnRleHRIaWVyYXJjaHkpOiBSdWxlUmVzdWx0IHwgUnVsZVJlc3VsdFtdID0+IHtcbiAgICAgICAgY29uc3QgcnVsZUNvbnRleHQgPSBjb250ZXh0W1wiZG9tXCJdLm5vZGUgYXMgRWxlbWVudDtcbiAgICAgICAgbGV0IHBhc3NlZCA9ICFDb21tb25VdGlsLmlzVmlkZW9PYmpFbWJlZExpbmsocnVsZUNvbnRleHQpO1xuICAgICAgICBpZiAocGFzc2VkKSByZXR1cm4gbnVsbDtcbiAgICAgICAgaWYgKCFwYXNzZWQpIHJldHVybiBSdWxlTWFudWFsKFwiTWFudWFsXzFcIik7XG4gICAgfVxufSIsIi8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKio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ZpcnN0IG9uZSBzaW5jZSBpdCB0YWtlcyBwcmlvcml0eVxuICAgICAgICBpZiAoQ29tbW9uVXRpbC50cmlnZ2VyT25jZShGcmFnbWVudFV0aWwuZ2V0T3duZXJGcmFnbWVudChydWxlQ29udGV4dCksIFwibWV0YV9yZWRpcmVjdF9vcHRpb25hbFwiLCBmYWxzZSkpIHtcbiAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICB9XG4gICAgICAgIGxldCB0aW1lTWF0Y2ggPSBjb250ZW50Lm1hdGNoKC9eKFxcZCspOyArW14gXS8pO1xuICAgICAgICBpZiAoIXRpbWVNYXRjaCB8fCBwYXJzZUludCh0aW1lTWF0Y2hbMV0pID09PSAwKSB7XG4gICAgICAgICAgICByZXR1cm4gUnVsZVBhc3MoXCJwYXNzXCIpO1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgbGV0IHRpbWUgPSBwYXJzZUludCh0aW1lTWF0Y2hbMV0pO1xuICAgICAgICAgICAgaWYgKHRpbWUgPCA3MjAwMSkge1xuICAgICAgICAgICAgICAgIHJldHVybiBSdWxlRmFpbChcImZhaWxcIik7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIHJldHVybiBSdWxlRmFpbChcImZhaWxfbG9uZ3JlZnJlc2hcIik7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG59IiwiLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuICBDb3B5cmlnaHQ6OiAyMDIyLSBJQk0sIEluY1xuICBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gIF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wiOiBlVG9vbGtpdExldmVsLkxFVkVMX1RIUkVFXG4gICAgfV0sXG4gICAgYWN0OiBbIFwiYmlzejU4XCIsIFwiYmM2NTlhXCIgXSxcbiAgICBydW46IChjb250ZXh0OiBSdWxlQ29udGV4dCwgb3B0aW9ucz86IHt9LCBjb250ZXh0SGllcmFyY2hpZXM/OiBSdWxlQ29udGV4dEhpZXJhcmNoeSk6IFJ1bGVSZXN1bHQgfCBSdWxlUmVzdWx0W10gPT4ge1xuICAgICAgICBjb25zdCBydWxlQ29udGV4dCA9IGNvbnRleHRbXCJkb21cIl0ubm9kZSBhcyBFbGVtZW50O1xuICAgICAgICBpZiAocnVsZUNvbnRleHQuZ2V0QXR0cmlidXRlKFwiaHR0cC1lcXVpdlwiKS50b0xvd2VyQ2FzZSgpICE9PSAncmVmcmVzaCcpXG4gICAgICAgICAgICByZXR1cm4gbnVsbDtcblxuICAgICAgICBsZXQgY29udGVudCA9IHJ1bGVDb250ZXh0LmdldEF0dHJpYnV0ZShcImNvbnRlbnRcIikudG9Mb3dlckNhc2UoKTtcbiAgICAgICAgLy8gSW52YWxpZCBjb250ZW50IGZpZWxkXG4gICAgICAgIGlmICghY29udGVudC5tYXRjaCgvXlxcZCskLykgJiYgIWNvbnRlbnQubWF0Y2goL15cXGQrOy8pKSB7XG4gICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgfVxuICAgICAgICBsZXQgZmFpbCA9ICFjb250ZW50Lm1hdGNoKC9eXFxkKzsgK1teIF0vKTtcbiAgICAgICAgcmV0dXJuICFmYWlsID8gUnVsZVBhc3MoXCJQYXNzXzBcIikgOiBSdWxlUG90ZW50aWFsKFwiUG90ZW50aWFsXzFcIik7XG4gICAgfVxufSIsIi8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcbiAgQ29weXJpZ2h0OjogMjAyMi0gSUJNLCBJbmNcbiAgTGljZW5zZWQ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jb25zdCBtZXRhX3ZpZXdwb3J0X3pvb21hYmxlOiBSdWxlID0ge1xuICAgIGlkOiBcIm1ldGFfdmlld3BvcnRfem9vbWFibGVcIixcbiAgICBjb250ZXh0OiBcImRvbTptZXRhW25hbWVdW2NvbnRlbnRdXCIsXG4gICAgcmVmYWN0b3I6IHtcbiAgICAgICAgXCJtZXRhX3ZpZXdwb3J0X3pvb21cIjoge1xuICAgICAgICAgICAgXCJQYXNzXzBcIjogXCJwYXNzXCIsXG4gICAgICAgICAgICBcIlBvdGVudGlhbF8xXCI6IFwicG90ZW50aWFsX3pvb21hYmxlXCJcbiAgICAgICAgfVxuICAgIH0sXG4gICAgaGVscDoge1xuICAgICAgICBcImVuLVVTXCI6IHtcbiAgICAgICAgICAgIFwiZ3JvdXBcIjogXCJtZXRhX3ZpZXdwb3J0X3pvb21hYmxlLmh0bWxcIixcbiAgICAgICAgICAgIFwicGFzc1wiOiBcIm1ldGFfdmlld3BvcnRfem9vbWFibGUuaHRtbFwiLFxuICAgICAgICAgICAgXCJwb3RlbnRpYWxfem9vbWFibGVcIjogXCJtZXRhX3ZpZXdwb3J0X3pvb21hYmxlLmh0bWxcIlxuICAgICAgICB9XG4gICAgfSxcbiAgICBtZXNzYWdlczoge1xuICAgICAgICBcImVuLVVTXCI6IHtcbiAgICAgICAgICAgIFwiZ3JvdXBcIjogXCJUaGUgJ21ldGFbbmFtZT12aWV3cG9ydF0nIHNob3VsZCBub3QgcHJldmVudCB0aGUgYnJvd3NlciB6b29taW5nIHRoZSBjb250ZW50XCIsXG4gICAgICAgICAgICBcInBhc3NcIjogXCJUaGUgJ21ldGFbbmFtZT12aWV3cG9ydF0nIGRvZXMgbm90IHByZXZlbnQgdGhlIGJyb3dzZXIgem9vbWluZyB0aGUgY29udGVudFwiLFxuICAgICAgICAgICAgXCJwb3RlbnRpYWxfem9vbWFibGVcIjogXCJDb25maXJtIHRoZSAnbWV0YVtuYW1lPXZpZXdwb3J0XScgd2l0aCBcXFwiezB9X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7XG4gICAgICAgICAgICBpZiAobWF4aW11bV9zY2FsZV92YWx1ZSA9PT0gJ3llcycpIG1heGltdW1fc2NhbGUgPSAxLjA7XG4gICAgICAgICAgICBlbHNlIG1heGltdW1fc2NhbGUgPSAwLjE7XG4gICAgICAgIH1cblxuICAgICAgICAvLyB1c2VyLXNjYWxhYmxlIGlzIG5vdCBzZXQgdG8gJ3llcycsIGlnbm9yZSBtYXhpbXVtX3NjYWxlXG4gICAgICAgIGlmICh1c2VyX3NjYWxlX3ZhbHVlICE9PSAneWVzJykge1xuICAgICAgICAgICAgcmV0dXJuIFJ1bGVQb3RlbnRpYWwoXCJwb3RlbnRpYWxfem9vbWFibGVcIiwgW3VzZXJfbXNnXSk7XG4gICAgICAgIH1cbiAgICAgICAgLy8gdXNlci1zY2FsYWJsZSBpcyAneWVzJywgYnV0IG1heGltdW1fc2NhbGUgaXMgdG9vIHNtYWxsXG4gICAgICAgIGlmIChtYXhpbXVtX3NjYWxlIDwgMi4wKSB7XG4gICAgICAgICAgICByZXR1cm4gUnVsZVBvdGVudGlhbChcInBvdGVudGlhbF96b29tYWJsZVwiLCBbbWF4X21zZ10pO1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiBSdWxlUGFzcyhcInBhc3NcIik7XG4gICAgfVxufSIsIi8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcbiAgQ29weXJpZ2h0OjogMjAyMi0gSUJNLCBJbmNcbiAgTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAgeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAgaHR0cDovL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YW5jaG9yc1tpXTtcbiAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAvLyBQdWxsIG91dCB0aGUgdGFyZ2V0IGlkXG4gICAgICAgICAgICBsZXQgdGFyZ2V0SWQgPSBudWxsO1xuICAgICAgICAgICAgaWYgKHRlc3RBbmNob3IgIT0gbnVsbCkge1xuICAgICAgICAgICAgICAgIGxldCBocmVmU3RyID0gdGVzdEFuY2hvci5nZXRBdHRyaWJ1dGUoXCJocmVmXCIpO1xuICAgICAgICAgICAgICAgIGxldCBpZHggPSBocmVmU3RyLmluZGV4T2YoXCIjXCIpO1xuICAgICAgICAgICAgICAgIGlmIChpZHggIT0gLTEpIHtcbiAgICAgICAgICAgICAgICAgICAgdGFyZ2V0SWQgPSBocmVmU3RyLnN1YnN0cmluZyhpZHggKyAxKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICAvLyBEZXRlcm1pbmUgaWYgdGhlcmUgaXMgYW4gZWxlbWVudCBpZCBvciBuYW1lZCBhbmNob3Igb24gdGhlIHBhZ2Ugd2l0aCB0aGlzXG4gICAgICAgICAgICAvLyB0YXJnZXQgaWQuXG5cbiAgICAgICAgICAgIGlmICh0YXJnZXRJZCAhPSBudWxsKSB7XG4gICAgICAgICAgICAgICAgcGFzc2VkID0gZG9jLmdldEVsZW1lbnRCeUlkKHRhcmdldElkKSAhPSBudWxsO1xuICAgICAgICAgICAgICAgIGZvciAobGV0IGkgPSAwOyAhcGFzc2VkICYmIGkgPCBhbmNob3JzLmxlbmd0aDsgKytpKSB7XG4gICAgICAgICAgICAgICAgICAgIGlmICghYW5jaG9yc1tpXS5oYXNBdHRyaWJ1dGUoXCJocmVmXCIpICYmXG4gICAgICAgICAgICAgICAgICAgICAgICBhbmNob3JzW2ldLmhhc0F0dHJpYnV0ZShcIm5hbWVcIikgJiZcbiAgICAgICAgICAgICAgIC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AgICAgICAgIGlmIChjc3NbaV0uc2VsZWN0b3IpIHtcbiAgICAgICAgICAgICAgICAgICAgcGFzc2VkID0gKGNzc1tpXS5zZWxlY3Rvci5pbmRleE9mKFwiOmJlZm9yZVwiKSA9PT0gLTEgJiYgY3NzW2ldLnNlbGVjdG9yLmluZGV4T2YoXCI6YWZ0ZXJcIikgPT09IC0xKSB8fFxuICAgICAgICAgICAgICAgICAgICAgICAgIShcImNvbnRlbnRcIiBpbiBjc3NbaV0udmFsdWVzKSB8fCBjc3NbaV0udmFsdWVzW1wiY29udGVudFwiXS50cmltKCkubGVuZ3RoID09PSAwIHx8IGNzc1tpXS52YWx1ZXNbXCJjb250ZW50XCJdLnRyaW0oKSA9PT0gXCJcXFwiXFxcIlwiXG4gICAgICAgICAgICAgICAgICAgICAgICB8fCBjc3NbaV0udmFsdWVzW1wiY29udGVudFwiXS50cmltKCkgPT09IFwiXFwnXFwnXCIgfHwgY3NzW2ldLnZhbHVlc1tcImNvbnRlbnRcIl0udHJpbSgpID09PSBcIm5vbmVcIiB8fCBjc3NbaV0udmFsdWVzW1wiY29udGVudFwiXS50cmltKCkgPT09IFwiYXR0cih4KVwiXG4gICAgICAgICAgICAgICAgICAgICAgICB8fCBjc3NbaV0udmFsdWVzW1wiY29udGVudFwiXS50cmltKCkgPT09IFwiYXR0cih5KVwiO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgLy8gY2hlY2sgc3BlY2lhbCBydWxlcyBpbiB0aGUgc3R5bGVzaGVldHNcbiAgICAgICAgICAgIGlmIChwYXNzZWQpIHtcbiAgICAgICAgICAgICAgICBmb3IgKGxldCBzSW5kZXggPSAwOyBzSW5kZXggPCBydWxlQ29udGV4dC5vd25lckRvY3VtZW50LnN0eWxlU2hlZXRzLmxlbmd0aDsgc0luZGV4KyspIHtcbiAgICAgICAgICAgICAgICAgICAgbGV0IHNoZWV0ID0gcnVsZUNvbnRleHQub3duZXJEb2N1bWVudC5zdHlsZVNoZWV0c1tzSW5kZXhdIGFzIENTU1N0eWxlU2hlZXQ7XG4gICAgICAgICAgICAgICAgICAgIGlmIChzaGVldC5vd25lck5vZGUgPT09IHJ1bGVDb250ZXh0KSB7XG4gICAgICAgICAgICAgICAgICAgICAgICB0cnkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBzdHlsZVJ1bGVzID0gc2hlZXQuY3NzUnVsZXMgPyBzaGVldC5jc3NSdWxlcyA6IHNoZWV0LnJ1bGVzO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChzdHlsZVJ1bGVzKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZvciAobGV0IHN0eWxlUnVsZUluZGV4ID0gMDsgcGFzc2VkICYmIHN0eWxlUnVsZUluZGV4IDwgc3R5bGVSdWxlcy5sZW5ndGg7IHN0eWxlUnVsZUluZGV4KyspIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBzdHlsZVJ1bGUgPSBzdHlsZVJ1bGVzW3N0eWxlUnVsZUluZGV4XTtcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY2hlY2sgQG1lZGlhIHJ1bGVzIFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy9cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIFRoZSBjaGVjayAnaWYgKHN0eWxlUnVsZSBpbnN0YW5jZW9mIENTU01lZGlhUnVsZSknIGRvZXNuJ3Qgd29yayB3aGVuIHJ1biBpbiBLYXJtYShidXQgd29ya3MgaW4gREFQKSBcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIHNvIGxldCdzIGFjY2VzcyB0aGUgdHlwZSBkaXJlY3RseSBhcyBhIHdvcmthcm91bmRcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBzdHlsZUltcG9ydFJ1bGU6IENTU0ltcG9ydFJ1bGU7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoc3R5bGVSdWxlLnR5cGUgJiYgc3R5bGVSdWxlLnR5cGUgPT09IDQgLyogQ1NTUnVsZS5NRURJQV9SVUxFICovKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHN0eWxlTWVkaWFSdWxlID0gc3R5bGVSdWxlIGFzIENTU01lZGlhUnVsZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgbWVkaWFSdWxlcyA9IHN0eWxlTWVkaWFSdWxlLmNzc1J1bGVzO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChtZWRpYVJ1bGVzKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZvciAobGV0IHJJbmRleCA9IDA7IHBhc3NlZCAmJiBySW5kZXggPCBtZWRpYVJ1bGVzLmxlbmd0aDsgckluZGV4KyspIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBtUnVsZSA9IG1lZGlhUnVsZXNbckluZGV4XSBhcyBhbnk7IC8vIHNlbGVjdG9yVGV4dCBub3QgcmVjb2duaXplZFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKG1SdWxlLnNlbGVjdG9yVGV4dCAhPT0gbnVsbCAmJiBtUnVsZS5zZWxlY3RvclRleHQgIT09IHVuZGVmaW5lZCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBydWxlID0gbVJ1bGUuc2VsZWN0b3JUZXh0LnRvTG93ZXJDYXNlKCk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHJ1bGUuaW5kZXhPZihcIjpiZWZvcmVcIikgIT09IC0xIHx8IHJ1bGUuaW5kZXhPZihcIjphZnRlclwiKSAhPT0gLTEpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGNvbnRlbnQgPSBtUnVsZS5zdHlsZVsnY29udGVudCddO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoY29udGVudCAmJiBjb250ZW50LnRyaW0oKS5sZW5ndGgpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChjb250ZW50LnRyaW0oKSAhPT0gXCJcXFwiXFxcIlwiICYmXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29udGVudC50cmltKCkgIT09IFwiXFwnXFwnXCIgJiZcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb250ZW50LnRyaW0oKSAhPT0gXCJub25lXCIgJiZcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb250ZW50LnRyaW0oKSAhPT0gXCJhdHRyKHgpXCIgJiZcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb250ZW50LnRyaW0oKSAhPT0gXCJhdHRyKHkpXCIpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwYXNzZWQgPSBmYWxzZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY2hlY2sgaW1wb3J0IHJ1bGVzXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbHNlIGlmIChzdHlsZVJ1bGUudHlwZSAmJiBzdHlsZVJ1bGUudHlwZSA9PT0gMyAvKiBDU1NSdWxlLklNUE9SVF9SVUxFICovICYmIChzdHlsZUltcG9ydFJ1bGUgPSBzdHlsZVJ1bGUgYXMgQ1NTSW1wb3J0UnVsZSkuc3R5bGVTaGVldCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBydWxlcyA9IHN0eWxlSW1wb3J0UnVsZS5zdHlsZVNoZWV0LmNzc1J1bGVzID9cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3R5bGVJbXBvcnRSdWxlLnN0eWxlU2hlZXQuY3NzUnVsZXMgOlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzdHlsZUltcG9ydFJ1bGUuc3R5bGVTaGVldC5ydWxlcztcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAocnVsZXMpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZm9yIChsZXQgckluZGV4ID0gMDsgcGFzc2VkICYmIHJJbmRleCA8IHJ1bGVzLmxlbmd0aDsgckluZGV4KyspIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBpbXBvcnRlZFJ1bGUgPSBydWxlc1tySW5kZXhdO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY2hlY2sgQG1lZGlhIHJ1bGVzIFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGltcG9ydGVkUnVsZS50eXBlICYmIGltcG9ydGVkUnVsZS50eXBlID09PSA0IC8qIENTU1J1bGUuTUVESUFfUlVMRSAqLykge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBtZWRpYVJ1bGVzID0gKGltcG9ydGVkUnVsZSBhcyBDU1NNZWRpYVJ1bGUpLmNzc1J1bGVzO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChtZWRpYVJ1bGVzKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZvciAobGV0IG1JbmRleCA9IDA7IG1JbmRleCA8IG1lZGlhUnVsZXMubGVuZ3RoOyBtSW5kZXgrKykge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IG1SdWxlID0gbWVkaWFSdWxlc1ttSW5kZXhdIGFzIGFueTsgLy8gc2VsZWN0b3JUZXh0IG5vdCByZWNvZ25pemVkXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAobVJ1bGUuc2VsZWN0b3JUZXh0ICE9PSBudWxsICYmIG1SdWxlLnNlbGVjdG9yVGV4dCAhPT0gdW5kZWZpbmVkKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHJ1bGUgPSBtUnVsZS5zZWxlY3RvclRleHQudG9Mb3dlckNhc2UoKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAocnVsZS5pbmRleE9mKFwiOmJlZm9yZVwiKSAhPT0gLTEgfHwgcnVsZS5pbmRleE9mKFwiOmFmdGVyXCIpICE9PSAtMSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgY29udGVudCA9IG1SdWxlLnN0eWxlWydjb250ZW50J107XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChjb250ZW50ICYmIGNvbnRlbnQudHJpbSgpLmxlbmd0aCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGNvbnRlbnQudHJpbSgpICE9PSBcIlxcXCJcXFwiXCIgJiZcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb250ZW50LnRyaW0oKSAhPT0gXCJcXCdcXCdcIiAmJlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnRlbnQudHJpbSgpICE9PSBcIm5vbmVcIiAmJlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnRlbnQudHJpbSgpICE9PSBcImF0dHIoeClcIiAmJlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnRlbnQudHJpbSgpICE9PSBcImF0dHIoeSlcIikge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHBhc3NlZCA9IGZhbHNlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZWxzZSBpZiAoKGltcG9ydGVkUnVsZSBhcyBhbnkpLnNlbGVjdG9yVGV4dCAhPT0gbnVsbCAmJiAoaW1wb3J0ZWRSdWxlIGFzIGFueSkuc2VsZWN0b3JUZXh0ICE9PSB1bmRlZmluZWQpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgcnVsZSA9IChpbXBvcnRlZFJ1bGUgYXMgYW55KS5zZWxlY3RvclRleHQudG9Mb3dlckNhc2UoKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvL3N1cHBvcnQgYm90aCBzaW5nbGUgY29sb24gKDopIGFuZCBkb3VibGUgY29sb24gKDo6KSBwc2V1ZG8gICAgICAgICAgICAgICAgICAgICAgICBcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAocnVsZS5pbmRleE9mKFwiOmJlZm9yZVwiKSAhPT0gLTEgfHwgcnVsZS5pbmRleE9mKFwiOmFmdGVyXCIpICE9PSAtMSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgY29udGVudCA9IChpbXBvcnRlZFJ1bGUgYXMgYW55KS5zdHlsZVsnY29udGVudCddO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoY29udGVudCAmJiBjb250ZW50LnRyaW0oKS5sZW5ndGgpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChjb250ZW50LnRyaW0oKSAhPT0gXCJcXFwiXFxcIlwiICYmXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29udGVudC50cmltKCkgIT09IFwiXFwnXFwnXCIgJiZcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb250ZW50LnRyaW0oKSAhPT0gXCJub25lXCIgJiZcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb250ZW50LnRyaW0oKSAhPT0gXCJhdHRyKHgpXCIgJiZcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb250ZW50LnRyaW0oKSAhPT0gXCJhdHRyKHkpXCIpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwYXNzZWQgPSBmYWxzZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBJZ25vcmUgY3NzIGFjY2VzcyBpc3N1ZXNcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIC8vY2hlY2sgZXh0ZXJuYWwgc3R5bGVzIFxuICAgICAgICBpZiAocnVsZUNvbnRleHQubm9kZU5hbWUudG9Mb3dlckNhc2UoKSA9PT0gXCJsaW5rXCIgJiYgcnVsZUNvbnRleHQuaGFzQXR0cmlidXRlKFwicmVsXCIpICYmXG4gICAgICAgICAgICBydWxlQ29udGV4dC5nZXRBdHRyaWJ1dGUoXCJyZWxcIikudG9Mb3dlckNhc2UoKSA9PT0gXCJzdHlsZXNoZWV0XCIgJiZcbiAgICAgICAgICAgIHJ1bGVDb250ZXh0Lmhhc0F0dHJpYnV0ZShcImhyZWZcIikgJiYgcnVsZUNvbnRleHQuZ2V0QXR0cmlidXRlKFwiaHJlZlwiKS50cmltKCkubGVuZ3RoICE9PSAwKSB7XG5cbiAgICAgICAgICAgIGZvciAobGV0IHNJbmRleCA9IDA7IHNJbmRleCA8IHJ1bGVDb250ZXh0Lm93bmVyRG9jdW1lbnQuc3R5bGVTaGVldHMubGVuZ3RoOyBzSW5kZXgrKykge1xuICAgICAgICAgICAgICAgIGxldCBzaGVldCA9IHJ1bGVDb250ZXh0Lm93bmVyRG9jdW1lbnQuc3R5bGVTaGVldHNbc0luZGV4XSBhcyBDU1NTdHlsZVNoZWV0O1xuICAgICAgICAgICAgICAgIGlmIChzaGVldCAmJiBzaGVldC5vd25lck5vZGUgPT09IHJ1bGVDb250ZXh0KSB7XG4gICAgICAgICAgICAgICAgICAgIHRyeSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBsZXQgcnVsZXMgPSBzaGVldC5jc3NSdWxlcyA/IHNoZWV0LmNzc1J1bGVzIDogc2hlZXQucnVsZXM7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAocnVsZXMpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBmb3IgKGxldCBySW5kZXggPSAwOyBwYXNzZWQgJiYgckluZGV4IDwgcnVsZXMubGVuZ3RoOyBySW5kZXgrKykge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgcnVsZUZyb21MaW5rID0gcnVsZXNbckluZGV4XTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY2hlY2sgQG1lZGlhIHJ1bGVzIFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAocnVsZUZyb21MaW5rLnR5cGUgJiYgcnVsZUZyb21MaW5rLnR5cGUgPT09IDQgLyogQ1NTUnVsZS5NRURJQV9SVUxFICovKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgbWVkaWFSdWxlcyA9IChydWxlRnJvbUxpbmsgYXMgQ1NTTWVkaWFSdWxlKS5jc3NSdWxlcztcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChtZWRpYVJ1bGVzKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZm9yIChsZXQgbUluZGV4ID0gMDsgcGFzc2VkICYmIG1JbmRleCA8IG1lZGlhUnVsZXMubGVuZ3RoOyBtSW5kZXgrKykge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgbVJ1bGUgPSBtZWRpYVJ1bGVzW21JbmRleF0gYXMgYW55O1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAobVJ1bGUuc2VsZWN0b3JUZXh0ICE9PSBudWxsICYmIG1SdWxlLnNlbGVjdG9yVGV4dCAhPT0gdW5kZWZpbmVkKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgcnVsZVNlbFR4dCA9IG1SdWxlLnNlbGVjdG9yVGV4dC50b0xvd2VyQ2FzZSgpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHJ1bGVTZWxUeHQuaW5kZXhPZihcIjpiZWZvcmVcIikgIT09IC0xIHx8IHJ1bGVTZWxUeHQuaW5kZXhPZihcIjphZnRlclwiKSAhPT0gLTEpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgY29udGVudCA9IG1SdWxlLnN0eWxlWydjb250ZW50J107XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGNvbnRlbnQgJiYgY29udGVudC50cmltKCkubGVuZ3RoKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChjb250ZW50LnRyaW0oKSAhPT0gXCJcXFwiXFxcIlwiICYmXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb250ZW50LnRyaW0oKSAhPT0gXCJcXCdcXCdcIiAmJlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29udGVudC50cmltKCkgIT09IFwibm9uZVwiICYmXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb250ZW50LnRyaW0oKSAhPT0gXCJhdHRyKHgpXCIgJiZcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnRlbnQudHJpbSgpICE9PSBcImF0dHIoeSlcIikge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcGFzc2VkID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZWxzZSBpZiAoKHJ1bGVzW3JJbmRleF0gYXMgYW55KS5zZWxlY3RvclRleHQgIT09IG51bGwgJiYgKHJ1bGVzW3JJbmRleF0gYXMgYW55KS5zZWxlY3RvclRleHQgIT09IHVuZGVmaW5lZCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHJ1bGUgPSAocnVsZXNbckluZGV4XSBhcyBhbnkpLnNlbGVjdG9yVGV4dC50b0xvd2VyQ2FzZSgpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy9zdXBwb3J0IGJvdGggc2luZ2xlIGNvbG9uICg6KSBhbmQgZG91YmxlIGNvbG9uICg6OikgcHNldWRvICAgICAgICAgICAgICAgICAgICAgICAgXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAocnVsZS5pbmRleE9mKFwiOmJlZm9yZVwiKSAhPT0gLTEgfHwgcnVsZS5pbmRleE9mKFwiOmFmdGVyXCIpICE9PSAtMSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBjb250ZW50ID0gKHJ1bGVzW3JJbmRleF0gYXMgYW55KS5zdHlsZVsnY29udGVudCddO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChjb250ZW50ICYmIGNvbnRlbnQudHJpbSgpLmxlbmd0aCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoY29udGVudC50cmltKCkgIT09IFwiXFxcIlxcXCJcIiAmJlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29udGVudC50cmltKCkgIT09IFwiXFwnXFwnXCIgJiZcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnRlbnQudHJpbSgpICE9PSBcIm5vbmVcIiAmJlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29udGVudC50cmltKCkgIT09IFwiYXR0cih4KVwiICYmXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb250ZW50LnRyaW0oKSAhPT0gXCJhdHRyKHkpXCIpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHBhc3NlZCA9IGZhbHNlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9IGNhdGNoIChlKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAvLyBJZ25vcmUgY3NzIGFjY2VzcyBpc3N1ZXNcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICBpZiAocGFzc2VkKSByZXR1cm4gUnVsZVBhc3MoXCJQYXNzXzBcIik7XG4gICAgICAgIGlmICghcGFzc2VkKSByZXR1cm4gUnVsZVBvdGVudGlhbChcIlBvdGVudGlhbF8xXCIpO1xuICAgIH1cbn1cbiIsIi8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcbiAgICBDb3B5cmlnaHQ6OiAyMDIyLSBJQk0sIEluY1xuICAgIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gICAgeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICAgIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICAgIGh0dHA6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICAgIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmx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mJiBzaGVldC5vd25lck5vZGUgPT09IHJ1bGVDb250ZXh0KSB7XG4gICAgICAgICAgICAgICAgICAgIHRyeSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBsZXQgc3R5bGVSdWxlcyA9IHNoZWV0LmNzc1J1bGVzID8gc2hlZXQuY3NzUnVsZXMgOiBzaGVldC5ydWxlcztcbiAgICAgICAgICAgICAgICAgICAgICAgIGZvciAobGV0IHN0eWxlUnVsZUluZGV4ID0gMDsgc3R5bGVSdWxlSW5kZXggPCBzdHlsZVJ1bGVzLmxlbmd0aDsgc3R5bGVSdWxlSW5kZXgrKykge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBzdHlsZVJ1bGUgPSBzdHlsZVJ1bGVzW3N0eWxlUnVsZUluZGV4XTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgc3R5bGVJbXBvcnRSdWxlOiBDU1NJbXBvcnRSdWxlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChzdHlsZVJ1bGUudHlwZSAmJiBzdHlsZVJ1bGUudHlwZSA9PT0gMyAvKiBDU1NSdWxlLklNUE9SVF9SVUxFICovICYmIChzdHlsZUltcG9ydFJ1bGUgPSBzdHlsZVJ1bGUgYXMgQ1NTSW1wb3J0UnVsZSkuc3R5bGVTaGVldCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgaW1wb3J0UnVsZXMgPSBzdHlsZUltcG9ydFJ1bGUuc3R5bGVTaGVldC5jc3NSdWxlcyA/IHN0eWxlSW1wb3J0UnVsZS5zdHlsZVNoZWV0LmNzc1J1bGVzIDogc3R5bGVJbXBvcnRSdWxlLnN0eWxlU2hlZXQucnVsZXM7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZvciAobGV0IHJJbmRleCA9IDA7IHJJbmRleCA8IGltcG9ydFJ1bGVzLmxlbmd0aDsgckluZGV4KyspIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBpUnVsZSA9IGltcG9ydFJ1bGVzW3JJbmRleF07XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzdHlsZVRleHQgKz0gaVJ1bGUuY3NzVGV4dDtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfSBjYXRjaCAoZSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgLy8gU2lsZW5jZSBjc3MgYWNjZXNzIGlzc3Vlc1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIGVsc2UgaWYgKHJ1bGVDb250ZXh0Lmhhc0F0dHJpYnV0ZShcInN0eWxlXCIpKSB7XG4gICAgICAgICAgICBzdHlsZVRleHQgPSBydWxlQ29udGV4dC5nZXRBdHRyaWJ1dGUoXCJzdHlsZVwiKS50b0xvd2VyQ2FzZSgpO1xuICAgICAgICB9XG4gICAgICAgIGVsc2UgaWYgKG5vZGVOYW1lID09PSBcImxpbmtcIiAmJiAvL2NoZWNrIGV4dGVybmFsIHN0eWxlc1xuICAgICAgICAgICAgcnVsZUNvbnRleHQuaGFzQXR0cmlidXRlKFwicmVsXCIpICYmXG4gICAgICAgICAgICBydWxlQ29udGV4dC5nZXRBdHRyaWJ1dGUoXCJyZWxcIikudG9Mb3dlckNhc2UoKSA9PT0gXCJzdHlsZXNoZWV0XCIgJiZcbiAgICAgICAgICAgIHJ1bGVDb250ZXh0Lmhhc0F0dHJpYnV0ZShcImhyZWZcIikgJiZcbiAgICAgICAgICAgIHJ1bGVDb250ZXh0LmdldEF0dHJpYnV0ZShcImhyZWZcIikudHJpbSgpLmxlbmd0aCAhPT0gMCkge1xuICAgICAgICAgICAgZm9yIChsZXQgc0luZGV4ID0gMDsgc0luZGV4IDwgcnVsZUNvbnRleHQub3duZXJEb2N1bWVudC5zdHlsZVNoZWV0cy5sZW5ndGg7IHNJbmRleCsrKSB7XG4gICAgICAgICAgICAgICAgbGV0IHNoZWV0ID0gcnVsZUNvbnRleHQub3duZXJEb2N1bWVudC5zdHlsZVNoZWV0c1tzSW5kZXhdIGFzIENTU1N0eWxlU2hlZXQ7XG4gICAgICAgICAgICAgICAgaWYgKHNoZWV0ICYmIHNoZWV0Lm93bmVyTm9kZSA9PT0gcnVsZUNvbnRleHQpIHtcbiAgICAgICAgICAgICAgICAgICAgdHJ5IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCBydWxlcyA9IHNoZWV0LmNzc1J1bGVzID8gc2hlZXQuY3NzUnVsZXMgOiBzaGVldC5ydWxlcztcbiAgICAgICAgICAgICAgICAgICAgICAgIGZvciAobGV0IHJJbmRleCA9IDA7IHJJbmRleCA8IHJ1bGVzLmxlbmd0aDsgckluZGV4KyspIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBzdHlsZVRleHQgKz0gcnVsZXNbckluZGV4XS5jc3NUZXh0O1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9IGNhdGNoIChlKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAvLyBTaWxlbmNlIGNzcyBhY2Nlc3MgaXNzdWVzXG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgbGV0IHBhc3NlZCA9IHRydWU7XG5cbiAgICAgICAgLy8gRGVmZWN0IDEwMjI6IEZpbmQgdXNlcyBvZiAnY29sb3InIGFuZCAnKmJhY2tncm91bmQqJyBvbmx5XG4gICAgICAgIGxldCBpc0JnVXNlZCA9IHN0eWxlVGV4dC5tYXRjaCgvXFxiYmFja2dyb3VuZFxcYi9pKTtcblxuICAgICAgICBsZXQgdGhlQ29sb3JTdHlsZVRvQ2hlY2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UoKSAmJiBudy5ub2RlICE9PSBydWxlQ29udGV4dCkge1xuICAgICAgICAgICAgICAgICAgICBwYXNzZWQgPSBudy5ub2RlLm5vZGVOYW1lLnRvTG93ZXJDYXNlKCkgaW4gZ29vZFRhZ05hbWVzO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICAvLyBUcmlnZ2VyIG9ubHkgb25jZVxuICAgICAgICBpZiAoIXBhc3NlZCkge1xuICAgICAgICAgICAgbGV0IHRyaWdnZXJlZCA9IENhY2hlVXRpbC5nZXRDYWNoZShydWxlQ29udGV4dC5vd25lckRvY3VtZW50LCBcInN0eWxlX2NvbG9yX21pc3VzZVwiLCBmYWxzZSk7XG4gICAgICAgICAgICBwYXNzZWQgPSB0cmlnZ2VyZWQ7XG4gICAgICAgICAgICBDYWNoZVV0aWwuc2V0Q2FjaGUocnVsZUNvbnRleHQub3duZXJEb2N1bWVudCwgXCJzdHlsZV9jb2xvcl9taXN1c2VcIiwgdHJ1ZSk7XG4gICAgICAgIH1cblxuICAgICAgICBpZiAocGFzc2VkKSByZXR1cm4gUnVsZVBhc3MoXCJQYXNzXzBcIik7XG4gICAgICAgIGlmICghcGFzc2VkKSByZXR1cm4gUnVsZVBvdGVudGlhbChcIlBvdGVudGlhbF8xXCIpO1xuICAgIH1cbn0iLCIvKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqXG4gICAgQ29weXJpZ2h0OjogMjAyMi0gSUJNLCBJbmNcbiAgICBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICAgIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAgICBZb3UgbWF5IG9idGFpb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zX3Zpc2libGVcIik7ICAgICAgIFxuXG4gICAgICAgICAgICBsZXQgbm9uZVN0eWxlID0gZmFsc2U7XG4gICAgICAgICAgICBsZXQgbnVtT3RoZXJTdHlsZSA9IDA7XG4gICAgICAgICAgICBmb3IgKGxldCBmb2N1c1N0eWxlIGluIHN0eWxlT2JqKSB7XG4gICAgICAgICAgICAgICAgaWYgKHZhbGlkYXRlUGFyYW1zLmNoZWNrUGFyYW1zLnZhbHVlLmluY2x1ZGVzKGZvY3VzU3R5bGUpKSB7XG4gICAgICAgICAgICAgICAgICAgIC8qKlxuICAgICAgICAgICAgICAgICAgICAgKiBmYWlsdXJlIGNhc2U6ICBcbiAgICAgICAgICAgICAgICAgICAgICogIDEuIGZvY3VzIG91dGxpbmUgb3IgYm9yZGVyIHN0eWxlIGlzIG5vbmUgYW5kIG5vIG90aGVyIHN0eWxlIChjb2xvciBvciB3aWR0aCkgZGVmaW5lZFxuICAgICAgICAgICAgICAgICAgICAgKiAgMi4gZm9jdXMgb3V0bGluZSBvciBib3JkZXIgc3R5bGUgaXMgc2FtZSB3aXRoIHRoZSBub3JtYWxcbiAgICAgICAgICAgICAgICAgICAgICogIDMuIHNpemUgaW4gZm9jdXMgaXMgc2FtZSBvciBzbWFsbGVyIHRoYW4gZGVmYXVsdFxuICAgICAgICAgICAgICAgICAgICAgKiAgNC4gY29sb3IgY29udHJhc3QgaW4gZm9jdXMgaXMgYmV0dGVyICBcbiAgICAgICAgICAgICAgICAgICAgICovXG4gICAgICAgICAgICAgICAgICAgIGxldCBmb2N1c1N0eWxlVmFsdWUgPSBzdHlsZU9ialtmb2N1c1N0eWxlXTtcbiAgICAgICAgICAgICAgICAgICAgbGV0IG5vcm1hbFN0eWxlVmFsdWUgPSBub3JtYWxTdHlsZXNbZm9jdXNTdHlsZV07XG4gICAgICAgICAgICAgICAgICAgIGlmIChmb2N1c1N0eWxlLmluY2x1ZGVzKFwic3R5bGVcIikpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChmb2N1c1N0eWxlVmFsdWUgPT09IFwibm9uZVwiKSBcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBub25lU3R5bGUgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgZWxzZSBcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBub25lU3R5bGUgPSBmYWxzZTtcblxuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKG5vcm1hbFN0eWxlVmFsdWUgJiYgZm9jdXNTdHlsZVZhbHVlICE9PSBcIm5vbmVcIiAmJiBmb2N1c1N0eWxlVmFsdWUgPT09IG5vcm1hbFN0eWxlVmFsdWUpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFJ1bGVQb3RlbnRpYWwoXCJwb3RlbnRpYWxfZm9jdXNfbm90X3Zpc2libGVcIik7XG4gICAgICAgICAgICAgICAgICAgIFxuICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKGZvY3VzU3R5bGUuaW5jbHVkZXMoXCJ3aWR0aFwiKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgbnVtT3RoZXJTdHlsZSsrO1xuICAgICAgICAgICAgICAgICAgICAgICAgXG4gICAgICAgICAgICAgICAgICAgICAgICAvL3Byb3hpbWF0aW9uIG9mIHRoZSB3aWR0aCBzdHlsZVxuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGZvY3VzU3R5bGVWYWx1ZSA9PT0gJ2luaXRpYWwnKSBmb2N1c1N0eWxlVmFsdWUgPSAnMnB4JztcbiAgICAgICAgICAgICAgICAgICAgICAgIGVsc2UgaWYgKGZvY3VzU3R5bGVWYWx1ZSA9PT0gJ3RoaW4nKSBmb2N1c1N0eWxlVmFsdWUgPSAnMXB4JztcbiAgICAgICAgICAgICAgICAgICAgICAgIGVsc2UgaWYgKGZvY3VzU3R5bGVWYWx1ZSA9PT0gJ21lZGl1bScpIGZvY3VzU3R5bGVWYWx1ZSA9ICcycHgnO1xuICAgICAgICAgICAgICAgICAgICAgICAgZWxzZSBpZiAoZm9jdXNTdHlsZVZhbHVlID09PSAndGhpY2snKSBmb2N1c1N0eWxlVmFsdWUgPSAnM3B4JzsgIFxuXG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAobm9ybWFsU3R5bGVWYWx1ZSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChub3JtYWxTdHlsZVZhbHVlID09PSAnaW5pdGlhbCcpIG5vcm1hbFN0eWxlVmFsdWUgPSAnMnB4JztcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbHNlIGlmIChub3JtYWxTdHlsZVZhbHVlID09PSAndGhpbicpIG5vcm1hbFN0eWxlVmFsdWUgPSAnMXB4JztcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbHNlIGlmIChub3JtYWxTdHlsZVZhbHVlID09PSAnbWVkaXVtJykgbm9ybWFsU3R5bGVWYWx1ZSA9ICcycHgnO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVsc2UgaWYgKG5vcm1hbFN0eWxlVmFsdWUgPT09ICd0aGljaycpIG5vcm1hbFN0eWxlVmFsdWUgPSAnM3B4JzsgIFxuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgZm9jdXNTdHlsZVZhbHVlID0gQ1NTVXRpbC5nZXRQaXhlbHNGcm9tU3R5bGUoZm9jdXNTdHlsZVZhbHVlLCBydWxlQ29udGV4dCk7XG4gICAgICAgICAgICAgICAgICAgICAgICBub3JtYWxTdHlsZVZhbHVlID0gQ1NTVXRpbC5nZXRQaXhlbHNGcm9tU3R5bGUobm9ybWFsU3R5bGVWYWx1ZSwgcnVsZUNvbnRleHQpO1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGZvY3VzU3R5bGVWYWx1ZSA9PSAwIHx8IGZvY3VzU3R5bGVWYWx1ZSA8PSBub3JtYWxTdHlsZVZhbHVlKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBSdWxlUG90ZW50aWFsKFwicG90ZW50aWFsX2ZvY3VzX25vdF92aXNpYmxlXCIpO1xuICAgICAgICAgICAgICAgICAgICBcbiAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmIChmb2N1c1N0eWxlLmluY2x1ZGVzKFwiY29sb3JcIikpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIG51bU90aGVyU3R5bGUrKztcbiAgICAgICAgICAgICAgICAgICAgICAgIFxuICAgICAgICAgICAgICAgICAgICAgICAgLy8gZ2V0IHRoZSBlbGVtZW50IGJnIGNvbG9yXG4gICAgICAgICAgICAgICAgICAgICAgICBsZXQgY29sb3JDb21ibyA9IENvbG9yVXRpbC5Db2xvckNvbWJvKHJ1bGVDb250ZXh0KTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChjb2xvckNvbWJvID09PSBudWxsKSBjb250aW51ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCBiZyA9IGNvbG9yQ29tYm8uYmc7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoIWJnKSBjb250aW51ZTtcblxuICAgICAgICAgICAgICAgICAgICAgICAgLy9wcm94aW1hdGlvbiBvZiB0aGUgd2lkdGggc3R5bGVcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChmb2N1c1N0eWxlVmFsdWUgPT09ICdpbml0aWFsJykgZm9jdXNTdHlsZVZhbHVlID0gJ2JsYWNrJztcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChub3JtYWxTdHlsZVZhbHVlICYmIG5vcm1hbFN0eWxlVmFsdWUgPT09ICdpbml0aWFsJykgbm9ybWFsU3R5bGVWYWx1ZSA9ICdibGFjayc7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gICAgICAgICAgICAgICAgICAgICAgICAvLyBnZXQgdGhlIGJvcmRlci9vdXRsaW5lIGNvbG9yIGFzIGZnIGNvbG9yc1xuICAgICAgICAgICAgICAgICAgICAgICAgZm9jdXNTdHlsZVZhbHVlID0gQ29sb3JVdGlsLkNvbG9yKGZvY3VzU3R5bGVWYWx1ZSk7XG4gICAgICAgICAgICAgICAgICAgICAgICBub3JtYWxTdHlsZVZhbHVlID0gQ29sb3JVdGlsLkNvbG9yKG5vcm1hbFN0eWxlVmFsdWUpO1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGZvY3VzU3R5bGVWYWx1ZSA9PT0gbnVsbCB8fCBub3JtYWxTdHlsZVZhbHVlID09PSBudWxsKSBjb250aW51ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgIFxuICAgICAgICAgICAgICAgICAgICAgICAgLy9nZXQgdGhlIGJvcmRlci9vdXRsaW5lIGNvbG9yIGNvbnRyYXN0IHJhdGlvc1xuICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGZvY3VzUmF0aW8gPSBmb2N1c1N0eWxlVmFsdWUuY29udHJhc3RSYXRpbyhiZyk7XG4gICAgICAgICAgICAgICAgICAgICAgICBsZXQgbm9ybWFsUmF0aW8gPSBub3JtYWxTdHlsZVZhbHVlLmNvbnRyYXN0UmF0aW8oYmcpO1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGZvY3VzUmF0aW8gPCAzLjAgfHwgZm9jdXNSYXRpbyA8PSBub3JtYWxSYXRpbylcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gUnVsZVBvdGVudGlhbChcInBvdGVudGlhbF9mb2N1c19ub3RfdmlzaWJsZVwiKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIFxuICAgICAgICAgICAgICAgICAgICB9IGVsc2UgeyBcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vb3RoZXJcbiAgICAgICAgICAgICAgICAgICAgICAgIG51bU90aGVyU3R5bGUrKztcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChub3JtYWxTdHlsZVZhbHVlICE9IG51bGwgJiYgZm9jdXNTdHlsZVZhbHVlID09PSBub3JtYWxTdHlsZVZhbHVlKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBSdWxlUG90ZW50aWFsKFwicG90ZW50aWFsX2ZvY3VzX25vdF92aXNpYmxlXCIpO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgLy8gd2FybiBpZiBhIGJvcmRlci9vdXRsaW5lIGZvY3VzIHN0eWxlIGlzICdub25lJyBhbmQgbm9lIG90aGVyIChjb2xvciBhbmQvb3Igd2lkdGgpIGlzIGRlZmluZWQgXG4gICAgICAgICAgICBpZiAobm9uZVN0eWxlICYmIG51bU90aGVyU3R5bGUgPT09IDApXG4gICAgICAgICAgICAgICAgcmV0dXJuIFJ1bGVQb3RlbnRpYWwoXCJwb3RlbnRpYWxfZm9jdXNfbm90X3Zpc2libGVcIik7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAvLyBubyBmb2N1cyBzdHlsZSBkZWZpbmVkIFxuICAgICAgICAgICAgLy8gd2FybiBpZiBub3JtYWwgc3R5bGUgaXMgZGVmaW5lZCBhbmQgaXMgbm90IFwibm9uZVwiXG4gICAgICAgICAgICBmb3IgKGxldCBub3JtYWxTdHlsZSBpbiBub3JtYWxTdHlsZXMpIHtcbiAgICAgICAgICAgICAgICBpZiAodmFsaWRhdGVQYXJhbXMuY2hlY2tQYXJhbXMudmFsdWUuaW5jbHVkZXMobm9ybWFsU3R5bGUpKSB7XG4gICAgICAgICAgICAgICAgICAgIGxldCBub3JtYWxTdHlsZVZhbHVlID0gbm9ybWFsU3R5bGVzW25vcm1hbFN0eWxlXTtcbiAgICAgICAgICAgICAgICAgICAgLy8gaWdub3JlIGlmIGJvcmRlciBvciBvdXRsaW5lIHN0eWxlIGlzIFwibm9uZVwiIFxuICAgICAgICAgICAgICAgICAgICBpZiAobm9ybWFsU3R5bGVWYWx1ZSAhPT0gJ25vbmUnKVxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFJ1bGVQb3RlbnRpY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7IC8vIG5ldmVyIGhhcHBlblxuICAgICAgICBsZXQgcG90ZW50aWFsMSA9IGZhbHNlO1xuICAgICAgICBsZXQgcG90ZW50aWFsMiA9IGZhbHNlO1xuICAgICAgICBsZXQgcG90ZW50aWFsMyA9IGZhbHNlO1xuXG4gICAgICAgIGNvbnN0IHJ1bGVDb250ZXh0ID0gY29udGV4dFtcImRvbVwiXS5ub2RlIGFzIEVsZW1lbnQ7XG4gICAgICAgIGxldCBub2RlTmFtZSA9IHJ1bGVDb250ZXh0Lm5vZGVOYW1lLnRvTG93ZXJDYXNlKCk7XG4gICAgICAgIGxldCBzdHlsZVRleHQgPSBcIlwiO1xuICAgICAgICBpZiAobm9kZU5hbWUgPT09IFwic3R5bGVcIikge1xuICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCJSVUxFIFJVTiAqKioqKioqKioqKioqKioqKipcIik7XG4gICAgICAgICAgICBzdHlsZVRleHQgPSBDb21tb25VdGlsLmdldElubmVyVGV4dChydWxlQ29udGV4dCkudG9Mb3dlckNhc2UoKTtcbiAgICAgICAgICAgIC8vIGNoZWNrIGltcG9ydFxuICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCJydWxlQ29udGV4dC5vd25lckRvY3VtZW50LnN0eWxlU2hlZXRzLmxlbmd0aCA9IFwiK3J1bGVDb250ZXh0Lm93bmVyRG9jdW1lbnQuc3R5bGVTaGVldHMubGVuZ3RoKTtcbiAgICAgICAgICAgIGZvciAobGV0IHNJbmRleCA9IDA7IHNJbmRleCA8IHJ1bGVDb250ZXh0Lm93bmVyRG9jdW1lbnQuc3R5bGVTaGVldHMubGVuZ3RoOyArK3NJbmRleCkge1xuICAgICAgICAgICAgICAgIGxldCBzaGVldCA9IHJ1bGVDb250ZXh0Lm93bmVyRG9jdW1lbnQuc3R5bGVTaGVldHNbc0luZGV4XSBhcyBDU1NTdHlsZVNoZWV0O1xuICAgICAgICAgICAgICAgIGlmIChzaGVldCAmJiBzaGVldC5vd25lck5vZGUgPT09IHJ1bGVDb250ZXh0KSB7XG4gICAgICAgICAgICAgICAgICAgIHRyeSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBsZXQgc3R5bGVSdWxlcyA9IHNoZWV0LmNzc1J1bGVzID8gc2hlZXQuY3NzUnVsZXMgOiBzaGVldC5ydWxlcztcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vIGNvbnNvbGUubG9nKFwic3R5bGVSdWxlcy5sZW5ndGggPSBcIitzdHlsZVJ1bGVzLmxlbmd0aCk7XG4gICAgICAgICAgICAgICAgICAgICAgICBmb3IgKGxldCBzdHlsZVJ1bGVJbmRleCA9IDA7IHN0eWxlUnVsZUluZGV4IDwgc3R5bGVSdWxlcy5sZW5ndGg7IHN0eWxlUnVsZUluZGV4KyspIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBjb25zb2xlLmxvZyhcIioqKioqKioqKipcIik7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCIqKioqKioqKioqIEZPUiBMT09QIHN0eWxlUnVsZUluZGV4ID0gXCIrc3R5bGVSdWxlSW5kZXgpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBmb3VuZEhvdmVyID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGhvdmVyRWxlbWVudCA9IFwiXCI7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHBsdXNDb21iaW5hdG9yID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHRpbGRlQ29tYmluYXRvciA9IGZhbHNlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBhZnRlckNvbWJpbmF0b3JFbGVtZW50ID0gXCJcIjtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgYWZ0ZXJDb21iaW5hdG9yRWxlbWVudERpc3BsYXkgPSBmYWxzZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgYWZ0ZXJDb21iaW5hdG9yRWxlbWVudERpc3BsYXlWYWx1ZSA9IGZhbHNlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBhZnRlckNvbWJpbmF0b3JFbGVtZW50SG92ZXIgPSBmYWxzZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgc3VwcG9ydGluZ0VsZW1lbnQgPSBmYWxzZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgc3VwcG9ydGluZ0hvdmVyID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHN1cHBvcnRpbmdIb3ZlckVsZW1lbnREaXNwbGF5UHJvcGVydHkgPSBmYWxzZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgc3VwcG9ydGluZ0hvdmVyRWxlbWVudERpc3BsYXlWYWx1ZSA9IGZhbHNlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBhZGphY2VudFBsdXNTaWJsaW5nID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGFkamFjZW50VGlsZGVNdWx0aXBsZVNpYmxpbmcgPSBmYWxzZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgc3R5bGVSdWxlID0gc3R5bGVSdWxlc1tzdHlsZVJ1bGVJbmRleF07XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHJ1bGVUZXh0ID0gc3R5bGVSdWxlc1tzdHlsZVJ1bGVJbmRleF0uY3NzVGV4dDtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBjb25zb2xlLmxvZyhcInN0eWxlUnVsZXNbXCIrc3R5bGVSdWxlSW5kZXgrXCJdID0gXCIrcnVsZVRleHQpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIDEuIENoZWNrIGZvciA6aG92ZXJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAocnVsZVRleHQubWF0Y2goLzpob3Zlci9nKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmb3VuZEhvdmVyID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCIxLiBmb3VuZCA6aG92ZXIgPSBcIisgZm91bmRIb3Zlcik7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIDIuIEdldCBob3ZlciBlbGVtZW50XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhvdmVyRWxlbWVudCA9IHJ1bGVUZXh0LnNwbGl0KFwiOlwiKVswXTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCIyLiBmb3VuZCBlbGVtZW50IHRoYXQgZ29lcyB3aXRoIDpob3ZlciA9IFwiK2hvdmVyRWxlbWVudCk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCIxLiBObyBob3ZlciBvbiBjc3MgZWxlbWVudCBzbyBza2lwIHRoaXMgcnVsZVwiKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29udGludWU7IC8vIGlmIG5vIDpob3ZlciBza2lwIHRoaXMgcnVsZVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyAzYS4gQ2hlY2sgZm9yIGNzcyBjb21iaW5hdG9yICtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyA0YS4gaWYgc28gZG8gd2UgaGF2ZSBhbiBhZnRlciBjb21iaW5hdG9yIGVsZW1lbnRcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgcGx1c1RlbXBTdHIgPSBydWxlVGV4dC5zdWJzdHJpbmcocnVsZVRleHQuaW5kZXhPZihcIitcIikgKyAxKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBwbHVzVGVtcFN0ciA9IHBsdXNUZW1wU3RyLnRyaW0oKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAocnVsZVRleHQubWF0Y2goLzpob3ZlciBcXCsvZykgfHwgcnVsZVRleHQubWF0Y2goLzpob3ZlclxcKy9nKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwbHVzQ29tYmluYXRvciA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGNvbnNvbGUubG9nKFwiM2EuIEZvdW5kIHBsdXNDb21iaW5hdG9yID0gXCIrIHBsdXNDb21iaW5hdG9yKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYWZ0ZXJDb21iaW5hdG9yRWxlbWVudCA9IHBsdXNUZW1wU3RyLnNwbGl0KFwiIFwiKVswXTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCI0YS4gRm91bmQgcGx1cyBhZnRlckNvbWJpbmF0b3JFbGVtZW50ID0gXCIrYWZ0ZXJDb21iaW5hdG9yRWxlbWVudCk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gM2IuIENoZWNrIGZvciBjc3MgY29tYmluYXRvciArXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gNGIuIGlmIHNvIGRvIHdlIGhhdmUgYW4gYWZ0ZXIgY29tYmluYXRvciBlbGVtZW50XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHJ1bGVUZXh0Lm1hdGNoKC86aG92ZXIgXFx+L2cpIHx8IHJ1bGVUZXh0Lm1hdGNoKC86aG92ZXJcXH4vZykpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCJtYXRjaCA9IFwiK3J1bGVUZXh0Lm1hdGNoKFwiOmhvdmVyIFxcflwiKSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRpbGRlQ29tYmluYXRvciA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGNvbnNvbGUubG9nKFwiM2IuIEZvdW5kIHRpbGRlQ29tYmluYXRvciA9IFwiKyB0aWxkZUNvbWJpbmF0b3IpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgcGx1c1RlbXBTdHIgPSBydWxlVGV4dC5zdWJzdHJpbmcocnVsZVRleHQuaW5kZXhPZihcIn5cIikgKyAxKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcGx1c1RlbXBTdHIgPSBwbHVzVGVtcFN0ci50cmltKCk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFmdGVyQ29tYmluYXRvckVsZW1lbnQgPSBwbHVzVGVtcFN0ci5zcGxpdChcIiBcIilbMF07XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGNvbnNvbGUubG9nKFwiNGIuIEZvdW5kIHRpbGRlIGFmdGVyQ29tYmluYXRvckVsZW1lbnQgPSBcIithZnRlckNvbWJpbmF0b3JFbGVtZW50KTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoIXBsdXNDb21iaW5hdG9yICYmICF0aWxkZUNvbWJpbmF0b3IpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gTk8gcGx1c0NvbWJpbmF0b3Igb3IgdGlsZGVDb21iaW5hdG9yIHNvIHNraXAgdGhpcyBydWxlXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGNvbnNvbGUubG9nKFwiTk8gcGx1c0NvbWJpbmF0b3Igb3IgdGlsZGVDb21iaW5hdG9yIHNvIFBBU1NcIik7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGNvbnNvbGUubG9nKFwiKioqKiBSRVBPUlQgUEFTUyAwIEhFUkVcIik7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBSdWxlUGFzcyhcIlBhc3NfMFwiKTsgLy8gSkNIOiBzaG91bGQgd2UgaGF2ZSBhIE4vQSBwYXNzXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gU28gbm93IHdlIGhhdmUgYSBjc3MgZWxlbWVudCB3aXRoIGhvdmVyIC0gZWxlbWVudDpob3ZlciBzbyB3ZSBoYXZlIHByb2JsZW1zXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gdG8gY2hlY2tcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIDUuIENoZWNrIGlmIHRoZSBhZnRlciBjb21iaW5hdG9yIGVsZW1lbnQgaGFzIGRpc3BsYXk6IHByb3BlcnR5XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gNi4gQ2hlY2sgaWYgZGlzcGxheSBwcm9wZXJ0eSBpcyBub3Qgbm9uZVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChhZnRlckNvbWJpbmF0b3JFbGVtZW50KSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGdldCBpbmRleCBvZiBkaXNwbGF5OlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBjb25zb2xlLmxvZyhcInBsdXNUZW1wU3RyID0gXCIrcGx1c1RlbXBTdHIpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgaW5kZXggPSBwbHVzVGVtcFN0ci5pbmRleE9mKFwiZGlzcGxheTpcIik7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChpbmRleCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYWZ0ZXJDb21iaW5hdG9yRWxlbWVudERpc3BsYXkgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCI1LiBGb3VuZCBhZnRlckNvbWJpbmF0b3JFbGVtZW50RGlzcGxheSA9IFwiK2FmdGVyQ29tYmluYXRvckVsZW1lbnREaXNwbGF5KTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChwbHVzVGVtcFN0ci5zbGljZShpbmRleCArIDgpLnRyaW0oKS5zcGxpdChcIiBcIilbMF0gIT09IFwibm9uZTtcIikge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFmdGVyQ29tYmluYXRvckVsZW1lbnREaXNwbGF5VmFsdWUgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGNvbnNvbGUubG9nKFwiNi4gRm91bmQgYWZ0ZXJDb21iaW5hdG9yRWxlbWVudERpc3BsYXlWYWx1ZSBub3Qgbm9uZSA9IFwiK2FmdGVyQ29tYmluYXRvckVsZW1lbnREaXNwbGF5VmFsdWUpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBjb25zb2xlLmxvZyhcImFmdGVyQ29tYmluYXRvckVsZW1lbnREaXNwbGF5VmFsdWUgPT09IG5vbmVcIik7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCIqKioqIFBVVCBQT1RFTlRJQUwgMCBIRVJFXCIpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnRpbnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gdGhpcyBpcyBiYWQgY3NzIHNvIGl0IHdvbid0IGhhcHBlblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCJOTyBhZnRlckNvbWJpbmF0b3JFbGVtZW50RGlzcGxheSBzbyBza2lwIHRoaXMgcnVsZVwiKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnRpbnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gdGhpcyBpcyBiYWQgY3NzIHNvIGl0IHdvbid0IGhhcHBlblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBjb25zb2xlLmxvZyhcIk5PIGFmdGVyQ29tYmluYXRvckVsZW1lbnQgc28gc2tpcCB0aGlzIHJ1bGVcIik7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnRpbnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChhZnRlckNvbWJpbmF0b3JFbGVtZW50RGlzcGxheVZhbHVlKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoc2hlZXQgJiYgc2hlZXQub3duZXJOb2RlID09PSBydWxlQ29udGV4dCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCIqKioqIEF0IHRoaXMgcG9pbnQgd2UgaGF2ZSB2ZXJpZmllZCB0aGF0IHdlIGhhdmUgYSBjc3MgZWxlbWVudCB3aXRoIGEgaG92ZXIgb2YgdGhlIGZvcm1hdCBzcGFuOmhvdmVyICsgZGl2IHsgZGlzcGxheTogYmxvY2s7IH0gd2l0aCBhbGwgdGhlIHByb3BlciBwcm9wZXJ0aWVzIGFuZCB2YWx1ZXNcIik7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBOT1RFOiBBdCB0aGlzIHBvaW50IHdlIGhhdmUgdmVyaWZpZWQgdGhhdCB3ZSBoYXZlIGEgY3NzIGVsZW1lbnQgd2l0aCBhIGhvdmVyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyAgICAgICBvZiB0aGUgZm9ybWF0IHNwYW46aG92ZXIgKyBkaXYgeyBkaXNwbGF5OiBibG9jazsgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gICAgICAgd2l0aCBhbGwgdGhlIHByb3BlciBwcm9wZXJ0aWVzIGFuZCB2YWx1ZXNcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdHJ5IHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgc3R5bGVSdWxlczIgPSBzaGVldC5jc3NSdWxlcyA/IHNoZWV0LmNzc1J1bGVzIDogc2hlZXQucnVsZXM7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCJzdHlsZVJ1bGVzMi5sZW5ndGggPSBcIitzdHlsZVJ1bGVzMi5sZW5ndGgpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZvciAobGV0IHN0eWxlUnVsZUluZGV4MiA9IDA7IHN0eWxlUnVsZUluZGV4MiA8IHN0eWxlUnVsZXMyLmxlbmd0aDsgc3R5bGVSdWxlSW5kZXgyKyspIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gQ2hlY2sgcnVsZSBmb3IgYWZ0ZXJDb21pbmF0b3JFbGVtZW50OmhvdmVyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIElmIGZpbmQgYWZ0ZXJDb21iaW5hdG9yRWxlbWVudDpob3ZlciBzZWUgaWYgcnVsZSBoYXMgcHJvcGVydHkgZGlzcGxheTogdmFsdWUgd2hlcmVcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gdmFsdWUgIT0gbm9uZVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBjb25zb2xlLmxvZyhcIioqKioqKioqKipcIik7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGNvbnNvbGUubG9nKFwiKioqKioqKioqKiAybmQgRk9SIHN0eWxlUnVsZUluZGV4MiA9IFwiK3N0eWxlUnVsZUluZGV4Mik7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBydWxlVGV4dDIgPSBzdHlsZVJ1bGVzW3N0eWxlUnVsZUluZGV4Ml0uY3NzVGV4dDtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCJydWxlVGV4dDIgPSBcIiwgcnVsZVRleHQyKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCJhZnRlckNvbWJpbmF0b3JFbGVtZW50ID0gXCIrYWZ0ZXJDb21iaW5hdG9yRWxlbWVudCk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIENoZWNrIGFsbCBzdXBwb3J0aW5nIGVsZW1lbnRzIGZvciBtYXJnaW4gcHJvcGVydHlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gSWYgZmluZCBtYXJnaW4gU1RPUCBhbmQgUkVQT1JUIEVSUk9SXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCByZWdFeFN0cmluZyA9IGFmdGVyQ29tYmluYXRvckVsZW1lbnQgKyBcIiB7XCI7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCB0cmltUnVsZVRleHQyID0gcnVsZVRleHQyLnRyaW0oKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHJlZ0luZGV4ID0gdHJpbVJ1bGVUZXh0Mi5pbmRleE9mKHJlZ0V4U3RyaW5nKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGFmdGVyQ29tYmluYXRvckVsZW1lbnRQcm9wZXJ0aWVzID0gdHJpbVJ1bGVUZXh0Mi5zbGljZShyZWdJbmRleCkudHJpbSgpO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vaWYgKCFhZnRlckNvbWJpbmF0b3JFbGVtZW50UHJvcGVydGllcy5tYXRjaCgvbWFyZ2luL2cpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmICghdHJpbVJ1bGVUZXh0Mi5tYXRjaCgvbWFyZ2luL2cpKSB7ICAgICAgIFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCJObyBtYXJnaW4gcHJvYmxlbSBzbyBjb250aW51ZSBvbi4uLlwiKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGRvIHdlIGhhdmUgYSBzdXBwb3J0aW5nIGVsZW1lbnQgY3NzIGRlZmluaXRpb25zXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgc3VwcG9ydGluZ0hvdmVyRWxlbWVudCA9IHJ1bGVUZXh0Mi5zcGxpdChcIjpcIilbMF07XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzdXBwb3J0aW5nSG92ZXJFbGVtZW50ID0gc3VwcG9ydGluZ0hvdmVyRWxlbWVudC5zcGxpdChcIiBcIilbMF07XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBjb25zb2xlLmxvZyhcInN1cHBvcnRpbmdIb3ZlckVsZW1lbnQgPSBcIitzdXBwb3J0aW5nSG92ZXJFbGVtZW50KTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGNvbnNvbGUubG9nKFwiYWZ0ZXJDb21iaW5hdG9yRWxlbWVudCA9IFwiK2FmdGVyQ29tYmluYXRvckVsZW1lbnQpO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBORUVEIFRPIENIRUNLIEZPUiBhZnRlckNvbWluYXRvckVsZW1lbnQ6aG92ZXIgaW4gT05FIFNURVBcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHN1cHBvcnRpbmdIb3ZlckVsZW1lbnQgPT09IGFmdGVyQ29tYmluYXRvckVsZW1lbnQgJiYgcnVsZVRleHQyLm1hdGNoKC86aG92ZXIvZykpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBjb25zb2xlLmxvZyhcIjcuIEZvdW5kIHN1cHBvcnRpbmcgaG92ZXIgZWxlbWVudCBzYW1lIGFzIGFmdGVyQ29tYmluYXRvckVsZW1lbnRcIilcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyA3LiBGb3VuZCBzdXBwb3J0aW5nIGhvdmVyIGVsZW1lbnQgc2FtZSBhcyBhZnRlckNvbWJpbmF0b3JFbGVtZW50XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3VwcG9ydGluZ0VsZW1lbnQgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGRvZXMgc3VwcG9ydGluZyBlbGVtZW50IGhhdmUgaG92ZXJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBjb25zb2xlLmxvZyhcIjguIFN1cHBvcnRpbmcgZWxlbWVudCBoYXMgaG92ZXIgYWxzbyA9IFwiKyBmb3VuZEhvdmVyKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyA4LiBTdXBwb3J0aW5nIGVsZW1lbnQgaGFzIGhvdmVyIGFsc29cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzdXBwb3J0aW5nSG92ZXIgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBpbmRleCA9IHJ1bGVUZXh0Mi5pbmRleE9mKFwiZGlzcGxheTpcIik7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCJpbmRleCA9IFwiK2luZGV4KTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoaW5kZXgpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gOS4gRm91bmQgc3VwcG9ydGluZ0hvdmVyRWxlbWVudERpc3BsYXlQcm9wZXJ0eVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzdXBwb3J0aW5nSG92ZXJFbGVtZW50RGlzcGxheVByb3BlcnR5ID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCI5LiBGb3VuZCBzdXBwb3J0aW5nSG92ZXJFbGVtZW50RGlzcGxheVByb3BlcnR5ID0gXCIrc3VwcG9ydGluZ0hvdmVyRWxlbWVudERpc3BsYXlQcm9wZXJ0eSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChwbHVzVGVtcFN0ci5zbGljZShpbmRleCArIDgpLnRyaW0oKS5zcGxpdChcIiBcIilbMF0gIT09IFwibm9uZTtcIikge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gMTAuIEZvdW5kIHN1cHBvcnRpbmdIb3ZlckVsZW1lbnREaXNwbGF5VmFsdWUgbm90IG5vbmVcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHN1cHBvcnRpbmdIb3ZlckVsZW1lbnREaXNwbGF5VmFsdWUgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCIxMC4gRm91bmQgc3VwcG9ydGluZ0hvdmVyRWxlbWVudERpc3BsYXlWYWx1ZSBub3Qgbm9uZSA9IFwiK3N1cHBvcnRpbmdIb3ZlckVsZW1lbnREaXNwbGF5VmFsdWUpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gR2V0IGxpc3Qgb2YgaG92ZXIgZWxlbWVudHMgYW5kIG5leHQgc2libGluZyBmb3IgK1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gRm9yICsgdGhlcmUgbXVzdCBiZSBhdCBsZWFzdCBvbmUgQURKQUNFTlQgc2libGluZ1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGhvdmVyRWxlbWVudCAhPT0gXCJcIiAmJiBwbHVzQ29tYmluYXRvcikge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBob3ZlckVsZW1lbnRMaXN0ID0gcnVsZUNvbnRleHQub3duZXJEb2N1bWVudC5nZXRFbGVtZW50c0J5VGFnTmFtZShob3ZlckVsZW1lbnQudG9VcHBlckNhc2UoKSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCJob3ZlckVsZW1lbnRMaXN0Lmxlbmd0aCA9IFwiK2hvdmVyRWxlbWVudExpc3QubGVuZ3RoKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBjb25zb2xlLmxvZyhcImhvdmVyRWxlbWVudExpc3RbMF0udGFnTmFtZSA9IFwiK2hvdmVyRWxlbWVudExpc3RbMF0udGFnTmFtZSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gR2V0IGFkamFjZW50IHNpYmxpbmdcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBjb25zb2xlLmxvZyhcIkFkamFjZW50IHNpYmxpbmcgPSBcIitob3ZlckVsZW1lbnRMaXN0WzBdLm5leHRFbGVtZW50U2libGluZy50YWdOYW1lKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBjb25zb2xlLmxvZyhcImFmdGVyQ29tYmluYXRvckVsZW1lbnQudG9VcHBlckNhc2UoKSA9IFwiK2FmdGVyQ29tYmluYXRvckVsZW1lbnQudG9VcHBlckNhc2UoKSk7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoYWZ0ZXJDb21iaW5hdG9yRWxlbWVudC50b1VwcGVyQ2FzZSgpID09PSBob3ZlckVsZW1lbnRMaXN0WzBdLm5leHRFbGVtZW50U2libGluZy50YWdOYW1lKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGNvbnNvbGUubG9nKFwiMTFhLiBIb3ZlciB3aXRoIHBsdXMgaGFzIGFkamFjZW50IHNpYmxpbmcuXCIpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIDExYS4gSG92ZXIgd2l0aCBwbHVzIGhhcyBhZGphY2VudCBzaWJsaW5nLlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhZGphY2VudFBsdXNTaWJsaW5nID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gQXQgdGhpcyBwb2ludCB3ZSBoYXZlIHZlcmlmaWVkIGEgc3VwcG9ydGluZyBhZnRlckNvbWJpbmF0b3JFbGVtZW50IGNzcyBydWxlIHRoYXQgY29udGFpbnMgaG92ZXIgYW5kIGRpc3BsYXkgcHJvcGVydHkgdGhhdCBpcyBub3QgZXF1YWwgdG8gbm9uZSBhbmQgaGFzIGEgaG92ZXIgZWxlbWVudCBpbiB0aGUgYm9keSB3aXRoIGFuIGFkamFjZW50IHNpYmxpbmdcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCIqKioqIFJFUE9SVCBQQVNTIDEgSEVSRVwiKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcGFzczAgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb250aW51ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKHBsdXNDb21iaW5hdG9yKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCIxMWEuIE1haW4gaG92ZXIgd2l0aCArIGNvbWJpbmF0b3IgaGFzIG5vIGFkamFjZW50IHNpYmxpbmdcIik7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKCFwb3RlbnRpYWwxKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGNvbnNvbGUubG9nKFwiKioqKiBQVVQgUE9URU5USUFMIDEgSEVSRVwiKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcG90ZW50aWFsMSA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb250aW51ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIEdldCBsaXN0IG9mIGhvdmVyIGVsZW1lbnRzIGFuZCBkZXRlcm1pbmUgaWYgdGhlcmUgYXJlIDIgb3IgbW9yZSBhZGphY2VudCBzaWJsaW5ncyBmb3IgflxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gRm9yIH4gdGhlcmUgbXVzdCBiZSBhdCBsZWFzdCBvbmUgQURKQUNFTlQgc2libGluZ1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGhvdmVyRWxlbWVudCAhPT0gXCJcIiAmJiB0aWxkZUNvbWJpbmF0b3IpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBjb25zb2xlLmxvZyhcImhvdmVyRWxlbWVudC50b1VwcGVyQ2FzZSgpID0gXCIraG92ZXJFbGVtZW50LnRvVXBwZXJDYXNlKCkpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBob3ZlckVsZW1lbnRMaXN0ID1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcnVsZUNvbnRleHQub3duZXJEb2N1bWVudC5nZXRFbGVtZW50c0J5VGFnTmFtZShcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhvdmVyRWxlbWVudC50b1VwcGVyQ2FzZSgpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCJob3ZlckVsZW1lbnRMaXN0Lmxlbmd0aCA9IFwiK2hvdmVyRWxlbWVudExpc3QubGVuZ3RoKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBDaGVjayBmb3IgdHdvIG9yIG1vcmUgYWRqYWNlbnQgc2libGluZ3NcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgc2libGluZ3MgPSBbXTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgc2libGluZyA9IGhvdmVyRWxlbWVudExpc3RbMF0ubmV4dEVsZW1lbnRTaWJsaW5nO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRvIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCJzaWJsaW5nLnRhZ05hbWUgPSBcIitzaWJsaW5nLnRhZ05hbWUpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoc2libGluZy50YWdOYW1lID09PSBhZnRlckNvbWJpbmF0b3JFbGVtZW50LnRvVXBwZXJDYXNlKCkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNpYmxpbmdzLnB1c2goc2libGluZyk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gd2hpbGUgKChzaWJsaW5nID0gc2libGluZy5uZXh0RWxlbWVudFNpYmxpbmcpKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgc2libGluZ0NvdW50ID0gc2libGluZ3MubGVuZ3RoO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGNvbnNvbGUubG9nKFwic2libGluZ0NvdW50ID0gXCIrc2libGluZ0NvdW50KTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBKQ0ggVE9ETzogd2hhdCBpZiBzaWJsaW5nIGNvdW50IDBcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoc2libGluZ0NvdW50ID09PSAxKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGNvbnNvbGUubG9nKFwiMTFiLiBIb3ZlciB3aXRoIHRpbGRlIGFuZCBvbmUgYWRqYWNlbnQgc2libGluZ1wiKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYWRqYWNlbnRUaWxkZU11bHRpcGxlU2libGluZyA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGNvbnNvbGUubG9nKFwiKioqKiBSRVBPUlQgUEFTUyAyIEhFUkVcIik7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBSdWxlUGFzcyhcIlBhc3NfMlwiKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKHNpYmxpbmdDb3VudCA+IDEpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCJNYWluIGhvdmVyIHdpdGggfiBjb21iaW5hdG9yIGhhcyB0d28gb3IgbW9yZSBzaWJsaW5nc1wiKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKCFwb3RlbnRpYWwyKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBjb25zb2xlLmxvZyhcIioqKiogUFVUIFBPVEVOVElBTCAyIEhFUkVcIik7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gUnVsZVBvdGVudGlhbChcIlBvdGVudGlhbF8yXCIpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKHBsdXNDb21iaW5hdG9yKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBzdXBwb3J0aW5nSG92ZXJFbGVtZW50RGlzcGxheVZhbHVlXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBpZiB3ZSBtYWtlIGl0IHRvIHRoZSBsYXN0IHJ1bGUgYW5kIHN1cHBvcnRpbmdIb3ZlckVsZW1lbnREaXNwbGF5VmFsdWUgaXMgc3RpbGwgZmFsc2UgPT4gcG90ZW50aWFsMVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHN0eWxlUnVsZUluZGV4MiA9PT0gc3R5bGVSdWxlczIubGVuZ3RoIC0gMSAmJiBzdXBwb3J0aW5nSG92ZXJFbGVtZW50RGlzcGxheVZhbHVlID09PSBmYWxzZSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGNvbnNvbGUubG9nKFwiTk8gcGx1cyBzdXBwb3J0aW5nSG92ZXJFbGVtZW50RGlzcGxheVByb3BlcnR5XCIpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGNvbnNvbGUubG9nKFwiKioqKiBQVVQgUE9URU5USUFMIDEgSEVSRVwiKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gUnVsZVBvdGVudGlhbChcIlBvdGVudGlhbF8xXCIpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb250aW51ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmICh0aWxkZUNvbWJpbmF0b3IpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGlmIHdlIG1ha2UgaXQgdG8gdGhlIGxhc3QgcnVsZSBhbmQgc3VwcG9ydGluZ0hvdmVyRWxlbWVudERpc3BsYXlWYWx1ZSBpcyBzdGlsbCBmYWxzZSA9PiBwb3RlbnRpYWwyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoc3R5bGVSdWxlSW5kZXgyID09PSBzdHlsZVJ1bGVzMi5sZW5ndGggLSAxICYmIHN1cHBvcnRpbmdIb3ZlckVsZW1lbnREaXNwbGF5VmFsdWUgPT09IGZhbHNlKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCJOTyBwbHVzIHN1cHBvcnRpbmdIb3ZlckVsZW1lbnREaXNwbGF5UHJvcGVydHlcIik7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCIqKioqIFBVVCBQT1RFTlRJQUwgMiBIRVJFXCIpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBSdWxlUG90ZW50aWFsKFwiUG90ZW50aWFsXzFcIik7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnRpbnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gbm90ZSBhdCBsZWFzdCBvbmUgb2YgdGhlIHJ1bGVzIG11c3QgaGF2ZSBhIGRpc3BsYXkgcHJvcGVydHlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKHBsdXNDb21iaW5hdG9yKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGlmIHdlIG1ha2UgaXQgdG8gdGhlIGxhc3QgcnVsZSBhbmQgc3VwcG9ydGluZ0hvdmVyRWxlbWVudERpc3BsYXlQcm9wZXJ0eSBpcyBzdGlsbCBmYWxzZSA9PiBwb3RlbnRpYWwxXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChzdHlsZVJ1bGVJbmRleDIgPT09IHN0eWxlUnVsZXMyLmxlbmd0aCAtIDEgJiYgc3VwcG9ydGluZ0hvdmVyRWxlbWVudERpc3BsYXlQcm9wZXJ0eSA9PT0gZmFsc2UpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGNvbnNvbGUubG9nKFwiTk8gcGx1cyBzdXBwb3J0aW5nSG92ZXJFbGVtZW50RGlzcGxheVByb3BlcnR5XCIpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCIqKioqIFBVVCBQT1RFTlRJQUwgMSBIRVJFXCIpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFJ1bGVQb3RlbnRpYWwoXCJQb3RlbnRpYWxfMVwiKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnRpbnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmICh0aWxkZUNvbWJpbmF0b3IpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gaWYgd2UgbWFrZSBpdCB0byB0aGUgbGFzdCBydWxlIGFuZCBzdXBwb3J0aW5nSG92ZXJFbGVtZW50RGlzcGxheVByb3BlcnR5IGlzIHN0aWxsIGZhbHNlID0+IHBvdGVudGlhbDJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHN0eWxlUnVsZUluZGV4MiA9PT0gc3R5bGVSdWxlczIubGVuZ3RoIC0gMSAmJiBzdXBwb3J0aW5nSG92ZXJFbGVtZW50RGlzcGxheVByb3BlcnR5ID09PSBmYWxzZSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCJOTyB0aWxkZSBzdXBwb3J0aW5nSG92ZXJFbGVtZW50RGlzcGxheVByb3BlcnR5XCIpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCIqKioqIFBVVCBQT1RFTlRJQUwgMiBIRVJFXCIpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFJ1bGVQb3RlbnRpYWwoXCJQb3RlbnRpYWxfMVwiKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnRpbnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gbm90ZSBhdCBsZWFzdCBvbmUgb2YgdGhlIHJ1bGVzIG11c3QgaGF2ZSBhIHN1cHBvcnRpbmdFbGVtZW50OmhvdmVyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKHBsdXNDb21iaW5hdG9yKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gaWYgd2UgbWFrZSBpdCB0byB0aGUgbGFzdCBydWxlIGFuZCBzdXBwb3J0aW5nRWxlbWVudCBpcyBzdGlsbCBmYWxzZSA9PiBwb3RlbnRpYWwxXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCJzdHlsZVJ1bGVJbmRleDIgPSBcIitzdHlsZVJ1bGVJbmRleDIpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGNvbnNvbGUubG9nKFwic3R5bGVSdWxlczIubGVuZ3RoID0gXCIrc3R5bGVSdWxlczIubGVuZ3RoKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBjb25zb2xlLmxvZyhcInN1cHBvcnRpbmdFbGVtZW50ID0gXCIrc3VwcG9ydGluZ0hvdmVyKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoc3R5bGVSdWxlSW5kZXgyID09PSBzdHlsZVJ1bGVzMi5sZW5ndGggLSAxICYmIHN1cHBvcnRpbmdIb3ZlciA9PT0gZmFsc2UpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCJOTyBwbHVzIHN1cHBvcnRpbmdFbGVtZW50OmhvdmVyXCIpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBjb25zb2xlLmxvZyhcIioqKiogUFVUIFBPVEVOVElBTCAxIEhFUkVcIik7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBSdWxlUG90ZW50aWFsKFwiUG90ZW50aWFsXzFcIik7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29udGludWU7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmICh0aWxkZUNvbWJpbmF0b3IpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBpZiB3ZSBtYWtlIGl0IHRvIHRoZSBsYXN0IHJ1bGUgYW5kIHN1cHBvcnRpbmdFbGVtZW50IGlzIHN0aWxsIGZhbHNlID0+IHBvdGVudGlhbDJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBjb25zb2xlLmxvZyhcInN0eWxlUnVsZUluZGV4MiA9IFwiK3N0eWxlUnVsZUluZGV4Mik7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCJzdHlsZVJ1bGVzMi5sZW5ndGggPSBcIitzdHlsZVJ1bGVzMi5sZW5ndGgpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGNvbnNvbGUubG9nKFwic3VwcG9ydGluZ0VsZW1lbnQgPSBcIitzdXBwb3J0aW5nSG92ZXIpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChzdHlsZVJ1bGVJbmRleDIgPT09IHN0eWxlUnVsZXMyLmxlbmd0aCAtIDEgJiYgc3VwcG9ydGluZ0hvdmVyID09PSBmYWxzZSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBjb25zb2xlLmxvZyhcIk5PIHRpbGRlIHN1cHBvcnRpbmdFbGVtZW50OmhvdmVyXCIpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBjb25zb2xlLmxvZyhcIioqKiogUFVUIFBPVEVOVElBTCAyIEhFUkVcIik7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBSdWxlUG90ZW50aWFsKFwiUG90ZW50aWFsXzJcIik7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29udGludWU7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCJUaGVyZSBpcyBhIG1hcmdpbiBpbiB0aGUgc3VwcG9ydGluZyBlbGVtZW50XCIpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKCFwb3RlbnRpYWwzKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCIqKioqIFBVVCBQT1RFTlRJQUwgMyBIRVJFXCIpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHBvdGVudGlhbDMgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBSdWxlUG90ZW50aWFsKFwiUG90ZW50aWFsXzNcIik7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9IGNhdGNoIChlKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gU2lsZW5jZSBjc3MgYWNjZXNzIGlzc3Vlc1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vIFNpbGVuY2UgY3NzIGFjY2VzcyBpc3N1ZXNcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICAvLyBjb25zb2xlLmxvZyhcIi0tLS0tLS0tLS0tLS0tLS0tLS0tLS1cIik7XG4gICAgICAgIC8vIGNvbnNvbGUubG9nKFwicGFzczAgPSBcIitwYXNzMCk7XG4gICAgICAgIC8vIGNvbnNvbGUubG9nKFwicGFzczEgPSBcIitwYXNzMSk7XG4gICAgICAgIC8vIGNvbnNvbGUubG9nKFwicGFzczIgPSBcIitwYXNzMik7XG4gICAgICAgIC8vIGNvbnNvbGUubG9nKFwicG90ZW50aWFsMSA9IFwiK3BvdGVudGlhbDEpO1xuICAgICAgICAvLyBjb25zb2xlLmxvZyhcInBvdGVudGlhbDIgPSBcIitwb3RlbnRpYWwyKTtcbiAgICAgICAgLy8gY29uc29sZS5sb2coXCJwb3RlbnRpYWwzID0gXCIrcG90ZW50aWFsMyk7XG4gICAgICAgIGlmIChwYXNzMCkgcmV0dXJuIFJ1bGVQYXNzKFwiUGFzc18wXCIpO1xuICAgICA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Bmb3IgKGxldCBzdHlsZVJ1bGVJbmRleCA9IDA7IHBhc3NlZCAmJiBzdHlsZVJ1bGVJbmRleCA8IHN0eWxlUnVsZXMubGVuZ3RoOyBzdHlsZVJ1bGVJbmRleCsrKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBydWxlID0gc3R5bGVSdWxlc1tzdHlsZVJ1bGVJbmRleF07XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChydWxlLnR5cGUgJiYgcnVsZS50eXBlID09PSAxIC8qIENTU1J1bGUuU1RZTEVfUlVMRSAqLykge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHN0eWxlUnVsZSA9IHJ1bGUgYXMgQ1NTU3R5bGVSdWxlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHN0eWxlUnVsZS5zdHlsZVsnZm9udFNpemUnXSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBmb250U2l6ZSA9IHN0eWxlUnVsZS5zdHlsZVsnZm9udFNpemUnXS50cmltKCk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGZvdW5kID0gZm9udFNpemUubWF0Y2godGhlUGF0dGVybik7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGZvbnRTaXplLmxlbmd0aCAmJiBmb3VuZCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwYXNzZWQgPSBmYWxzZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gY2hlY2sgaW1wb3J0IHJ1bGVzXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVsc2UgaWYgKHJ1bGUudHlwZSAmJiBydWxlLnR5cGUgPT09IDMgLyogQ1NTUnVsZS5JTVBPUlRfUlVMRSAqLyAmJiAocnVsZSBhcyBDU1NJbXBvcnRSdWxlKS5zdHlsZVNoZWV0KSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgaW1wb3J0UnVsZSA9IHJ1bGUgYXMgQ1NTSW1wb3J0UnVsZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBydWxlcyA9IGltcG9ydFJ1bGUuc3R5bGVTaGVldC5jc3NSdWxlcyA/IGltcG9ydFJ1bGUuc3R5bGVTaGVldC5jc3NSdWxlcyA6IGltcG9ydFJ1bGUuc3R5bGVTaGVldC5ydWxlcztcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChydWxlcykge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZvciAobGV0IHJJbmRleCA9IDA7IHBhc3NlZCAmJiBySW5kZXggPCBydWxlcy5sZW5ndGg7IHJJbmRleCsrKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBpbXBvcnRlZFJ1bGUgPSBydWxlc1tySW5kZXhdIGFzIGFueVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoaW1wb3J0ZWRSdWxlLnR5cGUgJiYgaW1wb3J0ZWRSdWxlLnR5cGUgPT09IDEgLyogQ1NTUnVsZS5TVFlMRV9SVUxFICovKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoaW1wb3J0ZWRSdWxlLnN0eWxlWydmb250U2l6ZSddKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGZvbnRTaXplID0gaW1wb3J0ZWRSdWxlLnN0eWxlWydmb250U2l6ZSddLnRyaW0oKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgZm91bmQgPSBmb250U2l6ZS5tYXRjaCh0aGVQYXR0ZXJuKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoZm9udFNpemUubGVuZ3RoICYmIGZvdW5kKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHBhc3NlZCA9IGZhbHNlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfSBjYXRjaCAoZSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgLy8gSWdub3JlIGNzcyBhY2Nlc3MgaXNzdWVzXG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH0gZWxzZSBpZiAobm9kZU5hbWUgPT09IFwibGlua1wiKSB7XG4gICAgICAgICAgICBmb3IgKGxldCBzSW5kZXggPSAwOyBzSW5kZXggPCBydWxlQ29udGV4dC5vd25lckRvY3VtZW50LnN0eWxlU2hlZXRzLmxlbmd0aDsgc0luZGV4KyspIHtcbiAgICAgICAgICAgICAgICBsZXQgc2hlZXQgPSBydWxlQ29udGV4dC5vd25lckRvY3VtZW50LnN0eWxlU2hlZXRzW3NJbmRleF0gYXMgQ1NTU3R5bGVTaGVldDtcbiAgICAgICAgICAgICAgICBpZiAoc2hlZXQgJiYgc2hlZXQub3duZXJOb2RlID09PSBydWxlQ29udGV4dCkge1xuICAgICAgICAgICAgICAgICAgICB0cnkge1xuICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHJ1bGVzID0gc2hlZXQuY3NzUnVsZXMgPyBzaGVldC5jc3NSdWxlcyA6IHNoZWV0LnJ1bGVzO1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHJ1bGVzKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZm9yIChsZXQgckluZGV4ID0gMDsgcGFzc2VkICYmIHJJbmRleCA8IHJ1bGVzLmxlbmd0aDsgckluZGV4KyspIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHJ1bGVGcm9tTGluayA9IHJ1bGVzW3JJbmRleF0gYXMgYW55O1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBjaGVjayBydWxlcyBcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHJ1bGVGcm9tTGluay50eXBlICYmIHJ1bGVGcm9tTGluay50eXBlID09PSAxIC8qIENTU1J1bGUuU1RZTEVfUlVMRSAqLykge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHJ1bGVGcm9tTGluay5zdHlsZVsnZm9udFNpemUnXSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBmb250U2l6ZSA9IHJ1bGVGcm9tTGluay5zdHlsZVsnZm9udFNpemUnXS50cmltKCk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGZvdW5kID0gZm9udFNpemUubWF0Y2godGhlUGF0dGVybik7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGZvbnRTaXplLmxlbmd0aCAmJiBmb3VuZCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwYXNzZWQgPSBmYWxzZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vIElnbm9yZSBjc3MgYWNjZXNzIGlzc3Vlc1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgbGV0IHN0eWxlVmFsdWUgPSBydWxlQ29udGV4dC5nZXRBdHRyaWJ1dGUoJ3N0eWxlJyk7XG4gICAgICAgICAgICBpZiAoc3R5bGVWYWx1ZSkge1xuICAgICAgICAgICAgICAgIGxldCBzdHlsZVBhdHRlcm4gPSAvZm9udC1zaXplOlxccypcXGQrKHZ3fHZofHZtaW58dm1heCkvZ2k7XG4gICAgICAgICAgICAgICAgbGV0IGZvdW5kID0gc3R5bGVWYWx1ZS5tYXRjaChzdHlsZVBhdHRlcm4pO1xuICAgICAgICAgICAgICAgIGlmIChmb3VuZCkge1xuICAgICAgICAgICAgICAgICAgICBwYXNzZWQgPSBmYWxzZTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4gcGFzc2VkID8gUnVsZVBhc3MoXCJQYXNzXzBcIikgOiBSdWxlUG90ZW50aWFsKFwiUG90ZW50aWFsXzFcIik7XG4gICAgfVxufVxuIiwiLyoqKioqKioqKio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gICAgICAgICAgICBlbHNlIGlmIChET01VdGlsLnNhbWVOb2RlKGVsZW0sIHJ1bGVDb250ZXh0KSlcbiAgICAgICAgICAgICAgICBzYW1lTm9kZUhlYWRlclZhbHVlcy5wdXNoKGlkKTtcbiAgICAgICAgICAgIGVsc2UgaWYgKCFET01VdGlsLmlzSW5TYW1lVGFibGUoZWxlbSwgcnVsZUNvbnRleHQpKVxuICAgICAgICAgICAgICAgIHNhbWVUYWJsZUhlYWRlclZhbHVlcy5wdXNoKGlkKTtcbiAgICAgICAgICAgIGVsc2Uge1xuICAgICAgICAgICAgICAgIGxldCBlbGVtTmFtZSA9IGVsZW0ubm9kZU5hbWUudG9Mb3dlckNhc2UoKTtcbiAgICAgICAgICAgICAgICBpZiAoZWxlbU5hbWUgIT09ICd0aCcpIHtcbiAgICAgICAgICAgICAgICAgICAgY29uc3Qgcm9sZXMgPSBBcmlhVXRpbC5nZXRSb2xlcyhlbGVtLCB0cnVlKTtcbiAgICAgICAgICAgICAgICAgICAgaWYgKCFyb2xlcy5pbmNsdWRlcygnY29sdW1uaGVhZGVyJykgJiYgIXJvbGVzLmluY2x1ZGVzKCdyb3doZWFkZXInKSlcbiAgICAgICAgICAgICAgICAgICAgICAgIGludmFsaWRFbGVtSGVhZGVyVmFsdWVzLnB1c2goaWQpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIGxldCByZXN1bHRzID0gW107XG4gICAgICAgIGlmIChpbnZhbGlkSGVhZGVyVmFsdWVzLmxlbmd0aCAhPSAwKVxuICAgICAgICAgICAgcmVzdWx0cy5wdXNoKFJ1bGVGYWlsKFwiRmFpbF8xXCIsIFtpbnZhbGlkSGVhZGVyVmFsdWVzLnRvU3RyaW5nKCldKSk7XG4gICAgICAgIGlmIChzYW1lTm9kZUhlYWRlclZhbHVlcy5sZW5ndGggIT0gMClcbiAgICAgICAgICAgIHJlc3VsdHMucHVzaChSdWxlRmFpbChcIkZh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HRoYXQncyBhY3R1YWxseSB1c2FibGUgKHJvd3NwYW4gYW5kIGNvbHNwYW4gZWxlbWVudHMgYXJlIGR1cGxpY2F0ZWQpXG4gICAgICAgICAgICAvLyBUaGlzIGJ1aWxkcyBhIHJlYWwgMmQgdGFibGUgYXJyYXkuXG4gICAgICAgICAgICBsZXQgZ3JpZCA9IFtdO1xuICAgICAgICAgICAgZm9yIChsZXQgaSA9IDA7IGkgPCBwYXJlbnRUYWJsZS5yb3dzLmxlbmd0aDsgKytpKSB7XG4gICAgICAgICAgICAgICAgbGV0IHJvdyA9IHBhcmVudFRhYmxlLnJvd3NbaV07XG4gICAgICAgICAgICAgICAgaWYgKCFncmlkW2ldKSBncmlkW2ldID0gW107XG4gICAgICAgICAgICAgICAgZm9yIChsZXQgaiA9IDA7IGogPCByb3cuY2VsbHMubGVuZ3RoOyArK2opIHtcbiAgICAgICAgICAgICAgICAgICAgbGV0IGNlbGwgPSByb3cuY2VsbHNbal07XG4gICAgICAgICAgICAgICAgICAgIENhY2hlVXRpbC5zZXRDYWNoZShjZWxsLCBcInRhYmxlX2hlYWRlcnNfcmVsYXRlZFwiLCBpICsgXCI6XCIgKyBqKTtcbiAgICAgICAgICAgICAgICAgICAgbGV0IHdpZHRoID0gcGFyc2VJbnQoY2VsbC5nZXRBdHRyaWJ1dGUoXCJjb2xzcGFuXCIpKTtcbiAgICAgICAgICAgICAgICAgICAgaWYgKCF3aWR0aCkgd2lkdGggPSAxO1xuICAgICAgICAgICAgICAgICAgICBsZXQgaGVpZ2h0ID0gcGFyc2VJbnQoY2VsbC5nZXRBdHRyaWJ1dGUoXCJyb3dzcGFuXCIpKTtcbiAgICAgICAgICAgICAgICAgICAgaWYgKCFoZWlnaHQpIGhlaWdodCA9IDE7XG4gICAgICAgICAgICAgICAgICAgIGxldCBnWCA9IDA7XG4gICAgICAgICAgICAgICAgICAgIHdoaWxlIChncmlkW2ldW2dYXSkgZ1ggKz0gMTtcbiAgICAgICAgICAgICAgICAgICAgZm9yIChsZXQgayA9IDA7IGsgPCBoZWlnaHQ7ICsraykge1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKCFncmlkW2kgKyBrXSkgZ3JpZFtpICsga10gPSBbXVxuICAgICAgICAgICAgICAgICAgICAgICAgZm9yIChsZXQgbCA9IDA7IGwgPCB3aWR0aDsgKytsKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZ3JpZFtpICsga11bZ1ggKyBsXSA9IGNlbGw7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIC8vIEl0ZXJhdGUgdGhyb3VnaCB0aGUgdGFibGUgZ3JpZCBhbmQgcmVjb3JkIGhlYWRlcnMgdGhhdCBwb2ludCB0byBjZWxscyBhbmRcbiAgICAgICAgICAgIC8vIGNlbGxzIHRoYXQgYXJlIHBvaW50ZWQgdG8gYnkgaGVhZGVyc1xuICAgICAgICAgICAgbGV0IGRvYyA9IHJ1bGVDb250ZXh0Lm93bmVyRG9jdW1lbnQ7XG4gICAgICAgICAgICBsZXQgbG9va3VwID0ge31cbiAgICAgICAgICAgIGxldCBzY29wZWRDb2xzID0ge307XG4gICAgICAgICAgICBmb3IgKGxldCBpID0gMDsgaSA8IGdyaWQubGVuZ3RoOyArK2kpIHtcbiAgICAgICAgICAgICAgICBsZXQgcm93U2NvcGVkID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgZm9yIChsZXQgaiA9IDA7IGogPCBncmlkW2ldLmxlbmd0aDsgKytqKSB7XG4gICAgICAgICAgICAgICAgICAgIGxldCBncmlkQ2VsbCA9IGdyaWRbaV1bal07XG4gICAgICAgICAgICAgICAgICAgIGxldCBncmlkTm9kZU5hbWUgPSBncmlkQ2VsbC5ub2RlTmFtZS50b0xvd2VyQ2FzZSgpO1xuICAgICAgICAgICAgICAgICAgICBpZiAoZ3JpZE5vZGVOYW1lID09IFwidGhcIikge1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGdyaWRDZWxsLmdldEF0dHJpYnV0ZShcInNjb3BlXCIpID09IFwicm93XCIpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByb3dTY29wZWQgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIElmIHRoZXJlJ3MgYW4gYXhpcyBhdHRyaWJ1dGUsIGl0IG11c3QgYmUgcmVmZXJyZWQgdG8gYnkgaGVhZGVycyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBzY29wZSBpcyBub3QgZW5vdWdoLlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmICghQ29tbW9uVXRpbC5hdHRyaWJ1dGVOb25FbXB0eShncmlkQ2VsbCwgXCJheGlzXCIpKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsb29rdXBbQ2FjaGVVdGlsLmdldENhY2hlKGdyaWRDZWxsLCBcInRhYmxlX2hlYWRlcnNfcmVsYXRlZFwiLCBudWxsKV0gPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmIChncmlkQ2VsbC5nZXRBdHRyaWJ1dGUoXCJzY29wZVwiKSA9PSBcImNvbFwiKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgc2NvcGVkQ29sc1tqXSA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gSWYgdGhlcmUncyBhbiBheGlzIGF0dHJpYnV0ZSwgaXQgbXVzdCBiZSByZWZlcnJlZCB0byBieSBoZWFkZXJzLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIHNjb3BlIGlzIG5vdCBlbm91Z2guXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKCFDb21tb25VdGlsLmF0dHJpYnV0ZU5vbkVtcHR5KGdyaWRDZWxsLCBcImF4aXNcIikpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxvb2t1cFtDYWNoZVV0aWwuZ2V0Q2FjaGUoZ3JpZENlbGwsIFwidGFibGVfaGVhZGVyc19yZWxhdGVkXCIsIG51bGwpXSA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAvLyBIZWFkZXJzIGNhbiByZWZlciB0byBvdGhlciBoZWFkZXJzXG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoQ29tbW9uVXRpbC5hdHRyaWJ1dGVOb25FbXB0eShncmlkQ2VsbCwgXCJoZWFkZXJzXCIpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGhkcnMgPSBncmlkQ2VsbC5nZXRBdHRyaWJ1dGUoXCJoZWFkZXJzXCIpLnNwbGl0KFwiIFwiKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBmb3IgKGxldCBrID0gMDsgayA8IGhkcnMubGVuZ3RoOyArK2spIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGhlYWRFbGVtID0gZG9jLmdldEVsZW1lbnRCeUlkKGhkcnNba10udHJpbSgpKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGhlYWRFbGVtICYmIENvbW1vblV0aWwuZ2V0QW5jZXN0b3IoaGVhZEVsZW0sIFwidGFibGVcIikgPT0gcGFyZW50VGFibGUpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxvb2t1cFtDYWNoZVV0aWwuZ2V0Q2FjaGUoaGVhZEVsZW0sIFwidGFibGVfaGVhZGVyc19yZWxhdGVkXCIsIG51bGwpXSA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoZ3JpZE5vZGVOYW1lID09IFwidGRcIikge1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHJvd1Njb3BlZCB8fCBzY29wZWRDb2xzW2pdKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbG9va3VwW0NhY2hlVXRpbC5nZXRDYWNoZShncmlkQ2VsbCwgXCJ0YWJsZV9oZWFkZXJzX3JlbGF0ZWRcIiwgbnVsbCldID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoQ29tbW9uVXRpbC5hdHRyaWJ1dGVOb25FbXB0eShncmlkQ2VsbCwgXCJoZWFkZXJzXCIpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGhkcnMgPSBncmlkQ2VsbC5nZXRBdHRyaWJ1dGUoXCJoZWFkZXJzXCIpLnNwbGl0KFwiIFwiKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBmb3IgKGxldCBrID0gMDsgayA8IGhkcnMubGVuZ3RoOyArK2spIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGhlYWRFbGVtID0gZG9jLmdldEVsZW1lbnRCeUlkKGhkcnNba10udHJpbSgpKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGhlYWRFbGVtICYmIENvbW1vblV0aWwuZ2V0QW5jZXN0b3IoaGVhZEVsZW0sIFwidGFibGVcIikgPT0gcGFyZW50VGFibGUpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxvb2t1cFtDYWNoZVV0aWwuZ2V0Q2FjaGUoZ3JpZENlbGwsIFwidGFibGVfaGVhZGVyc19yZWxhdGVkXCIsIG51bGwpXSA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsb29rdXBbQ2FjaGVVdGlsLmdldENhY2hlKGhlYWRFbGVtLCBcInRhYmxlX2hlYWRlcnNfcmVsYXRlZFwiLCBudWxsKV0gPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgQ2FjaGVVdGlsLnNldENhY2hlKHBhcmVudFRhYmxlLCBcInRhYmxlX2hlYWRlcnNfcmVsYXRlZFwiLCBsb29rdXApO1xuICAgICAgICB9XG5cbiAgICAgICAgbGV0IHJjSW5mbyA9IENhY2hlVXRpbC5nZXRDYWNoZShydWxlQ29udGV4dCwgXCJ0YWJsZV9oZWFkZXJzX3JlbGF0ZWRcIiwgbnVsbCk7XG4gICAgICAgIGxldCB0SW5mbyA9IENhY2hlVXRpbC5nZXRDYWNoZShwYXJlbnRUYWJsZSwgXCJ0YWJsZV9oZWFkZXJzX3JlbGF0ZWRcIiwgbnVsbCk7XG4gICAgICAgIGxldCBwYXNzZWQgPSByY0luZm8gJiYgdEluZm8gJiYgcmNJbmZvIGluIHRJbmZvO1xuXG4gICAgICAgIGlmICghcGFzc2VkICYmIHJjSW5mbyA9PT0gXCIwOjBcIiAmJlxuICAgICAgICAgICAgQ29tbW9uVXRpbC5nZXRJbm5lclRleHQocnVsZUNvbnRleHQpLnRyaW0oKS5sZW5ndGggPT0gMCkge1xuICAgICAgICAgICAgLy8gV2UgZG9uJ3QgdGVzdCBpZiBpdCdzIHRoZSB1cHBlci1sZWZ0IGNlbGwgYW5kIGl0J3MgZW1wdHlcbiAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICB9XG5cbiAgICAgICAgLy8gSWYgdGhlIHRhYmxlIGhhcyBubyB0aCdzLCBpdCBtYXkganVzdCBiZSB0aGF0IHRoaXMgd2FzIHN1cHBvc2VkIHRvIGJlIGEgbGF5b3V0XG4gICAgICAgIC8vIHRhYmxlLCB3aGljaCBpbnRyb2R1Y2VzIGEgbG90IG9mIG5vaXNlLi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FET01VdGlsLnNhbWVOb2RlKHN1bW1hcnlOb2RlLHJ1bGVDb250ZXh0KSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgc3VtbWFyeU5vZGVDb25jYXQgKz0gXCIgXCIgKyBDb21tb25VdGlsLmdldElubmVyVGV4dChzdW1tYXJ5Tm9kZSkudHJpbSgpLnRvTG93ZXJDYXNlKCk7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBzdW1TdHIgPSBzdW1tYXJ5Tm9kZUNvbmNhdDtcbiAgICAgICAgfVxuICAgICAgICBpZiAoIXN1bVN0cikge1xuICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICBsZXQgY2FwRWxlbXMgPSBydWxlQ29udGV4dC5nZXRFbGVtZW50c0J5VGFnTmFtZShcImNhcHRpb25cIik7XG4gICAgICAgICAgICBpZiAoY2FwRWxlbXMubGVuZ3RoID09PSAwKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgICAgICB9IGVsc2UgaWYgKHN1bVN0ci5sZW5ndGggPiAwKSB7XG4gICAgICAgICAgICAgICAgbGV0IGNhcFN0ciA9IENvbW1vblV0aWwuZ2V0SW5uZXJUZXh0KGNhcEVsZW1zWzBdKS50cmltKCkudG9Mb3dlckNhc2UoKTtcbiAgICAgICAgICAgICAgICBpZiAoIXN1bVN0ci5pbmNsdWRlcyhjYXBTdHIpKSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBSdWxlUGFzcyhcIlBhc3NfMFwiKTtcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gUnVsZUZhaWwoXCJGYWlsXzFcIilcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG59IiwiLyoqKioqKioqKioqKioqKioq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czsgICAgXG4gICAgICAgICAgICBpZiAoIWJvdW5kcykgXG4gICAgICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgICAgICBcbiAgICAgICAgICAgIC8vIGlnbm9yZSBoaWRkZW4sIG5vbi10YXJnZXRcbiAgICAgICAgICAgIGlmICghQ29tbW9uVXRpbC5pc1RhcmdldChydWxlQ29udGV4dCkpXG4gICAgICAgICAgICAgICAgcmV0dXJuIG51bGw7XG5cbiAgICAgICAgICAgIGlmIChib3VuZHMuaGVpZ2h0ID49IDI0ICYmIGJvdW5kcy53aWR0aCA+PSAyNClcbiAgICAgICAgICAgICAgICByZXR1cm4gUnVsZVBhc3MoXCJwYXNzX3NpemVkXCIpOyBcblxuICAgICAgICAgICAgLy8gY2hlY2sgaW5saW5lIGVsZW1lbnQ6IHdpdGhvdXQgdGV4dCBpbiB0aGUgc2FtZSBsaW5lXG4gICAgICAgICAgICBjb25zdCBzdGF0dXMgPSBDU1NVdGlsLmdldElubGluZVN0YXR1cyhydWxlQ29udGV4dCk7XG4gICAgICAgICAgICBpZiAoc3RhdHVzID09PSBudWxsKSByZXR1cm4gbnVsbDtcbiAgICAgICAgICAgIGlmIChzdGF0dXMuaW5saW5lKSB7XG4gICAgICAgICAgICAgICAgaWYgKHN0YXR1cy50ZXh0KSB7XG4gICAgICAgICAgICAgICAgICAgIGlmIChzdGF0dXMudmlvbGF0aW9uID09PSBudWxsKVxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFJ1bGVQYXNzKFwicGFzc19pbmxpbmVcIik7XG4gICAgICAgICAgICAgICAgICAgIGVsc2VcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vIGNhc2UgMTogaW5saW5lIGVsZW1lbnQgaXMgdG9vIGNsb3NlIGhvcml6b250YWxseVxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFJ1bGVQb3RlbnRpYWwoXCJyZWNvbW1lbmRhdGlvbl9pbmxpbmVcIiwgW25vZGVOYW1lLCBzdGF0dXMudmlvbGF0aW9uXSk7XG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgaWYgKHN0YXR1cy52aW9sYXRpb24gPT09IG51bGwpXG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gUnVsZVBhc3MoXCJwYXNzX2RlZmF1bHRcIik7XG4gICAgICAgICAgICAgICAgICAgIGVsc2VcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vIGNhc2UgMTogaW5saW5lIGVsZW1lbnQgaXMgdG9vIGNsb3NlIGhvcml6b250YWxseVxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFJ1bGVQb3RlbnRpYWwoXCJyZWNvbW1lbmRhdGlvbl9pbmxpbmVcIiwgW25vZGVOYW1lLCBzdGF0dXMudmlvbGF0aW9uXSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAvLyBpZ25vcmUgYnJvd3NlciBkZWZhdWx0XG4gICAgICAgICAgICAgICAgaWYgKENTU1V0aWwuaXNUYXJnZXRCcm93c2VyRGVmYXVsdChydWxlQ29udGV4dCkpIFxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gUnVsZVBhc3MoXCJwYXNzX2RlZmF1bHRcIik7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIHZhciBkb2MgPSBydWxlQ29udGV4dC5vd25lckRvY3VtZW50O1xuICAgICAgICAgICAgaWYgKCFkb2MpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIFxuICAgICAgICAgICAgdmFyIGNTdHlsZSA9IGdldENvbXB1dGVkU3R5bGUocnVsZUNvbnRleHQpO1xuICAgICAgICAgICAgaWYgKGNTdHlsZSA9PT0gbnVsbCkgXG4gICAgICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgICAgICBcbiAgICAgICAgICAgIGxldCB6aW5kZXggPSBjU3R5bGUuekluZGV4OyAgIFxuICAgICAgICAgICAgaWYgKCF6aW5kZXggfHwgaXNOYU4oTnVtYmVyKHppbmRleCkpKVxuICAgICAgICAgICAgICAgIHppbmRleCA9IFwiMFwiO1xuICAgICAgICAgICAgXG4gICAgICAgICAgICAvL3NlbGVjdCBhbGwgZWxlbWVudHMgZXhjZXB0IGl0c2VsZiBhbmQgZGVzY2VuZGFudHNcbiAgICAgICAgICAgIHZhciBlbGVtcyA9IGRvYy5xdWVyeVNlbGVjdG9yQWxsKCdib2R5ICo6bm90KHNjcmlwdCk6bm90KHN0eWxlKScpO1xuICAgICAgICAgICAgaWYgKCFlbGVtcyB8fCBlbGVtcy5sZW5ndGggPT09IDApXG4gICAgICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAgICAgXG4gICAgICAgICAgICBsZXQgYmVmb3JlID0gdHJ1ZTtcbiAgICAgICAgICAgIGxldCBtaW5YID0gMjQ7XG4gICAgICAgICAgICBsZXQgbWluWSA9IDI0O1xuICAgICAgICAgICAgbGV0IGFkamFjZW50WCA9IG51bGw7XG4gICAgICAgICAgICBsZXQgYWRqYWNlbnRZID0gbnVsbDtcbiAgICAgICAgICAgIGxldCBjaGVja2VkID0gW107IC8vY29udGFpbnMgYSBsaXN0IG9mIGVsZW1lbnRzIHRoYXQgaGF2ZSBiZWVuIGNoZWNrZWQgc28gdGhlaXIgZGVzY2VuZGFudHMgZG9uJ3QgbmVlZCB0byBiZSBjaGVja2VkIGFnYWluXG4gICAgICAgICAgICBmb3IgKGxldCBpPTA7IGkgPCBlbGVtcy5sZW5ndGg7IGkrKykge1xuICAgICAgICAgICAgICAgIGNvbnN0IGVsZW0gPSBlbGVtc1tpXSBhcyBIVE1MRWxlbWVudDtcbiAgICAgICAgICAgICAgICAvKipcbiAgICAgICAgICAgICAgICAgKiAgdGhlIG5vZGVzIHJldHVybmVkIGZyb20gcXVlcnlTZWxlY3RvckFsbCBpcyBpbiBkb2N1bWVudCBvcmRlclxuICAgICAgICAgICAgICAgICAqICBpZiB0d28gZWxlbWVudHMgb3ZlcmxhcCBhbmQgei1pbmRleCBhcmUgbm90IGRlZmluZWQsIHRoZW4gdGhlIG5vZGUgcmVuZGVyZWQgZWFybGllciB3aWxsIGJlIG92ZXJsYWlkIGJ5IHRoZSBub2RlIHJlbmRlcmVkIGxhdGVyXG4gICAgICAgICAgICAgICAgICogIGZpbHRlciBvdXQgdGhlIGVsZW1lbnRzIHRoYXTigJlyZSBkZXNjZW5kYW50IG9yIGFuY2VzdG9ycyBvZiB0aGUgdGFyZ2V0IGVsZW1lbnQsIG5vciBkZXNjZW5kYW50IG9mIHRoZSB0YXJnZXQgZWxlbWVudCdzIHNpYmxpbmdzXG4gICAgICAgICAgICAgICAgICovXG4gICAgICAgICAgICAgICAgaWYgKHJ1bGVDb250ZXh0LmNvbnRhaW5zKGVsZW0pKSB7XG4gICAgICAgICAgICAgICAgICAgIC8vdGhlIG5leHQgbm9kZSBpbiBlbGVtcyB3aWxsIGJlIGFmdGVyIHRoZSB0YXJnZXQgbm9kZSAocnVsZUNvbnRleHQpLiBcbiAgICAgICAgICAgICAgICAgICAgYmVmb3JlID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgICAgIGNvbnRpbnVlO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAvLyBpZ25vcmUgYXNjZW5kYW50cyBvZiB0aGUgZWxlbWVudCwgbm90IGEgdGFyZ2V0LCBvciBpdHNlbGYgb3IgaXRzIGFzY2VuZGFudCBhbHJlYWR5IGNoZWNrZWQgICBcbiAgICAgICAgICAgICAgICBpZiAoZWxlbS5jb250YWlucyhydWxlQ29udGV4dCkgIHx8ICFDb21tb25VdGlsLmlzVGFyZ2V0KGVsZW0pIFxuICAgICAgICAgICAgICAgICAgIHx8IGNoZWNrZWQuc29tZShpdGVtID0+IGl0ZW0uY29udGFpbnMoZWxlbSkpKSBcbiAgICAgICAgICAgICAgICAgICAgY29udGludWU7XG5cbiAgICAgICAgICAgICAgICBjb25zdCBibmRzID0gbWFwcGVyLmdldFVuYWRqdXN0ZWRCb3VuZHMoZWxlbSk7XG4gICAgICAgICAgICAgICAgaWYgKCFibmRzKSBjb250aW51ZTtcbiAgICAgICAgICAgICAgICBcbiAgICAgICAgICAgICAgICB2YXIgelN0eWxlID0gZ2V0Q29tcHV0ZWRTdHlsZShlbGVtKTsgXG4gICAgICAgICAgICAgICAgbGV0IHpfaW5kZXggPSAnMCc7XG4gICAgICAgICAgICAgICAgaWYgKHpTdHlsZSkge1xuICAgICAgICAgICAgICAgICAgICB6X2luZGV4ID0gelN0eWxlLnpJbmRleDtcbiAgICAgICAgICAgICAgICAgICAgaWYgKCF6X2luZGV4IHx8IGlzTmFOKE51bWJlcih6X2luZGV4KSkpXG4gICAgICAgICAgICAgICAgICAgICAgICB6X2luZGV4ID0gXCIwXCI7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgLy8gY2FzZSAyOiB0aGUgZWxlbWVudCBvdmVybGFwcyB0aGUgdGFyZ2V0IGVudGlyZWx5XG4gICAgICAgICAgICAgICAgLy8gbm90ZSB3aGVuIGEgbGluayBpcyBpbmxpbmUgd2l0aCBvdGhlciB0YXJnZXQsIGlmIHRoZSBsaW5rIHRleHQgd3JhcHMgaW4gYW5vdGhlciBsaW5lIGluIGEgZ2l2ZW4gdmlld3BvcnQsICBcbiAgICAgICAgICAgICAgICAvLyB0aGUgYm91bmRzIG9mIHRoZSBsaW5rIG1heSBjb3ZlciBhbmQgdGhlIGVudGlyZSB0d28gbGluZXMsIGNhdXNpbmcgdGhlIG90aGVyIHRhZ2V0cyB0byBiZSBvdmVybGFwcGVkLCBzZWUgdHdvIGxpbmtzIGluIHRoZSB0ZXN0IGNhc2U6IGVsZW1lbnRfaW5saW5lLmh0bWwgXG4gICAgICAgICAgICAgICAgaWYgKGJuZHMudG9wIDw9IGJvdW5kcy50b3AgJiYgYm5kcy5sZWZ0IDw9IGJvdW5kcy5sZWZ0ICYmIGJuZHMudG9wICsgYm5kcy5oZWlnaHQgPj0gYm91bmRzLnRvcCArIGJvdW5kcy5oZWlnaHQgXG4gICAgICAgICAgICAgICAgICAgICYmIGJuZHMubGVmdCArIGJuZHMud2lkdGggPj0gYm91bmRzLmxlZnQgKyBib3VuZHMud2lkdGgpIHtcbiAgICAgICAgICAgICAgICAgICAgLy8gaWYgdGhlIHRhcmdldCBvbiB0b3AgICAgXG4gICAgICAgICAgICAgICAgICAgIGlmIChiZWZvcmUgPyBwYXJzZUludCh6aW5kZXgpIDwgcGFyc2VJbnQoel9pbmRleCk6IHBhcnNlSW50KHppbmRleCkgPD0gcGFyc2VJbnQoel9pbmRleCkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vIHRoZSB0YXJnZXQgaXMgZW50aXJlbHkgY292ZXJlZDogdGFiYmFibGUgdGFyZ2V0IGhhbmRsZWQgYnkgZWxlbWVudF90YWJiYWJsZV91bm9ic2N1cmVkIGFuZCB0YWJpbmRleD0tMSBpZ25vcmVkXG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgICAgICAgICAgICAgfSBlbHNlXG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gUnVsZVBvdGVudGlhbChcInBvdGVudGlhbF9vdmVybGFwXCIsIFtub2RlTmFtZSwgZWxlbS5ub2RlTmFtZS50b0xvd2VyQ2FzZSgpXSk7XG4gICAgICAgICAgICAgICAgfSBcbiAgICAgICAgICAgICAgICBcbiAgICAgICAgICAgICAgICAvLyBjYXNlIDM6IGlmIHRoZSB0YXJnZXQgb3ZlcmxhcHMgdGhlIGVsZW1lbnQgZW50aXJlbHlcbiAgICAgICAgICAgICAgICBpZiAoYm91bmRzLnRvcCA8PSBibmRzLnRvcCAmJiBib3VuZHMubGVmdCA8PSBibmRzLmxlZnQgJiYgYm91bmRzLnRvcCArIGJvdW5kcy5oZWlnaHQgPj0gYm5kcy50b3AgKyBibmRzLmhlaWdodCBcbiAgICAgICAgICAgICAgICAgICAgJiYgYm91bmRzLmxlZnQgKyBib3VuZHMud2lkdGggPj0gYm5kcy5sZWZ0ICsgYm5kcy53aWR0aCkge1xuICAgICAgICAgICAgICAgICAgICAvLyBpZiB0aGUgZWxlbWVudCBvbiB0b3AgICAgXG4gICAgICAgICAgICAgICAgICAgIGlmIChiZWZvcmUgPyBwYXJzZUludCh6aW5kZXgpIDwgcGFyc2VJbnQoel9pbmRleCk6IHBhcnNlSW50KHppbmRleCkgPD0gcGFyc2VJbnQoel9pbmRleCkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBSdWxlUG90ZW50aWFsKFwicG90ZW50aWFsX292ZXJsYXBcIiwgW25vZGVOYW1lLCBlbGVtLm5vZGVOYW1lLnRvTG93ZXJDYXNlKCldKTsgXG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSAvLyB0aGUgdGFyZ2V0IG9uIHRvcFxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFJ1bGVGYWlsKFwidmlvbGF0aW9uX3NwYWNpbmdcIiwgW25vZGVOYW1lLCBlbGVtLm5vZGVOYW1lLnRvTG93ZXJDYXNlKCldKTsgICAgIFxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBcbiAgICAgICAgICAgICAgICAvLyBjYXNlIDQ6IHRoZSBlbGVtZW50IG92ZXJsYXBzIHBhcnRpYWxseSB3aXRoIHRoZSB0YXJnZXRcbiAgICAgICAgICAgICAgICBpZiAoKCgoYm91bmRzLnRvcCA+PSBibmRzLnRvcCAmJiBib3VuZHMudG9wIDw9IGJuZHMudG9wICsgYm5kcy5oZWlnaHQpIHx8IChib3VuZHMudG9wICsgYm91bmRzLmhlaWdodCA8PSBibmRzLnRvcCAmJiBib3VuZHMudG9wICsgYm91bmRzLmhlaWdodCA+PSBibmRzLnRvcCArYm5kcy5oZWlnaHQpKVxuICAgICAgICAgICAgICAgICAgICAgJiYgKChib3VuZHMubGV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GRpc1kgPSBNYXRoLm1pbihNYXRoLmFicyhib3VuZHMudG9wIC0gYm5kcy50b3ApLCBNYXRoLmFicyhib3VuZHMudG9wIC0gKGJuZHMudG9wICsgYm5kcy5oZWlnaHQpKSwgIE1hdGguYWJzKGJvdW5kcy50b3AgKyBib3VuZHMuaGVpZ2h0IC0gKGJuZHMudG9wICsgYm5kcy5oZWlnaHQpKSwgTWF0aC5hYnMoYm91bmRzLnRvcCArIGJvdW5kcy5oZWlnaHQgLSBibmRzLnRvcCkpO1xuICAgICAgICAgICAgICAgICAgICBcbiAgICAgICAgICAgICAgICAgICAgaWYgKGRpc1ggPCBtaW5YKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBtaW5YID0gZGlzWDtcbiAgICAgICAgICAgICAgICAgICAgICAgIGFkamFjZW50WCA9IGVsZW07XG4gICAgICAgICAgICAgICAgICAgIH0gICAgXG4gICAgICAgICAgICAgICAgICAgIGlmIChkaXNZIDwgbWluWSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgbWluWSA9IGRpc1k7ICAgXG4gICAgICAgICAgICAgICAgICAgICAgICBhZGphY2VudFkgPSBlbGVtO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGNoZWNrZWQucHVzaChlbGVtKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIFxuICAgICAgICAgICAgLy8gY2FzZSA1OiBubyBvdmVybGFwICsgaW5zdWZmaWNpZW50IHRhcmdldCBzaXplLiBjaGVjayBzcGFjaW5nICAgIFxuICAgICAgICAgICAgaWYgKE1hdGgucm91bmQoYm91bmRzLndpZHRoLzIpICsgbWluWCA8IDEyIHx8IE1hdGgucm91bmQoYm91bmRzLmhlaWdodC8yKSArIG1pblkgPCAxMikge1xuICAgICAgICAgICAgICAgIGlmIChNYXRoLnJvdW5kKGJvdW5kcy53aWR0aC8yKSArIG1pblggPCBNYXRoLnJvdW5kKGJvdW5kcy5oZWlnaH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gICAgIHR5cGU6IFwiaW50ZWdlclwiXG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgXG4gICAgICAgIGxldCBib2R5Rm9udCA9IDA7XG4gICAgICAgIGxldCBib2R5ID0gcnVsZUNvbnRleHQub3duZXJEb2N1bWVudC5nZXRFbGVtZW50c0J5VGFnTmFtZShcImJvZHlcIik7XG4gICAgICAgIGlmIChib2R5ICE9IG51bGwpIHtcbiAgICAgICAgICAgIGxldCBib2R5U3R5bGUgPSBnZXRDb21wdXRlZFN0eWxlKGJvZHlbMF0pO1xuICAgICAgICAgICAgaWYgKGJvZHlTdHlsZSkgYm9keUZvbnQgPSBDU1NVdGlsLmdldFBpeGVsc0Zyb21TdHlsZShib2R5U3R5bGVbJ2ZvbnQtc2l6ZSddLCBib2R5KTtcbiAgICAgICAgfVxuICAgICAgICBsZXQgbnVtV29yZHMgPSB2YWxpZGF0ZVBhcmFtcy5udW1Xb3Jkcy52YWx1ZTtcbiAgICAgICAgbGV0IHdvcmRzU2VlbiA9IDA7XG4gICAgICAgIGxldCB3b3JkU3RyOiBzdHJpbmdbXSA9IFtdO1xuICAgICAgICBsZXQgZW1waGFzaXplZFRleHQgPSBmYWxzZTtcbiAgICAgICAgLy9sZXQgbncgPSBuZXcgTm9kZVdhbGtlcihydWxlQ29udGV4dCk7XG4gICAgICAgIGxldCBudyA9IG5ldyBET01XYWxrZXIocnVsZUNvbnRleHQpO253Lm5leHROb2RlKCk7XG4gICAgICAgIGxldCBwYXNzZWQgPSBmYWxzZTtcbiAgICAgICAgd2hpbGUgKCFwYXNzZWQgJiZcbiAgICAgICAgICAgIG53Lm5leHROb2RlKCkgJiYgXG4gICAgICAgICAgICBudy5ub2RlICE9PSBydWxlQ29udGV4dCAmJlxuICAgICAgICAgICAgbncubm9kZSAhPT0gRE9NV2Fsa2VyLnBhcmVudE5vZGUocnVsZUNvbnRleHQpICYmXG4gICAgICAgICAgICAhW1wiYnJcIiwgXCJkaXZcIiwgXCJwXC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Ym9keUZvbnQgIT09IDAgJiYgQ1NTVXRpbC5nZXRQaXhlbHNGcm9tU3R5bGUoc3R5bGVbJ2ZvbnQtc2l6ZSddLG53Lm5vZGUucGFyZW50RWxlbWVudCkgID4gYm9keUZvbnQpKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgbGV0IG5leHRTdHIgPSBudy5ub2RlLm5vZGVWYWx1ZS50cmltKCk7XG4gICAgICAgICAgICAgICAgICAgICAgICBcbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCB3YyA9IENvbW1vblV0aWwud29yZENvdW50KG5leHRTdHIpO1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHdjID4gMCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHdvcmRTdHIucHVzaChuZXh0U3RyKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbXBoYXNpemVkVGV4dCA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgd29yZHNTZWVuICs9IHdjO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgcGFzc2VkID0gd29yZHNTZWVuID4gbnVtV29yZHM7XG4gICAgICAgICAgICAgICAgICAgICAgICAvLyBTa2lwIHRoaXMgbm9kZSBiZWNhdXNlIGl0J3MgZW1waGFzaXplZFxuICAgICAgICAgICAgICAgICAgICAgICAgbncuYkVuZFRhZyA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAvLyB0aGUgbm9kZSBjb250YWluIHJlZ3VsYXIgdGV4dFxuICAgICAgICAgICAgICAgICAgICAgICAgcGFzc2VkID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICAgICAgfSAgIFxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0gZWxzZSBpZiAobncubm9kZS5ub2RlVHlwZSA9PT0gMSkge1xuICAgICAgICAgICAgICAgIC8vIGZvciBlbGVtZW50IGNoaWxkXG4gICAgICAgICAgICAgICAgaWYgKG53TmFtZSA9PT0gXCJiXCIgfHwgbndOYW1lID09PSBcInN0cm9uZ1wiIHx8IG53TmFtZSA9PT0gXCJ1XCIgfHwgbndOYW1lID09PSBcImZvbnRcIikge1xuICAgICAgICAgICAgICAgICAgICAvLyBpZiB0aGUgdGFyZ2V0IGVsZW1lbnQgY29udGFpbnMgZW1waGFzaXMgY2hpbGQsIGUuZy4sIDxwPjxzdHJvbmc+ZmFrZSBoZWFkaW5nPC9zdHJvbmc+PC9wPiBcbiAgICAgICAgICAgICAgICAgICAgbGV0IG5leHRTdHIgPSBDb21tb25VdGlsLmdldElubmVyVGV4dChudy5ub2RlKTtcbiAgICAgICAgICAgICAgICAgICAgXG4gICAgICAgICAgICAgICAgICAgIGxldCB3YyA9IENvbW1vblV0aWwud29yZENvdW50KG5leHRTdHIpO1xuICAgICAgICAgICAgICAgICAgICBpZiAod2MgPiAwKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICB3b3JkU3RyLnB1c2gobmV4dFN0cik7XG4gICAgICAgICAgICAgICAgICAgICAgICBlbXBoYXNpemVkVGV4dCA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgICAgICB3b3Jkc1NlZW4gKz0gd2M7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgcGFzc2VkID0gd29yZHNTZWVuID4gbnVtV29yZHM7XG4gICAgICAgICAgICAgICAgICAgIC8vIFNraXAgdGhpcyBub2RlIGJlY2F1c2UgaXQncyBlbXBoYXNpemVkXG4gICAgICAgICAgICAgICAgICAgIG53LmJFbmRUYWcgPSB0cnVlO1xuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIC8vIGlnbm9yZSB0aGUgZWxlbWVudCB3aGljaCBoYXMgYSByb2xlIGV4Y2VwdCAnZ2VuZXJpYycsICdwYXJhZ3JhcGgnIG9yICdzdHJvbmcnXG4gICAgICAgICAgICAgICAgICAgIC8vIGlnbm9yZSBhcHBsZXQgZWxlbWVudCB0aGF0IGlzIGRlcHJlY2F0ZWQgYW55d2F5XG4gICAgICAgICAgICAgICAgICAgIGxldCByb2xlID0gQXJpYVV0aWwuZ2V0UmVzb2x2ZWRSb2xlKG53Lm5vZGUgYXMgSFRNTEVsZW1lbnQpO1xuICAgICAgICAgICAgICAgICAgICBwYXNzZWQgPSAocm9sZSAhPT0gbnVsbCAmJiByb2xlICE9PSAnZ2VuZXJpYycgJiYgcm9sZSAhPT0gJ3BhcmFncmFwaCcgJiYgcm9sZSAhPT0gJ3N0cm9uZycpIHx8IG53TmFtZSA9PT0gXCJhcHBsZXRcIjtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgaWYgKHdvcmRzU2VlbiA9PSAwKSBwYXNzZWQgPSB0cnVlO1xuICAgICAgICAvL2lnbm9yZSBpZiB0aGUgc3RyaW5nIGVuZHMgd2l0aCDigJw64oCdICDigJws4oCdICDigJwt4oCdICDigJw74oCdIG9yIOKAnC7igJ0gXG4gICAgICAgIGlmICghcGFzc2VkKSBwYXNzZWQgPSAvWzosO1xcLVxcLl0kLy50ZXN0KHdvcmRTdHIuam9pbihcIiBcIikudHJpbSgpKTtcbiAgICAgICAgXG4gICAgICAgIGlmIChwYXNzZWQpIHtcbiAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgcmV0dXJuIFJ1bGVQb3RlbnRpYWwoXCJwb3RlbnRpYWxfaGVhZGluZ1wiLCBbd29yZFN0ci5qb2luKFwiIFwiKV0pO1xuICAgICAgICB9XG4gICAgfVxufSIsIi8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcbiAgICBDb3B5cmlnaHQ6OiAyMDIyLSBJQk0sIEluY1xuICAgIExpY2Vuc2VkIHVuZ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sZW1lbnRcbiAgICAgICAgaWYgKENvbW1vblV0aWwuaXNOb2RlRGlzYWJsZWQocnVsZUNvbnRleHQpKVxuICAgICAgICAgICAgcmV0dXJuIG51bGw7XG5cbiAgICAgICAgLy9za2lwIGVsZW1lbnRzXG4gICAgICAgIGlmIChDb21tb25VdGlsLmdldEFuY2VzdG9yKHJ1bGVDb250ZXh0LCBbXCJzdmdcIiwgXCJzY3JpcHRcIiwgXCJtZXRhXCJdKSlcbiAgICAgICAgICAgIHJldHVybiBudWxsO1xuXG4gICAgICAgIGxldCBkb2MgPSBydWxlQ29udGV4dC5vd25lckRvY3VtZW50O1xuICAgICAgICBpZiAoIWRvYykge1xuICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgIH1cbiAgICBcbiAgICAgICAgbGV0IHdpbiA9IGRvYy5kZWZhdWx0VmlldztcbiAgICAgICAgaWYgKCF3aW4pIHtcbiAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICB9XG5cbiAgICAgICAgLy8gRW5zdXJlIHRoYXQgdGhpcyBlbGVtZW50IGhhcyBjaGlsZHJlbiB3aXRoIGFjdHVhbCB0ZXh0LlxuICAgICAgICBsZXQgY2hpbGRTdHIgPSBDb21tb25VdGlsLmdldE5vZGVUZXh0KHJ1bGVDb250ZXh0KTtcbiAgICAgICAgXG4gICAgICAgIGlmICghQ29tbW9uVXRpbC5pc1NoYWRvd0hvc3RFbGVtZW50KHJ1bGVDb250ZXh0KSB8fCAoQ29tbW9uVXRpbC5pc1NoYWRvd0hvc3RFbGVtZW50KHJ1bGVDb250ZXh0KSAmJiBDb21tb25VdGlsLmdldE5vZGVUZXh0KHJ1bGVDb250ZXh0LnNoYWRvd1Jvb3QpID09PSAnJykpIHtcbiAgICAgICAgICAgIGlmIChjaGlsZFN0ci50cmltKCkubGVuZ3RoID09IDAgKVxuICAgICAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICAgICAgXG4gICAgICAgICAgICAvLyBpZ25vcm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gIGlmIChub2RlLm5vZGVUeXBlPT0zKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAvL2lmIG11bHRpcGxlIHRleHRzIGV4aXN0LCBvbmx5IG5lZWQgdG8gY2hlY2sgb25lIFxuICAgICAgICAgICAgICAgICAgICAgICAgZWxlbSA9IChub2RlIGFzIFRleHQpLmFzc2lnbmVkU2xvdDtcbiAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICB9ICAgXG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgaWYgKGVsZW0gPT09IG51bGwpIHJldHVybjtcbiAgICAgICAgfVxuICAgICAgICBcbiAgICAgICAgbGV0IHN0eWxlID0gd2luLmdldENvbXB1dGVkU3R5bGUoZWxlbSk7XG4gICAgICAgIFxuICAgICAgICAvLyBKQ0ggY2xpcCBJTkZPOlxuICAgICAgICAvLyAgICAgIFRoZSBjbGlwIHByb3BlcnR5IGxldHMgeW91IHNwZWNpZnkgYSByZWN0YW5nbGUgdG8gY2xpcCBhbiBhYnNvbHV0ZWx5IHBvc2l0aW9uZWQgZWxlbWVudC4gXG4gICAgICAgIC8vICAgICAgVGhlIHJlY3RhbmdsZSBzcGVjaWZpZWQgYXMgZm91ciBjb29yZGluYXRlcywgYWxsIGZyb20gdGhlIHRvcC1sZWZ0IGNvcm5lciBvZiB0aGUgZWxlbWVudCB0byBiZSBjbGlwcGVkLlxuICAgICAgICAvLyAgICAgIFByb3BlcnR5IHZhbHVlczpcbiAgICAgICAgLy8gICAgICAgICAgbm9uZSAgICAgICAgVGhpcyBpcyBkZWZhdWx0LiBObyBjbGlwcGluZyBpcyBkb25lXG4gICAgICAgIC8vICAgICAgICAgIGF1dG8gICAgICAgIE5vIGNsaXBwaW5nIHdpbGwgYmUgZG9uZVxuICAgICAgICAvLyAgICAgICAgICBzaGFwZSAgICAgICBUaGUgb25seSB2YWxpZCB2YWx1ZSBpczogcmVjdCAodG9wLCByaWdodCwgYm90dG9tLCBsZWZ0KVxuICAgICAgICAvLyAgICAgICAgICAgICAgICAgICAgICBlLmcuLCBjbGlwOiByZWN0KDEwcHgsIDIwcHgsIDMwcHgsIDQwcHgpO1xuICAgICAgICAvLyAgICAgICAgICAgICAgICAgICAgICBOb3RlOiB0aGUgZm91ciB2YWx1ZXMgYXJlIGluIHRoZSBzYW1lIG9yZGVyIGFzIG1hcmdpbi9wYWRkaW5nXG4gICAgICAgIC8vICAgICAgICAgICAgICAgICAgICAgIFRoZSByZWN0IHZhbHVlcyBhcmUgcG9zaXRpdmUgcGl4ZWwgdmFsdWVzLCBlLmcuLCAxMHB4LCBldGMuXG4gICAgICAgIC8vICAgICAgICAgIG1hcmdpbi1ib3ggIFVzZXMgdGhlIG1hcmdpbiBib3ggYXMgdGhlIHJlZmVyZW5jZSBib3hcbiAgICAgICAgLy8gICAgICAgICAgYm9yZGVyLWJveCAgVXNlcyB0aGUgYm9yZGVyIGJveCBhcyB0aGUgcmVmZXJlbmNlIGJveFxuICAgICAgICAvLyAgICAgICAgICBwYWRkaW5nLWJveCBVc2VzIHRoZSBwYWRkaW5nIGJveCBhcyB0aGUgcmVmZXJlbmNlIGJveFxuICAgICAgICAvLyAgICAgICAgICBjb250ZW50LWJveFxuICAgICAgICAvLyAgICAgICAgICBmaWxsLWJveFxuICAgICAgICAvLyAgICAgICAgICBzdHJva2UtYm94XG4gICAgICAgIC8vICAgICAgTk9URTogdGhlIENTUyBjbGlwIHByb3BlcnR5IGlzIGRlcHJlY2F0ZWRcbiAgICAgICAgLy8gICAgICBBbHNvOiBjbGlwIG9ubHkgd29ya3MgaWYgdGhlIGVsZW1lbnQgaXMgYWJzb2x1dGVseSBwb3NpdGlvbmVkIGFuZCBjYW4gb25seSBkbyByZWN0YW5nbGVzXG4gICAgICAgIC8vIGNoZWNrIGlmIGVsZW1lbnQgdmlzaWJsZVxuICAgICAgICBsZXQgdmlzaWJsZSA9IHRydWU7XG4gICAgICAgIGlmIChzdH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libGUgPT09IGZhbHNlKSB7XG4gICAgICAgICAgICAvLyBjb25zb2xlLmxvZyhcIkRPIE5PVCBDSEVDSyBDT0xPUiBDT05UUkFTVFwiKTtcbiAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICB9XG5cblxuICAgICAgICBsZXQgY2xpcEhlaWdodCA9IC0xO1xuICAgICAgICBpZiAoc3R5bGUuY2xpcCAhPT0gXCJhdXRvXCIpIHtcbiAgICAgICAgICAgIGxldCBjbGlwU3RyaW5nID0gc3R5bGUuY2xpcC50b1N0cmluZygpO1xuICAgICAgICAgICAgaWYgKGNsaXBTdHJpbmcuaW5jbHVkZXMoXCJyZWN0XCIpKSB7XG4gICAgICAgICAgICAgICAgdmFyIHJlQnJhY2tldHMgPSAvXFwoKC4qKVxcKS9nO1xuICAgICAgICAgICAgICAgIHZhciBsaXN0T2ZUZXh0ID0gW107XG4gICAgICAgICAgICAgICAgdmFyIGZvdW5kID0gcmVCcmFja2V0cy5leGVjKGNsaXBTdHJpbmcpO1xuICAgICAgICAgICAgICAgIHZhciBmb3VuZEFyciA9IGZvdW5kWzFdLnNwbGl0KCcsICcpO1xuICAgICAgICAgICAgICAgIGZvciAobGV0IGkgPSAwOyBpIDwgZm91bmRBcnIubGVuZ3RoOyBpKyspIHtcbiAgICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCJmb3VuZEFycltcIixpLFwiXSA9IFwiLGZvdW5kQXJyW2ldKTtcbiAgICAgICAgICAgICAgICAgICAgbGlzdE9mVGV4dC5wdXNoKGZvdW5kQXJyW2ldKTtcbiAgICAgICAgICAgICAgICB9O1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCJsaXN0T2ZUZXh0ID0gXCIsbGlzdE9mVGV4dCk7XG4gICAgICAgICAgICBjbGlwSGVpZ2h0ID0gcGFyc2VJbnQobGlzdE9mVGV4dFswXS5yZXBsYWNlKC9weC9nLCAnJykpIC0gcGFyc2VJbnQobGl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KSB7XG4gICAgICAgIC8vICAgICBjb25zb2xlLmxvZyhcInN0eWxlLmNsaXBQYXRoID0gXCIsc3R5bGUuY2xpcFBhdGgpO1xuICAgICAgICAvLyAgICAgY29uc29sZS5sb2coXCJzdHlsZS5jbGlwUGF0aC50b1N0cmluZyA9IFwiLHN0eWxlLmNsaXBQYXRoLnRvU3RyaW5nKCkpO1xuICAgICAgICAvLyAgICAgbGV0IGNsaXBTdHJpbmcgPSBzdHlsZS5jbGlwUGF0aC50b1N0cmluZygpO1xuICAgICAgICAvLyAgICAgaWYgKGNsaXBTdHJpbmcuaW5jbHVkZXMoXCJpbnNldFwiKSkge1xuICAgICAgICAvLyAgICAgICAgIHZhciByZUJyYWNrZXRzID0gL1xcKCguKilcXCkvZztcbiAgICAgICAgLy8gICAgICAgdmFyIGxpc3RPZlRleHQgPSBbXTtcbiAgICAgICAgLy8gICAgICAgdmFyIGZvdW5kID0gcmVCcmFja2V0cy5leGVjKGNsaXBTdHJpbmcpO1xuICAgICAgICAvLyAgICAgICB2YXIgZm91bmRBcnIgPSBmb3VuZFsxXS5zcGxpdCgnICcpO1xuICAgICAgICAvLyAgICAgICBmb3IgKGxldCBpPTA7IGk8Zm91bmRBcnIubGVuZ3RoOyBpKyspIHtcbiAgICAgICAgLy8gICAgICAgICBjb25zb2xlLmxvZyhcImZvdW5kQXJyW1wiLGksXCJdID0gXCIsZm91bmRBcnJbaV0pO1xuICAgICAgICAvLyAgICAgICAgIGxpc3RPZlRleHQucHVzaChmb3VuZEFycltpXSk7XG4gICAgICAgIC8vICAgICAgIH07XG4gICAgICAgIC8vICAgICB9XG4gICAgICAgIC8vICAgICBjb25zb2xlLmxvZyhcImxpc3RPZlRleHQgPSBcIixsaXN0T2ZUZXh0KTtcbiAgICAgICAgLy8gY2xpcFBhdGhIZWlnaHQgPSBwYXJzZUludChsaXN0T2ZUZXh0WzBdLnJlcGxhY2UoL3B4L2csICcnKSkgLSBwYXJzZUludChsaXN0T2ZUZXh0WzJdLn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zZWQgaW4gc2NyaXB0c1xuICAgICAgICAgICAgICAgIGlmICgoZGJsUXVvdGVzICE9PSBudWxsIHx8IHNuZ2xRdW90ZXMgIT09IG51bGwpICYmXG4gICAgICAgICAgICAgICAgICAgIENvbW1vblV0aWwuZ2V0QW5jZXN0b3Iod2Fsa05vZGUsIGlnbm9yZWQpID09PSBudWxsKSB7XG4gICAgICAgICAgICAgICAgICAgIGlmIChkYmxRdW90ZXMgIT0gbnVsbCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgZm9yIChsZXQgaSA9IDA7IHBhc3NlZCAmJiBpIDwgZGJsUXVvdGVzLmxlbmd0aDsgKytpKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHBhc3NlZCA9IENvbW1vblV0aWwud29yZENvdW50KGRibFF1b3Rlc1tpXSkgPCBtaW5Xb3JkcztcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICBpZiAoc25nbFF1b3RlcyAhPSBudWxsKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBmb3IgKGxldCBpID0gMDsgcGFzc2VkICYmIGkgPCBzbmdsUXVvdGVzLmxlbmd0aDsgKytpKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHBhc3NlZCA9IENvbW1vblV0aWwud29yZENvdW50KHNuZ2xRdW90ZXNbaV0pIDwgbWluV29yZHM7XG4gICAgICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgICAgICAvLyBSZW1vdmUgYW55IGxpbmVmZWVkIGluc2lkZSB0aGUgcXVvdGVcbiAgICAgICAgICAgICAgICAgICAgLy8gdmlvbGF0ZWR0ZXh0ID0gdHh0VmFsLnJlcGxhY2UobmV3IFJlZ0V4cChcIlxcXFxyP1xcXFxufFxcXFxyXCIsXCJnXCIpLFwiXCIpO1xuICAgICAgICAgICAgICAgICAgICBpZiAoZGJsUXVvdGVzID09PSBudWxsKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICB2aW9sYXRlZHR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5ndGggPT0gMClcbiAgICAgICAgICAgIHJldHVybiBudWxsO1xuXG4gICAgICAgIC8vZm9udCBzaXplIGFsd2F5cyByZXNvbHZlZCB0byAncHgnICAgIFxuICAgICAgICBjb25zdCBmb250X3NpemVfc3R5bGUgPSBnZXRDb21wdXRlZFN0eWxlKHJ1bGVDb250ZXh0KS5nZXRQcm9wZXJ0eVZhbHVlKCdmb250LXNpemUnKTtcbiAgICAgICAgbGV0IGZvbnRfc2l6ZSA9IHBhcnNlRmxvYXQoZm9udF9zaXplX3N0eWxlKTsgXG4gICAgICAgIFxuICAgICAgICBjb25zdCBzdHlsZXMgPSBDU1NVdGlsLmdldERlZmluZWRTdHlsZXMocnVsZUNvbnRleHQpO1xuICAgICAgICBpZiAoT2JqZWN0LmtleXMoc3R5bGVzKS5sZW5ndGggPT09IDApXG4gICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgXG4gICAgICAgIC8vbm90ZSB0aGF0IENTUyB1bml0IGlzIHJlcXVpcmVkIGZvciBub24temVybyB2YWx1ZXMsIG90aGVyd2lzZSBpdCdzIGlnbm9yZWRcbiAgICAgICAgbGV0IHJldCA9IFtdOyBcbiAgICAgICAgLy8gbWF0Y2hlZCBzdHJpbmc6IG9yaWdpbmFsIHN0eWxlLCB0aGUgc3R5bGUgdmFsdWUgYW5kIHVuaXRcbiAgICAgICAgY29uc3QgcmVnZXggPSAvKC0/W1xcZC5dKykoW2EteiVdKikvO1xuICAgICAgICBsZXQgd29yZF9zdHlsZSA9IHN0eWxlc1snd29yZC1zcGFjaW5nJ107XG4gICAgICAgIGlmICh3b3JkX3N0eWxlKSB7XG4gICAgICAgICAgICBpZiAod29yZF9zdHlsZS5zdGFydHNXaXRoKCdpbmhlcml0JykgfHwgd29yZF9zdHlsZS5zdGFydHNXaXRoKCd1bnNldCcpKSB7XG4gICAgICAgICAgICAgICAgLy9nZXQgY2xvc2V0IGFuY2VzdG9yJ3Mgd29yZC1zcGFjaW5nXG4gICAgICAgICAgICAgICAgbGV0IGFuY2VzdG9yID0gQ1NTVXRpbC5nZXRBbmNlc3RvcldpdGhTdHlsZXMocnVsZUNvbnRleHQucGFyZW50RWxlbWVudCwge1wid29yZC1zcGFjaW5nXCI6IFtcIipcIl19LCBbJ2luaGVyaXQnLCAndW5zZXQnXSk7XG4gICAgICAgICAgICAgICAgaWYgKGFuY2VzdG9yICE9PSBudWxsKSB7XG4gICAgICAgICAgICAgICAgICAgIHdvcmRfc3R5bGUgPSBDU1NVdGlsLmdldERlZmluZWRTdHlsZXMoYW5jZXN0b3IpWyd3b3JkLXNwYWNpbmcnXTsgIFxuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAod29yZF9zdHlsZS5zdGFydHNXaXRoKCd1bnNldCcpKSB7XG4gICAgICAgICAgICAgICAgICAgIHdvcmRfc3R5bGUgPSBcImluaXRpYWxcIjtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9ICBcbiAgICAgICAgICAgICAgIFxuICAgICAgICAgICAgaWYgKHJ1bGVDb250ZXh0LnN0eWxlLmdldFByb3BlcnR5UHJpb3JpdHkoXCJ3b3JkLXNwYWNpbmdcIikgPT09ICdpbXBvcnRhbnQnKSB7XG4gICAgICAgICAgICAgICAgd29yZF9zdHlsZSA9IHdvcmRfc3R5bGUuc3Vic3RyaW5nKDAsIHdvcmRfc3R5bGUubGVuZ3RoIC0gXCIhaW1wb3J0YW50XCIubGVuZ3RoIC0xKTtcbiAgICAgICAgICAgICAgICAvLyBjb21wdXRlZCBzcGFjZSBpcyAwIGZvciAnbm9ybWFsJyBvciAnaW5pdGlhbCcuXG4gICAgICAgICAgICAgICAgaWYgKHdvcmRfc3R5bGUgPT09ICdpbml0aWFsJyB8fCB3b3JkX3N0eWxlID09PSAnbm9ybWFsJylcbiAgICAgICAgICAgICAgICAgICAgcmV0LnB1c2goUnVsZUZhaWwoXCJmYWlsX3dvcmRfc3BhY2luZ19zdHlsZVwiKSk7XG4gICAgICAgICAgICAgICAgZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IHdvcmRTcGFjaW5nID0gcGFyc2VGbG9hdCh3b3JkX3N0eWxlKTtcbiAgICAgICAgICAgICAgICAgICAgaWYgKCFpc05hTih3b3JkU3BhY2luZykpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCBwYXJzZWQgPSB3b3JkX3N0eWxlLnRyaW0oKS5tYXRjaChyZWdleCk7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAocGFyc2VkWzJdICE9PSAnJyAmJiBwYXJzZWRbMV0gIT09IDApIHsgLy9ubyB6ZXJvIHZhbHVlIHdpdGhvdXQgdW5pdCB3aGljaCBpcyBjb25zaWRlcmVkIGFzIGVycm9yLCBzbyBpbXBsaWNhYmxlXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHBpeGVscyA9IENTU1V0aWwuY29udmVydFZhbHVlMlBpeGVscyhwYXJzZWRbMl0sIHBhcnNlZFsxXSwgcnVsZUNvbnRleHQpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChwaXhlbHMgIT09IG51bGwgJiYgcGl4ZWxzL2ZvbnRfc2l6ZSA8IDAuMTYpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldC5wdXNoKFJ1bGVGYWlsKFwiZmFpbF93b3JkX3NwYWNpbmdfc3R5bGVcIikpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVsc2VcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0LnB1c2goUnVsZVBhc3MoXCJwYXNzXCIpKTsgXG4gICAgICAgICAgICAgICAgICAgICAgICB9ICBcbiAgICAgICAgICAgICAgICAgICAgfSBlbHNlXG4gICAgICAgICAgICAgICAgICAgICAgICByZXQucHVzaChSdWxlUGFzcyhcInBhc3NcIikpOyAgICAgICAgIFxuICAgICAgICAgICAgICAgIH0gXG4gICAgICAgICAgICB9IGVsc2VcbiAgICAgICAgICAgICAgICByZXQucH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PSBsZXR0ZXJfc3R5bGUuc3Vic3RyaW5nKDAsIGxldHRlcl9zdHlsZS5sZW5ndGggLSBcIiFpbXBvcnRhbnRcIi5sZW5ndGggLTEpO1xuICAgICAgICAgICAgICAgIC8vIGNvbXB1dGVkIHNwYWNlIGlzIDAgZm9yICdub3JtYWwnIG9yICdpbml0aWFsJy5cbiAgICAgICAgICAgICAgICBpZiAobGV0dGVyX3N0eWxlID09PSAnaW5pdGlhbCcgfHwgbGV0dGVyX3N0eWxlID09PSAnbm9ybWFsJylcbiAgICAgICAgICAgICAgICAgICAgcmV0LnB1c2goUnVsZUZhaWwoXCJmYWlsX2xldHRlcl9zcGFjaW5nX3N0eWxlXCIpKTtcbiAgICAgICAgICAgICAgICBlbHNlIHsgICAgXG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IGxldHRlclNwYWNpbmcgPSBwYXJzZUZsb2F0KGxldHRlcl9zdHlsZSk7XG4gICAgICAgICAgICAgICAgICAgIGlmICghaXNOYU4obGV0dGVyU3BhY2luZykpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCBwYXJzZWQgPSBsZXR0ZXJfc3R5bGUudHJpbSgpLm1hdGNoKHJlZ2V4KTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChwYXJzZWRbMl0gIT09ICcnICYmIHBhcnNlZFsxXSAhPT0gMCkgeyAvL25vIHplcm8gdmFsdWUgd2l0aG91dCB1bml0IHdoaWNoIGlzIGNvbnNpZGVyZWQgYXMgZXJyb3IsIHNvIGltcGxpY2FibGVcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgcGl4ZWxzID0gQ1NTVXRpbC5jb252ZXJ0VmFsdWUyUGl4ZWxzKHBhcnNlZFsyXSwgcGFyc2VkWzFdLCBydWxlQ29udGV4dCk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHBpeGVscyAhPT0gbnVsbCAmJiBwaXhlbHMvZm9udF9zaXplIDwgMC4xMilcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0LnB1c2goUnVsZUZhaWwoXCJmYWlsX2xldHRlcl9zcGFjaW5nX3N0eWxlXCIpKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbHNlXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldC5wdXNoKFJ1bGVQYXNzKFwicGFzc1wiKSk7XG4gICAgICAgICAgICAgICAgICAgICAgICB9ICAgIFxuICAgICAgICAgICAgICAgICAgICB9IGVsc2UgXG4gICAgICAgICAgICAgICAgICAgICAgICByZXQucHVzaChSdWxlUGFzcyhcInBhc3NcIikpO1xuICAgICAgICAgICAgICAgIH0gICAgICAgIFxuICAgICAgICAgICAgfSBlbHNlXG4gICAgICAgICAgICAgICAgcmV0LnB1c2goUnVsZVBhc3MoXCJwYXNzXCIpKTtcbiAgICAgICAgfSBcblxuICAgICAgICBsZXQgbGluZV9zdHlsZSA9IHN0eWxlc1snbGluZS1oZWlnaHQnXTtcbiAgICAgICAgbGV0IG92ZXJmbG93ID0ge1wib3ZlcmZsb3dcIjpbJ2F1dG8nLCAnc2Nyb2xsJ10sIFwib3ZlcmZsb3cteFwiOlsnYXV0bycsICdzY3JvbGwnXSwgXCJvdmVyZmxvdy15XCI6WydhdXRvJywgJ3Njcm9sbCddfTtcbiAgICAgICAgaWYgKGxpbmVfc3R5bGUgJiYgQ1NTVXRpbC5nZXRBbmNlc3RvcldpdGhTdHlsZXMocnVsZUNvbnRleHQsIG92ZXJmbG93KSA9PT0gbnVsbCkge1xuICAgICAgICAgICAgaWYgKGxpbmVfc3R5bGUuc3RhcnRzV2l0aCgnaW5oZXJpdCcpIHx8IGxpbmVfc3R5bGUuc3RhcnRzV2l0aCgndW5zZXQnKSkge1xuICAgICAgICAgICAgICAgIC8vZ2V0IGNsb3NldCBhbmNlc3RvcidzIHdvcmQtc3BhY2luZ1xuICAgICAgICAgICAgICAgIGxldCBhbmNlc3RvciA9IENTU1V0aWwuZ2V0QW5jZXN0b3JXaXRoU3R5bGVzKHJ1bGVDb250ZXh0LnBhcmVudEVsZW1lbnQsIHtcImxpbmUtaGVpZ2h0XCI6IFtcIipcIl19LCBbJ2luaGVyaXQnLCAndW5zZXQnXSk7XG4gICAgICAgICAgICAgICAgaWYgKGFuY2VzdG9yICE9PSBudWxsKSB7XG4gICAgICAgICAgICAgICAgICAgIGxpbmVfc3R5bGUgPSBDU1NVdGlsLmdldERlZmluZWRTdHlsZXMoYW5jZXN0b3IpWydsaW5lLWhlaWdodCddOyAgXG4gICAgICAgICAgICAgICAgfSBlbHNlIGlmIChsaW5lX3N0eWxlLnN0YXJ0c1dpdGgoJ3Vuc2V0JykpIHtcbiAgICAgICAgICAgICAgICAgICAgbGluZV9zdHlsZSA9IFwiaW5pdGlhbFwiO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIFxuICAgICAgICAgICAgaWYgKHJ1bGVDb250ZXh0LnN0eWxlLmdldFByb3BlcnR5UHJpb3JpdHkoXCJsaW5lLWhlaWdodFwiKSA9PT0gJ2ltcG9ydGFudCcpIHtcbiAgICAgICAgICAgICAgICBsaW5lX3N0eWxlID0gbGluZV9zdHlsZS5zdWJzdHJpbmcoMCwgbGluZV9zdHlsZS5sZW5ndGggLSBcIiFpbXBvcnRhbnRcIi5sZW5ndGggLTEpO1xuICAgICAgICAgICAgICAgIFxuICAgICAgICAgICAgICAgIC8vIGNvbXB1dGVkIHNwYWNlIGlzIDAgZm9yICdub3JtYWwnIG9yICdpbml0aWFsJy5cbiAgICAgICAgICAgICAgICBpZiAobGluZV9zdHlsZSA9PT0gJ2luaXRpYWwnIHx8IGxpbmVfc3R5bGUgPT09ICdub3JtYWwnKVxuICAgICAgICAgICAgICAgICAgICByZXQucHVzaChSdWxlRmFpbChcImZhaWxfbGluZV9oZWlnaHRfc3R5bGVcIikpO1xuICAgICAgICAgICAgICAgIGVsc2UgeyAgXG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IGxpbmVIZWlnaHQgPSBwYXJzZUZsb2F0KGxpbmVfc3R5bGUpO1xuICAgICAgICAgICAgICAgICAgICBpZiAoIWlzTmFOKGxpbmVIZWlnaHQpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBsZXQgcGFyc2VkID0gbGluZV9zdHlsZS50cmltKCkubWF0Y2gocmVnZXgpO1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHBhcnNlZFsyXSA9PT0gJycpIHsgLy9saW5lLWhlaWdodCBhcmUgYWxsb3dlZCB1bml0bGVzcyB3aGVuIHRoZSB2YWxpZSBpcyBtdWx0aXBsZSAob3IgZnJhY3Rpb24pIG9mIHRoZSBmb250IHNpemVcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAocGFyc2VkWzFdIDwgMS41KVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXQucHVzaChSdWxlRmFpbChcImZhaWxfbGluZV9oZWlnaHRfc3R5bGVcIikpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVsc2VcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0LnB1c2goUnVsZVBhc3MoXCJwYXNzXCIpKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHBpeGVscyA9IENTU1V0aWwuY29udmVydFZhbHVlMlBpeGVscyhwYXJzZWRbMl0sIHBhcnNlZFsxXSwgcnVsZUNvbnRleHQpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChwaXhlbHMgIT09IG51bGwgJiYgcGl4ZWxzL2ZvbnRfc2l6ZSA8IDEuNSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0LnB1c2goUnVsZUZhaWwoXCJmYWlsX2xpbmVfaGVpZ2h0X3N0eWxlXCIpKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbHNlXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldC5wdXNoKFJ1bGVQYXNzKFwicGFzc1wiKSk7XG4gICAgICAgICAgICAgICAgICAgICAgICB9ICAgIFxuICAgICAgICAgICAgICAgICAgICB9IGVsc2UgXG4gICAgICAgICAgICAgICAgICAgICAgICByZXQucHVzaChSdWxlUGFzcyhcInBhc3NcIikpO1xuICAgICAgICAgICAgICAgICAgICB9ICAgIFxuICAgICAgICAgICAgfSBlbHNlXG4gICAgICAgICAgICAgICAgcmV0LnB1c2goUnVsZVBhc3MoXCJwYXNzXCIpKTsgXG4gICAgICAgIH0gXG4gICAgICAgICBcbiAgICAgICAgaWYgKHJldC5sZW5ndGggPiAwKSBcbiAgICAgICAgICAgIHJldHVybiByZXQ7XG4gICAgICAgXG4gICAgICAgIHJldHVybiBudWxsOyAgLy9pbXBsaWNhYmxlIG9yIGlnbm9yZVxuICAgICAgICBcbiAgICB9ICAgIFxufVxuIiwiLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuICBDb3B5cmlnaHQ6OiAyMDIyLSBJQk0sIEluY1xuICBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICBodHRwOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAgVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBka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9ubHkgb24gc2libGluZ3Mgc28gaXQgd291bGQgbm90IGdldCB0ZXh0IG5vZGVzIGZyb20gb3RoZXIgc2libGluZ3MgYXQgYWxsLlxuICAgICAgICAgICAgLy8gSW4gdGhlIGNhc2UgaW4gdGhlIGZ1dHVyZSBzb21ldGhpbmcgY2huZ2VzLCBqdXN0IG5lZWQgdG8gYWRkICYmICFSUFRVdGlsLnNob3VsZE5vZGVCZVNraXBwZWRIaWRkZW4od2Fsa05vZGUpIHRvIHRoZSBiZWxvd1xuICAgICAgICAgICAgLy8gaWYuXG4gICAgICAgICAgICBpZiAod2Fsa05vZGUubm9kZU5hbWUgPT0gXCIjdGV4dFwiKSB7XG4gICAgICAgICAgICAgICAgbGV0IHR4dFZhbCA9IHdhbGtOb2RlLm5vZGVWYWx1ZTtcbiAgICAgICAgICAgICAgICBwYXNzZWQgPSAhKC8oXnxcXHMpW2EtekEtWl0gW2EtekEtWl0gW2EtekEtWl0oJHxcXHMpLy50ZXN0KHR4dFZhbCkpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgd2Fsa05vZGUgPSB3YWxrTm9kZS5uZXh0U2libGluZztcbiAgICAgICAgfVxuXG4gICAgICAgIGlmIChwYXNzZWQpIHJldHVybiBSdWxlUGFzcyhcInBhc3NcIik7XG4gICAgICAgIHJldHVybiBSdWxlUG90ZW50aWFsKFwicG90ZW50aWFsX3RleHRcIik7XG5cbiAgICB9XG59XG4iLCIvKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqXG4gIENvcHlyaWdodDo6IDIwMjItIElCTSwgSW5jXG4gIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aG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G4gICAgICAgIGlmIChWaXNVdGlsLmlzTm9kZUhpZGRlbkZyb21BVChydWxlQ29udGV4dCkgfHwgQ29tbW9uVXRpbC5pc05vZGVEaXNhYmxlZChydWxlQ29udGV4dCkpXG4gICAgICAgICAgICByZXR1cm47XG4gICAgICAgIFxuICAgICAgICAvL3NraXAgdGhlIGNoZWNrIGlmIHRoZSBlbGVtZW50IHNob3VsZCBiZSBhIHByZXNlbnRhdGlvbmFsIGNoaWxkIG9mIGFuIGVsZW1lbnRcbiAgICAgICAgaWYgKEFyaWFVdGlsLnNob3VsZEJlUHJlc2VudGF0aW9uYWxDaGlsZChydWxlQ29udGV4dCkpXG4gICAgICAgICAgICByZXR1cm47XG4gICAgICAgIFxuICAgICAgICBsZXQgcm9sZSA9IEFSSUFNYXBwZXIubm9kZVRvUm9sZShydWxlQ29udGV4dCk7XG4gICAgICAgIGxldCBjb3VudCA9IDA7XG4gICAgICAgIGlmIChDb21tb25VdGlsLmlzVGFiYmFibGUocnVsZUNvbnRleHQpKSB7XG4gICAgICAgICAgICArK2NvdW50O1xuICAgICAgICB9XG4gICAgICAgIC8vIElmIG5vZGUgaGFzIGNoaWxkcmVuLCBsb29rIGZvciB0YWIgc3RvcHMgaW4gdGhlIGNoaWxkcmVuXG4gICAgICAgIC8vc2tpcCB0aGUgY291bnQgaWYgdGhlIGVsZW1lbnQgcmVxdWlyZXMgcHJlc2VudGF0aW9uYWwgY2hpbGRyZW4gb25seVxuICAgICAgICBsZXQgbmFtZSA9IFtdO1xuICAgICAgICBpZiAoY291bnQgPCAyICYmICFBcmlhVXRpbC5jb250YWluc1ByZXNlbnRhdGlvbmFsQ2hpbGRyZW5Pbmx5KHJ1bGVDb250ZXh0KSAmJiBydWxlQ29udGV4dC5maXJzdENoaWxkKSB7XG4gICAgICAgICAgICAvL2xldCBudyA9IG5ldyBOb2RlV2Fsa2VyKHJ1bGVDb250ZXh0KTtcbiAgICAgICAgICAgIGxldCBudyA9IG5ldyBET01XYWxrZXIocnVsZUNvbnRleHQpO1xuICAgICAgICAgICAgd2hpbGUgKGNvdW50IDwgMiAmJiBudy5uZXh0Tm9kZSgpICYmIG53Lm5vZGUgIT0gcnVsZUNvbnRleHQpIHtcbiAgICAgICAgICAgICAgICBpZiAobncubm9kZS5ub2RlVHlwZSA9PSAxICYmICFudy5iRW5kVGFnICYmIENvbW1vblV0aWwuaXNUYWJiYWJsZShudy5ub2RlKSkge1xuICAgICAgICAgICAgICAgICAgICAvLyBSYWRpbyBpbnB1dHMgd2l0aCB0aGUgc2FtZSBuYW1lIG5hdGl2ZWx5IGFyZSBvbmx5IG9uZSB0YWIgc3RvcFxuICAgICAgICAgICAgICAgICAgICBpZiAobncubm9kZS5ub2RlTmFtZS50b0xvd2VyQ2FzZSgpID09PSAnaW5wdXQnICYmIChudy5ub2RlIGFzIEVsZW1lbnQpLmdldEF0dHJpYnV0ZShcInR5cGVcIikgPT09ICdyYWRpbycpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCBjdXJOYW1lID0gKG53Lm5vZGUgYXMgRWxlbWVudCkuZ2V0QXR0cmlidXRlKFwibmFtZVwiKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChuYW1lLmluY2x1ZGVzKGN1ck5hbWUpKSBcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb250aW51ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGVsc2VcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBuYW1lLnB1c2goY3VyTmFtZSk7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgKytjb3VudDtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgbGV0IHBhc3NlZCA9IGNvdW50IDwgMjtcbiAgICAgICAgaWYgKCFwYXNzZWQpXG4gICAgICAgICAgICBDYWNoZVV0aWwuc2V0Q2FjaGUocnVsZUNvbnRleHQsIFwid2lkZ2V0X3RhYmJ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gICAgICAgICAgIC8vIEdldCBvbmx5IHRoZSBub24taGlkZGVuIGxhYmVscyBmb3IgZWxlbWVudFxuICAgICAgICAgICAgY29uc3QgbGFiZWwgPSBDb21tb25VdGlsLmdldEZvcm1GaWVsZExhYmVsKGVsZW0pO1xuICAgICAgICAgICAgaWYgKGxhYmVsICYmIGxhYmVsLnRyaW0oKSAhPT0gJycpXG4gICAgICAgICAgICAgICAgcmV0dXJuIHtcIm5hbWVcIjpDb21tb25VdGlsLnRydW5jYXRlVGV4dChsYWJlbCksIFwibmFtZUZyb21cIjogXCJsYWJlbFwifTtcbiAgICAgICAgfVxuXG4gICAgICAgIC8vIGlucHV0IHR5cGVzOiBidXR0b24sIHJlc2V0LCBzdWJtaXQsIGltYWdlXG4gICAgICAgIGlmIChub2RlTmFtZSA9PT0gXCJpbnB1dFwiICYmIGVsZW0uaGFzQXR0cmlidXRlKFwidHlwZVwiKSkgeyBcbiAgICAgICAgICAgIGlmIChDb21tb25VdGlsLmZvcm1fYnV0dG9uX3R5cGVzLmluY2x1ZGVzKGVsZW0uZ2V0QXR0cmlidXRlKFwidHlwZVwiKSkpIHtcbiAgICAgICAgICAgICAgICAvLyBpbnB1dCB0eXBlczogYnV0dG9uLCByZXNldCwgc3VibWl0XG4gICAgICAgICAgICAgICAgLy8gR2V0IHRoZSBcInZhbHVlXCIgYXR0cmlidXRlIGZvciB0aGUgZWxlbWVudFxuICAgICAgICAgICAgICAgIGNvbnN0IHZhbHVlID0gQ29tbW9uVXRpbC5nZXRFbGVtZW50QXR0cmlidXRlKGVsZW0sIFwidmFsdWVcIik7XG4gICAgICAgICAgICAgICAgaWYgKHZhbHVlICYmIHZhbHVlLnRyaW0oKSAhPT0gJycpXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiB7XCJuYW1lXCI6Q29tbW9uVXRpbC50cnVuY2F0ZVRleHQodmFsdWUpLCBcIm5hbWVGcm9tXCI6IFwidmFsdWVcIn07XG5cbiAgICAgICAgICAgICAgICAvLyBp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0gXCJvdXRwdXRcIikge1xuICAgICAgICAgICAgLy8gaWYgdGhlIGFzc29jaWF0ZWQgbGFiZWwgZWxlbWVudCBleGlzdHMsIHVzZSBjb25jYXRlbmF0ZWQgYWNjZXNzaWJsZSBuYW1lKHMpIGZyb20gbGFiZWxsZWQgZWxlbWVudHMuXG4gICAgICAgICAgICBpZiAoZWxlbS5oYXNBdHRyaWJ1dGUoXCJmb3JcIikpIHtcbiAgICAgICAgICAgICAgICBsZXQgbGFiZWxJRHMgPSBlbGVtLmdldEF0dHJpYnV0ZShcImZvclwiKS50cmltKCkuc3BsaXQoXCIgXCIpO1xuICAgICAgICAgICAgICAgIGlmIChsYWJlbElEcyAmJiBsYWJlbElEcy5sZW5ndGggPiAwKSB7XG4gICAgICAgICAgICAgICAgICAgIGxldCBsYWJlbCA9IFwiXCI7XG4gICAgICAgICAgICAgICAgICAgIGZvciAobGV0IGogPSAwOyBqIDwgbGFiZWxJRHMubGVuZ3RoOyBqKyspIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCBsYWJlbE5vZGUgPSBlbGVtLm93bmVyRG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQobGFiZWxJRHNbal0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGxhYmVsTm9kZSAmJiAhRE9NVXRpbC5zYW1lTm9kZShsYWJlbE5vZGUsIGVsZW0pICYmICFWaXNVdGlsLmlzTm9kZUhpZGRlbkZyb21BVChsYWJlbE5vZGUpICYmICFWaXNVdGlsLmlzTm9kZVByZXNlbnRhdGlvbmFsKGxhYmVsTm9kZSkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb25zdCBwYWlyID0gQWNjTmFtZVV0aWwuY29tcHV0ZUFjY2Vzc2libGVOYW1lKGxhYmVsTm9kZSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHBhaXIgJiYgcGFpci5uYW1lICYmIHBhaXIubmFtZS50cmltKCkubGVuZ3RoID4gMCkgXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxhYmVsICs9IFwiIFwiICsgQ29tbW9uVXRpbC5ub3JtYWxpemVTcGFjaW5nKHBhaXIubmFtZSk7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgaWYgKGxhYmVsLnRyaW0oKS5sZW5ndGggPiAwKVxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHtcIm5hbWVcIjpDb21tb25VdGlsLnRydW5jYXRlVGV4dChsYWJlbCksIFwibmFtZUZyb21cIjogXCJsYWJlbFwifTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9ICAgICAgIFxuICAgICAgICB9XG5cbiAgICAgICAgLy8gc3VtbWFyeVxuICAgICAgICBpZiAobm9kZU5hbWUgPT09IFwic3VtbWFyeVwiKSB7XG4gICAgICAgICAgICAvLyB1c2Ugc3VtbWFyeSBlbGVtZW50IHN1YnRyZWVcbiAgICAgICAgICAgIGNvbnN0IHRleHQgPSAoZWxlbSBhcyBIVE1MRWxlbWVudCkuaW5uZXJUZXh0O1xuICAgICAgICAgICAgaWYgKHRleHQgJiYgdGV4dC50cmltKCkubGVuZ3RoID4gMCkgXG4gICAgICAgICAgICAgICAgcmV0dXJuIHtcIm5hbWVcIjpDb21tb25VdGlsLnRydW5jYXRlVGV4dCh0ZXh0KSwgXCJuYW1lRnJvbVwiOiBcImxlZ2VuZFwifTsgICAgICAgICBcbiAgICAgICAgfVxuXG4gICAgICAgIC8vIGRldGFpbHNcbiAgICAgICAgaWYgKG5vZGVOYW1lID09PSBcImRldGFpbHNcIikge1xuICAgICAgICAgICAgY29uc3QgZmlyc3QgPSBlbGVtLmZpcnN0RWxlbWVudENoaWxkO1xuICAgICAgICAgICAgaWYgKGZpcnN0ICYmIGZpcnN0Lm5vZGVOYW1lLnRvTG93ZXJDYXNlKCkgPT09ICdzdW1tYXJ5Jykge1xuICAgICAg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gICAgICAgICBjYXB0aW9uID0gZWxlbS5sYXN0RWxlbWVudENoaWxkO1xuICAgICAgICAgICAgICAgIGlmIChjYXB0aW9uICYmIGNhcHRpb24ubm9kZU5hbWUudG9Mb3dlckNhc2UoKSA9PT0gJ2ZpZ2NhcHRpb24nKSB7XG4gICAgICAgICAgICAgICAgICAgIC8vIGZpZ2NhcHRpb24gY2FuIGJlIG1peGVkIHRleHRcbiAgICAgICAgICAgICAgICAgICAgY29uc3QgdGV4dCA9IChjYXB0aW9uIGFzIEhUTUxFbGVtZW50KS5pbm5lclRleHQ7XG4gICAgICAgICAgICAgICAgICAgIGlmICh0ZXh0ICYmIHRleHQudHJpbSgpLmxlbmd0aCA+IDApIFxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHtcIm5hbWVcIjpDb21tb25VdGlsLnRydW5jYXRlVGV4dCh0ZXh0KSwgXCJuYW1lRnJvbVwiOiBcImZpZ2NhcHRpb25cIn07IFxuICAgICAgICAgICAgICAgIH0gXG4gICAgICAgICAgICB9ICAgICAgICBcbiAgICAgICAgfVxuXG4gICAgICAgIC8vIGltZyBlbGVtZW50czogdXNlIGF0dHJpYnV0ZSBcImFsdFwiXG4gICAgICAgIGlmIChub2RlTmFtZSA9PT0gXCJpbWdcIikge1xuICAgICAgICAgICAgaWYgKGVsZW0uaGFzQXR0cmlidXRlKFwiYWx0XCIpKSB7XG4gICAgICAgICAgICAgICAgbGV0IGFsdCA9IGVsZW0uZ2V0QXR0cmlidXRlKFwiYWx0XCIpO1xuICAgICAgICAgICAgICAgIHJldHVybiB7XCJuYW1lXCI6Q29tbW9uVXRpbC50cnVuY2F0ZVRleHQoYWx0KSwgXCJuYW1lRnJvbVwiOiBcImFsdFwifTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIC8vIGFyZWEgZWxlbWVudHM6IHVzZSBhdHRyaWJ1dGUgXCJhbHRcIlxuICAgICAgICBpZiAobm9kZU5hbWUgPT09IFwiYXJl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ICAgICAgICAgICB9ICAgICAgICAgXG4gICAgICAgIH1cblxuICAgICAgICAvLyBhIGVsZW1lbnRcbiAgICAgICAgaWYgKG5vZGVOYW1lID09PSBcImFcIikge1xuICAgICAgICAgICAgLy8gZmlyc3QgdXNlIHRoZSBsaW5rIHRleHRcbiAgICAgICAgICAgIGNvbnN0IHRleHQgPSAoZWxlbSBhcyBIVE1MRWxlbWVudCkuaW5uZXJUZXh0O1xuICAgICAgICAgICAgaWYgKHRleHQgJiYgdGV4dC50cmltKCkgIT09ICcnKVxuICAgICAgICAgICAgICAgIHJldHVybiB7XCJuYW1lXCI6Q29tbW9uVXRpbC50cnVuY2F0ZVRleHQodGV4dCksIFwibmFtZUZyb21cIjogXCJ0ZXh0XCJ9O1xuICAgICAgICAgICAgIFxuICAgICAgICAgICAgLy9mb3IgaW1hZ2UgbGluazogZ2V0IHRoZSBpbWFnZSBvciBzdmcgaWYgZXhpc3RzXG4gICAgICAgICAgICBjb25zdCBpbWFnZXMgPSBlbGVtLnF1ZXJ5U2VsZWN0b3JBbGwoXCI6c2NvcGUgPiBpbWcsIDpzY29wZSA+IHN2Z1wiKTtcbiAgICAgICAgICAgIGlmIChpbWFnZXMgJiYgaW1hZ2VzLmxlbmd0aCA+IDApIHtcbiAgICAgICAgICAgICAgICBsZXQgdGV4dCA9IFwiXCI7XG4gICAgICAgICAgICAgICAgaW1hZ2VzLmZvckVhY2goaW1hZ2UgPT4ge1xuICAgICAgICAgICAgICAgICAgICBpZiAoIVZpc1V0aWwuaXNOb2RlSGlkZGVuRnJvbUFUKGltYWdlKSAmJiAhVmlzVXRpbC5pc05vZGVQcmVzZW50YXRpb25hbChpbWFnZSkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCBwYWlyID0gQWNjTmFtZVV0aWwuY29tcHV0ZUFjY2Vzc2libGVOYW1lKGltYWdlKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChwYWlyICYmIHBhaXIubmFtZSAmJiBwYWlyLm5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c3ZnVGl0bGUudGV4dENvbnRlbnQ7XG4gICAgICAgICAgICAgICAgICAgIGlmICh0aXRsZSAmJiB0aXRsZS50cmltKCkgIT09ICcnKVxuICAgICAgICAgICAgICAgICAgICAgICAgdGV4dCArPSB0aXRsZS50cmltKCk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICBpZiAodGV4dCAmJiB0ZXh0LnRyaW0oKSAhPT0gJycpXG4gICAgICAgICAgICByZXR1cm4ge1wibmFtZVwiOnRleHQudHJpbSgpLCBcIm5hbWVGcm9tXCI6IFwic3ZnVGl0bGVcIn07XG4gICAgICAgIH1cblxuICAgICAgICAvLyAyLiB4bGluazp0aXRsZSBhdHRyaWJ1dGUgb24gYSBsaW5rXG4gICAgICAgIGxldCBsaW5rVGl0bGUgPSBlbGVtLnF1ZXJ5U2VsZWN0b3IoXCJhXCIpO1xuICAgICAgICBpZiAobGlua1RpdGxlICYmICFWaXNVdGlsLmlzTm9kZUhpZGRlbkZyb21BVChsaW5rVGl0bGUpICYmICFWaXNVdGlsLmlzTm9kZVByZXNlbnRhdGlvbmFsKGxpbmtUaXRsZSkpIHtcbiAgICAgICAgICAgIGxldCBsaW5rID0gbGlua1RpdGxlLmdldEF0dHJpYnV0ZShcInhsaW5rOnRpdGxlXCIpO1xuICAgICAgICAgICAgaWYgKGxpbmsgJiYgbGluay50cmltKCkgIT09ICcnKVxuICAgICAgICAgICAgICAgIHJldHVybiB7XCJuYW1lXCI6Q29tbW9uVXRpbC50cnVuY2F0ZVRleHQobGluayksIFwibmFtZUZyb21cIjogXCJzdmdsaW5rVGl0bGVcIn07XG4gICAgICAgIH1cblxuICAgICAgICAvKiogMy4gZm9yIHRleHQgY29udGFpbmVyIGVsZW1lbnRzLCB0aGUgdGV4dCBjb250ZW50LiBcbiAgICAgICAgICogbm90ZSB0aGUgU1ZHIHRleHQgY29udGVudCBlbGVtZW50cyBhcmU6IOKAmHRleHTigJksIOKAmHRleHRQYX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ImFyaWEtbGl2ZVwiOiBcImFzc2VydGl2ZVwiLFxuICAgICAgICAgICAgXCJhcmlhLWF0b21pY1wiOiBcInRydWVcIlxuICAgICAgICB9LFxuICAgICAgICBcImNvbWJvYm94XCI6IHtcbiAgICAgICAgICAgIFwiYXJpYS1oYXNwb3B1cFwiOiBcImxpc3Rib3hcIlxuICAgICAgICB9LFxuICAgICAgICBcImxpc3Rib3hcIjoge1xuICAgICAgICAgICAgXCJhcmlhLW9yaWVudGF0aW9uXCI6IFwidmVydGljYWxcIlxuICAgICAgICB9LFxuICAgICAgICBcImxvZ1wiOiB7XG4gICAgICAgICAgICBcImFyaWEtbGl2ZVwiOiBcInBvbGl0ZVwiXG4gICAgICAgIH0sXG4gICAgICAgIFwibWVudVwiOiB7XG4gICAgICAgICAgICBcImFyaWEtb3JpZW50YXRpb25cIjogXCJ2ZXJ0aWNhbFwiXG4gICAgICAgIH0sXG4gICAgICAgIFwibWVudWJhclwiOiB7XG4gICAgICAgICAgICBcImFyaWEtb3JpZW50YXRpb25cIjogXCJob3Jpem9udGFsXCJcbiAgICAgICAgfSxcbiAgICAgICAgXCJtZXRlclwiOiB7XG4gICAgICAgICAgICBcImFyaWEtdmFsdWVtaW5cIjogXCIwXCIsXG4gICAgICAgICAgICBcImFyaWEtdmFsdWVtYXhcIjogXCIxMDBcIlxuICAgICAgICB9LFxuICAgICAgICBcIm9wdGlvblwiOiB7XG4gICAgICAgICAgICBcImFyaWEtc2VsZWN0ZWRcIjogXCJmYWxzZVwiXG4gICAgICAgIH0sXG4gICAgICAgIFwicHJvZ3Jlc3NiYXJcIjoge1xuICAgICAgICAgICAgXCJhcmlhLXZhbHVlbWluXCI6IFwiMFwiLFxuICAgICAgICAgICAgXCJhcmlhLXZhbHVlbWF4XCI6IFwiMTAwXCJcbiAgICAgICAgfSxcbiAgICAgICAgXCJzY3JvbGxiYXJcIjoge1xuICAgICAgICAgICAgXCJhcmlhLW9yaWVudGF0aW9uXCI6IFwidmVydGljYWxcIixcbiAgICAgICAgICAgIFwiYXJpYS12YWx1ZW1pblwiOiBcIjBcIixcbiAgICAgICAgICAgIFwiYXJpYS12YWx1ZW1heFwiOiBcIjEwMFwiXG4gICAgICAgIH0sXG4gICAgICAgIFwic2VwYXJhdG9yXCI6IHtcbiAgICAgICAgICAgIFwiYXJpYS1vcmllbnRhdGlvblwiOiBcImhvcml6b250YWxcIixcbiAgICAgICAgICAgIFwiYXJpYS12YWx1ZW1pblwiOiBcIjBcIixcbiAgICAgICAgICAgIFwiYXJpYS12YWx1ZW1heFwiOiBcIjEwMFwiXG4gICAgICAgIH0sXG4gICAgICAgIFwic2xpZGVyXCI6IHtcbiAgICAgICAgICAgIFwiYXJpYS1vcmllbnRhdGlvblwiOiBcImhvcml6b250YWxcIixcbiAgICAgICAgICAgIFwiYXJpYS12YWx1ZW1pblwiOiBcIjBcIixcbiAgICAgICAgICAgIFwiYXJpYS12YWx1ZW1heFwiOiBcIjEwMFwiXG4gICAgICAgIH0sXG4gICAgICAgIFwic3BpbmJ1dHRvblwiOiB7XG4gICAgICAgICAgICAvLyBOb3Qgc3VyZSBob3cgdG8gZW5jb2RlIG1pbi9tYXggKG9yIG5vdyBpbiAxLjIgLSBcImhhcyBubyB2YWx1ZVwiKVxuICAgICAgICAgICAgLy9cImFyaWEtdmFsdWVub3dcIjogXCIwXCIgVE9ETzogYXQgcmlzazogbWF5YmUgZGVsZXRlIGFmdGVyIEFSSUEgMS4yIHJlYWNoZXMgcHJvcG9zZWQgcmVjXG4gICAgICAgICAgICAvLyBQcm9iYWJseSBqdXN0IGRlbGV0ZSBzcGluYnV0dG9uIGZyb20gdGhpcyBsaXN0IGNvbXBsZXRlbHkgYW5kIGxldCB1c2VyIGFnZW50cyBoYW5kbGUgXCJkZWZhdWx0c1wiXG4gICAgICAgIH0sXG4gICAgICAgIFwic3RhdHVzXCI6IHtcbiAgICAgICAgICAgIFwiYXJpYS1saXZlXCI6IFwicG9saXRlXCIsXG4gICAgICAgICAgICBcImFy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gZS5nZXRBdHRyaWJ1dGUoXCJhdXRvY29tcGxldGVcIikgPyBcIm5vbmVcIiA6IFwiYm90aFwiO1xuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIFwiaW5wdXRcIjogZnVuY3Rpb24gKGUpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gXCJvZmZcIiA9PT0gZS5nZXRBdHRyaWJ1dGUoXCJhdXRvY29tcGxldGVcIikgPyBcIm5vbmVcIiA6IFwiYm90aFwiO1xuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIFwic2VsZWN0XCI6IGZ1bmN0aW9uIChlKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIFwib2ZmXCIgPT09IGUuZ2V0QXR0cmlidXRlKFwiYXV0b2NvbXBsZXRlXCIpID8gXCJub25lXCIgOiBcImJvdGhcIjtcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcInRleHRhcmVhXCI6IGZ1bmN0aW9uIChlKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIFwib2ZmXCIgPT09IGUuZ2V0QXR0cmlidXRlKFwiYXV0b2NvbXBsZXRlXCIpID8gXCJub25lXCIgOiBcImJvdGhcIjtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAgXCJhcmlhLWNoZWNrZWRcIjoge1xuICAgICAgICAgICAgXCJpbnB1dFwiOiBmdW5jdGlvbiAoZSkge1xuICAgICAgICAgICAgICAgIGlmIChlLmhhc0F0dHJpYnV0ZShcImluZGV0ZXJtaW5hdGVcIikpIHJldHVybiBcIm1peGVkXCI7XG4gICAgICAgICAgICAgICAgcmV0dXJuIFwiXCIgKyBlLmhhc0F0dHJpYnV0ZShcImNoZWNrZWRcIik7XG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJtZW51aXRlbVwiOiBmdW5jdGlvbiAoZSkge1xuICAgICAgICAgICAgICAgIGlmIChlLmhhc0F0dHJpYnV0ZShcImluZGV0ZXJtaW5hdGVcIikpIHJldHVybiBcIm1peGVkXCI7XG4gICAgICAgICAgICAgICAgcmV0dXJuIFwiXCIgKyBlLmhhc0F0dHJpYnV0ZShcImNoZWNrZWRcIik7XG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCIqXCI6IGZ1bmN0aW9uIChlKSB7XG4gICAgICAgICAgICAgICAgaWYgKGUuaGFzQXR0cmlidXRlKFwiaW5kZXRlcm1pbmF0ZVwiKSkgcmV0dXJuIFwibWl4ZWRcIjtcbiAgICAgICAgICAgIH0sXG4gICAgICAgIH0sXG4gICAgICAgIFwiYXJpYS1kaXNhYmxlZFwiOiB7XG4gICAgICAgICAgICBcImJ1dHRvblwiOiBmdW5jdGlvbiAoZSkge1xuICAgICAgICAgICAgICAgIHJldHVybiBlLmhhc0F0dHJpYnV0ZShcImRpc2FibGVkXCIpID8gXCJ0cnVlXCIgOiBcImZhbHNlXCJcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcImZpZWxkc2V0XCI6IGZ1bmN0aW9uIChlKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIGUuaGFzQXR0cmlidXRlKFwiZGlzYWJsZWRcIikgPyBcInRydWVcIiA6IFwiZmFsc2VcIlxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIFwiaW5wdXRcIjogZnVuY3Rpb24gKGUpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gZS5oYXNBdHRyaWJ1dGUoXCJkaXNhYmxlZFwiKSA/IFwidHJ1ZVwiIDogXCJmYWxzZVwiXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgXCJvcHRncm91cFwiOiBmdW5jdGlvbiAoZSkge1xuICAgICAgICAgICAgICAgIHJldHVybiBlLmhhc0F0dHJpYnV0ZShcImRpc2FibGVkXCIpID8gXCJ0cnVlXCIgOiBcImZhbHNlXCJcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcIm9wdGlvblwiOiBmdW5jdGlvbiAoZSkge1xuICAgICAgICAgICAgICAgIHJldHVybiBlLmhhc0F0dHJpYnV0ZShcImRpc2FibGVkXCIpID8gXCJ0cnVlXCIgOiBcImZhbHNlXCJcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcInNlbGVjdFwiOiBmdW5jdGlvbiAoZSkge1xuICAgICAgICAgICAgICAgIHJldHVybiBlLmhhc0F0dHJpYnV0ZShcImRpc2FibGVkXCIpID8gXCJ0cnVlXCIgOiBcImZhbHNlXCJcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcInRleHRhcmVhXCI6IGZ1bmN0aW9uIChlKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIGUuaGFzQXR0cmlidXRlKFwiZGlzYWJsZWRcIikgPyBcInRydWVcIiA6IFwiZmFsc2VcIlxuICAgICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICBcImFyaWEtZXhwYW5kZWRcIjoge1xuICAgICAgICAgICAgXCJkZXRhaWxzXCI6IGZ1bmN0aW9uIChlKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIGUuZ2V0QXR0cmlidXRlKFwib3BlblwiKVxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIFwiZGlhbG9nXCI6IGZ1bmN0aW9uIChlKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIGUuZ2V0QXR0cmlidXRlKFwib3BlblwiKVxuICAgICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICBcImFyaWEtbXVsdGlzZWxlY3RhYmxlXCI6IHtcbiAgICAgICAgICAgIFwic2VsZWN0XCI6IGZ1bmN0aW9uIChlKSB7XG4gICAgICAgICAgICAgICAgaWYgKGUuaGFzQXR0cmlidXRlKFwibXVsdGlwbGVcIikpIHJldHVybiBcInRydWVcIjtcbiAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIFwiYXJpYS1wbGFjZWhvbGRlclwiOiB7XG4gICAgICAgICAgICBcImlucHV0XCI6IGZ1bmN0aW9uIChlKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIGUuZ2V0QXR0cmlidXRlKFwicGxhY2Vob2xkZXJcIilcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcInRleHRhcmVhXCI6IGZ1bmN0aW9uIChlKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIGUuZ2V0QXR0cmlidXRlKFwicGxhY2Vob2xkZXJcIilcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAgXCJhcmlhLXJlcXVpcmVkXCI6IHtcbiAgICAgICAgICAgIFwiaW5wdXRcIjogZnVuY3Rpb24gKGUpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gZS5nZXRBdHRyaWJ1dGUoXCJyZXF1aXJlZFwiKVxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIFwic2VsZWN0XCI6IGZ1bmN0aW9uIChlKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIGUuZ2V0QXR0cmlidXRlKFwicmVxdWlyZWRcIilcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBcInRleHRhcmVhXCI6IGZ1bmN0aW9uIChlKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIGUuZ2V0QXR0cmlidXRlKFwicmVxdWlyZWRcIilcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cblxuICAgIC8qKlxuICAgICAqIHRoaXMgbWV0aG9kIHJldHVybnMgdXNlci1kZWZpbmVkIGFyaWEgYXR0cmlidXRlIG5hbWUgZnJvbSBkb21cbiAgICAgKiBAcGFyYW0gZWxlICBlbGVtZW50XG4gICAgICogQHJldHVybnMgdXNlciBkZWZpbmVkIGFyaWEgYXR0cmlidXRlc1xuICAgICAqL1xuICAgIHB1YmxpYyBzdGF0aWMgZ2V0VXNlckRlZmluZWRBcmlhQXR0cmlidXRlcyhlbGVtKSB7XG4gICAgICAgIGxldCBhcmlhQXR0cmlidXRlcyA9IFtdO1xuICAgICAgICBsZXQgZG9tQXR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CB0YWdQcm9wZXJ0eSk7XG4gICAgICAgICAgICBsZXQgY29udGFpbnNHZW5lcmljID0gZmFsc2U7XG4gICAgICAgICAgICBpZiAocm9sZXMgJiYgcm9sZXMubGVuZ3RoID4gMCAmJiBhbGxvd2VkUm9sZXMgJiYgYWxsb3dlZFJvbGVzLmxlbmd0aCA+IDApIHtcbiAgICAgICAgICAgICAgICBmb3IgKGxldCBpID0gMDsgaSA8IHJvbGVzLmxlbmd0aDsgaSsrKSB7XG4gICAgICAgICAgICAgICAgICAgIGlmIChhbGxvd2VkUm9sZXMuaW5jbHVkZXMoXCJhbnlcIikgfHwgYWxsb3dlZFJvbGVzLmluY2x1ZGVzKHJvbGVzW2ldKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGFsbG93ZWRSb2xlcy5pbmNsdWRlcyhcImFueVwiKSAmJiByb2xlc1tpXSA9PT0gJ2dlbmVyaWMnKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY29udGFpbnNHZW5lcmljID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb250aW51ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIFxuICAgICAgICAgICAgICAgICAgICAgICAgcm9sZSA9IHJvbGVzW2ldO1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHJvbGUgPT09IFwicHJlc2VudGF0aW9uXCIgfHwgcm9sZSA9PT0gXCJub25lXCIpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBJZiBlbGVtZW50IGlzIGZvY3VzYWJsZSwgdGhlbiBwcmVzZW50YXRpb24gcm9sZXMgYXJlIHRvIGJlIGlnbm9yZWRcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoQ29tbW9uVXRpbC5pc0ZvY3VzYWJsZShlbGVtKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvL3Jlc2V0IHJ1bGUgdG8gbnVsbFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByb2xlID0gbnVsbDtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29udGludWU7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgaWYgKGNvbnRhaW5zR2VuZXJpYykgcm9sZSA9ICdnZW5lcmljJztcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIFxuICAgICAgICAgICAgaWYgKHJvbGUgPT09IG51bGwgJiYgY29uc2lkZXJJbXBsaWNpdFJvbGVzKSB7XG4gICAgICAgICAgICAgICAgY29uc3QgaW1wbGljaXRSb2xlID0gQXJpYVV0aWwuZ2V0SW1wbGljaXRSb2xlKGVsZW0pO1xuICAgICAgICAgICAgICAgIHJvbGUgPSBpbXBsaWNpdFJvbGUgJiYgaW1wbGljaXRSb2xlLmxlbmd0aCA+IDAgPyBpbXBsaWNpdFJvbGVbMF0gOiB1bmRlZmluZWQ7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBDYWNoZVV0aWwuc2V0Q2FjaGUoZWxlbSwgXCJSUFRVVElMX0VMRU1FTlRfUkVTT0xWRURfUk9MRVwiLCByb2xlKTtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gcm9sZSAhPT0gdW5kZWZpbmVkID8gcm9sZSA6IG51bGw7XG4gICAgfVxuXG4gICAgLyoqXG4gICAgICogVGhpcyBmdW5jdGlvbiBpcyByZXNwb25zaWJsZSBmb3IgcmV0cmlldmluZyB1c2VyIGRlZmluZWQgZWxlbWVudCdzIHJvbGVzIGZyb20gZG9tLlxuICAgICAqIEBwYXJtIHtIVE1MRWxlbWVudH0gZWxlIC0gZWxlbWVudCBmb3Igd2hpY2ggdG8gZmluZCByb2xlLlx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RBcmlhQXR0cmlidXRlcyhlbGUpO1xuICAgICAgICAgICAgICAgICAgICBpZiAoZG9tQXJpYUF0dHJpYnV0ZXMubGVuZ3RoID09PSAwKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBDYWNoZVV0aWwuc2V0Q2FjaGUoZWxlLCBcIkFyaWFVdGlsX0ltcGxpY2l0Um9sZVwiLCBbXSk7XG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gW107XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgbGV0IHJvbGVBdHRyaWJ1dGVzID0gW107XG4gICAgICAgICAgICAgICAgICAgIGxldCBwYXR0ZXJuID0gQVJJQURlZmluaXRpb25zLmRlc2lnblBhdHRlcm5zWydnZW5lcmljJ107XG4gICAgICAgICAgICAgICAgICAgIGlmIChwYXR0ZXJuLnJlcVByb3BzICYmIHBhdHRlcm4ucmVxUHJvcHMubGVuZ3RoID4gMClcbiAgICAgICAgICAgICAgICAgICAgICAgIENvbW1vblV0aWwuY29uY2F0VW5pcXVlQXJyYXlJdGVtTGlzdChwYXR0ZXJuLnJlcVByb3BzLCByb2xlQXR0cmlidXRlcyk7XG5cbiAgICAgICAgICAgICAgICAgICAgaWYgKHRhZ1Byb3BlcnR5Lmdsb2JhbEFyaWFBdHRyaWJ1dGVzVmFsaWQpXG4gICAgICAgICAgICAgICAgICAgICAgICBDb21tb25VdGlsLmNvbmNhdFVuaXF1ZUFycmF5SXRlbUxpc3QoQVJJQURlZmluaXRpb25zLmdsb2JhbFByb3BlcnRpZXMsIHJvbGVBdHRyaWJ1dGVzKTtcblxuICAgICAgICAgICAgICAgICAgICBpZiAocGF0dGVybi5kZXByZWNhdGVkUHJvcHMgJiYgcGF0dGVybi5kZXByZWNhdGVkUHJvcHMubGVuZ3RoID4gMClcbiAgICAgICAgICAgICAgICAgICAgICAgIENvbW1vblV0aWwucmVkdWNlQXJyYXlJdGVtTGlzdChwYXR0ZXJuLmRlcHJlY2F0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uICAgICAgICAvL05vdGU6IGVsZW1lbnQgY2FuIGhhdmUgbXVsdGlwbGUgaW1wbGljaXQgcm9sZXNcbiAgICAgICAgaWYgKCFyZXRWYWwgJiYgY29uc2lkZXJJbXBsaWNpdFJvbGVzKSB7XG4gICAgICAgICAgICBsZXQgd1JvbGVzID0gW107XG4gICAgICAgICAgICAvL2NoZWNrIGlmIHRoZXJlIGFyZSBhbnkgaW1wbGljaXQgcm9sZXMgZm9yIHRoaXMgZWxlbWVudC5cbiAgICAgICAgICAgIGxldCBpbXBsaWNpdFJvbGUgPSBBcmlhVXRpbC5nZXRJbXBsaWNpdFJvbGUoZWxlKTtcbiAgICAgICAgICAgIGlmIChpbXBsaWNpdFJvbGUgIT09IG51bGwgJiYgaW1wbGljaXRSb2xlLmxlbmd0aCA+IDApIHtcbiAgICAgICAgICAgICAgICBDb21tb25VdGlsLmNvbmNhdFVuaXF1ZUFycmF5SXRlbUxpc3QoaW1wbGljaXRSb2xlLCB3Um9sZXMpO1xuICAgICAgICAgICAgICAgIC8vaWYgcm9sZSBpcyBhcnJheSBsb29wIHRocnUgYW5kIHNlZSBpZiBhbnkgIG9mIHRoZSBpbXBsaWNpdCByb2xlIHByZXNlbnQgaW4gdGhlIGFycmF5XG4gICAgICAgICAgICAgICAgaWYgKHR5cGVvZiAocm9sZSkgIT0gdHlwZW9mIChcIlwiKSkge1xuICAgICAgICAgICAgICAgICAgICBmb3IgKGxldCBpID0gMDsgIXJldFZhbCAmJiBpIDwgd1JvbGVzLmxlbmd0aDsgKytpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICByZXRWYWwgPSB3Um9sZXNbaV0gaW4gcm9sZTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIGZvciAobGV0IGkgPSAwOyAhcmV0VmFsICYmIGkgPCB3Um9sZXMubGVuZ3RoOyArK2kpIHtcbiAgICAgICAgICAgICAgICAgICAgICA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ICAgICBpZiAodHlwZW9mIChyb2xlKSAhPSB0eXBlb2YgKFwiXCIpKSB7XG4gICAgICAgICAgICAgICAgbGV0IHJvbGVzID0gZWxlLmdldEF0dHJpYnV0ZShcInJvbGVcIikudHJpbSgpLnRvTG93ZXJDYXNlKCkuc3BsaXQoL1xccysvKTtcbiAgICAgICAgICAgICAgICBmb3IgKGxldCBpID0gMDsgIXJldFZhbCAmJiBpIDwgcm9sZXMubGVuZ3RoOyArK2kpIHtcbiAgICAgICAgICAgICAgICAgICAgcm9sZVNwZWNpZmllZCA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgIHJldFZhbCA9IHJvbGVzW2ldIGluIHJvbGU7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICBsZXQgcm9sZXMgPSBlbGUuZ2V0QXR0cmlidXRlKFwicm9sZVwiKS50cmltKCkudG9Mb3dlckNhc2UoKS5zcGxpdCgvXFxzKy8pO1xuICAgICAgICAgICAgICAgIGZvciAobGV0IGkgPSAwOyAhcmV0VmFsICYmIGkgPCByb2xlcy5sZW5ndGg7ICsraSkge1xuICAgICAgICAgICAgICAgICAgICByb2xlU3BlY2lmaWVkID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICAgICAgcmV0VmFsID0gcm9sZXNbaV0gPT09IHJvbGU7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgaWYgKHJvbGVTcGVjaWZpZWQpIHtcbiAgICAgICAgICAgIHJldHVybiByZXRWYWw7XG4gICAgICAgIH1cblxuICAgICAgICAvL2NoZWNrIGlmIGltcGxpY2l0IHJvbGVzIG1hdGNoZXMuXG4gICAgICAgIC8vTm90ZTogZWxlbWVudCBjYW4gaGF2ZSBtdWx0aXBsZSBpbXBsaWNpdCByb2xlc1xuICAgICAgICAvL2NoZWNrIGlmIHRoZXJlIGFyZSBhbnkgaW1wbGljaXQgcm9sZXMg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cGxpY2l0Um9sZXM/KSB7XG4gICAgICAgIGxldCB3YWxrTm9kZSA9IERPTVdhbGtlci5wYXJlbnROb2RlKGVsZW1lbnQpO1xuICAgICAgICB3aGlsZSAod2Fsa05vZGUgIT09IG51bGwpIHtcbiAgICAgICAgICAgIGlmIChjb25zaWRlckltcGxpY2l0Um9sZXMpIHtcbiAgICAgICAgICAgICAgICBpZiAoQXJpYVV0aWwuaGFzUm9sZUluU2VtYW50aWNzKHdhbGtOb2RlLCByb2xlTmFtZSkpIHtcbiAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICBpZiAoQXJpYVV0aWwuaGFzUm9sZSh3YWxrTm9kZSwgcm9sZU5hbWUsIGZhbHNlKSkge1xuICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICB3YWxrTm9kZSA9IERPTVdhbGtlci5wYXJlbnROb2RlKHdhbGtOb2RlKTtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gd2Fsa05vZGU7XG4gICAgfVxuXG4gICAgLyoqXG4gICAgICogcmV0dXJuIHRoZSBhbmNlc3RvciBvZiB0aGUgZ2l2ZW4gZWxlbWVudCBhbmQgcm9sZXMuXG4gICAgICpcbiAgICAgKiBAcGFybSB7ZWxlbWVudH0gZWxlbWVudCAtIFRoZSBlbGVtZW50IHRvIHN0YXJ0IHRoZSBub2RlIHdhbGsgb24gdG8gZmluZCBwYXJlbnQgbm9kZVxuICAgICAqIEBwYXJtIHthcnJheX0gcm9sZXMgLSB0aGUgcm9sZSBuYW1lcyB0byBzZWFyY2ggZm9yXG4gICAgICogQHBhcm0ge2Jvb2x9IGNvbnNpZGVySW1wbGljaXRSb2xlcyAtIHRydWUgb3IgZmFsc2UgYmFzZWQgb24gaWYgaW1wbGljaXQgcm9sZXMgc2V0dGluZyBza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iBjb25kaXRpb25zIHVzZXMgc2hvcnQtY2lyY3VpdGluZyBzbyBpZiB0aGUgZmlyc3QgY29uZGl0aW9uIGlzIG5vdCB0cnVlIGl0IHdpbGwgbm90IGNoZWNrIHRoZSBuZXh0IG9uZSxcbiAgICAgICAgICAgICAgICAvLyAgICAgICBzbyBvbiBhbmQgc28gZm9ydGguXG4gICAgICAgICAgICAgICAgaWYgKGNvbnNpZGVySGlkZGVuU2V0dGluZyAmJiBDb21tb25VdGlsLnNob3VsZE5vZGVCZVNraXBwZWRIaWRkZW4od2Fsa05vZGUpKSB7XG4gICAgICAgICAgICAgICAgICAgIC8vIE1vdmUgb24gdG8gdGhlIG5leHQgbm9kZVxuICAgICAgICAgICAgICAgICAgICB3YWxrTm9kZSA9IHdhbGtOb2RlLm5leHRTaWJsaW5nO1xuXG4gICAgICAgICAgICAgICAgICAgIGNvbnRpbnVlO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIC8vIENoZWNrIGlmIHRoaXMgbm9kZSBoYXMgdGhlIHJvbGUgdGhhdCB3ZSBuZWVkIHRvIGNoZWNrIGV4aXN0c1xuICAgICAgICAgICAgICAgIGlmIChjb25zaWRlckltcGxpY2l0Um9sZSkge1xuICAgICAgICAgICAgICAgICAgICBoYXNSb2xlID0gQXJpYVV0aWwuaGFzUm9sZUluU2VtYW50aWNzKHdhbGtOb2RlLCByb2xlKTtcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICBoYXNSb2xlID0gQXJpYVV0aWwuaGFzUm9sZSh3YWxrTm9kZSwgcm9sZSwgZmFsc2UpO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIC8vIE1vdmUgb24gdG8gdGhlIG5leHQgbm9kZVxuICAgICAgICAgICAgICAgIHdhbGtOb2RlID0gd2Fsa05vZGUubmV4dFNpYmxpbmc7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIC8vIElmIHdlIH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uICAgICAqXG4gICAgICogQG1lbWJlck9mIEFyaWFVdGlsXG4gICAgICovXG4gICAgcHVibGljIHN0YXRpYyByZXRyaWV2ZURpcmVjdEFUQ2hpbGRyZW4oZWxlbWVudCwgcmVxdWlyZWRDaGlsZFJvbGVzLCBkaXJlY3Q6IEFycmF5PEhUTUxFbGVtZW50Pikge1xuICAgICAgICBsZXQgY2hpbGRyZW46IEhUTUxFbGVtZW50W10gPSBbXTtcbiAgICAgICAgaWYgKGVsZW1lbnQuY2hpbGRyZW4gIT09IG51bGwgJiYgZWxlbWVudC5jaGlsZHJlbi5sZW5ndGggPiAwKSB7XG4gICAgICAgICAgICBmb3IgKGxldCBpID0gMDsgaSA8IGVsZW1lbnQuY2hpbGRyZW4ubGVuZ3RoOyBpKyspIHtcbiAgICAgICAgICAgICAgICBjaGlsZHJlbi5wdXNoKGVsZW1lbnQuY2hpbGRyZW5baV0pO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIC8vIGlmIHRoZSBlbGVtZW50IGNvbnRhaW5zIFwiYXJpYS1vd25cIiBhdHRyaWJ1dGUsIHRoZW4gdGhlIGFyaWEtb3duZWQgY2hpbGRyZW4gbmVlZCB0byBiZSBpbmNsdWRlZCB0b29cbiAgICAgICAgbGV0IG93bmVkID0gZWxlbWVudC5nZXRBdHRyaWJ1dGUoXCJhcmlhLW93bnNcIik7XG4gICAgICAgIGlmIChvd25lZCkge1xuICAgICAgICAgICAgbGV0IGRvYyA9IGVsZW1lbnQub3duZXJEb2N1bWVudDtcbiAgICAgICAgICAgIGlmIChkb2MpIHtcbiAgICAgICAgICAgICAgICBsZXQgb3duZWRJZHMgPSBvd25lZC5zcGxpdChcIiBcIik7XG4gICAgICAgICAgICAgICAgZm9yIChsZXQgaSA9IDA7IGkgPCBvd25lZElkcy5sZW5ndGg7IGkrKykge1xuICAgICAgICAgICAgICAgICAgICBsZXQgb3duZWRFbGVtID0gZG9jLmdldEVsZW1lbnRCeUlkKG93bmVkSWRzW2ldKTtcbiAgICAgICAgICAgICAgICAgICAgaWYgKG93bmVkRWxlbSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgY2hpbGRyZW4ucHVzaChvd25lZEVsZW0pO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIGlmIChjaGlsZHJlbi5sZW5ndGggPiAwKSB7XG4gICAgICAgICAgICBmb3IgKGxldCBpID0gMDsgaSA8IGNoaWxkcmVuLmxlbmd0aDsgaSsrKSB7XG4gICAgICAgICAgICAgICAgLy9pZ25vcmUgaGlkZGVuIGFuZCBpbnZpc2libGUgY2hpbGRcbiAgICAgICAgICAgICAgICBpZiAoVmlzVXRpbC5pc05vZGVIaWRkZW5Gcm9tQVQoY2hpbGRyZW5baV0pIHx8ICFWaXNVdGlsLmlzTm9kZVZpc2libGUoY2hpbGRyZW5baV0pKSBjb250aW51ZTtcbiAgICAgICAgICAgICAgICBsZXQgcm9sZXMgPSBBcmlhVXRpbC5nZXRSb2xlcyhjaGlsZHJlbltpXSwgZmFsc2UpO1xuICAgICAgICAgICAgICAgIGlmIChyb2xlcyA9PT0gbnVsbCB8fCByb2xlcy5sZW5ndGggPT09IDApIHtcbiAgICAgICAgICAgICAgICAgICAgcm9sZXMgPSBBcmlhVXRpbC5nZXRJbXBsaWNpdFJvbGUoY2hpbGRyZW5baV0pO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIGlmIChyb2xlcyAmJiByb2xlcyAhPT0gbnVsbCAmJiByb2xlcy5sZW5ndGggPiAwKSB7XG4gICAgICAgICAgICAgICAgICAgIC8vcmVtb3ZlICdub25lJyBhbmQgJ3ByZXNlbnRhdGlvbidcbiAgICAgICAgICAgICAgICAgICAgcm9sZXMgPSByb2xlcy5maWx0ZXIoZnVuY3Rpb24gKHJvbGUpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiByb2xlICE9PSBcIm5vbmVcIiAmJiByb2xlICE9PSBcInByZXNlbnRhdGlvblwiO1xuICAgICAgICAgICAgICAgICAgICB9KVxuXG4gICAgICAgICAgICAgICAgICAgIC8vIGEgJ2dyb3VwJyByb2xlIGlzIGFsbG93ZWQgYnV0IG5vdCByZXF1aXJlZCBmb3Igc29tZSBlbGVtZW50cyBzbyByZW1vdmUgaXQgaWYgZXhpc3RzXG4gICAgICAgICAgICAgICAgICAgIGlmIChyb2xlcy5pbmNsdWRlcyhcImdyb3VwXCIpICYmIHJlcXVpcmVkQ2hpbGRSb2xlcyAmJiByZXF1aXJlZENoaWxkUm9sZXMuaW5jbHVkZXMoJ2dyb3VwJykpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJvbGVzID0gcm9sZXMuZmlsdGVyKGZ1bmN0aW9uIChyb2xlKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHJvbGUgIT09ICdncm91cCc7XG4gICAgICAgICAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGlmIChyb2xlcyAmJiByb2xlcyAhPT0gbnVsbCAmJiByb2xlcy5sZW5ndGggPiAwKSB7XG4gICAgICAgICAgICAgICAgICAgIGRpcmVjdC5wdXNoKGNoaWxkcmVuW2ldKTtcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAvLyByZWN1cnNpdmUgdW50aWwgZ2V0IGEgcmV0dXJuIHZhbHVlLCBcbiAgICAgICAgICAgICAgICAgICAgQXJpYVV0aWwucmV0cmlldmVEaXJlY3RBVENoaWxkcmVuKGNoaWxkcmVuW2ldLCByZXF1aXJlZENoaWxkUm9sZXMsIGRpcmVjdCk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgIH0gZWxzZVxuICAgICAgICAgICAgcmV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IikudHJpbSgpLnNwbGl0KFwiIFwiKTtcbiAgICAgICAgICAgICAgICBsZXQgbm9ybWFsaXplZExhYmVsID0gXCJcIjtcbiAgICAgICAgICAgICAgICBmb3IgKGxldCBqID0gMCwgbGVuZ3RoID0gbGFiZWxJRHMubGVuZ3RoOyBqIDwgbGVuZ3RoOyArK2opIHtcbiAgICAgICAgICAgICAgICAgICAgbGV0IGxhYmVsSUQgPSBsYWJlbElEc1tqXTtcbiAgICAgICAgICAgICAgICAgICAgbGV0IGxhYmVsTm9kZSA9IEZyYWdtZW50VXRpbC5nZXRCeUlkKGVsZSwgbGFiZWxJRCk7XG4gICAgICAgICAgICAgICAgICAgIGxldCBsYWJlbCA9IGxhYmVsTm9kZSAmJiAhRE9NVXRpbC5zYW1lTm9kZShsYWJlbE5vZGUsIGVsZSkgPyBDb21tb25VdGlsLmdldElubmVyVGV4dChsYWJlbE5vZGUpIDogXCJcIjtcbiAgICAgICAgICAgICAgICAgICAgbm9ybWFsaXplZExhYmVsICs9IENvbW1vblV0aWwubm9ybWFsaXplU3BhY2luZyhsYWJlbCkudG9Mb3dlckNhc2UoKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgcmV0dXJuIG5vcm1hbGl6ZWRMYWJlbC50cmltKCk7XG4gICAgICAgICAgICB9IGVsc2UgaWYgKGVsZS5oYXNBdHRyaWJ1dGUoXCJhcmlhLWxhYmVsXCIpKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIENvbW1vblV0aWwubm9ybWFsaXplU3BhY2luZyhlbGUuZ2V0QXR0cmlidXRlKFwiYXJpYS1sYWJlbFwiKSkudG9Mb3dlckNhc2UoKS50cmltKCk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIFwiXCI7XG4gICAgfVxuXG4gICAgcHVibGljIHN0YXRpYyBnZXRBcmlhRGVzY3JpcHRpb24oZWxlKSB7XG4gICAgICAgIGlmICghZWxlKSByZXR1cm4gXCJ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5pcXVlQXJpYUxhYmVsc1thcmlhTGFiZWxdID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICAgICAgaWYgKCEoYXJpYUxhYmVsIGluIGR1cGxpY2F0ZUxhYmVsTmFtZUFycmF5KSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgZHVwbGljYXRlTGFiZWxOYW1lQXJyYXlbYXJpYUxhYmVsXSA9IG5ldyBBcnJheSgpO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIGR1cGxpY2F0ZUxhYmVsTmFtZUFycmF5W2FyaWFMYWJlbF0ucHVzaChlbGVtZW50c1tpXS5ub2RlTmFtZS50b0xvd2VyQ2FzZSgpKTtcblxuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoZWxlbWVudHNbaV0uaGFzQXR0cmlidXRlKFwiYXJpYS1sYWJlbGxlZGJ5XCIpKSB7XG5cbiAgICAgICAgICAgICAgICAgICAgbGV0IGxhYmVsSURzID0gZWxlbWVudHNbaV0uZ2V0QXR0cmlidXRlKFwiYXJpYS1sYWJlbGxlZGJ5XCIpLnRyaW0oKS5zcGxpdChcIiBcIik7XG4gICAgICAgICAgICAgICAgICAgIGxldCBub3JtYWxpemVkTGFiZWwgPSBcIlwiO1xuICAgICAgICAgICAgICAgICAgICBmb3IgKGxldCBqID0gMCwgbGVuZ3RoID0gbGFiZWxJRHMubGVuZ3RoOyBqIDwgbGVuZ3RoOyArK2opIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCBsYWJlbElEID0gbGFiZWxJRHNbal07XG4gICAgICAgICAgICAgICAgICAgICAgICBsZXQgbGFiZWxOb2RlID0gRnJhZ21lbnRVdGlsLmdldEJ5SWQoZWxlbWVudHNbaV0sIGxhYmVsSUQpO1xuICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGxhYmVsID0gbGFiZWxOb2RlICYmICFET01VdGlsLnNhbWVOb2RlKGxhYmVsTm9kZSwgZWxlbWVudHNbaV0pID8gQ29t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AgYnJlYWs7XG4gICAgICAgICAgICAgICAgICAgIGNhc2UgXCJhcmVhXCI6XG4gICAgICAgICAgICAgICAgICAgICAgICBDb21tb25VdGlsLmF0dHJpYnV0ZU5vbkVtcHR5KHJ1bGVDb250ZXh0LCBcImhyZWZcIikgPyB0YWdQcm9wZXJ0eSA9IHNwZWNpYWxUYWdQcm9wZXJ0aWVzW1wid2l0aC1ocmVmXCJdIDogdGFnUHJvcGVydHkgPSBzcGVjaWFsVGFnUHJvcGVydGllc1tcIndpdGhvdXQtaHJlZlwiXTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICBjYXNlIFwiZmlndXJlXCI6IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCBmY3MgPSBDb21tb25VdGlsLmdldENoaWxkQnlUYWcocnVsZUNvbnRleHQsIFwiZmlnY2FwdGlvblwiKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGZjcyAhPT0gbnVsbCAmJiBmY3MubGVuZ3RoID4gMCA/IHRhZ1Byb3BlcnR5ID0gc3BlY2lhbFRhZ1Byb3BlcnRpZXNbXCJjaGlsZC1maWdjYXB0aW9uXCJdIDogdGFnUHJvcGVydHkgPSBzcGVjaWFsVGFnUHJvcGVydGllc1tcIm5vLWNoaWxkLWZpZ2NhcHRpb25cIl07XG4gICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICBjYXNlIFwiZm9vdGVyXCI6XG4gICAgICAgICAgICAgICAgICAgIGNhc2UgXCJoZWFkZXJcIjpcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChBcmlhVXRpbC5nZXRBbmNlc3RvcldpdGhSb2xlKHJ1bGVDb250ZXh0LCBcImFydGljbGVcIiwgdHJ1ZSkgIT09IG51bGwgfHwgQXJpYVV0aWwuZ2V0QW5jZXN0b3JXaXRoUm9sZShydWxlQ29udGV4dCwgXCJjb21wbGVtZW50YXJ5XCIsIHRydWUpICE9PSBudWxsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfHwgQXJpYVV0aWwuZ2V0QW5jZXN0b3JXaXRoUm9sZShydWxlQ29udGV4dCwgXCJuYXZpZ2F0aW9uXCIsIHRydWUpICE9PSBudWxsIHx8IEFyaWFVdGlsLmdldEFuY2VzdG9yV2l0aFJvbGUocnVsZUNvbnRleHQsIFwicmVnaW9uXCIsIHRydWUpICE9PSBudWxsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfHwgQ29tbW9uVXRpbC5nZXRBbmNlc3RvcihydWxlQ29udGV4dCwgW1wiYXJ0aWNsZVwiLCBcImFzaWRlXCIsIFwibWFpblwiLCBcIm5hdlwiLCBcInNlY3Rpb25cIl0pICE9PSBudWxsKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRhZ1Byb3BlcnR5ID0gc3BlY2lhbFRhZ1Byb3BlcnRpZXNbXCJkZXMtc2VjdGlvbi1hcnRpY2xlLWFzaWRlLW1haW4tbmF2XCJdO1xuICAgICAgICAgICAgICAgICAgICAgICAgZWxzZVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRhZ1Byb3BlcnR5ID0gc3BlY2lhbFRhZ1Byb3BlcnRpZXNbXCJvdGhlclwiXTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICBjYXNlIFwiaW1nXCI6XG4gICAgICAgICAgICAgICAgICAgICAgICBsZXQgYWx0ID0gcnVsZUNvbnRleHQuaGFzQXR0cmlidXRlKFwiYWx0XCIpID8gcnVsZUNvbnRleHQuZ2V0QXR0cmlidXRlKFwiYWx0XCIpIDogbnVsbDtcbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCB0aXRsZSA9IHJ1bGVDb250ZXh0Lmhhc0F0dHJpYnV0ZShcInRpdGxlXCIpID8gcnVsZUNvbnRleHQuZ2V0QXR0cmlidXRlKFwidGl0bGVcIikgOiBudWxsO1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKEFyaWFVdGlsLmdldEFyaWFMYWJlbChydWxlQ29udGV4dCkudHJpbSgpLmxlbmd0aCAhPT0gMCB8fCAoYWx0ICE9PSBudWxsICYmIGFsdC5sZW5ndGggPiAwKSB8fCAodGl0bGUgIT09IG51bGwgJiYgdGl0bGUubGVuZ3RoID4gMCkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBJZiB0aGUgaW1nIGhhcyBub24tZW1wdHkgYWx0IChhbHQ9XCJzb21lIHRleHRcIiBvciBhbHQ9XCIgIFwiKSBvciBhbiBhY2Nlc3NpYmxlIG5hbWUgaXMgcHJvdmlkZWRcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0YWdQcm9wZXJ0eSA9IHNwZWNpYWxUYWdQcm9wZXJ0aWVzW1wiaW1nLXdpdGgtYWNjbmFtZVwiXTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGFsdCAhPT0gbnVsbCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBJZiB0aGUgaW1nIGhhcyBhbiBlbXB0eSBhbHQgKGFsdD1cIlwiKSBcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGFnUHJvcGVydHkgPSBzcGVjaWFsVGFnUHJvcGVydGllc1tcImltZy13aXRob3V0LWFjY25hbWUtZW1wdHktYWx0XCJdO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIElmIHRoZSBpbWcgbGFja3MgYW4gYWx0IGF0dHJpYnV0ZSBcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGFnUHJvcGVydHkgPSBzcGVjaWFsVGFnUHJvcGVydGllc1tcImltZy13aXRob3V0LWFjY25hbWUtbm8tYWx0XCJdO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICBjYXNlIFwiaW5wdXRcIjpcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChDb21tb25VdGlsLmF0dHJpYnV0ZU5vbkVtcHR5KHJ1bGVDb250ZXh0LCBcInR5cGVcIikpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgdHlwZSA9IHJ1bGVDb250ZXh0LmdldEF0dHJpYnV0ZShcInR5cGVcIikudHJpbSgpLnRvTG93ZXJDYXNlKCk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGFnUHJvcGVydHkgPSBzcGVjaWFsVGFnUHJvcGVydGllc1t0eXBlXTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAodGFnUHJvcGVydHkgPT09IG51bGwgfHwgdGFnUHJvcGVydHkgPT09IHVuZGVmaW5lZCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzd2l0Y2ggKHR5cGUpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNhc2UgXCJjaGVja2JveFwiOlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIENvbW1vblV0aWwuYXR0cmlidXRlTm9uRW1wdHkocnVsZUNvbnRleHQsIFwiYXJpYS1wcmVzc2VkXCIpID8gdGFnUHJvcGVydHkgPSBzcGVjaWFsVGFnUHJvcGVydGllc1tcImNoZWNrYm94LXdpdGgtYXJpYS1wcmVzc2VkXCJdIDogdGFnUHJvcGVydHkgPSBzcGVjaWFsVGFnUHJvcGVydGllc1tcImNoZWNrYm94LXdpdGhvdXQtYXJpYS1wcmVzc2VkXCJdO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2FzZSBcImVtYWlsXCI6XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgQ29tbW9uVXRpbC5hdHRyaWJ1dGVOb25FbXB0eShydWxlQ29udGV4dCwgXCJsaXN0XCIpID8gdGFnUHJvcGVydHkgPSBzcGVjaWFsVGFnUHJvcGVydGllc1tcImVtYWlsLXdpdGgtbGlzdFwiXSA6IHRhZ1Byb3BlcnR5ID0gc3BlY2lhbFRhZ1Byb3BlcnRpZXNbXCJlbWFpbC1uby1saXN0XCJdO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2FzZSBcInNlYXJjaFwiOlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIENvbW1vblV0aWwuYXR0cmlidXRlTm9uRW1wdHkocnVsZUNvbnRleHQsIFwibGlzdFwiKSA/IHRhZ1Byb3BlcnR5ID0gc3BlY2lhbFRhZ1Byb3BlcnRpZXNbXCJzZWFyY2gtd2l0aC1saXN0XCJdIDogdGFnUHJvcGVydHkgPSBzcGVjaWFsVGFnUHJvcGVydGllc1tcInNlYXJjaC1uby1saXN0XCJdO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2FzZSBcInRlbFwiOlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIENvbW1vblV0aWwuYXR0cmlidXRlTm9uRW1wdHkocnVsZUNvbnRleHQsIFwibGlzdFwiKSA/IHRhZ1Byb3BlcnR5ID0gc3BlY2lhbFRhZ1Byb3BlcnRpZXNbXCJ0ZWwtd2l0aC1saXN0XCJdIDogdGFnUHJvcGVydHkgPSBzcGVjaWFsVGFnUHJvcGVydGllc1tcInRlbC1uby1saXN0XCJdO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2FzZSBcInRleHRcIjpcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBDb21tb25VdGlsLmF0dHJpYnV0ZU5vbkVtcHR5KHJ1bGVDb250ZXh0LCBcImxpc3RcIikgPyB0YWdQcm9wZXJ0eSA9IHNwZWNpYWxUYWdQcm9wZXJ0aWVzW1widGV4dC13aXRoLWxpc3RcIl0gOiB0YWdQcm9wZXJ0eSA9IHNwZWNpYWxUYWdQcm9wZXJ0aWVzW1widGV4dC1uby1saXN0XCJdO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2FzZSBcInVybFwiOlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIENvbW1vblV0aWwuYXR0cmlidXRlTm9uRW1wdHkocnVsZUNvbnRleHQsIFwibGlzdFwiKSA/IHRhZ1Byb3BlcnR5ID0gc3BlY2lhbFRhZ1Byb3BlcnRpZXNbXCJ1cmwtd2l0aC1saXN0XCJdIDogdGFnUHJvcGVydHkgPSBzcGVjaWFsVGFnUHJvcGVydGllc1tcInVybC1uby1saXN0XCJdO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBkZWZhdWx0XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgQ29tbW9uVXRpbC5hdHRyaWJ1dGVOb25FbXB0eShydWxlQ29udGV4dCwgXCJsaXN0XCIpID8gdGFnUHJvcGVydHkgPSBzcGVjaWFsVGFnUHJvcGVydGllc1tcImRlZmF1bHQtd2l0aC1saXN0XCJdIDogdGFnUHJvcGVydHkgPSBzcGVjaWFsVGFnUHJvcGVydGllc1tcImRlZmF1bHQtbm8tbGlzdFwiXTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gZGVmYXVsdCB0eXBlIGlzIHRoZSBzYW1lIGFzIHR5cGU9dGV4dFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIENvbW1vblV0aWwuYXR0cmlidXRlTm9uRW1wdHkocnVsZUNvbnRleHQsIFwibGlzdFwiKSA/IHRhZ1Byb3BlcnR5ID0gc3BlY2lhbFRhZ1Byb3BlcnRpZXNbXCJ0ZXh0LXdpdGgtbGlzdFwiXSA6IHRhZ1Byb3BlcnR5ID0gc3BlY2lhbFRhZ1Byb3BlcnRpZXNbXCJ0ZXh0LW5vLWxpc3RcIl07XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICAgICAgY2FzZSBcImxpXCI6XG4gICAgICAgICAgICAgICAgICAgICAgICBzcGVjaWFsVGFnUHJvcGVydGllcyA9IEFSSUFEZWZpbml0aW9ucy5kb2N1bWVudENvbmZvcm1hbmNlUmVxdWlyZW1lbnRTcGVjaWFsVGFnc1tcImxpXCJdO1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHJ1bGVDb250ZXh0LnBhcmVudEVsZW1lbnQgJiYgQXJpYVV0aWwuaGFzUm9sZUluU2VtYW50aWNzKHJ1bGVDb250ZXh0LnBhcmVudEVsZW1lbnQsIFwibGlzdFwiKSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0YWdQcm9wZXJ0eSA9IHNwZWNpYWxUYWdQcm9wZXJ0aWVzW1wiY2hpbGQtb2YtbGlzdC1yb2xlXCJdO1xuICAgICAgICAgICAgICAgICAgICAgICAgZWxzZVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRhZ1Byb3BlcnR5ID0gc3BlY2lhbFRhZ1Byb3BlcnRpZXNbXCJuby1jaGlsZC1vZi1saXN0LXJvbGVcIl07XG4gICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICAgICAgY2FzZSBcInNlY3Rpb25cIjpcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vbmFtZSA9IEFSSUFNYXBwZXIuY29tcHV0ZU5hbWUocnVsZUNvbnRleHQpO1xuICAgICAgICAgICAgICAgICAgICAgICAgLy9pZiAobmFtZSAmJiBuYW1lLnRyaW0oKS5sZW5ndGggPiAwKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBjb25zdCBsYWJlbCA9IEFyaWFVdGlsLmdldEFyaWFMYWJlbChydWxlQ29udGV4dCk7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoKGxhYmVsICYmIGxhYmVsLnRyaW0oKS5sZW5ndGggPiAwKSB8fCBDb21tb25VdGlsLmF0dHJpYnV0ZU5vbkVtcHR5KHJ1bGVDb250ZXh0LCBcInRpdGxlXCIpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGFnUHJvcGVydHkgPSBzcGVjaWFsVGFnUHJvcGVydGllc1tcIndpdGgtbmFtZVwiXTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGFnUHJvcGVydHkgPSBzcGVjaWFsVGFnUHJvcGVydGllc1tcIndpdGhvdXQtbmFtZVwiXTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICBjYXNlIFwic2VsZWN0XCI6XG4gICAgICAgICAgICAgICAgICAgICAgICBzcGVjaWFsVGFnUHJvcGVydGllcyA9IEFSSUFEZWZpbml0aW9ucy5kb2N1bWVudENvbmZvcm1hbmNlUmVxdWlyZW1lbnRTcGVjaWFsVGFnc1tcInNlbGVjdFwiXTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChydWxlQ29udGV4dC5oYXNBdHRyaWJ1dGUoXCJtdWx0aXBsZVwiKSB8fFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIENvbW1vblV0aWwuYXR0cmlidXRlTm9uRW1wdHkocnVsZUNvbnRleHQsIFwic2l6ZVwiKSAmJiBydWxlQ29udGV4dC5nZXRBdHRyaWJ1dGUoXCJzaXplXCIpID4gMSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0YWdQcm9wZXJ0eSA9IHNwZWNpYWxUYWdQcm9wZXJ0aWVzW1wibXVsdGlwbGUtYXR0ci1zaXplLWd0MVwiXTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGVsc2VcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0YWdQcm9wZXJ0eSA9IHNwZWNpYWxUYWdQcm9wZXJ0aWVzW1wibm8tbXVsdGlwbGUtYXR0ci1zaXplLWd0MVwiXTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICBjYXNlIFwic3VtbWFyeVwiOlxuICAgICAgICAgICAgICAgICAgICAgICAgc3BlY2lhbFRhZ1Byb3BlcnRpZXMgPSBBUklBRGVmaW5pdGlvbnMuZG9jdW1lbnRDb25mb3JtYW5jZVJlcXVpcmVtZW50U3BlY2lhbFRhZ3NbXCJzdW1tYXJ5XCJdO1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHJ1bGVDb250ZXh0LnBhcmVudEVsZW1lbnQgJiYgcnVsZUNvbnRleHQucGFyZW50RWxlbWVudC5ub2RlTmFtZS50b0xvd2VyQ2FzZSgpID09PSAnZGV0YWlscydcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAmJiBET01VdGlsLnNhbWVOb2RlKFsuLi5ydWxlQ29udGV4dC5wYXJlbnRFbGVtZW50LmNoaWxkcmVuXS5maWx0ZXIoZWxlbSA9PiBlbGVtLm5vZGVOYW1lLnRvTG93ZXJDYXNlKCkgPT09ICdzdW1tYXJ5JylbMF0sIHJ1bGVDb250ZXh0KSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0YWdQcm9wZXJ0eSA9IHNwZWNpYWxUYWdQcm9wZXJ0aWVzW1wiZmlyc3Qtc3VtbWFyeS1vZi1kZXRhaWxcIl07XG4gICAgICAgICAgICAgICAgICAgICAgICBlbHNlXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGFnUHJvcGVydHkgPSBzcGVjaWFsVGFnUHJvcGVydGllc1tcIm5vLWZpcnN0LXN1bW1hcnktb2YtZGV0YWlsXCJdO1xuICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgICAgIGNhc2UgXCJ0Ym9keVwiOlxuICAgICAgICAgICAgICAgICAgICBjYXNlIFwidGRcIjpcbiAgICAgICAgICAgICAgICAgICAgY2FzZSBcInRyXCI6XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoQXJpYVV0aWwuZ2V0QW5jZXN0b3JXaXRoUm9sZShydWxlQ29udGV4dCwgXCJ0YWJsZVwiLCB0cnVlKSAhPT0gbnVsbCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRhZ1Byb3BlcnR5ID0gc3BlY2lhbFRhZ1Byb3BlcnRpZXNbXCJkZXMtdGFibGVcIl07XG4gICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIEFyaWFVdGlsLmdldEFuY2VzdG9yV2l0aFJvbGUocnVsZUNvbnRleHQsIFwiZ3JpZFwiLCB0cnVlKSB8fCBBcmlhVXRpbC5nZXRBbmNlc3RvcldpdGhSb2xlKHJ1bGVDb250ZXh0LCBcInRyZWVncmlkXCIsIHRydWUpID8gdGFnUHJvcGVydHkgPSBzcGVjaWFsVGFnUHJvcGVydGllc1tcImRlcy1ncmlkXCJdIDogdGFnUHJvcGVydHkgPSBzcGVjaWFsVGFnUHJvcGVydGllc1tcImRlcy1vdGhlclwiXTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICBjYXNlIFwidGhcIjpcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChBcmlhVXRpbC5nZXRBbmNlc3RvcldpdGhSb2xlKHJ1bGVDb250ZXh0LCBcInRhYmxlXCIsIHRydWUpICE9PSBudWxsIHx8IEFyaWFVdGlsLmdldEFuY2VzdG9yV2l0aFJvbGUocnVsZUNvbnRleHQsIFwiZ3JpZFwiLCB0cnVlKSAhPT0gbnVsbCB8fCBBcmlhVXRpbC5nZXRBbmNlc3RvcldpdGhSb2xlKHJ1bGVDb250ZXh0LCBcInRyZWVncmlkXCIsIHRydWUpICE9PSBudWxsKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY29uc3Qgc2NvcGUgPSBDb21tb25VdGlsLmdldFNjb3BlRm9yVGgocnVsZUNvbnRleHQpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChzY29wZSA9PT0gJ2NvbHVtbicpIHRhZ1Byb3BlcnR5ID0gc3BlY2lhbFRhZ1Byb3BlcnRpZXNbXCJkZXMtdGFibGUtZ3JpZC10cmVlZ3JpZC1jb2x1bW4tc2NvcGVcIl07XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZWxzZSB0YWdQcm9wZXJ0eSA9IHNwZWNpYWxUYWdQcm9wZXJ0aWVzW1wiZGVzLXRhYmxlLWdyaWQtdHJlZWdyaWQtcm93LXNjb3BlXCJdO1xuICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0YWdQcm9wZXJ0eSA9IHNwZWNpYWxUYWdQcm9wZXJ0aWVzW1wiZGVzLW90aGVyXCJdO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgICAgIGNhc2UgXCJkaXZcIjpcbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCBwcnQgPSBydWxlQ29udGV4dC5wYXJlbnRFbGVtZW50O1xuICAgICAgICAgICAgICAgICAgICAgICAgcHJ0ICE9PSBudWxsICYmIHBydC5ub2RlTmFtZS50b0xvd2VyQ2FzZSgpID09PSAnZGwnID8gdGFnUHJvcGVydHkgPSBzcGVjaWFsVGFnUHJvcGVydGllc1tcImNoaWxkLWRsXCJdIDogdGFnUHJvcGVydHkgPSBzcGVjaWFsVGFnUHJvcGVydGllc1tcIm5vLWNoaWxkLWRsXCJdO1xuICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgICAgIGRlZmF1bHQ6XG4gICAgICAgICAgICAgICAgICAgICAgICB0YWdQcm9wZXJ0eSA9IEFSSUFEZWZpbml0aW9ucy5kb2N1bWVudENvbmZvcm1hbmNlUmVxdWlyZW1lbnRTcGVjaWFsVGFnc1tcImRlZmF1bHRcIl0gYXMgSURvY3VtZW50Q29uZm9ybWFuY2VSZXF1aXJlbWVudDtcbiAgICAgICAgICAgICAgICB9IC8vc3dpdGNoXG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgQ2FjaGVVdGlsLnNldENhY2hlKHJ1bGVDb250ZXh0LCBcIkFyaWFVdGlsX0VsZW1lbnRBcmlhUHJvcGVydHlcIiwgdGFnUHJvcGVydHkpO1xuICAgICAgICByZXR1cm4gdGFnUHJvcGVydHkgfHwgbnVsbDtcbiAgICB9XG5cbiAgICBwdWJsaWMgc3RhdGljIGdldEFsbG93ZWRBcmlhUm9sZXMocnVsZUNvbnRleHQsI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lcyk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcHJvcGVydGllcyA9IEFyaWFVdGlsLmdldFJvbGVSZXF1aXJlZFByb3BlcnRpZXModGFnUHJvcGVydHkuaW1wbGljaXRSb2xlW2ldLCBydWxlQ29udGV4dCk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgQ29tbW9uVXRpbC5jb25jYXRVbmlxdWVBcnJheUl0ZW1MaXN0KHByb3BlcnRpZXMsIGFsbG93ZWRBdHRyaWJ1dGVzKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgcHJvaGliaXRlZFByb3BzID0gcm9sZVByb3BlcnR5LnByb2hpYml0ZWRQcm9wcztcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAocHJvaGliaXRlZFByb3BzICYmIHByb2hpYml0ZWRQcm9wcy5sZW5ndGggPiAwKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBDb21tb25VdGlsLmNvbmNhdFVuaXF1ZUFycmF5SXRlbUxpc3QocHJvaGliaXRlZFByb3BzLCBwcm9oaWJpdGVkQXR0cmlidXRlcyk7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBzcGVjaWFsIGNhc2Ugb2Ygc2VwYXJhdG9yXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHRhZ1Byb3BlcnR5LmltcGxpY2l0Um9sZVtpXSA9PT0gXCJzZXBhcmF0b3JcIiAmJiBDb21tb25VdGlsLmlzRm9jdXNhYmxlKHJ1bGVDb250ZXh0KSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBDb21tb25VdGlsLmNvbmNhdFVuaXF1ZUFycmF5SXRlbUxpc3QoW1wiYXJpYS1kaXNhYmxlZFwiLCBcImFyaWEtdmFsdWVub3dcIiwgXCJhcmlhLXZhbHVlbWF4XCIsIFwiYXJpYS12YWx1ZW1pblwiLCBcImFyaWEtdmFsdWV0ZXh0XCJdLCBhbGxvd2VkQX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pYnV0ZXMgJiYgdGFnUHJvcGVydHkub3RoZXJBbGxvd2VkQXJpYUF0dHJpYnV0ZXMubGVuZ3RoID4gMCkge1xuICAgICAgICAgICAgICAgIC8vIGNoZWNrIGF0dHJpYnV0ZS12YWx1ZSBwYWlyIGlmIGV4aXN0c1xuICAgICAgICAgICAgICAgIGxldCBhbGxvd2VkID0gW107XG4gICAgICAgICAgICAgICAgZm9yIChsZXQgcCA9IDA7IHAgPCB0YWdQcm9wZXJ0eS5vdGhlckFsbG93ZWRBcmlhQXR0cmlidXRlcy5sZW5ndGg7IHArKykge1xuICAgICAgICAgICAgICAgICAgICBjb25zdCBhdHRyID0gdGFnUHJvcGVydHkub3RoZXJBbGxvd2VkQXJpYUF0dHJpYnV0ZXNbcF07XG4gICAgICAgICAgICAgICAgICAgIGlmIChhdHRyLmluY2x1ZGVzKFwiPVwiKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgY29uc3QgcGFpciA9IGF0dHIuc3BsaXQoXCI9XCIpO1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHJ1bGVDb250ZXh0LmdldEF0dHJpYnV0ZShwYWlyWzBdKSA9PT0gcGFpclsxXSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBhbGxvd2VkLnB1c2gocGFpclswXSk7XG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZVxuICAgICAgICAgICAgICAgICAgICAgICAgYWxsb3dlZC5wdXNoKGF0dHIpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBpZiAoYWxsb3dlZC5sZW5ndGggPiAwKVxuICAgICAgICAgICAgICAgICAgICBDb21tb25VdGlsLmNvbmNhdFVuaXF1ZUFycmF5SXRlbUxpc3QoYWxsb3dlZCwgYWxsb3dlZEF0dHJpYnV0ZXMpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgLy8gYWRkIHRoZSBvdGhlciBwcm9oaWJpdHRlZCBhdHRyaWJ1dGVzIGZvciB0aGUgZWxlb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ApIHJldHVybiBudWxsO1xuICAgICAgICAgICAgICAgIGNvbmNlcm5UeXBlcyA9IGV4aXN0LmNvbmZsaWN0O1xuICAgICAgICAgICAgfSBlbHNlIGlmICh0eXBlID09PSAnb3ZlcmxhcHBpbmcnKSB7XG4gICAgICAgICAgICAgICAgaWYgKCFleGlzdC5vdmVybGFwcGluZyB8fCBPYmplY3Qua2V5cyhleGlzdC5vdmVybGFwcGluZykubGVuZ3RoID09PSAwKSByZXR1cm4gbnVsbDtcbiAgICAgICAgICAgICAgICBjb25jZXJuVHlwZXMgPSBleGlzdC5vdmVybGFwcGluZztcbiAgICAgICAgICAgIH0gZWxzZVxuICAgICAgICAgICAgICAgIHJldHVybiBudWxsO1xuXG4gICAgICAgICAgICBsZXQgYXBwbGljYWJsZSA9IGZhbHNlO1xuICAgICAgICAgICAgbGV0IGZhaWwgPSBmYWxzZTtcbiAgICAgICAgICAgIGZvciAobGV0IGsgPSAwOyBrIDwgY29uY2VyblR5cGVzLmxlbmd0aDsgaysrKSB7XG4gICAgICAgICAgICAgICAgbGV0IGNvbmNlcm5BcmlhVmFsdWUgPSBjb25jZXJuVHlwZXNba10uYXJpYUF0dHJpYnV0ZVZhbHVlO1xuICAgICAgICAgICAgICAgIGxldCBjb25jZXJuSHRtbE5hbWVzID0gY29uY2VyblR5cGVzW2tdLmh0bWxBdHRyaWJ1dGVOYW1lcztcbiAgICAgICAgICAgICAgICBsZXQgY29uY2Vybkh0bWxWYWx1ZXMgPSBjb25jZXJuVHlwZXNba10uaHRtbEF0dHJpYnV0ZVZhbHVlcztcblxuICAgICAgICAgICAgICAgIGZvciAobGV0IGkgPSAwOyBpIDwgaHRtbEF0dHJzLmxlbmd0aDsgaSsrKSB7XG4gICAgICAgICAgICAgICAgICAgIGxldCBpbmRleCA9IGNvbmNlcm5IdG1sTmFtZXMuaW5kZXhPZihodG1sQXR0cnNbaV1bJ25hbWUnXSk7XG4gICAgICAgICAgICAgICAgICAgIGlmIChpbmRleCAhPT0gLTEpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGFwcGxpY2FibGUgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGh0bWxWYWx1ZXNJbkNvbmNlcm4gPSAoY29uY2Vybkh0bWxWYWx1ZXMgPT09IG51bGwgfHwgY29uY2Vybkh0bWxWYWx1ZXNbaW5kZXhdID09PSBudWxsKSA/IG51bGwgOiBjb25jZXJuSHRtbFZhbHVlc1tpbmRleF0uc3BsaXQoXCIsXCIpO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoY29uY2VybkFyaWFWYWx1ZSA9PT0gbnVsbCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChodG1sVmFsdWVzSW5Db25jZXJuID09PSBudWxsKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGV4YW1pbmVkSHRtbEF0ck5hbWVzLnB1c2goeyByZXN1bHQ6ICdGYWlsZWQnLCAnYXR0cic6IGh0bWxBdHRyc1tpXVsnbmFtZSddIH0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmYWlsID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKGh0bWxWYWx1ZXNJbkNvbmNlcm4uaW5jbHVkZXMoaHRtbEF0dHJzW2ldWyd2YWx1ZSddKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBleGFtaW5lZEh0bWxBdHJOYW1lcy5wdXNoKHsgcmVzdWx0OiAnRmFpbGVkJywgJ2F0dHInOiBodG1sQXR0cnNbaV1bJ25hbWUnXSB9KTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZmFpbCA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmIChodG1sVmFsdWVzSW5Db25jZXJuID09PSBudWxsKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGNvbmNlcm5BcmlhVmFsdWUgPT09IGFyaWFBdHRyWyd2YWx1ZSddKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGV4YW1pbmVkSHRtbEF0ck5hbWVzLnB1c2goeyByZXN1bHQ6ICdGYWlsZWQnLCAnYXR0cic6IGh0bWxBdHRyc1tpXVsnbmFtZSddIH0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmYWlsID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKGNvbmNlcm5BcmlhVmFsdWUgPT09ICdWQUxVRScgJiYgaHRtbFZhbHVlc0luQ29uY2Vybi5pbmNsdWRlcygnVkFMVUUnKSAmJiBodG1sVmFsdWVzSW5Db25jZXJuWzBdICE9PSBhcmlhQXR0clsndmFsdWUnXSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGV4YW1pbmVkSHRtbEF0ck5hbWVzLnB1c2goeyByZXN1bHQ6ICdGYWlsZWQnLCAnYXR0cic6IGh0bWxBdHRyc1tpXVsnbmFtZSddIH0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZhaWwgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmIChjb25jZXJuQXJpYVZhbHVlID09PSBhcmlhQXR0clsndmFsdWUnXSAmJiBodG1sVmFsdWVzSW5Db25jZXJuLmluY2x1ZGVzKGh0bWxBdHRyc1tpXVsndmFsdWUnXSkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBleGFtaW5lZEh0bWxBdHJOYW1lcy5wdXNoKHsgcmVzdWx0OiAnRmFpbGVkJywgJ2F0dHInOiBodG1sQXR0cnNbaV1bJ25hbWUnXSB9KTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBmYWlsID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICAgICAgICA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GlmICh0eXBlb2YgZWxlbWVudC5tYXRjaGVzID09PSBcImZ1bmN0aW9uXCIpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gZWxlbWVudC5tYXRjaGVzKHNlbGVjdG9yKTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgaWYgKHR5cGVvZiBlbGVtZW50Lm1hdGNoZXNTZWxlY3RvciA9PT0gXCJmdW5jdGlvblwiKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIGVsZW1lbnQubWF0Y2hlc1NlbGVjdG9yKHNlbGVjdG9yKTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgLy8gTmF0aXZlIGZ1bmN0aW9ucyBub3QgdGhlcmUsIGZhbGxiYWNrXG4gICAgICAgICAgICBsZXQgbWF0Y2hlcyA9IChcbiAgICAgICAgICAgICAgICBlbGVtZW50LmRvY3VtZW50IHx8IGVsZW1lbnQub3duZXJEb2N1bWVudFxuICAgICAgICAgICAgKS5xdWVyeVNlbGVjdG9yQWxsKHNlbGVjdG9yKTtcbiAgICAgICAgICAgIGxldCBpID0gMDtcblxuICAgICAgICAgICAgd2hpbGUgKGkgPCBtYXRjaGVzLmxlbmd0aCAmJiBtYXRjaGVzW2ldICE9PSBlbGVtZW50KSB7XG4gICAgICAgICAgICAgICAgKytpO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICByZXR1cm4gaSA8IG1hdGNoZXMubGVuZ3RoO1xuICAgICAgICB9IGNhdGNoIChlcnIpIHtcbiAgICAgICAgICAgIC8vIEJhZCBzZWxlY3Rvcj8gRG9lc24ndCBtYXRjaCB0aGVuLi4uXG4gICAgICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiBSZXR1cm5zIHRoZSBzdHlsZSBjb21wdXRlZCBmb3IgdGhpcyBlbGVtZW50XG4gICAgICogQHBhcmFtIGVsZW1cbiAgICAgKi9cbiAgICBwdWJsaWMgc3Rhd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JbmRleF0gPT09IFwiYWxsXCIgJiYgc3R5bGVbc3R5bGVbc0luZGV4XV0pIHtcbiAgICAgICAgICAgICAgICAgICAgZm9yIChjb25zdCBtYXAgb2YgbWFwcykge1xuICAgICAgICAgICAgICAgICAgICAgICAgZm9yIChjb25zdCBrZXkgaW4gbWFwKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZGVsZXRlIG1hcFtrZXldO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IGtleSA9IHN0eWxlW3NJbmRleF07XG4gICAgICAgICAgICAgICAgICAgIGZvciAoY29uc3QgbWFwIG9mIG1hcHMpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCBwcmlvcml0eSA9IHN0eWxlLmdldFByb3BlcnR5UHJpb3JpdHkoa2V5KTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChrZXkgaW4gbWFwICYmIG1hcFtrZXldLmVuZHNXaXRoKFwiIWltcG9ydGFudFwiKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcHJpb3JpdHkgPT09IFwiaW1wb3J0YW50XCIgJiZcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIW1hcFtrZXldLnN0YXJ0c1dpdGgoXCJpbmhlcml0XCIpICYmXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICFtYXBba2V5XS5zdGFydHNXaXRoKFwidW5zZXRcIilcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vb3ZlcnJpZGUgIWltcG9ydGFudCBvbmx5IGlmIGl0IGlzIGFsc28gIWltcG9ydGFudFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBtYXBba2V5XSA9IHN0eWxlW2tleV0gKyBcIiAhaW1wb3J0YW50XCI7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLy9kb24ndCBvdmVycmlkZSAhaW1wb3J0YW50IGlmIGl0IGlzIG5vdCAhaW1wb3J0YW50XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZWxzZSBjb250aW51ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIC8vY3JlYXRlL292ZXJpZGUgYW55d2F5XG4gICAgICAgICAgICAgICAgICAgICAgICBlbHNlXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbWFwW2tleV0gPVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzdHlsZVtrZXldICtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKHByaW9yaXR5ID09PSBcImltcG9ydGFudFwiID8gXCIgIWltcG9ydGFudFwiIDogXCJcIik7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICBsZXQgc3RvcmVkU3R5bGVzID0gQ2FjaGVVdGlsLmdldENhY2hlKGVsZW0sIFwiUlBUVXRpbF9EZWZpbmVkU3R5bGVzXCIsIG51bGwpO1xuICAgICAgICBpZiAoIXBzZXVkb0NsYXNzICYmIHN0b3JlZFN0eWxlcykge1xuICAgICAgICAgICAgZGVmaW5lZFN0eWxlcyA9IHN0b3JlZFN0eWxlc1tcImRlZmluZWRTdHlsZXNcIl07XG4gICAgICAgICAgICBkZWZpbmVkU3R5bGVQc2V1ZG8gPSBzdG9yZWRTdHlsZXNbXCJkZWZpbmVkU3R5bGVQc2V1ZG9cIl07XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAvLyBJdGVyYXRlIHRocm91Z2ggYWxsIG9mIHRoZSBzdHlsZXNoZWV0cyBhbmQgcnVsZXNcbiAgICAgICAgICAgIGZvciAoXG4gICAgICAgICAgICAgICAgbGV0IHNzSW5kZXggPSAwO1xuICAgICAgICAgICAgICAgIHNzSW5kZXggPCBlbGVtLm93bmVyRG9jdW1lbnQuc3R5bGVTaGVldHMubGVuZ3RoO1xuICAgICAgICAgICAgICAgICsrc3NJbmRleFxuICAgICAgICAgICAgKSB7XG4gICAgICAgICAgICAgICAgY29uc3Qgc2hlZXQgPSBlbGVtLm93bmVyRG9jdW1lbnQuc3R5bGVTaGVldHNbXG4gICAgICAgICAgICAgICAgICAgIHNzSW5kZXhcbiAgICAgICAgICAgICAgICBdIGFzIENTU1N0eWxlU2hlZXQ7XG4gICAgICAgICAgICAgICAgdHJ5IHtcbiAgICAgICAgICAgICAgICAgICAgaWYgKHNoZWV0ICYmIHNoZWV0LmNzc1J1bGVzKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAvLyBjb25zb2xlLmxvZyhcIkdvdCBzaGVldFwiKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGZvciAoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHJJbmRleCA9IDA7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgckluZGV4IDwgc2hlZXQuY3NzUnVsZXMubGVuZ3RoO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICsrckluZGV4XG4gICAgICAgICAgICAgICAgICAgICAgICApIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBjb25zb2xlLmxvZyhcIkdvdCBydWxlOiBcIiwgc2hlZXQuY3NzUnVsZXNbckluZGV4XSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY29uc3QgcnVsZSA9IHNoZWV0LmNzc1J1bGVzW3JJbmRleF0gYXMgQ1NTU3R5bGVSdWxlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IGZ1bGxSdWxlU2VsZWN0b3IgPSBydWxlLnNlbGVjdG9yVGV4dDtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoZnVsbFJ1bGVTZWxlY3Rvcikge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb25zdCBwc2V1ZG9NYXRjaCA9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmdWxsUnVsZVNlbGVjdG9yLm1hdGNoKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC9eKC4qKSg6W2EtekEtWi1dKikkL1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29uc3QgaGFzUHNldWRvQ2xhc3MgPSAhIXBzZXVkb01hdGNoO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgc2VsTWFpbiA9IGhhc1BzZXVkb0NsYXNzXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA/IHBzZXVkb01hdGNoWzFdXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA6IGZ1bGxSdWxlU2VsZWN0b3I7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IHNlbFBzZXVkbyA9IGhhc1BzZXVkb0NsYXNzXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA/IHBzZXVkb01hdGNoWzJdXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA6IFwiXCI7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IHNhbWVQc2V1ZG9DbGFzcyA9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzZWxQc2V1ZG8gPT09IHBzZXVkb0NsYXNzO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAocHNldWRvQ2xhc3MgJiYgcHNldWRvQ2xhc3MgPT09IFwiOmZvY3VzXCIpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIElmIHRoaXMgZWxlbWVudCBoYXMgZm9jdXMsIHJlbW92ZSBmb2N1cy13aXRoaW4gZnJvbSBwYXJlbnRzXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzZWxNYWluID0gc2VsTWFpbi5yZXBsYWNlKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8oWyA+XVteK34gPl0rKTpmb2N1cy13aXRoaW4vZyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcIiQxXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBHZXQgc3R5bGVzIG9mIG5vbi1wc2V1ZG8gc2VsZWN0b3JzXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICFoYXNQc2V1ZG9DbGFzcyAmJlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgQ1NTVXRpbC5zZWxlY3Rvck1hdGNoZXNFbGVtKGVsZW0sIHNlbE1haW4pXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZmlsbFN0eWxlKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtkZWZpbmVkU3R5bGVzLCBkZWZpbmVkU3R5bGVQc2V1ZG9dLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJ1bGUuc3R5bGVcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzYW1lUHNldWRvQ2xhc3MgJiZcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIENTU1V0aWwuc2VsZWN0b3JNYXRjaGVzRWxlbShlbGVtLCBzZWxNYWluKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICApIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZpbGxTdHlsZShbZGVmaW5lZFN0eWxlUHNldWRvXSwgcnVsZS5zdHlsZSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9IGNhdGNoIChlcnIpIHtcbiAgICAgICAgICAgICAgICAgICAgaWYgKFxuICAgICAgICAgICAgICAgICAgICAgICAgIWVyci50b1N0cmluZygpLmluY2x1ZGVzKFwiQ2Fubm90IGFjY2VzcyBydWxlc1wiKSAmJlxuICAgICAgICAgICAgICAgICAgICAgICAgIWVyci50b1N0cmluZygpLmluY2x1ZGVzKFwiU2VjdXJpdHlFcnJvcjpcIilcbiAgICAgICAgICAgICAgICAgICAgKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aHJvdyBlcnI7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICAvL1xuXG4gICAgICAgICAgICAvLyBIYW5kbGVkIHRoZSBzdHlsZXNoZWV0cywgbm93IGhhbmRsZSB0aGUgZWxlbWVudCBkZWZpbmVkIHN0eWxlc1xuICAgICAgICAgICAgZmlsbFN0eWxlKFtkZWZpbmVkU3R5bGVzLCBkZWZpbmVkU3R5bGVQc2V1ZG9dLCBlbGVtLnN0eWxlKTtcbiAgICAgICAgICAgIENhY2hlVXRpbC5zZXRDYWNoZShlbGVtLCBcIlJQVFV0aWxfRGVmaW5lZFN0eWxlc1wiLCB7XG4gICAgICAgICAgICAgICAgZGVmaW5lZFN0eWxlcyxcbiAgICAgICAgICAgICAgICBkZWZpbmVkU3R5bGVQc2V1ZG8sXG4gICAgICAgICAgICB9KTtcbiAgICAgICAgfVxuICAgICAgICAvKipcbiAgICAgKiAnaW5pdGlhbCcgc2V0cyB0aGUgc3R5bGUgYmFjayB0byBkZWZhdWx0XG4gICAgZm9yIChjb25zdCBrZXkgaW4gZGVmaW5lZFN0eWxlcykge1xuICAgICAgICBpZiAoZGVmaW5lZFN0eWxlc1trZXldID09PSBcImluaXRpYWxcIikge1xuICAgICAgICAgICAgZGVsZXRlIGRlZmluZWRTdHlsZXNba2V5XTtcbiAgICAgICAgfVxuICAgIH1cbiAgICBmb3IgKGNvbnN0IGtleSBpbiBkZWZpbmVkU3R5bGVQc2V1ZG8pIHtcbiAgICAgICAgaWYgKGRlZmluZWRTdHlsZVBzZXVkb1trZXldID09PSBcImluaXRpYWxcIikge1xuICAgICAgICAgICAgZGVsZXRlIGRlZmluZWRTdHlsZVBzZXVkb1trZXldO1xuICAgICAgICB9XG4gICAgfVxuICAgICovXG5cbiAgICAgICAgaWYgKCFwc2V1ZG9DbGFzcykge1xuICAgICAgICAgICAgLy8gY29uc29sZS5sb2coXCJbREVCVUc6IENTU1V0aWw6OmdldERlZmluZWRTdHlsZXNdXCIsIGVsZW0ubm9kZU5hbWUsIHBzZXVkb0NsYXNzLCBKU09OLnN0cmluZ2lmeShkZWZpbmVkU3R5bGVzLCBudWxsLCAyKSk7XG4gICAgICAgICAgICByZXR1cm4gZGVmaW5lZFN0eWxlcztcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIGZvciAoY29uc3Qga2V5IGluIGRlZmluZWRTdHlsZVBzZXVkbykge1xuICAgICAgICAgICAgICAgIGlmIChkZWZpbmVkU3R5bGVQc2V1ZG9ba2V5XSA9PT0gZGVmaW5lZFN0eWxlc1trZXldKSB7XG4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ggPCBzaGVldC5jc3NSdWxlcy5sZW5ndGg7ICsrckluZGV4KSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBjb25zdCBzaGVldFJ1bGUgPSBzaGVldC5jc3NSdWxlc1tySW5kZXhdO1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKDQgLyogQ1NTUnVsZS5NRURJQV9SVUxFICovID09PSBzaGVldFJ1bGUuTUVESUFfUlVMRSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IHJ1bGUgPSBzaGVldFJ1bGUgYXMgQ1NTTWVkaWFSdWxlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChydWxlICYmIHJ1bGUubWVkaWEpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29uc3QgbWVkaWFMaXN0ID0gcnVsZS5tZWRpYTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZm9yIChsZXQgaSA9IDA7IGkgPCBtZWRpYUxpc3QubGVuZ3RoOyBpKyspIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmICghbWVkaWFMaXN0Lml0ZW0oaSkpIGNvbnRpbnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGVsZW1fdHJhbnNmb3JtcyA9IG9yaWVudGF0aW9uVHJhbnNmb3Jtc1ttZWRpYUxpc3QuaXRlbShpKS50b0xvY2FsZUxvd2VyQ2FzZSgpXTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmICghZWxlbV90cmFuc2Zvcm1zKSBlbGVtX3RyYW5zZm9ybXMgPSB7fTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBzdHlsZVJ1bGVzID0gcnVsZS5jc3NSdWxlcztcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZvciAobGV0IGkgPSAwOyBpIDwgc3R5bGVSdWxlcy5sZW5ndGg7ICsraSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmICgxIC8qIENTU1J1bGUuU1RZTEVfUlVMRSAqLyA9PT0gc3R5bGVSdWxlc1tpXS5TVFlMRV9SVUxFKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IHN0eWxlUnVsZSA9IHN0eWxlUnVsZXNbaV0gYXMgQ1NTU3R5bGVSdWxlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb25zdCBzZWxlY3RvciA9IHN0eWxlUnVsZS5zZWxlY3RvclRleHQ7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChzZWxlY3Rvcikge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHRyYW5zZm9ybXMgPSB7fTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IHN0eWxlcyA9IHN0eWxlUnVsZS5zdHlsZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZvciAobGV0IHMgPSAwOyBzIDwgc3R5bGVzLmxlbmd0aDsgKytzKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29uc3Qga2V5ID0gc3R5bGVzW3NdO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChrZXkudG9Mb2NhbGVMb3dlckNhc2UoKSA9PT0gXCJ0cmFuc2Zvcm1cIikge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoa2V5ID09PSBcImFsbFwiICYmIHN0eWxlc1trZXldKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBkZWxldGUgdHJhbnNmb3Jtc1trZXldO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0cmFuc2Zvcm1zW2tleV0gPSBzdHlsZXNba2V5XTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoa2V5LnRvTG9jYWxlTG93ZXJDYXNlKCkgPT09IFwicm90YXRlXCIpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdHJhbnNmb3Jtc1trZXldID0gc3R5bGVzW2tleV07XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVsZW1fdHJhbnNmb3Jtc1tzZWxlY3Rvcl0gPVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0cmFuc2Zvcm1zO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChtZWRpYUxpc3QuaXRlbShpKSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgb3JpZW50YXRpb25UcmFuc2Zvcm1zW21lZGlhTGlzdC5pdGVtKGkpLnRvTG9jYWxlTG93ZXJDYXNlKCldID0gZWxlbV90cmFuc2Zvcm1zO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSBjYXRjaCAoZXJyKSB7XG4gICAgICAgICAgICAgICAgaWYgKFxuICAgICAgICAgICAgICAgICAgICAhZXJyLnRvU3RyaW5nKCkuaW5jbHVkZXMoXCJDYW5ub3QgYWNjZXNzIHJ1bGVzXCIpICYmXG4gICAgICAgICAgICAgICAgICAgICFlcnIudG9TdHJpbmcoKS5pbmNsdWRlcyhcIlNlY3VyaXR5RXJyb3I6XCIpXG4gICAgICAgICAgICAgICAgKSB7XG4gICAgICAgICAgICAgICAgICAgIHRocm93IGVycjtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIG9yaWVudGF0aW9uVHJhbnNmb3JtcztcbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiBjb252ZXJ0IGdpdmVuIHJvdGF0aW9uIHRyYW5zZm9ybSBmdW5jdGlvbnMgdG8gdGhlIGRlZ3JlZSB0cmFuc2Zvcm1lZC5cbiAgICAgKiBJZiBtdWx0aXBsZSBmdW5jdGlvbnMgYXJlIGdpdmVuLCB0aGVuIHRoZSBmdW5jdGlvbnMgYXJlIGFwcGxpZWQgbGluZWFybHkgaW4gdGhlIG9yZGVyLlxuICAgICAqICAgcm90YXRpb25fdHJhbnNmb3JtIGZ1bmN0aW9uIGV4YW1wbGU6ICByb3RhdGUoNDVkZWc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CAxLCAxLCA0NWRlZyk7XG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IGxlZnQgPSB0cmFuc2Zvcm1fZnVuY3Rpb24uaW5kZXhPZihcIihcIik7XG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IHJpZ2h0ID0gdHJhbnNmb3JtX2Z1bmN0aW9uLmluZGV4T2YoXCIpXCIpO1xuICAgICAgICAgICAgICAgICAgICBpZiAobGVmdCAhPT0gLTEgJiYgcmlnaHQgIT09IC0xKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBsZXQgbWF0cml4ID0gdHJhbnNmb3JtX2Z1bmN0aW9uLnN1YnN0cmluZyhcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZWZ0ICsgMSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByaWdodFxuICAgICAgICAgICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCB2YWx1ZXM7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAobWF0cml4KSB2YWx1ZXMgPSBtYXRyaXguc3BsaXQoXCIsXCIpO1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHZhbHVlcyAmJiB2YWx1ZXMubGVuZ3RoID09PSA0KSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHJvdGF0aW9uID0gdmFsdWVzWzNdO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmICghcm90YXRpb24pIGNvbnRpbnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJvdGF0aW9uID0gcm90YXRpb24udHJpbSgpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChyb3RhdGlvbi5lbmRzV2l0aChcInR1cm5cIikpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IG51bSA9IHJvdGF0aW9uLnN1YnN0cmluZyhcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDAsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByb3RhdGlvbi5sZW5ndGggLSA0XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG51bSA9IHBhcnNlRmxvYXQobnVtKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKCFpc05hTihudW0pKSBkZWdyZWUgPSBudW0gKiAzNjA7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmIChyb3RhdGlvbi5lbmRzV2l0aChcInJhZFwiKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgbnVtID0gcm90YXRpb24uc3Vic3RyaW5nKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgMCxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJvdGF0aW9uLmxlbmd0aCAtIDNcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbnVtID0gcGFyc2VGbG9hdChudW0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoIWlzTmFOKG51bSkpIGRlZ3JlZSA9IChudW0gKiAxODApIC8gTWF0aC5QSTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKHJvdGF0aW9uLmVuZHNXaXRoKFwiZGVnXCIpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBudW0gPSByb3RhdGlvbi5zdWJzdHJpbmcoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAwLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcm90YXRpb24ubGVuZ3RoIC0gM1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBudW0gPSBwYXJzZUZsb2F0KG51bSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmICghaXNOYU4obnVtKSkgZGVncmVlICs9IG51bTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKFxuICAgICAgICAgICAgICAgICAgICB0cmFuc2Zvcm1fZnVuY3Rpb24uc3RhcnRzV2l0aChcInJvdGF0ZVwiKSB8fFxuICAgICAgICAgICAgICAgICAgICB0cmFuc2Zvcm1fZnVuY3Rpb24uc3RhcnRzV2l0aChcInJvdGF0ZVpcIilcbiAgICAgICAgICAgICAgICApIHtcbiAgICAgICAgICAgICAgICAgICAgLy8gZXhhbXBsZTogcm90YXRlKDQ1ZGVnKTtcbiAgICAgICAgICAgICAgICAgICAgY29uc3QgbGVmdCA9IHRyYW5zZm9ybV9mdW5jdGlvbi5pbmRleE9mKFwiKFwiKTtcbiAgICAgICAgICAgICAgICAgICAgY29uc3QgcmlnaHQgPSB0cmFuc2Zvcm1fZnVuY3Rpb24uaW5kZXhPZihcIilcIik7XG4gICAgICAgICAgICAgICAgICAgIGlmIChsZWZ0ICE9PSAtMSAmJiByaWdodCAhPT0gLTEpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCByb3RhdGlvbiA9IHRyYW5zZm9ybV9mdW5jdGlvbi5zdWJzdHJpbmcoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGVmdCArIDEsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmlnaHRcbiAgICAgICAgICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoIXJvdGF0aW9uKSBjb250aW51ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJvdGF0aW9uID0gcm90YXRpb24udHJpbSgpO1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHJvdGF0aW9uLmVuZHNXaXRoKFwidHVyblwiKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBudW0gPSByb3RhdGlvbi5zdWJzdHJpbmcoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDAsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJvdGF0aW9uLmxlbmd0aCAtIDRcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIG51bSA9IHBhcnNlRmxvYXQobnVtKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoIWlzTmFOKG51bSkpIGRlZ3JlZSA9IG51bSAqIDM2MDtcbiAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAocm90YXRpb24uZW5kc1dpdGgoXCJyYWRcIikpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgbnVtID0gcm90YXRpb24uc3Vic3RyaW5nKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAwLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByb3RhdGlvbi5sZW5ndGggLSAzXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBudW0gPSBwYXJzZUZsb2F0KG51bSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKCFpc05hTihudW0pKSBkZWdyZWUgPSAobnVtICogMTgwKSAvIE1hdGguUEk7XG4gICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKHJvdGF0aW9uLmVuZHNXaXRoKFwiZGVnXCIpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IG51bSA9IHJvdGF0aW9uLnN1YnN0cmluZyhcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgMCxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcm90YXRpb24ubGVuZ3RoIC0gM1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbnVtID0gcGFyc2VGbG9hdChudW0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmICghaXNOYU4obnVtKSkgZGVncmVlICs9IG51bTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAodHJhbnNmb3JtX2Z1bmN0aW9uLnN0YXJ0c1dpdGgoXCJtYXRyaXgzZFwiKSkge1xuICAgICAgICAgICAgICAgICAgICAvLyBjYWxjdWxhdGUgdGhlIHRocmVlIEV1bGVyIGFuZ2xlc1xuICAgICAgICAgICAgICAgICAgICBjb25zdCBsZWZ0ID0gdHJhbnNmb3JtX2Z1bmN0aW9uLmluZGV4T2YoXCIoXCIpO1xuICAgICAgICAgICAgICAgICAgICBjb25zdCByaWdodCA9IHRyYW5zZm9ybV9mdW5jdGlvbi5pbmRleE9mKFwiKVwiKTtcbiAgICAgICAgICAgICAgICAgICAgaWYgKGxlZnQgIT09IC0xICYmIHJpZ2h0ICE9PSAtMSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgbGV0IG1hdHJpeCA9IHRyYW5zZm9ybV9mdW5jdGlvbi5zdWJzdHJpbmcoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGVmdCArIDEsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmlnaHRcbiAgICAgICAgICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICAgICAgICAgICAgICBsZXQgdmFsdWVzID0gbnVsbDtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChtYXRyaXgpIHZhbHVlcyA9IG1hdHJpeC5zcGxpdChcIixcIik7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAodmFsdWVzICE9PSBudWxsKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY29uc3Qgel9hbmdsZSA9IE1hdGguYXRhbjIodmFsdWVzWzRdLCB2YWx1ZXNbNV0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRlZ3JlZSArPSBNYXRoLnJvdW5kKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBNYXRoLnJvdW5kKCh6X2FuZ2xlICogMTgwKSAvIE1hdGguUEkpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAodHJhbnNmb3JtX2Z1bmN0aW9uLnN0YXJ0c1dpdGgoXCJtYXRyaXhcIikpIHtcbiAgICAgICAgICAgICAgICAgICAgLy8gY2FsY3VsYXRlIHRoZSB0aHJlZSBFdWxlciBhbmdsZXNcbiAgICAgICAgICAgICAgICAgICAgY29uc3QgbGVmdCA9IHRyYW5zZm9ybV9mdW5jdGlvbi5pbmRleE9mKFwiKFwiKTtcbiAgICAgICAgICAgICAgICAgICAgY29uc3QgcmlnaHQgPSB0cmFuc2Zvcm1fZnVuY3Rpb24uaW5kZXhPZihcIilcIik7XG4gICAgICAgICAgICAgICAgICAgIGlmIChsZWZ0ICE9PSAtMSAmJiByaWdodCAhPT0gLTEpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCBtYXRyaXggPSB0cmFuc2Zvcm1fZnVuY3Rpb24uc3Vic3RyaW5nKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxlZnQgKyAxLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJpZ2h0XG4gICAgICAgICAgICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHZhbHVlcyA9IG51bGw7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAobWF0cml4KSB2YWx1ZXMgPSBtYXRyaXguc3BsaXQoXCIsXCIpO1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHZhbHVlcyAhPT0gbnVsbCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IHpfYW5nbGUgPSBNYXRoLmF0YW4yKHZhbHVlc1sxXSwgdmFsdWVzWzBdKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBkZWdyZWUgKz0gTWF0aC5yb3VuZChcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgTWF0aC5yb3VuZCgoel9hbmdsZSAqIDE4MCkgLyBNYXRoLlBJKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIHdoaWxlIChkZWdyZWUgPj0gMzYwKSBkZWdyZWUgLT0gMzYwO1xuICAgICAgICB9IGNhdGNoIChlcnIpIHtcbiAgICAgICAgICAgIGNvbnNvbGUubG9nKFwiQ2Fubm90IHJldHJpZXZlIHJvdGF0aW9uIGRlZ3JlZTogXCIgKyBlcnIpO1xuICAgICAgICAgICAgdGhyb3cgZXJyO1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiBkZWdyZWU7XG4gICAgfVxuXG4gICAgLyoqXG4gICAgICogQ29udmVydCBDU1Mgc3R5bGUgc3RyaW5nIHZhbHVlcyB0byBwaXhlbHMuXG4gICAgICpcbiAgICAgKiBAcGFyYW0gdmFsdWUgc3R5bGUgdmFsdWUgaW4gc3RyaW5nLCBzdWNoIGFzIDNyZW0sIDIzMHB4IGV0Yy5cbiAgICAgKiBAcGFyYW0gdGFyZ2V0IGVsZW1lbnQuXG4gICAgICogQHJldHVybiB2YWx1ZSBpbiBwaXhlbHNcbiAgICAgKi9cbiAgICBwdWJsaWMgc3RhdGljIGdldFBpeGVsc0Zyb21TdHlsZSh2YWx1ZSwgZWxlbSkge1xuICAgICAgICBpZiAoIXZhbHVlKSByZXR1cm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YWx1ZSkgPT4gdmFsdWUsXG4gICAgICAgICAgICBjbTogKHZhbHVlKSA9PiB2YWx1ZSAqIDM3LjgsXG4gICAgICAgICAgICBtbTogKHZhbHVlKSA9PiB2YWx1ZSAqIDMuNzgsXG4gICAgICAgICAgICBxOiAodmFsdWUpID0+IHZhbHVlICogMC45NSxcbiAgICAgICAgICAgIGluOiAodmFsdWUpID0+IHZhbHVlICogOTYsXG4gICAgICAgICAgICBwYzogKHZhbHVlKSA9PiB2YWx1ZSAqIDE2LFxuICAgICAgICAgICAgcHQ6ICh2YWx1ZSkgPT4gdmFsdWUgKiAxLjMzLFxuXG4gICAgICAgICAgICAvLyByZWxhdGl2ZSB1bml0XG4gICAgICAgICAgICByZW06ICh2YWx1ZSkgPT5cbiAgICAgICAgICAgICAgICB2YWx1ZSAqXG4gICAgICAgICAgICAgICAgcGFyc2VGbG9hdChcbiAgICAgICAgICAgICAgICAgICAgZ2V0Q29tcHV0ZWRTdHlsZShcbiAgICAgICAgICAgICAgICAgICAgICAgIGVsZW0ub3duZXJEb2N1bWVudC5kb2N1bWVudEVsZW1lbnRcbiAgICAgICAgICAgICAgICAgICAgKS5nZXRQcm9wZXJ0eVZhbHVlKFwiZm9udC1zaXplXCIpXG4gICAgICAgICAgICAgICAgKSxcbiAgICAgICAgICAgIGVtOiAodmFsdWUpID0+XG4gICAgICAgICAgICAgICAgdmFsdWUgKlxuICAgICAgICAgICAgICAgIHBhcnNlRmxvYXQoXG4gICAgICAgICAgICAgICAgICAgIGdldENvbXB1dGVkU3R5bGUoZWxlbSkuZ2V0UHJvcGVydHlWYWx1ZShcImZvbnQtc2l6ZVwiKVxuICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICB2dzogKHZhbHVlKSA9PlxuICAgICAgICAgICAgICAgICh2YWx1ZSAvIDEwMCkgKiBlbGVtLm93bmVyRG9jdW1lbnQuZGVmYXVsdFZpZXcuaW5uZXJXaWR0aCxcbiAgICAgICAgICAgIHZoOiAodmFsdWUpID0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ycyBhdCBydW4gdGltZS5cbiAgICAgICAgLy9saXN0IG9mIGtub3duIG1hdGVyaWFsIGljb25zIGFuZCBzdHlsZXNoZWV0IGxpbmtcbiAgICAgICAgY29uc3Qga25vd25faWNvbnMgPSB7XG4gICAgICAgICAgICBcIk1hdGVyaWFsIEljb25zXCI6XG4gICAgICAgICAgICAgICAgXCJodHRwczovL2ZvbnRzLmdvb2dsZWFwaXMuY29tL2ljb24/ZmFtaWx5PU1hdGVyaWFsK0ljb25zXCIsXG4gICAgICAgIH07XG4gICAgICAgIGNvbnN0IGtub3duX2Nzc19jbGFzc2VzID0ge1xuICAgICAgICAgICAgXCJtYXRlcmlhbC1pY29uc1wiOlxuICAgICAgICAgICAgICAgIFwiaHR0cHM6Ly9mb250cy5nb29nbGVhcGlzLmNvbS9pY29uP2ZhbWlseT1NYXRlcmlhbCtJY29uc1wiLFxuICAgICAgICB9O1xuXG4gICAgICAgIC8vIG1hdGVyaWFsIGljb24gZm9udCBjYW4gYmUgZGVmaW5lZCBlaXRoZXIgYnkgZm9udC1mYW1pbHk6ICdNYXRlcmlhbCBJY29ucycgb3IgYnkgY2xhc3M9XCJtYXRlcmlhbC1pY29uc1wiXG4gICAgICAgIGxldCBzdHlsZXMgPSBDU1NVdGlsLmdldERlZmluZWRTdHlsZXMoZWxlbSk7XG4gICAgICAgIGxldCBmb250RmFtaWx5ID0gc3R5bGVzW1wiZm9udC1mYW1pbHlcIl07XG5cbiAgICAgICAgbGV0IGZvdW5kID0gZmFsc2U7XG4gICAgICAgIC8vIGZvbnQtZmFtaWx5IHNwZWNpZmllcyBhIHByaW9yaXRpemVkIGxpc3Qgb2Ygb25lIG9yIG1vcmUgZm9udCBmYW1pbHkgbmFtZXNcbiAgICAgICAgaWYgKFxuICAgICAgICAgICAgZm9udEZhbWlseSAmJlxuICAgICAgICAgICAgZm9udEZhbWlseS5zcGxpdChcIixcIilbMF0ucmVwbGFjZSgvWydcIl0rL2csIFwiXCIpLnRyaW0oKSBpbiBrbm93bl9pY29uc1xuICAgICAgICApXG4gICAgICAgICAgICBmb3VuZCA9IHRydWU7XG5cbiAgICAgICAgaWYgKCFmb3VuZCkge1xuICAgICAgICAgICAgbGV0IGxpc3QgPSBlbGVtLmNsYXNzTGlzdDtcbiAgICAgICAgICAgIGZvciAobGV0IGNzc19jbGFzcyBpbiBrbm93bl9jc3NfY2xhc3Nlcykge1xuICAgICAgICAgICAgICAgIGlmIChsaXN0LmNvbnRhaW5zKGNzc19jbGFzcykpIHtcbiAgICAgICAgICAgICAgICAgICAgZm91bmQgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgaWYgKCFmb3VuZCkgcmV0dXJuIGZhbHNlO1xuXG4gICAgICAgIGxldCBwYXNzZWQgPSBmYWxzZTtcbiAgICAgICAgLy8gY2hlY2sgaWYgdGhlIHN0eWxlc2hlZXQgZm9yIHRoZSAnTWF0ZXJpYWwgSWNvbnMnIGV4aXN0cyBzdGF0aWNhbGx5XG4gICAgICAgIGxldCBzaGVldHMgPSBlbGVtLm93bmVyRG9jdW1lbnQuc3R5bGVTaGVldHM7XG4gICAgICAgIGZvciAobGV0IHMgPSAwOyBzIDwgc2hlZXRzLmxlbmd0aDsgcysrKSB7XG4gICAgICAgICAgICBpZiAoXG4gICAgICAgICAgICAgICAgc2hlZXRzICYmXG4gICAgICAgICAgICAgICAgc2hlZXRzLmxlbmd0aCA+IDAgJiZcbiAgICAgICAgICAgICAgICBPYmplY3QudmFsdWVzKGtub3duX2ljb25zKS5pbmRleE9mKHNoZWV0c1tzXS5ocmVmKSA+IC0xXG4gICAgICAgICAgICApIHtcbiAgICAgICAgICAgICAgICBwYXNzZWQgPSB0cnVlO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIHJldHVybiBwYXNzZWQ7XG4gICAgfVxuXG4gICAgcHVibGljIHN0YXRpYyBnZXRXZWlnaHROdW1iZXIoc3R5bGVWYWwpIHtcbiAgICAgICAgbGV0IG1hcCA9IHtcbiAgICAgICAgICAgIGxpZ2h0OiAxMDAsXG4gICAgICAgICAgICBib2xkOiA3MDAsXG4gICAgICAgIH07XG4gICAgICAgIGxldCByZXRWYWwgPSBwYXJzZUludChzdHlsZVZhbCk7XG4gICAgICAgIGlmIChyZXRWYWwpIHJldHVybiByZXRWYWw7XG4gICAgICAgIGlmIChzdHlsZVZhbCBpbiBtYXApIHJldHVybiBtYXBbc3R5bGVWYWxdO1xuICAgICAgICByZXR1cm4gNDAwO1xuICAgIH1cblxuICAgIHB1YmxpYyBzdGF0aWMgZ2V0Rm9udEluUGl4ZWxzKHN0eWxlVmFsLCBlbGVtKSB7XG4gICAgICAgIGxldCBtYXAgPSB7XG4gICAgICAgICAgICBcInh4LXNtYWxsXCI6IDE2LFxuICAgICAgICAgICAgXCJ4LXNtYWxsXCI6IDEwLFxuICAgICAgICAgICAgc21hbGw6IDEzLFxuICAgICAgICAgICAgbWVkaXVtOiAxNixcbiAgICAgICAgICAgIGxhcmdlOiAxOCxcbiAgICAgICAgICAgIFwieC1sYXJnZVwiOiAyNCxcbiAgICAgICAgICAgIFwieHgtbGFyZ2VcIjogMzIsXG4gICAgICAgIH07XG4gICAgICAgIGxldCB2YWx1ZSA9IHBhcnNlRmxvYXQoc3R5bGVWYWwpO1xuICAgICAgICBpZiAoIXZhbHVlKSB7XG4gICAgICAgICAgICByZXR1cm4gbWFwW3N0eWxlVmFsXTtcbiAgICAgICAgfVxuICAgICAgICBsZXQgdW5pdHMgPSBzdHlsZVZhbC5zdWJzdHJpbmcoKFwiXCIgKyB2YWx1ZSkubGVuZ3RoKTtcbiAgICAgICAgLyoqXG4gICAgICAgIGlmICh1bml0cyA9PT0gXCJcIiB8fCB1bml0cyA9PT0gXCJweFwiKSByZXR1cm4gdmFsdWU7XG4gICAgICAgIGlmICh1bml0cyA9PT0gXCJlbVwiKSByZXR1cm4gdmFsdWUgKiAxNjtcbiAgICAgICAgaWYgKHVuaXRzID09PSBcIiVcIikgcmV0dXJuIHZhbHVlIC8gMTAwICogMTY7XG4gICAgICAgIGlmICh1bml0cyA9PT0gXCJwdFwiKSByZXR1cm4gdmFsdWUgKiA0IC8gMztcbiAgICAgICAgcmV0dXJuIE1hdGgucm91bmQodmFsdWUpO1xuICAgICovXG4gICAgICAgIHJldHVybiBDU1NVdGlsLmNvbnZlcnRWYWx1ZTJQaXhlbHModW5pdHMsIHZhbHVlLCBlbGVtKTtcbiAgICB9XG5cbiAgICBwdWJsaWMgc3RhdGljIGdldENTU1N0eWxlKGVsZW1lbnQpIHtcbiAgICAgICAgbGV0IHN0eWxlVGV4dCA9IFwiXCI7XG4gICAgICAgIGlmIChlbGVtZW50ID09PSBudWxsKSByZXR1cm4gW107XG4gICAgICAgIGlmIChlbGVtZW50LklCTV9DU1NfVEhCKSByZXR1cm4gZWxlbWVudC5JQk1fQ1NTX1RIQjtcbiAgICAgICAgbGV0IG5vZGVOYW1lID0gZWxlbWVudC5ub2RlTmFtZS50b0xvd2VyQ2FzZSgpO1xuICAgICAgICBpZiAobm9kZU5hbWUgPT09IFwic3R5bGVcIikge1xuICAgICAgICAgICAgc3R5bGVUZXh0ID0gZWxlbWVudC5pbm5lclRleHQ7XG4gICAgICAgICAgICBpZiAoc3R5bGVUZXh0ID09PSB1bmRlZmluZWQgfHwgc3R5bGVUZXh0LnRyaW0oKSA9PT0gXCJcIilcbiAgICAgICAgICAgICAgICBzdHlsZVRleHQgPSBlbGVtZW50LnRleHRDb250ZW50O1xuICAgICAgICB9IGVsc2UgaWYgKGVsZW1lbnQuaGFzQXR0cmlidXRlKFwic3R5bGVcIikpIHtcbiAgICAgICAgICAgIHN0eWxlVGV4dCA9IGVsZW1lbnQuZ2V0QXR0cmlidXRlKFwic3R5bGVcIik7XG4gICAgICAgIH0gZWxzZSByZXR1cm4gW107XG4gICAgICAgIGlmIChzdHlsZVRleHQgPT09IG51bGwgfHwgc3R5bGVUZXh0LnRyaW0oKS5sZW5ndGggPT09IDApIHJldHVybiBbXTtcbiAgICAgICAgLy9yZW1vdmUgY29tbWVudCBibG9ja3NcbiAgICAgICAgbGV0IHJlID0gLyhcXC9cXCorKD86KD86KD86W15cXCpdKSspfCg/OltcXCpdKyg/IVxcLykpKVsqXStcXC8pfFxcL1xcLy4qL2c7XG4gICAgICAgIGxldCBzdWJzdCA9IFwiIFwiO1xuICAgICAgICBzdHlsZVRleHQgPSBzdHlsZVRleHQucmVwbGFjZShyZSwgc3Vic3QpO1xuICAgICAgICAvLyBGaW5kIGFsbCBcImtleSA6IHZhbDtcIiBwYWlycyB3aXRoIHZhcmlvdXMgd2hpdGVzcGFjZSBpbmJldHdlZW5cbiAgICAgICAgbGV0IHJLZXlWYWxzID0gL1xccyooW146XFxzXSspXFxzKjpcXHMqKFteOyR9XSspXFxzKig7fCQpL2c7XG4gICAgICAgIC8vIEZpbmQgYWxsIFwic2VsZWN0b3IgeyBjc3NrZXl2YWxzIH0gd2l0aCB2YXJpb3VzIHdoaXRlc3BhY2UgaW5iZXR3ZWVuXG4gICAgICAgIGxldCByU2VsZWN0b3JzID0gL1xccyooW157XSopeyhbXn1dKil9L2c7XG4gICAgICAgIGlmIChzdHlsZVRleHQuaW5kZXhPZihcIntcIikgPT09IC0xKSB7XG4gICAgICAgICAgICBsZXQga2V5VmFscyA9IHt9O1xuICAgICAgICAgICAgbGV0IG07XG4gICAgICAgICAgICB3aGlsZSAoKG0gPSByS2V5VmFscy5leGVjKHN0eWxlVGV4dCkpICE9IG51bGwpIHtcbiAgICAgICAgICAgICAgICBrZXlWYWxzW21bMV1dID0gbVsyXS50cmltKCkudG9Mb3dlckNhc2UoKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGxldCByZXRWYWwgPSBbXG4gICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICBzZWxlY3RvcjogbnVsbCxcbiAgICAgICAgICAgICAgICAgICAgdmFsdWVzOiBrZXlWYWxzLFxuICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBdO1xuICAgICAgICAgICAgZWxlbWVudC5JQk1fQ1NTX1RIQiA9IHJldFZhbDtcbiAgICAgICAgICAgIHJldHVybiByZXRWYWw7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICBsZXQgcmV0VmFsID0gW107XG4gICAgICAgICAgICBsZXQgbTtcbiAgICAgICAgICAgIGxldCBtMjtcbiAgICAgICAgICAgIHdoaWxlICgobSA9IHJTZWxlY3RvcnMuZXhlYyhzdHlsZVRleHQpKSAhPSBudWxsKSB7XG4gICAgICAgICAgICAgICAgbGV0IGtleVZhbHMgPSB7fTtcbiAgICAgICAgICAgICAgICBsZXQgc2VsS2V5ID0gbVsxXTtcbiAgICAgICAgICAgICAgICBsZXQgc2VsVmFsID0gbVsyXTtcblxuICAgICAgICAgICAgICAgIHdoaWxlICgobTIgPSByS2V5VmFscy5leGVjKHNlbFZhbCkpICE9IG51bGwpIHtcbiAgICAgICAgICAgICAgICAgICAga2V5VmFsc1ttMlsxXV0gPSBtMlsyXS50cmltKCkudG9Mb3dlckNhc2UoKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgcmV0VmFsLnB1c2goe1xuICAgICAgICAgICAgICAgICAgICBzZWxlY3Rvcjogc2VsS2V5LFxuICAgICAgICAgICAgICAgICAgICB2YWx1ZXM6IGtleVZhbHMsXG4gICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBlbGVtZW50LklCTV9DU1NfVEhCID0gcmV0VmFsO1xuICAgICAgICAgICAgcmV0dXJuIHJldFZhbDtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIC8qKlxuICAgICAqIGFuIFwiaW5saW5lXCIgQ1NTIGRpc3BsYXkgcHJvcGVydHkgdGVsbHMgdGhlIGVsZW1lbnQgdG8gZml0IGl0c2VsZiBvbiB0aGUgc2F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F0aW9uXCI6IG5vdCBzcGFjaW5nIGVub3VnaCB0byBuZWlib3JpbmcgaW5saW5lIHRhcmdldFxuICAgICAgICAgKiAgICAgICAgICBcImJsb2NrXCI6IGJsb2NrIGVsZW1lbnQsICBcbiAgICAgICAgICovXG4gICAgICAgIGZ1bmN0aW9uIGlzSW5saW5lV2l0aFRleHQobm9kZTogTm9kZSwgYmVmb3JlOiBib29sZWFuKSA6IHN0cmluZyB8IG51bGwge1xuICAgICAgICAgICAgLy8gbm90ZSBicm93c2VycyBpbnNlcnQgVGV4dCBub2RlcyB0byByZXByZXNlbnQgd2hpdGVzcGFjZXMuXG4gICAgICAgICAgICBpZiAobm9kZS5ub2RlVHlwZSA9PT0gTm9kZS5URVhUX05PREUpIHtcbiAgICAgICAgICAgICAgICBpZiAobm9kZS5ub2RlVmFsdWUgJiYgbm9kZS5ub2RlVmFsdWUudHJpbSgpLmxlbmd0aCA+IDApXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBcInllc1wiO1xuICAgICAgICAgICAgICAgIGVsc2VcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFwibm9cIjtcbiAgICAgICAgICAgIH0gZWxzZSBpZiAobm9kZS5ub2RlVHlwZSA9PT0gTm9kZS5FTEVNRU5UX05PREUpIHtcbiAgICAgICAgICAgICAgICAvLyBzcGVjaWFsIGNhc2U6IDxicj4gaXMgc3R5bGVkICdpbmxpbmUnIGJ5IGRlZmF1bHQsIGJ1dCBjaGFuZ2UgdGhlIGxpbmVcbiAgICAgICAgICAgICAgICBpZiAobm9kZS5ub2RlTmFtZS50b0xvd2VyQ2FzZSgpID09PSBcImJyXCIpXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBcImJsb2NrXCI7XG4gICAgICAgICAgICAgICAgICAgIFxuICAgICAgICAgICAgICAgIGNvbnN0IGNTdHlsZSA9IGdldENvbXB1dGVkU3R5bGUobm9kZSBhcyBFbGVtZW50KTtcbiAgICAgICAgICAgICAgICBjb25zdCBjRGlzcGxheSA9IGNTdHlsZS5nZXRQcm9wZXJ0eVZhbHVlKFwiZGlzcGxheVwiKTtcbiAgICAgICAgICAgICAgICBpZiAoY0Rpc3BsYXkgPT09IFwiaW5saW5lXCIpIHtcbiAgICAgICAgICAgICAgICAgICAgaWYgKENvbW1vblV0aWwuaXNUYXJnZXQobm9kZSkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChib3VuZHMud2lkdGggPCAyNCkgeyBcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBjaGVjayBpZiB0aGUgaG9yaXpvbnRhbCBzcGFjaW5nIGlzIHN1ZmZpY2llbnRcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb25zdCBibmRzID0gbWFwcGVyLmdldFVuYWRqdXN0ZWRCb3VuZHMobm9kZSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKChiZWZvcmUgJiYgKE1hdGgucm91bmQoYm91bmRzLndpZHRoIC8gMikgKyBib3VuZHMubGVmdCAtIGJuZHMubGVmdCA8IDI0KSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfHwgKCFiZWZvcmUgJiYgKE1hdGgucm91bmQoYm91bmRzLndpZHRoIC8gMikgKyBib3VuZHMubGVmdCAtIChibmRzLmxlZnQgKyBibmRzLndpZHRoKSA8IDI0KSkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3RhdHVzLnZpb2xhdGlvbiA9IG5vZGUubm9kZU5hbWUudG9Mb3dlckNhc2UoKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFwidmlvbGF0aW9uXCI7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBcIm5vXCI7ICAgICAgICBcbiAgICAgICAgICAgICAgICAgICAgICAgIH0gICAgICAgICAgIFxuICAgICAgICAgICAgICAgICAgICB9IFxuICAgICAgICAgICAgICAgICAgICBpZiAoIUNvbW1vblV0aWwuaXNJbm5lclRleHRPbmx5RW1wdHkobm9kZSkpXG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gXCJ5ZXNcIjtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFwibm9cIjtcbiAgICAgICAgICAgICAgICB9IGVsc2VcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFwiYmxvY2tcIjtcbiAgICAgICAgICAgIH0gZWxzZVxuICAgICAgICAgICAgICAgcmV0dXJuIFwiYmxvY2tcIjtcbiAgICAgICAgfVxuXG4gICAgICAgIC8vIGFuIGlubGluZSBlbGVtZW50IGlzIGluc2lkZSBhIGJsb2NrLiBub3RlIDxib2R5PiBpcyBhIGJsb2NrIGVsZW1lbnQgdG9vXG4gICAgICAgIC8vIG9uZSBvciBtb3JlIGlubGluZSBlbGVtZW50cyB3aXRoIHRleHQgaW4gdGhlIHNhbWUgbGluZTogPHRhcmdldD4sIHRleHQ8dGFyZ2V0PiwgPHRhcmdldD50ZXh0LCA8aW5saW5lPit0ZXh0PHRhcmdldD4sIDx0YXJnZXQ+PGlubGluZT4rdGV4dCwgdGV4dDx0YXJnZXQ+PGlubGluZT4rXG4gICAgICAgIGxldCB3YWxrTm9kZSA9IGVsZW1lbnQubmV4dFNpYmxpbmc7XG4gICAgICAgIHdoaWxlICh3YWxrTm9kZSkge1xuICAgICAgICAgICAgbGV0IGlubGluZVRleHQgPSBpc0lubGluZVdpdGhUZXh0KHdhbGtOb2RlLCB0cnVlKTtcbiAgICAgICAgICAgIGlmIChpbmxpbmVUZXh0ID09PSBcInllc1wiKSB7XG4gICAgICAgICAgICAgICAgc3RhdHVzLnRleHQgPSB0cnVlO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgaWYgKGlubGluZVRleHQgPT09IFwiYmxvY2tcIikge1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgd2Fsa05vZGUgPSB3YWxrTm9kZS5uZXh0U2libGluZztcbiAgICAgICAgfVxuXG4gICAgICAgIHdhbGtOb2RlID0gZWxlbWVudC5wcmV2aW91c1NpYmxpbmc7XG4gICAgICAgIHdoaWxlICh3YWxrTm9kZSkge1xuICAgICAgICAgICAgbGV0IGlubGluZVRleHQgPSBpc0lubGluZVdpdGhUZXh0KHdhbGtOb2RlLCBmYWxzZSk7XG4gICAgICAgICAgICBpZiAoaW5saW5lVGV4dCA9PT0gXCJ5ZXNcIikge1xuICAgICAgICAgICAgICAgIHN0YXR1cy50ZXh0ID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGlmIChpbmxpbmVUZXh0ID09PSBcImJsb2NrXCIpIHtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHdhbGtOb2RlID0gd2Fsa05vZGUucHJldmlvdXNTaWJsaW5nO1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiBzdGF0dXM7XG4gICAgfVxuXG4gICAgLyoqXG4gICAgICogYSB0YXJnZXQgaXMgZW4gZWxlbWVudCB0aGF0IGFjY2VwdCBhIHBvaW50ZXIgYWN0aW9uIChjbGljayBvciB0b3VjaClcbiAgICAgKiBhIHRhcmdldCBpcyBhIGJyb3dzZXIgZGVmYXVsdCBpZiBpdCdzIGEgbmF0aXZlIHdpZGdldCAobm8gdXNlciBkZWZpbmVkIHJvbGUpIHdpdGhvdXQgdXNlciBzdHlsZVxuICAgICAqL1xuICAgIHB1YmxpYyBzdGF0aWMgaXNUYXJnZXRCcm93c2VyRGVmYXVsdChlbGVtZW50KSB7XG4gICAgICAgIGlmICghZWxlbWVudCkgcmV0dXJuIGZhbHNlO1xuXG4gICAgICAgIC8vIHVzZXIgZGVmaW5lZCB3aWRnZXRcbiAgICAgICAgY29uc3Qgcm9sZXMgPSBBcmlhVXRpbC5nZXRSb2xlcyhlbGVtZW50LCBmYWxzZSk7XG4gICAgICAgIGlmIChyb2xlcyAmJiByb2xlcy5sZW5ndGggPiAwKSByZXR1cm4gZmFsc2U7XG5cbiAgICAgICAgLy8gbm8gdXNlciBzdHlsZSB0byBzcGFjZSBjb250cm9sIHNpemUsIGluY2x1ZGluZyB1c2Ugb2YgZm9udFxuICAgICAgICBjb25zdCBzdHlsZXMgPSBDU1NVdGlsLmdldERlZmluZWRTdHlsZXMoZWxlbWVudCk7XG4gICAgICAgIGlmIChcbiAgICAgICAgICAgIHN0eWxlc1tcImxpbmUtaGVpZ2h0XCJdIHx8XG4gICAgICAgICAgICBzdHlsZXNbXCJoZWlnaHRcIl0gfHxcbiAgICAgICAgICAgIHN0eWxlc1tcIndpZHRoXCJdIHx8XG4gICAgICAgICAgICBzdHlsZXNbXCJtaW4taGVpZ2h0XCJdIHx8XG4gICAgICAgICAgICBzdHlsZXNbXCJtaW4td2lkdGhcIl0gfHxcbiAgICAgICAgICAgIHN0eWxlc1tcImZvbnQtc2l6ZVwiXSB8fFxuICAgICAgICAgICAgc3R5bGVzW1wibWFyZ2luLXRvcFwiXSB8fFxuICAgICAgICAgICAgc3R5bGVzW1wibWFyZ2luLWJvdHRvbVwiXSB8fFxuICAgICAgICAgICAgc3R5bGVzW1wibWFyZ2luLWxlZnRcIl0gfHxcbiAgICAgICAgICAgIHN0eWxlc1tcIm1hcmdpbi1yaWdodFwiXVxuICAgICAgICApXG4gICAgICAgICAgICByZXR1cm4gZmFsc2U7XG5cbiAgICAgICAgcmV0dXJuIHRydWU7XG4gICAgfVxuXG4gICAgLypcbiAgICAgKiBzdHJpbmcgY29udGFpbnMgQ0pLIChjaGluZXNlLCBqYXBhbmVzZXMsIG9yIGtvcmVhKVxuICAgICAqIHJldHVybjogYm9vbGVhblxuICAgICAqL1xuICAgIHB1YmxpYyBzdGF0aWMgY29udGFpbnNDS0oodGV4dDogc3RyaW5nKSB7XG4gICAgICAgIGlmICgh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gICAgICAgICAgICAgICAgICAgICAgaWYgKHN0eWxlUHJvcHNbc3R5bGVdLmluY2x1ZGVzKCcqJykpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBDYWNoZVV0aWwuc2V0Q2FjaGUod2Fsa05vZGUsIFwiQXJpYVV0aWxfQW5jZXN0b3JXaXRoU3R5bGVzXCIsIHdhbGtOb2RlKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gd2Fsa05vZGU7XG4gICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKHN0eWxlUHJvcHNbc3R5bGVdLmluY2x1ZGVzKHZhbHVlKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIENhY2hlVXRpbC5zZXRDYWNoZSh3YWxrTm9kZSwgXCJBcmlhVXRpbF9BbmNlc3RvcldpdGhTdHlsZXNcIiwgd2Fsa05vZGUpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB3YWxrTm9kZTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHdhbGtOb2RlID0gRE9NV2Fsa2VyLnBhcmVudEVsZW1lbnQod2Fsa05vZGUpO1xuICAgICAgICB9XG4gICAgICAgIENhY2hlVXRpbC5zZXRDYWNoZShlbGVtLCBcIkFyaWFVdGlsX0FuY2VzdG9yV2l0aFN0eWxlc1wiLCB1bmRlZmluZWQpO1xuICAgICAgICByZXR1cm4gbnVsbDtcbiAgICB9XG5cbn1cbiIsIi8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcbiAgQ29weXJpZ2h0OjogMjAyMi0gSUJNLCBJbmNcbiAgTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAod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C5DU1NDb2xvckxvb2t1cFtjc3NTdHlsZUNvbG9yXTtcbiAgICAgICAgaWYgKGNzc1N0eWxlQ29sb3Iuc3RhcnRzV2l0aChcInJnYihcIikpIHtcbiAgICAgICAgICAgIGxldCByZ2JSZWdleCA9IC9cXHMqcmdiXFxzKlxcKFxccyooXFxkKylcXHMqLFxccyooXFxkKylcXHMqLFxccyooXFxkKylcXHMqXFwpLztcbiAgICAgICAgICAgIGxldCBtID0gY3NzU3R5bGVDb2xvci5tYXRjaChyZ2JSZWdleCk7XG4gICAgICAgICAgICBpZiAobSA9PT0gbnVsbCkgcmV0dXJuIG51bGw7XG4gICAgICAgICAgICBlbHNlIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gbmV3IENvbG9yT2JqKG1bMV0sIG1bMl0sIG1bM10pO1xuICAgICAgICAgICAgfVxuICAgICAgICB9IGVsc2UgaWYgKGNzc1N0eWxlQ29sb3Iuc3RhcnRzV2l0aChcInJnYmEoXCIpKSB7XG4gICAgICAgICAgICBsZXQgcmdiUmVnZXggPSAvXFxzKnJnYmFcXHMqXFwoXFxzKihcXGQrKVxccyosXFxzKihcXGQrKVxccyosXFxzKihcXGQrKVxccyosXFxzKiguKylcXHMqXFwpLztcbiAgICAgICAgICAgIGxldCBtID0gY3NzU3R5bGVDb2xvci5tYXRjaChyZ2JSZWdleCk7XG4gICAgICAgICAgICBpZiAobSA9PT0gbnVsbCkgcmV0dXJuIG51bGw7XG4gICAgICAgICAgICBlbHNlIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gbmV3IENvbG9yT2JqKG1bMV0sIG1bMl0sIG1bM10sIG1bNF0pO1xuICAgICAgICAgICAgfVxuICAgICAgICB9IGVsc2UgaWYgKGNzc1N0eWxlQ29sb3IuY2hhckF0KDApICE9IFwiI1wiKSB7XG4gICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIGlmIChjc3NTdHlsZUNvbG9yLmxlbmd0aC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GV4dC5vd25lckRvY3VtZW50O1xuICAgICAgICBpZiAoIWRvYykge1xuICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgIH1cbiAgICAgICAgdmFyIHdpbiA9IGRvYy5kZWZhdWx0VmlldztcbiAgICAgICAgaWYgKCF3aW4pIHtcbiAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICB9XG5cbiAgICAgICAgdmFyIGFuY2VzdG9ycyA9IFtdO1xuICAgICAgICBsZXQgd2Fsa05vZGUgOiBFbGVtZW50ID0gcnVsZUNvbnRleHQ7XG4gICAgICAgIHdoaWxlICh3YWxrTm9kZSkge1xuICAgICAgICAgICAgaWYgKHdhbGtOb2RlLm5vZGVUeXBlID09PSAxKSBcbiAgICAgICAgICAgICAgICBhbmNlc3RvcnMucHVzaCh3YWxrTm9kZSk7XG4gICAgICAgICAgICB3YWxrTm9kZSA9IERPTVdhbGtlci5wYXJlbnRFbGVtZW50KHdhbGtOb2RlKTtcbiAgICAgICAgfVxuICAgICAgICBcbiAgICAgICAgdmFyIHJldFZhbCA9IHtcbiAgICAgICAgICAgIFwiaGFzR3JhZGllbnRcIjogZmFsc2UsXG4gICAgICAgICAgICBcImhhc0JHSW1hZ2VcIjogZmFsc2UsXG4gICAgICAgICAgICBcInRleHRTaGFkb3dcIjogZmFsc2UsXG4gICAgICAgICAgICBcImZnXCI6IG51bGwsXG4gICAgICAgICAgICBcImJnXCI6IG51bGxcbiAgICAgICAgfTtcbiAgICAgICAgXG4gICAgICAgIC8vIHN0YXJ0XG4gICAgICAgIHZhciBjU3R5bGUgPSB3aW4uZ2V0Q29tcHV0ZWRTdHlsZShydWxlQ29udGV4dCk7XG4gICAgICAgIHZhciBjb21wU3R5bGVDb2xvciA9IGNTdHlsZS5jb2xvcjtcbiAgICAgICAgaWYgKCFjb21wU3R5bGVDb2xvcilcbiAgICAgICAgICAgIGNvbXBTdHlsZUNvbG9yID0gXCJibGFja1wiO1xuICAgICAgICB2YXIgZmcgPSBD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0aW8oZ3JhZExpc3RbaUdyYWRdLm1peChncmFkTGlzdFtpR3JhZCAtIDFdLCBpZHggKyBzdGVwKS5nZXRPdmVybGF5Q29sb3IoYmdDb2xvcikpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgd29yc3RDb2xvciA9IGdyYWRMaXN0W2lHcmFkXS5taXgoZ3JhZExpc3RbaUdyYWQgLSAxXSwgaWR4ICsgc3RlcCkuZ2V0T3ZlcmxheUNvbG9yKGJnQ29sb3IpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHdvcnN0UmF0aW8gPSBmZ0NvbG9yLmNvbnRyYXN0UmF0aW8od29yc3RDb2xvcik7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaWR4ID0gaWR4ICsgc3RlcDtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIHdoaWxlIChpZHggLSBzdGVwID49IDAgJiYgd29yc3RSYXRpbyA+IGZnQ29sb3IuY29udHJhc3RSYXRpbyhncmFkTGlzdFtpR3JhZF0ubWl4KGdyYWRMaXN0W2lHcmFkIC0gMV0sIGlkeCAtIHN0ZXApLmdldE92ZXJsYXlDb2xvcihiZ0NvbG9yKSkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB3b3JzdENvbG9yID0gZ3JhZExpc3RbaUdyYWRdLm1peChncmFkTGlzdFtpR3JhZCAtIDFdLCBpZHggLSBzdGVwKS5nZXRPdmVybGF5Q29sb3IoYmdDb2xvcik7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgd29yc3RSYXRpbyA9IGZnQ29sb3IuY29udHJhc3RSYXRpbyh3b3JzdENvbG9yKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZHggPSBpZHggLSBzdGVwO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgc3RlcCA9IHN0ZXAgLyAxMDtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICBpZiAob3ZlcmFsbFdvcnN0UmF0aW8gPT09IG51bGwgfHwgb3ZlcmFsbFdvcnN0UmF0aW8gPiB3b3JzdFJhdGlvKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBvdmVyYWxsV29yc3RSYXRpbyA9IHdvcnN0UmF0aW87XG4gICAgICAgICAgICAgICAgICAgICAgICBvdmVyYWxsV29yc3QgPSB3b3JzdENvbG9yO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIHJldHVybiBvdmVyYWxsV29yc3Q7IC8vIHJldHVybiB0aGUgZGFya2VzdCBjb2xvclxuICAgICAgICAgICAgfSBjYXRjaCAoZSkge1xuICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKGUpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgcmV0dXJuIGJnQ29sb3I7XG4gICAgICAgIH07XG5cbiAgICAgICAgdmFyIHByaW9yU3RhY2tCRyA9IENvbG9yVXRpbC5Db2xvcihcIndoaXRlXCIpO1xuICAgICAgICB2YXIgdGhpc1N0YWNrT3BhY2l0eSA9IG51bGw7XG4gICAgICAgIHZhciB0aGlzU3RhY2tBbHBoYSA9IG51bGw7XG4gICAgICAgIHZhciB0aGlzU3RhY2tCRyA9IG51bGw7XG4gICAgICAgIC8vIEFuY2VzdG9ycyBwcm9jZXNzZWQgZnJvbSB0aGUgdG9wbW9zdCBwYXJlbnQgdG93YXJkIHRoZSBjaGlsZFxuICAgICAgICB3aGlsZSAoYW5jZXN0b3JzLmxlbmd0aCA+IDApIHtcbiAgICAgICAgICAgIHZhciBwcm9jTmV4dCA9IGFuY2VzdG9ycy5wb3AoKTtcbiAgICAgICAgICAgIC8vdmFyIHByb2NOZXh0ID0gYW5jZXN0b3JzLnNwbGljZSgwLCAxKVswXTtcbiAgICAgICAgICAgIC8vIGNTdHlsZSBpcyB0aGUgY29tcHV0ZWQgc3R5bGUg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gICAgIGlmIChncmFkQ29sb3JzKSB7XG4gICAgICAgICAgICAgICAgICAgIGxldCBncmFkQ29sb3JDb21wIDogQ29sb3JPYmpbXSA9IFtdO1xuICAgICAgICAgICAgICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGdyYWRDb2xvcnMubGVuZ3RoOyArK2kpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmICghZ3JhZENvbG9yc1tpXS5sZW5ndGgpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBncmFkQ29sb3JzLnNwbGljZShpLS0sIDEpO1xuICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgY29sb3JDb21wID0gQ29sb3JVdGlsLkNvbG9yKGdyYWRDb2xvcnNbaV0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChjb2xvckNvbXAuYWxwaGEgIT09IHVuZGVmaW5lZCAmJiBjb2xvckNvbXAuYWxwaGEgPCAxKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIG1peCB0aGUgZ3JkaWVudCBiZyBjb2xvciB3aXQgcGFyZW50IGJnIGlmIGFscGhhIDwgMVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgY29tcFN0YWNrQmcgPSB0aGlzU3RhY2tCRyB8fCBwcmlvclN0YWNrQkc7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbG9yQ29tcCA9IGNvbG9yQ29tcC5nZXRPdmVybGF5Q29sb3IoY29tcFN0YWNrQmcpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBncmFkQ29sb3JDb21wLnB1c2goY29sb3JDb21wKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB0aGlzQmdDb2xvciA9IGd1ZXNzR3JhZENvbG9yKGdyYWRDb2xvckNvbXAsIHRoaXNTdGFja0JHIHx8IHByaW9yU3RhY2tCRywgZmcpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIFxuICAgICAgICAgICAgLy8gSGFuZGxlIG5vbi1zb2xpZCBvcGFjaXR5XG4gICAgICAgICAgICBpZiAodGhpc1N0YWNrT3BhY2l0eSA9PT0gbnVsbCB8fCAoY1N0eWxlLm9wYWNpdHkgJiYgY1N0eWxlLm9wYWNpdHkubGVuZ3RoID4gMCAmJiBwYXJzZUZsb2F0KGNTdHlsZS5vcGFjaXR5KSA8IDEpKSB7XG4gICAgICAgICAgICAgICAgLy8gTmV3IHN0YWNrLCByZXNldFxuICAgICAgICAgICAgICAgIGlmICh0aGlzU3RhY2tCRyAhPSBudWxsKSB7XG4gICAgICAgICAgICAgICAgICAgIC8vIE92ZXJsYXlcbiAgICAgICAgICAgICAgICAgICAgdGhpc1N0YWNrQkcuYWxwaGEgPSB0aGlzU3RhY2tPcGFjaXR5ICogdGhpc1N0YWNrQWxwaGE7XG4gICAgICAgICAgICAgICAgICAgIHByaW9yU3RhY2tCRyA9IHRoaXNTdGFja0JHLmdldE92ZXJsYXlDb2xvcihwcmlvclN0YWNrQkcpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB0aGlzU3RhY2tPcGFjaXR5ID0gMS4wO1xuICAgICAgICAgICAgICAgIHRoaXNTdGFja0FscGhhID0gbnVsbDtcbiAgICAgICAgICAgICAgICB0aGlzU3RhY2tCRyA9IG51bGw7XG4gICAgICAgICAgICAgICAgaWYgKGNTdHlsZS5vcGFjaXR5ICYmIGNTdHlsZS5vcGFjaXR5Lmxlbmd0aCA+IDApIHtcbiAgICAgICAgICAgICAgICAgICAgdGhpc1N0YWNrT3BhY2l0eSA9IHBhcnNlRmxvYXQoY1N0eWxlLm9wYWNpdHkpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBpZiAodGhpc0JnQ29sb3IgIT0gbnVsbCkge1xuICAgICAgICAgICAgICAgICAgICB0aGlzU3RhY2tCRyA9IHRoaXNCZ0NvbG9yO1xuICAgICAgICAgICAgICAgICAgICB0aGlzU3RhY2tBbHBoYSA9IHRoaXNTdGFja0JHLmFscGhhIHx8IDEuMDtcbiAgICAgICAgICAgICAgICAgICAgZGVsZXRlIHRoaXNTdGFja0JHLmFscGhhO1xuICAgICAgICAgICAgICAgICAgICBpZiAodGhpc1N0YWNrT3BhY2l0eSA9PT0gMS4wICYmIHRoaXNTdGFja0FscGhhID09PSAxLjApIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldFZhbC5oYXNCR0ltYWdlID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgICAgICAgICByZXRWYWwuaGFzR3JhZGllbnQgPSBmYWxzZTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIC8vIEhhbmRsZSBzb2xpZCBjb2xvciBiYWNrZ3JvdW5kcyBhbmQgZ3JhZGllbnQgY29sb3IgYmFja2dyb3VuZHNcbiAgICAgICAgICAgIGVsc2UgaWYgKHRoaXNCZ0NvbG9yICE9IG51bGwpIHtcbiAgICAgICAgICAgICAgICAvLyBJZiB0aGlzIHN0YWNrIGFscmVhZHkgaGFzIGEgYmFja2dyb3VuZCBjb2xvciwgYmxlbmQgaXRcbiAgICAgICAgICAgICAgICBpZiAodGhpc1N0YWNrQkcgPT09IG51bGwpIHtcbiAgICAgICAgICAgICAgICAgICAgdGhpc1N0YWNrQkcgPSB0aGlzQmdDb2xvcjtcbiAgICAgICAgICAgICAgICAgICAgdGhpc1N0YWNrQWxwaGEgPSB0aGlzU3RhY2tCRy5hbHBoYSB8fCAxLjA7XG4gICAgICAgICAgICAgICAgICAgIGRlbGV0ZSB0aGlzU3RhY2tCRy5hbHBoYTtcbiAgICAgICAgICAgICAgICB9IG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mRleE9mICYmIGNTdHlsZS5iYWNrZ3JvdW5kSW1hZ2UuaW5kZXhPZihcImdyYWRpZW50XCIpICE9IC0xKSB7XG4gICAgICAgICAgICAgICAgICAgIHJldFZhbC5oYXNHcmFkaWVudCA9IHRydWU7XG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0VmFsLmhhc0JHSW1hZ2UgPSB0cnVlO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICBpZiAodGhpc1N0YWNrQkcgIT0gbnVsbCkge1xuICAgICAgICAgICAgZmcgPSBmZy5nZXRPdmVybGF5Q29sb3IodGhpc1N0YWNrQkcpO1xuICAgICAgICAgICAgZGVsZXRlIGZnLmFscGhhO1xuICAgICAgICB9XG4gICAgICAgIGZnLmFscGhhID0gKGZnLmFscGhhIHx8IDEpICogdGhpc1N0YWNrT3BhY2l0eTtcbiAgICAgICAgZmcgPSBmZy5nZXRPdmVybGF5Q29sb3IocHJpb3JTdGFja0JHKTtcbiAgICAgICAgaWYgKHRoaXNTdGFja0JHICE9IG51bGwpIHtcbiAgICAgICAgICAgIHRoaXNTdGFja0JHLmFscGhhID0gdGhpc1N0YWNrT3BhY2l0eSAqIHRoaXNTdGFja0FscGhhO1xuICAgICAgICAgICAgcHJpb3JTdGFja0JHID0gdGhpc1N0YWNrQkcuZ2V0T3ZlcmxheUNvbG9yKHByaW9yU3RhY2tCRyk7XG4gICAgICAgIH1cbiAgICAgICAgcmV0VmFsLmZnID0gZmc7XG4gICAgICAgIHJldFZhbC5iZyA9IHByaW9yU3RhY2tCRztcblxuICAgICAgICBpZiAoY1N0eWxlLnRleHRTaGFkb3cgJiYgY1N0eWxlLnRleHRTaGFkb3cgIT09ICdub25lJylcbiAgICAgICAgICAgIHJldFZhbC50ZXh0U2hhZG93ID0gdHJ1ZTtcblxuICAgICAgICByZXR1cm4gcmV0VmFsO1xuICAgIH0gY2F0Y2gg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ICAgICAgaWYgKHR5cGVvZiAoYWxwaGEpICE9IFwidW5kZWZpbmVkXCIpIHtcbiAgICAgICAgICAgIHRoaXMuYWxwaGEgPSAodHlwZW9mIChhbHBoYSkgPT09IHR5cGVvZiAoXCJcIikpID8gcGFyc2VGbG9hdChhbHBoYSBhcyBzdHJpbmcpIDogYWxwaGEgYXMgbnVtYmVyO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgdG9IZXhIZWxwKHZhbHVlIDogbnVtYmVyKSA6IHN0cmluZyB7XG4gICAgICAgIGxldCByZXRWYWwgPSBNYXRoLnJvdW5kKHZhbHVlKS50b1N0cmluZygxNik7XG4gICAgICAgIGlmIChyZXRWYWwubGVuZ3RoID09PSAxKVxuICAgICAgICAgICAgcmV0dXJuIFwiMFwiICsgcmV0VmFsO1xuICAgICAgICByZXR1cm4gcmV0VmFsO1xuICAgIH07XG5cbiAgICB0b0hleCgpIDogc3RyaW5nIHtcbiAgICAgICAgcmV0dXJuIFwiI1wiICsgdGhpcy50b0hleEhlbHAodGhpcy5yZWQpICsgdGhpcy50b0hleEhlbHAodGhpcy5ncmVlbikgKyB0aGlzLnRvSGV4SGVscCh0aGlzLmJsdWUpO1xuICAgIH07XG5cbiAgICBjb250cmFzdFJhdGlvKGJnQ29sb3IgOiBDb2xvck9iaikgeyBcbiAgICAgICAgbGV0IGZnQ29sb3I6IENvbG9yT2JqID0gdGhpcztcbiAgICAgICAgXG4gICAgICAgIGlmICh0eXBlb2YgKHRoaXMuYWxwaGEpICE9IFwidW5kZWZpbmVkXCIpXG4gICAgICAgICAgICBmZ0NvbG9yID0gdGhpcy5nZXRPdmVybGF5Q29sb3IoYmdDb2xvcik7XG4gICAgICAgICAgICAgXG4gICAgICAgIGxldCBsdW0xID0gZmdDb2xvci5yZWxhdGl2ZUx1bWluYW5jZSgpO1xuICAgICAgICBpZiAoIWJnQ29sb3IucmVsYXRpdmVMdW1pbmFuY2UpIHtcbiAgICAgICAgICAgIGxldCBzID0gXCJcIjt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GlzLmFscGhhKSA9PT0gXCJ1bmRlZmluZWRcIiAmJiB0eXBlb2YgKGNvbG9yMi5hbHBoYSkgPT09IFwidW5kZWZpbmVkXCIpIHtcbiAgICAgICAgICAgIHJldHVybiBuZXcgQ29sb3JPYmooXG4gICAgICAgICAgICAgICAgcGVyY1RoaXMgKiB0aGlzLnJlZCArICgxIC0gcGVyY1RoaXMpICogY29sb3IyLnJlZCxcbiAgICAgICAgICAgICAgICBwZXJjVGhpcyAqIHRoaXMuZ3JlZW4gKyAoMSAtIHBlcmNUaGlzKSAqIGNvbG9yMi5ncmVlbixcbiAgICAgICAgICAgICAgICBwZXJjVGhpcyAqIHRoaXMuYmx1ZSArICgxIC0gcGVyY1RoaXMpICogY29sb3IyLmJsdWVcbiAgICAgICAgICAgICk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICBsZXQgYWxwaGFUaGlzID0gdGhpcy5hbHBoYSA/IHRoaXMuYWxwaGEgOiAxO1xuICAgICAgICAgICAgbGV0IGFscGhhT3RoZXIgPSBjb2xvcjIuYWxwaGEgPyBjb2xvcjIuYWxwaGEgOiAxO1xuICAgICAgICAgICAgcmV0dXJuIG5ldyBDb2xvck9iaihcbiAgICAgICAgICAgICAgICBwZXJjVGhpcyAqIHRoaXMucmVkICsgKDEgLSBwZXJjVGhpcykgKiBjb2xvcjIucmVkLFxuICAgICAgICAgICAgICAgIHBlcmNUaGlzICogdGhpcy5ncmVlbiArICgxIC0gcGVyY1RoaXMpICogY29sb3IyLmdyZWVuLFxuICAgICAgICAgICAgICAgIHBlcmNUaGlzICogdGhpcy5ibHVlICsgKDEgLSBwZXJjVGhpcykgKiBjb2xvcjIuYmx1ZSxcbiAgICAgICAgICAgICAgICBwZXJjVGhpcyAqIGFscGhhVGhpcyArICgxIC0gcGVyY1RoaXMpICogYWxwaGFPdGhlclxuICAgICAgICAgICAgKTtcbiAgICAgICAgfVxuICAgIH07XG5cbiAgICBnZXRPdmVybGF5Q29sb3IoYmdDb2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0c1dpdGgoXCJyZ2IoXCIpKSB7XG4gICAgICAgICAgICBsZXQgcmdiUmVnZXggPSAvXFxzKnJnYlxccypcXChcXHMqKFxcZCspXFxzKixcXHMqKFxcZCspXFxzKixcXHMqKFxcZCspXFxzKlxcKS87XG4gICAgICAgICAgICBsZXQgbSA9IGNzc1N0eWxlQ29sb3IubWF0Y2gocmdiUmVnZXgpO1xuICAgICAgICAgICAgaWYgKG0gPT09IG51bGwpIHJldHVybiBudWxsO1xuICAgICAgICAgICAgZWxzZSB7XG4gICAgICAgICAgICAgICAgdGhpc1JlZCA9IG1bMV07XG4gICAgICAgICAgICAgICAgdGhpc0dyZWVuID0gbVsyXTtcbiAgICAgICAgICAgICAgICB0aGlzQmx1ZSA9IG1bM107XG4gICAgICAgICAgICB9XG4gICAgICAgIH0gZWxzZSBpZiAoY3NzU3R5bGVDb2xvci5zdGFydHNXaXRoKFwicmdiYShcIikpIHtcbiAgICAgICAgICAgIGxldCByZ2JSZWdleCA9IC9cXHMqcmdiYVxccypcXChcXHMqKFxcZCspXFxzKixcXHMqKFxcZCspXFxzKixcXHMqKFxcZCspXFxzKixcXHMqKC4rKVxccypcXCkvO1xuICAgICAgICAgICAgbGV0IG0gPSBjc3NTdHlsZUNvbG9yLm1hdGNoKHJnYlJlZ2V4KTtcbiAgICAgICAgICAgIGlmIChtID09PSBudWxsKSByZXR1cm4gbnVsbDtcbiAgICAgICAgICAgIGVsc2Uge1xuICAgICAgICAgICAgICAgIHRoaXNSZWQgPSBtWzFdO1xuICAgICAgICAgICAgICAgIHRoaXNHcmVlbiA9IG1bMl07XG4gICAgICAgICAgICAgICAgdGhpc0JsdWUgPSBtWzNdO1xuICAgICAgICAgICAgfVxuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgaWYgKGNzc1N0eWxlQ29sb3IuY2hhckF0KDApICE9IFwiI1wiKSB7XG4gICAgICAgICAgICAgICAgaWYgKGNzc1N0eWxlQ29sb3IgaW4gQ29sb3JVdGlsLkNTU0NvbG9yTG9va3VwKVxuICAgICAgICAgICAgICAgICAgICBjc3NTdHlsZUNvbG9yID0gQ29sb3JVdGlsLkNTU0NvbG9yTG9va3VwW2Nzc1N0eWxlQ29sb3JdO1xuICAgICAgICAgICAgICAgIGVsc2UgcmV0dXJuIG51bGw7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBsZXQgZnJvbUhleCA9IGZ1bmN0aW9uICh2YWwpIHtcbiAgICAgICAgICAgICAgICBsZXQgbG9va3VwID0ge1xuICAgICAgICAgICAgICAgICAgICBcImFcIjogMTAsXG4gICAgICAgICAgICAgICAgICAgIFwiYlwiOiAxMSxcbiAgICAgICAgICAgICAgICAgICAgXCJjXCI6IDEyLFxuICAgICAgICAgICAgICAgICAgICBcImRcIjogMTMsXG4gICAgICAgICAgICAgICAgICAgIFwiZVwiOiAxNCxcbiAgICAgICAgICAgICAgICAgICAgXCJmXCI6IDE1XG4gICAgICAgICAgICAgICAgfTtcbiAgICAgICAgICAgICAgICBsZXQgcmV0VmFsID0gMDtcbiAgICAgICAgICAgICAgICBmb3IgKGxldCBpID0gMDsgaSA8IHZhbC5sZW5ndGg7ICsraSkge1xuICAgICAgICAgICAgICAgICAgICByZXRWYWwgPSByZXRWYWwgKiAxNiArXG4gICAgICAgICAgICAgICAgICAgICAgICBwYXJzZUludCh2YWwuY2hhckF0KGkpIGluIGxvb2t1cCA/IGxvb2t1cFt2YWwuY2hhckF0KGkpXSA6IHZhbC5jaGFyQXQoaSkpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICByZXR1cm4gcmV0VmFsO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgaWYgKGNzc1N0eWxlQ29sb3IubGVuZ3RoID09PSA0KSB7XG4gICAgICAgICAgICAgICAgLy8gVGhlIHRocmVlLWRpZ2l0IFJHQiAoI3JnYikgaXMgY29udmVydGVkIHRvIHNpeC1kaWdpdCBmb3JtICgjcnJnZ2JiKSBieSByZXBsaWNhdGluZyBkaWdpdHNcbiAgICAgICAgICAgICAgICAvLyAoaHR0cHM6Ly93d3cudzMub3JnL1RSL2Nzcy1jb2xvci0zLyNyZ2ItY29sb3IpXG4gICAgICAgICAgICAgICAgY3NzU3R5bGVDb2xvciA9IFwiI1wiICsgY3NzU3R5bGVDb2xvci5jaGFyQXQoMSkucmVwZWF0KDIpICtcbiAgICAgICAgICAgICAgICAgICAgY3NzU3R5bGVDb2xvci5jaGFyQXQoMikucmVwZWF0KDIpICtcbiAgICAgICAgICAgICAgICAgICAgY3NzU3R5bGVDb2xvci5jaGFyQXQoMykucmVwZWF0KDIpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgdGhpc1JlZCA9IGZyb21IZXgoY3NzU3R5bGVDb2xvci5zdWJzdHJpbmcoMSwgMykpO1xuICAgICAgICAgICAgdGhpc0dyZWVuID0gZnJvbUhleChjc3NTdHlsZUNvbG9yLnN1YnN0cmluZygzLCA1KSk7XG4gICAgICAgICAgICB0aGlzQmx1ZSA9IGZyb21IZXgoY3NzU3R5bGVDb2xvci5zdWJzdHJpbmcoNSwgNykpO1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiBuZXcgQ29sb3JPYmoodGhpc1JlZCwgdGhpc0dyZWVuLCB0aGlzQmx1ZSk7XG4gICAgfVxufVxuIiwiLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuICBDb3B5cmlnaHQ6OiAyMDIyLSBJQk0sIEluY1xuICBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICBodH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kZSBpcyBmb2N1c2FibGVcbiAgICAgKi9cbiAgICBwdWJsaWMgc3RhdGljIGlzRm9jdXNhYmxlKGVsZSkge1xuICAgICAgICBpZiAoZWxlID09PSBcInVuZGVmaW5lZFwiIHx8IGVsZSA9PT0gbnVsbCkge1xuICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiBDb21tb25VdGlsLmlzVGFiYmFibGUoZWxlKTtcbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiBOb3RlIHRoYXQgdGhpcyBvbmx5IGRldGVjdHMgaWYgdGhlIGVsZW1lbnQgaXRzZWxmIGlzIGludGVyYWN0aXZlLCBidXQgbm90IG9uY2xpY2sgZXZlbnQuXG4gICAgICovXG4gICAgcHVibGljIHN0YXRpYyBpc0NsaWNrYWJsZShlbGVtZW50KSB7XG4gICAgICAgIGlmICghVmlzVXRpbC5pc05vZGVWaXNpYmxlKGVsZW1lbnQpKSByZXR1cm4gZmFsc2U7XG4gICAgICAgIFxuICAgICAgICAvLyBuYXRpdmUgZm9jdXNhYmxlIGVsZW1lbnRcbiAgICAgICAgbGV0IG5vZGVOYW1lID0gZWxlbWVudC5ub2RlTmFtZS50b0xvd2VyQ2FzZSgpO1xuICAgICAgICBpZiAobm9kZU5hbWUgaW4gQ29tbW9uVXRpbC50YWJUYWdNYXApIHtcbiAgICAgICAgICAgIGxldCByZXRWYWwgPSBDb21tb25VdGlsLnRhYlRhZ01hcFtub2RlTmFtZV07XG4gICAgICAgICAgICBpZiAodHlwZW9mIChyZXRWYWwpID09PSBcImZ1bmN0aW9uXCIpIHtcbiAgICAgICAgICAgICAgICByZXRWYWwgPSByZXRWYWwoZWxlbWVudCk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXR1cm4gcmV0VmFsO1xuICAgICAgICB9IGVsc2UgeyBcbiAgICAgICAgICAgIC8vY3VzdG9tIHdpZGdldFxuICAgICAgICAgICAgaWYgKEFyaWFVdGlsLmlz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ZSA9PT0gMCB8fCB0YWJpbmRleFZhbHVlID09PSAtMTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgfVxuXG4gICAgLyoqXG4gICAgICogZ2V0IG51bWJlciBvZiB0YWJiYWJsZSBjaGlsZHJlblxuICAgICAqIEBwYXJhbSBlbGVtZW50IFxuICAgICAqL1xuICAgIHB1YmxpYyBzdGF0aWMgZ2V0VGFiYmFibGVDaGlsZHJlbihlbGVtZW50KSB7XG4gICAgICAgIGxldCBjb3VudCA9IDA7XG4gICAgICAgIC8vIElmIG5vZGUgaGFzIGNoaWxkcmVuLCBsb29rIGZvciB0YWIgc3RvcHMgaW4gdGhlIGNoaWxkcmVuXG4gICAgICAgIGlmIChlbGVtZW50LmZpcnN0Q2hpbGQgfHwgZWxlbWVudC5ub2RlTmFtZS50b1VwcGVyQ2FzZSgpID09PSBcIklGUkFNRVwiKSB7XG4gICAgICAgICAgICBsZXQgbncgPSBuZXcgRE9NV2Fsa2VyKGVsZW1lbnQpO1xuICAgICAgICAgICAgd2hpbGUgKG53Lm5leHROb2RlKCkgJiYgbncubm9kZSAhPSBlbGVtZW50KSB7XG4gICAgICAgICAgICAgICAgaWYgKG53Lm5vZGUubm9kZVR5cGUgPT0gMSAmJiAhbncuYkVuZFRhZyAmJiBDb21tb25VdGlsLmlzVGFiYmFibGUobncubm9kZSkpIHtcbiAgICAgICAgICAgICAgICAgICAgKytjb3VudDtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIGNvdW50O1xuICAgIH1cblxuICAgIHB1YmxpYyBzdGF0aWMgbm9ybWFsaXplU3BhY2luZyhzKSB7XG4gICAgICAgIGlmICghcykgcmV0dXJuICcnO1xuICAgICAgICByZXR1cm4gcy50cmltKCkucmVwbGFjZSgvXFxzKy9nLCAnICcpO1xuICAgIH07XG5cbiAgICAvL1RPRE86IGZ1bmN0aW9uIGRvZXMgbm90IGhhbmRsZSBlcXVpdmFsZW50cyBmb3Igcm9sZXM6IHJvdywgbGluaywgaGVhZGVyLCBidXR0b25cbiAgICAvLyBCdXQgaXQgbWF5IG5vdCBoYXZlIHRvLiBCdWcgcmVwb3J0cyBoYXZlIGJlZW4gYWJvdXQgcmFkaW8gYnV0dG9ucyBhbmQgY2hlY2tib3hlcy5cbiAgICBwdWJsaWMgc3RhdGljIGlzSHRtbEVxdWl2KG5vZGUsIGh0bWxFcXVpdikge1xuICAgICAgICBsZXQgcmV0VmFsID0gZmFsc2U7XG4gICAgICAgIGlmIChub2RlKSB7XG4gICAgICAgICAgICBsZXQgbm9kZU5hbWUgPSBub2RlLm5vZGVOYW1lLnRvTG93ZXJDYXNlKCk7XG4gICAgICAgICAgICBpZiAobm9kZU5hbWUgPT09IFwiaW5wdXRcIikge1xuICAgICAgICAgICAgICAgIGxldCB0eXBlID0gbm9kZS5nZXRBdHRyaWJ1dGUoXCJ0eXBlXCIpLnRvTG93ZXJDYXNlKCk7XG4gICAgICAgICAgICAgICAgaWYgKHR5cGUpIHtcbiAgICAgICAgICAgICAgICAgICAgaWYgKGh0bWxFcXVpdi5pbmRleE9mKFwiY2hlY2tib3hcIikgIT0gLTEpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldFZhbCA9IHR5cGUgPT09IFwiY2hlY2tib3hcIjtcbiAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmIChodG1sRXF1aXYuaW5kZXhPZihcInJhZGlvXCIpICE9IC0xKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICByZXRWYWwgPSB0eXBlID09PSBcInJhZGlvXCI7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIHJldFZhbDtcbiAgICB9XG5cbiAgICBwdWJsaWMgc3RhdGljIG5vbkV4aXN0YW50SURzKG5vZGUsIHRhcmdld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lIGNhc2UgdGhhdCBoaWRkZW4gY29udGVudCBpcyB0byxcbiAgICAgICAgICAgICAgICAvLyAgICAgICBiZSBzY2FubmVkIHRoZW4gd2UgY2FuIGp1c3Qgc2NhbiBldmVyeXRoaW5nIGFzIG5vcm1hbC4gSW4gdGhlIGNhc2UgdGhhdCB0aGUgY3VycmVudCBub2RlIGlzIGhpZGRlbiB3ZSBkbyBub3RcbiAgICAgICAgICAgICAgICAvLyAgICAgICBhZGQgaXQgdG8gdGhlIHJvbGVUb0VsZW1zIGhhc2ggYXQgYWxsIG9yIGV2ZW4gZG8gYW55IGNoZWNraW5nIGZvciBpdCBhdCBhbGwuXG4gICAgICAgICAgICAgICAgaWYgKChpZ25vcmVIaWRkZW4gfHwgKGNvbnNpZGVySGlkZGVuU2V0dGluZyAmJiAhQ29tbW9uVXRpbC5zaG91bGRDaGVja0hpZGRlbkNvbnRlbnQoY2hpbGQpKSkgJiYgIVZpc1V0aWwuaXNOb2RlVmlzaWJsZShjaGlsZCkpIHtcbiAgICAgICAgICAgICAgICAgICAgLy8gTW92ZSBvbiB0byB0aGUgbmV4dCBlbGVtZW50XG4gICAgICAgICAgICAgICAgICAgIGNoaWxkID0gY2hpbGQubmV4dFNpYmxpbmc7XG5cbiAgICAgICAgICAgICAgICAgICAgY29udGludWU7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgLy8gUHVzaCB0aGUgZWxlbWVudFxuICAgICAgICAgICAgICAgIHJldFZhbC5wdXNoKGNoaWxkKTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgLy8gTW92ZSB0byB0aGUgbmV4dCBzaWJsaW5nIGVsZW1lbnRcbiAgICAgICAgICAgIGNoaWxkID0gY2hpbGQubmV4dFNpYmxpbmc7XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIHJldFZhbDtcbiAgICB9XG5cbiAgICAvKipcbiAgICAgICAgICogVGhpcyBmdW5jdGlvbiBpcyByZXNwb25zaWJsZSBmb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lVG9FbGVtcyBoYXNoIHdoaWNoIGlzIGluIHRoZSBmb2xsb3dpbmcgZm9ybWF0LlxuICAgICAgICAgICAgLy8gcm9sZVRvRWxlbXMgPSB7XG4gICAgICAgICAgICAvLyAgICBkb2N1bWVudDogW3tkaXZ9LHthYmJyfSx7dmFyfV0sXG4gICAgICAgICAgICAvLyAgICBtYWluOiBbe2Rpdn1dLFxuICAgICAgICAgICAgLy8gICAgbmF2aWdhdGlvbjogW3tkaXZ9XVxuICAgICAgICAgICAgLy8gfVxuICAgICAgICAgICAgd2hpbGUgKG53Lm5leHROb2RlKCkpIHtcbiAgICAgICAgICAgICAgICBpZiAoIW53LmVsZW0oKSkgY29udGludWU7XG4gICAgICAgICAgICAgICAgLy8gT25seSBjaGVjayB0aGUgZWxlbWVudHMgd2hpY2ggaGF2ZSB0aGUgcm9sZSBhdHRyaWJ1dGUgYXNzaWNpYXRlZCB0byB0aGVtXG4gICAgICAgICAgICAgICAgaWYgKCFudy5iRW5kVGFnKSB7XG5cbiAgICAgICAgICAgICAgICAgICAgbGV0IHdSb2xlcyA9IFtdO1xuICAgICAgICAgICAgICAgICAgICAvL2NoZWNrIGlmIHRoZSBub2RlIGhhcyByb2xlIGF0dHJpYnV0ZXNcbiAgICAgICAgICAgICAgICAgICAgaWYgKG53LmVsZW0oKSAmJiBudy5lbGVtKCkuaGFzQXR0cmlidXRlKFwicm9sZVwiKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgLy8gRXh0cmFjdCBhbGwgdGhlIHJvbGVzIHRoYXQgYXJlIGFzc2lnbmVkIHRvIHRoaXMgZWxlbWVudCwgY2FuIGhhdmUgbXVsdGlwbGUgcm9sZXMgb24gb25lXG4gICAgICAgICAgICAgICAgICAgICAgICAvLyBlbGVtZW50IHNwbGl0IGJ5IHNwYWNlLCBzbyB3ZSBuZWVkIHRvIGV4dHJhY3QgYWxsIG9mIHRoZW0gaW50byBhbiBhcnJheS5cbiAgICAgICAgICAgICAgICAgICAgICAgIHdSb2xlcyA9IG53LmVsZW0oKS5nZXRBdHRyaWJ1dGUoXCJyb2xlXCIpLnNwbGl0KFwiIFwiKTtcbiAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgIGlmIChudy5lbGVtKCkgJiYgd1JvbGVzLmxlbmd0aCA9PT0gMCAmJiBjb25zaWRlckltcGxpY2l0Um9sZXMpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vY2hlY2sgaWYgdGhlcmUgYXJlIGFueSBpbXBsaWNpdCByb2xlcyBmb3IgdGhpcyBlbGVtZW50LlxuICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGltcGxpY2l0Um9sZSA9IEFyaWFVdGlsLmdldEltcGxpY2l0Um9sZShudy5ub2RlKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChpbXBsaWNpdFJvbGUgIT09IG51bGwgJiYgaW1wbGljaXRSb2xlLmxlbmd0aCA+IDApXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgd1JvbGVzID0gaW1wbGljaXRSb2xlO1xuICAgICAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAgICAgaWYgKHdSb2xlcy5sZW5ndGggPT09IDApIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbnRpbnVlO1xuICAgICAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAgICAgLy8gRm9sbG93aW5nIGFyZSB0aGUgc3RlcHMgdGhhdCBhcmUgZXhlY3V0ZWQgYXQgdGhpcyBzdGFnZSB0byBkZXRlcm1pbmUgaWYgdGhlIG5vZGUgc2hvdWxkIGJlIGNsYXNzaWZpZWQgYXMgaGlkZGVuXG4gICAgICAgICAgICAgICAgICAgIC8vIG9yIG5vdC5cbiAgICAgICAgICAgICAgICAgICAgLy8gIDEuIElmIGNvbnNpZGVySGlkZGVuU2V0dGluZyBvcHRpb24gaXMgc2V0IHRvIHRydWUgdGhlbiB3ZSBwZXJmb3JtIHRoZSBjaGVjayB0byBjb25zaWRlciB0aGVcbiAgICAgICAgICAgICAgICAgICAgLy8gICAgIENoZWNrIEhpZGRlbiBDb250ZW50IHRoYXQgaXMgcHJvdmlkZWQuXG4gICAgICAgICAgICAgICAgICAgIC8vICAyLiBPbmx5IHJ1biBpc05vZGVWaXNpYmxlIGNoZWNrIGlmIGhpZGRlbiBjb250ZW50IHNob3VsZCBOT1QgYmUgY2hlY2tlZC4gSW4gdGhlIGNhc2UgdGhhdCBoaWRkZW4gY29udGVudCBpcyB0byxcbiAgICAgICAgICAgICAgICAgICAgLy8gICAgIGJlIHNjYW5uZWQgdGhlbiB3ZSBjYW4ganVzdCBzY2FuIGV2ZXJ5dGhpbmcgYXMgbm9ybWFsLiBJbiB0aGUgY2FzZSB0aGF0IHRoZSBjdXJyZW50IG5vZGUgaXMgaGlkZGVuIHdlIGRvIG5vdFxuICAgICAgICAgICAgICAgICAgICAvLyAgICAgYWRkIGl0IHRvIHRoZSByb2xlVG9FbGVtcyBoYXNoIGF0IGFsbCBvciBldmVuIGRvIGFueSBjaGVja2luZyBmb3IgaXQgYXQgYWxsLlxuICAgICAgICAgICAgICAgICAgICAvL1xuICAgICAgICAgICAgICAgICAgICAvLyBOb3RlOiBUaGUgaWYgY29uZGl0aW9ucyB1c2VzIHNob3J0LWNpcmN1aXRpbmcgc28gaWYgdGhlIGZpcnN0IGNvbmRpdGlvbiBpcyBub3QgdHJ1ZSBpdCB3aWxsIG5vdCBjaGVjayB0aGUgbmV4dCBvbmUsXG4gICAgICAgICAgICAgICAgICAgIC8vICAgICAgIHNvIG9uIGFuZCBzbyBmb3J0aC5cbiAgICAgICAgICAgICAgICAgICAgaWYgKGNvbnNpZGVySGlkZGVuU2V0dGluZyAmJiBDb21tb25VdGlsLnNob3VsZE5vZGVCZVNraXBwZWRIaWRkZW4obncubm9kZSkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbnRpbnVlO1xuICAgICAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAgICAgLy8gTG9vcCB0aHJvdWdoIGFsbCB0aGUgcm9sZXMgYW5kIGFzc2lnbmVkIHRoaXMgbm9kZSB0byBhbGwgdGhlcyByb2xlc1xuICAgICAgICAgICAgICAgICAgICBmb3IgKGxldCBpID0gMDsgaSA8IHdSb2xlcy5sZW5ndGg7ICsraSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgLy8gSW4gdGhlIGNhc2UgdGhhdCB0aGUgcm9sZSBrZXkgaXMgbm90IGFscmVhZHkgaW4gdGhlIHJvbGVUb0VsZW1zIGhhc2gsIGNvbnN0cnVjdCB0aGVcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vIGFkZCB0aGUga2V5IGFuZCBhc3NpZ24gZW1wdHkgYXJyYXkuXG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoISh3Um9sZXNbaV0gaW4gcm9sZVRvRWxlbXMpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcm9sZVRvRWxlbXNbd1JvbGVzW2ldXSA9IFtdO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgICAgICAvLyBBZGQgdGhlIG5vZGUgdG8gdGhlIGFycmF5IGZvciB0aGUgcm9sZVxuICAgICAgICAgICAgICAgICAgICAgICAgcm9sZVRvRWxlbXNbd1JvbGVzW2ldXS5wdXNoKG53Lm5vZGUpO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAvLyBTZXQgdGhlIHJvbGVUb0VsZW1zIGhhc2ggbWFwIGFzIGEgZ2xvYmFsIHZhcmlhYmxlXG4gICAgICAgICAgICBpZiAoY29uc2lkZXJJbXBsaWNpdFJvbGVzKSB7XG4gICAgICAgICAgICAgICAgQ2FjaGVVdGlsLnNldENhY2hlKGRvYywgXCJBcmlhVXRpbF9HRVRFTEVNRU5UU0JZX1JPTEVfSU1QTElDSVRcIiwg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yYXlcbiAgICAgICAgICAgICAgICBsZXQgbmV4dFJvbGUgPSByb2xlc1tpXTtcbiAgICAgICAgICAgICAgICAvLyBGZXRjaCB0aGUgbGlzdCBvZiBhbGwgdGhlIGVsZW1lbnRzIGZvciB0aGlzIHJvbGVcbiAgICAgICAgICAgICAgICBsZXQgY29weVJvbGVzID0gcm9sZVRvRWxlbXNbbmV4dFJvbGVdO1xuXG4gICAgICAgICAgICAgICAgLy8gSWYgdGhlcmUgYXJlIGVsZW1lbnRzIHRvIGNvcHkgdG8gYW5vdGhlciBhcnJheSwgdGhlbiBwZXJmb3JtIHRoZSBjb3B5XG4gICAgICAgICAgICAgICAgaWYgKGNvcHlSb2xlcykge1xuICAgICAgICAgICAgICAgICAgICAvLyBMb29wIG92ZXIgYWxsIHRoZSBlbGVtZW50cyB3aGljaCBhcmUgdG8gYmUgY29waWVkXG4gICAgICAgICAgICAgICAgICAgIGZvciAobGV0IGogPSAwOyBqIDwgY29weVJvbGVzLmxlbmd0aDsgKytqKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAvLyBBZGQgdGhpcyBlbGVtZW50IHRvIHRoZSByZXR1cm4gdmFsXG4gICAgICAgICAgICAgICAgICAgICAgICByZXRWYWwucHVzaChjb3B5Um9sZXNbal0pO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgcmV0dXJuIHJldFZhbDtcbiAgICB9XG5cbiAgICAvKipcbiAgICAgICAgICogYSB0YXJnZXQgaXMgZW4gZWxlbWVudCB0aGF0IGFjY2VwdCBhIHBvaW50ZXIgYWN0aW9uIChjbGljayBvciB0b3VjaClcbiAgICAgICAgICogXG4gICAgICAgICAqL1xuICAgIHB1YmxpYyBzdGF0aWMgaXNUYXJnZXQoZWxlbWVudCkgeyBcbiAgICAgICAgaWYgKCFlbGVtZW50IHx8IGVsZW1lbnQubm9kZVR5cGUgIT09IDEgXG4gICAgIC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IGxldCBwYXJlbnQgPSBlbGVtZW50LnBhcmVudEVsZW1lbnQ7XG4gICAgICAgICAgICBpZiAocGFyZW50KSB7XG4gICAgICAgICAgICAgICAgY29uc3QgcGFyZW50X3JvbGUgPSBBcmlhVXRpbC5nZXRSZXNvbHZlZFJvbGUocGFyZW50KTtcbiAgICAgICAgICAgICAgICAvLyBkYXRhbGlzdCwgZmllbGRzZXQsIG9wdGdyb3VwLCBldGMuIG1heSBiZSBqdXN0IHVzZWQgZm9yIGdyb3VwaW5nIHB1cnBvc2UsIHNvIGdvIHVwIHRvIHRoZSBwYXJlbnRcbiAgICAgICAgICAgICAgICBpZiAocGFyZW50X3JvbGUgPT09ICdncm91cCcpXG4gICAgICAgICAgICAgICAgICAgIHBhcmVudCA9IHBhcmVudC5wYXJlbnRFbGVtZW50O1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgXG4gICAgICAgICAgICBpZiAocGFyZW50ICYmIENvbW1vblV0aWwuaXNUYXJnZXQocGFyZW50KSlcbiAgICAgICAgICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICAgICAgfSAgICBcbiAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgIH1cblxuICAgIHB1YmxpYyBzdGF0aWMgZ2V0RmlsZUV4dCh1cmwpIHtcbiAgICAgICAgbGV0IG0gPSB1cmwubWF0Y2goL1xcLigoW147PyNcXC5dfF4kKSspKFs7PyNdfCQpLyk7XG4gICAgICAgIGlmIChtICE9IG51bGwgJiYgbS5sZW5ndGggPj0gMikge1xuICAgICAgICAgICAgcmV0dXJuIFwiLlwiICsgbVsxXTtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gXCJcIjtcbiAgICB9XG4gICAgcHVibGljIHN0YXRpYyBnZXRGaWxlQW5jaG9yKHVybCkge1xuICAgICAgICBsZXQgbSA9IHVybC5tYXRjaCgvIygoW147P1xcLl18XiQpKykoWzs/XXwkKS8pO1xuICAgICAgICBpZiAobSAhPSBudWxsICYmIG0ubGVuZ3R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AgICAgICAgICBsZXQgdGhpc1RhZyA9IHdhbGtOb2RlLm5vZGVOYW1lLnRvTG93ZXJDYXNlKCk7XG4gICAgICAgICAgICBpZiAodHlwZW9mICh0YWdOYW1lcykgPT09IFwic3RyaW5nXCIpIHtcbiAgICAgICAgICAgICAgICBpZiAodGhpc1RhZyA9PT0gdGFnTmFtZXMudG9Mb3dlckNhc2UoKSkge1xuICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9IGVsc2UgaWYgKHRhZ05hbWVzLmxlbmd0aCkge1xuICAgICAgICAgICAgICAgIGZvciAobGV0IGlkeCBpbiB0YWdOYW1lcykge1xuICAgICAgICAgICAgICAgICAgICBpZiAodGFnTmFtZXNbaWR4XSA9PT0gdGhpc1RhZylcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB3YWxrTm9kZTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9IGVsc2UgaWYgKHRoaXNUYWcgaW4gdGFnTmFtZXMpIHtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHdhbGtOb2RlID0gRE9NV2Fsa2VyLnBhcmVudE5vZGUod2Fsa05vZGUpO1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiB3YWxrTm9kZTtcbiAgICB9XG5cbiAgICAvLyByZXR1cm4gdHJ1ZSBpZiBlbGVtZW50MSBhbmQgZWxlbWVudDIgYXJlIHNpYmxpbmdzXG4gICAgcHVibGljIHN0YXRpYyBpc1NpYmxpbmcoZWxlbWVudDEsIGVsZW1lbnQyKSB7XG4gICAgICAgIGlmIChlbGVtZW50MSAmJiBlbGVtZW50Mikge1xuICAgICAgICAgICAgbGV0IG5vZGUgPSBudWxsO1xuICAgICAgICAgICAgaWYgKERPTVdhbGtlci5wYXJlbnROb2RlKGVsZW1lbnQxKSAmJiBET01XYWxrZXIucGFyZW50Tm9kZShlbGVtZW50MSkuZmlyc3RDaGlsZCkge1xuICAgICAgICAgICAgICAgIG5vZGUgPSBET01XYWxrZXIucGFyZW50Tm9kZShlbGVtZW50MSkuZmlyc3RDaGlsZDtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgd2hpbGUgKG5vZGUpIHtcbiAgICAgICAgICAgICAgICBpZiAobm9kZSA9PT0gZWxlbWVudDIpIHJldHVybiB0cnVlO1xuICAgICAgICAgICAgICAgIG5vZGUgPSBub2RlLm5leHRTaWJsaW5nO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIHJldHVybiBmYWxzZTtcbiAgICB9XG5cbiAgICBwdWJsaWMgc3RhdGljIGlzRGVzY2VuZGFudChwYXJlbnQsIGNoaWxkKSB7XG4gICAgICAgIGxldCBub2RlID0gRE9NV2Fsa2VyLnBhcmVudE5vZGUoY2hpbGQpO1xuICAgICAgICB3aGlsZSAobm9kZSAhPSBudWxsKSB7XG4gICAgICAgICAgICBpZiAobm9kZSA9PT0gcGFyZW50KSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIHRydWU7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBub2RlID0gRE9NV2Fsa2VyLnBhcmVudE5vZGUobm9kZSk7XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgIH1cblxuICAgIC8vY2hlY2sgaWYgdGhlIGZpcnN0IGZvcm0gY29udHJvbCBjaGlsZCBpcyBkaXNhYmxlZFxuICAgIHB1YmxpYyBzdGF0aWMgaXNEaXNhYmxlZEJ5Rmlyc3RDaGlsZEZvcm1FbGVtZW50KGVsZW1lbnQpIHtcbiAgICAgICAgbGV0IGZvcm1FbGVtZW50cyA9IFtcImlucHV0XCIsIFwidGV4dGFyZWFcIiwgXCJzZWxlY3RcIiwgXCJrZXlnZW5cIiwgXCJwcm9ncmVzc1wiLCBcIm1ldGVyXCIsIFwib3V0cHV0XCJdO1xuICAgICAgICBpZiAoZWxlbWVudC5maXJzdENoaWxkICE9IG51bGwpIHtcbiAgICAgICAgICAgIC8vbGV0IG53ID0gbmV3IE5vZGVXYWxrZXIoZWxlbWVudCk7XG4gICAgICAgICAgICBsZXQgbncgPSBuZXcgRE9NV2Fsa2VyKGVsZW1lbnQpO1xuICAgICAgICAgICAgd2hpbGUgKG53Lm5leHROb2RlKCkpIHtcbiAgICAgICAgICAgICAgICBpZiAoZm9ybUVsZW1lbnRzLmluY2x1ZGVzKG53Lm5vZGUubm9kZU5hbWUudG9Mb3dlckNhc2UoKSkpIHtcbiAgICAgICAgICAgICAgICAgICAgaWYgKENvbW1vblV0aWwuaXNOb2RlRGlzYWJsZWQobncubm9kZSkpXG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgfVxuXG4gICAgcHVibGljIHN0YXRpYyBpc0Rpc2FibGVkQnlSZWZlcnJpbmdFbGVtZW50KGVsZW1lbnQpIHtcbiAgICAgICAgbGV0IGlkID0gZWxlbWVudC5nZXRBdHRyaWJ1dGUoXCJpZFwiKTtcbiAgICAgICAgbGV0IGRvYyA9IGVsZW1lbnQub3duZXJEb2N1bWVudDtcbiAgICAgICAgbGV0IHJvb3QgPSBkb2MuYm9keTtcbiAgICAgICAgd2hpbGUgKERPTVdhbGtlci5wYXJlbnROb2RlKHJvb3QpICE9PSBudWxsKSB7XG4gICAgICAgICAgICAvLyBHZXQgdGhlIHBhcmVudE5vZGVcbiAgICAgICAgICAgIHJvb3QgPSBET01XYWxrZXIucGFyZW50Tm9kZShyb290KTtcbiAgICAgICAgfVxuICAgICAgICAvL2xldCBudyA9IG5ldyBOb2RlV2Fsa2VyKHJvb3QpO1xuICAgICAgICBsZXQgbncgPSBuZXcgRE9NV2Fsa2VyKHJvb3QpO1xuICAgICAgIC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jz48L2xhYmVsPjxpbnB1dCBpZD0nbXknLz5cbiAgICAgICAgICAgICAqICAgPGxhYmVsIGZvcj0nbXknPjxpbnB1dCBpZD0nbXknLz48L2xhYmVsPiAgIFxuICAgICAgICAgICAgICogY2FzZXMgZm9yIGltcGxpY2l0IGxhYmVsOiBcbiAgICAgICAgICAgICAqICAgIDxsYWJlbD48aW5wdXQgLz48L2xhYmVsPlxuICAgICAgICAgICAgICovXG4gICAgICAgICAgICBsYWJlbEVsZW0gPSBDb21tb25VdGlsLmdldEFuY2VzdG9yKGVsZW0sIFwibGFiZWxcIik7XG4gICAgICAgICAgICBpZiAobGFiZWxFbGVtICYmIGxhYmVsRWxlbS50YWdOYW1lLnRvTG93ZXJDYXNlKCkgPT09IFwibGFiZWxcIiAmJiBDb21tb25VdGlsLmlzRmlyc3RGb3JtRWxlbWVudChsYWJlbEVsZW0sIGVsZW0pKSB7XG4gICAgICAgICAgICAgICAgbGV0IHBhcmVudENsb25lID0gbGFiZWxFbGVtLmNsb25lTm9kZSh0cnVlKTtcbiAgICAgICAgICAgICAgICAvLyBleGNsdWRlIGFsbCB0aGUgdGV4dCBmcm9tIHRoZSBmaXJzdCBmb3JtIGVsZW1lbnQgc2luY2UgdGhleSBtaWdodCBhbHNvIFxuICAgICAgICAgICAgICAgIC8vIGhhdmUgaW5uZXIgY29udGVudCB0aGF0IGlzIHBhcnQgb2YgaW5uZXJUZXh0XG4gICAgICAgICAgICAgICAgcGFyZW50Q2xvbmUgPSBDb21tb25VdGlsLnJlbW92ZUFsbEZvcm1FbGVtZW50c0Zyb21MYWJlbChwYXJlbnRDbG9uZSk7XG4gICAgICAgICAgICAgICAgbGFiZWwgPSBDb21tb25VdGlsLmdldElubmVyVGV4dChwYXJlbnRDbG9uZSk7XG4gICAgICAgICAgICB9IGVsc2VcbiAgICAgICAgICAgICAgICByZXR1cm4gbnVsbDsgICBcbiAgICAgICAgfVxuICAgICAgICBcbiAgICAgICAgaWYgKGxhYmVsICYmIGxhYm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ICAgIGxhYmVsZWRFbGVtID0gY2hpbGQ7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgXG4gICAgICAgIGxldCBudyA9IG5ldyBET01XYWxrZXIobGFiZWxFbGVtKTtcbiAgICAgICAgbGV0IHRleHQgPSAnJztcbiAgICAgICAgd2hpbGUgKG53Lm5leHROb2RlKCkgJiYgbncubm9kZSAhPT0gbGFiZWxFbGVtKSB7XG4gICAgICAgICAgICAvLyBvbmx5IGNoZWNrIGVsZW1lbnQgY2hpbGRyZW5cbiAgICAgICAgICAgIGlmIChudy5ub2RlICYmIG53Lm5vZGUubm9kZVR5cGUgPT09IDEgJiYgbncuZWxlbSgpKSB7XG4gICAgICAgICAgICAgICAgY29uc3QgZWxlbSA9IG53LmVsZW0oKTtcbiAgICAgICAgICAgICAgICAvLyBpZ25vcmUgaWYgaXQncyBoaWRkZW4sIG9yIGxhYmVsbGVkIGVsZW1lbnQsIG9yIGZpcnN0IGZvcm0gZWxlbWVudCBpZiBub3QgbGFiZWxlZCBieSBmb3IgYXR0cmlidXRlXG4gICAgICAgICAgICAgICAgaWYgKChpZ25vcmVIaWRkZW4gJiYgKFZpc1V0aWwuaXNOb2RlSGlkZGVuRnJvbUFUKGVsZW0pIHx8IFZpc1V0aWwuaXNOb2RlUHJlc2VudGF0aW9uYWwoZWxlbSkpKVxuICAgICAgICAgICAgICAgICAgICB8fCAobGFiZWxlZEVsZW0gJiYgbGFiZWxlZEVsZW0uY29udGFpbnMoZWxlbSkpKVxuICAgICAgICAgICAgICAgICAgICBjb250aW51ZTtcblxuICAgICAgICAgICAgICAgIGNvbnN0IHJvbGUgPSBBcmlhVXRpbC5nZXRSZXNvbHZlZFJvbGUoZWxlbSk7XG4gICAgICAgICAgICAgICAgLy8gdGV4dGJveCBldGMuIHJldHVybiBpdHMgdGV4dCB2YWx1ZVxuICAgICAgICAgICAgICAgIGlmIChyb2xlID09PSBcInRleHRib3hc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tcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAocGFpciAmJiBwYWlyLm5hbWUpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRleHQgKz0gJyAnICsgcGFpci5uYW1lLnRyaW0oKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoW1wicHJvZ3Jlc3NiYXJcIiwgXCJzY3JvbGxiYXJcIiwgXCJzbGlkZXJcIiwgXCJzcGluYnV0dG9uXCIsIFwibWV0ZXJcIl0uaW5jbHVkZXMocm9sZSkpIHtcbiAgICAgICAgICAgICAgICAgICAgLy8gZm9yIHJhbmdlIHJvbGUgdHlwZSwgaW5jbHVkaW5nIFwicHJvZ3Jlc3NiYXJcIiwgXCJzY3JvbGxiYXJcIiwgXCJzbGlkZXJcIiwgXCJzcGluYnV0dG9uXCIgcm9sZXNcbiAgICAgICAgICAgICAgICAgICAgLy8gSWYgdGhlIGFyaWEtdmFsdWV0ZXh0IHByb3BlcnR5IGlzIHByZXNlbnQsIHJldHVybiBpdHMgdmFsdWVcbiAgICAgICAgICAgICAgICAgICAgbGV0IHZhbHVlID0gZWxlbS5nZXRBdHRyaWJ1dGUoXCJhcmlhLXZhbHVldGV4dFwiKTtcbiAgICAgICAgICAgICAgICAgICAgaWYgKHZhbHVlICYmIHZhbHVlLnRyaW0oKS5sZW5ndGggPiAwKSBcbiAgICAgICAgICAgICAgICAgICAgICAgIHRleHQgKz0gJyAnICsgdmFsdWUudHJpbSgpO1xuXG4gICAgICAgICAgICAgICAgICAgIC8vIE90aGVyd2lzZSwgaWYgdGhlIGFyaWEtdmFsdWVub3cgcHJvcGVydHkgaXMgcHJlc2VudCwgcmV0dXJuIGl0cyB2YWx1ZSxcbiAgICAgICAgICAgICAgICAgICAgdmFsdWUgPSBlbGVtLmdldEF0dHJpYnV0ZShcImFyaWEtdmFsdWVub3dcIik7XG4gICAgICAgICAgICAgICAgICAgIGlmICh2YWx1ZSAmJiB2YWx1ZS50cmltKCkubGVuZ3RoID4gMCkgXG4gICAgICAgICAgICAgICAgICAgICAgICB0ZXh0ICs9ICcgJyArIHZhbHVlLnRyaW0oKTtcblxuICAgICAgICAgICAgICAgICAgICAvLyBmaW5hbGx5IHVzZSBuYXRpdmUgdmFsdWUgYXR0cmlidXRlXG4gICAgICAgICAgICAgICAgICAgIHZhbHVlID0gZWxlbS5nZXRBdHRyaWJ1dGUoXCJ2YWx1ZVwiKTtcbiAgICAgICAgICAgICAgICAgICAgaWYgKHZhbHVlICYmIHZhbHVlLnRyaW0oKS5sZW5ndGggPiAwKSBcbiAgICAgICAgICAgICAgICAgICAgICAgIHRleHQgKz0gJyAnICsgdmFsdWUudHJpbSgpO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIC8vIGdldCBhcmlhIGxhYmVsIGZyb20gdGhlIGVsZW1lbnRcbiAgICAgICAgICAgICAgICBjb25zdCB2YWx1ZSA9IEFyaWFVdGlsLmdldEFyaWFMYWJlbChlbGVtKTtcbiAgICAgICAgICAgICAgICBpZiAodmFsdWUgJiYgdmFsdWUudHJpbSgpICE9PSBcIlwiKVxuICAgICAgICAgICAgICAgICAgICB0ZXh0ICs9ICcgJyArIHZhbHVlLnRyaW0oKTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICB9XG4gICAgICAgIHJldHVybiB0ZXh0LnRyaW0oKTsgICAgXG4gICAgfVxuXG4gICAgcHVibGljIHN0YXRpYyBpc0ZpcnN0Rm9ybUVsZW1lbnQocGFyZW50Tm9kZSwgZWxlbWVudCkge1xuICAgICAgICAvL2xldCBmb3JtRWxlbWVudHNSZXF1aXJpbmdMYWJlbCA9IFtcImlucHV0XCIsIFwidGV4dGFyZWFcIiwgXCJzZWxlY3RcIiwgXCJrZXlnZW5cIiwgXCJwcm9ncmVzc1wiLCBcIm1ldGVyXCIsIFwib3V0cHV0XCJdO1xuICAgICAgICBpZi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gICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIHJldHVybiBlbGVtZW50O1xuICAgIH1cblxuICAgIC8qKlxuICAgICAgICAgKiBAcGFyYW0gZWxlbWVudCBcbiAgICAgICAgICogQHBhcmFtIGlkU3RyIFxuICAgICAgICAgKiBAcmV0dXJucyB0cnVlIGlmIGFueSBvbmUgKGlmIG11bHRpcGxlIElkcykgaWQgcG9pbnRzIHRvIGl0c2VsZlxuICAgICAgICAgKi9cbiAgICBwdWJsaWMgc3RhdGljIGlzSWRSZWZlclRvU2VsZihlbGVtZW50LCBpZFN0cjogU3RyaW5nKSB7XG4gICAgICAgIGlmICghaWRTdHIgfHwgaWRTdHIudHJpbSgpID09PSAnJykgcmV0dXJuIGZhbHNlO1xuICAgICAgICBsZXQgaWRzID0gaWRTdHIudHJpbSgpLnNwbGl0KFwiIFwiKTtcbiAgICAgICAgZm9yIChsZXQgaiA9IDAsIGxlbmd0aCA9IGlkcy5sZW5ndGg7IGogPCBsZW5ndGg7ICsraikge1xuICAgICAgICAgICAgbGV0IHJlZmVycmVkTm9kZSA9IEZyYWdtZW50VXRpbC5nZXRCeUlkKGVsZW1lbnQsIGlkc1tqXSk7XG4gICAgICAgICAgICBpZiAocmVmZXJyZWROb2RlICYmIERPTVV0aWwuc2FtZU5vZGUocmVmZXJyZWROb2RlLCBlbGVtZW50KSkgcmV0dXJuIHRydWU7XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgIH1cblxuICAgIC8qIERldGVybWluZSB0aGUgbm9kZSBkZXB0aCBvZiB0aGUgZ2l2ZW4gZWxlbWVudCAqL1xuICAgIHB1YmxpYyBzdGF0aWMgbm9kZURlcHRoKGVsZW1lbnQpIHtcbiAgICAgICAgbGV0IGRlcHRoID0gMDtcbiAgICAgICAgbGV0IHdhbGtOb2RlID0gZWxlbWVudDtcbiAgICAgICAgd2hpbGUgKHdhbGtOb2RlICE9PSBudWxsKSB7XG4gICAgICAgICAgICB3YWxrTm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C8vIE5vZGUgQiBuZXN0ZWQgaW4gTm9kZSBBXG4gICAgICAgICAgICAgICAgcmV0dXJuIC0yO1xuICAgICAgICB9IGVsc2UgaWYgKGFEZXB0aCA+IGJEZXB0aCkge1xuICAgICAgICAgICAgZm9yIChsZXQgaSA9IDA7IGkgPCBhRGVwdGggLSBiRGVwdGg7ICsraSlcbiAgICAgICAgICAgICAgICBub2RlQSA9IERPTVdhbGtlci5wYXJlbnROb2RlKG5vZGVBKTtcbiAgICAgICAgICAgIGlmIChub2RlQSA9PT0gbm9kZUIpIC8vIE5vZGUgQSBuZXN0ZWQgaW4gTm9kZSBCXG4gICAgICAgICAgICAgICAgcmV0dXJuIDI7XG4gICAgICAgIH1cbiAgICAgICAgd2hpbGUgKG5vZGVBICE9IG51bGwgJiYgbm9kZUIgIT0gbnVsbCAmJiBET01XYWxrZXIucGFyZW50Tm9kZShub2RlQSkgIT0gRE9NV2Fsa2VyLnBhcmVudE5vZGUobm9kZUIpKSB7XG4gICAgICAgICAgICBub2RlQSA9IERPTVdhbGtlci5wYXJlbnROb2RlKG5vZGVBKTtcbiAgICAgICAgICAgIG5vZGVCID0gRE9NV2Fsa2VyLnBhcmVudE5vZGUobm9kZUIpO1xuICAgICAgICB9XG4gICAgICAgIGlmIChub2RlQSA9PT0gbnVsbCB8fCBub2RlQiA9PT0gbnVsbCB8fCBET01XYWxrZXIucGFyZW50Tm9kZShub2RlQSkgIT0gRE9NV2Fsa2VyLnBhcmVudE5vZGUobm9kZUIpKSByZXR1cm4gbnVsbDtcbiAgICAgICAgd2hpbGUgKG5vZGVCICE9IG51bGwgJiYgbm9kZUIgIT0gbm9kZUEpXG4gICAgICAgICAgICBub2RlQiA9IG5vZGVCLnByZXZpb3VzU2libGluZztcbiAgICAgICAgaWYgKG5vZGVCID09PSBudWxsKSAvLyBub2RlQiBiZWZvcmUgbm9kZUFcbiAgICAgICAgICAgIHJldHVybiAxO1xuICAgICAgICBlbHNlIHJldHVybiAtMTtcbiAgICB9X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YXZvaWQgcmVjdXJzaW9uXG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoZnJhbWVMaXN0W2lkeF0uZnJhbWVzW2ldICYmICFmcmFtZUxpc3QuaW5jbHVkZXMoZnJhbWVMaXN0W2lkeF0uZnJhbWVzW2ldKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZyYW1lTGlzdC5wdXNoKGZyYW1lTGlzdFtpZHhdLmZyYW1lc1tpXSk7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsgfVxuICAgICAgICAgICAgKytpZHg7XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgfVxuXG4gICAgcHVibGljIHN0YXRpYyBkZWZhdWx0TlNSZXNvbHZlcihwcmVmaXgpIHtcbiAgICAgICAgbGV0IHVyaTtcbiAgICAgICAgc3dpdGNoIChwcmVmaXgpIHtcbiAgICAgICAgICAgIGNhc2UgJ2h0bWwnOlxuICAgICAgICAgICAgICAgIHVyaSA9ICdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hodG1sJztcbiAgICAgICAgICAgIGNhc2UgJ3gyJzpcbiAgICAgICAgICAgICAgICB1cmkgPSAnaHR0cDovL3d3dy53My5vcmcvVFIveGh0bWwyJztcbiAgICAgICAgICAgIGNhc2UgJ3gnOlxuICAgICAgICAgICAgICAgIHVyaSA9ICdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hodG1sJztcbiAgICAgICAgICAgIGNhc2UgJ3hodG1sJzpcbiAgICAgICAgICAgICAgICB1cmkgPSAnaHR0cDovL3d3dy53My5vcmcvMTk5OS94aHRtbCc7XG4gICAgICAgICAgICBkZWZhdWx0OlxuICAgICAgICAgICAgICAgIHVyaSA9IG51bGw7XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIHVy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m5vZGUpIHx8IFZpc1V0aWwuaXNFbGVtZW50T2Zmc2NyZWVuKG53Lm5vZGUgYXMgSFRNTEVsZW1lbnQpKSkge1xuICAgICAgICAgICAgICAgIGlmIChudy5ub2RlLm5leHRTaWJsaW5nKSB7XG4gICAgICAgICAgICAgICAgICAgIGlmIChudy5ub2RlLm5leHRTaWJsaW5nLm5vZGVUeXBlID09PSAzICYmIG53Lm5vZGUubmV4dFNpYmxpbmcubm9kZVZhbHVlICE9PSBudWxsKVxuICAgICAgICAgICAgICAgICAgICAgICAgdGV4dCArPSBudy5ub2RlLm5leHRTaWJsaW5nLm5vZGVWYWx1ZTtcbiAgICAgICAgICAgICAgICAgICAgbncubm9kZSA9IG53Lm5vZGUubmV4dFNpYmxpbmc7XG4gICAgICAgICAgICAgICAgICAgIGNvbnRpbnVlO1xuICAgICAgICAgICAgICAgIH0gZWxzZVxuICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGlmIChudy5ub2RlLm5vZGVUeXBlID09PSAzICYmIG53Lm5vZGUubm9kZVZhbHVlICE9PSBudWxsKSB7XG4gICAgICAgICAgICAgICAgdGV4dCArPSBudy5ub2RlLm5vZGVWYWx1ZS50cmltKCk7IFxuICAgICAgICAgICAgfSAgICBcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gdGV4dC50cmltKCk7XG4gICAgfVxuXG4gICAgLyoqIFJldHVybiB0aGUgdGV4dCBjb250ZW50IG9mIHRoZSBnaXZlbiBub2RlIFxuICAgICAqICB0aGlzIGlzIGRpZmZlcmVudCB0aGFuIGlubmVyVGV4dCBvciB0ZXh0Q29udGVudCB0aGF0IHJldHVybiB0ZXh0IGNvbnRlbnQgb2YgYSBub2RlIGFuZCBpdHMgZGVzY2VuZGFudHNcbiAgICAqL1xuICAgIHB1YmxpYyBzdGF0aWMgZ2V0Tm9kZVRleHQoZWxlbWVudCkge1xuICAgICAgICBpZiAoIWVsZW1lbnQpIHJldHVyb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WYgKCFoYXNDb250ZW50ICYmIG5vZGUubm9kZVR5cGUgPT09IDEgJiYgIVZpc1V0aWwuaXNOb2RlSGlkZGVuRnJvbUFUKG5vZGUgYXMgSFRNTEVsZW1lbnQpICYmICFWaXNVdGlsLmlzTm9kZVByZXNlbnRhdGlvbmFsKG5vZGUgYXMgSFRNTEVsZW1lbnQpKSB7XG4gICAgICAgICAgICAgICAgICAgIC8vIENoZWNrIGlmIHRoZSBpbm5lclRleHQgb2YgdGhlIGVsZW1lbnQgaXMgZW1wdHkgb3Igbm90XG4gICAgICAgICAgICAgICAgICAgIGhhc0NvbnRlbnQgPSAhQ29tbW9uVXRpbC5pc0lubmVyVGV4dE9ubHlFbXB0eShub2RlKTtcbiAgICAgICAgICAgICAgICAgICAgaWYgKCFoYXNDb250ZW50ICYmIGh5cGVybGlua19mbGFnID09PSB0cnVlKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBoYXNDb250ZW50ID0gQ29tbW9uVXRpbC5hdHRyaWJ1dGVOb25FbXB0eShub2RlLCBcImFyaWEtbGFiZWxcIikgfHwgQ29tbW9uVXRpbC5hdHRyaWJ1dGVOb25FbXB0eShub2RlLCBcImFyaWEtbGFiZWxsZWRieVwiKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCBkb2MgPSBub2RlLm93bmVyRG9jdW1lbnQ7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoZG9jKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHdpbiA9IGRvYy5kZWZhdWx0VmlldztcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAod2luKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBjU3R5bGUgPSB3aW4uZ2V0Q29tcHV0ZWRTdHlsZShub2RlIGFzIGFueSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmICghaGFzQ29udGVudCAmJiBjU3R5bGUgIT0gbnVsbCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb25zb2xlLmxvZyhjU3R5bGUuYmFja2dyb3VuZEltYWdlKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29uc29sZS5sb2coY1N0eWxlLmNvbnRlbnQpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBoYXNDb250ZW50ID0gKChjU3R5bGUuYmFja2dyb3VuZEltYWdlICYmIGNTdHlsZS5iYWNrZ3JvdW5kSW1hZ2UuaW5kZXhPZikgfHwgY1N0eWxlLmNvbnRlbnQpICYmIENvbW1vblV0aWwuYXR0cmlidXRlTm9uRW1wdHkobm9kZSwgXCJhbHRcIik7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIC8vIENoZWNrIGZvciBjYXNlcyB3aGVyZSB0aGVyZSBpcyB0ZXh0IG5vZGUgYWZ0ZXIgYW4gZWxlbWVudCB1bmRlciB0aGUgcGFyZW50XG4gICAgICAgICAgICAgICAgLy8gSW4gdGhlIGNhc2Ugd2UgZGV0ZWN0IG5vZGV0eXBlIGFzIHRleHQgbm9kZSBhbmQgdGhlIHBhdGVudCBvZiB0aGUgdGV4dCBub2RlIGlzXG4gICAgICAgICAgICAgICAgLy8gdGhlIHNhbWUgZWxlbWVudCB3ZSBhcmUgY2hlY2tpbmcgaGFzIElubmVyIGNvbnRlbnQgZm9yIHRoZW4gZ2V0IHRoZSBpbm5lciBjb250ZW50IG9mIHRoaXNcbiAgICAgICAgICAgICAgICAvLyB0ZXh0IG5vZGUuXG4gICAgICAgICAgICA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gICAgICAgIGZvciAobGV0IGkgPSAwOyAhaXNDb21wbGV4VGFibGUgJiYgaSA8IHRyTm9kZUNvdW50OyArK2kpIHtcblxuICAgICAgICAgICAgICAgIHRoTm9kZXMgPSB0ck5vZGVzW2ldLmdldEVsZW1lbnRzQnlUYWdOYW1lKFwidGhcIik7XG4gICAgICAgICAgICAgICAgdGROb2RlcyA9IHRyTm9kZXNbaV0uZ2V0RWxlbWVudHNCeVRhZ05hbWUoXCJ0ZFwiKTtcbiAgICAgICAgICAgICAgICB0aE5vZGVDb3VudCA9IHRoTm9kZXMubGVuZ3RoO1xuICAgICAgICAgICAgICAgIHRkTm9kZUNvdW50ID0gdGROb2Rlcy5sZW5ndGg7XG5cbiAgICAgICAgICAgICAgICBpZiAodGROb2RlQ291bnQgIT09IDApIHtcblxuICAgICAgICAgICAgICAgICAgICAvLyBhIHRyIGVsZW1lbnQgdGhhdCBjb250YWlucyBhdCBsZWFzdCBvbmUgdGQgZWxlbWVudCBhbmQgdHdvIG9yIG1vcmUgdGggZWxlbWVudHM7XG4gICAgICAgICAgICAgICAgICAgIGlzQ29tcGxleFRhYmxlID0gdGhOb2RlQ291bnQgPiAxO1xuXG4gICAgICAgICAgICAgICAgICAgIC8vIGEgdGggZWxlbWVudCB3aXRoIGEgcm93c3BhbiBvciBjb2xzcGFuIGF0dHJpYnV0ZVxuICAgICAgICAgICAgICAgICAgICBmb3IgKGxldCBqID0gMDsgIWlzQ29tcGxleFRhYmxlICYmIGogPCB0aE5vZGVDb3VudDsgKytqKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBpc0NvbXBsZXhUYWJsZSA9ICgodGhOb2Rlc1tqXS5oYXNBdHRyaWJ1dGUoXCJyb3dzcGFuXCIpIHx8XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGhOb2Rlc1tqXS5oYXNBdHRyaWJ1dGUoXCJjb2xzcGFuXCIpKSAmJlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIENvbW1vblV0aWwuZ2V0QW5jZXN0b3IodGhOb2Rlc1tqXSwgXCJ0YWJsZVwiKSA9PT0gdGFibGUpO1xuICAgICAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAgICAgLy8gYSB0ZCBlbGVtZW50IHdpdGggYSByb3dzcGFuIG9yIGNvbHNwYW4gYXR0cmlidXRlXG4gICAgICAgICAgICAgICAgICAgIC8vIGEgdGQgZWxlbWVudCB3aXRoIGEgaGVhZGVycyBhdHRyaWJ1dGUgdmFsdWUgdGhhdCBjb250YWlucyBtb3JlIHRoYW4gdHdvIElEUkVGc1xuICAgICAgICAgICAgICAgICAgICBmb3IgKGxldCBrID0gMDsgIWlzQ29tcGxleFRhYmxlICYmIGsgPCB0ZE5vZGVDb3VudDsgKytrKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBpc0NvbXBsZXhUYWJsZSA9ICgodGROb2Rlc1trXS5oYXNBdHRyaWJ1dGUoXCJyb3dzcGFuXCIpIHx8XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGROb2Rlc1trXS5oYXNBdHRyaWJ1dGUoXCJjb2xzcGFuXCIpIHx8XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgKHRkTm9kZXNba10uaGFzQXR0cmlidXRlKFwiaGVhZGVyc1wiKSAmJiBDb21tb25VdGlsLm5vcm1hbGl6ZVNwYWNpbmcodGROb2Rlc1trXS5nZXRBdHRyaWJ1dGUoXCJoZWFkZXJzXCIpKS5zcGxpdChcIiBcIikubGVuZ3RoID4gMikpICYmXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgQ29tbW9uVXRpbC5nZXRBbmNlc3Rvcih0ZE5vZGVzW2tdLCBcInRhYmxlXCIpID09PSB0YWJsZSk7XG4gICAgICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG5cbiAgICAgICAgICAgICAgICAgICAgLy8gdHdvIG9yIG1vcmUgdHIgZWxlbWVudHMgdGhhdCBjb250YWluIG9ubHkgdGggZWxlbWVudHNcbiAgICAgICAgICAgICAgICAgICAgaWYgKHRoTm9kZUNvdW50ID4gMCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgKyt0ck5vZGVzSGF2aW5nT25seVRoTm9kZXM7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgaXNDb21wbGV4VGFibGUgPSB0ck5vZGVzSGF2aW5nT25seVRoTm9kZXMgPT09IDI7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBpZiAoIWlzQ29tcGxleFRhYmxlKSB7XG5cbiAgICAgICAgICAgICAgICBsZXQgdGhlYWROb2RlcyA9IHRhYmxlLmdldEVsZW1lbnRzQnlUYWdOYW1lKFwidGhlYWRcIik7XG4gICAgICAgICAgICAgICAgbGV0IHRoZWFkTm9kZXNMZW5ndGggPSB0aGVhZE5vZGVzLmxlbmd0aDtcblxuICAgICAgICAgICAgICAgIGlmICh0aGVhZE5vZGVzTGVuZ3RoID4gMCkge1xuXG4gICAgICAgICAgICAgICAgICAgIC8vIHRhYmxlIGhhcyBtb3JlIHRoYW4gb25lIHRoZWFkIGVsZW1lbnRcbiAgICAgICAgICAgICAgICAgICAgaXNDb21wbGV4VGFibGUgPSB0aGVhZE5vZGVzTGVuZ3RoID4gMTtcblxuICAgICAgICAgICAgICAgICAgICAvLyBhIHRoZWFkIGVsZW1lbnQgdGhhdCBjb250YWlucyB0d28gb3IgbW9yZSB0ciBlbGVtZW50c1xuICAgICAgICAgICAgICAgICAgICBpZiAoIWlzQ29tcGxleFRhYmxlKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBpc0NvbXBsZXhUYWJsZSA9IHRoZWFkTm9kZXNbMF0uZ2V0RWxlbWVudHNCeVRhZ05hbWUoXCJ0clwiKS5sZW5ndGggPiAxO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAg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Agcm93c1tpXS5jZWxsc1swXS5ub2RlTmFtZS50b0xvd2VyQ2FzZSgpICE9IFwidGRcIjtcbiAgICAgICAgfVxuICAgICAgICBcbiAgICAgICAgaWYgKHBhc3NlZClcbiAgICAgICAgICAgIHJldHVybiB0cnVlO1xuICAgICAgICAgICAgXG4gICAgICAgIC8vY2FzZSAzOiBhbGwgdGQgZGF0YSBjZWxscyBoYXZlIGhlYWRlcnMgYXR0cmlidXRlcyB0aGF0IHBvaW50IHRvIHRoZSBpZCBvZiBhIHRoIGVsZW1lbnQgaW4gdGhlIHNhbWUgdGFibGUuIFxuICAgICAgICAvLyBodHRwczovL2h0bWwuc3BlYy53aGF0d2cub3JnL211bHRpcGFnZS90YWJsZXMuaHRtbCNhdHRyaWJ1dGVzLWNvbW1vbi10by10ZC1hbmQtdGgtZWxlbWVudHNcbiAgICAgICAgcGFzc2VkID0gdHJ1ZTsgXG4gICAgICAgIGxldCB0aElkcyA9IFtdO1xuICAgICAgICBsZXQgdGRIZWFkZXJzID0gW107XG4gICAgICAgIGZvciAobGV0IHI9MDsgcGFzc2VkICYmIHIgPCByb3dzLmxlbmd0aDsgcisrKSB7XG4gICAgICAgICAgICBsZXQgcm93ID0gcm93c1tyXTsgXG4gICAgICAgICAgICAvLyBDaGVjayBpZiB0aGUgY2VsbHMgd2l0aCBkYXRhIGluIHRoZSBsYXN0IGRhdGEgcm93IGFyZSBhbGwgVEgnc1xuICAgICAgICAgICAgZm9yIChsZXQgYz0wOyBjIDwgcm93LmNlbGxzLmxlbmd0aDsgYysrKSB7XG4gICAgICAgICAgICAgICAgbGV0IGNlbGwgPSByb3cuY2VsbHNbY107XG4gICAgICAgICAgICAgICAgaWYgKFRhYmxlVXRpbC5pc1RhYmxlQ2VsbEVtcHR5KGNlbGwpKSBjb250aW51ZTsgXG4gICAgICAgICAgICAgICAgaWYgKGNlbGwubm9kZU5hbWUudG9Mb3dlckNhc2UoKSA9PT0gJ3RkJykge1xuICAgICAgICAgICAgICAgICAg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0xO1xufVxuXG5leHBvcnQgZnVuY3Rpb24gY2hlY2tEZW1vKHRpbWVvdXQ/OiBudW1iZXIpIHtcbiAgICBpZiAoIXRpbWVvdXQpIHRpbWVvdXQgPSAwO1xuICAgIGxldCBjaGVja2VyID0gbmV3IENoZWNrZXIoKTtcbiAgICBzZXRUaW1lb3V0KGZ1bmN0aW9uKCkge1xuICAgICAgICBjaGVja2VyLmNoZWNrKGRvY3VtZW50LmRvY3VtZW50RWxlbWVudCwgW1wiSUJNX0FjY2Vzc2liaWxpdHlcIiwgXCJJQk1fRGVzaWduXCJdKVxuICAgICAgICAudGhlbihmdW5jdGlvbihyZXBvcnQpIHtcbiAgICAgICAgICAgIGNvbnNvbGUubG9nKHJlcG9ydCk7XG4gICAgICAgICAgICBjb25zdCB2YWxzID0ge1xuICAgICAgICAgICAgICAgIFwiRkFJTFwiOiAwLFxuICAgICAgICAgICAgICAgIFwiUE9URU5USUFMXCI6IDEsXG4gICAgICAgICAgICAgICAgXCJNQU5VQUxcIjogMixcbiAgICAgICAgICAgICAgICBcIlBBU1NcIjogM1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgZm9yIChsZXQgaWR4PTA7IGlkeDxyZXBvcnQucmVzdWx0cy5sZW5ndGg7ICsraWR4KSB7XG4gICAgICAgICAgICAgICAgaWYgKHJlcG9ydC5yZXN1bHRzW2lkeF0udmFsdWVbMV0gPT09IFwiUEFTU1wiKSB7XG4gICAgICAgICAgICAgICAgICAgIHJlcG9ydC5yZXN1bHRzLnNwbGljZShpZHgtLSwxKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXBvcnQucmVzdWx0cy5zb3J0KChhLGIpID0+IHtcbiAgICAgICAgICAgICAgICBpZiAoYS5jYXRlZ29yeSAhPSBiLmNhdGVnb3J5KSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBhLmNhdGVnb3J5LmxvY2FsZUNvbXBhcmUoYi5jYXRlZ29yeSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGlmIChhLnBhdGhbXCJhcmlhXCJdID09PSBiLnBhdGhbXCJhcmlhXCJdKSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiB2YWxzW2EudmFsdWVbMV1dLXZhbHNbYi52YWx1ZVsxXV07XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIHJldHVybiBhLnBhdGhbXCJhcmlhXCJdLmxvY2FsZUNvbXBhcmUoYi5wYXRoW1wiYXJpYVwiXSk7XG4gICAgICAgICAgICB9KVxuICAgICAgICAgICAgbGV0IGxhc3RQYXRoID0gbnVsbDtcbiAgICAgICAgICAgIGxldCBjYXRlZ29yeSA9IG51bGw7XG4gICAgICAgICAgICBmb3IgKGNvbnN0IHJlc3VsdCBvZiByZXBvcnQucmVzdWx0cykge1xuICAgICAgICAgICAgICAgIGlmIChjYXRlZ29yeSAhPT0gcmVzdWx0LmNhdGVnb3J5KSB7XG4gICAgICAgICAgICAgICAgICAgIGlmIChjYXRlZ29yeSAhPT0gbnVsbCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgY29uc29sZS5ncm91cEVuZCgpO1xuICAgICAgICAgICAgICAgICAgICAgICAgY29uc29sZS5ncm91cEVuZCgpO1xuICAgICAgICAgICAgICAgICAgICAgICAgbGFzdFBhdGggPSBudWxsO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIGNhdGVnb3J5ID0gcmVzdWx0LmNhdGVnb3J5O1xuICAgICAgICAgICAgICAgICAgICBjb25zb2xlLmdyb3VwKHJlc3VsdC5jYXRlZ29yeSlcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgaWYgKHJlc3VsdC5wYXRoW1wiYXJpYVwiXSAhPSBsYXN0UGF0aCkge1xuICAgICAgICAgICAgICAgICAgICBpZiAobGFzdFBhdGggIT09IG51bGwpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbnNvbGUuZ3JvdXBFbmQoKTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICBsYXN0UGF0aCA9IHJlc3VsdC5wYXRoW1wiYXJpYVwiXTtcbiAgICAgICAgICAgICAgICAgICAgaWYgKGxhc3RQYXRoID09PSBcIlwiKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBjb25zb2xlLmdyb3VwKFwicGFnZVwiKTtcbiAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbnNvbGUuZ3JvdXAobGFzdFBhdGgpO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKHJlc3VsdC52YWx1ZSwgcmVzdWx0Lm1lc3NhZ2UpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgY29uc29sZS5ncm91cEVuZCgpO1xuICAgICAgICAgICAgY29uc29sZS5ncm91cEVuZCgpO1xuICAgICAgICB9KTtcbiAgICB9LCB0aW1lb3V0KTtcbn1cbiJdLCJuYW1lcyI6W10sInNvdXJjZVJvb3QiOiIifQ== \ No newline at end of file diff --git a/rule-server/src/static/archives/2024.12.12/js/ace-node-debug.js b/rule-server/src/static/archives/2024.12.12/js/ace-node-debug.js new file mode 100644 index 000000000..549bc9f99 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/js/ace-node-debug.js @@ -0,0 +1,31003 @@ +/*! + * Copyright:: 2016,2017,2019,2020- IBM, Inc + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ 8235: +/***/ ((__unused_webpack_module, exports) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ARIADefinitions = void 0; +var ARIADefinitions = /** @class */ (function () { + function ARIADefinitions() { + } + ARIADefinitions.nameFromContent = function (role) { + return (role in ARIADefinitions.designPatterns) + && ARIADefinitions.designPatterns[role].nameFrom + && ARIADefinitions.designPatterns[role].nameFrom.includes("contents"); + }; + /* + * array of WAI-ARIA global states and properties + * @see https://www.w3.org/TR/wai-aria-1.2/#global_states + */ + ARIADefinitions.globalProperties = ["aria-atomic", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-details", "aria-flowto", "aria-hidden", "aria-keyshortcuts", + "aria-label", "aria-labelledby", "aria-live", "aria-owns", "aria-relevant", "aria-roledescription" + // the following are deprecated in ARIA 1.2, will indicate deprecation in individual role + , + 'aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid' + ]; + //properties contains id(s) that refer to other element(s) + ARIADefinitions.referenceProperties = ["aria-owns", "aria-controls", "aria-describedby", "aria-labelledby", "aria-flowto", "aria-activedescendant"]; + // deprecated roles + ARIADefinitions.globalDeprecatedRoles = [ + 'directory', 'doc-biblioentry', 'doc-endnote' + ]; + // the following are deprecated in ARIA 1.1 for all the roles + ARIADefinitions.globalDeprecatedProperties = [ + 'aria-grabbed', 'aria-dropeffect' + ]; + /* + * XSD data types for all WAI-ARIA properties + * along with valid values when the data type is NMTOKEN + * WAI-ARIA properties data types explaned: + * type: Used to identify the type of values allowed for the WAI-ARIA property + * values: Used to identify specific values of an WAI-ARIA property when type is nmtoken + * hiddenIDRefSupported: Used to identify if the WAI-ARIA property supports referencing hidden ID + * true: refers to WAI-ARIA property supports hidden ID references + * false: refers to WAI-ARIA property does not support hidden ID references + * Default value will be set to false, if not specified. + */ + ARIADefinitions.propertyDataTypes = { + "aria-activedescendant": { + type: "http://www.w3.org/2001/XMLSchema#idref", + hiddenIDRefSupported: true + }, + "aria-atomic": { + type: "http://www.w3.org/2001/XMLSchema#boolean" + }, + "aria-autocomplete": { + type: "http://www.w3.org/2001/XMLSchema#nmtoken", + values: ["inline", "list", "both", "none", "undefined"] //add undefined to handle value empty + }, + "aria-busy": { + type: "http://www.w3.org/2001/XMLSchema#boolean" + }, + "aria-checked": { + type: "http://www.w3.org/2001/XMLSchema#nmtoken", + values: ["true", "false", "mixed", "undefined"] + }, + "aria-colcount": { + type: "http://www.w3.org/2001/XMLSchema#int" + }, + "aria-colindex": { + type: "http://www.w3.org/2001/XMLSchema#int" + }, + "aria-colspan": { + type: "http://www.w3.org/2001/XMLSchema#int" + }, + "aria-controls": { + type: "http://www.w3.org/2001/XMLSchema#idrefs", + hiddenIDRefSupported: true + }, + "aria-current": { + type: "http://www.w3.org/2001/XMLSchema#nmtoken", + values: ["page", "step", "location", "date", "time", "true", "false", "undefined"] //add undefined for empty value + }, + "aria-describedby": { + type: "http://www.w3.org/2001/XMLSchema#idrefs", + hiddenIDRefSupported: true + }, + "aria-details": { + type: "http://www.w3.org/2001/XMLSchema#idrefs" + }, + "aria-disabled": { + type: "http://www.w3.org/2001/XMLSchema#boolean" + }, + "aria-dropeffect": { + type: "http://www.w3.org/2001/XMLSchema#nmtokens", + values: ["copy", "move", "link", "execute", "popup", "none"] + }, + "aria-errormessage": { + type: "http://www.w3.org/2001/XMLSchema#idref", + hiddenIDRefSupported: true + }, + "aria-expanded": { + type: "http://www.w3.org/2001/XMLSchema#nmtoken", + values: ["true", "false", "undefined"] + }, + "aria-flowto": { + type: "http://www.w3.org/2001/XMLSchema#idrefs", + hiddenIDRefSupported: false + }, + "aria-grabbed": { + type: "http://www.w3.org/2001/XMLSchema#nmtoken", + values: ["true", "false", "undefined"] + }, + "aria-haspopup": { + type: "http://www.w3.org/2001/XMLSchema#nmtoken", + values: ["true", "false", "menu", "listbox", "tree", "grid", "dialog"] + }, + "aria-hidden": { + type: "http://www.w3.org/2001/XMLSchema#nmtoken", + values: ["true", "false", "undefined"] + }, + "aria-invalid": { + type: "http://www.w3.org/2001/XMLSchema#nmtoken", + values: ["true", "false", "spelling", "grammar", "undefined"] //add undefined for empty value + }, + "aria-keyshortcuts": { + type: "http://www.w3.org/2001/XMLSchema#string" + }, + "aria-label": { + type: "http://www.w3.org/2001/XMLSchema#string" + }, + "aria-labelledby": { + type: "http://www.w3.org/2001/XMLSchema#idrefs", + hiddenIDRefSupported: true + }, + "aria-level": { + type: "http://www.w3.org/2001/XMLSchema#int" + }, + "aria-live": { + type: "http://www.w3.org/2001/XMLSchema#nmtoken", + values: ["off", "polite", "assertive"] + }, + "aria-modal": { + type: "http://www.w3.org/2001/XMLSchema#boolean" + }, + "aria-multiline": { + type: "http://www.w3.org/2001/XMLSchema#boolean" + }, + "aria-multiselectable": { + type: "http://www.w3.org/2001/XMLSchema#boolean" + }, + "aria-orientation": { + type: "http://www.w3.org/2001/XMLSchema#nmtoken", + values: ["horizontal", "vertical", "undefined"] + }, + "aria-owns": { + type: "http://www.w3.org/2001/XMLSchema#idrefs", + hiddenIDRefSupported: true + }, + "aria-placeholder": { + type: "http://www.w3.org/2001/XMLSchema#string" + }, + "aria-posinset": { + type: "http://www.w3.org/2001/XMLSchema#int" + }, + "aria-pressed": { + type: "http://www.w3.org/2001/XMLSchema#nmtoken", + values: ["true", "false", "mixed", "undefined"] + }, + "aria-readonly": { + type: "http://www.w3.org/2001/XMLSchema#boolean" + }, + "aria-relevant": { + type: "http://www.w3.org/2001/XMLSchema#nmtokens", + values: ["additions", "removals", "text", "all"] + }, + "aria-required": { + type: "http://www.w3.org/2001/XMLSchema#boolean" + }, + "aria-roledescription": { + type: "http://www.w3.org/2001/XMLSchema#string" + }, + "aria-rowcount": { + type: "http://www.w3.org/2001/XMLSchema#int" + }, + "aria-rowindex": { + type: "http://www.w3.org/2001/XMLSchema#int" + }, + "aria-rowspan": { + type: "http://www.w3.org/2001/XMLSchema#int" + }, + "aria-selected": { + type: "http://www.w3.org/2001/XMLSchema#nmtoken", + values: ["true", "false", "undefined"] + }, + "aria-setsize": { + type: "http://www.w3.org/2001/XMLSchema#int" + }, + "aria-sort": { + type: "http://www.w3.org/2001/XMLSchema#nmtoken", + values: ["ascending", "descending", "other", "none"] + }, + "aria-valuemax": { + type: "http://www.w3.org/2001/XMLSchema#decimal" + }, + "aria-valuemin": { + type: "http://www.w3.org/2001/XMLSchema#decimal" + }, + "aria-valuenow": { + type: "http://www.w3.org/2001/XMLSchema#decimal" + }, + "aria-valuetext": { + type: "http://www.w3.org/2001/XMLSchema#string" + } + }; + /* + * design patterns for concrete WAI-ARIA roles + * legitimate keys for each role include: + * + * - container: appropriate container(s) for that role + * - props: states and properties that may be associated with this role (in addition to the global states and properties listed above) + * - reqProps: required states or properties for this role + * - reqChildren: required children for this role + * - htmlEquiv: HTML equivalent for this role + * - roleType: one of widget, structure, landmark, liveRegion, window (as seen in https://www.w3.org/TR/wai-aria-1.2/#roles_categorization) + * - nameRequired: determines whether an accessible name is required for a widget (see ARIA spec.) + * - nameFrom: determines how an accessible name is supplied (author or content - see ARIA spec.) + * - deprecated: if present, indicates that the role is deprecated, and provides a list of alternative role(s) + */ + ARIADefinitions.designPatterns = { + "alert": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "liveRegion", + nameRequired: false, + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "alertdialog": { + container: null, + props: ["aria-modal"], + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "window", + nameRequired: true, + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "application": { + container: null, + props: ["aria-activedescendant", "aria-expanded"], + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameRequired: true, + nameFrom: ["author"] + }, + "article": { + container: null, + props: ["aria-posinset", "aria-setsize"], + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "banner": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "blockquote": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "button": { + container: null, + props: ["aria-expanded", "aria-pressed"], + reqProps: null, + reqChildren: null, + htmlEquiv: "button | input[@type='button']", + roleType: "widget", + nameRequired: true, + nameFrom: ["author", "contents"], + presentationalChildren: true, + deprecatedProps: ['aria-errormessage', 'aria-invalid'] + }, + "caption": { + container: ["figure", "grid", "table", "treegrid"], + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "cell": { + container: ["row"], + props: ["aria-colindex", "aria-colspan", "aria-rowindex", "aria-rowspan"], + reqProps: null, + reqChildren: null, + htmlEquiv: "td", + roleType: "structure", + nameFrom: ["author", "contents"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "checkbox": { + container: null, + props: ["aria-expanded", "aria-readonly", "aria-required"], + reqProps: ["aria-checked"], + reqChildren: null, + htmlEquiv: "input[@type='checkbox']", + roleType: "widget", + nameRequired: true, + nameFrom: ["author", "contents"], + presentationalChildren: true, + deprecatedProps: ['aria-haspopup'] + }, + "code": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "columnheader": { + container: ["row"], + props: ["aria-colindex", "aria-colspan", "aria-expanded", "aria-readonly", "aria-required", "aria-rowindex", "aria-rowspan", "aria-selected", "aria-sort"], + reqProps: null, + reqChildren: null, + htmlEquiv: "th[@scope='col']", + roleType: "structure", + nameRequired: true, + nameFrom: ["author", "contents"] + }, + "combobox": { + container: null, + props: ["aria-controls", "aria-activedescendant", "aria-autocomplete", "aria-readonly", "aria-required"], + reqProps: ["aria-expanded"], + reqChildren: [], + htmlEquiv: null, + roleType: "widget", + nameRequired: true, + nameFrom: ["author"] + }, + "complementary": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "comment": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameRequired: false, + nameFrom: ["author", "contents"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "contentinfo": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "definition": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "deletion": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "dialog": { + container: null, + props: ["aria-modal"], + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "window", + nameRequired: true, + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "directory": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["author"], + deprecated: true, + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "doc-abstract": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-acknowledgments": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-afterword": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-appendix": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-backlink": { + container: null, + props: ["aria-disabled", "aria-expanded", "aria-haspopup"], + reqProps: null, + reqChildren: null, + htmlEquiv: "a | link", + roleType: "widget", + nameRequired: true, + nameFrom: ["author", "contents"] + }, + "doc-biblioentry": { + container: ["list"], + props: ["aria-level", "aria-posinset", "aria-setsize"], + reqProps: null, + reqChildren: null, + htmlEquiv: "li", + roleType: "structure", + nameRequired: true, + nameFrom: ["author"] + }, + "doc-bibliography": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-biblioref": { + container: null, + props: ["aria-disabled", "aria-expanded", "aria-haspopup"], + reqProps: null, + reqChildren: null, + htmlEquiv: "a | link", + roleType: "widget", + nameRequired: true, + nameFrom: ["author", "contents"] + }, + "doc-chapter": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-colophon": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: true, + nameFrom: ["author"] + }, + "doc-conclusion": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-cover": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: "img", + roleType: "structure", + nameRequired: false, + nameFrom: ["author"], + presentationalChildren: true + }, + "doc-credit": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-credits": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-dedication": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-endnote": { + container: ["list"], + props: ["aria-level", "aria-posinset", "aria-setsize"], + reqProps: null, + reqChildren: null, + htmlEquiv: "li", + roleType: "structure", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-endnotes": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: true, + nameFrom: ["author"] + }, + "doc-epigraph": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-epilogue": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-errata": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-example": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-footnote": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-foreword": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-glossary": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-glossref": { + container: null, + props: ["aria-disabled", "aria-expanded", "aria-haspopup"], + reqProps: null, + reqChildren: null, + htmlEquiv: "a | link", + roleType: "widget", + nameRequired: true, + nameFrom: ["author", "contents"] + }, + "doc-index": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-introduction": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-noteref": { + container: null, + props: ["aria-disabled", "aria-expanded", "aria-haspopup"], + reqProps: null, + reqChildren: null, + htmlEquiv: "a | link", + roleType: "widget", + nameRequired: true, + nameFrom: ["author", "contents"] + }, + "doc-notice": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-pagebreak": { + container: null, + props: ["aria-orientation"], + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameRequired: true, + nameFrom: ["author", "contents"], + presentationalChildren: true + }, + "doc-pagelist": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-pagefooter": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + }, + "doc-pageheader": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + }, + "doc-part": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-preface": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-prologue": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-pullquote": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-qna": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-subtitle": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameRequired: false, + nameFrom: ["author", "contents"] + }, + "doc-tip": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameRequired: false, + nameFrom: ["author"] + }, + "doc-toc": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: false, + nameFrom: ["author"] + }, + "document": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameRequired: false, + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "emphasis": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "feed": { + container: null, + props: null, + reqProps: null, + reqChildren: ["article"], + htmlEquiv: null, + roleType: "structure", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "figure": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "form": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: "form", + roleType: "landmark", + nameRequired: true, + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "generic": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: "div | span", + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby", "aria-roledescription"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "graphics-document": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + nameRequired: true, + nameFrom: ["author"] + }, + "graphics-object": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + nameRequired: false, + nameFrom: ["author"] + }, + "graphics-symbol": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + nameRequired: true, + nameFrom: ["author"], + presentationalChildren: true + }, + "grid": { + container: null, + props: ["aria-activedescendant", "aria-colcount", "aria-multiselectable", "aria-readonly", "aria-rowcount"], + reqProps: null, + reqChildren: ["row", "rowgroup"], + htmlEquiv: "table", + roleType: "widget", + nameRequired: true, + nameFrom: ["author"], + deprecatedProps: ['aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "gridcell": { + container: ["row"], + props: ["aria-colindex", "aria-colspan", "aria-disabled", "aria-errormessage", "aria-expanded", "aria-haspopup", "aria-invalid", "aria-readonly", "aria-required", "aria-rowindex", "aria-rowspan", "aria-selected"], + reqProps: null, + reqChildren: null, + htmlEquiv: "td", + roleType: "widget", + nameFrom: ["author", "contents"] + }, + "group": { + container: null, + props: ["aria-activedescendant"], + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["author"], + deprecatedProps: ['aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "heading": { + container: null, + props: null, + reqProps: ["aria-level"], + reqChildren: null, + htmlEquiv: "h1 | h2 | h3 | h4 | h5 | h6", + roleType: "structure", + nameRequired: true, + nameFrom: ["author", "contents"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "img": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: "img", + roleType: "structure", + nameRequired: true, + nameFrom: ["author"], + presentationalChildren: true, + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "image": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: "img", + roleType: "structure", + nameRequired: true, + nameFrom: ["author"], + presentationalChildren: true, + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "insertion": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "link": { + container: null, + props: ["aria-expanded"], + reqProps: null, + reqChildren: null, + htmlEquiv: "a | link", + roleType: "widget", + nameRequired: true, + nameFrom: ["author", "contents"], + deprecatedProps: ['aria-errormessage', 'aria-invalid'] + }, + "list": { + container: null, + props: null, + reqProps: null, + reqChildren: ["listitem"], + htmlEquiv: "ol | ul", + roleType: "structure", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "listbox": { + container: null, + props: ["aria-activedescendant", "aria-expanded", "aria-multiselectable", "aria-orientation", "aria-readonly", "aria-required"], + reqProps: null, + reqChildren: ["group", "option"], + htmlEquiv: null, + roleType: "widget", + nameRequired: true, + nameFrom: ["author"], + deprecatedProps: ['aria-haspopup'] + }, + "listitem": { + container: ["list"], + props: ["aria-level", "aria-posinset", "aria-setsize"], + reqProps: null, + reqChildren: null, + htmlEquiv: "li", + roleType: "structure", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "log": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "liveRegion", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "main": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "mark": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: "mark", + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "marquee": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "liveRegion", + nameRequired: true, + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "math": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["author"], + presentationalChildren: false, + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "menu": { + container: null, + props: ["aria-activedescendant", "aria-orientation"], + reqProps: null, + reqChildren: ["group", "menuitem", "menuitemcheckbox", "menuitemradio"], + htmlEquiv: null, + roleType: "widget", + nameRequired: false, + nameFrom: ["author"], + deprecatedProps: ['aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "menubar": { + container: null, + props: ["aria-activedescendant", "aria-orientation"], + reqProps: null, + reqChildren: ["group", "menuitem", "menuitemcheckbox", "menuitemradio"], + htmlEquiv: null, + roleType: "widget", + nameRequired: false, + nameFrom: ["author"], + deprecatedProps: ['aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "menuitem": { + container: ["group", "menu", "menubar"], + props: ["aria-expanded", "aria-posinset", "aria-setsize"], + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "widget", + nameRequired: true, + nameFrom: ["author", "contents"], + deprecatedProps: ['aria-errormessage', 'aria-invalid'] + }, + "menuitemcheckbox": { + container: ["group", "menu", "menubar"], + props: ["aria-expanded", "aria-posinset", "aria-setsize"], + reqProps: ["aria-checked"], + reqChildren: null, + htmlEquiv: null, + roleType: "widget", + nameRequired: true, + nameFrom: ["author", "contents"], + presentationalChildren: true, + deprecatedProps: ['aria-errormessage', 'aria-invalid'] + }, + "menuitemradio": { + container: ["group", "menu", "menubar"], + props: ["aria-expanded", "aria-posinset", "aria-setsize"], + reqProps: ["aria-checked"], + reqChildren: null, + htmlEquiv: null, + roleType: "widget", + nameRequired: true, + nameFrom: ["author", "contents"], + presentationalChildren: true, + deprecatedProps: ['aria-errormessage', 'aria-invalid'] + }, + "meter": { + container: null, + props: ["aria-valuemax", "aria-valuemin", "aria-valuetext"], + reqProps: ["aria-valuenow"], + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameRequired: true, + nameFrom: ["author"], + presentationalChildren: true, + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "navigation": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "none": { + container: null, + props: [], + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "note": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "option": { + container: ["group", "listbox"], + props: ["aria-selected", "aria-checked", "aria-posinset", "aria-setsize"], + reqProps: null, + reqChildren: null, + htmlEquiv: "option", + roleType: "widget", + nameRequired: true, + nameFrom: ["author", "contents"], + presentationalChildren: true, + deprecatedProps: ['aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "paragraph": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "presentation": { + container: null, + props: [], + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "progressbar": { + container: null, + props: ["aria-valuemax", "aria-valuemin", "aria-valuenow", "aria-valuetext"], + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "widget", + nameRequired: true, + nameFrom: ["author"], + presentationalChildren: true, + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "radio": { + container: null, + props: ["aria-posinset", "aria-setsize"], + reqProps: ["aria-checked"], + reqChildren: null, + htmlEquiv: "input[@type='radio']", + roleType: "widget", + nameRequired: true, + nameFrom: ["author", "contents"], + presentationalChildren: true, + deprecatedProps: ['aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "radiogroup": { + container: null, + props: ["aria-activedescendant", "aria-orientation", "aria-readonly", "aria-required"], + reqProps: null, + reqChildren: ["radio"], + htmlEquiv: null, + roleType: "widget", + nameRequired: true, + nameFrom: ["author"], + deprecatedProps: ['aria-haspopup'] + }, + "region": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameRequired: true, + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "row": { + container: ["grid", "rowgroup", "table", "treegrid"], + props: ["aria-activedescendant", "aria-colindex", "aria-expanded", "aria-level", "aria-posinset", "aria-rowindex", "aria-selected", "aria-setsize"], + reqProps: null, + reqChildren: ["cell", "columnheader", "gridcell", "rowheader"], + htmlEquiv: "tr", + roleType: "structure", + nameFrom: ["author", "contents"], + deprecatedProps: ['aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "rowgroup": { + container: ["grid", "table", "treegrid"], + props: [], + reqProps: null, + reqChildren: ["row"], + htmlEquiv: "tbody | tfoot | thead", + roleType: "structure", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "rowheader": { + container: ["row"], + props: ["aria-colindex", "aria-colspan", "aria-expanded", "aria-readonly", "aria-required", "aria-rowindex", "aria-rowspan", "aria-selected", "aria-sort"], + reqProps: null, + reqChildren: null, + htmlEquiv: "th[@scope='row']", + roleType: "structure", + nameRequired: true, + nameFrom: ["author", "contents"] + }, + "scrollbar": { + container: null, + props: ["aria-orientation", "aria-valuemax", "aria-valuemin", "aria-valuetext"], + reqProps: ["aria-controls", "aria-valuenow"], + reqChildren: null, + htmlEquiv: null, + roleType: "widget", + nameRequired: false, + nameFrom: ["author"], + presentationalChildren: true, + deprecatedProps: ['aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "search": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "landmark", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "searchbox": { + container: null, + props: ["aria-activedescendant", "aria-autocomplete", "aria-multiline", "aria-placeholder", "aria-readonly", "aria-required"], + reqProps: null, + reqChildren: null, + htmlEquiv: "input[@type='search']", + roleType: "widget", + nameRequired: true, + nameFrom: ["author"] + }, + "separator": { + container: null, + props: ["aria-orientation"], + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["author"], + presentationalChildren: true, + deprecatedProps: ['aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "slider": { + container: null, + props: ["aria-orientation", "aria-readonly", "aria-valuemax", "aria-valuemin", "aria-valuetext"], + reqProps: ["aria-valuenow"], + reqChildren: null, + htmlEquiv: null, + roleType: "widget", + nameRequired: true, + nameFrom: ["author"], + presentationalChildren: true + }, + "spinbutton": { + container: null, + props: ["aria-activedescendant", "aria-readonly", "aria-required", "aria-valuemax", "aria-valuemin", "aria-valuenow", "aria-valuetext"], + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "widget", + nameRequired: true, + nameFrom: ["author"], + deprecatedProps: ['aria-haspopup'] + }, + "status": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "liveRegion", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "strong": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "subscript": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "suggestion": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "superscript": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "switch": { + container: null, + props: ["aria-expanded", "aria-readonly", "aria-required"], + reqProps: ["aria-checked"], + reqChildren: null, + htmlEquiv: null, + roleType: "widget", + nameRequired: true, + nameFrom: ["author", "contents"], + presentationalChildren: true, + deprecatedProps: ['aria-haspopup'] + }, + "tab": { + container: ["tablist"], + props: ["aria-expanded", "aria-posinset", "aria-selected", "aria-setsize"], + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "widget", + nameRequired: true, + nameFrom: ["author", "contents"], + presentationalChildren: true, + deprecatedProps: ['aria-errormessage', 'aria-invalid'] + }, + "table": { + container: null, + props: ["aria-colcount", "aria-rowcount"], + reqProps: null, + reqChildren: ["row", "rowgroup", "caption"], + htmlEquiv: "table", + roleType: "structure", + nameRequired: true, + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "tablist": { + container: null, + props: ["aria-activedescendant", "aria-multiselectable", "aria-orientation"], + reqProps: null, + reqChildren: ["tab"], + htmlEquiv: null, + roleType: "widget", + nameRequired: false, + nameFrom: ["author"], + deprecatedProps: ['aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "tabpanel": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "widget", + nameRequired: true, + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "term": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: "dfn", + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "textbox": { + container: null, + props: ["aria-activedescendant", "aria-autocomplete", "aria-multiline", "aria-placeholder", "aria-readonly", "aria-required"], + reqProps: null, + reqChildren: null, + htmlEquiv: "input[@type='text']", + roleType: "widget", + nameRequired: true, + nameFrom: ["author"] + }, + "time": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["prohibited"], + prohibitedProps: ["aria-label", "aria-labelledby"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "timer": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "liveRegion", + nameFrom: ["author"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "toolbar": { + container: null, + props: ["aria-activedescendant", "aria-orientation"], + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameFrom: ["author"], + deprecatedProps: ['aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "tooltip": { + container: null, + props: null, + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "structure", + nameRequired: false, + nameFrom: ["author", "contents"], + deprecatedProps: ['aria-disabled', 'aria-errormessage', 'aria-haspopup', 'aria-invalid'] + }, + "tree": { + container: null, + props: ["aria-activedescendant", "aria-multiselectable", "aria-orientation", "aria-required"], + reqProps: null, + reqChildren: ["group", "treeitem"], + htmlEquiv: null, + roleType: "widget", + nameRequired: true, + nameFrom: ["author"], + deprecatedProps: ['aria-haspopup'] + }, + "treegrid": { + container: null, + props: ["aria-activedescendant", "aria-colcount", "aria-multiselectable", "aria-orientation", "aria-readonly", "aria-required", "aria-rowcount"], + reqProps: null, + reqChildren: ["row", "rowgroup"], + htmlEquiv: null, + roleType: "widget", + nameRequired: true, + nameFrom: ["author"], + deprecatedProps: ['aria-haspopup'] + }, + "treeitem": { + container: ["group", "tree"], + props: ["aria-checked", "aria-expanded", "aria-level", "aria-posinset", "aria-selected", "aria-setsize"], + reqProps: null, + reqChildren: null, + htmlEquiv: null, + roleType: "widget", + nameRequired: true, + nameFrom: ["author", "contents"], + deprecatedProps: ['aria-errormessage', 'aria-invalid'] + }, + }; // end designPatterns + // copied from https://html.spec.whatwg.org/multipage/semantics-other.html#disabled-elements + // https://html.spec.whatwg.org/multipage/input.html#input-type-attr-summary + ARIADefinitions.elementsAllowedDisabled = ["button", "input", "select", "textarea", "optgroup", "option", "fieldset"]; // also form-associated custom element + ARIADefinitions.elementsAllowedRequired = ["select", "textarea"]; // remove 'input' and add to the individual element, becuase required is not supported on input@type="range", "color", "hidden" or any button types + ARIADefinitions.elementsAllowedReadOnly = ["textarea"]; // remove 'input' and add to the individual element, because readonly is not supported on input@type="checkbox", "radio", "range", "color", "file", hidden" or any button types + /* https://www.w3.org/TR/html-aria/#docconformance + * documentConformanceRequirement contains properties of the tags related to role without any additional attribute value + * documentConformanceRequirementSpecialTags contains those tags that require special considerations + */ + ARIADefinitions.documentConformanceRequirement = { + "abbr": { + implicitRole: null, + validRoles: ["any"], + globalAriaAttributesValid: true, + prohibitedAriaAttributesWhenNoImplicitRole: ["aria-label", "aria-labelledby"] + }, + "address": { + implicitRole: ["group"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "article": { + implicitRole: ["article"], + validRoles: ["application", "document", "feed", "main", "none", "presentation", "region"], + globalAriaAttributesValid: true + }, + "aside": { + implicitRole: ["complementary"], + validRoles: ["doc-dedication", "doc-example", "doc-footnote", "doc-glossary", "doc-pullquote", "doc-tip", "feed", "none", "note", "presentation", "region", "search"], + globalAriaAttributesValid: true + }, + "audio": { + implicitRole: null, + validRoles: ["application"], + globalAriaAttributesValid: true + }, + "b": { + implicitRole: ["generic"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "base": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "bdi": { + implicitRole: ["generic"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "bdo": { + implicitRole: ["generic"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "blockquote": { + implicitRole: ["blockquote"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "body": { + implicitRole: ["generic"], + validRoles: null, + otherDisallowedAriaAttributes: ['aria-hidden'], + globalAriaAttributesValid: true + }, + "br": { + implicitRole: null, + validRoles: ["none", "presentation"], + globalAriaAttributesValid: false, + otherAllowedAriaAttributes: ["aria-hidden"] + }, + "button": { + implicitRole: ["button"], + validRoles: ["checkbox", "combobox", "gridcell", "link", "menuitem", "menuitemcheckbox", "menuitemradio", "option", "radio", "separator", "slider", "switch", "tab", "treeitem"], + globalAriaAttributesValid: true + }, + "canvas": { + implicitRole: null, + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "caption": { + implicitRole: ['caption'], + validRoles: null, + globalAriaAttributesValid: true, + allowAttributesFromImplicitRole: false + }, + "cite": { + implicitRole: null, + validRoles: ["any"], + globalAriaAttributesValid: true, + prohibitedAriaAttributesWhenNoImplicitRole: ["aria-label", "aria-labelledby"] + }, + "code": { + implicitRole: ["code"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "col": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "colgroup": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "data": { + implicitRole: ["generic"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "datalist": { + implicitRole: ["listbox"], + validRoles: null, + globalAriaAttributesValid: false, + allowAttributesFromImplicitRole: false + }, + "dd": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: true + }, + "del": { + implicitRole: ["deletion"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "details": { + implicitRole: ["group"], + validRoles: null, + globalAriaAttributesValid: true + }, + "dfn": { + implicitRole: ["term"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "dialog": { + implicitRole: ["dialog"], + validRoles: ["alertdialog"], + globalAriaAttributesValid: true + }, + "dl": { + implicitRole: null, + validRoles: ["group", "list", "none", "presentation"], + globalAriaAttributesValid: true + }, + "dt": { + implicitRole: ["term"], + validRoles: ["listitem"], + globalAriaAttributesValid: true + }, + "em": { + implicitRole: null, + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "embed": { + implicitRole: null, + validRoles: ["application", "document", "img", "none", "presentation"], + globalAriaAttributesValid: true + }, + "fieldset": { + implicitRole: ["group"], + validRoles: ["none", "presentation", "radiogroup"], + globalAriaAttributesValid: true + }, + "figcaption": { + implicitRole: null, + validRoles: ["group", "none", "presentation"], + globalAriaAttributesValid: true, + prohibitedAriaAttributesWhenNoImplicitRole: ["aria-label", "aria-labelledby"] + }, + "form": { + implicitRole: ["form"], + validRoles: ["none", "presentation", "search"], + globalAriaAttributesValid: true + }, + "head": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "hgroup": { + implicitRole: ["group"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "h1": { + implicitRole: ["heading"], + validRoles: ["doc-subtitle", "none", "presentation", "tab"], + globalAriaAttributesValid: true + }, + "h2": { + implicitRole: ["heading"], + validRoles: ["doc-subtitle", "none", "presentation", "tab"], + globalAriaAttributesValid: true + }, + "h3": { + implicitRole: ["heading"], + validRoles: ["doc-subtitle", "none", "presentation", "tab"], + globalAriaAttributesValid: true + }, + "h4": { + implicitRole: ["heading"], + validRoles: ["doc-subtitle", "none", "presentation", "tab"], + globalAriaAttributesValid: true + }, + "h5": { + implicitRole: ["heading"], + validRoles: ["doc-subtitle", "none", "presentation", "tab"], + globalAriaAttributesValid: true + }, + "h6": { + implicitRole: ["heading"], + validRoles: ["doc-subtitle", "none", "presentation", "tab"], + globalAriaAttributesValid: true + }, + "hr": { + implicitRole: ["separator"], + validRoles: ["doc-pagebreak", "none", "presentation"], + globalAriaAttributesValid: true + }, + "html": { + implicitRole: ["document"], + validRoles: null, + globalAriaAttributesValid: false, + allowAttributesFromImplicitRole: false + }, + "i": { + implicitRole: ["generic"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "iframe": { + implicitRole: null, + validRoles: ["application", "document", "img", "none", "presentation"], + globalAriaAttributesValid: true + }, + "ins": { + implicitRole: ["insertion"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "kbd": { + implicitRole: null, + validRoles: ["any"], + globalAriaAttributesValid: true, + prohibitedAriaAttributesWhenNoImplicitRole: ["aria-label", "aria-labelledby"] + }, + "label": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: true, + prohibitedAriaAttributesWhenNoImplicitRole: ["aria-label", "aria-labelledby"] + }, + "legend": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: true, + prohibitedAriaAttributesWhenNoImplicitRole: ["aria-label", "aria-labelledby"] + }, + "link": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "main": { + implicitRole: ["main"], + validRoles: null, + globalAriaAttributesValid: true + }, + "map": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "mark": { + implicitRole: null, + validRoles: ["any"], + globalAriaAttributesValid: true, + prohibitedAriaAttributesWhenNoImplicitRole: ["aria-label", "aria-labelledby"] + }, + "math": { + implicitRole: ["math"], + validRoles: null, + globalAriaAttributesValid: true + }, + "menu": { + implicitRole: ["list"], + validRoles: ["group", "listbox", "menu", "menubar", "none", "presentation", "radiogroup", "tablist", "toolbar", "tree"], + globalAriaAttributesValid: true + }, + "meta": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "meter": { + implicitRole: ["meter"], + validRoles: null, + globalAriaAttributesValid: true, + otherDisallowedAriaAttributes: ['aria-valuemax', 'aria-valuemin'], + allowAttributesFromImplicitRole: false + }, + "nav": { + implicitRole: ["navigation"], + validRoles: ["doc-index", "doc-pagelist", "doc-toc", "menu", "menubar", "tablist", "none", "presentation"], + globalAriaAttributesValid: true + }, + "noscript": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "object": { + implicitRole: null, + validRoles: ["application", "document", "img"], + globalAriaAttributesValid: true + }, + "ol": { + implicitRole: ["list"], + validRoles: ["group", "listbox", "menu", "menubar", "none", "presentation", "radiogroup", "tablist", "toolbar", "tree"], + globalAriaAttributesValid: true + }, + "optgroup": { + implicitRole: ["group"], + validRoles: null, + globalAriaAttributesValid: true + }, + "option": { + implicitRole: ["option"], + validRoles: null, + globalAriaAttributesValid: true, + otherDisallowedAriaAttributes: ["aria-selected"] + }, + "output": { + implicitRole: ["status"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "p": { + implicitRole: ["paragraph"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "param": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "picture": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false, + otherAllowedAriaAttributes: ["aria-hidden"] + }, + "pre": { + implicitRole: ["generic"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "progress": { + implicitRole: ["progressbar"], + validRoles: null, + globalAriaAttributesValid: true, + otherDisallowedAriaAttributes: ["aria-valuemax"] + }, + "q": { + implicitRole: ["generic"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "rp": { + implicitRole: null, + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "rt": { + implicitRole: null, + validRoles: ["any"], + globalAriaAttributesValid: true, + prohibitedAriaAttributesWhenNoImplicitRole: ["aria-label", "aria-labelledby"] + }, + "ruby": { + implicitRole: null, + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "s": { + implicitRole: ["deletion"], + validRoles: ["any"], + globalAriaAttributesValid: true, + otherDisallowedAriaAttributes: ["aria-label", "aria-labelledby"] + }, + "samp": { + implicitRole: ["generic"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "script": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "search": { + implicitRole: ['search'], + validRoles: ['search', 'form', 'group', 'none', 'presentation', 'region'], + globalAriaAttributesValid: true + }, + "slot": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "small": { + implicitRole: ["generic"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "source": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "span": { + implicitRole: ["generic"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "strong": { + implicitRole: ["strong"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "style": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "sub": { + implicitRole: ["subscript"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "sup": { + implicitRole: ["superscript"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "svg": { + implicitRole: ["graphics-document"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "table": { + implicitRole: ["table"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "template": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "textarea": { + implicitRole: ["textbox"], + validRoles: null, + globalAriaAttributesValid: true + }, + "tfoot": { + implicitRole: ["rowgroup"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "thead": { + implicitRole: ["rowgroup"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "time": { + implicitRole: ["time"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "title": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "track": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "u": { + implicitRole: ["generic"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "ul": { + implicitRole: ["list"], + validRoles: ["group", "listbox", "menu", "menubar", "none", "presentation", "radiogroup", "tablist", "toolbar", "tree"], + globalAriaAttributesValid: true + }, + "var": { + implicitRole: null, + validRoles: ["any"], + globalAriaAttributesValid: true, + prohibitedAriaAttributesWhenNoImplicitRole: ["aria-label", "aria-labelledby"] + }, + "video": { + implicitRole: null, + validRoles: ["application"], + globalAriaAttributesValid: true + }, + "wbr": { + implicitRole: null, + validRoles: ["none", "presentation"], + globalAriaAttributesValid: false, + otherAllowedAriaAttributes: ["aria-hidden"] + } + }; // end documentConformanceRequirement + ARIADefinitions.documentConformanceRequirementSpecialTags = { + "a": { + "with-href": { + implicitRole: ["link"], + //roleCondition: " when non-empty href attribute is present", + validRoles: ["button", "checkbox", "doc-backlink", "doc-biblioref", "doc-glossref", "doc-noteref", "menuitem", "menuitemcheckbox", "menuitemradio", "option", "radio", "switch", "tab", "treeitem"], + globalAriaAttributesValid: true, + otherDisallowedAriaAttributes: ["aria-disabled=true"] + }, + "without-href": { + implicitRole: ["generic"], + //roleCondition: " when href attribute is not present", + validRoles: ["any"], + globalAriaAttributesValid: true + } + }, + "area": { + "with-href": { + implicitRole: ["link"], + //roleCondition: " when non-empty href attribute is present", + validRoles: null, + globalAriaAttributesValid: true + }, + "without-href": { + implicitRole: ["generic"], + //roleCondition: " when href attribute is not present", + validRoles: ["button", "link"], + globalAriaAttributesValid: true + } + }, + // TODO + // "autonomous custom element": { + // implicitRole: ["Role exposed from author defined ElementInternals. Otherwise no corresponding role."], + // validRoles: ["If role defined by ElementInternals", "any role", "no role Otherwise"], + // globalAriaAttributesValid: true + // }, + "div": { + "child-dl": { + implicitRole: ["generic"], + validRoles: ["presentation", "none"], + globalAriaAttributesValid: true + }, + "no-child-dl": { + implicitRole: ["generic"], + validRoles: ["any"], + globalAriaAttributesValid: true + } + }, + "figure": { + "child-figcaption": { + implicitRole: ["figure"], + validRoles: ['doc-example'], + globalAriaAttributesValid: true + }, + "no-child-figcaption": { + implicitRole: ["figure"], + validRoles: ["any"], + globalAriaAttributesValid: true + } + }, + "footer": { + "des-section-article-aside-main-nav": { + implicitRole: ["generic"], + //roleCondition: " when descendant of an article, aside, main, nav or section element", + validRoles: ["doc-footnote", "group", "none", "presentation"], + globalAriaAttributesValid: true + }, + "other": { + implicitRole: ["contentinfo"], + //roleCondition: " when not a descendant of an article, aside, main, nav or section element", + validRoles: ["doc-footnote", "group", "none", "presentation"], + globalAriaAttributesValid: true + } + }, + // TODO + // "form-associated custom element": { + // implicitRole: ["Role exposed from author defined ElementInternals. Otherwise 'generic'."], + // validRoles: ["If role defined by ElementInternals", "form-related roles: button", "checkbox", "combobox", "group", "listbox", "progressbar", "radio", "radiogroup", "searchbox", "slider", "spinbutton", "switch", "textbox", "no role Otherwise"], + // globalAriaAttributesValid: true + // }, + "header": { + "des-section-article-aside-main-nav": { + implicitRole: ["generic"], + //roleCondition: " when descendant of an article, aside, main, nav or section element", + validRoles: ["group", "none", "presentation"], + globalAriaAttributesValid: true + }, + "other": { + implicitRole: ["banner"], + //roleCondition: " when not a descendant of an article, aside, main, nav or section element", + validRoles: ["group", "none", "presentation"], + globalAriaAttributesValid: true + } + }, + "img": { + "img-with-accname": { + implicitRole: ["img"], + //roleCondition: "when accessible name presents", + validRoles: ["button", "checkbox", "doc-cover", "link", "menuitem", "menuitemcheckbox", "menuitemradio", "meter", "option", "progressbar", "radio", "scrollbar", "separator", "slider", "switch", "tab", "treeitem"], + globalAriaAttributesValid: true + }, + "img-without-accname-empty-alt": { + implicitRole: ["presentation", "none"], + //roleCondition: "when no accessible name presents and alt=''", + validRoles: null, + globalAriaAttributesValid: false, + otherAllowedAriaAttributes: ["aria-hidden=true"] + }, + "img-without-accname-no-alt": { + implicitRole: ["img"], + //roleCondition: "when neither accessible name no alt presents", + validRoles: ["presentation", "none"], + globalAriaAttributesValid: false, + otherAllowedAriaAttributes: ["aria-hidden=true"] + } + }, + "input": { + "button": { + implicitRole: ["button"], + validRoles: ["checkbox", "combobox", "gridcell", "link", "menuitem", "menuitemcheckbox", "menuitemradio", "option", "radio", "slider", "switch", "tab", "treeitem"], + globalAriaAttributesValid: true + }, + "checkbox-with-aria-pressed": { + implicitRole: ["checkbox"], + //roleCondition: " with type=checkbox and aria-pressed attribute is present", + validRoles: ["menuitemcheckbox", "option", "switch", "button"], + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-required"], + otherDisallowedAriaAttributes: ["aria-checked"] + }, + "checkbox-without-aria-pressed": { + implicitRole: ["checkbox"], + //roleCondition: " with type=checkbox and aria-pressed attribute is not present", + validRoles: ["menuitemcheckbox", "option", "switch"], + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-required"], + otherDisallowedAriaAttributes: ["aria-checked"] + }, + "color": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: true + }, + "date": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-required", "aria-readonly"], + otherRolesForAttributes: ["textbox"] + }, + "datetime-local": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-required", "aria-readonly"], + otherRolesForAttributes: ["textbox"] + }, + "email-no-list": { + implicitRole: ["textbox"], + //roleCondition: " with type=email and no list attribute is present", + validRoles: null, + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-placeholder", "aria-required", "aria-readonly"], + otherRolesForAttributes: ["textbox"] + }, + "email-with-list": { + implicitRole: ["combobox"], + validRoles: null, + globalAriaAttributesValid: true + }, + "file": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-required"], + }, + "hidden": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: false + }, + "image": { + implicitRole: ["button"], + validRoles: ["checkbox", "gridcell", "link", "menuitem", "menuitemcheckbox", "menuitemradio", "option", "radio", "slider", "switch", "tab", "treeitem"], + globalAriaAttributesValid: true + }, + "month": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-readonly"], + otherRolesForAttributes: ["textbox"] + }, + "number": { + implicitRole: ["spinbutton"], + validRoles: null, + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-placeholder", "aria-required", "aria-readonly"], + }, + "password": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-placeholder", "aria-required", "aria-readonly"], + otherRolesForAttributes: ["textbox"] + }, + "radio": { + implicitRole: ["radio"], + validRoles: ["menuitemradio"], + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-required"], + otherDisallowedAriaAttributes: ["aria-checked"] + }, + "range": { + implicitRole: ["slider"], + validRoles: null, + globalAriaAttributesValid: true, + otherDisallowedAriaAttributes: ["aria-valuemax", "aria-valuemin"] + }, + "reset": { + implicitRole: ["button"], + validRoles: ["checkbox", "combobox", "gridcell", "link", "menuitem", "menuitemcheckbox", "menuitemradio", "option", "radio", "slider", "switch", "tab", "treeitem"], + globalAriaAttributesValid: true + }, + "search-no-list": { + implicitRole: ["searchbox"], + validRoles: null, + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-placeholder", "aria-required", "aria-readonly"] + }, + "search-with-list": { + implicitRole: ["combobox"], + validRoles: null, + globalAriaAttributesValid: true + }, + "submit": { + implicitRole: ["button"], + validRoles: ["checkbox", "combobox", "gridcell", "link", "menuitem", "menuitemcheckbox", "menuitemradio", "option", "radio", "slider", "switch", "tab", "treeitem"], + globalAriaAttributesValid: true + }, + "tel-no-list": { + implicitRole: ["textbox"], + validRoles: null, + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-placeholder", "aria-required", "aria-readonly"] + }, + "tel-with-list": { + implicitRole: ["combobox"], + validRoles: null, + globalAriaAttributesValid: true + }, + "text-no-list": { + implicitRole: ["textbox"], + validRoles: ["combobox", "searchbox", "spinbutton"], + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-placeholder", "aria-required", "aria-readonly"] + }, + "text-with-list": { + implicitRole: ["combobox"], + validRoles: null, + globalAriaAttributesValid: true + // otherDisallowedAriaAttributes: ["aria-haspopup"] // covered in a different rule + }, + "time": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-readonly"], + otherRolesForAttributes: ["textbox"] + }, + "url-no-list": { + implicitRole: ["textbox"], + validRoles: null, + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-placeholder", "aria-required", "aria-readonly"] + }, + "url-with-list": { + implicitRole: ["combobox"], + validRoles: null, + globalAriaAttributesValid: true + }, + "week": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-readonly"], + otherRolesForAttributes: ["textbox"] + }, + "default-with-list": { + // input with a missing or invalid type, with a list attribute + implicitRole: ["combobox"], + validRoles: null, + globalAriaAttributesValid: true + }, + "default-no-list": { + // input with a missing or invalid type, with a list attribute + implicitRole: ["textbox"], + validRoles: null, + globalAriaAttributesValid: true + } + }, + "li": { + "child-of-list-role": { + implicitRole: ['listitem'], + validRoles: null, + globalAriaAttributesValid: true + }, + "no-child-of-list-role": { + implicitRole: ['generic'], + validRoles: ["any"], + globalAriaAttributesValid: true + } + }, + "section": { + "with-name": { + implicitRole: ["region"], + validRoles: ["alert", "alertdialog", "application", "banner", "complementary", "contentinfo", "dialog", "doc-abstract", "doc-acknowledgments", "doc-afterword", "doc-appendix", "doc-bibliography", "doc-chapter", "doc-colophon", "doc-conclusion", "doc-credit", "doc-credits", "doc-dedication", "doc-endnotes", "doc-epigraph", "doc-epilogue", "doc-errata", "doc-example", "doc-foreword", "doc-glossary", "doc-index", "doc-introduction", "doc-notice", "doc-pagelist", "doc-part", "doc-preface", "doc-prologue", "doc-pullquote", "doc-qna", "doc-toc", "document", "feed", "group", "log", "main", "marquee", "navigation", "none", "note", "presentation", "search", "status", "tabpanel"], + globalAriaAttributesValid: true + }, + "without-name": { + implicitRole: null, + validRoles: ["alert", "alertdialog", "application", "banner", "complementary", "contentinfo", "dialog", "doc-abstract", "doc-acknowledgments", "doc-afterword", "doc-appendix", "doc-bibliography", "doc-chapter", "doc-colophon", "doc-conclusion", "doc-credit", "doc-credits", "doc-dedication", "doc-endnotes", "doc-epigraph", "doc-epilogue", "doc-errata", "doc-example", "doc-foreword", "doc-glossary", "doc-index", "doc-introduction", "doc-notice", "doc-pagelist", "doc-part", "doc-preface", "doc-prologue", "doc-pullquote", "doc-qna", "doc-toc", "document", "feed", "group", "log", "main", "marquee", "navigation", "none", "note", "presentation", "search", "status", "tabpanel"], + globalAriaAttributesValid: true + } + }, + "select": { + "no-multiple-attr-size-gt1": { + //roleCondition: " with a multiple attribute or a size attribute having value greater than 1" + implicitRole: ["combobox"], + validRoles: ["menu"], + globalAriaAttributesValid: true, + otherDisallowedAriaAttributes: ["aria-multiselectable"] + }, + "multiple-attr-size-gt1": { + //roleCondition: " with no multiple attribute and no size attribute having value greater than 1" + implicitRole: ["listbox"], + validRoles: null, + globalAriaAttributesValid: true, + otherDisallowedAriaAttributes: ["aria-multiselectable"] + } + }, + "summary": { + "first-summary-of-detail": { + implicitRole: null, + validRoles: null, + globalAriaAttributesValid: true, + otherAllowedAriaAttributes: ["aria-disabled", "aria-haspopup"] + }, + "no-first-summary-of-detail": { + implicitRole: null, + validRoles: ["any"], + globalAriaAttributesValid: true + } + }, + "tbody": { + "des-table": { + implicitRole: ["rowgroup"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "des-grid": { + implicitRole: ["rowgroup"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "des-treegrid": { + implicitRole: ["rowgroup"], + validRoles: ["any"], + globalAriaAttributesValid: true + }, + "des-other": { + implicitRole: null, + validRoles: ["any"], + globalAriaAttributesValid: true + } + }, + "td": { + "des-table": { + implicitRole: ["cell"], + validRoles: null, + globalAriaAttributesValid: true + }, + "des-grid": { + implicitRole: ["gridcell"], + validRoles: null, + globalAriaAttributesValid: true + }, + "des-treegrid": { + implicitRole: ["gridcell"], + validRoles: null, + globalAriaAttributesValid: true + }, + "des-other": { + implicitRole: null, + validRoles: ["any"], + globalAriaAttributesValid: true + } + }, + "th": { + "des-table-grid-treegrid-row-scope": { + implicitRole: ["rowheader", "cell"], + validRoles: null, + globalAriaAttributesValid: true + }, + "des-table-grid-treegrid-column-scope": { + implicitRole: ["columnheader", "cell"], + validRoles: null, + globalAriaAttributesValid: true + }, + "des-other": { + implicitRole: null, + validRoles: ["any"], + globalAriaAttributesValid: true + } + }, + "tr": { + "des-table": { + implicitRole: ["row"], + validRoles: null, + globalAriaAttributesValid: true + }, + "des-grid": { + implicitRole: ["row"], + validRoles: null, + globalAriaAttributesValid: true + }, + "des-treegrid": { + implicitRole: ["row"], + validRoles: null, + globalAriaAttributesValid: true + }, + "des-other": { + implicitRole: null, + validRoles: ["any"], + globalAriaAttributesValid: true + } + }, + "default": { + implicitRole: null, + //roleCondition: "", + validRoles: ["any"], + globalAriaAttributesValid: true + } + }; // end of documentConformanceRequirementSpecialTags + // map aria attribute to the corresponding native attribute, apply to any element applicable + // note this mapping is for the related attributes in the same element without checking the parent tree. + // refer to https://w3c.github.io/html-aria/ + ARIADefinitions.relatedAriaHtmlAttributes = { + "aria-checked": { + conflict: [{ + ariaAttributeValue: "false", + htmlAttributeNames: ["checked"], + htmlAttributeValues: null + }], + overlapping: [{ + ariaAttributeValue: "true", + htmlAttributeNames: ["checked"], + htmlAttributeValues: null + }] + }, + "aria-disabled": { + conflict: [{ + ariaAttributeValue: "false", + htmlAttributeNames: ["disabled"], + htmlAttributeValues: null + }], + overlapping: [{ + ariaAttributeValue: "true", + htmlAttributeNames: ["disabled"], + htmlAttributeValues: null + }] + }, + "aria-hidden": { + conflict: [{ + ariaAttributeValue: "false", + htmlAttributeNames: ["hidden"], + htmlAttributeValues: ["hidden,null"] + }, + { + ariaAttributeValue: "true", + htmlAttributeNames: ["hidden"], + htmlAttributeValues: ["until-found"] + }], + overlapping: [{ + ariaAttributeValue: "true", + htmlAttributeNames: ["hidden"], + htmlAttributeValues: ["hidden,null"] + }] + }, + "aria-placeholder": { + conflict: [{ + ariaAttributeValue: null, + htmlAttributeNames: ["placeholder"], + htmlAttributeValues: null + }] + }, + "aria-valuemax": { + conflict: [{ + ariaAttributeValue: null, + htmlAttributeNames: ["max"], + htmlAttributeValues: null + }] + //overlap case covered in the role definition: Authors SHOULD NOT use aria-valuemax on any element which allows the max attribute. Use the max attribute instead. + }, + "aria-valuemin": { + conflict: [{ + ariaAttributeValue: null, + htmlAttributeNames: ["min"], + htmlAttributeValues: null + }] + ////overlap case covered in the role definition:Authors SHOULD NOT use aria-valuemin on any element which allows the min attribute. Use the min attribute instead. + }, + "aria-readonly": { + conflict: [{ + ariaAttributeValue: "false", + htmlAttributeNames: ["readonly", "contenteditable", "iscontenteditable"], + htmlAttributeValues: [null, "false", "false"] + }], + overlapping: [{ + ariaAttributeValue: "true", + htmlAttributeNames: ["readonly", "contenteditable", "iscontenteditable"], + htmlAttributeValues: [null, "true", "true"] + }] + }, + "aria-required": { + conflict: [{ + ariaAttributeValue: "false", + htmlAttributeNames: ["required"], + htmlAttributeValues: null + }], + overlapping: [{ + ariaAttributeValue: "true", + htmlAttributeNames: ["required"], + htmlAttributeValues: null + }] + }, + "aria-colspan": { + conflict: [{ + // conflict occurs if both values are different + ariaAttributeValue: "VALUE", + htmlAttributeNames: ["colspan"], + htmlAttributeValues: ["VALUE"] + }], + overlapping: [{ + // overlap occurs if both exists + ariaAttributeValue: null, + htmlAttributeNames: ["colspan"], + htmlAttributeValues: null + }] + }, + "aria-rowspan": { + conflict: [{ + // conflict occurs if both values are different + ariaAttributeValue: "VALUE", + htmlAttributeNames: ["rowspan"], + htmlAttributeValues: ["VALUE"] + }], + overlapping: [{ + // overlap occurs if both exists + ariaAttributeValue: null, + htmlAttributeNames: ["rowspan"], + htmlAttributeValues: null + }] + }, + /** "aria-autocomplete": { + conflict: [{ + // conflict occurs if both exists, aria value is only for custom widget, rather than native + ariaAttributeValue: null, + htmlAttributeNames: ["autocomplete"], + htmlAttributeValues: null + }] + } */ + }; + ARIADefinitions.containers = []; + return ARIADefinitions; +}()); +exports.ARIADefinitions = ARIADefinitions; +; +var containerArray = []; +for (var roleDesign in ARIADefinitions.designPatterns) { + var containers = ARIADefinitions.designPatterns[roleDesign].container; + if (containers !== null) { + for (var _i = 0, containers_1 = containers; _i < containers_1.length; _i++) { + var container = containers_1[_i]; + if (containerArray.indexOf(container) == -1) { + containerArray.push(container); + } + } + } +} +ARIADefinitions.containers = containerArray; + + +/***/ }), + +/***/ 4944: +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ARIAMapper = void 0; +var ARIADefinitions_1 = __webpack_require__(8235); +var CommonMapper_1 = __webpack_require__(1794); +var DOMUtil_1 = __webpack_require__(295); +var CommonUtil_1 = __webpack_require__(8137); +var AriaUtil_1 = __webpack_require__(490); +var fragment_1 = __webpack_require__(482); +var ARIAWalker_1 = __webpack_require__(8015); +var CacheUtil_1 = __webpack_require__(7788); +var DOMWalker_1 = __webpack_require__(7440); +var AccNameUtil_1 = __webpack_require__(1421); +var ARIAMapper = /** @class */ (function (_super) { + __extends(ARIAMapper, _super); + function ARIAMapper() { + return _super !== null && _super.apply(this, arguments) || this; + } + ARIAMapper.prototype.childrenCanHaveRole = function (node, role) { + // if (node.nodeType === 1 /* Node.ELEMENT_NODE */) { + // const elem = node as Element; + // if (elem.getAttribute("aria-hidden") === "true") { + // return false; + // } + // } + return !(role in ARIADefinitions_1.ARIADefinitions.designPatterns && ARIADefinitions_1.ARIADefinitions.designPatterns[role].presentationalChildren); + }; + ARIAMapper.prototype.getRole = function (node) { + var role = ARIAMapper.nodeToRole(node); + return role; + }; + ARIAMapper.prototype.getNamespace = function () { + return "aria"; + }; + ARIAMapper.prototype.getAttributes = function (node) { + var retVal = {}; + if (node.nodeType === 1 /* Node.ELEMENT_NODE */) { + var elem_1 = node; + for (var idx = 0; idx < elem_1.attributes.length; ++idx) { + var attrInfo = elem_1.attributes[idx]; + var name_1 = attrInfo.name.toLowerCase(); + if (name_1.startsWith("aria-")) { + retVal[name_1.substring(5)] = attrInfo.nodeValue; + } + } + var applyAttrRole = function (nodeName) { + if (!(nodeName in ARIAMapper.elemAttrValueCalculators)) + return; + for (var attr in ARIAMapper.elemAttrValueCalculators[nodeName]) { + if (!(attr in retVal)) { + var value = ARIAMapper.elemAttrValueCalculators[nodeName][attr]; + if (typeof value != "undefined" && value !== null) { + if (typeof value !== typeof "") { + value = value(elem_1); + } + retVal[attr] = value; + } + } + } + }; + applyAttrRole("global"); + applyAttrRole(node.nodeName.toLowerCase()); + } + else if (node.nodeType === 3 /* Node.TEXT_NODE */) { + for (var attr in ARIAMapper.textAttrValueCalculators) { + var val = ARIAMapper.textAttrValueCalculators[attr](node); + if (typeof val != "undefined" && val !== null) { + retVal[attr] = val; + } + } + } + return retVal; + }; + ARIAMapper.getAriaOwnedBy = function (elem) { + var doc = fragment_1.FragmentUtil.getOwnerFragment(elem); + if (!CacheUtil_1.CacheUtil.getCache(doc, "ARIAMapper::precalcOwned", false)) { + var owners = doc.querySelectorAll("[aria-owns]"); + for (var iOwner = 0; iOwner < owners.length; ++iOwner) { + var owner = owners[iOwner]; + var ownIds = owner.getAttribute("aria-owns").split(/ +/g); + for (var iId = 0; iId < ownIds.length; ++iId) { + var owned = doc.getElementById(ownIds[iId]); + //ignore if the aria-owns point to the element itself + if (owned && !DOMUtil_1.DOMUtil.sameNode(owner, owned)) { + CacheUtil_1.CacheUtil.setCache(owned, "aria-owned", owner); + } + } + } + CacheUtil_1.CacheUtil.setCache(doc, "ARIAMapper::precalcOwned", true); + } + return CacheUtil_1.CacheUtil.getCache(elem, "aria-owned", null); + }; + ARIAMapper.prototype.getNodeHierarchy = function (node) { + if (!node) + return []; + if (node.nodeType !== 1) { + var parentHierarchy = this.getNodeHierarchy(DOMWalker_1.DOMWalker.parentElement(node)); + var parentInfo = parentHierarchy.length > 0 ? parentHierarchy[parentHierarchy.length - 1] : { + role: "", + rolePath: "", + roleCount: {}, + childrenCanHaveRole: true + }; + var nodeHierarchy = []; + // Set hierarchy + for (var _i = 0, parentHierarchy_1 = parentHierarchy; _i < parentHierarchy_1.length; _i++) { + var item = parentHierarchy_1[_i]; + nodeHierarchy.push(item); + } + nodeHierarchy.push({ + attributes: {}, + bounds: this.getBounds(node), + namespace: this.getNamespace(), + node: node, + role: this.getRole(node) || "none", + rolePath: parentInfo.rolePath + "/" + (this.getRole(node) || "none"), + roleCount: {}, + childrenCanHaveRole: parentInfo.childrenCanHaveRole + }); + return nodeHierarchy; + } + else { + var elem = node; + var nodeHierarchy = CacheUtil_1.CacheUtil.getCache(elem, "ARIAMapper::getNodeHierarchy", null); + if (!nodeHierarchy) { + // This element hasn't been processed yet - but ::reset processes them all in the right order + // Get details about the correct parent first + var parent_1 = ARIAMapper.getAriaOwnedBy(elem); + if (!parent_1) { + parent_1 = DOMWalker_1.DOMWalker.parentElement(elem); + } + while (parent_1 && parent_1.nodeType !== 1) { + parent_1 = DOMWalker_1.DOMWalker.parentElement(elem); + } + var parentHierarchy = parent_1 ? this.getNodeHierarchy(parent_1) : []; + var parentInfo = parentHierarchy.length > 0 ? parentHierarchy[parentHierarchy.length - 1] : { + role: "", + rolePath: "", + roleCount: {}, + childrenCanHaveRole: true + }; + while (parentInfo.role === "none" || parentInfo.role === "/none") { + parent_1 = ARIAMapper.getAriaOwnedBy(parent_1) || DOMWalker_1.DOMWalker.parentElement(parent_1); + parentHierarchy = parent_1 ? this.getNodeHierarchy(parent_1) : []; + parentInfo = parentHierarchy[parentHierarchy.length - 1]; + } + // Set initial node info + var nodeInfo = { + attributes: elem.nodeType === 1 ? this.getAttributes(elem) : {}, + bounds: this.getBounds(elem), + namespace: this.getNamespace(), + node: elem, + role: this.getRole(elem) || "none", + rolePath: "", + roleCount: {}, + childrenCanHaveRole: true + }; + // Adjust role if we're within a presentational container + var presentationalContainer = !parentInfo.childrenCanHaveRole; + if (presentationalContainer) { + nodeInfo.role = "none"; + } + else { + nodeInfo.childrenCanHaveRole = parentInfo.childrenCanHaveRole + && this.childrenCanHaveRole(elem, nodeInfo.role); + } + // Set the paths + if (nodeInfo.role !== "none") { + parentInfo.roleCount[nodeInfo.role] = (parentInfo.roleCount[nodeInfo.role] || 0) + 1; + nodeInfo.rolePath = parentInfo.rolePath + "/" + nodeInfo.role + "[" + parentInfo.roleCount[nodeInfo.role] + "]"; + } + else { + nodeInfo.rolePath = parentInfo.rolePath; + } + // Set hierarchy + nodeHierarchy = []; + for (var _a = 0, parentHierarchy_2 = parentHierarchy; _a < parentHierarchy_2.length; _a++) { + var item = parentHierarchy_2[_a]; + nodeHierarchy.push(item); + } + nodeHierarchy.push(nodeInfo); + CacheUtil_1.CacheUtil.setCache(elem, "ARIAMapper::getNodeHierarchy", nodeHierarchy); + } + return nodeHierarchy; + } + }; + ARIAMapper.prototype.reset = function (node) { + ARIAMapper.nameComputationId = 0; + this.hierarchyRole = []; + this.hierarchyResults = []; + this.hierarchyPath = [{ + rolePath: "", + roleCount: {} + }]; + // Get to the topmost node + var goodNode = node; + var next; + while (next = DOMWalker_1.DOMWalker.parentNode(goodNode)) { + goodNode = next; + } + ; + // Walk the tree and set the hierarchies in the right order + var ariaWalker = new ARIAWalker_1.ARIAWalker(goodNode, false, goodNode); + do { + if (ariaWalker.node.nodeType === 1) { + this.getNodeHierarchy(ariaWalker.node); + } + } while (ariaWalker.nextNode()); + }; + ARIAMapper.prototype.openScope = function (node) { + if (this.hierarchyRole === null) { + this.reset(node); + } + this.pushHierarchy(node); + for (var idx = 0; idx < this.hierarchyResults.length; ++idx) { + if (this.hierarchyResults[idx].role[0] === "/") { + this.hierarchyResults[idx].role = this.hierarchyResults[idx].role.substring(1); + } + } + return this.hierarchyResults; + }; + ARIAMapper.prototype.pushHierarchy = function (node) { + // If we're not an element, no special handling + var nodeHierarchy = []; + // Determine our node info + nodeHierarchy = this.getNodeHierarchy(node); + var nodeInfo = nodeHierarchy[nodeHierarchy.length - 1]; + this.hierarchyRole.push(nodeInfo.role); + if (nodeInfo.role !== "none") { + this.hierarchyPath.push(nodeInfo); + } + this.hierarchyResults = nodeHierarchy; + }; + ARIAMapper.prototype.closeScope = function (node) { + var retVal = []; + for (var _i = 0, _a = this.hierarchyResults; _i < _a.length; _i++) { + var res = _a[_i]; + // const temp = res.node; + // res.node = null; + // let cloned = JSON.parse(JSON.stringify(res)); + // cloned.node = res.node = temp; + // retVal.push(cloned); + retVal.push(res); + } + if (retVal.length > 0) { + retVal[retVal.length - 1].role = "/" + retVal[retVal.length - 1].role; + var parent_2 = DOMWalker_1.DOMWalker.parentElement(node); + this.hierarchyResults = parent_2 ? CacheUtil_1.CacheUtil.getCache(parent_2, "ARIAMapper::getNodeInfo", []) : []; + } + return retVal; + }; + /**public static computeName(cur: Node) : string { + ++ARIAMapper.nameComputationId; + return ARIAMapper.computeNameHelp(ARIAMapper.nameComputationId, cur, false, false); + } + + public static computeNameHelp(walkId: number, cur: Node, labelledbyTraverse: boolean, walkTraverse: boolean) : string { + // 2g. None of the other content applies to text nodes, so just do this first + if (cur.nodeType === 3 ) return cur.nodeValue; + if (cur.nodeType === 11) return ""; + if (cur.nodeType !== 1 ) { + if (walkTraverse || labelledbyTraverse) return ""; + throw new Error ("Can only compute name on Element and Text " + cur.nodeType); + } + + const elem = cur as Element; + // We've been here before - prevent recursion + if (CacheUtil.getCache(elem, "data-namewalk", null) === ""+walkId) return ""; + CacheUtil.setCache(elem, "data-namewalk", ""+walkId); + // See https://www.w3.org/TR/html-aam-1.0/#input-type-text-input-type-password-input-type-search-input-type-tel-input-type-url-and-textarea-element + + // 2a. Only show hidden content if it's referenced by a labelledby + if (!labelledbyTraverse && !VisUtil.isNodeVisible(cur)) { + return ""; + } + + // 2b. collect valid id references + if (!labelledbyTraverse && elem.hasAttribute("aria-labelledby")) { + let labelledby = elem.getAttribute("aria-labelledby").split(" "); + let validElems = []; + for (const ref of labelledby) { + const refElem = FragmentUtil.getById(cur, ref); + if (refElem && !DOMUtil.sameNode(elem, refElem)) { + validElems.push(refElem); + } + } + if (validElems.length > 0) { + let accumulated = ""; + for (const elem of validElems) { + accumulated += " " + this.computeNameHelp(walkId, elem, true, false); + } + return accumulated.trim(); + } + } + + // Since nodeToRole calls back here for form and section, we need special casing here to handle those two cases + if (["section", "form"].includes(cur.nodeName.toLowerCase())) { + if (elem.hasAttribute("aria-label") && elem.getAttribute("aria-label").trim().length > 0) { + // If I'm not an embedded control or I'm not recursing, return the aria-label + if (!labelledbyTraverse && !walkTraverse) { + return elem.getAttribute("aria-label").trim(); + } + } + if (elem.hasAttribute("title")) { + return elem.getAttribute("title"); + } + return ""; + } + + // 2c. If label or walk, and this is a control, skip to the value, otherwise provide the label + const role = ARIAMapper.nodeToRole(cur); + let isEmbeddedControl = [ + "textbox", "button", "combobox", "listbox", + "progressbar", "scrollbar", "slider", "spinbutton" + ].includes(role); + if (elem.hasAttribute("aria-label") && elem.getAttribute("aria-label").trim().length > 0) { + // If I'm not an embedded control or I'm not recursing, return the aria-label + if (!labelledbyTraverse && !walkTraverse || !isEmbeddedControl) { + return elem.getAttribute("aria-label").trim(); + } + } + + // 2d. + if (role !== "presentation" && role !== "none") { + if ((cur.nodeName.toLowerCase() === "img" || cur.nodeName.toLowerCase() === "area") && elem.hasAttribute("alt")) { + return DOMUtil.cleanWhitespace(elem.getAttribute("alt")).trim(); + } + + if (cur.nodeName.toLowerCase() === "input" && elem.hasAttribute("id") && elem.getAttribute("id").length > 0) { + let label = elem.ownerDocument.querySelector("label[for='"+elem.getAttribute("id")+"']"); + if (label) { + if (label.hasAttribute("aria-label") || (label.hasAttribute("aria-labelledby") && !CommonUtil.isIdReferToSelf(cur, label.getAttribute("aria-labelledby")))) { + return this.computeNameHelp(walkId, label, false, false); + } else { + return label.textContent; + } + } + } + if (cur.nodeName.toLowerCase() === "fieldset") { + if( (<Element>cur).querySelector("legend")){ + let legend = (<Element>cur).querySelector("legend"); + return legend.innerText; + }else{ + return this.computeNameHelp(walkId, cur, false, false); + } + + } + + } + + // 2e. + if ((walkTraverse || labelledbyTraverse) && isEmbeddedControl) { + // If the embedded control has role textbox, return its value. + if (role === "textbox") { + if (elem.nodeName.toLowerCase() === "input") { + if (elem.hasAttribute("value")) return elem.getAttribute("value"); + } else { + walkTraverse = false; + } + } + + // If the embedded control has role button, return the text alternative of the button. + if (role === "button") { + if (elem.nodeName.toLowerCase() === "input") { + let type = elem.getAttribute("type").toLowerCase(); + if (["button", "submit", "reset"].includes(type)) { + if (elem.hasAttribute("value")) return elem.getAttribute("value"); + if (type === "submit") return "Submit"; + if (type === "reset") return "Reset"; + } + } else { + walkTraverse = false; + } + } + + // TODO: If the embedded control has role combobox or listbox, return the text alternative of the chosen option. + if (role === "combobox") { + if (elem.hasAttribute("aria-activedescendant")) { + let selected = FragmentUtil.getById(elem, "aria-activedescendant"); + if (selected && !DOMUtil.sameNode(elem, selected)) { + return ARIAMapper.computeNameHelp(walkId, selected, false, false); + } + } + } + + // If the embedded control has role range (e.g., a spinbutton or slider): + if (["progressbar", "scrollbar", "slider", "spinbutton"].includes(role)) { + // If the aria-valuetext property is present, return its value, + if (elem.hasAttribute("aria-valuetext")) return elem.getAttribute("aria-valuetext"); + // Otherwise, if the aria-valuenow property is present, return its value, + if (elem.hasAttribute("aria-valuenow")) return elem.getAttribute("aria-valuenow"); + // TODO: Otherwise, use the value as specified by a host language attribute. + } + } + + // 2f. 2h. + if (walkTraverse || ARIADefinitions.nameFromContent(role) || labelledbyTraverse) { + // 2fi. Set the accumulated text to the empty string. + let accumulated = ""; + // 2fii. Check for CSS generated textual content associated with the current node and + // include it in the accumulated text. The CSS :before and :after pseudo elements [CSS2] + // can provide textual content for elements that have a content model. + // For :before pseudo elements, User agents MUST prepend CSS textual content, without + // a space, to the textual content of the current node. + // For :after pseudo elements, User agents MUST append CSS textual content, without a + // space, to the textual content of the current node. + let before = null; + before = elem.ownerDocument.defaultView.getComputedStyle(elem,"before").content; + + if (before && before !== "none") { + before = before.replace(/^"/,"").replace(/"$/,""); + accumulated += before; + } + // 2fiii. For each child node of the current node: + // Set the current node to the child node. + // Compute the text alternative of the current node beginning with step 2. Set the result + // to that text alternative. + // Append the result to the accumulated text. + if (elem.nodeName.toUpperCase() === "SLOT") { + //if no assignedNode, check its own text + if (!(elem as HTMLSlotElement).assignedNodes() || (elem as HTMLSlotElement).assignedNodes().length === 0) { + let innerText = CommonUtil.getInnerText(elem); + if (innerText && innerText !== null && innerText.trim().length > 0) + accumulated += " " + innerText; + } else { + // check text from all assigned nodes + for (const slotChild of (elem as HTMLSlotElement).assignedNodes()) { + let nextChildContent = ARIAMapper.computeNameHelp(walkId, slotChild, labelledbyTraverse, true); + accumulated += " " + nextChildContent; + } + } + } else { + let walkChild = elem.firstChild; + while (walkChild) { + let nextChildContent = ARIAMapper.computeNameHelp(walkId, walkChild, labelledbyTraverse, true); + accumulated += " " + nextChildContent; + walkChild = walkChild.nextSibling; + } + } + + let after = null; + try { + after = elem.ownerDocument.defaultView.getComputedStyle(elem,"after").content; + } catch (e) {} + + if (after && after !== "none") { + after = after.replace(/^"/,"").replace(/"$/,""); + accumulated += after; + } + // 2fiv. Return the accumulated text. + accumulated = accumulated.replace(/\s+/g," ").trim(); + if (accumulated.trim().length > 0) { + return accumulated; + } + } + + // 2i. Otherwise, if the current node has a Tooltip attribute, return its value. + if (elem.hasAttribute("title")) { + return elem.getAttribute("title"); + } + if (elem.tagName.toLowerCase() === "svg") { + let title = elem.querySelector("title"); + if (title) { + return title.textContent || title.innerText; + } + } + + return ""; + } + */ + /* if (role in ARIADefinitions.designPatterns + && ARIADefinitions.designPatterns[role].nameFrom + && ARIADefinitions.designPatterns[role].nameFrom.includes("contents")) + { + name = elem.textContent; + } + if (elem.nodeName.toLowerCase() === "input" && elem.hasAttribute("id") && elem.getAttribute("id").trim().length > 0) { + name = elem.ownerDocument.querySelector("label[for='"+elem.getAttribute("id").trim()+"']").textContent; + } + if (elem.hasAttribute("aria-label")) { + name = elem.getAttribute("aria-label"); + } + if (elem.hasAttribute("aria-labelledby")) { + name = ""; + const ids = elem.getAttribute("aria-labelledby").split(" "); + for (const id of ids) { + name += FragmentUtil.getById(elem, id).textContent + " "; + } + name = name.trim(); + } + return name; + }*/ + ARIAMapper.nodeToRole = function (node) { + if (node.nodeType === 3 /* Node.TEXT_NODE */) { + return "text"; + } + else if (node.nodeType !== 1 /* Node.ELEMENT_NODE */) { + return null; + } + var elem = node; + if (!elem || elem.nodeType !== 1 /* Node.ELEMENT_NODE */) { + return null; + } + // TO DO: use AriaUtil.getResolvedRole(elem) to replace the code following, which uses only the valid roles for the element based on the aria fallback rule + //const role = AriaUtil.getResolvedRole(elem); + //return role === "presentation" || role === "none" ? null : role; + if (elem.hasAttribute("role") && elem.getAttribute("role").trim().length > 0) { + var roleStr = elem.getAttribute("role").trim(); + var roles_2 = roleStr.split(" "); + for (var _i = 0, roles_1 = roles_2; _i < roles_1.length; _i++) { + var role_1 = roles_1[_i]; + if (role_1 === "presentation" || role_1 === "none") { + // If element is focusable, then presentation roles are to be ignored + if (!CommonUtil_1.CommonUtil.isFocusable(elem)) { + return null; + } + } + else if (role_1 in ARIADefinitions_1.ARIADefinitions.designPatterns) { + return role_1; + } + } + } + //return this.elemToImplicitRole(elem); + var roles = AriaUtil_1.AriaUtil.getImplicitRole(elem); + //console.log("node=" + node.nodeName +", role= " + (roles ? roles[0] : null) +", resolved=" + AriaUtil.getResolvedRole(elem)); + var role = !roles || roles.length === 0 ? null : roles[0]; + return role === "presentation" || role === "none" ? null : role; + //return AriaUtil.getResolvedRole(elem); + }; + //////////////////////////////////////////////////////////////////////////// + // Helper functions + //// + // https://www.w3.org/TR/html-aam-1.0/#mapping-html-to-accessibility-apis + ARIAMapper.elemAttrValueCalculators = { + "global": { + "name": AccNameUtil_1.AccNameUtil.computeAccessibleName //ARIAMapper.computeName + }, + "datalist": { + // set to "true" if the datalist's selection model allows multiple option elements to be + // selected at a time, and "false" otherwise + "multiselectable": function (elem) { + var id = elem.getAttribute("id"); + if (id && id.length > 0) { + var input = elem.ownerDocument.querySelector("input[list='" + id + "']"); + return "" + (elem.getAttribute("multiple") + && (elem.getAttribute("multiple") == "true" || elem.getAttribute("multiple") == "")); + } + return null; + } + }, + "h1": { + "level": "1" + }, + "h2": { + "level": "2" + }, + "h3": { + "level": "3" + }, + "h4": { + "level": "4" + }, + "h5": { + "level": "5" + }, + "h6": { + "level": "6" + }, + "input": { + // - type="checkbox" state set to "mixed" if the element's indeterminate IDL attribute + // is true, or "true" if the element's checkedness is true, or "false" otherwise + // - type="radio" state set to "true" if the element's checkedness is true, or "false" + // otherwise. + "checked": function (elem) { + if (elem.getAttribute("type") === "checkbox" || elem.getAttribute("type") === "radio") { + return "" + elem.checked; + } + return null; + } + // - type="radio" and not in menu reflecting number of type=radio input elements + // within the radio button group + , + "setsize": function (elem) { return null; throw new Error("NOT IMPLEMENTED"); } + // - type="radio" and not in menu value reflecting the elements position + // within the radio button group." + , + "posinset": function (elem) { return null; throw new Error("NOT IMPLEMENTED"); } + // input (type attribute in the Text, Search, Telephone, URL, or E-mail states with a + // suggestions source element) combobox role, with the aria-owns property set to the same + // value as the list attribute + , + "owns": function (elem) { return null; throw new Error("NOT IMPLEMENTED"); } + }, + "keygen": { + "multiselectable": "false" + }, + "li": { + // Number of li elements within the ol, ul, menu + "setsize": function (elem) { + var parent = DOMUtil_1.DOMUtil.getAncestor(elem, ["ol", "ul", "menu"]); + if (!parent) + return null; + var lis = parent.querySelectorAll("li"); + var otherlis = parent.querySelectorAll("ol li, ul li, menu li"); + return "" + (lis.length - otherlis.length); + } + // Position of li element within the ol, ul, menu + , + "posinset": function (elem) { + var parent = DOMUtil_1.DOMUtil.getAncestor(elem, ["ol", "ul", "menu"]); + if (!parent) + return null; + var lis = parent.querySelectorAll("li"); + var num = 0; + for (var idx = 0; idx < lis.length; ++idx) { + var li = lis[idx]; + if (DOMUtil_1.DOMUtil.sameNode(parent, DOMUtil_1.DOMUtil.getAncestor(li, ["ol", "ul", "menu"]))) { + return "" + num; + } + ++num; + } + return null; + } + }, + "menuitem": { + // type = checkbox or radio, set to "true" if the checked attribute + // is present, and "false" otherwise + "checked": function (elem) { return "" + !!(elem.getAttribute("checked") + && (elem.getAttribute("checked") == "true" || elem.getAttribute("checked") == "")); } + }, + "option": { + // set to "true" if the element's selectedness is true, or "false" otherwise. + "selected": function (elem) { return "" + !!(elem.getAttribute("selected") + && (elem.getAttribute("selected") == "true" || elem.getAttribute("selected") == "")); } + }, + "progress": { + "valuemax": function (elem) { return elem.getAttribute("max") || "1"; }, + "valuemin": function (elem) { return "0"; }, + "valuenow": function (elem) { return elem.getAttribute("value"); } + } + }; + ARIAMapper.textAttrValueCalculators = { + "name": function (node) { return node.nodeValue; } + }; + ARIAMapper.nameComputationId = 0; + return ARIAMapper; +}(CommonMapper_1.CommonMapper)); +exports.ARIAMapper = ARIAMapper; + + +/***/ }), + +/***/ 8015: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ARIAWalker = void 0; +var fragment_1 = __webpack_require__(482); +var ARIAMapper_1 = __webpack_require__(4944); +var VisUtil_1 = __webpack_require__(8656); +var DOMWalker_1 = __webpack_require__(7440); +/** + * Walks in an ARIA order + * + * See also ../dom/DOMWalker + */ +var ARIAWalker = /** @class */ (function () { + function ARIAWalker(element, bEnd, root) { + this.root = root || element; + if (this.root.nodeType === 9) { + this.root = this.root.documentElement; + } + this.node = element; + // if (this.node.nodeType === 9) { + // this.node = (this.node as Document).documentElement + // } + this.bEndTag = (bEnd == undefined ? false : bEnd == true); + } + ARIAWalker.prototype.atRoot = function () { + if (this.ownerElement) + return false; + if (this.root === this.node) { + return true; + } + else if (this.root.isSameNode) { + return this.root.isSameNode(this.node); + } + else if (this.root.compareDocumentPosition) { + return this.root.compareDocumentPosition(this.node) === 0; + } + else { + // Not supported in this environment - try our best + return this.node.parentNode === null; + } + }; + ARIAWalker.prototype.nextNode = function () { + var skipOwned = false; + do { + skipOwned = false; + // console.log(this.node.nodeName, this.bEndTag?"END":"START", this.node.nodeType === 1 && (this.node as any).getAttribute("id")); + if (!this.bEndTag) { + var iframeNode = this.node; + var elementNode = this.node; + var slotElement = this.node; + if (this.node.nodeType === 1 /* Node.ELEMENT_NODE */ + && this.node.nodeName.toUpperCase() === "IFRAME" + && VisUtil_1.VisUtil.isNodeVisible(iframeNode) + && iframeNode.contentDocument + && iframeNode.contentDocument.documentElement) { + var ownerElement = this.node; + this.node = iframeNode.contentDocument.documentElement; + this.node.ownerElement = ownerElement; + } + else if (this.node.nodeType === 1 /* Node.ELEMENT_NODE */ + && VisUtil_1.VisUtil.isNodeVisible(elementNode) + && elementNode.shadowRoot + && elementNode.shadowRoot.firstChild) { + var ownerElement = this.node; + this.node = elementNode.shadowRoot; + this.node.ownerElement = ownerElement; + DOMWalker_1.DOMWalker.assignSlots(this.node); + } + else if (this.node.nodeType === 1 + && elementNode.nodeName.toLowerCase() === "slot" + && slotElement.assignedNodes().length > 0) { + this.node = slotElement.assignedNodes()[0]; + } + else if ((this.node.nodeType === 1 /* Node.ELEMENT_NODE */ || this.node.nodeType === 11 /* Node.DOCUMENT_FRAGMENT_NODE */) + && DOMWalker_1.DOMWalker.firstChildNotOwnedBySlot(this.node)) { + this.node = DOMWalker_1.DOMWalker.firstChildNotOwnedBySlot(this.node); + } + else { + this.bEndTag = true; + } + } + else { + if (this.atRoot()) { + return false; + } + else if (this.node.slotOwner) { + var slotOwner = this.node.slotOwner; + var nextSlotIndex = this.node.slotIndex + 1; + // delete (this.node as any).slotOwner; + // delete (this.node as any).slotIndex; + if (nextSlotIndex < slotOwner.assignedNodes().length) { + this.node = slotOwner.assignedNodes()[nextSlotIndex]; + this.bEndTag = false; + } + else { + this.node = slotOwner; + this.bEndTag = true; + } + } + else if (this.node.ownerElement) { + this.node = this.node.ownerElement; + this.bEndTag = true; + } + else if (DOMWalker_1.DOMWalker.nextSiblingNotOwnedBySlot(this.node)) { + this.node = DOMWalker_1.DOMWalker.nextSiblingNotOwnedBySlot(this.node); + this.bEndTag = false; + skipOwned = true; + } + else if (this.node.parentNode) { + if (this.node.parentNode.nodeType === 1 && this.node.parentNode.hasAttribute("aria-owns")) { + var ownIds = this.node.parentNode.getAttribute("aria-owns").split(/ +/g); + if (this.node.nodeType !== 1 || !this.node.hasAttribute("id")) { + this.node = fragment_1.FragmentUtil.getOwnerFragment(this.node).getElementById(ownIds[0]); + this.bEndTag = false; + } + else { + var idx = ownIds.indexOf(this.node.getAttribute("id")); + if (idx === ownIds.length - 1) { + // last one + this.node = this.node.parentNode; + this.bEndTag = true; + } + else { + // grab next + this.node = fragment_1.FragmentUtil.getOwnerFragment(this.node).getElementById(ownIds[idx + 1]); + this.bEndTag = false; + } + } + } + this.node = this.node.parentNode; + this.bEndTag = true; + } + else { + return false; + } + } + } while ((this.node.nodeType !== 1 /* Node.ELEMENT_NODE */ && this.node.nodeType !== 11 && this.node.nodeType !== 3 /* Node.TEXT_NODE */) + || (this.node.nodeType === 1 && this.node.getAttribute("aChecker") === "ACE") + || (skipOwned && this.node.nodeType === 1 && !!ARIAMapper_1.ARIAMapper.getAriaOwnedBy(this.node))); + return true; + }; + ARIAWalker.prototype.prevNode = function () { + var skipOwned = false; + do { + skipOwned = false; + if (this.bEndTag) { + var iframeNode = this.node; + var elementNode = this.node; + if (this.node.nodeType === 1 /* Node.ELEMENT_NODE */ + && this.node.nodeName.toUpperCase() === "IFRAME" + && VisUtil_1.VisUtil.isNodeVisible(iframeNode) + && iframeNode.contentDocument + && iframeNode.contentDocument.documentElement) { + var ownerElement = this.node; + this.node = iframeNode.contentDocument.documentElement; + this.node.ownerElement = ownerElement; + } + else if (this.node.nodeType === 1 /* Node.ELEMENT_NODE */ + && VisUtil_1.VisUtil.isNodeVisible(elementNode) + && elementNode.shadowRoot + && elementNode.shadowRoot.lastChild) { + var ownerElement = this.node; + this.node = elementNode.shadowRoot; + this.node.ownerElement = ownerElement; + DOMWalker_1.DOMWalker.assignSlots(this.node); + } + else if ((this.node.nodeType === 1 /* Node.ELEMENT_NODE */ || this.node.nodeType === 11) + && DOMWalker_1.DOMWalker.lastChildNotOwnedBySlot(this.node)) { + this.node = DOMWalker_1.DOMWalker.lastChildNotOwnedBySlot(this.node); + } + else { + this.bEndTag = false; + } + } + else { + if (this.atRoot()) { + return false; + } + else if (DOMWalker_1.DOMWalker.previousSiblingNotOwnedBySlot(this.node)) { + this.node = DOMWalker_1.DOMWalker.previousSiblingNotOwnedBySlot(this.node); + this.bEndTag = true; + } + else if (this.node.ownerElement) { + this.node = this.node.ownerElement; + this.bEndTag = false; + skipOwned = true; + } + else if (this.node.parentNode) { + if (this.node.parentNode.nodeType === 1 && this.node.parentNode.hasAttribute("aria-owns")) { + var ownIds = this.node.parentNode.getAttribute("aria-owns").split(/ +/g); + if (this.node.nodeType !== 1 || !this.node.hasAttribute("id")) { + this.node = fragment_1.FragmentUtil.getOwnerFragment(this.node).getElementById(ownIds[0]); + this.bEndTag = false; + } + else { + var idx = ownIds.indexOf(this.node.getAttribute("id")); + if (idx === ownIds.length - 1) { + // last one + this.node = this.node.parentNode; + this.bEndTag = true; + } + else { + // grab next + this.node = fragment_1.FragmentUtil.getOwnerFragment(this.node).getElementById(ownIds[idx + 1]); + this.bEndTag = false; + } + } + } + this.node = this.node.parentNode; + this.bEndTag = false; + } + else { + return false; + } + } + } while ((this.node.nodeType !== 1 /* Node.ELEMENT_NODE */ && this.node.nodeType !== 11) + || (this.node.nodeType === 1 && this.node.getAttribute("aChecker") === "ACE") + || (skipOwned && this.node.nodeType === 1 && !!ARIAMapper_1.ARIAMapper.getAriaOwnedBy(this.node))); + return true; + }; + return ARIAWalker; +}()); +exports.ARIAWalker = ARIAWalker; + + +/***/ }), + +/***/ 9193: +/***/ ((__unused_webpack_module, exports) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AncestorUtil = void 0; +var AncestorUtil = /** @class */ (function () { + function AncestorUtil() { + } + AncestorUtil.isPresentationFrame = function (contextHierarchy) { + if (contextHierarchy && contextHierarchy.dom) { + // Skip current node because we want ancestry + for (var idx = contextHierarchy.dom.length - 2; idx >= 0; --idx) { + var elem = contextHierarchy.dom[idx].node; + if (elem.nodeType === 1 + && elem.nodeName.toLowerCase() === "iframe" + && (elem.getAttribute("role") === "presentation" || elem.getAttribute("aria-hidden") === "true")) { + return true; + } + } + } + return false; + }; + AncestorUtil.isFrame = function (contextHierarchy) { + if (contextHierarchy && contextHierarchy.dom) { + // Skip current node because we want ancestry + for (var idx = contextHierarchy.dom.length - 2; idx >= 0; --idx) { + var elem = contextHierarchy.dom[idx].node; + if (elem.nodeType === 1 && elem.nodeName.toLowerCase() === "iframe") { + return true; + } + } + } + return false; + }; + return AncestorUtil; +}()); +exports.AncestorUtil = AncestorUtil; + + +/***/ }), + +/***/ 482: +/***/ ((__unused_webpack_module, exports) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.FragmentUtil = void 0; +var FragmentUtil = /** @class */ (function () { + function FragmentUtil() { + } + FragmentUtil.getOwnerFragment = function (node) { + var n = node; + while (n.parentNode && (n = n.parentNode)) { + if (n.nodeType === 11) { + return n; + } + } + return node.ownerDocument; + }; + FragmentUtil.getById = function (node, id) { + return this.getOwnerFragment(node).getElementById(id); + }; + FragmentUtil.getAncestor = function (hierarchies, elemName) { + var matches = hierarchies["dom"].filter(function (info) { return info.role === elemName; }); + return matches.length > 0 && matches[0].node || null; + }; + FragmentUtil.getAncestorWithRole = function (hierarchies, role) { + var matches = hierarchies["aria"].filter(function (info) { return info.role === role; }); + return matches.length > 0 && matches[0].node || null; + }; + return FragmentUtil; +}()); +exports.FragmentUtil = FragmentUtil; + + +/***/ }), + +/***/ 2527: +/***/ ((__unused_webpack_module, exports) => { + + +/****************************************************************************** + Copyright:: 2021- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LangUtil = void 0; +// From https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry +var validPrimaryLangs = [ + ["aa", "ab", "ae", "af", "ak", "am", "an", "ar", "as", "av", "ay", "az", "aaa", "aab", "aac", "aad", "aae", "aaf", "aag", "aah", "aai", "aak", "aal", "aam", "aan", "aao", "aap", "aaq", "aas", "aat", "aau", "aav", "aaw", "aax", "aaz", "aba", "abb", "abc", "abd", "abe", "abf", "abg", "abh", "abi", "abj", "abl", "abm", "abn", "abo", "abp", "abq", "abr", "abs", "abt", "abu", "abv", "abw", "abx", "aby", "abz", "aca", "acb", "acd", "ace", "acf", "ach", "aci", "ack", "acl", "acm", "acn", "acp", "acq", "acr", "acs", "act", "acu", "acv", "acw", "acx", "acy", "acz", "ada", "adb", "add", "ade", "adf", "adg", "adh", "adi", "adj", "adl", "adn", "ado", "adp", "adq", "adr", "ads", "adt", "adu", "adw", "adx", "ady", "adz", "aea", "aeb", "aec", "aed", "aee", "aek", "ael", "aem", "aen", "aeq", "aer", "aes", "aeu", "aew", "aey", "aez", "afa", "afb", "afd", "afe", "afg", "afh", "afi", "afk", "afn", "afo", "afp", "afs", "aft", "afu", "afz", "aga", "agb", "agc", "agd", "age", "agf", "agg", "agh", "agi", "agj", "agk", "agl", "agm", "agn", "ago", "agp", "agq", "agr", "ags", "agt", "agu", "agv", "agw", "agx", "agy", "agz", "aha", "ahb", "ahg", "ahh", "ahi", "ahk", "ahl", "ahm", "ahn", "aho", "ahp", "ahr", "ahs", "aht", "aia", "aib", "aic", "aid", "aie", "aif", "aig", "aih", "aii", "aij", "aik", "ail", "aim", "ain", "aio", "aip", "aiq", "air", "ais", "ait", "aiw", "aix", "aiy", "aja", "ajg", "aji", "ajn", "ajp", "ajt", "aju", "ajw", "ajz", "akb", "akc", "akd", "ake", "akf", "akg", "akh", "aki", "akj", "akk", "akl", "akm", "ako", "akp", "akq", "akr", "aks", "akt", "aku", "akv", "akw", "akx", "aky", "akz", "ala", "alc", "ald", "ale", "alf", "alg", "alh", "ali", "alj", "alk", "all", "alm", "aln", "alo", "alp", "alq", "alr", "als", "alt", "alu", "alv", "alw", "alx", "aly", "alz", "ama", "amb", "amc", "ame", "amf", "amg", "ami", "amj", "amk", "aml", "amm", "amn", "amo", "amp", "amq", "amr", "ams", "amt", "amu", "amv", "amw", "amx", "amy", "amz", "ana", "anb", "anc", "and", "ane", "anf", "ang", "anh", "ani", "anj", "ank", "anl", "anm", "ann", "ano", "anp", "anq", "anr", "ans", "ant", "anu", "anv", "anw", "anx", "any", "anz", "aoa", "aob", "aoc", "aod", "aoe", "aof", "aog", "aoh", "aoi", "aoj", "aok", "aol", "aom", "aon", "aor", "aos", "aot", "aou", "aox", "aoz", "apa", "apb", "apc", "apd", "ape", "apf", "apg", "aph", "api", "apj", "apk", "apl", "apm", "apn", "apo", "app", "apq", "apr", "aps", "apt", "apu", "apv", "apw", "apx", "apy", "apz", "aqa", "aqc", "aqd", "aqg", "aqk", "aql", "aqm", "aqn", "aqp", "aqr", "aqt", "aqz", "arb", "arc", "ard", "are", "arh", "ari", "arj", "ark", "arl", "arn", "aro", "arp", "arq", "arr", "ars", "art", "aru", "arv", "arw", "arx", "ary", "arz", "asa", "asb", "asc", "asd", "ase", "asf", "asg", "ash", "asi", "asj", "ask", "asl", "asn", "aso", "asp", "asq", "asr", "ass", "ast", "asu", "asv", "asw", "asx", "asy", "asz", "ata", "atb", "atc", "atd", "ate", "atg", "ath", "ati", "atj", "atk", "atl", "atm", "atn", "ato", "atp", "atq", "atr", "ats", "att", "atu", "atv", "atw", "atx", "aty", "atz", "aua", "aub", "auc", "aud", "aue", "auf", "aug", "auh", "aui", "auj", "auk", "aul", "aum", "aun", "auo", "aup", "auq", "aur", "aus", "aut", "auu", "auw", "aux", "auy", "auz", "avb", "avd", "avi", "avk", "avl", "avm", "avn", "avo", "avs", "avt", "avu", "avv", "awa", "awb", "awc", "awd", "awe", "awg", "awh", "awi", "awk", "awm", "awn", "awo", "awr", "aws", "awt", "awu", "awv", "aww", "awx", "awy", "axb", "axe", "axg", "axk", "axl", "axm", "axx", "aya", "ayb", "ayc", "ayd", "aye", "ayg", "ayh", "ayi", "ayk", "ayl", "ayn", "ayo", "ayp", "ayq", "ayr", "ays", "ayt", "ayu", "ayx", "ayy", "ayz", "aza", "azb", "azc", "azd", "azg", "azj", "azm", "azn", "azo", "azt", "azz"], + ["ba", "be", "bg", "bh", "bi", "bm", "bn", "bo", "br", "bs", "baa", "bab", "bac", "bad", "bae", "baf", "bag", "bah", "bai", "baj", "bal", "ban", "bao", "bap", "bar", "bas", "bat", "bau", "bav", "baw", "bax", "bay", "baz", "bba", "bbb", "bbc", "bbd", "bbe", "bbf", "bbg", "bbh", "bbi", "bbj", "bbk", "bbl", "bbm", "bbn", "bbo", "bbp", "bbq", "bbr", "bbs", "bbt", "bbu", "bbv", "bbw", "bbx", "bby", "bbz", "bca", "bcb", "bcc", "bcd", "bce", "bcf", "bcg", "bch", "bci", "bcj", "bck", "bcl", "bcm", "bcn", "bco", "bcp", "bcq", "bcr", "bcs", "bct", "bcu", "bcv", "bcw", "bcy", "bcz", "bda", "bdb", "bdc", "bdd", "bde", "bdf", "bdg", "bdh", "bdi", "bdj", "bdk", "bdl", "bdm", "bdn", "bdo", "bdp", "bdq", "bdr", "bds", "bdt", "bdu", "bdv", "bdw", "bdx", "bdy", "bdz", "bea", "beb", "bec", "bed", "bee", "bef", "beg", "beh", "bei", "bej", "bek", "bem", "beo", "bep", "beq", "ber", "bes", "bet", "beu", "bev", "bew", "bex", "bey", "bez", "bfa", "bfb", "bfc", "bfd", "bfe", "bff", "bfg", "bfh", "bfi", "bfj", "bfk", "bfl", "bfm", "bfn", "bfo", "bfp", "bfq", "bfr", "bfs", "bft", "bfu", "bfw", "bfx", "bfy", "bfz", "bga", "bgb", "bgc", "bgd", "bge", "bgf", "bgg", "bgi", "bgj", "bgk", "bgl", "bgm", "bgn", "bgo", "bgp", "bgq", "bgr", "bgs", "bgt", "bgu", "bgv", "bgw", "bgx", "bgy", "bgz", "bha", "bhb", "bhc", "bhd", "bhe", "bhf", "bhg", "bhh", "bhi", "bhj", "bhk", "bhl", "bhm", "bhn", "bho", "bhp", "bhq", "bhr", "bhs", "bht", "bhu", "bhv", "bhw", "bhx", "bhy", "bhz", "bia", "bib", "bic", "bid", "bie", "bif", "big", "bij", "bik", "bil", "bim", "bin", "bio", "bip", "biq", "bir", "bit", "biu", "biv", "biw", "bix", "biy", "biz", "bja", "bjb", "bjc", "bjd", "bje", "bjf", "bjg", "bjh", "bji", "bjj", "bjk", "bjl", "bjm", "bjn", "bjo", "bjp", "bjq", "bjr", "bjs", "bjt", "bju", "bjv", "bjw", "bjx", "bjy", "bjz", "bka", "bkb", "bkc", "bkd", "bkf", "bkg", "bkh", "bki", "bkj", "bkk", "bkl", "bkm", "bkn", "bko", "bkp", "bkq", "bkr", "bks", "bkt", "bku", "bkv", "bkw", "bkx", "bky", "bkz", "bla", "blb", "blc", "bld", "ble", "blf", "blg", "blh", "bli", "blj", "blk", "bll", "blm", "bln", "blo", "blp", "blq", "blr", "bls", "blt", "blv", "blw", "blx", "bly", "blz", "bma", "bmb", "bmc", "bmd", "bme", "bmf", "bmg", "bmh", "bmi", "bmj", "bmk", "bml", "bmm", "bmn", "bmo", "bmp", "bmq", "bmr", "bms", "bmt", "bmu", "bmv", "bmw", "bmx", "bmy", "bmz", "bna", "bnb", "bnc", "bnd", "bne", "bnf", "bng", "bni", "bnj", "bnk", "bnl", "bnm", "bnn", "bno", "bnp", "bnq", "bnr", "bns", "bnt", "bnu", "bnv", "bnw", "bnx", "bny", "bnz", "boa", "bob", "boe", "bof", "bog", "boh", "boi", "boj", "bok", "bol", "bom", "bon", "boo", "bop", "boq", "bor", "bot", "bou", "bov", "bow", "box", "boy", "boz", "bpa", "bpb", "bpd", "bpe", "bpg", "bph", "bpi", "bpj", "bpk", "bpl", "bpm", "bpn", "bpo", "bpp", "bpq", "bpr", "bps", "bpt", "bpu", "bpv", "bpw", "bpx", "bpy", "bpz", "bqa", "bqb", "bqc", "bqd", "bqf", "bqg", "bqh", "bqi", "bqj", "bqk", "bql", "bqm", "bqn", "bqo", "bqp", "bqq", "bqr", "bqs", "bqt", "bqu", "bqv", "bqw", "bqx", "bqy", "bqz", "bra", "brb", "brc", "brd", "brf", "brg", "brh", "bri", "brj", "brk", "brl", "brm", "brn", "bro", "brp", "brq", "brr", "brs", "brt", "bru", "brv", "brw", "brx", "bry", "brz", "bsa", "bsb", "bsc", "bse", "bsf", "bsg", "bsh", "bsi", "bsj", "bsk", "bsl", "bsm", "bsn", "bso", "bsp", "bsq", "bsr", "bss", "bst", "bsu", "bsv", "bsw", "bsx", "bsy", "bta", "btb", "btc", "btd", "bte", "btf", "btg", "bth", "bti", "btj", "btk", "btl", "btm", "btn", "bto", "btp", "btq", "btr", "bts", "btt", "btu", "btv", "btw", "btx", "bty", "btz", "bua", "bub", "buc", "bud", "bue", "buf", "bug", "buh", "bui", "buj", "buk", "bum", "bun", "buo", "bup", "buq", "bus", "but", "buu", "buv", "buw", "bux", "buy", "buz", "bva", "bvb", "bvc", "bvd", "bve", "bvf", "bvg", "bvh", "bvi", "bvj", "bvk", "bvl", "bvm", "bvn", "bvo", "bvp", "bvq", "bvr", "bvt", "bvu", "bvv", "bvw", "bvx", "bvy", "bvz", "bwa", "bwb", "bwc", "bwd", "bwe", "bwf", "bwg", "bwh", "bwi", "bwj", "bwk", "bwl", "bwm", "bwn", "bwo", "bwp", "bwq", "bwr", "bws", "bwt", "bwu", "bww", "bwx", "bwy", "bwz", "bxa", "bxb", "bxc", "bxd", "bxe", "bxf", "bxg", "bxh", "bxi", "bxj", "bxk", "bxl", "bxm", "bxn", "bxo", "bxp", "bxq", "bxr", "bxs", "bxu", "bxv", "bxw", "bxx", "bxz", "bya", "byb", "byc", "byd", "bye", "byf", "byg", "byh", "byi", "byj", "byk", "byl", "bym", "byn", "byo", "byp", "byq", "byr", "bys", "byt", "byv", "byw", "byx", "byy", "byz", "bza", "bzb", "bzc", "bzd", "bze", "bzf", "bzg", "bzh", "bzi", "bzj", "bzk", "bzl", "bzm", "bzn", "bzo", "bzp", "bzq", "bzr", "bzs", "bzt", "bzu", "bzv", "bzw", "bzx", "bzy", "bzz"], + ["ca", "ce", "ch", "co", "cr", "cs", "cu", "cv", "cy", "caa", "cab", "cac", "cad", "cae", "caf", "cag", "cah", "cai", "caj", "cak", "cal", "cam", "can", "cao", "cap", "caq", "car", "cas", "cau", "cav", "caw", "cax", "cay", "caz", "cba", "cbb", "cbc", "cbd", "cbe", "cbg", "cbh", "cbi", "cbj", "cbk", "cbl", "cbn", "cbo", "cbq", "cbr", "cbs", "cbt", "cbu", "cbv", "cbw", "cby", "cca", "ccc", "ccd", "cce", "ccg", "cch", "ccj", "ccl", "ccm", "ccn", "cco", "ccp", "ccq", "ccr", "ccs", "cda", "cdc", "cdd", "cde", "cdf", "cdg", "cdh", "cdi", "cdj", "cdm", "cdn", "cdo", "cdr", "cds", "cdy", "cdz", "cea", "ceb", "ceg", "cek", "cel", "cen", "cet", "cey", "cfa", "cfd", "cfg", "cfm", "cga", "cgc", "cgg", "cgk", "chb", "chc", "chd", "chf", "chg", "chh", "chj", "chk", "chl", "chm", "chn", "cho", "chp", "chq", "chr", "cht", "chw", "chx", "chy", "chz", "cia", "cib", "cic", "cid", "cie", "cih", "cik", "cim", "cin", "cip", "cir", "ciw", "ciy", "cja", "cje", "cjh", "cji", "cjk", "cjm", "cjn", "cjo", "cjp", "cjr", "cjs", "cjv", "cjy", "cka", "ckb", "ckh", "ckl", "ckm", "ckn", "cko", "ckq", "ckr", "cks", "ckt", "cku", "ckv", "ckx", "cky", "ckz", "cla", "clc", "cld", "cle", "clh", "cli", "clj", "clk", "cll", "clm", "clo", "clt", "clu", "clw", "cly", "cma", "cmc", "cme", "cmg", "cmi", "cmk", "cml", "cmm", "cmn", "cmo", "cmr", "cms", "cmt", "cna", "cnb", "cnc", "cng", "cnh", "cni", "cnk", "cnl", "cno", "cnp", "cnr", "cns", "cnt", "cnu", "cnw", "cnx", "coa", "cob", "coc", "cod", "coe", "cof", "cog", "coh", "coj", "cok", "col", "com", "con", "coo", "cop", "coq", "cot", "cou", "cov", "cow", "cox", "coy", "coz", "cpa", "cpb", "cpc", "cpe", "cpf", "cpg", "cpi", "cpn", "cpo", "cpp", "cps", "cpu", "cpx", "cpy", "cqd", "cqu", "cra", "crb", "crc", "crd", "crf", "crg", "crh", "cri", "crj", "crk", "crl", "crm", "crn", "cro", "crp", "crq", "crr", "crs", "crt", "crv", "crw", "crx", "cry", "crz", "csa", "csb", "csc", "csd", "cse", "csf", "csg", "csh", "csi", "csj", "csk", "csl", "csm", "csn", "cso", "csp", "csq", "csr", "css", "cst", "csu", "csv", "csw", "csx", "csy", "csz", "cta", "ctc", "ctd", "cte", "ctg", "cth", "ctl", "ctm", "ctn", "cto", "ctp", "cts", "ctt", "ctu", "cty", "ctz", "cua", "cub", "cuc", "cug", "cuh", "cui", "cuj", "cuk", "cul", "cum", "cuo", "cup", "cuq", "cur", "cus", "cut", "cuu", "cuv", "cuw", "cux", "cuy", "cvg", "cvn", "cwa", "cwb", "cwd", "cwe", "cwg", "cwt", "cya", "cyb", "cyo", "czh", "czk", "czn", "czo", "czt"], + ["da", "de", "dv", "dz", "daa", "dac", "dad", "dae", "daf", "dag", "dah", "dai", "daj", "dak", "dal", "dam", "dao", "dap", "daq", "dar", "das", "dau", "dav", "daw", "dax", "day", "daz", "dba", "dbb", "dbd", "dbe", "dbf", "dbg", "dbi", "dbj", "dbl", "dbm", "dbn", "dbo", "dbp", "dbq", "dbr", "dbt", "dbu", "dbv", "dbw", "dby", "dcc", "dcr", "dda", "ddd", "dde", "ddg", "ddi", "ddj", "ddn", "ddo", "ddr", "dds", "ddw", "dec", "ded", "dee", "def", "deg", "deh", "dei", "dek", "del", "dem", "den", "dep", "deq", "der", "des", "dev", "dez", "dga", "dgb", "dgc", "dgd", "dge", "dgg", "dgh", "dgi", "dgk", "dgl", "dgn", "dgo", "dgr", "dgs", "dgt", "dgu", "dgw", "dgx", "dgz", "dha", "dhd", "dhg", "dhi", "dhl", "dhm", "dhn", "dho", "dhr", "dhs", "dhu", "dhv", "dhw", "dhx", "dia", "dib", "dic", "did", "dif", "dig", "dih", "dii", "dij", "dik", "dil", "dim", "din", "dio", "dip", "diq", "dir", "dis", "dit", "diu", "diw", "dix", "diy", "diz", "dja", "djb", "djc", "djd", "dje", "djf", "dji", "djj", "djk", "djl", "djm", "djn", "djo", "djr", "dju", "djw", "dka", "dkg", "dkk", "dkl", "dkr", "dks", "dkx", "dlg", "dlk", "dlm", "dln", "dma", "dmb", "dmc", "dmd", "dme", "dmf", "dmg", "dmk", "dml", "dmm", "dmn", "dmo", "dmr", "dms", "dmu", "dmv", "dmw", "dmx", "dmy", "dna", "dnd", "dne", "dng", "dni", "dnj", "dnk", "dnn", "dno", "dnr", "dnt", "dnu", "dnv", "dnw", "dny", "doa", "dob", "doc", "doe", "dof", "doh", "doi", "dok", "dol", "don", "doo", "dop", "doq", "dor", "dos", "dot", "dov", "dow", "dox", "doy", "doz", "dpp", "dra", "drb", "drc", "drd", "dre", "drg", "drh", "dri", "drl", "drn", "dro", "drq", "drr", "drs", "drt", "dru", "drw", "dry", "dsb", "dse", "dsh", "dsi", "dsl", "dsn", "dso", "dsq", "dta", "dtb", "dtd", "dth", "dti", "dtk", "dtm", "dtn", "dto", "dtp", "dtr", "dts", "dtt", "dtu", "dty", "dua", "dub", "duc", "dud", "due", "duf", "dug", "duh", "dui", "duj", "duk", "dul", "dum", "dun", "duo", "dup", "duq", "dur", "dus", "duu", "duv", "duw", "dux", "duy", "duz", "dva", "dwa", "dwk", "dwl", "dwr", "dws", "dwu", "dww", "dwy", "dwz", "dya", "dyb", "dyd", "dyg", "dyi", "dym", "dyn", "dyo", "dyu", "dyy", "dza", "dzd", "dze", "dzg", "dzl", "dzn"], + ["ee", "el", "en", "eo", "es", "et", "eu", "eaa", "ebc", "ebg", "ebk", "ebo", "ebr", "ebu", "ecr", "ecs", "ecy", "eee", "efa", "efe", "efi", "ega", "egl", "ego", "egx", "egy", "ehs", "ehu", "eip", "eit", "eiv", "eja", "eka", "ekc", "eke", "ekg", "eki", "ekk", "ekl", "ekm", "eko", "ekp", "ekr", "eky", "ele", "elh", "eli", "elk", "elm", "elo", "elp", "elu", "elx", "ema", "emb", "eme", "emg", "emi", "emk", "emm", "emn", "emo", "emp", "emq", "ems", "emu", "emw", "emx", "emy", "emz", "ena", "enb", "enc", "end", "enf", "enh", "enl", "enm", "enn", "eno", "enq", "enr", "enu", "env", "enw", "enx", "eot", "epi", "era", "erg", "erh", "eri", "erk", "ero", "err", "ers", "ert", "erw", "ese", "esg", "esh", "esi", "esk", "esl", "esm", "esn", "eso", "esq", "ess", "esu", "esx", "esy", "etb", "etc", "eth", "etn", "eto", "etr", "ets", "ett", "etu", "etx", "etz", "euq", "eve", "evh", "evn", "ewo", "ext", "eya", "eyo", "eza", "eze"], + ["fa", "ff", "fi", "fj", "fo", "fr", "fy", "faa", "fab", "fad", "faf", "fag", "fah", "fai", "faj", "fak", "fal", "fam", "fan", "fap", "far", "fat", "fau", "fax", "fay", "faz", "fbl", "fcs", "fer", "ffi", "ffm", "fgr", "fia", "fie", "fif", "fil", "fip", "fir", "fit", "fiu", "fiw", "fkk", "fkv", "fla", "flh", "fli", "fll", "fln", "flr", "fly", "fmp", "fmu", "fnb", "fng", "fni", "fod", "foi", "fom", "fon", "for", "fos", "fox", "fpe", "fqs", "frc", "frd", "frk", "frm", "fro", "frp", "frq", "frr", "frs", "frt", "fse", "fsl", "fss", "fub", "fuc", "fud", "fue", "fuf", "fuh", "fui", "fuj", "fum", "fun", "fuq", "fur", "fut", "fuu", "fuv", "fuy", "fvr", "fwa", "fwe"], + ["ga", "gd", "gl", "gn", "gu", "gv", "gaa", "gab", "gac", "gad", "gae", "gaf", "gag", "gah", "gai", "gaj", "gak", "gal", "gam", "gan", "gao", "gap", "gaq", "gar", "gas", "gat", "gau", "gav", "gaw", "gax", "gay", "gaz", "gba", "gbb", "gbc", "gbd", "gbe", "gbf", "gbg", "gbh", "gbi", "gbj", "gbk", "gbl", "gbm", "gbn", "gbo", "gbp", "gbq", "gbr", "gbs", "gbu", "gbv", "gbw", "gbx", "gby", "gbz", "gcc", "gcd", "gce", "gcf", "gcl", "gcn", "gcr", "gct", "gda", "gdb", "gdc", "gdd", "gde", "gdf", "gdg", "gdh", "gdi", "gdj", "gdk", "gdl", "gdm", "gdn", "gdo", "gdq", "gdr", "gds", "gdt", "gdu", "gdx", "gea", "geb", "gec", "ged", "gef", "geg", "geh", "gei", "gej", "gek", "gel", "gem", "geq", "ges", "gev", "gew", "gex", "gey", "gez", "gfk", "gft", "gfx", "gga", "ggb", "ggd", "gge", "ggg", "ggk", "ggl", "ggn", "ggo", "ggr", "ggt", "ggu", "ggw", "gha", "ghc", "ghe", "ghh", "ghk", "ghl", "ghn", "gho", "ghr", "ghs", "ght", "gia", "gib", "gic", "gid", "gie", "gig", "gih", "gii", "gil", "gim", "gin", "gio", "gip", "giq", "gir", "gis", "git", "giu", "giw", "gix", "giy", "giz", "gji", "gjk", "gjm", "gjn", "gjr", "gju", "gka", "gkd", "gke", "gkn", "gko", "gkp", "gku", "glb", "glc", "gld", "glh", "gli", "glj", "glk", "gll", "glo", "glr", "glu", "glw", "gly", "gma", "gmb", "gmd", "gme", "gmg", "gmh", "gml", "gmm", "gmn", "gmq", "gmr", "gmu", "gmv", "gmw", "gmx", "gmy", "gmz", "gna", "gnb", "gnc", "gnd", "gne", "gng", "gnh", "gni", "gnj", "gnk", "gnl", "gnm", "gnn", "gno", "gnq", "gnr", "gnt", "gnu", "gnw", "gnz", "goa", "gob", "goc", "god", "goe", "gof", "gog", "goh", "goi", "goj", "gok", "gol", "gom", "gon", "goo", "gop", "goq", "gor", "gos", "got", "gou", "gow", "gox", "goy", "goz", "gpa", "gpe", "gpn", "gqa", "gqi", "gqn", "gqr", "gqu", "gra", "grb", "grc", "grd", "grg", "grh", "gri", "grj", "grk", "grm", "gro", "grq", "grr", "grs", "grt", "gru", "grv", "grw", "grx", "gry", "grz", "gse", "gsg", "gsl", "gsm", "gsn", "gso", "gsp", "gss", "gsw", "gta", "gti", "gtu", "gua", "gub", "guc", "gud", "gue", "guf", "gug", "guh", "gui", "guk", "gul", "gum", "gun", "guo", "gup", "guq", "gur", "gus", "gut", "guu", "guv", "guw", "gux", "guz", "gva", "gvc", "gve", "gvf", "gvj", "gvl", "gvm", "gvn", "gvo", "gvp", "gvr", "gvs", "gvy", "gwa", "gwb", "gwc", "gwd", "gwe", "gwf", "gwg", "gwi", "gwj", "gwm", "gwn", "gwr", "gwt", "gwu", "gww", "gwx", "gxx", "gya", "gyb", "gyd", "gye", "gyf", "gyg", "gyi", "gyl", "gym", "gyn", "gyo", "gyr", "gyy", "gyz", "gza", "gzi", "gzn"], + ["ha", "he", "hi", "ho", "hr", "ht", "hu", "hy", "hz", "haa", "hab", "hac", "had", "hae", "haf", "hag", "hah", "hai", "haj", "hak", "hal", "ham", "han", "hao", "hap", "haq", "har", "has", "hav", "haw", "hax", "hay", "haz", "hba", "hbb", "hbn", "hbo", "hbu", "hca", "hch", "hdn", "hds", "hdy", "hea", "hed", "heg", "heh", "hei", "hem", "hgm", "hgw", "hhi", "hhr", "hhy", "hia", "hib", "hid", "hif", "hig", "hih", "hii", "hij", "hik", "hil", "him", "hio", "hir", "hit", "hiw", "hix", "hji", "hka", "hke", "hkh", "hkk", "hkn", "hks", "hla", "hlb", "hld", "hle", "hlt", "hlu", "hma", "hmb", "hmc", "hmd", "hme", "hmf", "hmg", "hmh", "hmi", "hmj", "hmk", "hml", "hmm", "hmn", "hmp", "hmq", "hmr", "hms", "hmt", "hmu", "hmv", "hmw", "hmx", "hmy", "hmz", "hna", "hnd", "hne", "hng", "hnh", "hni", "hnj", "hnn", "hno", "hns", "hnu", "hoa", "hob", "hoc", "hod", "hoe", "hoh", "hoi", "hoj", "hok", "hol", "hom", "hoo", "hop", "hor", "hos", "hot", "hov", "how", "hoy", "hoz", "hpo", "hps", "hra", "hrc", "hre", "hrk", "hrm", "hro", "hrp", "hrr", "hrt", "hru", "hrw", "hrx", "hrz", "hsb", "hsh", "hsl", "hsn", "hss", "hti", "hto", "hts", "htu", "htx", "hub", "huc", "hud", "hue", "huf", "hug", "huh", "hui", "huj", "huk", "hul", "hum", "huo", "hup", "huq", "hur", "hus", "hut", "huu", "huv", "huw", "hux", "huy", "huz", "hvc", "hve", "hvk", "hvn", "hvv", "hwa", "hwc", "hwo", "hya", "hyw", "hyx"], + ["ia", "id", "ie", "ig", "ii", "ik", "in", "io", "is", "it", "iu", "iw", "iai", "ian", "iap", "iar", "iba", "ibb", "ibd", "ibe", "ibg", "ibh", "ibi", "ibl", "ibm", "ibn", "ibr", "ibu", "iby", "ica", "ich", "icl", "icr", "ida", "idb", "idc", "idd", "ide", "idi", "idr", "ids", "idt", "idu", "ifa", "ifb", "ife", "iff", "ifk", "ifm", "ifu", "ify", "igb", "ige", "igg", "igl", "igm", "ign", "igo", "igs", "igw", "ihb", "ihi", "ihp", "ihw", "iin", "iir", "ijc", "ije", "ijj", "ijn", "ijo", "ijs", "ike", "iki", "ikk", "ikl", "iko", "ikp", "ikr", "iks", "ikt", "ikv", "ikw", "ikx", "ikz", "ila", "ilb", "ilg", "ili", "ilk", "ill", "ilm", "ilo", "ilp", "ils", "ilu", "ilv", "ilw", "ima", "ime", "imi", "iml", "imn", "imo", "imr", "ims", "imy", "inb", "inc", "ine", "ing", "inh", "inj", "inl", "inm", "inn", "ino", "inp", "ins", "int", "inz", "ior", "iou", "iow", "ipi", "ipo", "iqu", "iqw", "ira", "ire", "irh", "iri", "irk", "irn", "iro", "irr", "iru", "irx", "iry", "isa", "isc", "isd", "ise", "isg", "ish", "isi", "isk", "ism", "isn", "iso", "isr", "ist", "isu", "itb", "itc", "itd", "ite", "iti", "itk", "itl", "itm", "ito", "itr", "its", "itt", "itv", "itw", "itx", "ity", "itz", "ium", "ivb", "ivv", "iwk", "iwm", "iwo", "iws", "ixc", "ixl", "iya", "iyo", "iyx", "izh", "izi", "izr", "izz"], + ["ja", "ji", "jv", "jw", "jaa", "jab", "jac", "jad", "jae", "jaf", "jah", "jaj", "jak", "jal", "jam", "jan", "jao", "jaq", "jar", "jas", "jat", "jau", "jax", "jay", "jaz", "jbe", "jbi", "jbj", "jbk", "jbm", "jbn", "jbo", "jbr", "jbt", "jbu", "jbw", "jcs", "jct", "jda", "jdg", "jdt", "jeb", "jee", "jeg", "jeh", "jei", "jek", "jel", "jen", "jer", "jet", "jeu", "jgb", "jge", "jgk", "jgo", "jhi", "jhs", "jia", "jib", "jic", "jid", "jie", "jig", "jih", "jii", "jil", "jim", "jio", "jiq", "jit", "jiu", "jiv", "jiy", "jje", "jjr", "jka", "jkm", "jko", "jkp", "jkr", "jks", "jku", "jle", "jls", "jma", "jmb", "jmc", "jmd", "jmi", "jml", "jmn", "jmr", "jms", "jmw", "jmx", "jna", "jnd", "jng", "jni", "jnj", "jnl", "jns", "job", "jod", "jog", "jor", "jos", "jow", "jpa", "jpr", "jpx", "jqr", "jra", "jrb", "jrr", "jrt", "jru", "jsl", "jua", "jub", "juc", "jud", "juh", "jui", "juk", "jul", "jum", "jun", "juo", "jup", "jur", "jus", "jut", "juu", "juw", "juy", "jvd", "jvn", "jwi", "jya", "jye", "jyy"], + ["ka", "kg", "ki", "kj", "kk", "kl", "km", "kn", "ko", "kr", "ks", "ku", "kv", "kw", "ky", "kaa", "kab", "kac", "kad", "kae", "kaf", "kag", "kah", "kai", "kaj", "kak", "kam", "kao", "kap", "kaq", "kar", "kav", "kaw", "kax", "kay", "kba", "kbb", "kbc", "kbd", "kbe", "kbf", "kbg", "kbh", "kbi", "kbj", "kbk", "kbl", "kbm", "kbn", "kbo", "kbp", "kbq", "kbr", "kbs", "kbt", "kbu", "kbv", "kbw", "kbx", "kby", "kbz", "kca", "kcb", "kcc", "kcd", "kce", "kcf", "kcg", "kch", "kci", "kcj", "kck", "kcl", "kcm", "kcn", "kco", "kcp", "kcq", "kcr", "kcs", "kct", "kcu", "kcv", "kcw", "kcx", "kcy", "kcz", "kda", "kdc", "kdd", "kde", "kdf", "kdg", "kdh", "kdi", "kdj", "kdk", "kdl", "kdm", "kdn", "kdo", "kdp", "kdq", "kdr", "kdt", "kdu", "kdv", "kdw", "kdx", "kdy", "kdz", "kea", "keb", "kec", "ked", "kee", "kef", "keg", "keh", "kei", "kej", "kek", "kel", "kem", "ken", "keo", "kep", "keq", "ker", "kes", "ket", "keu", "kev", "kew", "kex", "key", "kez", "kfa", "kfb", "kfc", "kfd", "kfe", "kff", "kfg", "kfh", "kfi", "kfj", "kfk", "kfl", "kfm", "kfn", "kfo", "kfp", "kfq", "kfr", "kfs", "kft", "kfu", "kfv", "kfw", "kfx", "kfy", "kfz", "kga", "kgb", "kgc", "kgd", "kge", "kgf", "kgg", "kgh", "kgi", "kgj", "kgk", "kgl", "kgm", "kgn", "kgo", "kgp", "kgq", "kgr", "kgs", "kgt", "kgu", "kgv", "kgw", "kgx", "kgy", "kha", "lyg", "khb", "khc", "khd", "khe", "khf", "khg", "khh", "khi", "khj", "khk", "khl", "khn", "kho", "khp", "khq", "khr", "khs", "kht", "khu", "khv", "khw", "khx", "khy", "khz", "kia", "kib", "kic", "kid", "kie", "kif", "kig", "kih", "kii", "kij", "kil", "kim", "kio", "kip", "kiq", "kis", "kit", "kiu", "kiv", "kiw", "kix", "kiy", "kiz", "kja", "kjb", "kjc", "kjd", "kje", "kjf", "kjg", "kjh", "kji", "kjj", "kjk", "kjl", "kjm", "kjn", "kjo", "kjp", "kjq", "kjr", "kjs", "kjt", "kju", "kjv", "kjx", "kjy", "kjz", "kka", "kkb", "kkc", "kkd", "kke", "kkf", "kkg", "kkh", "kki", "kkj", "kkk", "kkl", "kkm", "kkn", "kko", "kkp", "kkq", "kkr", "kks", "kkt", "kku", "kkv", "kkw", "kkx", "kky", "kkz", "kla", "klb", "klc", "kld", "kle", "klf", "klg", "klh", "kli", "klj", "klk", "kll", "klm", "kln", "klo", "klp", "klq", "klr", "kls", "klt", "klu", "klv", "klw", "klx", "kly", "klz", "kma", "kmb", "kmc", "kmd", "kme", "kmf", "kmg", "kmh", "kmi", "kmj", "kmk", "kml", "kmm", "kmn", "kmo", "kmp", "kmq", "kmr", "kms", "kmt", "kmu", "kmv", "kmw", "kmx", "kmy", "kmz", "kna", "knb", "knc", "knd", "kne", "knf", "kng", "kni", "knj", "knk", "knl", "knm", "knn", "kno", "knp", "knq", "knr", "kns", "knt", "knu", "knv", "knw", "knx", "kny", "knz", "koa", "koc", "kod", "koe", "kof", "kog", "koh", "koi", "koj", "kok", "kol", "koo", "kop", "koq", "kos", "kot", "kou", "kov", "kow", "kox", "koy", "koz", "kpa", "kpb", "kpc", "kpd", "kpe", "kpf", "kpg", "kph", "kpi", "kpj", "kpk", "kpl", "kpm", "kpn", "kpo", "kpp", "kpq", "kpr", "kps", "kpt", "kpu", "kpv", "kpw", "kpx", "kpy", "kpz", "kqa", "kqb", "kqc", "kqd", "kqe", "kqf", "kqg", "kqh", "kqi", "kqj", "kqk", "kql", "kqm", "kqn", "kqo", "kqp", "kqq", "kqr", "kqs", "kqt", "kqu", "kqv", "kqw", "kqx", "kqy", "kqz", "kra", "krb", "krc", "krd", "kre", "krf", "krh", "kri", "krj", "krk", "krl", "krm", "krn", "kro", "krp", "krr", "krs", "krt", "kru", "krv", "krw", "krx", "kry", "krz", "ksa", "ksb", "ksc", "ksd", "kse", "ksf", "ksg", "ksh", "ksi", "ksj", "ksk", "ksl", "ksm", "ksn", "kso", "ksp", "ksq", "ksr", "kss", "kst", "ksu", "ksv", "ksw", "ksx", "ksy", "ksz", "kta", "ktb", "ktc", "ktd", "kte", "ktf", "ktg", "kth", "kti", "ktj", "ktk", "ktl", "ktm", "ktn", "kto", "ktp", "ktq", "ktr", "kts", "ktt", "ktu", "ktv", "ktw", "ktx", "kty", "ktz", "kub", "kuc", "kud", "kue", "kuf", "kug", "kuh", "kui", "kuj", "kuk", "kul", "kum", "kun", "kuo", "kup", "kuq", "kus", "kut", "kuu", "kuv", "kuw", "kux", "kuy", "kuz", "kva", "kvb", "kvc", "kvd", "kve", "kvf", "kvg", "kvh", "kvi", "kvj", "kvk", "kvl", "kvm", "kvn", "kvo", "kvp", "kvq", "kvr", "kvs", "kvt", "kvu", "kvv", "kvw", "kvx", "kvy", "kvz", "kwa", "kwb", "kwc", "kwd", "kwe", "kwf", "kwg", "kwh", "kwi", "kwj", "kwk", "kwl", "kwm", "kwn", "kwo", "kwp", "kwq", "kwr", "kws", "kwt", "kwu", "kwv", "kww", "kwx", "kwy", "kwz", "kxa", "kxb", "kxc", "kxd", "kxe", "kxf", "kxh", "kxi", "kxj", "kxk", "kxl", "kxm", "kxn", "kxo", "kxp", "kxq", "kxr", "kxs", "kxt", "kxu", "kxv", "kxw", "kxx", "kxy", "kxz", "kya", "kyb", "kyc", "kyd", "kye", "kyf", "kyg", "kyh", "kyi", "kyj", "kyk", "kyl", "kym", "kyn", "kyo", "kyp", "kyq", "kyr", "kys", "kyt", "kyu", "kyv", "kyw", "kyx", "kyy", "kyz", "kza", "kzb", "kzc", "kzd", "kze", "kzf", "kzg", "kzh", "kzi", "kzj", "kzk", "kzl", "kzm", "kzn", "kzo", "kzp", "kzq", "kzr", "kzs", "kzt", "kzu", "kzv", "kzw", "kzx", "kzy", "kzz"], + ["la", "lb", "lg", "li", "ln", "lo", "lt", "lu", "lv", "laa", "lab", "lac", "lad", "lae", "laf", "lag", "lah", "lai", "laj", "lak", "lal", "lam", "lan", "lap", "laq", "lar", "las", "lau", "law", "lax", "lay", "laz", "lba", "lbb", "lbc", "lbe", "lbf", "lbg", "lbi", "lbj", "lbk", "lbl", "lbm", "lbn", "lbo", "lbq", "lbr", "lbs", "lbt", "lbu", "lbv", "lbw", "lbx", "lby", "lbz", "lcc", "lcd", "lce", "lcf", "lch", "lcl", "lcm", "lcp", "lcq", "lcs", "lda", "ldb", "ldd", "ldg", "ldh", "ldi", "ldj", "ldk", "ldl", "ldm", "ldn", "ldo", "ldp", "ldq", "lea", "leb", "lec", "led", "lee", "lef", "leg", "leh", "lei", "lej", "lek", "lel", "lem", "len", "leo", "lep", "leq", "ler", "les", "let", "leu", "lev", "lew", "lex", "ley", "lez", "lfa", "lfn", "lga", "lgb", "lgg", "lgh", "lgi", "lgk", "lgl", "lgm", "lgn", "lgq", "lgr", "lgt", "lgu", "lgz", "lha", "lhh", "lhi", "lhl", "lhm", "lhn", "lhp", "lhs", "lht", "lhu", "lia", "lib", "lic", "lid", "lie", "lif", "lig", "lih", "lii", "lij", "lik", "lil", "lio", "lip", "liq", "lir", "lis", "liu", "liv", "liw", "lix", "liy", "liz", "lja", "lje", "lji", "ljl", "ljp", "ljw", "ljx", "lka", "lkb", "lkc", "lkd", "lke", "lkh", "lki", "lkj", "lkl", "lkm", "lkn", "lko", "lkr", "lks", "lkt", "lku", "lky", "lla", "llb", "llc", "lld", "lle", "llf", "llg", "llh", "lli", "llj", "llk", "lll", "llm", "lln", "llo", "llp", "llq", "lls", "llu", "llx", "lma", "lmb", "lmc", "lmd", "lme", "lmf", "lmg", "lmh", "lmi", "lmj", "lmk", "lml", "lmm", "lmn", "lmo", "lmp", "lmq", "lmr", "lmu", "lmv", "lmw", "lmx", "lmy", "lmz", "lna", "lnb", "lnd", "lng", "lnh", "lni", "lnj", "lnl", "lnm", "lnn", "lno", "lns", "lnu", "lnw", "lnz", "loa", "lob", "loc", "loe", "lof", "log", "loh", "loi", "loj", "lok", "lol", "lom", "lon", "loo", "lop", "loq", "lor", "los", "lot", "lou", "lov", "low", "lox", "loy", "loz", "lpa", "lpe", "lpn", "lpo", "lpx", "lra", "lrc", "lre", "lrg", "lri", "lrk", "lrl", "lrm", "lrn", "lro", "lrr", "lrt", "lrv", "lrz", "lsa", "lsb", "lsd", "lse", "lsg", "lsh", "lsi", "lsl", "lsm", "lsn", "lso", "lsp", "lsr", "lss", "lst", "lsv", "lsy", "ltc", "ltg", "lth", "lti", "ltn", "lto", "lts", "ltu", "lua", "luc", "lud", "lue", "luf", "lui", "luj", "luk", "lul", "lum", "lun", "luo", "lup", "luq", "lur", "lus", "lut", "luu", "luv", "luw", "luy", "luz", "lva", "lvi", "lvk", "lvs", "lvu", "lwa", "lwe", "lwg", "lwh", "lwl", "lwm", "lwo", "lws", "lwt", "lwu", "lww", "lxm", "lya", "lyg", "lyn", "lzh", "lzl", "lzn", "lzz"], + ["mg", "mh", "mi", "mk", "ml", "mn", "mo", "mr", "ms", "mt", "my", "maa", "mab", "mad", "mae", "maf", "mag", "mai", "maj", "mak", "mam", "man", "map", "maq", "mas", "mat", "mau", "mav", "maw", "max", "maz", "mba", "mbb", "mbc", "mbd", "mbe", "mbf", "mbh", "mbi", "mbj", "mbk", "mbl", "mbm", "mbn", "mbo", "mbp", "mbq", "mbr", "mbs", "mbt", "mbu", "mbv", "mbw", "mbx", "mby", "mbz", "mca", "mcb", "mcc", "mcd", "mce", "mcf", "mcg", "mch", "mci", "mcj", "mck", "mcl", "mcm", "mcn", "mco", "mcp", "mcq", "mcr", "mcs", "mct", "mcu", "mcv", "mcw", "mcx", "mcy", "mcz", "mda", "mdb", "mdc", "mdd", "mde", "mdf", "mdg", "mdh", "mdi", "mdj", "mdk", "mdl", "mdm", "mdn", "mdp", "mdq", "mdr", "mds", "mdt", "mdu", "mdv", "mdw", "mdx", "mdy", "mdz", "mea", "meb", "mec", "med", "mee", "mef", "meg", "meh", "mei", "mej", "mek", "mel", "mem", "men", "meo", "mep", "meq", "mer", "mes", "met", "meu", "mev", "mew", "mey", "mez", "mfa", "mfb", "mfc", "mfd", "mfe", "mff", "mfg", "mfh", "mfi", "mfj", "mfk", "mfl", "mfm", "mfn", "mfo", "mfp", "mfq", "mfr", "mfs", "mft", "mfu", "mfv", "mfw", "mfx", "mfy", "mfz", "mga", "mgb", "mgc", "mgd", "mge", "mgf", "mgg", "mgh", "mgi", "mgj", "mgk", "mgl", "mgm", "mgn", "mgo", "mgp", "mgq", "mgr", "mgs", "mgt", "mgu", "mgv", "mgw", "mgx", "mgy", "mgz", "mha", "mhb", "mhc", "mhd", "mhe", "mhf", "mhg", "mhh", "mhi", "mhj", "mhk", "mhl", "mhm", "mhn", "mho", "mhp", "mhq", "mhr", "mhs", "mht", "mhu", "mhw", "mhx", "mhy", "mhz", "mia", "mib", "mic", "mid", "mie", "mif", "mig", "mih", "mii", "mij", "mik", "mil", "mim", "min", "mio", "mip", "miq", "mir", "mis", "mit", "miu", "miw", "mix", "miy", "miz", "mja", "mjb", "mjc", "mjd", "mje", "mjg", "mjh", "mji", "mjj", "mjk", "mjl", "mjm", "mjn", "mjo", "mjp", "mjq", "mjr", "mjs", "mjt", "mju", "mjv", "mjw", "mjx", "mjy", "mjz", "mka", "mkb", "mkc", "mke", "mkf", "mkg", "mkh", "mki", "mkj", "mkk", "mkl", "mkm", "mkn", "mko", "mkp", "mkq", "mkr", "mks", "mkt", "mku", "mkv", "mkw", "mkx", "mky", "mkz", "mla", "mlb", "mlc", "mld", "mle", "mlf", "mlh", "mli", "mlj", "mlk", "mll", "mlm", "mln", "mlo", "mlp", "mlq", "mlr", "mls", "mlu", "mlv", "mlw", "mlx", "mlz", "mma", "mmb", "mmc", "mmd", "mme", "mmf", "mmg", "mmh", "mmi", "mmj", "mmk", "mml", "mmm", "mmn", "mmo", "mmp", "mmq", "mmr", "mmt", "mmu", "mmv", "mmw", "mmx", "mmy", "mmz", "mna", "mnb", "mnc", "mnd", "mne", "mnf", "mng", "mnh", "mni", "mnj", "mnk", "mnl", "mnm", "mnn", "mno", "mnp", "mnq", "mnr", "mns", "mnt", "mnu", "mnv", "mnw", "mnx", "mny", "mnz", "moa", "moc", "mod", "moe", "mof", "mog", "moh", "moi", "moj", "mok", "mom", "moo", "mop", "moq", "mor", "mos", "mot", "mou", "mov", "mow", "mox", "moy", "moz", "mpa", "mpb", "mpc", "mpd", "mpe", "mpg", "mph", "mpi", "mpj", "mpk", "mpl", "mpm", "mpn", "mpo", "mpp", "mpq", "mpr", "mps", "mpt", "mpu", "mpv", "mpw", "mpx", "mpy", "mpz", "mqa", "mqb", "mqc", "mqe", "mqf", "mqg", "mqh", "mqi", "mqj", "mqk", "mql", "mqm", "mqn", "mqo", "mqp", "mqq", "mqr", "mqs", "mqt", "mqu", "mqv", "mqw", "mqx", "mqy", "mqz", "mra", "mrb", "mrc", "mrd", "mre", "mrf", "mrg", "mrh", "mrj", "mrk", "mrl", "mrm", "mrn", "mro", "mrp", "mrq", "mrr", "mrs", "mrt", "mru", "mrv", "mrw", "mrx", "mry", "mrz", "msb", "msc", "msd", "mse", "msf", "msg", "msh", "msi", "msj", "msk", "msl", "msm", "msn", "mso", "msp", "msq", "msr", "mss", "mst", "msu", "msv", "msw", "msx", "msy", "msz", "mta", "mtb", "mtc", "mtd", "mte", "mtf", "mtg", "mth", "mti", "mtj", "mtk", "mtl", "mtm", "mtn", "mto", "mtp", "mtq", "mtr", "mts", "mtt", "mtu", "mtv", "mtw", "mtx", "mty", "mua", "mub", "muc", "mud", "mue", "mug", "muh", "mui", "muj", "muk", "mul", "mum", "mun", "muo", "mup", "muq", "mur", "mus", "mut", "muu", "muv", "mux", "muy", "muz", "mva", "mvb", "mvd", "mve", "mvf", "mvg", "mvh", "mvi", "mvk", "mvl", "mvm", "mvn", "mvo", "mvp", "mvq", "mvr", "mvs", "mvt", "mvu", "mvv", "mvw", "mvx", "mvy", "mvz", "mwa", "mwb", "mwc", "mwd", "mwe", "mwf", "mwg", "mwh", "mwi", "mwj", "mwk", "mwl", "mwm", "mwn", "mwo", "mwp", "mwq", "mwr", "mws", "mwt", "mwu", "mwv", "mww", "mwx", "mwy", "mwz", "mxa", "mxb", "mxc", "mxd", "mxe", "mxf", "mxg", "mxh", "mxi", "mxj", "mxk", "mxl", "mxm", "mxn", "mxo", "mxp", "mxq", "mxr", "mxs", "mxt", "mxu", "mxv", "mxw", "mxx", "mxy", "mxz", "myb", "myc", "myd", "mye", "myf", "myg", "myh", "myi", "myj", "myk", "myl", "mym", "myn", "myo", "myp", "myq", "myr", "mys", "myt", "myu", "myv", "myw", "myx", "myy", "myz", "mza", "mzb", "mzc", "mzd", "mze", "mzg", "mzh", "mzi", "mzj", "mzk", "mzl", "mzm", "mzn", "mzo", "mzp", "mzq", "mzr", "mzs", "mzt", "mzu", "mzv", "mzw", "mzx", "mzy", "mzz"], + ["na", "nb", "nd", "ne", "ng", "nl", "nn", "no", "nr", "nv", "ny", "naa", "nab", "nac", "nad", "nae", "naf", "nag", "nah", "nai", "naj", "nak", "nal", "nam", "nan", "nao", "nap", "naq", "nar", "nas", "nat", "naw", "nax", "nay", "naz", "nba", "nbb", "nbc", "nbd", "nbe", "nbf", "nbg", "nbh", "nbi", "nbj", "nbk", "nbm", "nbn", "nbo", "nbp", "nbq", "nbr", "nbs", "nbt", "nbu", "nbv", "nbw", "nbx", "nby", "nca", "ncb", "ncc", "ncd", "nce", "ncf", "ncg", "nch", "nci", "ncj", "nck", "ncl", "ncm", "ncn", "nco", "ncp", "ncq", "ncr", "ncs", "nct", "ncu", "ncx", "ncz", "nda", "ndb", "ndc", "ndd", "ndf", "ndg", "ndh", "ndi", "ndj", "ndk", "ndl", "ndm", "ndn", "ndp", "ndq", "ndr", "nds", "ndt", "ndu", "ndv", "ndw", "ndx", "ndy", "ndz", "nea", "neb", "nec", "ned", "nee", "nef", "neg", "neh", "nei", "nej", "nek", "nem", "nen", "neo", "neq", "ner", "nes", "net", "neu", "nev", "new", "nex", "ney", "nez", "nfa", "nfd", "nfl", "nfr", "nfu", "nga", "ngb", "ngc", "ngd", "nge", "ngf", "ngg", "ngh", "ngi", "ngj", "ngk", "ngl", "ngm", "ngn", "ngo", "ngp", "ngq", "ngr", "ngs", "ngt", "ngu", "ngv", "ngw", "ngx", "ngy", "ngz", "nha", "nhb", "nhc", "nhd", "nhe", "nhf", "nhg", "nhh", "nhi", "nhk", "nhm", "nhn", "nho", "nhp", "nhq", "nhr", "nht", "nhu", "nhv", "nhw", "nhx", "nhy", "nhz", "nia", "nib", "nic", "nid", "nie", "nif", "nig", "nih", "nii", "nij", "nik", "nil", "nim", "nin", "nio", "niq", "nir", "nis", "nit", "niu", "niv", "niw", "nix", "niy", "niz", "nja", "njb", "njd", "njh", "nji", "njj", "njl", "njm", "njn", "njo", "njr", "njs", "njt", "nju", "njx", "njy", "njz", "nka", "nkb", "nkc", "nkd", "nke", "nkf", "nkg", "nkh", "nki", "nkj", "nkk", "nkm", "nkn", "nko", "nkp", "nkq", "nkr", "nks", "nkt", "nku", "nkv", "nkw", "nkx", "nkz", "nla", "nlc", "nle", "nlg", "nli", "nlj", "nlk", "nll", "nlm", "nln", "nlo", "nlq", "nlr", "nlu", "nlv", "nlw", "nlx", "nly", "nlz", "nma", "nmb", "nmc", "nmd", "nme", "nmf", "nmg", "nmh", "nmi", "nmj", "nmk", "nml", "nmm", "nmn", "nmo", "nmp", "nmq", "nmr", "nms", "nmt", "nmu", "nmv", "nmw", "nmx", "nmy", "nmz", "nna", "nnb", "nnc", "nnd", "nne", "nnf", "nng", "nnh", "nni", "nnj", "nnk", "nnl", "nnm", "nnn", "nnp", "nnq", "nnr", "nns", "nnt", "nnu", "nnv", "nnw", "nnx", "nny", "nnz", "noa", "noc", "nod", "noe", "nof", "nog", "noh", "noi", "noj", "nok", "nol", "nom", "non", "noo", "nop", "noq", "nos", "not", "nou", "nov", "now", "noy", "noz", "npa", "npb", "npg", "nph", "npi", "npl", "npn", "npo", "nps", "npu", "npx", "npy", "nqg", "nqk", "nql", "nqm", "nqn", "nqo", "nqq", "nqt", "nqy", "nra", "nrb", "nrc", "nre", "nrf", "nrg", "nri", "nrk", "nrl", "nrm", "nrn", "nrp", "nrr", "nrt", "nru", "nrx", "nrz", "nsa", "nsb", "nsc", "nsd", "nse", "nsf", "nsg", "nsh", "nsi", "nsk", "nsl", "nsm", "nsn", "nso", "nsp", "nsq", "nsr", "nss", "nst", "nsu", "nsv", "nsw", "nsx", "nsy", "nsz", "ntd", "nte", "ntg", "nti", "ntj", "ntk", "ntm", "nto", "ntp", "ntr", "nts", "ntu", "ntw", "ntx", "nty", "ntz", "nua", "nub", "nuc", "nud", "nue", "nuf", "nug", "nuh", "nui", "nuj", "nuk", "nul", "num", "nun", "nuo", "nup", "nuq", "nur", "nus", "nut", "nuu", "nuv", "nuw", "nux", "nuy", "nuz", "nvh", "nvm", "nvo", "nwa", "nwb", "nwc", "nwe", "nwg", "nwi", "nwm", "nwo", "nwr", "nwx", "nwy", "nxa", "nxd", "nxe", "nxg", "nxi", "nxk", "nxl", "nxm", "nxn", "nxo", "nxq", "nxr", "nxu", "nxx", "nyb", "nyc", "nyd", "nye", "nyf", "nyg", "nyh", "nyi", "nyj", "nyk", "nyl", "nym", "nyn", "nyo", "nyp", "nyq", "nyr", "nys", "nyt", "nyu", "nyv", "nyw", "nyx", "nyy", "nza", "nzb", "nzd", "nzi", "nzk", "nzm", "nzs", "nzu", "nzy", "nzz"], + ["oc", "oj", "om", "or", "os", "oaa", "oac", "oar", "oav", "obi", "obk", "obl", "obm", "obo", "obr", "obt", "obu", "oca", "och", "ocm", "oco", "ocu", "oda", "odk", "odt", "odu", "ofo", "ofs", "ofu", "ogb", "ogc", "oge", "ogg", "ogo", "ogu", "oht", "ohu", "oia", "oin", "ojb", "ojc", "ojg", "ojp", "ojs", "ojv", "ojw", "oka", "okb", "okc", "okd", "oke", "okg", "okh", "oki", "okj", "okk", "okl", "okm", "okn", "oko", "okr", "oks", "oku", "okv", "okx", "okz", "ola", "old", "ole", "olk", "olm", "olo", "olr", "olt", "olu", "oma", "omb", "omc", "ome", "omg", "omi", "omk", "oml", "omn", "omo", "omp", "omq", "omr", "omt", "omu", "omv", "omw", "omx", "omy", "ona", "onb", "one", "ong", "oni", "onj", "onk", "onn", "ono", "onp", "onr", "ons", "ont", "onu", "onw", "onx", "ood", "oog", "oon", "oor", "oos", "opa", "opk", "opm", "opo", "opt", "opy", "ora", "orc", "ore", "org", "orh", "orn", "oro", "orr", "ors", "ort", "oru", "orv", "orw", "orx", "ory", "orz", "osa", "osc", "osi", "osn", "oso", "osp", "ost", "osu", "osx", "ota", "otb", "otd", "ote", "oti", "otk", "otl", "otm", "otn", "oto", "otq", "otr", "ots", "ott", "otu", "otw", "otx", "oty", "otz", "oua", "oub", "oue", "oui", "oum", "oun", "ovd", "owi", "owl", "oyb", "oyd", "oym", "oyy", "ozm"], + ["pa", "pi", "pl", "ps", "pt", "paa", "pab", "pac", "pad", "pae", "paf", "pag", "pah", "pai", "pak", "pal", "pam", "pao", "pap", "paq", "par", "pas", "pat", "pau", "pav", "paw", "pax", "pay", "paz", "pbb", "pbc", "pbe", "pbf", "pbg", "pbh", "pbi", "pbl", "pbm", "pbn", "pbo", "pbp", "pbr", "pbs", "pbt", "pbu", "pbv", "pby", "pbz", "pca", "pcb", "pcc", "pcd", "pce", "pcf", "pcg", "pch", "pci", "pcj", "pck", "pcl", "pcm", "pcn", "pcp", "pcr", "pcw", "pda", "pdc", "pdi", "pdn", "pdo", "pdt", "pdu", "pea", "peb", "ped", "pee", "pef", "peg", "peh", "pei", "pej", "pek", "pel", "pem", "peo", "pep", "peq", "pes", "pev", "pex", "pey", "pez", "pfa", "pfe", "pfl", "pga", "pgd", "pgg", "pgi", "pgk", "pgl", "pgn", "pgs", "pgu", "pgy", "pgz", "pha", "phd", "phg", "phh", "phi", "phk", "phl", "phm", "phn", "pho", "phq", "phr", "pht", "phu", "phv", "phw", "pia", "pib", "pic", "pid", "pie", "pif", "pig", "pih", "pii", "pij", "pil", "pim", "pin", "pio", "pip", "pir", "pis", "pit", "piu", "piv", "piw", "pix", "piy", "piz", "pjt", "pka", "pkb", "pkc", "pkg", "pkh", "pkn", "pko", "pkp", "pkr", "pks", "pkt", "pku", "pla", "plb", "plc", "pld", "ple", "plf", "plg", "plh", "plj", "plk", "pll", "pln", "plo", "plp", "plq", "plr", "pls", "plt", "plu", "plv", "plw", "ply", "plz", "pma", "pmb", "pmc", "pmd", "pme", "pmf", "pmh", "pmi", "pmj", "pmk", "pml", "pmm", "pmn", "pmo", "pmq", "pmr", "pms", "pmt", "pmu", "pmw", "pmx", "pmy", "pmz", "pna", "pnb", "pnc", "pnd", "pne", "png", "pnh", "pni", "pnj", "pnk", "pnl", "pnm", "pnn", "pno", "pnp", "pnq", "pnr", "pns", "pnt", "pnu", "pnv", "pnw", "pnx", "pny", "pnz", "poc", "pod", "poe", "pof", "pog", "poh", "poi", "pok", "pom", "pon", "poo", "pop", "poq", "pos", "pot", "pov", "pow", "pox", "poy", "poz", "ppa", "ppe", "ppi", "ppk", "ppl", "ppm", "ppn", "ppo", "ppp", "ppq", "ppr", "pps", "ppt", "ppu", "pqa", "pqe", "pqm", "pqw", "pra", "prb", "prc", "prd", "pre", "prf", "prg", "prh", "pri", "prk", "prl", "prm", "prn", "pro", "prp", "prq", "prr", "prs", "prt", "pru", "prw", "prx", "pry", "prz", "psa", "psc", "psd", "pse", "psg", "psh", "psi", "psl", "psm", "psn", "pso", "psp", "psq", "psr", "pss", "pst", "psu", "psw", "psy", "pta", "pth", "pti", "ptn", "pto", "ptp", "ptq", "ptr", "ptt", "ptu", "ptv", "ptw", "pty", "pua", "pub", "puc", "pud", "pue", "puf", "pug", "pui", "puj", "puk", "pum", "puo", "pup", "puq", "pur", "put", "puu", "puw", "pux", "puy", "puz", "pwa", "pwb", "pwg", "pwi", "pwm", "pwn", "pwo", "pwr", "pww", "pxm", "pye", "pym", "pyn", "pys", "pyu", "pyx", "pyy", "pzn"], + ["qu", "qua", "qub", "quc", "qud", "quf", "qug", "quh", "qui", "quk", "qul", "qum", "qun", "qup", "quq", "qur", "qus", "quv", "quw", "qux", "quy", "quz", "qva", "qvc", "qve", "qvh", "qvi", "qvj", "qvl", "qvm", "qvn", "qvo", "qvp", "qvs", "qvw", "qvy", "qvz", "qwa", "qwc", "qwe", "qwh", "qwm", "qws", "qwt", "qxa", "qxc", "qxh", "qxl", "qxn", "qxo", "qxp", "qxq", "qxr", "qxs", "qxt", "qxu", "qxw", "qya", "qyp"], + ["rm", "rn", "ro", "ru", "rw", "raa", "rab", "rac", "rad", "raf", "rag", "rah", "rai", "raj", "rak", "ral", "ram", "ran", "rao", "rap", "raq", "rar", "ras", "rat", "rau", "rav", "raw", "rax", "ray", "raz", "rbb", "rbk", "rbl", "rbp", "rcf", "rdb", "rea", "reb", "ree", "reg", "rei", "rej", "rel", "rem", "ren", "rer", "res", "ret", "rey", "rga", "rge", "rgk", "rgn", "rgr", "rgs", "rgu", "rhg", "rhp", "ria", "rie", "rif", "ril", "rim", "rin", "rir", "rit", "riu", "rjg", "rji", "rjs", "rka", "rkb", "rkh", "rki", "rkm", "rkt", "rkw", "rma", "rmb", "rmc", "rmd", "rme", "rmf", "rmg", "rmh", "rmi", "rmk", "rml", "rmm", "rmn", "rmo", "rmp", "rmq", "rmr", "rms", "rmt", "rmu", "rmv", "rmw", "rmx", "rmy", "rmz", "rna", "rnd", "rng", "rnl", "rnn", "rnp", "rnr", "rnw", "roa", "rob", "roc", "rod", "roe", "rof", "rog", "rol", "rom", "roo", "rop", "ror", "rou", "row", "rpn", "rpt", "rri", "rro", "rrt", "rsb", "rsi", "rsl", "rsm", "rtc", "rth", "rtm", "rts", "rtw", "rub", "ruc", "rue", "ruf", "rug", "ruh", "rui", "ruk", "ruo", "rup", "ruq", "rut", "ruu", "ruy", "ruz", "rwa", "rwk", "rwl", "rwm", "rwo", "rwr", "rxd", "rxw", "ryn", "rys", "ryu", "rzh"], + ["sa", "sc", "sd", "se", "sg", "sh", "si", "sk", "sl", "sm", "sn", "so", "sq", "sr", "ss", "st", "su", "sv", "sw", "saa", "sab", "sac", "sad", "sae", "saf", "sah", "sai", "saj", "sak", "sal", "sam", "sao", "sap", "saq", "sar", "sas", "sat", "sau", "sav", "saw", "sax", "say", "saz", "sba", "sbb", "sbc", "sbd", "sbe", "sbf", "sbg", "sbh", "sbi", "sbj", "sbk", "sbl", "sbm", "sbn", "sbo", "sbp", "sbq", "sbr", "sbs", "sbt", "sbu", "sbv", "sbw", "sbx", "sby", "sbz", "sca", "scb", "sce", "scf", "scg", "sch", "sci", "sck", "scl", "scn", "sco", "scp", "scq", "scs", "sct", "scu", "scv", "scw", "scx", "sda", "sdb", "sdc", "sde", "sdf", "sdg", "sdh", "sdj", "sdk", "sdl", "sdm", "sdn", "sdo", "sdp", "sdq", "sdr", "sds", "sdt", "sdu", "sdv", "sdx", "sdz", "sea", "seb", "sec", "sed", "see", "sef", "seg", "seh", "sei", "sej", "sek", "sel", "sem", "sen", "seo", "sep", "seq", "ser", "ses", "set", "seu", "sev", "sew", "sey", "sez", "sfb", "sfe", "sfm", "sfs", "sfw", "sga", "sgb", "sgc", "sgd", "sge", "sgg", "sgh", "sgi", "sgj", "sgk", "sgl", "sgm", "sgn", "sgo", "sgp", "sgr", "sgs", "sgt", "sgu", "sgw", "sgx", "sgy", "sgz", "sha", "shb", "shc", "shd", "she", "shg", "shh", "shi", "shj", "shk", "shl", "shm", "shn", "sho", "shp", "shq", "shr", "shs", "sht", "shu", "shv", "shw", "shx", "shy", "shz", "sia", "sib", "sid", "sie", "sif", "sig", "sih", "sii", "sij", "sik", "sil", "sim", "sio", "sip", "siq", "sir", "sis", "sit", "siu", "siv", "siw", "six", "siy", "siz", "sja", "sjb", "sjd", "sje", "sjg", "sjk", "sjl", "sjm", "sjn", "sjo", "sjp", "sjr", "sjs", "sjt", "sju", "sjw", "ska", "skb", "skc", "skd", "ske", "skf", "skg", "skh", "ski", "skj", "skk", "skm", "skn", "sko", "skp", "skq", "skr", "sks", "skt", "sku", "skv", "skw", "skx", "sky", "skz", "sla", "slc", "sld", "sle", "slf", "slg", "slh", "sli", "slj", "sll", "slm", "sln", "slp", "slq", "slr", "sls", "slt", "slu", "slw", "slx", "sly", "slz", "sma", "smb", "smc", "smd", "smf", "smg", "smh", "smi", "smj", "smk", "sml", "smm", "smn", "smp", "smq", "smr", "sms", "smt", "smu", "smv", "smw", "smx", "smy", "smz", "snb", "snc", "sne", "snf", "sng", "snh", "sni", "snj", "snk", "snl", "snm", "snn", "sno", "snp", "snq", "snr", "sns", "snu", "snv", "snw", "snx", "sny", "snz", "soa", "sob", "soc", "sod", "soe", "sog", "soh", "soi", "soj", "sok", "sol", "son", "soo", "sop", "soq", "sor", "sos", "sou", "sov", "sow", "sox", "soy", "soz", "spb", "spc", "spd", "spe", "spg", "spi", "spk", "spl", "spm", "spn", "spo", "spp", "spq", "spr", "sps", "spt", "spu", "spv", "spx", "spy", "sqa", "sqh", "sqj", "sqk", "sqm", "sqn", "sqo", "sqq", "sqr", "sqs", "sqt", "squ", "sqx", "sra", "srb", "src", "sre", "srf", "srg", "srh", "sri", "srk", "srl", "srm", "srn", "sro", "srq", "srr", "srs", "srt", "sru", "srv", "srw", "srx", "sry", "srz", "ssa", "ssb", "ssc", "ssd", "sse", "ssf", "ssg", "ssh", "ssi", "ssj", "ssk", "ssl", "ssm", "ssn", "sso", "ssp", "ssq", "ssr", "sss", "sst", "ssu", "ssv", "ssx", "ssy", "ssz", "sta", "stb", "std", "ste", "stf", "stg", "sth", "sti", "stj", "stk", "stl", "stm", "stn", "sto", "stp", "stq", "str", "sts", "stt", "stu", "stv", "stw", "sty", "sua", "sub", "suc", "sue", "sug", "sui", "suj", "suk", "sul", "sum", "suo", "suq", "sur", "sus", "sut", "suv", "suw", "sux", "suy", "suz", "sva", "svb", "svc", "sve", "svk", "svm", "svr", "svs", "svx", "swb", "swc", "swf", "swg", "swh", "swi", "swj", "swk", "swl", "swm", "swn", "swo", "swp", "swq", "swr", "sws", "swt", "swu", "swv", "sww", "swx", "swy", "sxb", "sxc", "sxe", "sxg", "sxk", "sxl", "sxm", "sxn", "sxo", "sxr", "sxs", "sxu", "sxw", "sya", "syb", "syc", "syd", "syi", "syk", "syl", "sym", "syn", "syo", "syr", "sys", "syw", "syx", "syy", "sza", "szb", "szc", "szd", "sze", "szg", "szl", "szn", "szp", "szs", "szv", "szw", "szy"], + ["ta", "te", "tg", "th", "ti", "tk", "tl", "tn", "to", "tr", "ts", "tt", "tw", "ty", "taa", "tab", "tac", "tad", "tae", "taf", "tag", "tai", "taj", "tak", "tal", "tan", "tao", "tap", "taq", "tar", "tas", "tau", "tav", "taw", "tax", "tay", "taz", "tba", "tbb", "tbc", "tbd", "tbe", "tbf", "tbg", "tbh", "tbi", "tbj", "tbk", "tbl", "tbm", "tbn", "tbo", "tbp", "tbq", "tbr", "tbs", "tbt", "tbu", "tbv", "tbw", "tbx", "tby", "tbz", "tca", "tcb", "tcc", "tcd", "tce", "tcf", "tcg", "tch", "tci", "tck", "tcl", "tcm", "tcn", "tco", "tcp", "tcq", "tcs", "tct", "tcu", "tcw", "tcx", "tcy", "tcz", "tda", "tdb", "tdc", "tdd", "tde", "tdf", "tdg", "tdh", "tdi", "tdj", "tdk", "tdl", "tdm", "tdn", "tdo", "tdq", "tdr", "tds", "tdt", "tdu", "tdv", "tdx", "tdy", "tea", "teb", "tec", "ted", "tee", "tef", "teg", "teh", "tei", "tek", "tem", "ten", "teo", "tep", "teq", "ter", "tes", "tet", "teu", "tev", "tew", "tex", "tey", "tez", "tfi", "tfn", "tfo", "tfr", "tft", "tga", "tgb", "tgc", "tgd", "tge", "tgf", "tgg", "tgh", "tgi", "tgj", "tgn", "tgo", "tgp", "tgq", "tgr", "tgs", "tgt", "tgu", "tgv", "tgw", "tgx", "tgy", "tgz", "thc", "thd", "the", "thf", "thh", "thi", "thk", "thl", "thm", "thn", "thp", "thq", "thr", "ths", "tht", "thu", "thv", "thw", "thx", "thy", "thz", "tia", "tic", "tid", "tie", "tif", "tig", "tih", "tii", "tij", "tik", "til", "tim", "tin", "tio", "tip", "tiq", "tis", "tit", "tiu", "tiv", "tiw", "tix", "tiy", "tiz", "tja", "tjg", "tji", "tjj", "tjl", "tjm", "tjn", "tjo", "tjp", "tjs", "tju", "tjw", "tka", "tkb", "tkd", "tke", "tkf", "tkg", "tkk", "tkl", "tkm", "tkn", "tkp", "tkq", "tkr", "tks", "tkt", "tku", "tkv", "tkw", "tkx", "tkz", "tla", "tlb", "tlc", "tld", "tlf", "tlg", "tlh", "tli", "tlj", "tlk", "tll", "tlm", "tln", "tlo", "tlp", "tlq", "tlr", "tls", "tlt", "tlu", "tlv", "tlw", "tlx", "tly", "tma", "tmb", "tmc", "tmd", "tme", "tmf", "tmg", "tmh", "tmi", "tmj", "tmk", "tml", "tmm", "tmn", "tmo", "tmp", "tmq", "tmr", "tms", "tmt", "tmu", "tmv", "tmw", "tmy", "tmz", "tna", "tnb", "tnc", "tnd", "tne", "tnf", "tng", "tnh", "tni", "tnk", "tnl", "tnm", "tnn", "tno", "tnp", "tnq", "tnr", "tns", "tnt", "tnu", "tnv", "tnw", "tnx", "tny", "tnz", "tob", "toc", "tod", "toe", "tof", "tog", "toh", "toi", "toj", "tol", "tom", "too", "top", "toq", "tor", "tos", "tou", "tov", "tow", "tox", "toy", "toz", "tpa", "tpc", "tpe", "tpf", "tpg", "tpi", "tpj", "tpk", "tpl", "tpm", "tpn", "tpo", "tpp", "tpq", "tpr", "tpt", "tpu", "tpv", "tpw", "tpx", "tpy", "tpz", "tqb", "tql", "tqm", "tqn", "tqo", "tqp", "tqq", "tqr", "tqt", "tqu", "tqw", "tra", "trb", "trc", "trd", "tre", "trf", "trg", "trh", "tri", "trj", "trk", "trl", "trm", "trn", "tro", "trp", "trq", "trr", "trs", "trt", "tru", "trv", "trw", "trx", "try", "trz", "tsa", "tsb", "tsc", "tsd", "tse", "tsf", "tsg", "tsh", "tsi", "tsj", "tsk", "tsl", "tsm", "tsp", "tsq", "tsr", "tss", "tst", "tsu", "tsv", "tsw", "tsx", "tsy", "tsz", "tta", "ttb", "ttc", "ttd", "tte", "ttf", "ttg", "tth", "tti", "ttj", "ttk", "ttl", "ttm", "ttn", "tto", "ttp", "ttq", "ttr", "tts", "ttt", "ttu", "ttv", "ttw", "tty", "ttz", "tua", "tub", "tuc", "tud", "tue", "tuf", "tug", "tuh", "tui", "tuj", "tul", "tum", "tun", "tuo", "tup", "tuq", "tus", "tut", "tuu", "tuv", "tuw", "tux", "tuy", "tuz", "tva", "tvd", "tve", "tvk", "tvl", "tvm", "tvn", "tvo", "tvs", "tvt", "tvu", "tvw", "tvx", "tvy", "twa", "twb", "twc", "twd", "twe", "twf", "twg", "twh", "twl", "twm", "twn", "two", "twp", "twq", "twr", "twt", "twu", "tww", "twx", "twy", "txa", "txb", "txc", "txe", "txg", "txh", "txi", "txj", "txm", "txn", "txo", "txq", "txr", "txs", "txt", "txu", "txx", "txy", "tya", "tye", "tyh", "tyi", "tyj", "tyl", "tyn", "typ", "tyr", "tys", "tyt", "tyu", "tyv", "tyx", "tyy", "tyz", "tza", "tzh", "tzj", "tzl", "tzm", "tzn", "tzo", "tzx"], + ["ug", "uk", "ur", "uz", "uam", "uan", "uar", "uba", "ubi", "ubl", "ubr", "ubu", "uby", "uda", "ude", "udg", "udi", "udj", "udl", "udm", "udu", "ues", "ufi", "uga", "ugb", "uge", "ugn", "ugo", "ugy", "uha", "uhn", "uis", "uiv", "uji", "uka", "ukg", "ukh", "uki", "ukk", "ukl", "ukp", "ukq", "uks", "uku", "ukv", "ukw", "uky", "ula", "ulb", "ulc", "ule", "ulf", "uli", "ulk", "ull", "ulm", "uln", "ulu", "ulw", "uma", "umb", "umc", "umd", "umg", "umi", "umm", "umn", "umo", "ump", "umr", "ums", "umu", "una", "und", "une", "ung", "uni", "unk", "unm", "unn", "unp", "unr", "unu", "unx", "unz", "uok", "upi", "upv", "ura", "urb", "urc", "ure", "urf", "urg", "urh", "uri", "urj", "urk", "url", "urm", "urn", "uro", "urp", "urr", "urt", "uru", "urv", "urw", "urx", "ury", "urz", "usa", "ush", "usi", "usk", "usp", "uss", "usu", "uta", "ute", "uth", "utp", "utr", "utu", "uum", "uun", "uur", "uuu", "uve", "uvh", "uvl", "uwa", "uya", "uzn", "uzs"], + ["ve", "vi", "vo", "vaa", "vae", "vaf", "vag", "vah", "vai", "vaj", "val", "vam", "van", "vao", "vap", "var", "vas", "vau", "vav", "vay", "vbb", "vbk", "vec", "ved", "vel", "vem", "veo", "vep", "ver", "vgr", "vgt", "vic", "vid", "vif", "vig", "vil", "vin", "vis", "vit", "viv", "vka", "vki", "vkj", "vkk", "vkl", "vkm", "vkn", "vko", "vkp", "vkt", "vku", "vkz", "vlp", "vls", "vma", "vmb", "vmc", "vmd", "vme", "vmf", "vmg", "vmh", "vmi", "vmj", "vmk", "vml", "vmm", "vmp", "vmq", "vmr", "vms", "vmu", "vmv", "vmw", "vmx", "vmy", "vmz", "vnk", "vnm", "vnp", "vor", "vot", "vra", "vro", "vrs", "vrt", "vsi", "vsl", "vsv", "vto", "vum", "vun", "vut", "vwa"], + ["wa", "wo", "waa", "wab", "wac", "wad", "wae", "waf", "wag", "wah", "wai", "waj", "wak", "wal", "wam", "wan", "wao", "wap", "waq", "war", "was", "wat", "wau", "wav", "waw", "wax", "way", "waz", "wba", "wbb", "wbe", "wbf", "wbh", "wbi", "wbj", "wbk", "wbl", "wbm", "wbp", "wbq", "wbr", "wbs", "wbt", "wbv", "wbw", "wca", "wci", "wdd", "wdg", "wdj", "wdk", "wdu", "wdy", "wea", "wec", "wed", "weg", "weh", "wei", "wem", "wen", "weo", "wep", "wer", "wes", "wet", "weu", "wew", "wfg", "wga", "wgb", "wgg", "wgi", "wgo", "wgu", "wgw", "wgy", "wha", "whg", "whk", "whu", "wib", "wic", "wie", "wif", "wig", "wih", "wii", "wij", "wik", "wil", "wim", "win", "wir", "wit", "wiu", "wiv", "wiw", "wiy", "wja", "wji", "wka", "wkb", "wkd", "wkl", "wkr", "wku", "wkw", "wky", "wla", "wlc", "wle", "wlg", "wlh", "wli", "wlk", "wll", "wlm", "wlo", "wlr", "wls", "wlu", "wlv", "wlw", "wlx", "wly", "wma", "wmb", "wmc", "wmd", "wme", "wmg", "wmh", "wmi", "wmm", "wmn", "wmo", "wms", "wmt", "wmw", "wmx", "wnb", "wnc", "wnd", "wne", "wng", "wni", "wnk", "wnm", "wnn", "wno", "wnp", "wnu", "wnw", "wny", "woa", "wob", "woc", "wod", "woe", "wof", "wog", "woi", "wok", "wom", "won", "woo", "wor", "wos", "wow", "woy", "wpc", "wra", "wrb", "wrd", "wrg", "wrh", "wri", "wrk", "wrl", "wrm", "wrn", "wro", "wrp", "wrr", "wrs", "wru", "wrv", "wrw", "wrx", "wry", "wrz", "wsa", "wsg", "wsi", "wsk", "wsr", "wss", "wsu", "wsv", "wtf", "wth", "wti", "wtk", "wtm", "wtw", "wua", "wub", "wud", "wuh", "wul", "wum", "wun", "wur", "wut", "wuu", "wuv", "wux", "wuy", "wwa", "wwb", "wwo", "wwr", "www", "wxa", "wxw", "wya", "wyb", "wyi", "wym", "wyr", "wyy"], + ["xh", "xaa", "xab", "xac", "xad", "xae", "xag", "xai", "xaj", "xak", "xal", "xam", "xan", "xao", "xap", "xaq", "xar", "xas", "xat", "xau", "xav", "xaw", "xay", "xba", "xbb", "xbc", "xbd", "xbe", "xbg", "xbi", "xbj", "xbm", "xbn", "xbo", "xbp", "xbr", "xbw", "xbx", "xby", "xcb", "xcc", "xce", "xcg", "xch", "xcl", "xcm", "xcn", "xco", "xcr", "xct", "xcu", "xcv", "xcw", "xcy", "xda", "xdc", "xdk", "xdm", "xdo", "xdy", "xeb", "xed", "xeg", "xel", "xem", "xep", "xer", "xes", "xet", "xeu", "xfa", "xga", "xgb", "xgd", "xgf", "xgg", "xgi", "xgl", "xgm", "xgn", "xgr", "xgu", "xgw", "xha", "xhc", "xhd", "xhe", "xhr", "xht", "xhu", "xhv", "xia", "xib", "xii", "xil", "xin", "xip", "xir", "xis", "xiv", "xiy", "xjb", "xjt", "xka", "xkb", "xkc", "xkd", "xke", "xkf", "xkg", "xkh", "xki", "xkj", "xkk", "xkl", "xkn", "xko", "xkp", "xkq", "xkr", "xks", "xkt", "xku", "xkv", "xkw", "xkx", "xky", "xkz", "xla", "xlb", "xlc", "xld", "xle", "xlg", "xli", "xln", "xlo", "xlp", "xls", "xlu", "xly", "xma", "xmb", "xmc", "xmd", "xme", "xmf", "xmg", "xmh", "xmj", "xmk", "xml", "xmm", "xmn", "xmo", "xmp", "xmq", "xmr", "xms", "xmt", "xmu", "xmv", "xmw", "xmx", "xmy", "xmz", "xna", "xnb", "xnd", "xng", "xnh", "xni", "xnj", "xnk", "xnm", "xnn", "xno", "xnq", "xnr", "xns", "xnt", "xnu", "xny", "xnz", "xoc", "xod", "xog", "xoi", "xok", "xom", "xon", "xoo", "xop", "xor", "xow", "xpa", "xpb", "xpc", "xpd", "xpe", "xpf", "xpg", "xph", "xpi", "xpj", "xpk", "xpl", "xpm", "xpn", "xpo", "xpp", "xpq", "xpr", "xps", "xpt", "xpu", "xpv", "xpw", "xpx", "xpy", "xpz", "xqa", "xqt", "xra", "xrb", "xrd", "xre", "xrg", "xri", "xrm", "xrn", "xrq", "xrr", "xrt", "xru", "xrw", "xsa", "xsb", "xsc", "xsd", "xse", "xsh", "xsi", "xsj", "xsl", "xsm", "xsn", "xso", "xsp", "xsq", "xsr", "xss", "xsu", "xsv", "xsy", "xta", "xtb", "xtc", "xtd", "xte", "xtg", "xth", "xti", "xtj", "xtl", "xtm", "xtn", "xto", "xtp", "xtq", "xtr", "xts", "xtt", "xtu", "xtv", "xtw", "xty", "xtz", "xua", "xub", "xud", "xug", "xuj", "xul", "xum", "xun", "xuo", "xup", "xur", "xut", "xuu", "xve", "xvi", "xvn", "xvo", "xvs", "xwa", "xwc", "xwd", "xwe", "xwg", "xwj", "xwk", "xwl", "xwo", "xwr", "xwt", "xww", "xxb", "xxk", "xxm", "xxr", "xxt", "xya", "xyb", "xyj", "xyk", "xyl", "xyt", "xyy", "xzh", "xzm", "xzp"], + ["yi", "yo", "yaa", "yab", "yac", "yad", "yae", "yaf", "yag", "yah", "yai", "yaj", "yak", "yal", "yam", "yan", "yao", "yap", "yaq", "yar", "yas", "yat", "yau", "yav", "yaw", "yax", "yay", "yaz", "yba", "ybb", "ybd", "ybe", "ybh", "ybi", "ybj", "ybk", "ybl", "ybm", "ybn", "ybo", "ybx", "yby", "ych", "ycl", "ycn", "ycp", "yda", "ydd", "yde", "ydg", "ydk", "yds", "yea", "yec", "yee", "yei", "yej", "yel", "yen", "yer", "yes", "yet", "yeu", "yev", "yey", "yga", "ygi", "ygl", "ygm", "ygp", "ygr", "ygs", "ygu", "ygw", "yha", "yhd", "yhl", "yhs", "yia", "yif", "yig", "yih", "yii", "yij", "yik", "yil", "yim", "yin", "yip", "yiq", "yir", "yis", "yit", "yiu", "yiv", "yix", "yiy", "yiz", "yka", "ykg", "yki", "ykk", "ykl", "ykm", "ykn", "yko", "ykr", "ykt", "yku", "yky", "yla", "ylb", "yle", "ylg", "yli", "yll", "ylm", "yln", "ylo", "ylr", "ylu", "yly", "yma", "ymb", "ymc", "ymd", "yme", "ymg", "ymh", "ymi", "ymk", "yml", "ymm", "ymn", "ymo", "ymp", "ymq", "ymr", "yms", "ymt", "ymx", "ymz", "yna", "ynd", "yne", "yng", "ynh", "ynk", "ynl", "ynn", "yno", "ynq", "yns", "ynu", "yob", "yog", "yoi", "yok", "yol", "yom", "yon", "yos", "yot", "yox", "yoy", "ypa", "ypb", "ypg", "yph", "ypk", "ypm", "ypn", "ypo", "ypp", "ypz", "yra", "yrb", "yre", "yri", "yrk", "yrl", "yrm", "yrn", "yro", "yrs", "yrw", "yry", "ysc", "ysd", "ysg", "ysl", "ysm", "ysn", "yso", "ysp", "ysr", "yss", "ysy", "yta", "ytl", "ytp", "ytw", "yty", "yua", "yub", "yuc", "yud", "yue", "yuf", "yug", "yui", "yuj", "yuk", "yul", "yum", "yun", "yup", "yuq", "yur", "yut", "yuu", "yuw", "yux", "yuy", "yuz", "yva", "yvt", "ywa", "ywg", "ywl", "ywn", "ywq", "ywr", "ywt", "ywu", "yww", "yxa", "yxg", "yxl", "yxm", "yxu", "yxy", "yyr", "yyu", "yyz", "yzg", "yzk"], + ["za", "zh", "zu", "zaa", "zab", "zac", "zad", "zae", "zaf", "zag", "zah", "zai", "zaj", "zak", "zal", "zam", "zao", "zap", "zaq", "zar", "zas", "zat", "zau", "zav", "zaw", "zax", "zay", "zaz", "zba", "zbc", "zbe", "zbl", "zbt", "zbu", "zbw", "zca", "zch", "zdj", "zea", "zeg", "zeh", "zen", "zga", "zgb", "zgh", "zgm", "zgn", "zgr", "zhb", "zhd", "zhi", "zhn", "zhw", "zhx", "zia", "zib", "zik", "zil", "zim", "zin", "zir", "ziw", "ziz", "zka", "zkb", "zkd", "zkg", "zkh", "zkk", "zkn", "zko", "zkp", "zkr", "zkt", "zku", "zkv", "zkz", "zla", "zle", "zlj", "zlm", "zln", "zlq", "zls", "zlw", "zma", "zmb", "zmc", "zmd", "zme", "zmf", "zmg", "zmh", "zmi", "zmj", "zmk", "zml", "zmm", "zmn", "zmo", "zmp", "zmq", "zmr", "zms", "zmt", "zmu", "zmv", "zmw", "zmx", "zmy", "zmz", "zna", "znd", "zne", "zng", "znk", "zns", "zoc", "zoh", "zom", "zoo", "zoq", "zor", "zos", "zpa", "zpb", "zpc", "zpd", "zpe", "zpf", "zpg", "zph", "zpi", "zpj", "zpk", "zpl", "zpm", "zpn", "zpo", "zpp", "zpq", "zpr", "zps", "zpt", "zpu", "zpv", "zpw", "zpx", "zpy", "zpz", "zqe", "zra", "zrg", "zrn", "zro", "zrp", "zrs", "zsa", "zsk", "zsl", "zsm", "zsr", "zsu", "zte", "ztg", "ztl", "ztm", "ztn", "ztp", "ztq", "zts", "ztt", "ztu", "ztx", "zty", "zua", "zuh", "zum", "zun", "zuy", "zwa", "zxx", "zyb", "zyg", "zyj", "zyn", "zyp", "zza", "zzj"] +]; +var LangUtil = /** @class */ (function () { + function LangUtil() { + } + /* Determine if given string is a valid BCP 47 string */ + LangUtil.isBcp47 = function (langStr) { + return /^(([a-zA-Z]{2,3}(-[a-zA-Z](-[a-zA-Z]{3}){0,2})?|[a-zA-Z]{4}|[a-zA-Z]{5,8})(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-([0-9a-zA-Z]{5,8}|[0-9][a-zA-Z]{3}))*(-[0-9a-wy-zA-WY-Z](-[a-zA-Z0-9]{2,8})+)*(-x(-[a-zA-Z0-9]{1,8})+)?|x(-[a-zA-Z0-9]{1,8})+|(en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE|art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang))$/.test(langStr); + }; + LangUtil.validPrimaryLang = function (langStr) { + var primary = langStr.toLowerCase(); + if (primary.includes("-")) { + primary = primary.split("-")[0]; + } + if (!primary.match(/[a-z]{2,3}/)) + return false; + // qaa..qtz + if (primary.length === 3 + && primary.charAt(0) === "q" + && primary.charCodeAt(1) >= 97 && primary.charCodeAt(1) <= 116 + && primary.charCodeAt(2) >= 97 && primary.charCodeAt(2) <= 122) { + } + return validPrimaryLangs[primary.charCodeAt(0) - 97].includes(primary); + }; + LangUtil.matchPrimaryLang = function (lang1, lang2) { + var primary1 = lang1; + if (primary1.includes("-")) { + primary1 = primary1.split("-")[0]; + } + var primary2 = lang2; + if (primary2.includes("-")) { + primary2 = primary2.split("-")[0]; + } + return primary1.toLowerCase() === primary2.toLowerCase(); + }; + return LangUtil; +}()); +exports.LangUtil = LangUtil; + + +/***/ }), + +/***/ 1794: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CommonMapper = void 0; +var DOMWalker_1 = __webpack_require__(7440); +var CommonMapper = /** @class */ (function () { + function CommonMapper() { + this.hierarchyRole = null; + this.hierarchyPath = null; + this.hierarchyResults = null; + } + CommonMapper.prototype.getBounds = function (node) { + return null; + }; + CommonMapper.prototype.reset = function (node) { + this.hierarchyRole = []; + this.hierarchyResults = []; + this.hierarchyPath = [{ + rolePath: "", + roleCount: {} + }]; + var ancestors = []; + var parent = DOMWalker_1.DOMWalker.parentNode(node); + while (parent && parent.nodeType != 9 /* Node.DOCUMENT_NODE */) { + ancestors.push(parent); + parent = DOMWalker_1.DOMWalker.parentNode(parent); + } + ancestors = ancestors.reverse(); + for (var _i = 0, ancestors_1 = ancestors; _i < ancestors_1.length; _i++) { + var ancestor = ancestors_1[_i]; + var siblings = []; + var sibling = ancestor.previousSibling; + while (sibling) { + siblings.push(sibling); + sibling = sibling.previousSibling; + } + siblings = siblings.reverse(); + for (var _a = 0, siblings_1 = siblings; _a < siblings_1.length; _a++) { + var sibling_1 = siblings_1[_a]; + this.pushHierarchy(sibling_1); + this.popHierarchy(); + } + this.pushHierarchy(ancestor); + } + }; + CommonMapper.prototype.pushHierarchy = function (node) { + var role = this.getRole(node) || "none"; + this.hierarchyRole.push(role); + if (role !== "none") { + var parentPathInfo = this.hierarchyPath[this.hierarchyPath.length - 1]; + parentPathInfo.roleCount[role] = (parentPathInfo.roleCount[role] || 0) + 1; + this.hierarchyPath.push({ + "rolePath": parentPathInfo.rolePath + "/" + role + "[" + parentPathInfo.roleCount[role] + "]", + "roleCount": {} + }); + } + var attr = {}; + if (node.nodeType === 1) { + attr = this.getAttributes(node); + } + this.hierarchyResults.push({ + node: node, + namespace: this.getNamespace(), + role: role, + attributes: attr, + rolePath: this.hierarchyPath[this.hierarchyPath.length - 1].rolePath, + bounds: this.getBounds(node) + }); + }; + CommonMapper.prototype.popHierarchy = function () { + var role = this.hierarchyRole.pop(); + if (role !== "none") { + this.hierarchyPath.pop(); + } + this.hierarchyResults.pop(); + }; + CommonMapper.prototype.openScope = function (node) { + if (this.hierarchyRole === null) { + this.reset(node); + } + this.pushHierarchy(node); + return this.hierarchyResults; + }; + CommonMapper.prototype.closeScope = function (node) { + var retVal = []; + for (var _i = 0, _a = this.hierarchyResults; _i < _a.length; _i++) { + var res = _a[_i]; + // const temp = res.node; + // res.node = null; + // let cloned = JSON.parse(JSON.stringify(res)); + // cloned.node = res.node = temp; + // retVal.push(cloned); + retVal.push(res); + } + retVal[retVal.length - 1].role = "/" + retVal[retVal.length - 1].role; + this.popHierarchy(); + return retVal; + }; + return CommonMapper; +}()); +exports.CommonMapper = CommonMapper; + + +/***/ }), + +/***/ 2306: +/***/ ((__unused_webpack_module, exports) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Context = exports.PartInfo = exports.AttrInfo = void 0; +// Context that will cause this rule to execute. +// Context syntax: +// Triggers: +// aria:role - Triggers on element with ARIA role role +// aria:role[attribute] - Triggers on elements with the equivalent logical +// aria- attribute (e.g., button[disabled] will trigger on +// <button disabled> or <div role="button" aria-disabled="true">) +// role[attribute=value] - Similar to above, with case-sensitive match +// to value +// role[attribute~value] - Similar to above, with case-insensitive match +// dom:element - Triggers on an element with the specified name +// dom:element[attribute] - Triggers on a dom element with the specified attribute +// dom:*[attribute] - Triggers on all elements with the specified attribute +// Combining triggers: +// trigger1 trigger2 - Triggers on elements with trigger2 within an +// element with trigger1 +// !trigger1 trigger2 - Triggers on elements with trigger2 not within +// element with trigger1 +// trigger1>trigger2 - Triggers on elements with trigger2 with an +// an immediate parent with trigger1 +// trigger1+trigger2 - Triggers on elements with trigger2 with an +// immediate previous sibling with trigger1 +// trigger1~trigger2 - Triggers on elements with trigger2 with an +// some earlier sibling with trigger1 +// context,context - Triggers on elements with either context +var AttrInfo = /** @class */ (function () { + function AttrInfo(inclusive, attr, eq, value) { + this.inclusive = inclusive; + this.attr = attr; + this.eq = eq; + this.value = value; + if (!inclusive + && ((typeof eq) !== "undefined" && eq.length > 0)) { + throw new Error("Cannot have !attr" + eq + " context"); + } + if (inclusive && (typeof eq) !== "undefined" && eq.length > 0 && ((typeof value) === "undefined" || value.length === 0)) { + throw new Error("Cannot have equivalence check without a value"); + } + } + AttrInfo.prototype.matches = function (context) { + var ruleAttrPart = this; + var elemAttrs = context.attributes; + if (!(ruleAttrPart.attr in elemAttrs)) { + return !ruleAttrPart.inclusive; + } + else if (!ruleAttrPart.inclusive) { + return false; + } + else if (!ruleAttrPart.eq) { + // inclusive match and I have that attribute and no equivalence defined + return true; + } + else { + // inclusive match and I have that attribute and equivalence defined + var attrValue = elemAttrs[ruleAttrPart.attr]; + if (ruleAttrPart.eq === "=") { + return ruleAttrPart.value === attrValue; + } + else if (ruleAttrPart.eq === "!=") { + return ruleAttrPart.value !== attrValue; + } + else if (ruleAttrPart.eq === "~") { + return ruleAttrPart.value === attrValue; + } + else if (ruleAttrPart.eq === "!~") { + return ruleAttrPart.value !== attrValue; + } + else { + throw new Error("Context equivalence operator not supported"); + } + } + }; + return AttrInfo; +}()); +exports.AttrInfo = AttrInfo; +var PartInfo = /** @class */ (function () { + function PartInfo(inclusive, namespace, role, attrs, connector) { + this.inclusive = inclusive; + this.namespace = namespace; + this.role = role; + this.attrs = attrs; + this.connector = connector; + if (role === "*" && !inclusive) { + throw new Error("!* context not supported"); + } + } + PartInfo.prototype.matches = function (contextHier, hierLevel) { + var rulePart = this; + var ruleRoleMatch = (rulePart.namespace in contextHier) && contextHier[rulePart.namespace][hierLevel] + && (contextHier[rulePart.namespace][hierLevel].role === rulePart.role + || contextHier[rulePart.namespace][hierLevel].role !== "none" && rulePart.role === "*"); + if (ruleRoleMatch + && rulePart.role === "*" + && rulePart.namespace === "dom" + && (contextHier[rulePart.namespace][hierLevel].role === "#text" + || contextHier[rulePart.namespace][hierLevel].role === "/#text")) { + ruleRoleMatch = false; + } + if (rulePart.inclusive && !ruleRoleMatch) + return false; + if (!rulePart.inclusive && !ruleRoleMatch) + return true; + // Match the attributes + var ruleAttrs = rulePart.attrs; + var elemContext = contextHier[rulePart.namespace][hierLevel]; + var match = true; + for (var _i = 0, ruleAttrs_1 = ruleAttrs; _i < ruleAttrs_1.length; _i++) { + var ruleAttrPart = ruleAttrs_1[_i]; + match = match && ruleAttrPart.matches(elemContext); + } + if (!rulePart.inclusive) + match = !match; + return match; + }; + return PartInfo; +}()); +exports.PartInfo = PartInfo; +var Context = /** @class */ (function () { + function Context(context) { + this.contextInfo = []; + var contextHierMatches = context.match(/!?[/a-zA-Z:0-9*\-_]+(\[[^\]]+\])*[ >+~]?/g); + var results = []; + for (var _i = 0, contextHierMatches_1 = contextHierMatches; _i < contextHierMatches_1.length; _i++) { + var part = contextHierMatches_1[_i]; + var parts = part.match(/(!?)([/a-zA-Z:0-9*\-_]+)((\[[^\]]+\])*)([ >+~]?)/); + var attrInfo = []; + for (var _a = 0, _b = parts[3].match(/\[([^\]]+)\]/g) || []; _a < _b.length; _a++) { + var attrPart = _b[_a]; + var attrParts = attrPart.match(/\[(!?)([a-z:A-Z*\-_]+)(!?[=~])?([^\]]+)?\]/); + attrInfo.push(new AttrInfo(attrParts[1] !== "!", attrParts[2].toLowerCase(), attrParts[3], attrParts[4])); + } + parts[2] = parts[2].toLowerCase(); + var nsParts = parts[2].split(":"); + var incl = parts[1] !== "!"; + var ns = nsParts.shift(); + var role = nsParts.join(":"); + var partInfo = new PartInfo(incl, ns, role, attrInfo, parts[parts.length - 1]); + results.push(partInfo); + } + this.contextInfo = results; + } + Context.cleanContext = function (context) { + context = context.toLowerCase().trim(); + context = context.replace(/ +!/g, " !"); + context = context.replace(/ +([>+~,])/g, "$1"); + context = context.replace(/([>+~,]) +/g, "$1"); + context = context.replace(/ +/g, " "); + return context.trim(); + }; + Context.parse = function (context) { + var contexts = Context.splitMultiple(Context.cleanContext(context)); + var retVal = []; + for (var i = 0; i < contexts.length; ++i) { + var ctx = new Context(contexts[i]); + retVal.push(ctx); + } + return retVal; + }; + /** + * Handles initial processing of splitting on comma - context,context + * @param context + */ + Context.splitMultiple = function (context) { + var contexts = []; + if (context) { + if (context.indexOf(",") === -1) { + contexts.push(context); + } + else { + for (var _i = 0, _a = context.split(","); _i < _a.length; _i++) { + var c = _a[_i]; + contexts.push(c); + } + } + } + return contexts; + }; + return Context; +}()); +exports.Context = Context; + + +/***/ }), + +/***/ 9324: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Engine = void 0; +var DOMWalker_1 = __webpack_require__(7440); +var Context_1 = __webpack_require__(2306); +var Config_1 = __webpack_require__(3962); +var DOMMapper_1 = __webpack_require__(5697); +var DOMUtil_1 = __webpack_require__(295); +var CacheUtil_1 = __webpack_require__(7788); +var IRule_1 = __webpack_require__(4377); +var VisUtil_1 = __webpack_require__(8656); +var WrappedRule = /** @class */ (function () { + function WrappedRule(rule, parsedInfo) { + this.rule = rule; + this.parsedInfo = parsedInfo; + this.ns = this.parsedInfo.contextInfo[this.parsedInfo.contextInfo.length - 1].namespace; + Config_1.Config.DEBUG && console.log("Added Rule:", rule.id, JSON.stringify(this.parsedInfo)); + } + /** + * This function is responsible converting the node into a snippet which can be added to report. + * + * Note: This function will take the node and extract the node name and the attributes and build the snippet based on this. + * + * TODO: Future, maybe we can extract more then just single line, add more info or even add closing tags etc... + * + * @param {HTMLElement} node - The html element to convert into element snippet with node name and attributes only. + * + * @return {String} nodeSnippet - return the element snippet of the element that was provided which only contains, + * nodename and attributes. i.e. <table id=\"layout_table1\" role=\"presentation\"> + * + * @memberOf this + */ + WrappedRule.convertNodeToSnippet = function (node) { + // Variable Decleration + var nodeSnippet = ''; + // Extract the node name and add it to the node snippet + nodeSnippet += '<' + node.nodeName.toLowerCase(); + // Extract all the node attributes as an array + var nodeAttributes = node.attributes; + // In the case there are attributes on this node + if (nodeAttributes !== null && typeof nodeAttributes !== 'undefined') { + // Loop over all theses attributes and add the name and value to the nodeSnippet which will be returned + for (var i = nodeAttributes.length - 1; i >= 0; i--) { + if (nodeAttributes[i].name === "data-namewalk") + continue; + // Add the attribute name and value. + nodeSnippet += ' ' + nodeAttributes[i].name + '="' + nodeAttributes[i].value + '"'; + } + } + // Close the node + nodeSnippet += '>'; + // Return the node snippet + return nodeSnippet; + }; + WrappedRule.prototype.run = function (engine, context, options, contextHierarchies) { + var startTime = new Date().getTime(); + var results; + try { + results = this.rule.run(context, options, contextHierarchies); + } + catch (e) { + var err = e; + console.error("RULE EXCEPTION:", this.rule.id, context.dom.rolePath, err.stack); + throw e; + } + var endTime = new Date().getTime(); + if (!results) + results = []; + if (!(results instanceof Array)) { + results = [results]; + } + var retVal = []; + for (var _i = 0, results_1 = results; _i < results_1.length; _i++) { + var result = results_1[_i]; + var message = engine.getMessage(this.rule.id, result.reasonId, result.messageArgs); + var path = {}; + for (var ns in context) { + path[ns] = context[ns].rolePath; + } + var ruleId = this.rule.id.replace(/^(.*)\$\$\d+$/, "$1"); + retVal.push({ + ruleId: ruleId, + value: result.value, + node: context["dom"].node, + path: path, + ruleTime: endTime - startTime, + reasonId: result.reasonId, + message: message, + messageArgs: result.messageArgs, + apiArgs: result.apiArgs, + bounds: context["dom"].bounds, + snippet: WrappedRule.convertNodeToSnippet(context["dom"].node) + }); + } + return retVal; + }; + return WrappedRule; +}()); +var Engine = /** @class */ (function () { + function Engine() { + this.mappers = {}; + this.ruleMap = {}; + this.wrappedRuleMap = {}; + this.nlsMap = {}; + this.helpMap = {}; + this.inclRules = {}; + this.exclRules = {}; + // Need a DOM Mapper as a minimum + this.addMapper(new DOMMapper_1.DOMMapper()); + } + Engine.getLanguages = function () { + var env = typeof process !== "undefined" && typeof process.nodeType === "undefined" && process.env; + // If all else fails, default to US English + var nodeLang = "en-US"; + if (env) { + nodeLang = env.LANG || env.LANGUAGE || env.LC_ALL || env.LC_MESSAGES; + if (nodeLang && nodeLang.length > 0) { + nodeLang = nodeLang.split(".")[0].replace(/_/g, "-"); + } + else { + nodeLang = "en-US"; + } + } + return typeof navigator !== "undefined" && navigator.languages || [nodeLang]; + }; + Engine.prototype.run = function (root, options) { + if (root === null) { + return Promise.reject("null document"); + } + if (root.nodeType === 9 /* Node.DOCUMENT_NODE */) { + root = root.documentElement; + } + root.ownerDocument && (root.ownerDocument.PT_CHECK_HIDDEN_CONTENT = false); + CacheUtil_1.CacheUtil.clearCaches(root); + var walker = new DOMWalker_1.DOMWalker(root, false, root, true); + var retVal = { + results: [], + numExecuted: 0, + ruleTime: 0, + totalTime: 0 + }; + var start = new Date().getTime(); + // Reset the role mappers + for (var namespace in this.mappers) { + this.mappers[namespace].reset(root); + } + // Initialize the context detector + do { + // Get the context information from the rule mappers + var contextHierarchies = {}; + for (var namespace in this.mappers) { + if (!walker.bEndTag) { + contextHierarchies[namespace] = this.mappers[namespace].openScope(walker.node); + // if (namespace === "dom" && walker.node.nodeType === 1 /* Node.ELEMENT_NODE */) { + // const elem = walker.node as Element; + // let id; + // if (elem.hasAttribute("id") && (id = elem.getAttribute("id").trim()).length > 0) { + // if (root.ownerDocument.getElementById(id) === elem) { + // contextHierarchies["dom"][contextHierarchies["dom"].length-1].rolePath = "//*[@id='"+id+"']"; + // } + // } + // } + } + else { + contextHierarchies[namespace] = this.mappers[namespace].closeScope(walker.node); + } + } + if (walker.node.nodeType !== 11 + && (VisUtil_1.VisUtil.isNodeVisible(walker.node) + // || walker.node.nodeName.toLowerCase() === "head" + || walker.node.nodeName.toLowerCase() === "meta" + || walker.node.nodeName.toLowerCase() === "style" + || walker.node.nodeName.toLowerCase() === "datalist" + || walker.node.nodeName.toLowerCase() === "param" + || !DOMUtil_1.DOMUtil.getAncestor(walker.node, ["body"]))) { + var context = {}; + for (var ns in contextHierarchies) { + var nsHier = contextHierarchies[ns]; + var lastHier = nsHier[nsHier.length - 1]; + context[ns] = lastHier; + } + var matchingRules = this.getMatchingRules(contextHierarchies); + var depMatch = {}; + for (var _i = 0, matchingRules_1 = matchingRules; _i < matchingRules_1.length; _i++) { + var matchingRule = matchingRules_1[_i]; + var fulfillsDependencies = true; + for (var _a = 0, _b = matchingRule.rule.dependencies || []; _a < _b.length; _a++) { + var dep = _b[_a]; + if (!depMatch[dep]) + fulfillsDependencies = false; + } + if (fulfillsDependencies) { + var results = []; + try { + results = matchingRule.run(this, context, options, contextHierarchies); + } + catch (err) { + // Wrapper shows error in console. Skip this rule as N/A + // We don't want to kill the engine + } + // If out of scope, it fulfills the dependency + if (results.length === 0) { + depMatch[matchingRule.rule.id] = true; + } + for (var _c = 0, results_2 = results; _c < results_2.length; _c++) { + var result = results_2[_c]; + retVal.results.push(result); + retVal.ruleTime += result.ruleTime; + retVal.numExecuted++; + if (result.value[1] === IRule_1.eRuleConfidence.PASS) { + depMatch[result.ruleId] = true; + } + } + } + } + } + } while (walker.nextNode()); + CacheUtil_1.CacheUtil.clearCaches(root); + retVal.totalTime = new Date().getTime() - start; + return Promise.resolve(retVal); + }; + Engine.prototype.enableRules = function (ruleIds) { + for (var ruleId in this.ruleMap) { + this.ruleMap[ruleId].enabled = false; + } + for (var _i = 0, _a = ruleIds || []; _i < _a.length; _i++) { + var ruleId = _a[_i]; + if (!(ruleId in this.ruleMap)) { + console.warn("WARNING: Rule Id", ruleId, "could not be enabled."); + } + else { + this.ruleMap[ruleId].enabled = true; + } + } + }; + Engine.prototype.getRule = function (ruleId) { + return this.ruleMap[ruleId]; + }; + Engine.prototype.getRulesIds = function () { + var retVal = []; + for (var ruleId in this.ruleMap) { + retVal.push(ruleId); + } + return retVal; + }; + Engine.prototype.addRules = function (rules) { + for (var _i = 0, rules_1 = rules; _i < rules_1.length; _i++) { + var rule = rules_1[_i]; + this.addRule(rule, true); + } + this._sortRules(); + }; + Engine.prototype.addRule = function (rule, skipSort) { + var ctxs = Context_1.Context.parse(rule.context); + var idx = 0; + var ruleId = rule.id; + if (ruleId in this.ruleMap) { + console.log("WARNING: Rule", ruleId, "already added to engine. Ignoring..."); + return; + } + this.ruleMap[ruleId] = rule; + for (var _i = 0, ctxs_1 = ctxs; _i < ctxs_1.length; _i++) { + var ctx = ctxs_1[_i]; + var wrapId = ruleId; + if (idx >= 1) { + wrapId = ruleId + "$$" + idx; + } + ++idx; + var wrappedRule = new WrappedRule(rule, ctx); + this.wrappedRuleMap[wrapId] = wrappedRule; + var parts = wrappedRule.parsedInfo.contextInfo; + var lastPart = parts[parts.length - 1]; + var triggerRole = lastPart.namespace + ":" + lastPart.role; + if (lastPart.inclusive) { + this.inclRules[triggerRole] = this.inclRules[triggerRole] || []; + this.inclRules[triggerRole].push(wrappedRule); + } + else { + this.exclRules[triggerRole] = this.exclRules[triggerRole] || []; + this.exclRules[triggerRole].push(wrappedRule); + } + } + if (!skipSort) { + this._sortRules(); + } + }; + Engine.prototype._sortRules = function () { + for (var role in this.inclRules) { + this.inclRules[role].sort(function (ruleA, ruleB) { + var hasDepA = ruleA.rule.dependencies && ruleA.rule.dependencies.length > 0; + var hasDepB = ruleB.rule.dependencies && ruleB.rule.dependencies.length > 0; + // If B depends on A, sort A before B + if (hasDepB && ruleB.rule.dependencies.includes(ruleA.rule.id)) + return -1; + // If A depends on B, sort B before A + if (hasDepA && ruleA.rule.dependencies.includes(ruleB.rule.id)) + return 1; + // Otherwise, doesn't matter + return 0; + }); + } + for (var role in this.exclRules) { + this.exclRules[role].sort(function (ruleA, ruleB) { + var hasDepA = ruleA.rule.dependencies && ruleA.rule.dependencies.length > 0; + var hasDepB = ruleB.rule.dependencies && ruleB.rule.dependencies.length > 0; + // If B depends on A, sort A before B + if (hasDepB && ruleB.rule.dependencies.includes(ruleA.rule.id)) + return -1; + // If A depends on B, sort B before A + if (hasDepA && ruleA.rule.dependencies.includes(ruleB.rule.id)) + return 1; + // Otherwise, doesn't matter + return 0; + }); + } + }; + Engine.prototype.addNlsMap = function (map) { + for (var key in map) { + this.nlsMap[key] = map[key]; + } + }; + Engine.prototype.addHelpMap = function (map) { + for (var key in map) { + this.helpMap[key] = map[key]; + } + }; + Engine.prototype.getMessage = function (ruleId, ruleIdx, msgArgs) { + var splitter = ruleId.indexOf("$$"); + if (splitter >= 0) { + ruleId = ruleId.substring(0, splitter); + } + if (!(ruleId in this.nlsMap)) + return ruleId; + var messageTemplate = this.nlsMap[ruleId][ruleIdx || 0]; + if (!messageTemplate) + return ruleId + "_" + ruleIdx; + return messageTemplate.replace(/\{(\d+)\}/g, function (matchedStr, matchedNum, matchedIndex) { return msgArgs[matchedNum]; }); + }; + Engine.prototype.getHelp = function (ruleId, reasonId, archiveId) { + if (!archiveId) { + // Set to the latest + archiveId = "latest"; + } + return "".concat(Config_1.Config.helpRoot, "/").concat(archiveId, "/doc").concat(this.getHelpRel(ruleId, reasonId)); + }; + Engine.prototype.getHelpRel = function (ruleId, ruleIdx) { + var splitter = ruleId.indexOf("$$"); + if (splitter >= 0) { + ruleId = ruleId.substring(0, splitter); + } + if (!(ruleId in this.helpMap)) + return ruleId; + ruleIdx = ruleIdx || 0; + var helpStr = null; + if (ruleIdx in this.helpMap[ruleId]) { + helpStr = this.helpMap[ruleId][ruleIdx || 0]; + } + else { + helpStr = this.helpMap[ruleId][0]; + } + if (!helpStr) + return ruleId + "_" + ruleIdx; + return helpStr; + }; + Engine.prototype.addMapper = function (mapper) { + this.mappers[mapper.getNamespace()] = mapper; + }; + Engine.match = function (rule, contextHier) { + var ruleParts = rule.parsedInfo.contextInfo; + var partIdx = ruleParts.length - 1; + var curNS = ruleParts[partIdx].namespace; + var curHier = contextHier[curNS][contextHier[curNS].length - 1]; + var contextNode = curHier.node; + // If the end of the rule part doesn't match the end of the hierarchy, we don't have a match + if (!ruleParts[partIdx].matches(contextHier, contextHier[curNS].length - 1)) { + return false; + } + // If there was only one part, we have a match + if (ruleParts.length === 1) { + return true; + } + // Need to deal with parent parts. To walk the hierarchy, these need to be + // all in the same namespace. Confirm that is true. + curNS = ruleParts[0].namespace; + curHier = contextHier[curNS][contextHier[curNS].length - 1]; + --partIdx; + if (ruleParts.slice(0, ruleParts.length - 1).some(function (part) { return part.namespace !== curNS; })) { + console.error("[ERROR] Rule ".concat(rule.rule.id, " has inconsitent parent namespaces")); + return false; + } + // If the target node matches the end of the hierarchy, move up past it, otherwise, start at the end + var hierIdx = contextHier[curNS].length - (curHier.node.isSameNode(contextNode) ? 2 : 1); + while (hierIdx >= 0 && partIdx >= 0) { + var part = ruleParts[partIdx]; + var matchesPart = ruleParts[partIdx].matches(contextHier, hierIdx); + if (part.connector === ">") { + if (!matchesPart) { + // Direct parent check and doesn't match + return false; + } + else { + // Direct parent check and does match + --partIdx; + --hierIdx; + } + } + else if (part.connector === " ") { + if (part.inclusive) { + // inclusive ancestor match + if (matchesPart) { + --partIdx; + } + // If doesn't match, just move up the role hierarchy + --hierIdx; + } + else if (!matchesPart) { + // exclusive ancestor match and current matches + return false; + } + else { + // exclusive ancestor match and current doesn't match - check for other ancestors + var parentMatch = false; + for (var searchIdx = hierIdx - 1; !parentMatch && searchIdx >= 0; --searchIdx) { + parentMatch = !ruleParts[partIdx].matches(contextHier, searchIdx); + } + if (parentMatch) + return false; + else + --partIdx; + } + } + else { + throw new Error("Context connector " + part.connector + " is not supported"); + } + } + return partIdx === -1; + }; + Engine.prototype.getMatchingRules = function (ctxHier) { + var matches = []; + function addMatches(rules) { + for (var _i = 0, rules_2 = rules; _i < rules_2.length; _i++) { + var rule = rules_2[_i]; + if (rule.rule.enabled && Engine.match(rule, ctxHier)) { + matches.push(rule); + } + } + } + for (var ns in ctxHier) { + var role = ns + ":" + (ctxHier[ns].length > 0 ? ctxHier[ns][ctxHier[ns].length - 1].role : "none"); + if (role in this.inclRules) { + addMatches(this.inclRules[role]); + } + for (var xRole in this.exclRules) { + if (xRole !== role) { + addMatches(this.exclRules[xRole]); + } + } + if (role !== ns + ":none") { + if (role.startsWith(ns + ":/")) { + if (ns + ":/*" in this.inclRules) { + addMatches(this.inclRules[ns + ":/*"]); + } + } + else { + if (ns + ":*" in this.inclRules) { + addMatches(this.inclRules[ns + ":*"]); + } + } + } + } + return this.sortDeps(matches); + }; + /** + * Sorts the rules in order to execute dependencies in the correct order + * @param inRules List of wrapped rules to sort + * @returns Sorted list of wrapped rules + */ + Engine.prototype.sortDeps = function (inRules) { + var depRules = []; + for (var _i = 0, inRules_1 = inRules; _i < inRules_1.length; _i++) { + var rule = inRules_1[_i]; + depRules.push(rule); + } + var retVal = []; + var 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. + var change = false; + do { + change = false; + for (var idx = 0; idx < depRules.length; ++idx) { + var depRule = depRules[idx]; + if (depRule.rule.id in idToRule) + continue; + var allMatch = true; + if (depRule.rule.dependencies && depRule.rule.dependencies.length > 0) { + for (var _a = 0, _b = depRule.rule.dependencies; _a < _b.length; _a++) { + var depId = _b[_a]; + 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); + } + } + } while (change); + return retVal; + }; + return Engine; +}()); +exports.Engine = Engine; + + +/***/ }), + +/***/ 3962: +/***/ ((__unused_webpack_module, exports) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Config = void 0; +var Config = /** @class */ (function () { + function Config() { + } + Config.DEBUG = false; + Config.helpRoot = "https://able.ibm.com/rules/archives"; + return Config; +}()); +exports.Config = Config; + + +/***/ }), + +/***/ 5697: +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DOMMapper = void 0; +var CommonMapper_1 = __webpack_require__(1794); +var CacheUtil_1 = __webpack_require__(7788); +var DOMMapper = /** @class */ (function (_super) { + __extends(DOMMapper, _super); + function DOMMapper() { + return _super !== null && _super.apply(this, arguments) || this; + } + DOMMapper.prototype.getRole = function (node) { + return node.nodeName.toLowerCase(); + }; + DOMMapper.prototype.getNamespace = function () { + return "dom"; + }; + DOMMapper.prototype.getAttributes = function (node) { + var retVal = {}; + if (node.nodeType === 1 /* Node.ELEMENT_NODE */) { + var elem = node; + for (var idx = 0; idx < elem.attributes.length; ++idx) { + var attrInfo = elem.attributes[idx]; + retVal[attrInfo.name.toLowerCase()] = attrInfo.nodeValue; + } + } + return retVal; + }; + /** + * get scaled bounds for screenshot etc. adjusted for devicePixelRatio and scroll + * @param node + * @returns + */ + DOMMapper.prototype.getBounds = function (node) { + if (node.nodeType !== 1 /*Node.ELEMENT_NODE*/) + return null; + var bunds = CacheUtil_1.CacheUtil.getCache(node, "DOMMapper_Bounds", undefined); + if (bunds === undefined) { + var adjustment = 1; + if (node.ownerDocument && node.ownerDocument.defaultView && node.ownerDocument.defaultView.devicePixelRatio) { + adjustment = node.ownerDocument.defaultView.devicePixelRatio; + } + var bounds = node.getBoundingClientRect(); + // Do a check whether bounds has value as we use different tool (htmlUnit, browser) to call this function + if (bounds) { + var scrollX_1 = node && node.ownerDocument && node.ownerDocument.defaultView && node.ownerDocument.defaultView.scrollX || 0; + var scrollY_1 = node && node.ownerDocument && node.ownerDocument.defaultView && node.ownerDocument.defaultView.scrollY || 0; + var ret = { + "left": Math.ceil((bounds.left + scrollX_1) * adjustment), + "top": Math.ceil((bounds.top + scrollY_1) * adjustment), + "height": Math.ceil(bounds.height * adjustment), + "width": Math.ceil(bounds.width * adjustment) + }; + CacheUtil_1.CacheUtil.setCache(node, "DOMMapper_Bounds", ret); + return ret; + } + return null; + } + return bunds; + }; + /** + * get real CSS bounds in css pixels, adjusted for scroll only + * @param node + * @returns + */ + DOMMapper.prototype.getUnadjustedBounds = function (node) { + if (node.nodeType !== 1 /*Node.ELEMENT_NODE*/) + return null; + var bunds = CacheUtil_1.CacheUtil.getCache(node, "DOMMapper_UnadjustedBounds", undefined); + if (bunds === undefined) { + var bounds = node.getBoundingClientRect(); + // adjusted for scroll if any + if (bounds) { + var scrollX_2 = node && node.ownerDocument && node.ownerDocument.defaultView && node.ownerDocument.defaultView.scrollX || 0; + var scrollY_2 = node && node.ownerDocument && node.ownerDocument.defaultView && node.ownerDocument.defaultView.scrollY || 0; + var ret = { + "left": Math.ceil(bounds.left + scrollX_2), + "top": Math.ceil(bounds.top + scrollY_2), + "height": Math.ceil(bounds.height), + "width": Math.ceil(bounds.width) + }; + CacheUtil_1.CacheUtil.setCache(node, "DOMMapper_UnadjustedBounds", ret); + return ret; + } + return null; + } + return bunds; + }; + return DOMMapper; +}(CommonMapper_1.CommonMapper)); +exports.DOMMapper = DOMMapper; + + +/***/ }), + +/***/ 295: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DOMUtil = void 0; +var DOMWalker_1 = __webpack_require__(7440); +var DOMUtil = /** @class */ (function () { + function DOMUtil() { + } + DOMUtil.hasParent = function (node, names) { + var p = DOMWalker_1.DOMWalker.parentElement(node); + while (p && !names.includes(p.nodeName)) { + p = DOMWalker_1.DOMWalker.parentElement(p); + } + return !!p; + }; + DOMUtil.getAncestor = function (node, names) { + var p = DOMWalker_1.DOMWalker.parentElement(node); + while (p && !names.includes(p.nodeName.toLowerCase())) { + p = DOMWalker_1.DOMWalker.parentElement(p); + } + return p; + }; + DOMUtil.sameNode = function (a, b) { + if (a === b) { + return true; + } + else if (a.isSameNode) { + return a.isSameNode(b); + } + else if (a.compareDocumentPosition) { + return a.compareDocumentPosition(b) === 0; + } + else { + // Not supported in this environment - try our best + return true; + } + }; + DOMUtil.cleanWhitespace = function (s) { + var retVal = s.replace(/[ \t\r\n]/g, " ").replace(/ +/g, " "); + return retVal; + }; + DOMUtil.cleanSpace = function (s) { + var retVal = s.replace(/ +/g, " "); + return retVal; + }; + // return true if element1 and element2 (cells) are in the same table + DOMUtil.isInSameTable = function (element1, element2) { + if (element1 && element2) { + var parentName = ['table']; + var parent1 = DOMUtil.getAncestor(element1, parentName); + var parent2 = DOMUtil.getAncestor(element2, parentName); + if (parent1 !== null && parent2 != null && DOMUtil.sameNode(parent1, parent2)) + return true; + } + return false; + }; + DOMUtil.shadowRootNode = function (node) { + var nd = node; + while (nd != null && nd.nodeType !== 11 /* Node.DOCUMENT_FRAGMENT_NODE */) + nd = nd.parentNode; + return nd; + }; + /** + * Copies objects, but retains Node attributes as references + * @param rhs + */ + DOMUtil.objectCopyWithNodeRefs = function (rhs) { + if (!rhs) + return rhs; + if (typeof rhs !== "object") { + if (typeof rhs === "function") { + return rhs; + } + else { + return JSON.parse(JSON.stringify(rhs)); + } + } + else if (rhs instanceof Node || !!rhs.nodeType) { + return rhs; + } + else { + var retVal = void 0; + if (rhs.constructor.name === "Array") { + retVal = []; + for (var _i = 0, rhs_1 = rhs; _i < rhs_1.length; _i++) { + var item = rhs_1[_i]; + retVal.push(this.objectCopyWithNodeRefs(item)); + } + } + else { + retVal = {}; + for (var key in rhs) { + retVal[key] = this.objectCopyWithNodeRefs(rhs[key]); + } + } + return retVal; + } + }; + DOMUtil.getAncestorWithAttribute = function (element, attrName, attrValue) { + var walkNode = DOMWalker_1.DOMWalker.parentNode(element); + while (walkNode !== null) { + if (walkNode.nodeType === 1 /* Node.ELEMENT_NODE */ && walkNode.getAttribute(attrName) === attrValue) + return walkNode; + walkNode = DOMWalker_1.DOMWalker.parentNode(walkNode); + } + return null; + }; + return DOMUtil; +}()); +exports.DOMUtil = DOMUtil; + + +/***/ }), + +/***/ 7440: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DOMWalker = void 0; +var VisUtil_1 = __webpack_require__(8656); +/** + * Walks in a DOM order + * + * Assumption that nodes of shadow DOMs call assignSlots on the shadow root before + * doing other processing in that tree. If you walk into a shadow root, the DOMWalker + * will do it automatically. + * + * See also ../aria/ARIAWalker + */ +var DOMWalker = /** @class */ (function () { + function DOMWalker(element, bEnd, root, considerHidden, DEBUG) { + this.DEBUGIDX = 0; + this.indent = 0; + this.DEBUG = !!DEBUG; + this.root = root || ((element && element.ownerDocument) ? element.ownerDocument.documentElement : element); + if (this.root.nodeType === 9) { + this.root = this.root.documentElement; + } + this.node = element; + if (this.node.nodeType === 9) { + this.node = this.node.documentElement; + } + this.bEndTag = (bEnd == undefined ? false : bEnd == true); + this.considerHidden = considerHidden || false; + } + DOMWalker.prototype.elem = function () { + return this.node.nodeType === 1 && this.node || null; + }; + DOMWalker.parentNode = function (node) { + if (node === null) + return null; + var p = node.parentNode; + if (node.slotOwner) { + p = node.slotOwner; + } + else if (node.ownerElement) { + p = node.ownerElement; + } + else if (p && p.nodeType === 11) { + if (p.host) { + p = p.host; + } + else { + p = null; + } + } + return p; + }; + DOMWalker.parentElement = function (node) { + var elem = node; + do { + elem = DOMWalker.parentNode(elem); + } while (elem && elem.nodeType !== 1); + return elem; + }; + DOMWalker.assignSlots = function (root) { + var slots = root.querySelectorAll("slot"); + for (var iSlot = 0; iSlot < slots.length; ++iSlot) { + var processSlot = slots[iSlot]; + var assignedNodes = processSlot.assignedNodes(); + for (var iAssigned = 0; iAssigned < assignedNodes.length; ++iAssigned) { + assignedNodes[iAssigned].slotOwner = processSlot; + assignedNodes[iAssigned].slotIndex = iAssigned; + } + } + }; + DOMWalker.firstChildNotOwnedBySlot = function (node) { + var retVal = node.firstChild; + while (retVal && retVal.slotOwner) { + retVal = retVal.nextSibling; + } + return retVal; + }; + DOMWalker.lastChildNotOwnedBySlot = function (node) { + var retVal = node.lastChild; + while (retVal && retVal.slotOwner) { + retVal = retVal.previousSibling; + } + return retVal; + }; + DOMWalker.nextSiblingNotOwnedBySlot = function (node) { + var retVal = node.nextSibling; + while (retVal && retVal.slotOwner) { + retVal = retVal.nextSibling; + } + return retVal; + }; + DOMWalker.previousSiblingNotOwnedBySlot = function (node) { + var retVal = node.previousSibling; + while (retVal && retVal.slotOwner) { + retVal = retVal.previousSibling; + } + return retVal; + }; + DOMWalker.prototype.atRoot = function () { + if (this.ownerElement) + return false; + if (this.root === this.node) { + return true; + } + else if (this.root.isSameNode) { + return this.root.isSameNode(this.node); + } + else if (this.root.compareDocumentPosition) { + return this.root.compareDocumentPosition(this.node) === 0; + } + else { + // Not supported in this environment - try our best + return this.node.parentNode === null; + } + }; + DOMWalker.prototype.nextNode = function () { + var _this = this; + var indent = function () { + var s = ""; + for (var idx = 0; idx < _this.indent; ++idx) { + s += " "; + } + return s; + }; + var DBG = false; //this.DEBUGIDX >= 7 && this.DEBUGIDX <= 10; + var startName = this.node.nodeName; + if (!this.node) { + this.bEndTag = false; + return false; + } + do { + //console.log(this.node.nodeName, this.bEndTag?"END":"START", this.node.nodeType === 1 && (this.node as any).getAttribute("id")); + if (!this.bEndTag) { + var iframeNode = this.node; + var elementNode = this.node; + var slotElement = this.node; + if (this.node.nodeType === 1 /* Node.ELEMENT_NODE */ + && this.node.nodeName.toUpperCase() === "IFRAME" + && (this.considerHidden ? VisUtil_1.VisUtil.isNodeVisible(iframeNode) : true) + && iframeNode.contentDocument + && iframeNode.contentDocument.documentElement) { + DBG && console.log("!!!Into Frame"); + var ownerElement = this.node; + this.node = iframeNode.contentDocument.documentElement; + this.node.ownerElement = ownerElement; + } + else if (this.node.nodeType === 1 /* Node.ELEMENT_NODE */ + && (this.considerHidden ? VisUtil_1.VisUtil.isNodeVisible(elementNode) : true) + && elementNode.shadowRoot + && elementNode.shadowRoot.firstChild) { + DBG && console.log("!!!Into shadow root"); + var ownerElement = this.node; + this.node = elementNode.shadowRoot; + this.node.ownerElement = ownerElement; + DOMWalker.assignSlots(this.node); + } + else if (this.node.nodeType === 1 + && elementNode.nodeName.toLowerCase() === "slot" + && slotElement.assignedNodes().length > 0) { + DBG && console.log("!!!Into slot"); + this.node = slotElement.assignedNodes()[0]; + } + else if ((this.node.nodeType === 1 /* Node.ELEMENT_NODE */ || this.node.nodeType === 11 /* Node.DOCUMENT_FRAGMENT_NODE */) + && DOMWalker.firstChildNotOwnedBySlot(this.node)) { + DBG && console.log("!!!First child"); + this.node = DOMWalker.firstChildNotOwnedBySlot(this.node); + } + else { + DBG && console.log("!!!Flip to end tag"); + this.bEndTag = true; + } + } + else { + DBG && console.log("!!!1"); + if (this.atRoot()) { + DBG && console.log("!!!Done at root"); + return false; + } + else if (this.node.slotOwner) { + var slotOwner = this.node.slotOwner; + var nextSlotIndex = this.node.slotIndex + 1; + // delete (this.node as any).slotOwner; + // delete (this.node as any).slotIndex; + if (nextSlotIndex < slotOwner.assignedNodes().length) { + DBG && console.log("!!!Next slot child"); + this.node = slotOwner.assignedNodes()[nextSlotIndex]; + this.bEndTag = false; + } + else { + DBG && console.log("!!!Back up to slot owner"); + this.node = slotOwner; + this.bEndTag = true; + } + } + else if (this.node.ownerElement) { + DBG && console.log("!!!Up to frame owner"); + this.node = this.node.ownerElement; + this.bEndTag = true; + } + else if (DOMWalker.nextSiblingNotOwnedBySlot(this.node)) { + DBG && console.log("!!!Next sibling"); + this.node = DOMWalker.nextSiblingNotOwnedBySlot(this.node); + this.bEndTag = false; + } + else if (this.node.parentNode) { + DBG && console.log("!!!Parent"); + this.node = this.node.parentNode; + this.bEndTag = true; + } + else { + DBG && console.log("!!!Done with walk"); + return false; + } + } + if (DBG && ((this.node.nodeType !== 1 && this.node.nodeType !== 11 && this.node.nodeType !== 3) + || (this.node.nodeType === 1 && this.node.getAttribute("aChecker") === "ACE"))) { + this.DEBUG && console.log(indent() + "<".concat(this.bEndTag ? "/" : "").concat(this.node.nodeName, "> (from ").concat(startName, ") ").concat(this.DEBUGIDX++, " SKIPPED")); + } + } while ((this.node.nodeType !== 1 && this.node.nodeType !== 11 && this.node.nodeType !== 3) + || (this.node.nodeType === 1 && this.node.getAttribute("aChecker") === "ACE")); + if (this.bEndTag) + this.indent -= 2; + this.DEBUG && console.log(indent() + "<".concat(this.bEndTag ? "/" : "").concat(this.node.nodeName, "> (from ").concat(startName, ") ").concat(this.DEBUGIDX++)); + this.DEBUG && this.node.slotOwner && console.log(indent() + "slotOwner: ".concat(this.node.slotOwner.nodeName)); + this.DEBUG && this.node.slotIndex && console.log(indent() + "slotIndex: ".concat(this.node.slotIndex)); + this.DEBUG && this.node.ownerElement && console.log(indent() + "ownerElement: ".concat(this.node.ownerElement.nodeName)); + if (!this.bEndTag) + this.indent += 2; + return true; + }; + DOMWalker.prototype.prevNode = function () { + do { + if (this.bEndTag) { + var iframeNode = this.node; + var elementNode = this.node; + if (this.node.nodeType === 1 /* Node.ELEMENT_NODE */ + && this.node.nodeName.toUpperCase() === "IFRAME" + && (this.considerHidden ? VisUtil_1.VisUtil.isNodeVisible(iframeNode) : true) + && iframeNode.contentDocument + && iframeNode.contentDocument.documentElement) { + var ownerElement = this.node; + this.node = iframeNode.contentDocument.documentElement; + this.node.ownerElement = ownerElement; + } + else if (this.node.nodeType === 1 /* Node.ELEMENT_NODE */ + && (this.considerHidden ? VisUtil_1.VisUtil.isNodeVisible(elementNode) : true) + && elementNode.shadowRoot + && elementNode.shadowRoot.lastChild) { + var ownerElement = this.node; + this.node = elementNode.shadowRoot; + this.node.ownerElement = ownerElement; + DOMWalker.assignSlots(this.node); + } + else if ((this.node.nodeType === 1 /* Node.ELEMENT_NODE */ || this.node.nodeType === 11) + && DOMWalker.lastChildNotOwnedBySlot(this.node)) { + this.node = DOMWalker.lastChildNotOwnedBySlot(this.node); + } + else { + this.bEndTag = false; + } + } + else { + if (this.atRoot()) { + return false; + } + else if (DOMWalker.previousSiblingNotOwnedBySlot(this.node)) { + this.node = DOMWalker.previousSiblingNotOwnedBySlot(this.node); + this.bEndTag = true; + } + else if (this.node.ownerElement) { + this.node = this.node.ownerElement; + this.bEndTag = false; + } + else if (this.node.parentNode) { + this.node = this.node.parentNode; + this.bEndTag = false; + } + else { + return false; + } + } + } while ((this.node.nodeType !== 1 /* Node.ELEMENT_NODE */ && this.node.nodeType !== 11 && this.node.nodeType !== 3) + || (this.node.nodeType === 1 && this.node.getAttribute("aChecker") === "ACE")); + return true; + }; + return DOMWalker; +}()); +exports.DOMWalker = DOMWalker; + + +/***/ }), + +/***/ 1970: +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.StyleMapper = void 0; +var CommonMapper_1 = __webpack_require__(1794); +var StyleMapper = /** @class */ (function (_super) { + __extends(StyleMapper, _super); + function StyleMapper() { + return _super !== null && _super.apply(this, arguments) || this; + } + StyleMapper.prototype.getRole = function (node) { + return "computed"; + }; + StyleMapper.prototype.getNamespace = function () { + return "css"; + }; + StyleMapper.prototype.getAttributes = function (node) { + var retVal = {}; + if (node.nodeType === 1 /* Node.ELEMENT_NODE */) { + var elem = node; + var style = elem.ownerDocument.defaultView.getComputedStyle(elem); + for (var idx = 0; idx < style.length; ++idx) { + var name_1 = style[idx].toLowerCase(); + retVal[name_1] = style[name_1]; + } + } + return retVal; + }; + return StyleMapper; +}(CommonMapper_1.CommonMapper)); +exports.StyleMapper = StyleMapper; + + +/***/ }), + +/***/ 3005: +/***/ ((__unused_webpack_module, exports) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.eGuidelineType = exports.eGuidelineCategory = exports.eToolkitLevel = void 0; +var eToolkitLevel; +(function (eToolkitLevel) { + eToolkitLevel["LEVEL_ONE"] = "1"; + eToolkitLevel["LEVEL_TWO"] = "2"; + eToolkitLevel["LEVEL_THREE"] = "3"; + eToolkitLevel["LEVEL_FOUR"] = "4"; +})(eToolkitLevel = exports.eToolkitLevel || (exports.eToolkitLevel = {})); +var eGuidelineCategory; +(function (eGuidelineCategory) { + eGuidelineCategory["ACCESSIBILITY"] = "Accessibility"; + eGuidelineCategory["DESIGN"] = "Design"; + eGuidelineCategory["OTHER"] = "Other"; +})(eGuidelineCategory = exports.eGuidelineCategory || (exports.eGuidelineCategory = {})); +var eGuidelineType; +(function (eGuidelineType) { + eGuidelineType["DEFAULT"] = "default"; + eGuidelineType["EXTENSION"] = "extension"; +})(eGuidelineType = exports.eGuidelineType || (exports.eGuidelineType = {})); + + +/***/ }), + +/***/ 4377: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.eRulesetType = exports.eRuleCategory = exports.eToolkitLevel = exports.RuleManual = exports.RulePotential = exports.RuleFail = exports.RuleRender = exports.RulePass = exports.eRulePolicy = exports.eRuleConfidence = void 0; +var eRuleConfidence; +(function (eRuleConfidence) { + eRuleConfidence["PASS"] = "PASS"; + eRuleConfidence["FAIL"] = "FAIL"; + eRuleConfidence["POTENTIAL"] = "POTENTIAL"; + eRuleConfidence["MANUAL"] = "MANUAL"; +})(eRuleConfidence = exports.eRuleConfidence || (exports.eRuleConfidence = {})); +var eRulePolicy; +(function (eRulePolicy) { + eRulePolicy["VIOLATION"] = "VIOLATION"; + eRulePolicy["RECOMMENDATION"] = "RECOMMENDATION"; + eRulePolicy["INFORMATION"] = "INFORMATION"; +})(eRulePolicy = exports.eRulePolicy || (exports.eRulePolicy = {})); +function RulePass(reasonId, messageArgs, apiArgs) { + if (typeof reasonId === "undefined" || reasonId === null) + throw new Error("Reason ID must be defined"); + return { + value: [eRulePolicy.INFORMATION, eRuleConfidence.PASS], + reasonId: reasonId, + messageArgs: messageArgs || [], + apiArgs: apiArgs || [] + }; +} +exports.RulePass = RulePass; +function RuleRender(reasonId, messageArgs, apiArgs) { + if (typeof reasonId === "undefined" || reasonId === null) + throw new Error("Reason ID must be defined"); + return { + value: [eRulePolicy.INFORMATION, eRuleConfidence.PASS], + reasonId: 0, + messageArgs: messageArgs || [], + apiArgs: apiArgs || [] + }; +} +exports.RuleRender = RuleRender; +function RuleFail(reasonId, messageArgs, apiArgs) { + if (typeof reasonId === "undefined" || reasonId === null) + throw new Error("Reason ID must be defined"); + return { + value: [eRulePolicy.INFORMATION, eRuleConfidence.FAIL], + reasonId: reasonId, + messageArgs: messageArgs || [], + apiArgs: apiArgs || [] + }; +} +exports.RuleFail = RuleFail; +function RulePotential(reasonId, messageArgs, apiArgs) { + if (typeof reasonId === "undefined" || reasonId === null) + throw new Error("Reason ID must be defined"); + return { + value: [eRulePolicy.INFORMATION, eRuleConfidence.POTENTIAL], + reasonId: reasonId, + messageArgs: messageArgs || [], + apiArgs: apiArgs || [] + }; +} +exports.RulePotential = RulePotential; +function RuleManual(reasonId, messageArgs, apiArgs) { + if (typeof reasonId === "undefined" || reasonId === null) + throw new Error("Reason ID must be defined"); + return { + value: [eRulePolicy.INFORMATION, eRuleConfidence.MANUAL], + reasonId: reasonId, + messageArgs: messageArgs || [], + apiArgs: apiArgs || [] + }; +} +exports.RuleManual = RuleManual; +/** + * @deprecated See ./IGuideline + */ +var IGuideline_1 = __webpack_require__(3005); +Object.defineProperty(exports, "eToolkitLevel", ({ enumerable: true, get: function () { return IGuideline_1.eToolkitLevel; } })); +/** + * @deprecated See ./IGuideline:eGuidelineCategory + */ +var IGuideline_2 = __webpack_require__(3005); +Object.defineProperty(exports, "eRuleCategory", ({ enumerable: true, get: function () { return IGuideline_2.eGuidelineCategory; } })); +/** + * @deprecated See ./IGuideline:eGuidelineType + */ +var IGuideline_3 = __webpack_require__(3005); +Object.defineProperty(exports, "eRulesetType", ({ enumerable: true, get: function () { return IGuideline_3.eGuidelineType; } })); + + +/***/ }), + +/***/ 7884: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Checker = void 0; +var IRule_1 = __webpack_require__(4377); +var Engine_1 = __webpack_require__(9324); +var ARIAMapper_1 = __webpack_require__(4944); +var StyleMapper_1 = __webpack_require__(1970); +var rulesets_1 = __webpack_require__(1070); +var checkRulesV4 = __webpack_require__(8081); +var IGuideline_1 = __webpack_require__(3005); +var checkRules = []; +var checkNls = {}; +var checkHelp = {}; +function _initialize() { + var langs = JSON.parse(JSON.stringify(Engine_1.Engine.getLanguages())); + // Default lang to en-US if nothing else specified is found + langs.push("en-US"); + // Process V4 rules into the V2 format + for (var rulename in checkRulesV4) { + // Convert rule + var v4Rule = checkRulesV4[rulename]; + checkRules.push(v4Rule); + // Go backwards because the first lang is the preferred, so + // earlier languages will override later languages + for (var idx = langs.length - 1; idx >= 0; --idx) { + var langId = langs[idx]; + if (langId in v4Rule.messages) { + checkNls[v4Rule.id] = v4Rule.messages[langId]; + checkNls[v4Rule.id][0] = checkNls[v4Rule.id].group; + } + if (langId in v4Rule.help) { + checkHelp[v4Rule.id] = {}; + for (var reasonId in v4Rule.help[langId]) { + checkHelp[v4Rule.id][reasonId] = "/".concat(langId, "/").concat(v4Rule.help[langId][reasonId]); + } + checkNls[v4Rule.id][0] = checkNls[v4Rule.id].group; + } + } + // Convert RS + for (var _i = 0, _a = v4Rule.rulesets; _i < _a.length; _i++) { + var rsSection = _a[_i]; + for (var _b = 0, _c = rulesets_1.a11yRulesets; _b < _c.length; _b++) { + var rs = _c[_b]; + var checkRsIds = typeof rsSection.id === "string" ? [rsSection.id] : rsSection.id; + if (checkRsIds.includes(rs.id)) { + for (var _d = 0, _e = rs.checkpoints; _d < _e.length; _d++) { + var cp = _e[_d]; + var checkCPIds = typeof rsSection.num === "string" ? [rsSection.num] : rsSection.num; + if (checkCPIds.includes(cp.num)) { + cp.rules = cp.rules || []; + cp.rules.push({ + id: v4Rule.id, + reasonCodes: rsSection.reasonCodes, + level: rsSection.level, + toolkitLevel: rsSection.toolkitLevel + }); + } + } + } + } + } + } +} +_initialize(); +var Checker = /** @class */ (function () { + function Checker() { + this.guidelines = []; + /** + * @deprecated Use getGuidelines(). + */ + this.rulesets = this.guidelines; + /** + * @deprecated Use getGuidelineIds(). + */ + this.rulesetIds = []; + this.rulesetRules = {}; + this.ruleLevels = {}; + this.ruleReasonLevels = {}; + this.ruleCategory = {}; + var engine = this.engine = new Engine_1.Engine(); + engine.addMapper(new ARIAMapper_1.ARIAMapper()); + engine.addMapper(new StyleMapper_1.StyleMapper()); + engine.addRules(checkRules); + engine.addNlsMap(checkNls); + engine.addHelpMap(checkHelp); + for (var _i = 0, a11yRulesets_1 = rulesets_1.a11yRulesets; _i < a11yRulesets_1.length; _i++) { + var rs = a11yRulesets_1[_i]; + this.addRuleset(rs); + } + } + /** + * Adds a guideline to the engine. If the id already exists, the previous guideline will be replaced. + * @param guideline + */ + Checker.prototype.addGuideline = function (guideline) { + if (guideline.id in this.rulesetRules) { + this.removeGuideline(guideline.id); + } + this.guidelines.push(guideline); + this.rulesetIds.push(guideline.id); + var ruleIds = []; + for (var _i = 0, _a = guideline.checkpoints; _i < _a.length; _i++) { + var cp = _a[_i]; + cp.rules = cp.rules || []; + for (var _b = 0, _c = cp.rules; _b < _c.length; _b++) { + var rule = _c[_b]; + if (rule.enabled !== false) { + ruleIds.push(rule.id); + //this.ruleLevels[rule.id] = this.ruleLevels[rule.id] || {}; + //this.ruleLevels[rule.id][guideline.id] = rule.level; + this.ruleReasonLevels[rule.id] = this.ruleReasonLevels[rule.id] || {}; + this.ruleReasonLevels[rule.id][guideline.id] = this.ruleReasonLevels[rule.id][guideline.id] || {}; + var code = rule.reasonCodes ? rule.reasonCodes.join('--') : "None"; + this.ruleReasonLevels[rule.id][guideline.id][code] = rule.level; + this.ruleCategory[rule.id] = this.ruleCategory[rule.id] || {}; + this.ruleCategory[rule.id][guideline.id] = guideline.category; + } + } + } + this.rulesetRules[guideline.id] = ruleIds; + }; + /** + * Enable a rule for all guidelines + * @param ruleId + */ + Checker.prototype.enableRule = function (ruleId) { + for (var _i = 0, _a = this.getGuidelines(); _i < _a.length; _i++) { + var guideline = _a[_i]; + var updated = false; + for (var _b = 0, _c = guideline.checkpoints; _b < _c.length; _b++) { + var cp = _c[_b]; + for (var _d = 0, _e = cp.rules; _d < _e.length; _d++) { + var rule = _e[_d]; + if (rule.enabled === false) { + updated = true; + delete rule.enabled; + } + } + } + if (updated) { + this.addGuideline(guideline); + } + } + }; + /** + * Disable a rule for all guidelines + * @param ruleId + */ + Checker.prototype.disableRule = function (ruleId) { + for (var _i = 0, _a = this.getGuidelines(); _i < _a.length; _i++) { + var guideline = _a[_i]; + var updated = false; + for (var _b = 0, _c = guideline.checkpoints; _b < _c.length; _b++) { + var cp = _c[_b]; + for (var _d = 0, _e = cp.rules; _d < _e.length; _d++) { + var rule = _e[_d]; + if (rule.enabled !== false) { + updated = true; + rule.enabled = false; + } + } + } + if (updated) { + this.addGuideline(guideline); + } + } + }; + /** + * Remove a guideline from the engine + * + * Generally, there isn't a good reason to do this. Users should just not select the guideline as an option in check + * @param guidelineId + */ + Checker.prototype.removeGuideline = function (guidelineId) { + if (guidelineId in this.rulesetRules) { + delete this.rulesetRules[guidelineId]; + this.rulesets = this.guidelines = this.guidelines.filter(function (guideline) { return guideline.id !== guidelineId; }); + this.rulesetIds = this.getGuidelineIds(); + } + }; + /** + * Get the guidelines available in the engine + * @returns + */ + Checker.prototype.getGuidelines = function () { + return JSON.parse(JSON.stringify(this.guidelines)); + }; + /** + * Get the ids of the guidelines available in the engine + * @returns + */ + Checker.prototype.getGuidelineIds = function () { + return this.guidelines.map(function (guideline) { return guideline.id; }); + }; + /** + * + * @deprecated See addGuideline + */ + Checker.prototype.addRuleset = function (rs) { + this.addGuideline(rs); + }; + /** + * Perform a check of the specified node/document + * @param node DOMNode or Document on which to run the check + * @param guidelineIds Guideline ids to check with to specify which rules to run + * @returns + */ + Checker.prototype.check = function (node, guidelineIds) { + // Determine which rules to run + var ruleIds = []; + // Fix the input + if (!guidelineIds) { + ruleIds = this.engine.getRulesIds(); + } + else { + if (typeof guidelineIds === "string") { + guidelineIds = [guidelineIds]; + } + for (var _i = 0, guidelineIds_1 = guidelineIds; _i < guidelineIds_1.length; _i++) { + var rsId = guidelineIds_1[_i]; + if (rsId in this.rulesetRules) { + ruleIds = ruleIds.concat(this.rulesetRules[rsId]); + } + } + } + this.engine.enableRules(ruleIds); + // Add the report levels + var myThis = this; + return this.engine.run(node) + .then(function (report) { + report.nls = {}; + for (var _i = 0, _a = report.results; _i < _a.length; _i++) { + var result = _a[_i]; + if (result.ruleId in checkNls) { + report.nls[result.ruleId] = report.nls[result.ruleId] || { + 0: checkNls[result.ruleId][0] + }; + if (result.reasonId in checkNls[result.ruleId]) { + report.nls[result.ruleId][result.reasonId] = checkNls[result.ruleId][result.reasonId]; + } + } + //result.value[0] = myThis.getLevel(guidelineIds as string[], result.ruleId); + var code = result.reasonId ? result.reasonId : "None"; + result.value[0] = myThis.getReasonLevel(guidelineIds, result.ruleId, code); + result.category = myThis.getCategory(guidelineIds, result.ruleId); + delete result.path.css; + } + return report; + }); + }; + Checker.prototype.getLevel = function (rsIds, ruleId) { + if (!rsIds) + return IRule_1.eRulePolicy.INFORMATION; + var rsInfo = this.ruleLevels[ruleId]; + var retVal = null; + if (rsIds) { + if (!(ruleId in this.ruleLevels)) { + throw new Error("Rule triggered for which we have no rule level information: " + ruleId); + } + for (var _i = 0, rsIds_1 = rsIds; _i < rsIds_1.length; _i++) { + var rsId = rsIds_1[_i]; + if (rsId in rsInfo) { + if (rsInfo[rsId] === IRule_1.eRulePolicy.VIOLATION) { + retVal = IRule_1.eRulePolicy.VIOLATION; + } + else if (rsInfo[rsId] === IRule_1.eRulePolicy.RECOMMENDATION && retVal === null) { + retVal = IRule_1.eRulePolicy.RECOMMENDATION; + } + else if (retVal === null) { + retVal = IRule_1.eRulePolicy.INFORMATION; + } + } + } + } + if (retVal === null) { + throw new Error("Rule triggered for which we have no rule level information: " + ruleId); + } + return retVal; + }; + Checker.prototype.getReasonLevel = function (rsIds, ruleId, reasonCode) { + if (!rsIds) + return IRule_1.eRulePolicy.INFORMATION; + var rsInfo = this.ruleReasonLevels[ruleId]; + var retVal = null; + if (rsIds) { + if (!(ruleId in this.ruleReasonLevels)) { + throw new Error("Rule triggered for which we have no rule level information " + ruleId); + } + var _loop_1 = function (rsId) { + if (rsId in rsInfo) { + var reCode_1 = new RegExp("(^|--)".concat(reasonCode, "($|--)")); + Object.keys(rsInfo[rsId]).forEach(function (code) { + var level = null; + if (code === 'None') + level = rsInfo[rsId]["None"]; + else if (reCode_1.test(code)) + level = rsInfo[rsId][code]; + if (level !== null) { + if (level === IRule_1.eRulePolicy.VIOLATION) { + retVal = IRule_1.eRulePolicy.VIOLATION; + } + else if (level === IRule_1.eRulePolicy.RECOMMENDATION && retVal === null) { + retVal = IRule_1.eRulePolicy.RECOMMENDATION; + } + else if (retVal === null) { + retVal = IRule_1.eRulePolicy.INFORMATION; + } + } + }); + if (retVal === null) { + retVal = IRule_1.eRulePolicy.INFORMATION; + } + } + }; + for (var _i = 0, rsIds_2 = rsIds; _i < rsIds_2.length; _i++) { + var rsId = rsIds_2[_i]; + _loop_1(rsId); + } + } + if (retVal === null) { + throw new Error("Rule triggered for which we have no rule level information: " + ruleId); + } + return retVal; + }; + Checker.prototype.getCategory = function (rsIds, ruleId) { + var rsInfo = this.ruleCategory[ruleId]; + var retVal = ""; + if (!(ruleId in this.ruleCategory)) { + return IGuideline_1.eGuidelineCategory.OTHER; + } + if (!rsIds) { + rsIds = this.getGuidelineIds(); + } + for (var _i = 0, rsIds_3 = rsIds; _i < rsIds_3.length; _i++) { + var rsId = rsIds_3[_i]; + if (rsId in rsInfo) { + return rsInfo[rsId]; + } + } + return IGuideline_1.eGuidelineCategory.OTHER; + }; + return Checker; +}()); +exports.Checker = Checker; + + +/***/ }), + +/***/ 8980: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.a_target_warning = void 0; +var CommonUtil_1 = __webpack_require__(8137); +var VisUtil_1 = __webpack_require__(8656); +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +exports.a_target_warning = { + id: "a_target_warning", + context: "dom:a[target],dom:area[target],dom:base[target]", + refactor: { + "WCAG20_A_TargetAndText": { + "Pass_0": "pass", + "Potential_1": "potential_warn" + } + }, + help: { + "en-US": { + "group": "a_target_warning.html", + "pass": "a_target_warning.html", + "potential_warn": "a_target_warning.html" + } + }, + messages: { + "en-US": { + "group": "Users should be warned in advance if their input action will open a new window", + "pass": "The user is warned in advance that the input action opens a new window", + "potential_warn": "Inform the user when their input action will open a new window" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: "3.2.2", + level: IRule_2.eRulePolicy.RECOMMENDATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // skip the rule if it's AT hidden and not tabbable + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext) && !CommonUtil_1.CommonUtil.isTabbable(ruleContext)) + return null; + var params = { + paramWinText: { + value: ["new window", "new tab"], + type: "array" + } + }; + var tStr = ruleContext.getAttribute("target"); + var passed = tStr == "_parent" || tStr == "_self" || tStr == "_top" || CommonUtil_1.CommonUtil.getFrameByName(ruleContext, tStr) != null; + if (!passed) { + // Name is not part of this frameset – must have potential to create new window? + // See if a new window is mentioned + var textStr = CommonUtil_1.CommonUtil.getInnerText(ruleContext); + if (ruleContext.hasAttribute("title")) + textStr += " " + ruleContext.getAttribute("title"); + for (var i = 0; !passed && i < params.paramWinText.value.length; ++i) + if (textStr.indexOf(params.paramWinText.value[i]) != -1) + passed = true; + } + return passed ? (0, IRule_1.RulePass)("pass") : (0, IRule_1.RulePotential)("potential_warn"); + } +}; + + +/***/ }), + +/***/ 3961: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.a_text_purpose = void 0; +var IRule_1 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +var VisUtil_1 = __webpack_require__(8656); +var IRule_2 = __webpack_require__(4377); +var AccNameUtil_1 = __webpack_require__(1421); +exports.a_text_purpose = { + id: "a_text_purpose", + // doc-biblioref is a link + context: "aria:link,aria:doc-biblioref", + refactor: { + "WCAG20_A_HasText": { + "Pass_0": "pass", + "Fail_1": "fail_acc_name" + } + }, + help: { + "en-US": { + "group": "a_text_purpose.html", + "pass": "a_text_purpose.html", + "fail_acc_name": "a_text_purpose.html" + } + }, + messages: { + "en-US": { + "group": "Hyperlinks must have an accessible name for their purpose", + "pass": "Hyperlink has a description of its purpose", + "fail_acc_name": "Hyperlink has no link text, label or image with a text alternative" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: ["2.4.4", "4.1.2"], + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: "c487ae", + run: function (context, options) { + var ruleContext = context["dom"].node; + //skip the check if the element is hidden or disabled + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) { + return null; + } + // Rule only passes if an element has inner content, + // in the case that there is only hidden content under the the element it is a violation + var accName_pair = AccNameUtil_1.AccNameUtil.computeAccessibleName(ruleContext); + var passed = (accName_pair && accName_pair.name && accName_pair.name.trim().length > 0) + /**ARIAMapper.computeName(ruleContext).trim().length > 0*/ + || CommonUtil_1.CommonUtil.nonTabableChildCheck(ruleContext); + if (!passed) { + return (0, IRule_1.RuleFail)("fail_acc_name"); + } + else { + return (0, IRule_1.RulePass)("pass"); + } + } +}; + + +/***/ }), + +/***/ 1445: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.applet_alt_exists = void 0; +var CommonUtil_1 = __webpack_require__(8137); +var VisUtil_1 = __webpack_require__(8656); +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +exports.applet_alt_exists = { + 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": "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": { + "group": "<applet> elements must provide an 'alt' attribute and an alternative description", + "Pass_0": "Rule Passed", + "Fail_1": "An <applet> element does not have an 'alt' attribute that provides a short text alternative", + "Fail_2": "The 'alt' attribute value for an <applet> element duplicates the 'code' attribute", + "Fail_3": "An <applet> element provides alternative text, but does not provide inner content" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: "1.1.1", + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + // JCH - NO OUT OF SCOPE hidden in context + if (!CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "alt")) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + var alt = ruleContext.getAttribute("alt").trim(); + if (ruleContext.hasAttribute("code") && alt == ruleContext.getAttribute("code").trim()) { + return (0, IRule_1.RuleFail)("Fail_2"); + } + else if (!CommonUtil_1.CommonUtil.hasInnerContentHidden(ruleContext)) { + return (0, IRule_1.RuleFail)("Fail_3"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } + } +}; + + +/***/ }), + +/***/ 876: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.application_content_accessible = void 0; +var AriaUtil_1 = __webpack_require__(490); +var VisUtil_1 = __webpack_require__(8656); +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +exports.application_content_accessible = { + 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: "application_content_accessible.html", + "Pass_0": "application_content_accessible.html", + "Potential_1": "application_content_accessible.html" + } + }, + messages: { + "en-US": { + "group": "Non-decorative static text and image content within an element with \"application\" role must be accessible", + "Pass_0": "Rule Passed", + "Potential_1": "Verify that the non-decorative static text and image content within an element with \"application\" role are accessible" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: ["1.1.1", "2.1.1"], + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = true; + var children = ruleContext.childNodes; + for (var i = 0; passed && i < children.length; i++) { + if (children[i].nodeType === 1) { + if (VisUtil_1.VisUtil.isNodeVisible(children[i])) { + passed = AriaUtil_1.AriaUtil.hasRoleInSemantics(children[i], "document") || AriaUtil_1.AriaUtil.hasRoleInSemantics(children[i], "article"); + } + } + else if (children[i].nodeType === 3) { + passed = children[i].nodeValue.trim().length === 0; + } + } + return passed ? (0, IRule_1.RulePass)("Pass_0") : (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 2768: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.area_alt_exists = void 0; +var CommonUtil_1 = __webpack_require__(8137); +var VisUtil_1 = __webpack_require__(8656); +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +exports.area_alt_exists = { + id: "area_alt_exists", + context: "dom:area", + refactor: { + "WCAG20_Area_HasAlt": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "group": "area_alt_exists.html", + "Pass_0": "area_alt_exists.html", + "Fail_1": "area_alt_exists.html" + } + }, + messages: { + "en-US": { + "group": "<area> elements in an image map must have a text alternative", + "Pass_0": "Rule Passed", + "Fail_1": "<area> element in an image map has no text alternative" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: "1.1.1", + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + // JCH - NO OUT OF SCOPE hidden in context + if (CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "alt")) { + return (0, IRule_1.RulePass)("Pass_0"); + } + else { + return (0, IRule_1.RuleFail)("Fail_1"); + } + } +}; + + +/***/ }), + +/***/ 2533: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_accessiblename_exists = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var VisUtil_1 = __webpack_require__(8656); +var AccNameUtil_1 = __webpack_require__(1421); +exports.aria_accessiblename_exists = { + id: "aria_accessiblename_exists", + context: "aria:columnheader, aria:form, aria:heading, aria:rowheader, aria:table, aria:graphics-document,aria:graphics-symbol, aria:img,aria:image, doc-backlink, doc-biblioentry, doc-biblioref, doc-glossref, doc-noteref, doc-pagebreak, doc-example", + help: { + "en-US": { + "pass": "aria_accessiblename_exists.html", + "fail_no_accessible_name": "aria_accessiblename_exists.html", + "fail_no_accessible_name_image": "aria_accessiblename_exists.html", + "group": "aria_accessiblename_exists.html" + } + }, + messages: { + "en-US": { + "pass": "An accessible name is provided for the element", + "fail_no_accessible_name": "Element <{0}> with \"{1}\" role has no accessible name", + "fail_no_accessible_name_image": "Element <{0}> with \"{1}\" role has no accessible name", + "group": "Elements with certain roles should have accessible names" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE, + reasonCodes: ["fail_no_accessible_name"] + }, + { + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["ARIA"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE, + reasonCodes: ["fail_no_accessible_name_image"] + }], + act: [{ "23a2a8": { "fail_no_accessible_name_image": "fail" } }], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var nodeName = ruleContext.nodeName.toLocaleLowerCase(); + // svg element is handled in svg_graphics_labbelled rule and image rules + if (nodeName === 'svg' || nodeName === 'img') + return; + // when table element with a caption as first child + if (nodeName === 'table' + && ruleContext.firstElementChild && ruleContext.firstElementChild.nodeName.toLowerCase() === 'caption' + && ruleContext.firstElementChild.textContent && ruleContext.firstElementChild.textContent.trim().length > 0) + return (0, IRule_1.RulePass)("pass"); + var invalidRoles = AriaUtil_1.AriaUtil.getRolesUndefinedByAria(ruleContext); + if (invalidRoles && invalidRoles.length > 0) + return null; + var deprecatedRoles = AriaUtil_1.AriaUtil.getDeprecatedAriaRoles(ruleContext); + if (deprecatedRoles && deprecatedRoles.length > 0) + return null; + var deprecatedAttributes = AriaUtil_1.AriaUtil.getDeprecatedAriaAttributes(ruleContext); + if (deprecatedAttributes && deprecatedAttributes.length > 0) + return null; + var role = AriaUtil_1.AriaUtil.getResolvedRole(ruleContext); + var name_pair = AccNameUtil_1.AccNameUtil.computeAccessibleName(ruleContext); + if (!name_pair || !name_pair.name || name_pair.name.trim().length === 0) { + if (role === 'img' || role === 'image') + return (0, IRule_1.RuleFail)("fail_no_accessible_name_image", [ruleContext.nodeName.toLowerCase(), role]); + return (0, IRule_1.RuleFail)("fail_no_accessible_name", [ruleContext.nodeName.toLowerCase(), role]); + } + return (0, IRule_1.RulePass)("pass"); + } +}; + + +/***/ }), + +/***/ 7178: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_activedescendant_tabindex_valid = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +exports.aria_activedescendant_tabindex_valid = { + id: "aria_activedescendant_tabindex_valid", + context: "dom:*[aria-activedescendant]", + refactor: { + "Rpt_Aria_InvalidTabindexForActivedescendant": { + "pass": "pass", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "pass": "aria_activedescendant_tabindex_valid.html", + "Fail_1": "aria_activedescendant_tabindex_valid.html", + "group": "aria_activedescendant_tabindex_valid.html" + } + }, + messages: { + "en-US": { + "pass": "Rule Passed", + "Fail_1": "The <{0}> element using 'aria-activedescendant' set to \"{1}\" is not tabbable", + "group": "Element using 'aria-activedescendant' property should be tabbable" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = false; + var nodeName = ruleContext.nodeName.toLowerCase(); + // Rule not supported on mobile + if (ruleContext.hasAttribute("class") && ruleContext.getAttribute("class").substring(0, 3) == "mbl") { + return null; + } + // Handle the case where the element is hidden by a disabled HTML5 attribute or aria-disabled: + // 1. In the case that this element has a disabled attribute and the element supports it, we mark this rule as passed. + // 2. In the case that this element has an aria-disabled attribute then, we mark this rule as passed. + // For both of the cases above we do not need to perform any further checks, as the element is disabled in some form or another. + if (CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) { + return null; + } + //ignore if the attribute 'aria-activedescendant' is blank + if (ruleContext.getAttribute("aria-activedescendant").trim().length === 0) + return; + // If the tabindex attribute is provided then verify that it is 0 or -1 + passed = CommonUtil_1.CommonUtil.isTabbable(ruleContext); + // pass if one of the children is tabbable. in this case, the tab will stop on the first tabbable element + if (!passed) + passed = CommonUtil_1.CommonUtil.getTabbableChildren(ruleContext) > 0; + // Build array for node token + var retToken1 = new Array(); + retToken1.push(nodeName); + // Build array for id referenced by aria-activedescendant + var retToken2 = new Array(); + retToken2.push(ruleContext.getAttribute("aria-activedescendant").split(" ").join(", ")); + //return new ValidationResult(passed, [ruleContext], '', '', passed == true ? [] : [retToken1, retToken2]); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", [retToken1.toString(), retToken2.toString()]); + } + else { + return (0, IRule_1.RulePass)("pass"); + } + } +}; + + +/***/ }), + +/***/ 9745: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_activedescendant_valid = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var fragment_1 = __webpack_require__(482); +var VisUtil_1 = __webpack_require__(8656); +var DOMUtil_1 = __webpack_require__(295); +exports.aria_activedescendant_valid = { + 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": "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: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "The 'aria-activedescendant' property is empty", + "Fail_2": "The 'aria-activedescendant' property references a hidden node", + "Fail_3": "Element is not a combobox, and the referenced active-descendant element is not a valid descendant", + // "Fail_4": "Element is a combobox, and the referenced active-descendant element is not controlled by this component", + "group": "The 'aria-activedescendant' property must reference the 'id' of a non-empty, non-hidden active child element" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // combobox active descendants handled by 'combobox_active_descendant' + if (AriaUtil_1.AriaUtil.hasRoleInSemantics(ruleContext, "combobox")) { + return null; + } + var descendant_id = AriaUtil_1.AriaUtil.getAriaAttribute(ruleContext, "aria-activedescendant"); + // POF1: The attribute is empty + if (!descendant_id || descendant_id.trim() === "") { + return (0, IRule_1.RuleFail)("Fail_1"); + } + var descendant = fragment_1.FragmentUtil.getById(ruleContext, descendant_id.trim()); + if (!descendant || DOMUtil_1.DOMUtil.sameNode(descendant_id, ruleContext)) { + // The referenced element doesn't exist. We let 1077 to trigger the error + return null; + } + if (!VisUtil_1.VisUtil.isNodeVisible(descendant)) { + // POF2: aria-activedescendant references a hidden node + return (0, IRule_1.RuleFail)("Fail_2"); + } + // 1. The value of aria-activedescendant refers to an element that is either a descendant of + // the element with DOM focus + if (ruleContext.contains(descendant)) { + return (0, IRule_1.RulePass)("Pass_0"); + } + var pofId = 2; + // or is a logical descendant as indicated by the aria-owns attribute. + if (ruleContext.hasAttribute("aria-owns")) { + var owned_ids = CommonUtil_1.CommonUtil.normalizeSpacing(ruleContext.getAttribute("aria-owns").trim()).split(" "); + for (var i = 0; i < owned_ids.length; i++) { + var owned_ele = fragment_1.FragmentUtil.getById(ruleContext, owned_ids[i]); + if (owned_ele && !DOMUtil_1.DOMUtil.sameNode(owned_ele, ruleContext) && owned_ele.contains(descendant)) { + return (0, IRule_1.RulePass)("Pass_0"); + } + } + } + // 2. The element with DOM focus is a textbox with aria-controls referring to an element that + // supports aria-activedescendant, and the value of aria-activedescendant specified for the + // textbox refers to either a descendant of the element controlled by the textbox or is a logical + // descendant of that controlled element as indicated by the aria-owns attribute. + // + if (AriaUtil_1.AriaUtil.hasRoleInSemantics(ruleContext, "textbox") && ruleContext.hasAttribute("aria-controls")) { + pofId = 3; + var controlled_ids = CommonUtil_1.CommonUtil.normalizeSpacing(ruleContext.getAttribute("aria-controls").trim()).split(" "); + for (var i = 0; i < controlled_ids.length; i++) { + var controlled_ele = fragment_1.FragmentUtil.getById(ruleContext, controlled_ids[i]); + if (controlled_ele && !DOMUtil_1.DOMUtil.sameNode(controlled_ele, ruleContext) && controlled_ele.contains(descendant)) { + return (0, IRule_1.RulePass)("Pass_0"); + } + if (controlled_ele.hasAttribute("aria-owns")) { + var owns_ids = CommonUtil_1.CommonUtil.normalizeSpacing(controlled_ele.getAttribute("aria-owns").trim()).split(" "); + for (var j = 0; j < owns_ids.length; j++) { + var owned_ele = fragment_1.FragmentUtil.getById(ruleContext, owns_ids[j]); + if (owned_ele && !DOMUtil_1.DOMUtil.sameNode(owned_ele, ruleContext) && owned_ele.contains(descendant)) { + return (0, IRule_1.RulePass)("Pass_0"); + } + } + } + } + } + // POF3: I'm not a combobox, and the referenced active-descendant is not a descendant and not owned by the element + // that referenced it. + if (pofId == 3) { + return (0, IRule_1.RuleFail)("Fail_3"); + } + return null; + } +}; + + +/***/ }), + +/***/ 8019: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_application_label_unique = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var CacheUtil_1 = __webpack_require__(7788); +exports.aria_application_label_unique = { + 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": "aria_application_label_unique.html", + "Fail_1": "aria_application_label_unique.html", + "group": "aria_application_label_unique.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Multiple elements with \"application\" role do not have unique labels", + "group": "Each element with \"application\" role must have a unique label that describes its purpose" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Consider the Check Hidden Content setting that is set by the rules + // Also, consider Implicit role checking. + var landmarks = CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, "application", true, true); + if (landmarks.length === 0 || landmarks.length === 1) { + return null; + } + var dupes = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "aria_application_label_unique", null); + if (!dupes) { + dupes = AriaUtil_1.AriaUtil.findAriaLabelDupes(landmarks); + CacheUtil_1.CacheUtil.setCache(ruleContext.ownerDocument, "aria_application_label_unique", dupes); + } + var myLabel = AriaUtil_1.AriaUtil.getAriaLabel(ruleContext); + var passed = myLabel !== "" && (!(myLabel in dupes) || dupes[myLabel] <= 1); + //return new ValidationResult(passed, ruleContext, '', '', [ myLabel ]); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", [myLabel]); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 6505: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_application_labelled = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AccNameUtil_1 = __webpack_require__(1421); +var VisUtil_1 = __webpack_require__(8656); +exports.aria_application_labelled = { + id: "aria_application_labelled", + context: "aria:application", + refactor: { + "Rpt_Aria_ApplicationLandmarkLabel": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "Pass_0": "aria_application_labelled.html", + "Fail_1": "aria_application_labelled.html", + "group": "aria_application_labelled.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Element with \"application\" role does not have a label", + "group": "Each element with \"application\" role must have a label that describes its purpose" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var pair = AccNameUtil_1.AccNameUtil.computeAccessibleName(ruleContext); + if (!pair) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 8910: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_article_label_unique = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var CacheUtil_1 = __webpack_require__(7788); +exports.aria_article_label_unique = { + 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": "aria_article_label_unique.html", + "Fail_1": "aria_article_label_unique.html", + "group": "aria_article_label_unique.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Multiple elements with \"article\" role do not have unique labels", + "group": "Each element with \"article\" role must have a unique label that describes its purpose" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Consider the Check Hidden Content setting that is set by the rules + // Also, consider Implicit role checking. + var landmarks = CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, "article", true, true); + if (landmarks.length === 0 || landmarks.length === 1) { + return null; + } + var dupes = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "aria_article_label_unique", null); + if (!dupes) { + dupes = AriaUtil_1.AriaUtil.findAriaLabelDupes(landmarks); + CacheUtil_1.CacheUtil.setCache(ruleContext.ownerDocument, "aria_article_label_unique", dupes); + } + var myLabel = AriaUtil_1.AriaUtil.getAriaLabel(ruleContext); + var passed = myLabel === "" || !(myLabel in dupes) || dupes[myLabel] <= 1; + //return new ValidationResult(passed, ruleContext, '', '', [ myLabel ]); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", [myLabel]); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 3492: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_attribute_allowed = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var ARIADefinitions_1 = __webpack_require__(8235); +var AriaUtil_1 = __webpack_require__(490); +exports.aria_attribute_allowed = { + id: "aria_attribute_allowed", + context: "dom:*", + refactor: { + "Rpt_Aria_ValidProperty": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "group": "aria_attribute_allowed.html", + "Pass_0": "aria_attribute_allowed.html", + "Fail_1": "aria_attribute_allowed.html" + } + }, + messages: { + "en-US": { + "group": "ARIA attributes must be valid for the element's role", + "Pass_0": "Rule Passed", + "Fail_1": "The attribute(s) '{0}' referenced by the element <{1}> is not a valid ARIA state or property" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: "4.1.2", + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: "5f99a7", + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var contextAttributes = ruleContext.attributes; + // This gets all elements with attributes so we still have some + // Out of Scope since not all attributes are aria + if (contextAttributes) { + var propertyDataTypes = ARIADefinitions_1.ARIADefinitions.propertyDataTypes; + var failedProperties = ""; + var testedProperties = 0; + for (var i = 0, length_1 = contextAttributes.length; i < length_1; i++) { + var attrName = contextAttributes[i].name; + if (AriaUtil_1.AriaUtil.isDefinedAriaAttribute(ruleContext, attrName)) { + testedProperties++; + // Now we just have aria attributes which can + // pass or fail based on whether there property is valid + var dataTypes = propertyDataTypes[attrName]; + if (!dataTypes) { // if property is not in valid property list + // create failedProperties comma sep list + if (failedProperties.length == 0) { + failedProperties = attrName; + } + else { + failedProperties = failedProperties + ", " + attrName; + } + } + } + } + if (testedProperties == 0) { + return null; + } + else if (failedProperties.length != 0) { + return (0, IRule_1.RuleFail)("Fail_1", [failedProperties, ruleContext.nodeName.toLowerCase()]); + } + else { + //return RulePass(1); + return (0, IRule_1.RulePass)("Pass_0"); + } + } + else { + return null; + } + // JCH - passing is based on all attributes not just aria attributes + // leading to OVER COUNTING so moved pass up + //return RulePass(1); + } +}; + + +/***/ }), + +/***/ 5316: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_attribute_conflict = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +exports.aria_attribute_conflict = { + id: "aria_attribute_conflict", + context: "dom:*[aria-required], dom:*[aria-autocomplete], dom:*[aria-readonly], dom:*[aria-disabled], dom:*[aria-placeholder]" + + ", dom:*[aria-checked], dom:*[aria-hidden], dom:*[aria-valuemax], dom:*[aria-valuemin], dom:*[aria-colspan]" + + ", dom:*[aria-rowspan]", + help: { + "en-US": { + // "pass": "aria_attribute_conflict.html", + "fail_conflict": "aria_attribute_conflict.html", + "group": "aria_attribute_conflict.html" + } + }, + messages: { + "en-US": { + // "pass": "The ARIA attribute is not conflict with the corresponding HTML attribute", + "fail_conflict": "The ARIA attribute \"{0}\" is in conflict with the corresponding HTML attribute \"{1}\"", + "group": "An ARIA attribute must not conflict with the corresponding HTML attribute" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // dependency check: if the ARIA attribute is completely invalid, skip this check + var invalidAttributes = AriaUtil_1.AriaUtil.getInvalidAriaAttributes(ruleContext); + if (invalidAttributes && invalidAttributes.length > 0) + return null; + var ret = []; + var ariaAttributes = AriaUtil_1.AriaUtil.getUserDefinedAriaAttributes(ruleContext); + if (!ariaAttributes || ariaAttributes.length === 0) + return null; + var conflictAttributes = AriaUtil_1.AriaUtil.getConflictAriaAndHtmlAttributes(ruleContext); + for (var i = 0; i < conflictAttributes.length; i++) { + ret.push((0, IRule_1.RuleFail)("fail_conflict", [conflictAttributes[i]['ariaAttr'], conflictAttributes[i]['htmlAttr']])); + if (ariaAttributes.includes(conflictAttributes[i]['ariaAttr'])) + CommonUtil_1.CommonUtil.reduceArrayItemList([conflictAttributes[i]['ariaAttr']], ariaAttributes); + } + if (ret.length > 0) + return ret; + return null; + } +}; + + +/***/ }), + +/***/ 8412: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_attribute_deprecated = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +exports.aria_attribute_deprecated = { + id: "aria_attribute_deprecated", + context: "dom:*", + help: { + "en-US": { + // "pass": "aria_attribute_deprecated.html", + "fail_aria_role": "aria_attribute_deprecated.html", + "fail_aria_attr": "aria_attribute_deprecated.html", + "fail_role_attr": "aria_attribute_deprecated.html", + "group": "aria_attribute_deprecated.html" + } + }, + messages: { + "en-US": { + // "pass": "The ARIA roles and attribute are used per specification", + "fail_aria_role": "The ARIA role \"{0}\" is deprecated in the ARIA specification", + "fail_aria_attr": "The ARIA attributes \"{0}\" are deprecated in the ARIA specification", + "fail_role_attr": "The ARIA attributes \"{0}\" are deprecated for the role \"{1}\" in the ARIA specification", + "group": "No deprecated ARIA role or attribute should be used" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next"], + "num": ["ARIA"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var ret = []; + var deprecatedRoles = AriaUtil_1.AriaUtil.getDeprecatedAriaRoles(ruleContext); + if (deprecatedRoles && deprecatedRoles.length > 0) { + for (var i = 0; i < deprecatedRoles.length; i++) + ret.push((0, IRule_1.RuleFail)('fail_aria_role', [deprecatedRoles[i]])); + } + var deprecatedAttributes = AriaUtil_1.AriaUtil.getDeprecatedAriaAttributes(ruleContext); + if (deprecatedAttributes && deprecatedAttributes.length > 0) { + for (var i = 0; i < deprecatedAttributes.length; i++) { + // "role":"any", "attribute":ariaAttrs[i]} + if (deprecatedAttributes[i].role === 'any') + ret.push((0, IRule_1.RuleFail)('fail_aria_attr', [deprecatedAttributes[i].attribute])); + else + ret.push((0, IRule_1.RuleFail)('fail_role_attr', [deprecatedAttributes[i].attribute, deprecatedAttributes[i].role])); + } + } + if (ret.length > 0) + return ret; + return null; + } +}; + + +/***/ }), + +/***/ 172: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_attribute_exists = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var ARIADefinitions_1 = __webpack_require__(8235); +var VisUtil_1 = __webpack_require__(8656); +exports.aria_attribute_exists = { + id: "aria_attribute_exists", + context: "dom:*[role]", + dependencies: ["aria_role_allowed"], + refactor: { + "Rpt_Aria_EmptyPropertyValue": { + "pass": "pass", + "fail_empty_attribute": "fail_empty_attribute" + } + }, + help: { + "en-US": { + "pass": "aria_attribute_exists.html", + "fail_empty_attribute": "aria_attribute_exists.html", + "group": "aria_attribute_exists.html" + } + }, + messages: { + "en-US": { + "pass": "Rule Passed", + "fail_empty_attribute": "The element attribute(s): '{0}' value is empty", + "group": "When specifying a required ARIA attribute, the value must not be empty" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: ["6a7281"], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the check if the element is hidden + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return; + var attrNameArr = new Array(); + var designPatterns = ARIADefinitions_1.ARIADefinitions.designPatterns; + var hasAttribute = CommonUtil_1.CommonUtil.hasAttribute; + var testedProperties = 0; + var role = AriaUtil_1.AriaUtil.getResolvedRole(ruleContext); + if (!role) + return; + if (designPatterns[role] && AriaUtil_1.AriaUtil.getRoleRequiredProperties(role, ruleContext) != null) { + var requiredRoleProps = AriaUtil_1.AriaUtil.getRoleRequiredProperties(role, ruleContext); + for (var i = 0, length_1 = requiredRoleProps.length; i < length_1; i++) { + var attribute = requiredRoleProps[i]; + if (hasAttribute(ruleContext, attribute)) { + testedProperties++; + var nodeValue = CommonUtil_1.CommonUtil.normalizeSpacing(ruleContext.getAttribute(requiredRoleProps[i])); + if (nodeValue.length == 0) + attrNameArr.push(requiredRoleProps[i]); + } + else if (requiredRoleProps[i] == "aria-labelledby") { + if ((role == "radiogroup") && (hasAttribute(ruleContext, "aria-label"))) { + testedProperties++; + var nodeValue = CommonUtil_1.CommonUtil.normalizeSpacing(ruleContext.getAttribute("aria-label")); + if (nodeValue.length == 0) + attrNameArr.push("aria-label"); + } + } + else if (requiredRoleProps[i] == "aria-valuenow") { + if ((role == "progressbar") && (hasAttribute(ruleContext, "aria-valuetext"))) { + testedProperties++; + var nodeValue = CommonUtil_1.CommonUtil.normalizeSpacing(ruleContext.getAttribute("aria-valuetext")); + if (nodeValue.length == 0) + attrNameArr.push("aria-valuetext"); + } + } + } + } + if (designPatterns[role]) { + var tagProperty = AriaUtil_1.AriaUtil.getElementAriaProperty(ruleContext); + var permittedRoles = []; + permittedRoles.push(role); + var allowedAttributes = AriaUtil_1.AriaUtil.getAllowedAriaAttributes(ruleContext, permittedRoles, tagProperty); + for (var i = 0, length_2 = allowedAttributes.length; i < length_2; i++) { + var attribute = allowedAttributes[i]; + if (attribute == "aria-checked" || attribute == "aria-selected" || + attribute == "aria-expanded" || attribute == "aria-orientation" || + attribute == "aria-level") { + if (hasAttribute(ruleContext, attribute)) { + testedProperties++; + var nodeValue = CommonUtil_1.CommonUtil.normalizeSpacing(ruleContext.getAttribute(attribute)); + if (nodeValue.length == 0 && !attrNameArr.includes(attribute)) { + attrNameArr.push(attribute); + } + } + } + } + } + var retMsg = new Array(); + var passed = attrNameArr.length == 0; + retMsg.push(attrNameArr.join(", ")); + //return new ValidationResult(passed, [ruleContext], attrNameArr, '', retMsg); + if (testedProperties == 0) { + return null; + } + else if (!passed) { + return (0, IRule_1.RuleFail)("fail_empty_attribute", retMsg); + } + else { + return (0, IRule_1.RulePass)("pass"); + } + } +}; + + +/***/ }), + +/***/ 9844: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_attribute_redundant = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +exports.aria_attribute_redundant = { + id: "aria_attribute_redundant", + context: "dom:*[aria-required], dom:*[aria-autocomplete], dom:*[aria-readonly], dom:*[aria-disabled], dom:*[aria-placeholder]" + + ", dom:*[aria-checked], dom:*[aria-hidden], dom:*[aria-valuemax], dom:*[aria-valuemin], dom:*[aria-colspan]" + + ", dom:*[aria-rowspan]", + help: { + "en-US": { + "pass": "aria_attribute_redundant.html", + "fail_redundant": "aria_attribute_redundant.html", + "group": "aria_attribute_redundant.html" + } + }, + messages: { + "en-US": { + "pass": "The ARIA attribute is not redundant with a corresponding HTML attribute", + "fail_redundant": "The ARIA attribute \"{0}\" is redundant with the HTML attribute \"{1}\"", + "group": "An ARIA attribute should not be redundant with a corresponding HTML attribute" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // dependency check: if the ARIA attribute is completely invalid, skip this check + var invalidAttributes = AriaUtil_1.AriaUtil.getInvalidAriaAttributes(ruleContext); + if (invalidAttributes && invalidAttributes.length > 0) + return null; + // if conflict already reported, ignore reporting overlap + var conflictAttributes = AriaUtil_1.AriaUtil.getConflictAriaAndHtmlAttributes(ruleContext); + if (conflictAttributes && conflictAttributes.length > 0) + return null; + var domAttributes = ruleContext.attributes; + var ariaAttrs = []; + var htmlAttrs = []; + if (domAttributes) { + for (var i = 0; i < domAttributes.length; i++) { + var attrName = domAttributes[i].name.trim().toLowerCase(); + var attrValue = ruleContext.getAttribute(attrName); + if (attrValue === '') + attrValue = null; + if (attrName.substring(0, 5) === 'aria-') + ariaAttrs.push({ name: attrName, value: attrValue }); + else + htmlAttrs.push({ name: attrName, value: attrValue }); + } + } + var ret = []; + var _loop_1 = function (i) { + var examinedHtmlAtrNames = AriaUtil_1.AriaUtil.getConflictOrOverlappingHtmlAttribute(ariaAttrs[i], htmlAttrs, 'overlapping'); + if (examinedHtmlAtrNames === null) + return "continue"; + examinedHtmlAtrNames.forEach(function (item) { + if (item['result'] === 'Pass') { //pass + ret.push((0, IRule_1.RulePass)("pass")); + } + else if (item['result'] === 'Failed') { //failed + ret.push((0, IRule_1.RuleFail)("fail_redundant", [ariaAttrs[i]['name'], item['attr']])); + } + }); + }; + for (var i = 0; i < ariaAttrs.length; i++) { + _loop_1(i); + } + if (ret.length > 0) + return ret; + return null; + } +}; + + +/***/ }), + +/***/ 9695: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_attribute_required = void 0; +var ARIADefinitions_1 = __webpack_require__(8235); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +exports.aria_attribute_required = { + id: "aria_attribute_required", + context: "dom:*[role]", + dependencies: ["aria_role_allowed"], + refactor: { + "Rpt_Aria_RequiredProperties": { + "Pass_0": "pass", + "Fail_1": "fail_missing" + } + }, + help: { + "en-US": { + "group": "aria_attribute_required.html", + "pass": "aria_attribute_required.html", + "fail_missing": "aria_attribute_required.html" + } + }, + messages: { + "en-US": { + "group": "The required attributes for the element with a role must be defined", + "pass": "The required attributes for the element with the role are defined", + "fail_missing": "Element with '{0}' role does not have the required ARIA attribute(s): '{1}'" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: "4.1.2", + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: "4e8ab6", + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var attrNameArr = new Array(); + var roleNameArr = new Array(); + var designPatterns = ARIADefinitions_1.ARIADefinitions.designPatterns; + //let implicitRole = ARIAMapper.elemToImplicitRole(ruleContext); + //let implicitRole = AriaUtil.getImplicitRole(ruleContext); + var hasAttribute = CommonUtil_1.CommonUtil.hasAttribute; + var testedRoles = 0; + var tagProperty = AriaUtil_1.AriaUtil.getElementAriaProperty(ruleContext); + var role = AriaUtil_1.AriaUtil.getResolvedRole(ruleContext); + if (!role) + return; + var requiredRoleProps = AriaUtil_1.AriaUtil.getRoleRequiredProperties(role, ruleContext); + if (designPatterns[role] && requiredRoleProps !== null) { + var allowedRoleProps = AriaUtil_1.AriaUtil.getAllowedAriaAttributes(ruleContext, role, tagProperty); + var roleMissingReqProp = false; + for (var i = 0, propertiesLength = requiredRoleProps.length; i < propertiesLength; i++) { + if (!allowedRoleProps.includes(requiredRoleProps[i])) + continue; + if (!hasAttribute(ruleContext, requiredRoleProps[i])) { + // If an aria-labelledby isn't present, an aria-label will meet the requirement. + if (requiredRoleProps[i] == "aria-labelledby") { + if ((!hasAttribute(ruleContext, "aria-label")) || (role != "radiogroup")) { + attrNameArr.push(requiredRoleProps[i]); + roleMissingReqProp = true; + } + } + else if (requiredRoleProps[i] == "aria-valuenow") { + if ((!hasAttribute(ruleContext, "aria-valuetext")) || (role != "progressbar")) { + attrNameArr.push(requiredRoleProps[i]); + roleMissingReqProp = true; + } + } + else if (requiredRoleProps[i] == "aria-controls" && role == "combobox") { + // Skip this check since aria-controls in the textbox of a combobox is already handled in rule HAAC_Combobox_Must_have_Text_Input + } + else { + attrNameArr.push(requiredRoleProps[i]); + roleMissingReqProp = true; + } + } + } + if (roleMissingReqProp == true) { + roleNameArr.push(role); + } + } + var passed = roleNameArr.length == 0 || attrNameArr.length == 0; // only aria attributes so NO OUT OF SCOPE + if (!passed) { + var retToken = new Array(); + retToken.push(roleNameArr.join(", ")); + retToken.push(attrNameArr.join(", ")); + return (0, IRule_1.RuleFail)("fail_missing", retToken); + } + else { + return (0, IRule_1.RulePass)("pass"); + } + } +}; + + +/***/ }), + +/***/ 1699: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_attribute_value_valid = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var ARIADefinitions_1 = __webpack_require__(8235); +exports.aria_attribute_value_valid = { + id: "aria_attribute_value_valid", + context: "dom:*", + dependencies: ["aria_attribute_allowed"], + refactor: { + "Rpt_Aria_ValidPropertyValue": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "group": "aria_attribute_value_valid.html", + "Pass_0": "aria_attribute_value_valid.html", + "Fail_1": "aria_attribute_value_valid.html" + } + }, + messages: { + "en-US": { + "group": "ARIA property values must be valid", + "Pass_0": "Rule Passed", + "Fail_1": "The value \"{0}\" specified for attribute '{1}' on element <{2}> is not valid" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: "6a7281", + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var valueArr = new Array(); + var attrNameArr = new Array(); + var dataTypeArr = new Array(); + var propertyDataTypes = ARIADefinitions_1.ARIADefinitions.propertyDataTypes; + var contextAttributes = ruleContext.attributes; + var testedPropertyValues = 0; + if (contextAttributes) { + for (var i = 0, length_1 = contextAttributes.length; i < length_1; i++) { + var attrName = contextAttributes[i].name; + if (AriaUtil_1.AriaUtil.isDefinedAriaAttribute(ruleContext, attrName)) { + var dataTypes = propertyDataTypes[attrName]; + var nodeValue = CommonUtil_1.CommonUtil.normalizeSpacing(contextAttributes[i].nodeValue); + testedPropertyValues++; + if (dataTypes && dataTypes.values) { + if (dataTypes.values.indexOf(nodeValue) == -1) { + if (dataTypes.values.indexOf('undefined') != -1 && nodeValue.length == 0) { + //translate 'undefined' to mean '' + } + else { + // aria-relevant is represented as a space delimited list of the following values: + // additions, removals, text; or a single catch-all value all. + if (dataTypes.type === "http://www.w3.org/2001/XMLSchema#nmtokens") { + var attrValues = contextAttributes[i].nodeValue.trim().split(" "); + // if the value all is specified, it cannot have any other value + if (attrValues.length > 1 && attrValues.includes("all")) { + valueArr.push(contextAttributes[i].nodeValue.split(" ")); + attrNameArr.push(attrName); + dataTypeArr.push(dataTypes.values.toString()); + } + else { + var hash = {}; + for (var j = 0; j < attrValues.length; j++) { + // if the individual value is not in the list of allowed values + if (attrValues[j] != "" && !dataTypes.values.includes(attrValues[j])) { + if (!hash.hasOwnProperty(attrName)) { + hash[attrName] = true; + attrNameArr.push(attrName); + } + valueArr.push(attrValues[j]); + dataTypeArr.push(dataTypes.values.toString()); + } + } + } + } + else { + valueArr.push(contextAttributes[i].nodeValue.split(" ")); + attrNameArr.push(attrName); + dataTypeArr.push(dataTypes.values.toString()); + } + } + } + } + else if (dataTypes && dataTypes.type && dataTypes.type === "http://www.w3.org/2001/XMLSchema#int") { + var iVal = parseInt(nodeValue); + if (isNaN(iVal) || ("" + iVal !== nodeValue)) { + valueArr.push(nodeValue); + attrNameArr.push(attrName); + } + } + else if (dataTypes && dataTypes.type && dataTypes.type == "http://www.w3.org/2001/XMLSchema#decimal") { + var fVal = parseFloat(nodeValue); + if (isNaN(fVal)) { + valueArr.push(nodeValue); + attrNameArr.push(attrName); + } + } + else if (dataTypes && dataTypes.type && (dataTypes.type == "http://www.w3.org/2001/XMLSchema#boolean")) { + var tmpV = nodeValue.trim().toLowerCase(); + if (tmpV !== "true" && tmpV !== "false") { + valueArr.push(nodeValue); + attrNameArr.push(attrName); + } + } + else if (dataTypes && dataTypes.type && (dataTypes.type == "http://www.w3.org/2001/XMLSchema#string")) { + } + else { + testedPropertyValues--; + } + } + } + } + var retMsg = new Array(); + var passed = attrNameArr.length == 0; + retMsg.push(valueArr.join(", ")); + retMsg.push(attrNameArr.join(", ")); + retMsg.push(ruleContext.nodeName.toLowerCase()); + // retMsg.push (dataTypeArr.join(", ")); + //return new ValidationResult(passed, [ruleContext], attrNameArr, '', retMsg); + if (testedPropertyValues == 0) { + return null; + } + else if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", retMsg); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 4974: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_banner_label_unique = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var CacheUtil_1 = __webpack_require__(7788); +exports.aria_banner_label_unique = { + 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": "aria_banner_label_unique.html", + "Fail_1": "aria_banner_label_unique.html", + "group": "aria_banner_label_unique.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Multiple elements with \"banner\" role do not have unique labels", + "group": "Each element with \"banner\" role must have a unique label that describes its purpose" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Consider the Check Hidden Content setting that is set by the rules + // Also, consider Implicit role checking. + var landmarks = CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, "banner", true, true); + if (landmarks.length === 0 || landmarks.length === 1) { + return null; + } + var dupes = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "aria_banner_label_unique", null); + if (!dupes) { + dupes = AriaUtil_1.AriaUtil.findAriaLabelDupes(landmarks); + CacheUtil_1.CacheUtil.setCache(ruleContext.ownerDocument, "aria_banner_label_unique", dupes); + } + var myLabel = AriaUtil_1.AriaUtil.getAriaLabel(ruleContext); + var passed = myLabel !== "" && (!(myLabel in dupes) || dupes[myLabel] <= 1); + //return new ValidationResult(passed, ruleContext, '', '', [ myLabel ]); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", [myLabel]); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 3054: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_banner_single = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +exports.aria_banner_single = { + 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": "aria_banner_single.html", + "Fail_1": "aria_banner_single.html", + "group": "aria_banner_single.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Multiple elements with \"banner\" role found on the page", + "group": "A page, document, or application should only have one element with \"banner\" role" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (!AriaUtil_1.AriaUtil.hasRoleInSemantics(ruleContext, "banner")) { + return null; + } + var passed = AriaUtil_1.AriaUtil.getSiblingWithRoleHidden(ruleContext, "banner", true, true) === null; + //return new ValidationResult(passed, [ruleContext], 'role', '', []); + if (passed) { + return (0, IRule_1.RulePass)("Pass_0"); + } + else { + return (0, IRule_1.RuleFail)("Fail_1"); + } + } +}; + + +/***/ }), + +/***/ 4649: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_child_tabbable = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var ARIADefinitions_1 = __webpack_require__(8235); +var VisUtil_1 = __webpack_require__(8656); +exports.aria_child_tabbable = { + id: "aria_child_tabbable", + context: "dom:*[role]", + dependencies: ["aria_role_allowed"], + refactor: { + "Rpt_Aria_MissingFocusableChild": { + "pass": "pass", + "fail_missing_child": "fail_missing_child" + } + }, + help: { + "en-US": { + "pass": "aria_child_tabbable.html", + "fail_missing_child": "aria_child_tabbable.html", + "group": "aria_child_tabbable.html" + } + }, + messages: { + "en-US": { + "pass": "Rule Passed", + "fail_missing_child": "None of the descendent elements with \"{1}\" role is tabbable", + "group": "UI component must have at least one tabbable descendant for keyboard access" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the check if the element is hidden or disabled + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) + return; + //skip the check if the element requires presentational children only + if (AriaUtil_1.AriaUtil.containsPresentationalChildrenOnly(ruleContext) || AriaUtil_1.AriaUtil.shouldBePresentationalChild(ruleContext)) + return; + // An ARIA list is not interactive + if (AriaUtil_1.AriaUtil.hasRole(ruleContext, { "list": true, "row": true, "rowgroup": true, "table": true, "grid": true })) { + return null; + } + // Not a valid message for mobile because all elements are focusable in iOS when VoiceOver is enabled. + if (ruleContext.hasAttribute("class") && ruleContext.getAttribute("class").substring(0, 3) == "mbl") { + return null; + } + //ignore datalist element check since it will be part of a input element or hidden by default + if (ruleContext.nodeName.toLowerCase() === 'datalist') + return null; + var roles = ruleContext.getAttribute("role").trim().toLowerCase().split(/\s+/); + // Determine if this is referenced by a combobox. If so, focus is controlled by the combobox + // ignore if the id of the element is referenced by another element with "aria-controls" or "aria-expanded" and with certain roles. If so, focus is controlled by the referencing element + var id = ruleContext.getAttribute("id"); + if (id && id.trim().length > 0) { + /**if (ruleContext.ownerDocument.querySelector(`*[aria-controls='${id}'][role='combobox']`)) { + return null; + } + */ + var elem = ruleContext.ownerDocument.querySelector("*[aria-controls='".concat(id, "'][aria-haspopup='true'], *[aria-controls='").concat(id, "'][aria-expanded='true']")); + var containers_1 = ['combobox', 'listbox', 'menu', 'menubar', 'radiogroup', 'tree', 'treegrid']; + if (elem && CommonUtil_1.CommonUtil.isTabbable(elem) && roles && roles.length > 0 && roles.some(function (r) { return containers_1.includes(r); })) + return null; + } + var passed = true; + var doc = ruleContext.ownerDocument; + var hasAttribute = CommonUtil_1.CommonUtil.hasAttribute; + var roleNameArr = new Array(); + var nodeName = ""; + var inScope = false; + for (var j = 0; j < roles.length; ++j) { + if (ARIADefinitions_1.ARIADefinitions.containers.includes(roles[j])) { + var disabled = hasAttribute(ruleContext, 'aria-disabled') ? ruleContext.getAttribute("aria-disabled") : ''; + if (disabled != 'true' && !hasAttribute(ruleContext, 'aria-activedescendant') && !CommonUtil_1.CommonUtil.isTabbable(ruleContext)) { + var reqChildren = ARIADefinitions_1.ARIADefinitions.designPatterns[roles[j]].reqChildren; + if (reqChildren) { + inScope = true; + passed = false; + var xp = "descendant::*["; + for (var i = 0; i < reqChildren.length; i++) { + xp += "@role='" + reqChildren[i] + "' or "; + } + xp = xp.substring(0, xp.length - 4) + ']'; + var xpathResult = doc.evaluate(xp, ruleContext, CommonUtil_1.CommonUtil.defaultNSResolver, 0 /* XPathResult.ANY_TYPE */, null); + var r = xpathResult.iterateNext(); + while (r && !passed) { + // Following are the steps that are executed at this stage to determine if the node should be classified as hidden + // or not. + // 1. Only run isNodeVisible check if hidden content should NOT be checked. In the case that hidden content is to, + // be scanned then we can just scan everything as normal. In the case that the current node is hidden we do not + // add it to the roleToElems hash at all or even do any checking for it at all. + // + // Note: The if conditions uses short-circuiting so if the first condition is not true it will not check the next one, + // so on and so forth. + if (CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(r)) { + r = xpathResult.iterateNext(); + continue; + } + passed = CommonUtil_1.CommonUtil.isTabbable(r); + // Required child is not focusable via tabindex. See if there is a grandchild that is focusable by default or by tabindex. + if (!passed) { + var xp2 = "descendant::*"; + var xpathResult2 = doc.evaluate(xp2, r, CommonUtil_1.CommonUtil.defaultNSResolver, 0 /* XPathResult.ANY_TYPE */, null); + var r2 = xpathResult2.iterateNext(); + while (r2 && !passed) { + // Following are the steps that are executed at this stage to determine if the node should be classified as hidden + // or not. + // 1. Only run isNodeVisible check if hidden content should NOT be checked. In the case that hidden content is to, + // be scanned then we can just scan everything as normal. In the case that the current node is hidden we do not + // add it to the roleToElems hash at all or even do any checking for it at all. + // + // Note: The if conditions uses short-circuiting so if the first condition is not true it will not check the next one, + // so on and so forth. + if (CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(r2)) { + r2 = xpathResult2.iterateNext(); + continue; + } + passed = CommonUtil_1.CommonUtil.isTabbable(r); + r2 = xpathResult2.iterateNext(); + } + } + if (!passed) { + roleNameArr = r.getAttribute("role").trim().split(" "); + nodeName = r.nodeName.toLowerCase(); + } + r = xpathResult.iterateNext(); + } + } + } + } + } + // Variable Decleration + var retToken1 = new Array(); + var retToken2 = new Array(); + // In the case the arrays/strings are empty, that means that there is no violation so we can reset it back to passed, the reason for this + // is that we are setting passed=false while we perform a loop which causes violation to trigger even if there is no issues. Instead of + // updating the whole rule to switch from using passed in that way simply do the check at this point. + if (nodeName.length > 0 && roleNameArr.length > 0) { + retToken1.push(nodeName); + retToken2.push(roleNameArr.join(", ")); + } + else { + passed = true; + } + //return new ValidationResult(passed, [ruleContext], 'role', '', passed == true ? [] : [retToken1, retToken2]); + if (!inScope) { + return null; + } + else if (!passed) { + return (0, IRule_1.RuleFail)("fail_missing_child", [retToken1.toString(), retToken2.toString()]); + } + else { + return (0, IRule_1.RulePass)("pass"); + } + } +}; + + +/***/ }), + +/***/ 4193: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_child_valid = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var VisUtil_1 = __webpack_require__(8656); +exports.aria_child_valid = { + id: "aria_child_valid", + //context: "dom:*[role]", + //dependencies: ["Rpt_Aria_ValidRole"], + context: "dom:*", + dependencies: ["aria_role_valid", "aria_descendant_valid"], + help: { + "en-US": { + "group": "aria_child_valid.html", + "Pass": "aria_child_valid.html", + "Fail_no_child": "aria_child_valid.html", + "Fail_invalid_child": "aria_child_valid.html" + } + }, + messages: { + "en-US": { + "group": "An element with an ARIA role must own a required child", + "Pass": "An element with an ARIA role owns a required child", + "Fail_no_child": "The element with role \"{0}\" does not own any child element with any of the following role(s): \"{1}\"", + "Fail_invalid_child": "The element with role \"{0}\" owns the child element with the role \"{1}\" that is not one of the allowed role(s): \"{2}\"" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + // TODO: ACT: Verify mapping + act: ["bc4a75"], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the check if the element is hidden or disabled + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) + return; + //skip the check if the element requires presentational children only + if (AriaUtil_1.AriaUtil.containsPresentationalChildrenOnly(ruleContext)) + return; + var roles = AriaUtil_1.AriaUtil.getRoles(ruleContext, false); + // if explicit role doesn't exist, get the implicit one + if (!roles || roles.length === 0) + roles = AriaUtil_1.AriaUtil.getImplicitRole(ruleContext); + //ignore if the element doesn't have any explicit or implicit role, shouldn't happen + if (!roles || roles.length === 0) + return null; + // ignore if the element contains none or presentation role + var presentationRoles = ["none", "presentation"]; + var found = roles.some(function (r) { return presentationRoles.includes(r); }); + if (found) + return null; + // For combobox, we have g1193 ... g1199 to check the values etc. + // We don't want to trigger 1152 again. So, we bypass it here. + if (roles.includes("combobox")) + return null; + var requiredChildRoles = AriaUtil_1.AriaUtil.getRequiredChildRoles(ruleContext, true); + // a 'group' role is allowed but not required for some elements so remove it if exists + if (requiredChildRoles.includes('group')) { + var index = requiredChildRoles.indexOf('group'); + if (index > -1) + requiredChildRoles.splice(index, 1); + } + /** + * ignore if a role doesn't require a child with any specific role + * the reverse might be not true - parent will be checked in Rpt_Aria_RequiredParent_Native_Host_Sematics rule + */ + if (requiredChildRoles.length == 0) + return null; + // get all the children from accessibility tree, + // including ones with aria-owns + var directATChildren = AriaUtil_1.AriaUtil.getDirectATChildren(ruleContext); + if (!directATChildren || directATChildren.length == 0) { + // the element with at least one required role dosen't contain any accessible child + /** + * When a widget is missing required owned elements due to script execution or loading, + * authors MUST mark a containing element with 'aria-busy' equal to true. + */ + var busy = ruleContext.getAttribute("aria-busy"); + if (!busy || busy !== 'true') { + var retToken = new Array(); + retToken.push(roles.join(", ")); + retToken.push(requiredChildRoles.join(", ")); + return (0, IRule_1.RuleFail)("Fail_no_child", retToken); + } + // it's 'busy' loading, ignore it + return null; + } + var violateElemRoles = new Array(); + for (var j = 0; j < directATChildren.length; j++) { + var childRoles = AriaUtil_1.AriaUtil.getRoles(directATChildren[j], false); + // if explicit role doesn't exist, get the implicit one + if (!childRoles || childRoles.length == 0) + childRoles = AriaUtil_1.AriaUtil.getImplicitRole(directATChildren[j]); + if (childRoles && childRoles.length > 0) { + /** + * when multiple roles are specified as required owned elements for a role, at least one instance of one required owned element is expected. + * the specification does not require an instance of each of the listed owned roles. + * therefore, the requirement is met if it has any one of the required roles. + */ + var found_1 = childRoles.some(function (r) { return requiredChildRoles.includes(r); }); + if (!found_1) + violateElemRoles.push(childRoles.join(", ")); + } + else { + // ignore the element since it's not semantic, shouldn't happen + } + } + if (violateElemRoles.length > 0) { + var retValues = []; + for (var i = 0; i < violateElemRoles.length; i++) { + var retToken = new Array(); + retToken.push(roles.join(", ")); + retToken.push(violateElemRoles[i]); + retToken.push(requiredChildRoles.join(", ")); + retValues.push((0, IRule_1.RuleFail)("Fail_invalid_child", retToken)); + } + return retValues; + } + return (0, IRule_1.RulePass)("Pass"); + } +}; + + +/***/ }), + +/***/ 3188: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_complementary_label_unique = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var CacheUtil_1 = __webpack_require__(7788); +exports.aria_complementary_label_unique = { + 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": "aria_complementary_label_unique.html", + "Fail_1": "aria_complementary_label_unique.html", + "group": "aria_complementary_label_unique.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Multiple elements with \"complementary\" role do not have unique labels", + "group": "Each element with \"complementary\" role must have a unique label that describes its purpose" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Consider the Check Hidden Content setting that is set by the rules + // Also, consider Implicit role checking. + var landmarks = CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, "complementary", true, true); + if (landmarks.length === 0 || landmarks.length === 1) { + return null; + } + var dupes = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "aria_complementary_label_unique", null); + if (!dupes) { + dupes = AriaUtil_1.AriaUtil.findAriaLabelDupes(landmarks); + CacheUtil_1.CacheUtil.setCache(ruleContext.ownerDocument, "aria_complementary_label_unique", dupes); + } + var myLabel = AriaUtil_1.AriaUtil.getAriaLabel(ruleContext); + var passed = myLabel !== "" && (!(myLabel in dupes) || dupes[myLabel] <= 1); + //return new ValidationResult(passed, ruleContext, '', '', [ myLabel ]); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", [myLabel]); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 4176: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_complementary_label_visible = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +exports.aria_complementary_label_visible = { + id: "aria_complementary_label_visible", + context: "dom:*[role], dom:aside", + dependencies: ["aria_complementary_labelled"], + refactor: { + "Rpt_Aria_ComplementaryLandmarkLabel_Implicit": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "Pass_0": "aria_complementary_label_visible.html", + "Fail_1": "aria_complementary_label_visible.html", + "group": "aria_complementary_label_visible.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Element with \"complementary\" role does not have a visible label", + "group": "Each element with \"complementary\" role should have a visible label that describes its purpose" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (!AriaUtil_1.AriaUtil.hasRoleInSemantics(ruleContext, "complementary")) { + return null; + } + var passed = CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "aria-labelledby"); + //return new ValidationResult(passed, [ruleContext], 'role', '', []); + if (passed) { + return (0, IRule_1.RulePass)("Pass_0"); + } + else { + return (0, IRule_1.RuleFail)("Fail_1"); + } + } +}; + + +/***/ }), + +/***/ 7964: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_complementary_labelled = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AccNameUtil_1 = __webpack_require__(1421); +var VisUtil_1 = __webpack_require__(8656); +exports.aria_complementary_labelled = { + id: "aria_complementary_labelled", + context: "aria:complementary", + refactor: { + "Rpt_Aria_ComplementaryRequiredLabel_Implicit": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "Pass_0": "aria_complementary_labelled.html", + "Fail_1": "aria_complementary_labelled.html", + "group": "aria_complementary_labelled.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Element with \"complementary\" role does not have a label", + "group": "Each element with \"complementary\" role must have a label that describes its purpose" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var pair = AccNameUtil_1.AccNameUtil.computeAccessibleName(ruleContext); + if (pair) { + return (0, IRule_1.RulePass)("Pass_0"); + } + else { + return (0, IRule_1.RuleFail)("Fail_1"); + } + } +}; + + +/***/ }), + +/***/ 2554: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_content_in_landmark = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var CacheUtil_1 = __webpack_require__(7788); +var DOMWalker_1 = __webpack_require__(7440); +var VisUtil_1 = __webpack_require__(8656); +var TableUtil_1 = __webpack_require__(5755); +exports.aria_content_in_landmark = { + 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": "aria_content_in_landmark.html", + "Fail_1": "aria_content_in_landmark.html", + "group": "aria_content_in_landmark.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Content is not within a landmark element", + "group": "All content must reside within an element with a landmark role" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }, + { + "id": ["WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var params = CacheUtil_1.CacheUtil.getCache(context.dom.node.ownerDocument, "aria_content_in_landmark", null); + if (!params) { + params = { + landmarks: { + value: ["banner", "complementary", "contentinfo", "form", "main", "navigation", "region", "search"], + type: "array" + }, + possibleOrphanedWidgets: { + value: ["button", "combobox", "checkbox", "grid", "heading", "link", "list", + "listbox", "menu", "menubar", "progressbar", "radio", "tablist", "textbox", "toolbar", "tree", + "treegrid" + ], + type: "array" + }, + possibleOrphanedElements: { + value: ["p", "table", "input", "textarea", "select", "button", "a", "ol", "ul", "dl", "h1", "h2", "h3", "h4", "h5", + "h6", "embed", "object", "area" + ], + type: "array" + }, + noLandmarkedRoles: { + // These roles don't require landmarks + value: ["alert", "alertdialog", "dialog", "tooltip"], + type: "array" + }, + mapLandmarks: {}, + mapPossibleOrphanedWidgets: {}, + mapPossibleOrphanedElements: {}, + mapNoLandmarkedRoles: {} + }; + // Convert arrays to maps + params.mapLandmarks = {}; + for (var i = 0; i < params.landmarks.value.length; ++i) { + params.mapLandmarks[params.landmarks.value[i]] = true; + } + params.mapPossibleOrphanedWidgets = {}; + for (var i = 0; i < params.possibleOrphanedWidgets.value.length; ++i) { + params.mapPossibleOrphanedWidgets[params.possibleOrphanedWidgets.value[i]] = true; + } + params.mapPossibleOrphanedElements = {}; + for (var i = 0; i < params.possibleOrphanedElements.value.length; ++i) { + params.mapPossibleOrphanedElements[params.possibleOrphanedElements.value[i]] = true; + } + params.mapNoLandmarkedRoles = {}; + for (var i = 0; i < params.noLandmarkedRoles.value.length; ++i) { + params.mapNoLandmarkedRoles[params.noLandmarkedRoles.value[i]] = true; + } + CacheUtil_1.CacheUtil.setCache(context.dom.node.ownerDocument, "aria_content_in_landmark", params); + } + var ruleContext = context["dom"].node; + var nodeName = ruleContext.nodeName.toLowerCase(); + if (!VisUtil_1.VisUtil.isNodeVisible(ruleContext) || // avoid diagnosing g1157 for non-visible nodes + (VisUtil_1.VisUtil.hiddenByDefaultElements != null && + VisUtil_1.VisUtil.hiddenByDefaultElements != undefined && + VisUtil_1.VisUtil.hiddenByDefaultElements.indexOf(nodeName) > -1)) { + return (0, IRule_1.RulePass)("Pass_0"); + } + var elemsWithoutContent = ["area", "input", "embed", "button", "textarea", "select"]; + if (!CommonUtil_1.CommonUtil.hasInnerContentHidden(ruleContext) && //only trigger the rule on elements that have content + elemsWithoutContent.indexOf(nodeName) === -1) { // a few elems wihout content should not be skipped + return (0, IRule_1.RulePass)("Pass_0"); + } + // Short circuit for layout tables + if (nodeName == "table" && TableUtil_1.TableUtil.isLayoutTable(ruleContext)) { + return null; + } + // Check if it is a possible orphan + var passed = true; + var isPossibleOrphanedWidget = AriaUtil_1.AriaUtil.hasRole(ruleContext, params.mapPossibleOrphanedWidgets, true); + //exclude <link rel="stylesheet" href="xyz.css"> in the <head> and <body>(#608) + //having link in the head could cause lot of violaions + if (nodeName === 'link') { + isPossibleOrphanedWidget = false; + } + var isPossibleOrphanedElement = nodeName in params.mapPossibleOrphanedElements; + if (isPossibleOrphanedWidget || isPossibleOrphanedElement) { + // See if ancestor has landmark roles or implicit land mark roles + var parentRoles = contextHierarchies["aria"].map(function (info) { return info.role; }); + passed = parentRoles.filter(function (role) { return role in params.mapLandmarks; }).length > 0; + if (!passed) { + // Don't fail elements when a parent or sibling has failed - causes too many messages. + var walkElement = DOMWalker_1.DOMWalker.parentElement(ruleContext); + while (!passed && walkElement != null) { + passed = CacheUtil_1.CacheUtil.getCache(walkElement, "Rpt_Aria_OrphanedContent", false); + walkElement = DOMWalker_1.DOMWalker.parentElement(walkElement); + } + walkElement = ruleContext.nextElementSibling; + while (!passed && walkElement != null) { + passed = CacheUtil_1.CacheUtil.getCache(walkElement, "Rpt_Aria_OrphanedContent", false); + walkElement = walkElement.nextElementSibling; + } + walkElement = ruleContext.previousElementSibling; + while (!passed && walkElement != null) { + passed = CacheUtil_1.CacheUtil.getCache(walkElement, "Rpt_Aria_OrphanedContent", false); + walkElement = walkElement.previousElementSibling; + } + if (!passed) { + CacheUtil_1.CacheUtil.setCache(ruleContext, "Rpt_Aria_OrphanedContent", true); + // Don't trigger rule if element is a stand-alone widget + passed = CacheUtil_1.CacheUtil.getCache(ruleContext, "Rpt_Aria_OrphanedContent_NoTrigger", false) || + AriaUtil_1.AriaUtil.hasRole(ruleContext, params.mapNoLandmarkedRoles, true) || + AriaUtil_1.AriaUtil.getAncestorWithRole(ruleContext, params.mapNoLandmarkedRoles, true); + if (passed) { + CacheUtil_1.CacheUtil.setCache(ruleContext, "Rpt_Aria_OrphanedContent_NoTrigger", true); + return null; + } + } + else { + return null; + } + } + } + else { + return null; + } + //return new ValidationResult(passed, [ruleContext], '', '', []); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 1229: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_contentinfo_label_unique = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var CacheUtil_1 = __webpack_require__(7788); +exports.aria_contentinfo_label_unique = { + 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": "aria_contentinfo_label_unique.html", + "Fail_1": "aria_contentinfo_label_unique.html", + "group": "aria_contentinfo_label_unique.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Multiple elements with \"contentinfo\" role do not have unique labels", + "group": "Each element with \"contentinfo\" role must have a unique label that describes its purpose" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Consider the Check Hidden Content setting that is set by the rules + // Also, consider Implicit role checking. + var landmarks = CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, "contentinfo", true, true); + if (landmarks.length === 0 || landmarks.length === 1) { + return null; + } + var dupes = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "aria_contentinfo_label_unique", null); + if (!dupes) { + dupes = AriaUtil_1.AriaUtil.findAriaLabelDupes(landmarks); + CacheUtil_1.CacheUtil.setCache(ruleContext.ownerDocument, "aria_contentinfo_label_unique", dupes); + } + var myLabel = AriaUtil_1.AriaUtil.getAriaLabel(ruleContext); + var passed = myLabel !== "" && (!(myLabel in dupes) || dupes[myLabel] <= 1); + //return new ValidationResult(passed, ruleContext, '', '', [ myLabel ]); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", [myLabel]); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 8523: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_contentinfo_misuse = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +exports.aria_contentinfo_misuse = { + 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": "aria_contentinfo_misuse.html", + "Fail_1": "aria_contentinfo_misuse.html", + "group": "aria_contentinfo_misuse.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Element with \"contentinfo\" role is present without an element with \"main\" role", + "group": "Each element with \"contentinfo\" role is only permitted with an element with \"main\" role" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //consider implicit role + if (!AriaUtil_1.AriaUtil.hasRoleInSemantics(ruleContext, "contentinfo")) { + return null; + } + // Consider the Check Hidden Content setting that is set by the rules + var passed = CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, "main", true, true).length > 0; + //return new ValidationResult(passed, [ruleContext], 'role', '', []); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 3781: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_contentinfo_single = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +exports.aria_contentinfo_single = { + 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": "aria_contentinfo_single.html", + "Fail_1": "aria_contentinfo_single.html", + "group": "aria_contentinfo_single.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Multiple elements with \"contentinfo\" role found on the page", + "group": "A page, document, or application should only have one element with \"contentinfo\" role" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //find out if <footer> element has siblings as <footer> has implicit contentinfo role + if (!AriaUtil_1.AriaUtil.hasRoleInSemantics(ruleContext, "contentinfo")) { + return null; + } + var passed = !AriaUtil_1.AriaUtil.getSiblingWithRoleHidden(ruleContext, "contentinfo", true, true); + //return new ValidationResult(passed, [ruleContext], 'role', '', []); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 8509: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_descendant_valid = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var VisUtil_1 = __webpack_require__(8656); +exports.aria_descendant_valid = { + id: "aria_descendant_valid", + context: "dom:*", + dependencies: ["aria_role_valid"], + help: { + "en-US": { + "group": "aria_descendant_valid.html", + "pass": "aria_descendant_valid.html", + "potential_child_implicit_role": "aria_descendant_valid.html", + "fail_child_explicit_role": "aria_descendant_valid.html" + } + }, + messages: { + "en-US": { + "group": "Browsers ignore the explicit and implicit ARIA roles of the descendants of certain elements", + "pass": "The element contains valid descendants", + "potential_child_implicit_role": "The element with role \"{0}\" contains descendants with implicit roles \"{1}\" which are ignored by browsers", + "fail_child_explicit_role": "The element with role \"{0}\" contains descendants with roles \"{1}\" which are ignored by browsers" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + // TODO: ACT: Verify mapping + act: ["307n5z"], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the check if the element is hidden or disabled + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) + return; + //skip the check if the element doesn't require presentational children only + if (!AriaUtil_1.AriaUtil.containsPresentationalChildrenOnly(ruleContext)) + return; + var roles = AriaUtil_1.AriaUtil.getRoles(ruleContext, false); + // if explicit role doesn't exist, get the implicit one + if (!roles || roles.length === 0) + roles = AriaUtil_1.AriaUtil.getImplicitRole(ruleContext); + //ignore if the element doesn't have any explicit or implicit role, shouldn't happen + if (!roles || roles.length === 0) + return null; + var tagName = ruleContext.tagName.toLowerCase(); + // get all the children from accessibility tree, + // including ones with aria-owns + var directATChildren = AriaUtil_1.AriaUtil.getDirectATChildren(ruleContext); + if (directATChildren && directATChildren.length > 0) { + // the element with at least one non-presentational children + var explicitRoles = new Array(); + var implicitRoles = new Array(); + for (var j = 0; j < directATChildren.length; j++) { + // ignore <img> and <svg> + var tag = directATChildren[j].nodeName.toLowerCase(); + if (tag === 'img' || tag === 'svg') + continue; + // get explicit role if exists + var childRoles = AriaUtil_1.AriaUtil.getRoles(directATChildren[j], false); + if (childRoles && childRoles.length > 0) { + explicitRoles.push(childRoles.join(", ")); + } + else { + // get implicit role if exists + childRoles = AriaUtil_1.AriaUtil.getImplicitRole(directATChildren[j]); + if (childRoles && childRoles.length > 0) + implicitRoles.push(childRoles.join(", ")); + } + } + if (explicitRoles.length > 0) { + var retValues = []; + for (var i = 0; i < explicitRoles.length; i++) { + var retToken = new Array(); + retToken.push(roles.join(", ")); + retToken.push(explicitRoles[i]); + retValues.push((0, IRule_1.RuleFail)("fail_child_explicit_role", retToken)); + } + return retValues; + } + if (implicitRoles.length > 0) { + var retValues = []; + for (var i = 0; i < implicitRoles.length; i++) { + var retToken = new Array(); + retToken.push(roles.join(", ")); + retToken.push(implicitRoles[i]); + retValues.push((0, IRule_1.RulePotential)("potential_child_implicit_role", retToken)); + } + return retValues; + } + } + else + return (0, IRule_1.RulePass)("pass"); + } +}; + + +/***/ }), + +/***/ 3234: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_document_label_unique = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var CacheUtil_1 = __webpack_require__(7788); +exports.aria_document_label_unique = { + 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": "aria_document_label_unique.html", + "Fail_1": "aria_document_label_unique.html", + "group": "aria_document_label_unique.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Multiple elements with \"document\" roles do not have unique labels", + "group": "Each element with \"document\" role must have a unique label that describes its purpose" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Consider the Check Hidden Content setting that is set by the rules + // Also, consider Implicit role checking. + var landmarks = CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, "document", true, true); + if (landmarks.length === 0 || landmarks.length === 1) { + return null; + } + var dupes = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "aria_document_label_unique", null); + if (!dupes) { + dupes = AriaUtil_1.AriaUtil.findAriaLabelDupes(landmarks); + CacheUtil_1.CacheUtil.setCache(ruleContext.ownerDocument, "aria_document_label_unique", dupes); + } + var myLabel = AriaUtil_1.AriaUtil.getAriaLabel(ruleContext); + var passed = myLabel === "" || !(myLabel in dupes) || dupes[myLabel] <= 1; + // return new ValidationResult(passed, ruleContext, '', '', [ myLabel ]); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", [myLabel]); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 5217: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_eventhandler_role_valid = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +exports.aria_eventhandler_role_valid = { + 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": "aria_eventhandler_role_valid.html", + "Fail_1": "aria_eventhandler_role_valid.html", + "group": "aria_eventhandler_role_valid.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "The <{0}> element with '{1}' does not have a valid ARIA role specified", + "group": "Elements with event handlers must have a valid ARIA role" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Don't trigger this for SVG element for now until a determination is made (by Rich) + // to support SVG at a point when the SVG a11y spec is ready. + if (CommonUtil_1.CommonUtil.getAncestor(ruleContext, "svg")) { + return null; + } + //this rule is passed if a element has attribut role + //also, passed of element has any implicit roles. + if (AriaUtil_1.AriaUtil.hasAnyRole(ruleContext, true)) { + return (0, IRule_1.RulePass)("Pass_0"); + } + //pass if this element is received focus by default + if (CommonUtil_1.CommonUtil.isfocusableByDefault(ruleContext)) { + return (0, IRule_1.RulePass)("Pass_0"); + } + //validate if this element has any of the given event handler's + var retToken1 = new Array(); + retToken1.push(ruleContext.nodeName.toLowerCase()); + var eventArr = new Array(); + // From WCAG20_Script_UseW3CDomFunctions + //let events = ["onblur", "onfocus", "onchange", "onclick", "oncontextmenu", "ondblclick", "onkeydown", + // "onkeypress", "onkeyup", "onload", "onmousedown", "onmouseup", "onmousemove", "onmouseout", + // "onmouseover", "onmousewheel", "onreset", "onpaste", "onresize", "onscroll", + // "onselect", "onsubmit", "onactivate", "ondeactivate", "onmouseenter", "onmouseleave"]; + var events = ["onblur", "onfocus", "onchange", "onclick", "ondblclick", "onkeydown", + "onkeypress", "onkeyup", "onmousedown", "onmouseup", "onmousemove", "onmouseout", + "onmouseover", "onresize" + ]; + for (var i = 0; i < events.length; ++i) { + if (ruleContext.hasAttribute(events[i])) + eventArr.push(events[i]); + } + var retToken2 = new Array(); + retToken2.push(eventArr.join(", ")); + //return new ValidationResult(false, [ruleContext], '', '', [retToken1, retToken2]); + return (0, IRule_1.RuleFail)("Fail_1", [retToken1.toString(), retToken2.toString()]); + } +}; + + +/***/ }), + +/***/ 4050: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_form_label_unique = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var CacheUtil_1 = __webpack_require__(7788); +exports.aria_form_label_unique = { + 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": "aria_form_label_unique.html", + "Fail_1": "aria_form_label_unique.html", + "group": "aria_form_label_unique.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Multiple elements with \"form\" role do not have unique labels", + "group": "Each element with \"form\" role must have a unique label that describes its purpose" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Per https://www.w3.org/TR/2017/NOTE-wai-aria-practices-1.1-20171214/examples/landmarks/HTML5.html + // form element should only be considered if it has an aria label or title + if (ruleContext.getAttribute("role") === "form" || + ruleContext.hasAttribute("aria-label") || + ruleContext.hasAttribute("aria-labelledby") || + ruleContext.hasAttribute("title")) { + // Consider the Check Hidden Content setting that is set by the rules + // Also, consider Implicit role checking. + var landmarks = CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, "form", true, true); + if (landmarks.length === 0 || landmarks.length === 1) { + return null; + } + var dupes = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "aria_form_label_unique", null); + if (!dupes) { + dupes = AriaUtil_1.AriaUtil.findAriaLabelDupes(landmarks); + CacheUtil_1.CacheUtil.setCache(ruleContext.ownerDocument, "aria_form_label_unique", dupes); + } + var myLabel = AriaUtil_1.AriaUtil.getAriaLabel(ruleContext); + var passed = myLabel !== "" && + (!(myLabel in dupes) || dupes[myLabel] <= 1); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", [myLabel]); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } + else { + return null; + } + } +}; + + +/***/ }), + +/***/ 4275: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_graphic_labelled = void 0; +var IRule_1 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var VisUtil_1 = __webpack_require__(8656); +exports.aria_graphic_labelled = { + 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": "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: { + "en-US": { + "group": "An element with a graphics role must have a non-empty label", + "Pass_0": "Rule Passed", + "Fail_1": "Element with \"{0}\" graphics role has no label", + "Fail_2": "Element with \"{0}\" graphics role has no label or an empty label", + "Fail_3": "Element with \"{0}\" graphics role missing non-empty 'aria-label' or 'aria-labelledby'" + } + }, + rulesets: [], + act: [{ + "7d6734": { + "Pass_0": "pass", + "Fail_1": "inapplicable", + "Fail_2": "fail", + "Fail_3": "inapplicable" + } + }], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + if (!ruleContext.hasAttribute("role") || !ruleContext.getAttribute("role").includes("graphics-")) + return null; + /* removed the role check role= presentation since if an element has role=img, then there needs to be a check for alt attribute regardless of the presecne of role=presentation + if (RPTUtil.hasRole(ruleContext, "presentation") || RPTUtil.hasRole(ruleContext, "none")){ + return RulePass(1); + }*/ + // If role === img, you must use an aria label + //check attributes aria-label and aria-labelledby for other tags (e.g., <div>, <span>, etc) + var passed = AriaUtil_1.AriaUtil.getAriaLabel(ruleContext).length > 0; + if (!passed && ruleContext.nodeName.toLowerCase() === "svg") { + var svgTitle = ruleContext.querySelector("title"); + passed = svgTitle && CommonUtil_1.CommonUtil.hasInnerContent(svgTitle); + } + if (!passed) { + //check title attribute + passed = CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "title"); + // We should guide people to use alt or label - this is just a secondary approach to silence the rule. + // So, we should keep the POF from above. + // if (!passed) POF = "Fail_3"; + } + //return new ValidationResult(passed, [ruleContext], 'role', '', []); + if (passed) { + return (0, IRule_1.RulePass)("Pass_0"); + } + else { + return (0, IRule_1.RuleFail)("Fail_2", [ruleContext.getAttribute("role")]); + } + } +}; + + +/***/ }), + +/***/ 1465: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_hidden_nontabbable = void 0; +var CommonUtil_1 = __webpack_require__(8137); +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +exports.aria_hidden_nontabbable = { + 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_nontabbable.html", + "Pass_0": "aria_hidden_nontabbable.html", + "Fail_1": "aria_hidden_nontabbable.html" + } + }, + messages: { + "en-US": { + "group": "A hidden element should not contain any tabbable elements", + "Pass_0": "Rule Passed", + "Fail_1": "Element \"{0}\" should not be focusable within the subtree of an element with an 'aria-hidden' attribute with value 'true'" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: ["1.3.1", "4.1.2"], + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_TWO + }], + // TODO: ACT: Handle testcase with focus jumping away + act: "6cfa84", + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var nodeName = ruleContext.nodeName.toLowerCase(); + if (CommonUtil_1.CommonUtil.isTabbable(ruleContext)) { + return (0, IRule_1.RuleFail)("Fail_1", [nodeName]); + } + return (0, IRule_1.RulePass)("Pass_0"); + } +}; + + +/***/ }), + +/***/ 405: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_id_unique = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var fragment_1 = __webpack_require__(482); +var ARIADefinitions_1 = __webpack_require__(8235); +var VisUtil_1 = __webpack_require__(8656); +exports.aria_id_unique = { + id: "aria_id_unique", + context: "dom:*", + refactor: { + "Rpt_Aria_ValidIdRef": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "Pass_0": "aria_id_unique.html", + "Fail_1": "aria_id_unique.html", + "group": "aria_id_unique.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "The 'id' \"{0}\" specified for the ARIA property '{1}' value is not valid", + "group": "The ARIA property must reference a non-empty unique id of an existing element that is visible" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + // TODO: ACT: 6a7281 - Need a separate reason code when the property is not required. ACT says it's okay to be + // invalid when not required. I think we should still fail, but flag it as a different reason so that we can have a subset + // aligns with ACT. + act: ["59796f", "6a7281"], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var pass = true; + var attrNameArr = new Array(); + var nonExistantIDs = new Array(); + var ownerDocument = fragment_1.FragmentUtil.getOwnerFragment(ruleContext); + var contextAttributes = ruleContext.attributes; + var idTokens = new Array(); + var testedReferences = 0; + if (contextAttributes) { + for (var i = 0, attrLength = contextAttributes.length; i < attrLength; i++) { + pass = true; + var attrName = contextAttributes[i].name; + if (AriaUtil_1.AriaUtil.isDefinedAriaAttribute(ruleContext, attrName)) { + var dataTypes = ARIADefinitions_1.ARIADefinitions.propertyDataTypes[attrName]; + if (dataTypes && dataTypes.type) { + var supportsOneIDRef = (dataTypes.type == "http://www.w3.org/2001/XMLSchema#idref") ? true : false; + //If the data type supports one or more id refs do error checking + if (supportsOneIDRef || (dataTypes.type == "http://www.w3.org/2001/XMLSchema#idrefs")) { + testedReferences++; + var nodeValueLength = CommonUtil_1.CommonUtil.normalizeSpacing(contextAttributes[i].nodeValue).length; + var idArray = contextAttributes[i].nodeValue.split(" "); + // Check for an empty ID Ref + if (nodeValueLength < 1) { + pass = false; + idTokens.push("\"" + contextAttributes[i].nodeValue + "\""); + } + // check to see if too many IDRefs + else if (supportsOneIDRef) { + //If has too many IDRefs it is an error + if (nodeValueLength >= 1) { + if (idArray.length > 1) { + pass = false; + // Need to capture all the IDRefs for idTokens + for (var z = 0, length_1 = idArray.length; z < length_1; ++z) { + if (idArray[z] != "") { + idTokens.push(idArray[z]); + } + } + } + } + } + // check to see if id refs are invalid + if (pass && nodeValueLength >= 1) { + for (var j = 0, length_2 = idArray.length; j < length_2; ++j) { + if (idArray[j].length > 0) { // it is an empty string if spaces are one after the other + // Get the element by Id + var elementById = ownerDocument.getElementById(idArray[j]); + // Pass if the element exists + pass = elementById != null; + // If the element exists and this is an aria attribute that doesn't support hidden ID reference + // then perform a isNodeVisible check, in the case the node is not visible then we return + // false and true otherwise. + if (pass && !dataTypes.hiddenIDRefSupported) { + pass = VisUtil_1.VisUtil.isNodeVisible(elementById); + } + if (!pass) { + if (idArray[j] != "") { + idTokens.push(idArray[j]); + } + } + // Only one of the id references need to be valid to mark the rule as passed. + // Therefore if we find a single visible element then stop checking and mark as + // passed. + else { + break; + } + } + } + } + } + } + if (!pass) + attrNameArr.push(attrName); + } + } + } + var passed = attrNameArr.length == 0; + var retToken1 = new Array(); + var retToken2 = new Array(); + var retToken3 = new Array(); + if (!passed) { + retToken2.push(attrNameArr.join(", ")); + retToken3.push(ruleContext.nodeName.toLowerCase()); + if (idTokens.length > 0) { + retToken1.push(idTokens.join(", ")); + } + } + //return new ValidationResult(passed, [ruleContext], attrNameArr, '', passed == true ? [] : [retToken1, retToken2, retToken3]); + if (testedReferences == 0) { + return null; + } + else if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", [retToken1.toString(), retToken2.toString(), retToken3.toString()]); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 9136: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_img_labelled = void 0; +var IRule_1 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var VisUtil_1 = __webpack_require__(8656); +exports.aria_img_labelled = { + id: "aria_img_labelled", + context: "aria:img, aria:image", + refactor: { + "HAAC_Aria_ImgAlt": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1", + "Fail_2": "Fail_2", + "Fail_3": "Fail_3" + } + }, + help: { + "en-US": { + "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: { + "en-US": { + "group": "An element with \"img\" role must have a non-empty label", + "Pass_0": "Rule Passed", + "Fail_1": "Element with \"img\" role has no label", + "Fail_2": "Element with \"img\" role has no label or an empty label", + "Fail_3": "Element with \"img\" role missing non-empty 'aria-label' or 'aria-labelledby'" + } + }, + rulesets: [], + act: ["23a2a8", { + "7d6734": { + "Pass_0": "pass", + "Fail_1": "inapplicable", + "Fail_2": "fail", + "Fail_3": "inapplicable" + } + }], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + if (!ruleContext.hasAttribute("role")) { + // If no role, this is implicit, and covered by WCAG20_Img_HasAlt + return null; + } + var nodeName = ruleContext.nodeName.toLocaleLowerCase(); + // svg and img elements are handled in svg_graphics_labbelled and img_alt_valid rules + if (nodeName === 'svg' || nodeName === 'img') + return; + /* removed the role check role= presentation since if an element has role=img, then there needs to be a check for alt attribute regardless of the presecne of role=presentation + if (RPTUtil.hasRole(ruleContext, "presentation") || RPTUtil.hasRole(ruleContext, "none")){ + return RulePass(1); + }*/ + /* JCH - Points of failure + * 0. Missing alt attr with value + * 1. Missing aria-label or aria-labelledby + * 2. Missing title attr with value + */ + // If role === img, you must use an aria label + //check attributes aria-label and aria-labelledby for other tags (e.g., <div>, <span>, etc) + var passed = AriaUtil_1.AriaUtil.getAriaLabel(ruleContext).length > 0; + if (!passed && ruleContext.nodeName.toLowerCase() === "svg") { + var svgTitle = ruleContext.querySelector("title"); + passed = svgTitle && CommonUtil_1.CommonUtil.hasInnerContent(svgTitle); + } + if (!passed) { + //check title attribute + passed = CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "title"); + // We should guide people to use alt or label - this is just a secondary approach to silence the rule. + // So, we should keep the POF from above. + // if (!passed) POF = "Fail_3"; + } + //return new ValidationResult(passed, [ruleContext], 'role', '', []); + if (passed) { + return (0, IRule_1.RulePass)("Pass_0"); + } + else { + return (0, IRule_1.RuleFail)("Fail_2"); + } + } +}; + + +/***/ }), + +/***/ 5117: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_keyboard_handler_exists = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var ARIADefinitions_1 = __webpack_require__(8235); +var VisUtil_1 = __webpack_require__(8656); +exports.aria_keyboard_handler_exists = { + id: "aria_keyboard_handler_exists", + context: "dom:*[role]", + dependencies: ["aria_role_allowed"], + refactor: { + "Rpt_Aria_MissingKeyboardHandler": { + "pass": "pass", + "potential_no_keyboard_access": "potential_no_keyboard_access" + } + }, + help: { + "en-US": { + "pass": "aria_keyboard_handler_exists.html", + "potential_no_keyboard_access": "aria_keyboard_handler_exists.html", + "group": "aria_keyboard_handler_exists.html" + } + }, + messages: { + "en-US": { + "pass": "Rule Passed", + "potential_no_keyboard_access": "Verify the <{0}> element with \"{1}\" role has keyboard access", + "group": "Interactive WAI_ARIA UI components must provide keyboard access" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the check if the element is hidden or disabled + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) + return; + var passed = true; + var savedPassed = passed; + var doc = ruleContext.ownerDocument; + var designPatterns = ARIADefinitions_1.ARIADefinitions.designPatterns; + //let roles = ruleContext.getAttribute("role").trim().toLowerCase().split(/\s+/); + //only consider user specified role(s), rather than native containers + var roles = AriaUtil_1.AriaUtil.getRoles(ruleContext, false); + var nodeName = ruleContext.nodeName.toLowerCase(); + //if an explicit role is specified, the 'aria_role_redundant' rule should be triggered and addressed first, + // and the current rule should be ignored + if (nodeName === 'datalist' && roles && roles.includes("listbox")) + return null; + // Composite user interface widget roles. They act as containers that manage other, contained widgets. + var roleContainers = ["combobox", "grid", "listbox", "menu", "menubar", "radiogroup", "tablist", "tree", "treegrid"]; + for (var _i = 0, roleContainers_1 = roleContainers; _i < roleContainers_1.length; _i++) { + var role = roleContainers_1[_i]; + if (AriaUtil_1.AriaUtil.getAncestorWithRole(ruleContext, role, true) != null) + // it's a descendant of a composite widget already examined + return null; + } + var hasAttribute = CommonUtil_1.CommonUtil.hasAttribute; + var roleNameArr = new Array(); + for (var j = 0; j < roles.length; ++j) { + var pattern = designPatterns[roles[j]]; + if (roleContainers.indexOf(roles[j]) >= 0) { + var disabled = hasAttribute(ruleContext, 'aria-disabled') ? ruleContext.getAttribute("aria-disabled") : ''; + if (!disabled) { + // See if there is a keyboard event handler on the parent element. + passed = (ruleContext.hasAttribute("onkeydown") || ruleContext.hasAttribute("onkeypress") || ruleContext.hasAttribute("onkeyup")); + // No keyboard event handler found on parent. See if keyboard event handlers are on required child elements. + if (!passed) { + if (!hasAttribute(ruleContext, 'aria-activedescendant')) { + var reqChildren = ARIADefinitions_1.ARIADefinitions.designPatterns[roles[j]].reqChildren; + if (reqChildren) { /* SMF TODO menubar does not have any reqChildren */ + for (var i = 0, requiredChildrenLength = reqChildren.length; i < requiredChildrenLength; i++) { + var xp = "*[contains(@role,'" + reqChildren[i] + "')]"; + var xpathResult = doc.evaluate(xp, ruleContext, CommonUtil_1.CommonUtil.defaultNSResolver, 0 /* XPathResult.ANY_TYPE */, null); + var r = xpathResult.iterateNext(); + while (r) { + passed = (r.hasAttribute("onkeydown") || r.hasAttribute("onkeypress")); + if (!passed) { + // Child did not have a key handler. See if any of the grandchildren do. + var xp2 = "descendant::*"; + var xpathResult2 = doc.evaluate(xp2, r, CommonUtil_1.CommonUtil.defaultNSResolver, 0 /* XPathResult.ANY_TYPE */, null); + var r2 = xpathResult2.iterateNext(); + while (r2 && !passed) { + // Following are the steps that are executed at this stage to determine if the node should be classified as hidden + // or not. + // 1. Only run isNodeVisible check if hidden content should NOT be checked. In the case that hidden content is to, + // be scanned then we can just scan everything as normal. In the case that the current node is hidden we do not + // add it to the roleToElems hash at all or even do any checking for it at all. + // + // Note: The if conditions uses short-circuiting so if the first condition is not true it will not check the next one, + // so on and so forth. + if (CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(r2)) { + r2 = xpathResult2.iterateNext(); + continue; + } + passed = CommonUtil_1.CommonUtil.isTabbable(r2) && + (r2.hasAttribute("onkeydown") || r2.hasAttribute("onkeypress")); + if (!passed) { + // Is this an action link? + if (r2.nodeName.toLowerCase() == "a" && r2.hasAttribute("href")) { + var href = r2.getAttribute("href"); + // Action link must start with "javascript:", must not contain a "void" and + // must have a function name following "javascript:" (i.e., href.length > 11) + passed = (href.startsWith("javascript:") && href.indexOf("void") == -1 && href.length > 11); + } + } + r2 = xpathResult2.iterateNext(); + } + } + if (!passed) { + // All the required children (or any descendants of the required children) must have keypress/keydown + // If not, it is a failure, no need to keep checking any more. + break; + } + r = xpathResult.iterateNext(); + } + } + } + else { + // The current element failed the keydown/keypress, and it does not have required children, such as menubar. + // Let's check its descendants. + var xp2 = "descendant::*"; + var xpathResult2 = doc.evaluate(xp2, ruleContext, CommonUtil_1.CommonUtil.defaultNSResolver, 0 /* XPathResult.ANY_TYPE */, null); + var r2 = xpathResult2.iterateNext(); + while (r2 && !passed) { + // Following are the steps that are executed at this stage to determine if the node should be classified as hidden + // or not. + // 1. Only run isNodeVisible check if hidden content should NOT be checked. In the case that hidden content is to, + // be scanned then we can just scan everything as normal. In the case that the current node is hidden we do not + // add it to the roleToElems hash at all or even do any checking for it at all. + // + // Note: The if conditions uses short-circuiting so if the first condition is not true it will not check the next one, + // so on and so forth. + if (CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(r2)) { + r2 = xpathResult2.iterateNext(); + continue; + } + passed = CommonUtil_1.CommonUtil.isTabbable(r2) && + (r2.hasAttribute("onkeydown") || r2.hasAttribute("onkeypress")); + if (!passed) { + // Is this an action link? + if (r2.nodeName.toLowerCase() == "a" && r2.hasAttribute("href")) { + var href = r2.getAttribute("href"); + // Action link must start with "javascript:", must not contain a "void" and + // must have a function name following "javascript:" (i.e., href.length > 11) + passed = (href.startsWith("javascript:") && href.indexOf("void") == -1 && href.length > 11); + } + } + r2 = xpathResult2.iterateNext(); + } + } + } + else { + // Attribute 'aria-activedescendant' is specified. + passed = true; + } + } + } + } + if (!passed) { + roleNameArr.push(roles[j]); + } + if (!passed && savedPassed) { + savedPassed = passed; + } + } + var retToken1 = new Array(); + retToken1.push(ruleContext.nodeName.toLowerCase()); + var retToken2 = new Array(); + retToken2.push(roleNameArr.join(", ")); + // Determine if this is referenced by a combobox. If so, leave it to the combobox rules to check + var id = ruleContext.getAttribute("id"); + if (id && id.trim().length > 0) { + if (ruleContext.ownerDocument.querySelector("*[aria-controls='".concat(id, "'][role='combobox']"))) { + return null; + } + } + return savedPassed ? (0, IRule_1.RulePass)("pass") : (0, IRule_1.RulePotential)("potential_no_keyboard_access", [retToken1.toString(), retToken2.toString()]); + } +}; + + +/***/ }), + +/***/ 9062: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_landmark_name_unique = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var ARIAMapper_1 = __webpack_require__(4944); +var DOMUtil_1 = __webpack_require__(295); +var fragment_1 = __webpack_require__(482); +var CacheUtil_1 = __webpack_require__(7788); +var AccNameUtil_1 = __webpack_require__(1421); +exports.aria_landmark_name_unique = { + 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": "aria_landmark_name_unique.html", + "Fail_0": "aria_landmark_name_unique.html", + "group": "aria_landmark_name_unique.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Multiple elements with \"{0}\" landmarks within the same parent region are distinguished by unique 'aria-label' or 'aria-labelledby'", + "Fail_0": "Multiple elements with \"{0}\" landmarks within the same parent region are not distinguished from one another because they have the same \"{1}\" label", + "group": "Each landmark should have a unique 'aria-labelledby' or 'aria-label' or be nested in a different parent region" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }, + { + "id": ["WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + // TODO do I need to fiter out bad contentinfo nodes: The footer element is not a contentinfo landmark when it is a descendant of the following HTML5 sectioning elements: https://www.w3.org/TR/2017/NOTE-wai-aria-practices-1.1-20171214/examples/landmarks/HTML5.html + var ruleContext = context["dom"].node; + // Checking if this landmark is inside a dialog element. If it is we are going to skip checking it. + var copyOfRuleContext = ruleContext; + var parnetNodesOfRuleContext = []; + while (copyOfRuleContext) { + parnetNodesOfRuleContext.unshift(copyOfRuleContext); + copyOfRuleContext = copyOfRuleContext.parentElement; + } + parnetNodesOfRuleContext.forEach(function (elem) { + if (elem !== null) { + if (elem.tagName == "DIALOG" || elem.getAttribute('role') == "dialog") { + return null; // Skipping checking landmarks that happen to be inside dialog elements + } + } + }); + // Begining formCache work + var ownerDocument = fragment_1.FragmentUtil.getOwnerFragment(ruleContext); + var formCache = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "aria_landmark_name_unique", null); + if (!formCache) { + // console.log("---------ENTERING FORM CACHE") + formCache = { + navigationNodes: [], + navigationNodesComputedLabels: [], + navigationNodesParents: [], + navigationNodesMatchFound: [] + }; + var navigationNodesTemp = ownerDocument.querySelectorAll('aside,[role="complementary"], footer,[role="contentinfo"], header,[role="banner"], main,[role="main"], nav,[role="navigation"], form,[role="form"], section,[role="region"],[role="search"]'); + var navigationNodes = Array.from(navigationNodesTemp); + var navigationNodesParents = []; + var navigationNodesMatchFound = []; + // This block of code filters out any nav elements that are under a dialog. As those are not ones we want to test against as we consider dialogs are separate locations from the rest of the main page. + var navigationNodesWithoutDialogs = []; + for (var i = 0; i < navigationNodes.length; i++) { + var a = navigationNodes[i]; + var dialogNodeFoundFlag = false; + while (a) { + a = a.parentElement; + if (a !== null) { + if (a.tagName == "DIALOG" || a.getAttribute('role') == "dialog") { + dialogNodeFoundFlag = true; + } + } + } + if (!dialogNodeFoundFlag) { + navigationNodesWithoutDialogs.push(navigationNodes[i]); + } + } + navigationNodes = navigationNodesWithoutDialogs; + for (var i = 0; i < navigationNodes.length; i++) { + // Loop over all the landmark nodes + var els = []; + var a = navigationNodes[i].parentElement; + while (a) { + els.push(a); + a = a.parentElement; + } + for (var j = 0; j < els.length; j++) { + // Loop over all the parents of the landmark nodes + // Find nearest landmark parent based on the tagName or the role attribute + var tagNameTrigger = [ + "ASIDE", + "FOOTER", + "FORM", + "HEADER", + "MAIN", + "NAV", + "SECTION", + ].includes(els[j].tagName); + var roleNameTrigger = false; + if (els[j].hasAttribute("role")) { + roleNameTrigger = [ + "complementary", + "contentinfo", + "form", + "banner", + "main", + "navigation", + "region", + "search", + ].includes(els[j].getAttribute("role")); // TODO we are not covering the case where a elemenent with multiple roles. e.g., role = "form banner". This is a improvment we might want to add in the future. + } + if (tagNameTrigger || roleNameTrigger) { + // Nearest parent-landmark found + navigationNodesParents.push(els[j]); + break; + } + if (j === els.length - 1) { + // This node is at the head of the file so it does not have a parent + navigationNodesParents.push(null); + break; + } + } + } + var navigationNodesComputedLabels = []; + for (var i = 0; i < navigationNodes.length; i++) { + var pair = AccNameUtil_1.AccNameUtil.computeAccessibleName(navigationNodes[i]); + // Loop over all the landmark nodes + navigationNodesComputedLabels.push( + /**ARIAMapper.computeName(navigationNodes[i])*/ + pair && pair.name && pair.name.trim().length > 0 ? pair.name.trim() : ""); + } + for (var i = 0; i < navigationNodesParents.length; i++) { + // Loop over all the parents of the landmark nodes to find duplicates + var matchFound = false; + var pass_0_flag = false; + for (var j = 0; j < navigationNodesParents.length; j++) { + if (j === i) { + // We do not want to compare against ourselfs + continue; + } + // This if statement focus on the case where the parent landmark is null + if (navigationNodesParents[i] === null && + navigationNodesParents[j] === null) { + // We are looking at two root nodes, so we should compare them. + if (ARIAMapper_1.ARIAMapper.nodeToRole(navigationNodes[i]) === + ARIAMapper_1.ARIAMapper.nodeToRole(navigationNodes[j])) { + // Both nodes have the same role AND + if (navigationNodesComputedLabels[i] === + navigationNodesComputedLabels[j]) { + // both have the same (computed) aria-label/aria-labelledby + // if (navigationNodesComputedLabels[i] === "") { + navigationNodesMatchFound.push("Fail_0"); // Fail 0 + matchFound = true; + break; + // } + } + else { + // Same parents && same node roles BUT different computed aria-label/aria-labelledby + // We have at least a Pass_0. But we need to check all nodes to see if another one fails. So set a flag. + pass_0_flag = true; + } + } + else { + // Same parents but different node roles // Not applicable + } + } + else if (navigationNodesParents[i] === null || + navigationNodesParents[j] === null) { + // We are looking at a single root node + continue; + } + // This if statement focus on the case where the parent landmark is NOT null + if (DOMUtil_1.DOMUtil.sameNode(navigationNodesParents[i], navigationNodesParents[j])) { + // We have the same parent-landmark AND + if (ARIAMapper_1.ARIAMapper.nodeToRole(navigationNodes[i]) === + ARIAMapper_1.ARIAMapper.nodeToRole(navigationNodes[j])) { + // Both nodes have the same role AND + if (navigationNodesComputedLabels[i] === + navigationNodesComputedLabels[j]) { + // both have the same (computed) aria-label/aria-labelledby + // if (navigationNodesComputedLabels[i] === "") { + navigationNodesMatchFound.push("Fail_0"); // Fail 0 + matchFound = true; + break; + // } + } + else { + // Same parents && same node roles BUT different computed aria-label/aria-labelledby + // We have at least a Pass_0. But we need to check all nodes to see if another one fails. So set a flag. + pass_0_flag = true; + } + } + else { + // Same parents but different node roles // Not applicable + } + } + else { + // Different parents // Not applicable + } + } + if (!matchFound) { + if (pass_0_flag) { + navigationNodesMatchFound.push("Pass_0"); + } + else { + navigationNodesMatchFound.push("null"); // This is not the keyword null on purpose. It is a spaceholder in the array so indexes match up. + } + } + } + formCache.navigationNodesComputedLabels = + navigationNodesComputedLabels; + formCache.navigationNodes = navigationNodes; + formCache.navigationNodesParents = navigationNodesParents; + formCache.navigationNodesMatchFound = navigationNodesMatchFound; + CacheUtil_1.CacheUtil.setCache(ruleContext.ownerDocument, "aria_landmark_name_unique", formCache); + // TODO Add validation that all 3 arrays are the same length + // console.log("-------------End formCache") + } // End formCache + var indexToCheck = -1; + for (var i = 0; i < formCache.navigationNodes.length; i++) { + if (ruleContext.isSameNode(formCache.navigationNodes[i])) { + indexToCheck = i; + } + } + if (indexToCheck === -1) { + return null; + } + if (formCache.navigationNodesMatchFound[indexToCheck] === "Pass_0") { + return (0, IRule_1.RulePass)("Pass_0", [ + ARIAMapper_1.ARIAMapper.nodeToRole(formCache.navigationNodes[indexToCheck]), + ]); + } + else if (formCache.navigationNodesMatchFound[indexToCheck] === "Fail_0") { + return (0, IRule_1.RuleFail)("Fail_0", [ + ARIAMapper_1.ARIAMapper.nodeToRole(formCache.navigationNodes[indexToCheck]), + formCache.navigationNodesComputedLabels[indexToCheck], + ]); + } + else { + return null; + } + } +}; + + +/***/ }), + +/***/ 5746: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_main_label_unique = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +exports.aria_main_label_unique = { + 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": "aria_main_label_unique.html", + "Fail_1": "aria_main_label_unique.html", + "group": "aria_main_label_unique.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Multiple elements with \"main\" role do not have unique labels", + "group": "Each element with \"main\" role must have unique label that describes its purposes" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var contextLabel = AriaUtil_1.AriaUtil.getAriaLabel(ruleContext); + var parentDocRole = AriaUtil_1.AriaUtil.getAncestorWithRole(ruleContext, "document", true); + var mains = CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, "main", true, true); + var result = null; + for (var i = 0; i < mains.length; ++i) { + if (mains[i] === ruleContext) + continue; + result = (0, IRule_1.RulePass)("Pass_0"); + var thisParentDocRole = AriaUtil_1.AriaUtil.getAncestorWithRole(mains[i], "document", true); + if (thisParentDocRole === parentDocRole) { + if (AriaUtil_1.AriaUtil.getAriaLabel(mains[i]) === contextLabel) { + result = (0, IRule_1.RuleFail)("Fail_1"); + break; + } + } + } + return result; + } +}; + + +/***/ }), + +/***/ 8685: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_main_label_visible = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +exports.aria_main_label_visible = { + 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": "aria_main_label_visible.html", + "Fail_1": "aria_main_label_visible.html", + "group": "aria_main_label_visible.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Multiple elements with \"main\" role do not have unique visible labels", + "group": "Each element with \"main\" role should have a unique visible label that describes its purpose" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Consider the Check Hidden Content setting that is set by the rules + //call getElementsByRoleHidden with considerImplicit flag as true + //so that the method returs <main> elements + var landmarks = CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, "main", true, true); + if (landmarks.length === 0 || landmarks.length === 1) { + return null; + } + var passed = AriaUtil_1.AriaUtil.hasUniqueAriaLabelledby(landmarks); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 2678: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_navigation_label_unique = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var CacheUtil_1 = __webpack_require__(7788); +exports.aria_navigation_label_unique = { + 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": "aria_navigation_label_unique.html", + "Fail_1": "aria_navigation_label_unique.html", + "group": "aria_navigation_label_unique.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Multiple elements with \"navigation\" role do not have unique labels", + "group": "Each element with \"navigation\" role must have a unique label that describes its purpose" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Consider the Check Hidden Content setting that is set by the rules + var landmarks = CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, "navigation", true, true); + if (landmarks.length === 0 || landmarks.length === 1) { + return null; + } + var dupes = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "aria_navigation_label_unique", null); + if (!dupes) { + dupes = AriaUtil_1.AriaUtil.findAriaLabelDupes(landmarks); + CacheUtil_1.CacheUtil.setCache(ruleContext.ownerDocument, "aria_navigation_label_unique", dupes); + } + var myLabel = AriaUtil_1.AriaUtil.getAriaLabel(ruleContext); + var passed = myLabel !== "" && (!(myLabel in dupes) || dupes[myLabel] <= 1); + //return new ValidationResult(passed, ruleContext, '', '', [ myLabel ]); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", [myLabel]); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 971: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_parent_required = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var ARIADefinitions_1 = __webpack_require__(8235); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var VisUtil_1 = __webpack_require__(8656); +exports.aria_parent_required = { + id: "aria_parent_required", + context: "dom:*[role]", + dependencies: ["aria_role_allowed"], + refactor: { + "Rpt_Aria_RequiredParent_Native_Host_Sematics": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "group": "aria_parent_required.html", + "Pass_0": "aria_parent_required.html", + "Fail_1": "aria_parent_required.html" + } + }, + messages: { + "en-US": { + "group": "Each element with an implicit or explicit role must be contained within a valid element", + "Pass_0": "Rule Passed", + "Fail_1": "Element with \"{0}\" role is not contained in or owned by an element with one of the following roles: \"{1}\"" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + // TODO: ACT: Check Fail 3 + act: "ff89c9", + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the check if the element is hidden or disabled + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) + return; + //skip the check if the element should be a presentational child of an element + if (AriaUtil_1.AriaUtil.shouldBePresentationalChild(ruleContext) || VisUtil_1.VisUtil.isNodePresentational(ruleContext)) + return; + var passed = true; + var designPatterns = ARIADefinitions_1.ARIADefinitions.designPatterns; + var roleNameArr = new Array(); + var containerRoles = new Array(); + var testedContainer = 0; + var ancestorRoles = contextHierarchies["aria"].map(function (info) { return info.role; }); + var parentRole = ancestorRoles[ancestorRoles.length - 2]; + var count = 2; + while (parentRole === 'none') { + count++; + parentRole = ancestorRoles[ancestorRoles.length - count]; + } + /**for (let j = 0, length = roles.length; j < length; ++j) { + if (designPatterns[roles[j]] && designPatterns[roles[j]].container != null) { + testedContainer++; + passed = false; + containerRoles = designPatterns[roles[j]].container; + for (let i = 0, containersLength = containerRoles.length; !passed && i < containersLength; i++) { + passed = parentRole === containerRoles[i]; + if (passed) break; + } + if (passed == false) { + roleNameArr.push(roles[j]); + } + } + } + */ + var role = AriaUtil_1.AriaUtil.getResolvedRole(ruleContext); + if (designPatterns[role] && designPatterns[role].container != null) { + testedContainer++; + passed = false; + containerRoles = designPatterns[role].container; + for (var i = 0, containersLength = containerRoles.length; !passed && i < containersLength; i++) { + passed = parentRole === containerRoles[i]; + if (passed) + break; + } + if (passed == false) { + roleNameArr.push(role); + } + } + var retToken1 = new Array(); + retToken1.push(roleNameArr.join(", ")); + var retToken2 = new Array(); + retToken2.push(containerRoles.join(", ")); + //return new ValidationResult(passed, [ruleContext], '', '', passed == true ? [] : [retToken1, retToken2]); + if (testedContainer == 0) { + return null; + } + else if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", [retToken1.toString(), retToken2.toString()]); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 3709: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_region_label_unique = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var CacheUtil_1 = __webpack_require__(7788); +exports.aria_region_label_unique = { + 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": "aria_region_label_unique.html", + "Fail_1": "aria_region_label_unique.html", + "group": "aria_region_label_unique.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Multiple elements with \"region\" role do not have unique labels", + "group": "Each element with \"region\" role must have a unique label that describes its purpose" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Per https://www.w3.org/TR/2017/NOTE-wai-aria-practices-1.1-20171214/examples/landmarks/HTML5.html + // form element should only be considered if it has an aria label or title + if (ruleContext.getAttribute("role") === "region" || + ruleContext.hasAttribute("aria-label") || + (ruleContext.hasAttribute("aria-labelledby") && !CommonUtil_1.CommonUtil.isIdReferToSelf(ruleContext, ruleContext.getAttribute("aria-labelledby"))) || + ruleContext.hasAttribute("title")) { + // Consider the Check Hidden Content setting that is set by the rules + // Also, consider Implicit role checking. + var landmarks = CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, "region", true, true); + if (landmarks.length === 0 || landmarks.length === 1) { + return null; + } + var dupes = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "aria_region_label_unique", null); + if (!dupes) { + dupes = AriaUtil_1.AriaUtil.findAriaLabelDupes(landmarks); + CacheUtil_1.CacheUtil.setCache(ruleContext.ownerDocument, "aria_region_label_unique", dupes); + } + var myLabel = AriaUtil_1.AriaUtil.getAriaLabel(ruleContext); + var passed = myLabel !== "" && + (!(myLabel in dupes) || dupes[myLabel] <= 1); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", [myLabel]); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } + else { + return null; + } + } +}; + + +/***/ }), + +/***/ 6486: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_region_labelled = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var VisUtil_1 = __webpack_require__(8656); +exports.aria_region_labelled = { + id: "aria_region_labelled", + context: "aria:region", + refactor: { + "Rpt_Aria_RegionLabel_Implicit": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + // "Fail_2": "Fail_2" + } + }, + help: { + "en-US": { + "Pass_0": "aria_region_labelled.html", + "Fail_1": "aria_region_labelled.html", + // "Fail_2": "aria_region_labelled.html", + "group": "aria_region_labelled.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Element with \"region\" role does not have a label", + // "Fail_2": "Element with \"region\" role is not labeled with 'aria-label' or 'aria-labelledby'", + "group": "Each element with \"region\" role must have a label that describes its purpose" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var passed = AriaUtil_1.AriaUtil.hasAriaLabel(ruleContext) || CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "title"); + if (passed) { + return (0, IRule_1.RulePass)("Pass_0"); + } + else { + return (0, IRule_1.RuleFail)("Fail_1"); + } + } +}; + + +/***/ }), + +/***/ 4151: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_role_allowed = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +exports.aria_role_allowed = { + 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": "aria_role_allowed.html", + "Pass_0": "aria_role_allowed.html", + "Fail_2": "aria_role_allowed.html", + "Potential_1": "aria_role_allowed.html" + } + }, + messages: { + "en-US": { + "group": "Elements must have a valid 'role' per ARIA specification", + "Pass_0": "Rule Passed", + "Fail_2": "The role '{0}' defined on the element is not valid per ARIA specification", + "Potential_1": "Some of the roles, '{0}', defined on the element are not valid per ARIA specification" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: "4.1.2", + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_ONE + }], + // TODO: ACT: Recheck + act: "674b10", + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var roleStr = ruleContext.getAttribute("role").trim().toLowerCase(); + if (roleStr.length === 0) { + return null; + } + if (ruleContext.hasAttribute("aria-hidden") && ruleContext.getAttribute("aria-hidden").toLowerCase() === "true") { + return null; + } + var invalidRoles = AriaUtil_1.AriaUtil.getRolesUndefinedByAria(ruleContext); + if (!invalidRoles || invalidRoles.length === 0) + return (0, IRule_1.RulePass)("Pass_0"); + else { + var roles = roleStr.split(/\s+/); + if (invalidRoles.length === roles.length) { + return (0, IRule_1.RuleFail)("Fail_2", [invalidRoles.join(",")]); + } + else if (invalidRoles.length > 0) { + return (0, IRule_1.RulePotential)("Potential_1", [invalidRoles.join(",")]); + } + } + } +}; + + +/***/ }), + +/***/ 8545: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_role_redundant = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var TableUtil_1 = __webpack_require__(5755); +exports.aria_role_redundant = { + id: "aria_role_redundant", + context: "dom:*[role]", + help: { + "en-US": { + "pass": "aria_role_redundant.html", + "fail_redundant": "aria_role_redundant.html", + "group": "aria_role_redundant.html" + } + }, + messages: { + "en-US": { + "pass": "An explicitly-assigned ARIA role is not redundant with the implicit role of the element", + "fail_redundant": "The explicitly-assigned ARIA role \"{0}\" is redundant with the implicit role of the element <{1}>", + "group": "An explicitly-assigned ARIA role should not be redundant with the implicit role of the element" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next"], + "num": ["ARIA"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var elemName = ruleContext.tagName.toLowerCase(); + var ariaRoles = AriaUtil_1.AriaUtil.getRoles(ruleContext, false); + if (!ariaRoles || ariaRoles.length === 0) + return; + // the invalid role case: handled by Rpt_Aria_ValidRole. Ignore to avoid duplicated report + var role_defined = AriaUtil_1.AriaUtil.areRolesDefined(ariaRoles); + if (!role_defined) + return null; + // dependency check: if it's already failed in the parent relation, then skip this check + if (["td", "th", "tr"].includes(elemName)) { + var parentRole = TableUtil_1.TableUtil.isTableDescendant(contextHierarchies); + if (parentRole !== null && parentRole.length > 0) + return null; + } + var implicitRoles = AriaUtil_1.AriaUtil.getImplicitRole(ruleContext); + if (!implicitRoles || implicitRoles.length === 0) + return (0, IRule_1.RulePass)("pass"); + var ret = []; + for (var i = 0; i < ariaRoles.length; i++) { + if (!implicitRoles.includes(ariaRoles[i])) + ret.push((0, IRule_1.RulePass)("pass")); + else + ret.push((0, IRule_1.RuleFail)("fail_redundant", [ariaRoles[i], elemName])); + } + if (ret.length > 0) + return ret; + return null; + } +}; + + +/***/ }), + +/***/ 8538: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_search_label_unique = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var CacheUtil_1 = __webpack_require__(7788); +exports.aria_search_label_unique = { + 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": "aria_search_label_unique.html", + "Fail_1": "aria_search_label_unique.html", + "group": "aria_search_label_unique.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Multiple elements with \"search\" role do not have unique labels", + "group": "Each element with \"search\" role must have a unique label that describes its purpose" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Consider the Check Hidden Content setting that is set by the rules + var landmarks = CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, "search", true, true); + if (landmarks.length === 0 || landmarks.length === 1) { + return null; + } + var dupes = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "aria_search_label_unique", null); + if (!dupes) { + dupes = AriaUtil_1.AriaUtil.findAriaLabelDupes(landmarks); + CacheUtil_1.CacheUtil.setCache(ruleContext.ownerDocument, "aria_search_label_unique", dupes); + } + var myLabel = AriaUtil_1.AriaUtil.getAriaLabel(ruleContext); + var passed = myLabel !== "" && (!(myLabel in dupes) || dupes[myLabel] <= 1); + // return new ValidationResult(passed, ruleContext, '', '', [ myLabel ]); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", [myLabel]); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 1908: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_attribute_valid = exports.aria_role_valid = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +exports.aria_role_valid = { + id: "aria_role_valid", + context: "dom:*", + 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_role_valid.html", + "Fail_1": "aria_role_valid.html", + "Fail_2": "aria_role_valid.html", + "group": "aria_role_valid.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "The ARIA role '{0}' is not valid for the element <{1}>", + "Fail_2": "The ARIA role '{0}' is not valid for the element <{1}> and may be ignored by the browser since the element is focusable", + "group": "ARIA roles must be valid for the element to which they are assigned" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var tagName = ruleContext.tagName.toLowerCase(); + // only chek element (1) and fragment nodes (11) + if (ruleContext.nodeType !== 1 /* Node.ELEMENT_NODE */) + return null; + //skip the rule + // the invalid role case: handled by aria_role_allowed. Ignore to avoid duplicated report + var undefinedRoles = AriaUtil_1.AriaUtil.getRolesUndefinedByAria(ruleContext); + if (undefinedRoles && undefinedRoles.length > 0) + return null; + var deprecatedRoles = AriaUtil_1.AriaUtil.getDeprecatedAriaRoles(ruleContext); + if (deprecatedRoles && deprecatedRoles.length > 0) + return null; + var deprecatedAttributes = AriaUtil_1.AriaUtil.getDeprecatedAriaAttributes(ruleContext); + if (deprecatedAttributes && deprecatedAttributes.length > 0) + return null; + // dependency check: if it's already failed, then skip + if (["td", "th", "tr"].includes(tagName)) { + var parentRole = CommonUtil_1.CommonUtil.isTableDescendant(contextHierarchies); + if (parentRole !== null && parentRole.length > 0) + return null; + } + var domRoles = AriaUtil_1.AriaUtil.getUserDefinedRoles(ruleContext); + if (!domRoles || domRoles.length === 0) + return null; + // check the 'generic' role first + if (domRoles.includes('generic')) + return (0, IRule_1.RuleFail)("Fail_1", ["generic", tagName]); + var invalidRoles = AriaUtil_1.AriaUtil.getInvalidRoles(ruleContext); + if (invalidRoles === null || invalidRoles.length === 0) + return (0, IRule_1.RulePass)("Pass_0", [domRoles.join(", "), tagName]); + if (invalidRoles.includes("presentation") || invalidRoles.includes("none") && CommonUtil_1.CommonUtil.isTabbable(ruleContext)) + return (0, IRule_1.RuleFail)("Fail_2", [invalidRoles.join(", "), tagName]); + if (invalidRoles.length > 0) + return (0, IRule_1.RuleFail)("Fail_1", [invalidRoles.join(", "), tagName]); + if (domRoles.length > 0) + return (0, IRule_1.RulePass)("Pass_0", [domRoles.join(", "), tagName]); + return null; + } +}; +// 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 +exports.aria_attribute_valid = { + id: "aria_attribute_valid", + context: "dom:*", + // The the ARIA role is completely invalid, skip this check + 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_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: { + "en-US": { + "group": "ARIA attributes should be valid for the element and ARIA role to which they are assigned", + "Pass": "ARIA attributes are valid for the element and ARIA role", + "Fail_invalid_role_attr": "The ARIA attributes \"{0}\" are not valid for the element <{1}> with ARIA role \"{2}\"", + "Fail_invalid_implicit_role_attr": "The ARIA attributes \"{0}\" are not valid for the element <{1}> with implicit ARIA role \"{2}\"" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["ARIA"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: ["5c01ea", { "46ca7f": { "Pass": "pass", "Fail_invalid_role_attr": "fail", "Fail_invalid_implicit_role_attr": "fail" } }], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // only chek element (1) + if (ruleContext.nodeType !== 1 /* Node.ELEMENT_NODE */) + return null; + // ignore if no aria attribute + var ariaAttributes = AriaUtil_1.AriaUtil.getUserDefinedAriaAttributes(ruleContext); + if (ariaAttributes === null || ariaAttributes.length === 0) + return null; + var roles = AriaUtil_1.AriaUtil.getUserDefinedRoles(ruleContext); + var explicit = true; + if (roles && roles.length > 0) { + // the invalid role case: handled by Rpt_Aria_ValidRole. Ignore to avoid duplicated report + if (!AriaUtil_1.AriaUtil.areRolesDefined(roles)) + return null; + } + else { + //no explicit role defined + roles = AriaUtil_1.AriaUtil.getImplicitRole(ruleContext); + explicit = false; + } + var tagName = ruleContext.tagName.toLowerCase(); + var failedAttributes = AriaUtil_1.AriaUtil.getInvalidAriaAttributes(ruleContext); + if (!failedAttributes || failedAttributes.length === 0) + return (0, IRule_1.RulePass)("Pass", [ariaAttributes.join(", "), tagName, roles.join(", ")]); + if (roles.length > 0) { + if (explicit) + return (0, IRule_1.RuleFail)("Fail_invalid_role_attr", [failedAttributes.join(", "), tagName, roles.join(", ")]); + else + return (0, IRule_1.RuleFail)("Fail_invalid_implicit_role_attr", [failedAttributes.join(", "), tagName, roles.join(", ")]); + } + return (0, IRule_1.RuleFail)("Fail_invalid_role_attr", [failedAttributes.join(", "), tagName, "none"]); + } +}; + + +/***/ }), + +/***/ 6360: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_toolbar_label_unique = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var CacheUtil_1 = __webpack_require__(7788); +exports.aria_toolbar_label_unique = { + 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": "aria_toolbar_label_unique.html", + "Fail_1": "aria_toolbar_label_unique.html", + "group": "aria_toolbar_label_unique.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Multiple elements with \"toolbar\" roles do not have unique labels", + "group": "Each element with \"toolbar\" role must have a unique label that describes its purpose" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Consider the Check Hidden Content setting that is set by the rules + // Also, consider Implicit role checking. + var landmarks = CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, "toolbar", true, true); + if (landmarks.length === 0 || landmarks.length === 1) { + return null; + } + var dupes = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "aria_toolbar_label_unique", null); + if (!dupes) { + dupes = AriaUtil_1.AriaUtil.findAriaLabelDupes(landmarks); + CacheUtil_1.CacheUtil.setCache(ruleContext.ownerDocument, "aria_toolbar_label_unique", dupes); + } + var myLabel = AriaUtil_1.AriaUtil.getAriaLabel(ruleContext); + var passed = myLabel !== "" && (!(myLabel in dupes) || dupes[myLabel] <= 1); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", [myLabel]); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 5386: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.aria_widget_labelled = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var ARIAMapper_1 = __webpack_require__(4944); +var fragment_1 = __webpack_require__(482); +var ARIADefinitions_1 = __webpack_require__(8235); +var DOMUtil_1 = __webpack_require__(295); +exports.aria_widget_labelled = { + id: "aria_widget_labelled", + context: "dom:*", + refactor: { + "Rpt_Aria_WidgetLabels_Implicit": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "group": "aria_widget_labelled.html", + "Pass_0": "aria_widget_labelled.html", + "Fail_1": "aria_widget_labelled.html" + } + }, + messages: { + "en-US": { + "group": "Interactive component must have a programmatically associated name", + "Pass_0": "Rule Passed", + "Fail_1": "Interactive component with ARIA role '{0}' does not have a programmatically associated name" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: "m6b1q3", + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + /* removed the role check role= presentation and role=none since these 2 roles are not in the list of widget type roles */ + if ((ruleContext.hasAttribute("type") && + ruleContext.getAttribute("type") === "hidden") || + (AriaUtil_1.AriaUtil.getAncestorWithRole(ruleContext, "combobox") && + !(AriaUtil_1.AriaUtil.hasRoleInSemantics(ruleContext, "textbox") || + AriaUtil_1.AriaUtil.hasRoleInSemantics(ruleContext, "searchbox")))) { + // we need to diagnose that a combobox input textbox has a label(github issue #1104) + return null; + } + var elemRole = ARIAMapper_1.ARIAMapper.nodeToRole(ruleContext); + var tagName = ruleContext.nodeName.toLowerCase(); + // Handled by input_label_exists + var skipRoles = [ + "button", + "checkbox", + "combobox", + "listbox", + "menuitemcheckbox", + "menuitemradio", + "radio", + "searchbox", + "slider", + "spinbutton", + "switch", + "textbox", + "progressbar", + "link", + ]; + if (skipRoles.includes(elemRole)) + return null; + if (tagName === "output" || + (tagName === "input" && + ruleContext.getAttribute("type") === "file")) { + } + if (!ruleContext.hasAttribute("role")) { + // Form/input elements are checked by G41, we skip them from this rule. Github issue 449 + var skipElements = [ + "input", + "textarea", + "select", + "button", + "datalist", + "optgroup", + "option", + "keygen", + "output", + "progress", + "meter", + ]; + if (skipElements.indexOf(ruleContext.nodeName.toLowerCase()) != + -1) { + return null; + } + } + // avoid diagnosing the popup list of a combobox. + var rolesToCheck = ["listbox", "tree", "grid", "dialog"]; + for (var j = 0; j < rolesToCheck.length; j++) { + if (AriaUtil_1.AriaUtil.hasRoleInSemantics(ruleContext, rolesToCheck[j])) { + var comboboxes = CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, "combobox", true, true); + for (var k = 0; k < comboboxes.length; k++) { + var combobox = comboboxes[k]; + var aria_owns = CommonUtil_1.CommonUtil.getElementAttribute(combobox, "aria-owns"); + if (aria_owns) { + var owns = CommonUtil_1.CommonUtil.normalizeSpacing(aria_owns.trim()).split(" "); + for (var i = 0; i < owns.length; i++) { + var owned = fragment_1.FragmentUtil.getById(ruleContext, owns[i]); + if (owned === ruleContext) { + return null; + } + } + } + } + } + } + var passed = true; + var prohibited = false; + var designPatterns = ARIADefinitions_1.ARIADefinitions.designPatterns; + //get attribute roles as well as implicit roles. + var roles = AriaUtil_1.AriaUtil.getRoles(ruleContext, true); + var numWidgetsTested = 0; + var interactiveRoleTypes = ["widget", "liveRegion", "window"]; + for (var i = 0, length_1 = roles.length; passed && i < length_1; ++i) { + var pattern = designPatterns[roles[i]]; + if (pattern && + pattern.nameRequired && + pattern.roleType && + interactiveRoleTypes.includes(pattern.roleType)) { + ++numWidgetsTested; + // All widgets may have an author supplied accessible name. + // Title is legal, but don't advertise its use in documentation. + // Encourage use of aria-label, aria-labelledby or html label element. + passed = + AriaUtil_1.AriaUtil.hasAriaLabel(ruleContext) || + CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "title") || + CommonUtil_1.CommonUtil.getLabelForElementHidden(ruleContext, true); + if (!passed && + pattern.nameFrom && + pattern.nameFrom.indexOf("contents") >= 0) { + // See if widget's accessible name is supplied by element's inner text + // nameFrom: ["author", "contents"] + passed = CommonUtil_1.CommonUtil.hasInnerContentOrAlt(ruleContext); + } + if (!passed) { + // check if it has implicit label, like <label><input ....>abc </label> + passed = CommonUtil_1.CommonUtil.hasImplicitLabel(ruleContext); + } + if (!passed && + ruleContext.tagName.toLowerCase() === "img" && + !ruleContext.hasAttribute("role") && + ruleContext.hasAttribute("alt")) { + passed = + DOMUtil_1.DOMUtil.cleanWhitespace(ruleContext.getAttribute("alt")).trim().length > 0; + } + if (pattern.nameFrom.indexOf("prohibited") >= 0) { + prohibited = true; + } + } + } + if (numWidgetsTested === 0) { + return null; + } + else if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", [elemRole]); + } + else { + //TODO + // if (prohibited) { + // return RuleFail("Fail_2"); + // } else { + return (0, IRule_1.RulePass)("Pass_0"); + // } + } + } +}; + + +/***/ }), + +/***/ 8752: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.asciiart_alt_exists = void 0; +var IRule_1 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +exports.asciiart_alt_exists = { + 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": "asciiart_alt_exists.html", + "Potential_1": "asciiart_alt_exists.html", + "group": "asciiart_alt_exists.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify that ASCII art has a text alternative", + "group": "ASCII art must have a text alternative" + } + }, + /** + * Decision in planning 9/7/23 that this rule causes more reviews that we see actual problems in content, so turn these rules off + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": eRulePolicy.VIOLATION, + "toolkitLevel": eToolkitLevel.LEVEL_ONE + }], + */ + rulesets: [], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Fix for IDWB writers. Don't trigger if content is in a code element. The code element is searched for + // in various places because of the weird way various browsers render <code><pre></pre></code. Firefox, + // HtmlUnit and Chrome all render differently. Firefox: <code></code><pre></pre> HtmlUnit: </code><pre><code></code></pre> + // See unit test CodeElementAbovePreElement.html. Don't know how RPT renders, so cover all the bases. + if (ruleContext.nodeName.toLowerCase() == "pre") { + if ((ruleContext.previousSibling && ruleContext.previousSibling.nodeName.toLowerCase() == "code") || + ruleContext.getElementsByTagName("code").length > 0 || + CommonUtil_1.CommonUtil.getAncestor(ruleContext, "code")) { + return (0, IRule_1.RulePass)("Pass_0"); + } + } + var passed = true; + var txtValue = CommonUtil_1.CommonUtil.getInnerText(ruleContext); + var nonAlphaNumericNorSpaceCount = 0; + var alphNumSameCharacterCount = 0; + var lastCharacter = ""; + // Iterate through the text content + for (var idx = 0; passed && (idx < txtValue.length); ++idx) { + var chStr = txtValue.substr(idx, 1); + // Check if it is alphanumeric or punctuation + if (/[\w!@#$%&\*().,?\[\]{}<>=":\/\\-]/.test(chStr)) { + // Detect same character sequence + if (lastCharacter == chStr) { + alphNumSameCharacterCount = alphNumSameCharacterCount + 1; + ; + } + else { + alphNumSameCharacterCount = 0; + } + } + else if (/\s/.test(chStr)) { + alphNumSameCharacterCount = 0; + } + else { + nonAlphaNumericNorSpaceCount = nonAlphaNumericNorSpaceCount + 1; + alphNumSameCharacterCount = 0; + } + lastCharacter = chStr; + // Make the decision + if (nonAlphaNumericNorSpaceCount >= 5 || alphNumSameCharacterCount >= 4) { + passed = false; + } + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 4392: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.blink_css_review = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +exports.blink_css_review = { + 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": "blink_css_review.html", + "Pass_0": "blink_css_review.html", + "Potential_1": "blink_css_review.html" + } + }, + messages: { + "en-US": { + "group": "Do not use the \"blink\" value of the 'text-decoration' property for longer than five seconds", + "Pass_0": "Rule Passed", + "Potential_1": "Check the \"blink\" value of the CSS 'text-decoration' property is not used for more than than five seconds" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: "2.2.2", + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var textValue = CommonUtil_1.CommonUtil.getInnerText(ruleContext); + if (ruleContext.hasAttribute('style')) { + textValue = ruleContext.getAttribute('style'); + } + var passed = textValue.toLowerCase().indexOf("text-decoration:blink") == -1; + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 932: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.blink_elem_deprecated = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +exports.blink_elem_deprecated = { + id: "blink_elem_deprecated", + context: "dom:blink", + refactor: { + "WCAG20_Blink_AlwaysTrigger": { + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "group": "blink_elem_deprecated.html", + "Fail_1": "blink_elem_deprecated.html" + } + }, + messages: { + "en-US": { + "group": "Content that blinks persistently must not be used", + "Fail_1": "Content found that blinks persistently" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: "2.2.2", + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + // const ruleContext = context["dom"].node as Element; + return (0, IRule_1.RuleFail)("Fail_1"); + } +}; + + +/***/ }), + +/***/ 6255: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.blockquote_cite_exists = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +exports.blockquote_cite_exists = { + id: "blockquote_cite_exists", + context: "dom:blockquote", + refactor: { + "RPT_Blockquote_HasCite": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + "Pass_0": "blockquote_cite_exists.html", + "Potential_1": "blockquote_cite_exists.html", + "group": "blockquote_cite_exists.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify that <blockquote> should have a 'cite' attribute and not be used for indentation only", + "group": "Use <blockquote> only for quotations, not indentation" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "cite"); + if (!passed) { + var citeElems = CommonUtil_1.CommonUtil.getDocElementsByTag(ruleContext, "cite"); + passed = citeElems != null && citeElems.length > 0; + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 5743: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.canvas_content_described = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var VisUtil_1 = __webpack_require__(8656); +exports.canvas_content_described = { + id: "canvas_content_described", + context: "dom:canvas", + refactor: { + "HAAC_Canvas": { + "Pass_0": "Pass_0", + "Manual_1": "Manual_1" + } + }, + help: { + "en-US": { + "Pass_0": "canvas_content_described.html", + "Manual_1": "canvas_content_described.html", + "group": "canvas_content_described.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Manual_1": "Verify accessibility of the <canvas> element", + "group": "The <canvas> element may not be accessible" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1", "2.1.1", "4.1.2"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var passed = ruleContext.innerHTML.trim().length > 0; + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RuleManual)("Manual_1"); + } +}; + + +/***/ }), + +/***/ 2671: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.caption_track_exists = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +exports.caption_track_exists = { + id: "caption_track_exists", + context: "dom:video", + refactor: { + "HAAC_Video_HasNoTrack": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + "Pass_0": "caption_track_exists.html", + "Potential_1": "caption_track_exists.html", + "group": "caption_track_exists.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify that captions are available for any meaningful audio or provide a caption track for the <video> element", + "group": "A <video> element must have a text alternative for any meaningful audio content" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.2.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = false; + // ignore decorative video if user uses aria-hidden + if (ruleContext.getAttribute("aria-hidden") === "true") { + return null; + } + var tracks = ruleContext.getElementsByTagName("track"); + for (var i = 0; i < tracks.length; ++i) { + passed = passed || tracks[i].getAttribute("kind") === 'captions'; + } + // checks for addition of dynamic tracks + if (ruleContext.textTracks && ruleContext.textTracks.length > 0) { + for (var i = 0; i < ruleContext.textTracks.length; i++) { + passed = passed || ruleContext.textTracks[i].kind === 'captions'; + } + } + if (passed) { + return (0, IRule_1.RulePass)("Pass_0"); + } + else { + return (0, IRule_1.RulePotential)("Potential_1"); + } + } +}; + + +/***/ }), + +/***/ 3974: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.combobox_active_descendant = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var fragment_1 = __webpack_require__(482); +var DOMWalker_1 = __webpack_require__(7440); +var CacheUtil_1 = __webpack_require__(7788); +var VisUtil_1 = __webpack_require__(8656); +exports.combobox_active_descendant = { + id: "combobox_active_descendant", + context: "aria:combobox", + dependencies: ["combobox_popup_reference"], + help: { + "en-US": { + "Pass": "combobox_active_descendant.html", + "Fail_missing": "combobox_active_descendant.html", + "Fail_not_in_popup": "combobox_active_descendant.html", + "Fail_active_role_invalid": "combobox_active_descendant.html", + "Fail_active_not_selected": "combobox_active_descendant.html", + "group": "combobox_active_descendant.html" + } + }, + messages: { + "en-US": { + "Pass": "'aria-activedescendant' is used appropriately for this combobox", + "Fail_missing": "The element referenced by 'aria-activedescendant' \"{0}\" does not exist", + "Fail_not_in_popup": "The element referenced by 'aria-activedescendant' \"{0}\" does not exist within the popup referenced by 'id' \"{1}\"", + "Fail_active_role_invalid": "The 'aria-activedescendant' \"{0}\" references an element with the roles \"{1}\", which does not have a valid ARIA role of 'option', 'gridcell', 'row', or 'treeitem'", + "Fail_active_not_selected": "The 'aria-activedescendant' \"{0}\" references an element that does not have 'aria-selected' set to true", + "group": "'aria-activedescendant' must be used to define focus within the combobox popup, except when using a dialog popup" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var cache = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "combobox", {}); + if (!cache) + return null; + var cachedElem = cache[context["dom"].rolePath]; + if (!cachedElem) + return null; + var popupElement = cachedElem.popupElement, popupId = cachedElem.popupId; + // If this isn't defined, the combobox is probably collapsed. A reference error is + // detected in combobox_popup_reference + if (!popupElement) + return null; + // This rule only applies if the activedescendant is specified + var activeId = ruleContext.getAttribute("aria-activedescendant"); + if (!activeId || activeId.trim().length === 0) { + return null; + } + var activeElem = fragment_1.FragmentUtil.getById(ruleContext, activeId); + if (!activeElem) { + return (0, IRule_1.RuleFail)("Fail_missing", [activeId]); + } + var found = false; + // examine the children + if (popupElement) { + //let nw = new NodeWalker(popupElement); + var nw = new DOMWalker_1.DOMWalker(popupElement); + while (!found && nw.nextNode() && nw.node != popupElement && nw.node != popupElement.nextSibling) { + if (nw.node.nodeType === 1 && VisUtil_1.VisUtil.isNodeVisible(nw.node)) { + found = nw.elem().getAttribute("id") === activeId; + } + } + } + var retVal = []; + if (!found) { + retVal.push((0, IRule_1.RulePass)("Fail_not_in_popup", [activeId, popupId])); + } + var activeRoles = AriaUtil_1.AriaUtil.getRoles(activeElem, true); + var validRoles = ["option", "gridcell", "row", "treeitem"].filter(function (validRole) { return activeRoles.includes(validRole); }); + if (validRoles.length === 0) { + retVal.push((0, IRule_1.RuleFail)("Fail_active_role_invalid", [activeId, activeRoles.join(",")])); + } + if (activeElem.getAttribute("aria-selected") !== "true") { + retVal.push((0, IRule_1.RuleFail)("Fail_active_not_selected", [activeId])); + } + if (retVal.length === 0) { + return (0, IRule_1.RulePass)("Pass"); + } + else { + return retVal; + } + } +}; + + +/***/ }), + +/***/ 9881: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.combobox_autocomplete_valid = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var DOMWalker_1 = __webpack_require__(7440); +var CacheUtil_1 = __webpack_require__(7788); +var VisUtil_1 = __webpack_require__(8656); +exports.combobox_autocomplete_valid = { + 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_valid.html", + "Fail_1": "combobox_autocomplete_valid.html", + "Fail_inline": "combobox_autocomplete_valid.html", + "group": "combobox_autocomplete_valid.html" + } + }, + messages: { + "en-US": { + "Pass": "The combobox does not use 'aria-autocomplete' value '\"inline\"' nor does it have 'aria-autocomplete' defined within the popup", + "Fail_1": "The combobox has the 'aria-autocomplete' attribute incorrectly set on an element within the popup referenced by \"{0}\"", + "Fail_inline": "The combobox does not support an 'aria-autocomplete' attribute value set to '\"inline\"' ", + "group": "A combobox that supports autocompletion behavior must have the 'aria-autocomplete' attribute only on its text input element with a valid value; a value of '\"inline\"' is not supported" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var cache = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "combobox", {}); + if (!cache) + return null; + var cachedElem = cache[context["dom"].rolePath]; + if (!cachedElem) + return null; + var popupId = cachedElem.popupId, popupElement = cachedElem.popupElement; + var retVal = []; + if (ruleContext.getAttribute("aria-autocomplete") === "inline") { + retVal.push((0, IRule_1.RuleFail)("Fail_inline")); + } + var passed = true; + // examine the children + if (popupElement && VisUtil_1.VisUtil.isNodeVisible(popupElement)) { + // if popupElement itself has "aria-autocomplete" + passed = !popupElement.hasAttribute("aria-autocomplete"); + // if any child of popupElement has "aria-autocomplete" + if (passed && popupElement.children && popupElement.children.length > 0) { + //let nw = new NodeWalker(popupElement); + var nw = new DOMWalker_1.DOMWalker(popupElement); + while (passed && nw.nextNode()) { + if (nw.node.nodeType === 1 && VisUtil_1.VisUtil.isNodeVisible(nw.node)) { + passed = !nw.elem().hasAttribute("aria-autocomplete"); + if (nw.bEndTag && nw.node === popupElement.lastElementChild) + break; + } + } + } + } + if (!passed) { + retVal.push((0, IRule_1.RuleFail)("Fail_1", [popupId])); + } + if (retVal.length > 0) { + return retVal; + } + else { + return (0, IRule_1.RulePass)("Pass"); + } + } +}; + + +/***/ }), + +/***/ 1226: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.combobox_design_valid = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var VisUtil_1 = __webpack_require__(8656); +var CacheUtil_1 = __webpack_require__(7788); +function patternDetect(elem) { + // check 'explicit' role combobox and that it is not <select>. + if (elem.tagName.toLowerCase() === "select" && elem.getAttribute("role") !== "combobox") { + return "implicit"; + } + else if (elem.nodeName.toLowerCase() === "input" + && (!elem.hasAttribute("type") || elem.getAttribute("type") === "text") + && elem.hasAttribute("aria-owns") && !elem.hasAttribute("aria-controls")) { + // Looks like this is an ARIA 1.0 pattern, which the ARIA 1.2 spec says to continue to allow + return "1.0"; + } + else if (elem.nodeName.toLowerCase() !== "input" + && elem.hasAttribute("aria-owns") && !elem.hasAttribute("aria-controls")) { + // Looks like this is an ARIA 1.1 pattern, which the ARIA 1.2 spec says is now invalid + return "1.1"; + } + // Assume they're trying to do the latest, 1.2 pattern + return "1.2"; +} +exports.combobox_design_valid = { + 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_design_valid.html", + "Fail_1.1": "combobox_design_valid.html", + "Pass_1.2": "combobox_design_valid.html", + "group": "combobox_design_valid.html" + } + }, + messages: { + "en-US": { + "Pass_1.0": "The combobox design pattern is detected as ARIA 1.0, which is allowed by ARIA 1.2", + "Fail_1.1": "The combobox design pattern is detected as ARIA 1.1, which is not allowed by ARIA 1.2", + "Pass_1.2": "The combobox design pattern is detected as ARIA 1.2", + "group": "The combobox design pattern must be valid for ARIA 1.2" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (!VisUtil_1.VisUtil.isNodeVisible(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) { + return null; + } + var pattern = patternDetect(ruleContext); + // We don't assess native select elements here + if (pattern === "implicit") { + return null; + } + var tagName = ruleContext.tagName.toLowerCase(); + var expanded = (AriaUtil_1.AriaUtil.getAriaAttribute(ruleContext, "aria-expanded") || "").trim().toLowerCase() === "true"; + var editable = tagName === "input" && (!ruleContext.hasAttribute("type") || ruleContext.getAttribute("type").toLowerCase() === "text"); + var key = context["dom"].rolePath; + if (key) { + var cache = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "combobox", {}); + if (!cache) + return null; + cache[key] = { + "inputElement": editable ? ruleContext : null, + "pattern": pattern, + "expanded": expanded + }; + CacheUtil_1.CacheUtil.setCache(ruleContext.ownerDocument, "combobox", cache); + } + else { + // No xpath? + return null; + } + if (pattern === "1.0") { + return (0, IRule_1.RulePass)("Pass_1.0"); + } + else if (pattern === "1.1") { + return (0, IRule_1.RuleFail)("Fail_1.1"); + } + else if (pattern === "1.2") { + return (0, IRule_1.RulePass)("Pass_1.2"); + } + } +}; + + +/***/ }), + +/***/ 7369: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.combobox_focusable_elements = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var DOMWalker_1 = __webpack_require__(7440); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var CacheUtil_1 = __webpack_require__(7788); +var VisUtil_1 = __webpack_require__(8656); +exports.combobox_focusable_elements = { + id: "combobox_focusable_elements", + context: "aria:combobox", + dependencies: ["combobox_popup_reference"], + help: { + "en-US": { + "Pass": "combobox_focusable_elements.html", + "Fail_not_tabbable": "combobox_focusable_elements.html", + "Fail_tabbable_child": "combobox_focusable_elements.html", + "group": "combobox_focusable_elements.html" + } + }, + messages: { + "en-US": { + "Pass": "DOM focus is allowed only on the combobox element as required", + "Fail_not_tabbable": "The combobox element does not allow DOM focus as required", + "Fail_tabbable_child": "The popup of the combobox has DOM focus or has 'aria-activedescendant' defined, which is not allowed", + "group": "Tabbable focus for the combobox must be allowed only on the text input, except when using a dialog popup" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var cache = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "combobox", {}); + if (!cache) + return null; + var cachedElem = cache[context["dom"].rolePath]; + if (!cachedElem) + return null; + var popupElement = cachedElem.popupElement, expanded = cachedElem.expanded; + // If this isn't defined, the combobox is probably collapsed. A reference error is + // detected in combobox_popup_reference + if (!popupElement) + return null; + var popupRole = AriaUtil_1.AriaUtil.getRoles(popupElement, true)[0]; + var retVal = []; + if (!CommonUtil_1.CommonUtil.isTabbable(ruleContext)) { + retVal.push((0, IRule_1.RuleFail)("Fail_not_tabbable")); + } + // Only makes sense to check the popup when expanded + // this does not apply to dialogs, return pass since the main element was focusable above + if (expanded === false || popupRole === "dialog") { + return (0, IRule_1.RulePass)("Pass"); + } + var passed = true; + // examine the children + if (popupElement && VisUtil_1.VisUtil.isNodeVisible(popupElement)) { + // if popupElement itself has "aria-activedescendant" + passed = !CommonUtil_1.CommonUtil.isTabbable(popupElement) && !AriaUtil_1.AriaUtil.getAriaAttribute(popupElement, "aria-activedescendant"); + ; + // if any child of popupElement has "aria-autocomplete" + if (passed && popupElement.children && popupElement.children.length > 0) { + //let nw = new NodeWalker(popupElement); + var nw = new DOMWalker_1.DOMWalker(popupElement); + while (passed && nw.nextNode()) { + if (nw.node.nodeType === 1 && VisUtil_1.VisUtil.isNodeVisible(nw.node)) { + passed = !CommonUtil_1.CommonUtil.isTabbable(nw.node) && + !AriaUtil_1.AriaUtil.getAriaAttribute(nw.node, "aria-activedescendant"); + if (nw.bEndTag && nw.node === popupElement.lastElementChild) + break; + } + } + } + } + if (!passed) { + retVal.push((0, IRule_1.RuleFail)("Fail_tabbable_child")); + } + if (retVal.length === 0) { + return (0, IRule_1.RulePass)("Pass"); + } + else { + return retVal; + } + } +}; + + +/***/ }), + +/***/ 2633: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.combobox_haspopup_valid = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CacheUtil_1 = __webpack_require__(7788); +exports.combobox_haspopup_valid = { + 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_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: { + "en-US": { + "Pass": "The 'aria-controls' (ARIA 1.2) or 'aria-owns' (ARIA 1.0) appropriately references a valid popup 'id' value", + "Fail_popup_role_invalid": "The 'role' value \"{0}\" of the popup element \"{1}\" should be one of \"listbox\", \"grid\", \"tree\" or \"dialog\"", + "Fail_combobox_popup_role_mismatch": "The value of the combobox 'aria-haspopup' attribute \"{0}\" does not match the 'role' value of the popup element \"{1}\"", + "group": "The combobox attribute 'aria-haspopup' value must be appropriate for the role of the element referenced by 'aria-controls' (ARIA 1.2) or 'aria-owns' (ARIA 1.0)" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var cache = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "combobox", {}); + if (!cache) + return null; + var cacheKey = context["dom"].rolePath; + var cachedElem = cache[cacheKey]; + if (!cachedElem) + return null; + var popupElement = cachedElem.popupElement, popupId = cachedElem.popupId; + // If this isn't defined, the combobox is probably collapsed. A reference error is + // detected in combobox_popup_reference + if (!popupElement) + return null; + // Check that popup role is listbox, grid, tree, or dialog and that it matches the combobox + var popupRoles = AriaUtil_1.AriaUtil.getRoles(popupElement, true); + var validRoles = ["listbox", "grid", "tree", "dialog"].filter(function (validRole) { return popupRoles.includes(validRole); }); + if (validRoles.length === 0) { + return (0, IRule_1.RuleFail)("Fail_popup_role_invalid", [popupRoles.join(","), popupId]); + } + else { + var popupRole = validRoles[0]; + var haspopupVal = ruleContext.getAttribute("aria-haspopup") || "listbox"; + // Popup role must match aria-haspopup unless popupRole is listbox, then aria-haspopup should not be defined + if (haspopupVal !== popupRole) { + if (popupRole !== "listbox" || ruleContext.hasAttribute("aria-haspopup")) { + return (0, IRule_1.RuleFail)("Fail_combobox_popup_role_mismatch", [haspopupVal, popupRole]); + } + } + } + return (0, IRule_1.RulePass)("Pass"); + } +}; + + +/***/ }), + +/***/ 2429: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.combobox_popup_reference = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var fragment_1 = __webpack_require__(482); +var CacheUtil_1 = __webpack_require__(7788); +var VisUtil_1 = __webpack_require__(8656); +exports.combobox_popup_reference = { + id: "combobox_popup_reference", + context: "aria:combobox", + dependencies: ["combobox_design_valid"], + help: { + "en-US": { + "group": "combobox_popup_reference.html", + "Pass_1.0_expanded": "combobox_popup_reference.html", + "Pass_1.0_collapsed": "combobox_popup_reference.html", + "Pass_1.2_expanded": "combobox_popup_reference.html", + "Pass_1.2_collapsed": "combobox_popup_reference.html", + "Fail_1.0_missing_owns": "combobox_popup_reference.html", + "Fail_1.2_missing_controls": "combobox_popup_reference.html", + "Fail_1.0_popup_reference_missing": "combobox_popup_reference.html", + "Fail_1.2_popup_reference_missing": "combobox_popup_reference.html", + "Fail_combobox_expanded_hidden": "combobox_popup_reference.html", + "Fail_combobox_collapsed_visible": "combobox_popup_reference.html" + } + }, + messages: { + "en-US": { + "group": "The 'aria-controls' (for ARIA 1.2) or the 'aria-owns' (for ARIA 1.0) attribute of the expanded combobox must reference a valid popup 'id' value", + "Pass_1.0_expanded": "The combobox popup referenced by 'aria-owns' (ARIA 1.0) exists and is visible", + "Pass_1.0_collapsed": "The combobox popup in its collapsed state does not reference any visible popup as required", + "Pass_1.2_expanded": "The combobox popup referenced by 'aria-controls' (ARIA 1.2) exists and is visible", + "Pass_1.2_collapsed": "The combobox popup in its collapsed state does not reference any visible popup as required", + "Fail_1.0_missing_owns": "The 'aria-owns' attribute of the expanded combobox is missing", + "Fail_1.2_missing_controls": "The 'aria-controls' attribute of the expanded combobox is missing", + "Fail_1.0_popup_reference_missing": "The 'aria-owns' attribute \"{0}\" of the expanded combobox does not reference a valid popup 'id' value", + "Fail_1.2_popup_reference_missing": "The 'aria-controls' attribute \"{0}\" of the expanded combobox does not reference a valid popup 'id' value", + "Fail_combobox_expanded_hidden": "The combobox 'aria-expanded' attribute is true, but the combobox popup is not visible", + "Fail_combobox_collapsed_visible": "The combobox 'aria-expanded' attribute is false, but the combobox popup is visible" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [{ + "4e8ab6": { + "Pass_1.0_expanded": "fail", + "Pass_1.0_collapsed": "fail", + "Pass_1.2_expanded": "pass", + "Pass_1.2_collapsed": "pass", + "Fail_1.0_missing_owns": "inapplicable", + "Fail_1.2_missing_controls": "fail", + "Fail_1.0_popup_reference_missing": "inapplicable", + "Fail_1.2_popup_reference_missing": "fail", + "Fail_combobox_expanded_hidden": "inapplicable", + "Fail_combobox_collapsed_visible": "inapplicable" + } + }], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var cache = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "combobox", {}); + if (!cache) + return null; + var cacheKey = context["dom"].rolePath; + var cachedElem = cache[cacheKey]; + if (!cachedElem) + return null; + var pattern = cachedElem.pattern, expanded = cachedElem.expanded; + var popupId; + var popupElement; + if (pattern === "1.0") { + if (!ruleContext.hasAttribute("aria-owns")) { + // If the combobox isn't expanded, this attribute isn't required + return !expanded ? null : (0, IRule_1.RuleFail)("Fail_1.0_missing_owns"); + } + popupId = ruleContext.getAttribute("aria-owns"); + popupElement = fragment_1.FragmentUtil.getById(ruleContext, popupId); + if (!popupElement) { + // If the combobox isn't expanded, this attribute isn't required + return !expanded ? null : (0, IRule_1.RuleFail)("Fail_1.0_popup_reference_missing", [popupId]); + } + } + else if (pattern === "1.2") { + if (!ruleContext.hasAttribute("aria-controls")) { + // If the combobox isn't expanded, this attribute isn't required + return !expanded ? null : (0, IRule_1.RuleFail)("Fail_1.2_missing_controls"); + } + popupId = ruleContext.getAttribute("aria-controls"); + popupElement = fragment_1.FragmentUtil.getById(ruleContext, popupId); + if (!popupElement) { + // If the combobox isn't expanded, this attribute isn't required + return !expanded ? null : (0, IRule_1.RuleFail)("Fail_1.2_popup_reference_missing", [popupId]); + } + } + else { + return null; + } + // We have an element, stick it in the cache and then check its role + cachedElem.popupId = popupId; + cachedElem.popupElement = popupElement; + if (expanded && !VisUtil_1.VisUtil.isNodeVisible(popupElement)) { + return (0, IRule_1.RuleFail)("Fail_combobox_expanded_hidden"); + } + else if (!expanded && VisUtil_1.VisUtil.isNodeVisible(popupElement)) { + return (0, IRule_1.RuleFail)("Fail_combobox_collapsed_visible"); + } + if (pattern === "1.0") { + if (expanded) { + return (0, IRule_1.RulePass)("Pass_1.0_expanded"); + } + else { + return (0, IRule_1.RulePass)("Pass_1.0_collapsed"); + } + } + else { + if (expanded) { + return (0, IRule_1.RulePass)("Pass_1.2_expanded"); + } + else { + return (0, IRule_1.RulePass)("Pass_1.2_collapsed"); + } + } + } +}; + + +/***/ }), + +/***/ 7874: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.debug_paths = void 0; +var IRule_1 = __webpack_require__(4377); +exports.debug_paths = { + id: "debug_paths", + context: "dom:*", + help: { + "en-US": { + "group": "", + "Pass_0": "" + } + }, + messages: { + "en-US": { + "group": "", + "Pass_0": "" + } + }, + rulesets: [{ + id: ["DEBUG"], + num: "1", + level: IRule_1.eRulePolicy.INFORMATION, + toolkitLevel: IRule_1.eToolkitLevel.LEVEL_FOUR + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + ruleContext.setAttribute("domPath", context["dom"].rolePath); + ruleContext.setAttribute("ariaPath", context["aria"].rolePath); + return null; + } +}; + + +/***/ }), + +/***/ 3334: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.detector_tabbable = void 0; +var CommonUtil_1 = __webpack_require__(8137); +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +exports.detector_tabbable = { + id: "detector_tabbable", + context: "dom:*", + help: { + "en-US": { + "group": "", + "Pass_0": "" + } + }, + messages: { + "en-US": { + "group": "", + "Pass_0": "" + } + }, + rulesets: [{ + id: ["EXTENSIONS"], + num: "1", + level: IRule_2.eRulePolicy.INFORMATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_FOUR + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (!CommonUtil_1.CommonUtil.isTabbable(ruleContext)) { + return null; + } + var hierContext = contextHierarchies.aria[contextHierarchies.aria.length - 1]; + return (0, IRule_1.RulePass)("Pass_0", [], [{ + name: hierContext.attributes.name, + role: hierContext.role, + tabindex: parseInt(ruleContext.getAttribute("tabindex") || "0") + }]); + } +}; + + +/***/ }), + +/***/ 4298: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.dir_attribute_valid = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +exports.dir_attribute_valid = { + id: "dir_attribute_valid", + context: "dom:*[dir]", + refactor: { + "Valerie_Elem_DirValid": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "Pass_0": "dir_attribute_valid.html", + "Fail_1": "dir_attribute_valid.html", + "group": "dir_attribute_valid.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Invalid value used for the 'dir' attribute", + "group": "'dir' attribute value must be \"ltr\", \"rtl\", or \"auto\"" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var dirStr = ruleContext.getAttribute("dir").toLowerCase(); + var passed = dirStr == "ltr" || dirStr == "rtl" || dirStr == "auto"; + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 4435: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.download_keyboard_controllable = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +var VisUtil_1 = __webpack_require__(8656); +exports.download_keyboard_controllable = { + id: "download_keyboard_controllable", + context: "dom:a[href],dom:area[href]", + refactor: { + "HAAC_Media_DocumentTrigger2": { + "Manual_1": "Manual_1" + } + }, + help: { + "en-US": { + "Manual_1": "download_keyboard_controllable.html", + "group": "download_keyboard_controllable.html" + } + }, + messages: { + "en-US": { + "Manual_1": "Verify that the file download mechanism does not cause a keyboard trap", + "group": "File download mechanisms should be keyboard-operable and preserve page focus location" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.1.2"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var href = ruleContext.getAttribute("href"); + var ext = CommonUtil_1.CommonUtil.getFileExt(href); + var passed = ![".docx", ".doc", ".pdf", ".odt"].includes(ext); + if (passed) + return null; + if (!passed) + return (0, IRule_1.RuleManual)("Manual_1"); + } +}; + + +/***/ }), + +/***/ 1685: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.draggable_alternative_exists = void 0; +var CommonUtil_1 = __webpack_require__(8137); +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var VisUtil_1 = __webpack_require__(8656); +exports.draggable_alternative_exists = { + id: "draggable_alternative_exists", + context: "dom:*[draggable]", + dependencies: [], + help: { + "en-US": { + "group": "draggable_alternative_exists.html", + // "pass_alternative": "draggable_alternative_exists.html", + "pass_undraggable": "draggable_alternative_exists.html", + "potential_alternative": "draggable_alternative_exists.html" + } + }, + messages: { + "en-US": { + "group": "A draggable element must have a \"single pointer\" alternative", + // "pass_alternative": "The draggable element \"{0}\" has a \"single pointer\" alternative", + "pass_undraggable": "The element \"{0}\" is not draggable", + "potential_alternative": "Ensure the draggable element \"{0}\" has a \"single pointer\" alternative" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_2"], + num: ["2.5.7"], + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (!VisUtil_1.VisUtil.isNodeVisible(ruleContext)) + return null; + var nodeName = ruleContext.nodeName.toLocaleLowerCase(); + //ignore certain elements + if (CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["pre", "code", "script", "meta"]) !== null + || nodeName === "body" || nodeName === "html") + return null; + if (ruleContext.getAttribute("draggable") === 'true') + return (0, IRule_1.RulePotential)("potential_alternative", [nodeName]); + else if (ruleContext.getAttribute("draggable") === 'false') + return (0, IRule_1.RulePass)("pass_undraggable", [nodeName]); + else + return null; + } +}; + + +/***/ }), + +/***/ 6313: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.element_accesskey_labelled = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var VisUtil_1 = __webpack_require__(8656); +var ARIADefinitions_1 = __webpack_require__(8235); +var AccNameUtil_1 = __webpack_require__(1421); +exports.element_accesskey_labelled = { + id: "element_accesskey_labelled", + context: "dom:*[accesskey]", + refactor: { + "HAAC_Accesskey_NeedLabel": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + "Pass_0": "element_accesskey_labelled.html", + "Potential_1": "element_accesskey_labelled.html", + "group": "element_accesskey_labelled.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "The element with an assigned 'accesskey' attribute does not have an associated label", + "group": "An element with an assigned 'accesskey' attribute must have an associated label" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["3.3.2"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the check if the element is hidden or disabled + if (!VisUtil_1.VisUtil.isNodeVisible(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) + return; + //skip if the element is tabbable, it's covered by other rules + if (CommonUtil_1.CommonUtil.isTabbable(ruleContext)) + return; + var roles = AriaUtil_1.AriaUtil.getRoles(ruleContext, true); + //skip the native element, mostly text elements + if (!roles || roles.length === 0) + return; + var patterns = ARIADefinitions_1.ARIADefinitions.designPatterns[roles[0]]; + if (!patterns || !patterns.nameFrom) + return; + // ignore if accessble name is required (checked in other rules) or prohibited (text element) + if (patterns.nameRequired || !patterns.nameFrom || patterns.nameFrom.includes("prohibited")) + return; + //special case: legend, as a child of a fieldset, delegate the accesskey command to the field of the fieldset which is covered by other rules + if (ruleContext.parentElement && ruleContext.parentElement.nodeName.toLowerCase() === 'fieldset') + return; + // check if accessible name exists + var pair = AccNameUtil_1.AccNameUtil.computeAccessibleName(ruleContext); + if (pair && pair.name && pair.name.trim().length > 0) + //if (ARIAMapper.computeName(ruleContext).trim().length > 0) + return (0, IRule_1.RulePass)("Pass_0"); + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 9109: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.element_accesskey_unique = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CacheUtil_1 = __webpack_require__(7788); +exports.element_accesskey_unique = { + id: "element_accesskey_unique", + context: "dom:*[accesskey]", + refactor: { + "WCAG20_Elem_UniqueAccessKey": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "Pass_0": "element_accesskey_unique.html", + "Fail_1": "element_accesskey_unique.html", + "group": "element_accesskey_unique.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "'accesskey' attribute value on the element is not unique", + "group": "'accesskey' attribute values on each element must be unique for the page" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next"], + "num": ["HTML"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var map = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "element_accesskey_unique", {}); + var key = ruleContext.getAttribute("accesskey"); + var passed = !(key in map); + map[key] = true; + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 9918: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.element_attribute_deprecated = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var DEPRECATED_ELEMENTS = [ + /** original */ + "applet", "basefont", "center", "dir", "font", "isindex", "listing", + "plaintext", "spacer", "s", "strike", "u", "xmp", + /** added from https://dev.w3.org/html5/pf-summary/obsolete.html */ + "acronym", "frame", "frameset", "noframes", "noembed", "big", "blink", "marquee", "tt", +]; +var DEPRECATED_HTML_GLOBAL_ATTRIBUTES = [ + /** original */ + "align", "link", "archive", "background", "bgcolor", "clear", "code", "color", + "compact", "face", "hspace", "language", "link", "noshade", "nowrap", "object", + "prompt", "start", "text", "version", "vlink", "vspace" +]; +var DEPRECATED_ELEMENT_ATTRIBUTES = { + /** original */ + "td": ["height", "width", "abbr", "axis", "char", "charoff", "height", "nowrap", "valign", "width", "align", "bgcolor"], + "th": ["height", "width", "abbr", "axis", "charoff", "height", "bgcolor", "align", "nowrap", "char", "valign", "width"], + "li": ["type", "value", "type"], + "ul": ["type", "compact"], + "pre": ["width"], + /** added from https://dev.w3.org/html5/pf-summary/obsolete.html */ + "meta": ["http-equiv"], + "a": ["charset", "coords", "shape", "rev", "scheme"], + "link": ["rev", "charset", "target"], + "img": ["name", "longdesc", "align", "hspace", "vspace", "border"], + "area": ["nohref"], + "head": ["profile"], + "html": ["version"], + "iframe": ["longdesc", "align", "frameborder", "marginheight", "marginwidth", "scrolling"], + "object": ["archive", "code", "codebase", "codetype", "declare", "standby", "align", "hspace", "vspace", "border"], + "param": ["type", "valuetype"], + "script": ["language"], + "body": ["alink", "background", "bgcolor", "link", "text", "vlink"], + "br": ["clear"], + "caption": ["align"], + "col": ["align", "char", "charoff", "valign", "width"], + "div": ["align"], + "dl": ["compact"], + "hr": ["align", "noshade", "size", "width", "align"], + "h2": ["align"], + "h3": ["align"], + "h4": ["align"], + "h5": ["align"], + "h6": ["align"], + "input": ["align", "usemap"], + "legend": ["align"], + "menu": ["compact"], + "ol": ["compact", "type", "type"], + "p": ["align"], + "table": ["bgcolor", "cellpadding", "cellspacing", "frame", "rules", "width", "align"], + "tbody": ["align", "char", "valign", "charoff"], + "tfoot": ["align", "charoff", "char", "valign"], + "thead": ["char", "charoff", "valign", "align"], + "tr": ["align", "bgcolor", "char", "charoff", "valign"] +}; +function arrayToContextStr(obj, type) { + var str = ""; + for (var _i = 0, obj_1 = obj; _i < obj_1.length; _i++) { + var prop = obj_1[_i]; + if (str !== '' && !str.endsWith(', ')) + str += ", "; + if (type === 'HTML_ELEMENTS') + str += 'dom:' + prop; + else if (type === 'HTML_ATTRIBUTES') + str += 'dom:*[' + prop + "]"; + } + return str; +} +function objToContextStr(obj, type) { + var str = ""; + for (var prop in obj) { + if (str !== '' && !str.endsWith(', ')) + str += ", "; + if (type === 'HTML_ELEMENT_ATTRIBUTES') { + for (var _i = 0, _a = obj[prop]; _i < _a.length; _i++) { + var item = _a[_i]; + if (str !== '' && !str.endsWith(", ")) + str += ", "; + str += 'dom:' + prop + '[' + item + ']'; + } + } + } + return str; +} +exports.element_attribute_deprecated = { + id: "element_attribute_deprecated", + context: "dom:applet, dom:basefont, dom:center, dom:dir, dom:font, dom:isindex, dom:listing, dom:menu, dom:plaintext, dom:spacer, dom:s, dom:strike, dom:u, dom:xmp, dom:acronym, dom:frame, dom:frameset, dom:noframes, dom:noembed, dom:big, dom:blink, dom:marquee, dom:ttNaNdom:*[align], dom:*[link], dom:*[archive], dom:*[background], dom:*[bgcolor], dom:*[clear], dom:*[code], dom:*[color], dom:*[compact], dom:*[face], dom:*[hspace], dom:*[language], dom:*[link], dom:*[noshade], dom:*[nowrap], dom:*[object], dom:*[prompt], dom:*[start], dom:*[text], dom:*[version], dom:*[vlink], dom:*[vspace]NaNdom:td[height], dom:td[width], dom:td[abbr], dom:td[axis], dom:td[char], dom:td[charoff], dom:td[height], dom:td[nowrap], dom:td[valign], dom:td[width], dom:td[align], dom:td[bgcolor], dom:th[height], dom:th[width], dom:th[abbr], dom:th[axis], dom:th[charoff], dom:th[height], dom:th[bgcolor], dom:th[align], dom:th[nowrap], dom:th[char], dom:th[valign], dom:th[width], dom:li[type], dom:li[value], dom:li[type], dom:ul[type], dom:ul[compact], dom:pre[width], dom:meta[http-equiv], dom:a[charset], dom:a[coords], dom:a[shape], dom:a[rev], dom:a[scheme], dom:link[rev], dom:link[charset], dom:link[target], dom:img[name], dom:img[longdesc], dom:img[align], dom:img[hspace], dom:img[vspace], dom:img[border], dom:area[nohref], dom:head[profile], dom:html[version], dom:iframe[longdesc], dom:iframe[align], dom:iframe[frameborder], dom:iframe[marginheight], dom:iframe[marginwidth], dom:iframe[scrolling], dom:object[archive], dom:object[code], dom:object[codebase], dom:object[codetype], dom:object[declare], dom:object[standby], dom:object[align], dom:object[hspace], dom:object[vspace], dom:object[border], dom:param[type], dom:param[valuetype], dom:script[language], dom:body[alink], dom:body[background], dom:body[bgcolor], dom:body[link], dom:body[text], dom:body[vlink], dom:br[clear], dom:caption[align], dom:col[align], dom:col[char], dom:col[charoff], dom:col[valign], dom:col[width], dom:div[align], dom:dl[compact], dom:hr[align], dom:hr[noshade], dom:hr[size], dom:hr[width], dom:hr[align], dom:h2[align], dom:h3[align], dom:h4[align], dom:h5[align], dom:h6[align], dom:input[align], dom:input[usemap], dom:legend[align], dom:menu[compact], dom:ol[compact], dom:ol[type], dom:ol[type], dom:p[align], dom:table[bgcolor], dom:table[cellpadding], dom:table[cellspacing], dom:table[frame], dom:table[rules], dom:table[width], dom:table[align], dom:tbody[align], dom:tbody[char], dom:tbody[valign], dom:tbody[charoff], dom:tfoot[align], dom:tfoot[charoff], dom:tfoot[char], dom:tfoot[valign], dom:thead[char], dom:thead[charoff], dom:thead[valign], dom:thead[align], dom:tr[align], dom:tr[bgcolor], dom:tr[char], dom:tr[charoff], dom:tr[valign]", + help: { + "en-US": { + "pass": "element_attribute_deprecated.html", + "fail_elem": "element_attribute_deprecated.html", + "fail_attr": "element_attribute_deprecated.html", + "fail_elem_attr": "element_attribute_deprecated.html", + "group": "element_attribute_deprecated.html" + } + }, + messages: { + "en-US": { + "pass": "Rule Passed", + "fail_elem": "The <{0}> element is deprecated in HTML 5", + "fail_attr": "The HTML attribute(s) \"{0}\" is deprecated in HTML 5", + "fail_elem_attr": "The HTML attribute(s) \"{0}\" is deprecated for the <{1}> element in HTML 5", + "group": "Avoid use of obsolete features if possible" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next"], + "num": ["HTML"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // HTMLUnit auto adds a tbody[align=left] to tables if tbody is missing! + if (ruleContext.nodeName.toLowerCase() === "tbody" && ruleContext.hasAttribute("align")) { + return (0, IRule_1.RulePass)("pass"); + } + if (ruleContext.nodeName.includes("-")) { + // This is a webcomponent element, HTML doesn't define what's deprecated + return null; + } + var nodeName = ruleContext.nodeName.toLowerCase(); + var ret = []; + // check if it's a deprecated element + if (DEPRECATED_ELEMENTS.includes(nodeName)) { + return (0, IRule_1.RuleFail)("fail_elem", [nodeName]); + } + // check if it's a deprecated HTML global attribute + var attrs = ruleContext.getAttributeNames(); + var violations = ''; + for (var _i = 0, attrs_1 = attrs; _i < attrs_1.length; _i++) { + var attr = attrs_1[_i]; + if (DEPRECATED_HTML_GLOBAL_ATTRIBUTES.includes(attr)) { + if (violations !== '') + violations += ', '; + violations += attr; + } + } + if (violations !== '') { + return (0, IRule_1.RuleFail)("fail_attr", [violations]); + } + // check if it's a deprecated HTML element & attribute + violations = ''; + if (nodeName in DEPRECATED_ELEMENT_ATTRIBUTES) { + for (var _a = 0, attrs_2 = attrs; _a < attrs_2.length; _a++) { + var attr = attrs_2[_a]; + if (DEPRECATED_ELEMENT_ATTRIBUTES[nodeName] && DEPRECATED_ELEMENT_ATTRIBUTES[nodeName].includes(attr)) { + if (violations !== '') + violations += ', '; + violations += attr; + } + } + if (violations !== '') { + return (0, IRule_1.RuleFail)("fail_elem_attr", [violations, nodeName]); + } + } + return (0, IRule_1.RulePass)("pass"); + } +}; + + +/***/ }), + +/***/ 8105: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.element_id_unique = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var fragment_1 = __webpack_require__(482); +exports.element_id_unique = { + 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": "element_id_unique.html", + "Pass_0": "element_id_unique.html", + "Fail_1": "element_id_unique.html", + "Fail_2": "element_id_unique.html" + } + }, + messages: { + "en-US": { + "group": "Element 'id' attribute values must be unique within a document", + "Pass_0": "Rule Passed", + "Fail_1": "The <{0}> element has the id \"{1}\" that is empty", + "Fail_2": "The <{0}> element has the id \"{1}\" that is already in use" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next"], + "num": ["HTML"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [{ + "3ea0c8": { + "Pass_0": "pass", + "Fail_1": "pass", + "Fail_2": "fail" + } + }], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var id = ruleContext.getAttribute("id"); + // In the case that id is empty we should trigger a violation right away with out checking + // for uniqueness. + if (id === "") { + //return new ValidationResult(false, [ruleContext], '', '', [ruleContext.nodeName.toLowerCase(), id]); + return (0, IRule_1.RuleFail)("Fail_1", [ruleContext.nodeName.toLowerCase(), id]); + } + var element = fragment_1.FragmentUtil.getById(ruleContext, id); + var passed = element === ruleContext; + //return new ValidationResult(passed, [ruleContext], '', '', passed == true ? [] : [ruleContext.nodeName.toLowerCase(), id]); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_2", [ruleContext.nodeName.toLowerCase(), id]); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 8687: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.element_lang_valid = exports.html_lang_valid = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var lang_1 = __webpack_require__(2527); +var VisUtil_1 = __webpack_require__(8656); +var DOMWalker_1 = __webpack_require__(7440); +var AccNameUtil_1 = __webpack_require__(1421); +var validateLang = function (context) { + var ruleContext = context["dom"].node; + var nodeName = ruleContext.nodeName.toLowerCase(); + if (ruleContext.hasAttribute("lang")) { + if (nodeName !== "html" && ruleContext.getAttribute("lang") === "") { + // It's okay to have a lang="" if not on html + } + else { + var langStr = ruleContext.getAttribute("lang"); + if (!lang_1.LangUtil.validPrimaryLang(langStr)) { + return 1; + } + if (!lang_1.LangUtil.isBcp47(langStr)) { + return 2; + } + } + } + if (ruleContext.hasAttribute("xml:lang")) { + if (nodeName !== "html" && ruleContext.getAttribute("xml:lang") === "") { + // It's okay to have a lang="" if not on html + } + else { + var langStr = ruleContext.getAttribute("xml:lang"); + if (!lang_1.LangUtil.validPrimaryLang(langStr)) { + return 3; + } + if (!lang_1.LangUtil.isBcp47(langStr)) { + return 4; + } + } + } + return 0; +}; +exports.html_lang_valid = { + id: "html_lang_valid", + context: "dom:html[lang], dom:html[xml:lang]", + help: { + "en-US": { + "Pass_0": "html_lang_valid.html", + "Fail_1": "html_lang_valid.html", + "Fail_2": "html_lang_valid.html", + "Fail_3": "html_lang_valid.html", + "Fail_4": "html_lang_valid.html", + "group": "html_lang_valid.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Lang has a valid primary lang and conforms to BCP 47", + "Fail_1": "Specified 'lang' attribute does not include a valid primary language", + "Fail_2": "Specified 'lang' attribute does not conform to BCP 47", + "Fail_3": "Specified 'xml:lang' attribute does not include a valid primary language", + "Fail_4": "Specified 'xml:lang' attribute does not conform to BCP 47", + "group": "The default human language of the page must be valid and specified in accordance with BCP 47" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["3.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [{ + "b5c3f8": { + "Pass_0": "pass", + "Fail_1": "fail", + "Fail_2": "inapplicable", + "Fail_3": "inapplicable", + "Fail_4": "inapplicable" + }, + "bf051a": { + "Pass_0": "pass", + "Fail_1": "fail", + "Fail_2": "pass", + "Fail_3": "fail", + "Fail_4": "inapplicable" + }, + // TODO: ACT: Mismatch because they don't check the html element in the same rule + // "de46e4": { + // "Pass_0": "pass", + // "Fail_1": "fail", + // "Fail_2": "pass", + // "Fail_3": "inapplicable", + // "Fail_4": "inapplicable" + // } + }], + run: function (context, options, contextHierarchies) { + var reasonCode = validateLang(context); + // This is done here instead of in validateLang so that the genHelp code will pick it up + var retArr = [ + (0, IRule_1.RulePass)("Pass_0"), + (0, IRule_1.RuleFail)("Fail_1"), + (0, IRule_1.RuleFail)("Fail_2"), + (0, IRule_1.RuleFail)("Fail_3"), + (0, IRule_1.RuleFail)("Fail_4") + ]; + return retArr[reasonCode]; + } +}; +exports.element_lang_valid = { + id: "element_lang_valid", + context: "dom:*[lang], dom:*[xml:lang]", + help: { + "en-US": { + "Pass_0": "element_lang_valid.html", + "Fail_1": "element_lang_valid.html", + "Fail_2": "element_lang_valid.html", + "Fail_3": "element_lang_valid.html", + "Fail_4": "element_lang_valid.html", + "group": "element_lang_valid.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Lang has a valid primary lang and conforms to BCP 47", + "Fail_1": "Specified 'lang' attribute does not include a valid primary language", + "Fail_2": "Specified 'lang' attribute does not conform to BCP 47", + "Fail_3": "Specified 'xml:lang' attribute does not include a valid primary language", + "Fail_4": "Specified 'xml:lang' attribute does not conform to BCP 47", + "group": "The change in language of specific content must be valid and specified in accordance with BCP 47" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["3.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [{ + // "b5c3f8": { + // "Pass_0": "pass", + // "Fail_1": "fail", + // "Fail_2": "inapplicable", + // "Fail_3": "inapplicable", + // "Fail_4": "inapplicable" + // }, + // "bf051a": { + // "Pass_0": "pass", + // "Fail_1": "fail", + // "Fail_2": "pass", + // "Fail_3": "fail", + // "Fail_4": "inapplicable" + // }, + // TODO: ACT: Mismatch because they don't check the html element in the same rule + "de46e4": { + "Pass_0": "pass", + "Fail_1": "fail", + "Fail_2": "pass", + "Fail_3": "inapplicable", + "Fail_4": "inapplicable" + } + }], + run: function (context, options, contextHierarchies) { + // If it's the HTML node, that's handled by html_lang_valid + var ruleContext = context["dom"].node; + var nodeName = ruleContext.nodeName.toLowerCase(); + if (nodeName === "html") + return null; + var reasonCode = validateLang(context); + // This is done here instead of in validateLang so that the genHelp code will pick it up + var retArr = [ + (0, IRule_1.RulePass)("Pass_0"), + (0, IRule_1.RuleFail)("Fail_1"), + (0, IRule_1.RuleFail)("Fail_2"), + (0, IRule_1.RuleFail)("Fail_3"), + (0, IRule_1.RuleFail)("Fail_4") + ]; + var retVal = retArr[reasonCode]; + if (retVal.value[1] !== IRule_1.eRuleConfidence.PASS) { + // Ensure that there's actually content of this element - skip subtrees that have other lang attributes + var hasContent = false; + if (ruleContext.firstChild !== null) { + var nw = new DOMWalker_1.DOMWalker(ruleContext, false, ruleContext, true); + while (!hasContent && nw.nextNode()) { + // Skip hidden + if (nw.node.nodeType === 1) { + var element = nw.node; + if (!VisUtil_1.VisUtil.isNodeVisible(element) || element.hasAttribute("lang")) { + nw.bEndTag = true; + } + else { + var pair = AccNameUtil_1.AccNameUtil.computeAccessibleName(element); + hasContent = hasContent + || element.nodeName.toLowerCase() === "img" && (pair && pair.name && pair.name.trim().length > 0) /**ARIAMapper.computeName(element).trim().length > 0*/; + } + } + else { + hasContent = hasContent + || nw.node.nodeType === 3 && nw.node.nodeValue.trim().length > 0; + } + } + } + if (!hasContent) + return null; + } + return retVal; + } +}; + + +/***/ }), + +/***/ 2150: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.element_mouseevent_keyboard = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +exports.element_mouseevent_keyboard = { + 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": "element_mouseevent_keyboard.html", + "Manual_1": "element_mouseevent_keyboard.html", + "group": "element_mouseevent_keyboard.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Manual_1": "Confirm the <{0}> element with mouse event handler(s) '{1}' has a corresponding keyboard handler(s)", + "group": "All interactive content with mouse event handlers must have equivalent keyboard access" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.1.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var nodeName = ruleContext.nodeName.toLowerCase(); + var passed = ruleContext.hasAttribute("href") || + (!ruleContext.hasAttribute("ondblclick") && + !ruleContext.hasAttribute("onmousemove") && + (!ruleContext.hasAttribute("onmousedown") || ruleContext.hasAttribute("onkeydown")) && + (!ruleContext.hasAttribute("onmouseup") || ruleContext.hasAttribute("onkeyup")) && + (!ruleContext.hasAttribute("onmouseover") || ruleContext.hasAttribute("onfocus")) && + (!ruleContext.hasAttribute("onmouseout") || ruleContext.hasAttribute("onblur")) && + (!ruleContext.hasAttribute("onclick") || ruleContext.hasAttribute("onkeypress") || + nodeName == "a" || nodeName == "button")); + var failedMouseEvents = new Array(); + if (!passed) { + //store and display event name and node name in the tokens + if (ruleContext.hasAttribute("ondblclick")) { + failedMouseEvents.push("ondblclick"); + } + if (ruleContext.hasAttribute("onmousemove")) { + failedMouseEvents.push("onmousemove"); + } + if (ruleContext.hasAttribute("onmousedown") && !ruleContext.hasAttribute("onkeydown")) { + failedMouseEvents.push("onmousedown"); + } + if (ruleContext.hasAttribute("onmouseup") && !ruleContext.hasAttribute("onkeyup")) { + failedMouseEvents.push("onmouseup"); + } + if (ruleContext.hasAttribute("onmouseover") && !ruleContext.hasAttribute("onfocus")) { + failedMouseEvents.push("onmouseover"); + } + if (ruleContext.hasAttribute("onmouseout") && !ruleContext.hasAttribute("onblur")) { + failedMouseEvents.push("onmouseout"); + } + if (ruleContext.hasAttribute("onclick") && !ruleContext.hasAttribute("onkeypress")) { + if (!(nodeName == "a" || nodeName == "button")) + failedMouseEvents.push("onclick"); + } + } + return passed ? (0, IRule_1.RulePass)("Pass_0") : (0, IRule_1.RuleManual)("Manual_1", [nodeName, failedMouseEvents.join(", ")]); + } +}; + + +/***/ }), + +/***/ 4557: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.element_orientation_unlocked = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CSSUtil_1 = __webpack_require__(1775); +var VisUtil_1 = __webpack_require__(8656); +var CacheUtil_1 = __webpack_require__(7788); +var fragment_1 = __webpack_require__(482); +var CommonUtil_1 = __webpack_require__(8137); +exports.element_orientation_unlocked = { + id: "element_orientation_unlocked", + context: "dom:*", + help: { + "en-US": { + "pass": "element_orientation_unlocked.html", + "fail_locked": "element_orientation_unlocked.html", + "group": "element_orientation_unlocked.html" + } + }, + messages: { + "en-US": { + "pass": "The element is not restricted to either landscape or portrait orientation using CSS transform property", + "fail_locked": "The element <{0}> is restricted to either landscape or portrait orientation using CSS transform property", + "group": "Elements should not be restricted to either landscape or portrait orientation using CSS transform property" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.4"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: ['b33eff'], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip invisible element + if (!VisUtil_1.VisUtil.isNodeVisible(ruleContext)) + return null; + //skip elements + if (CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["script", "meta", "title"])) + return null; + var nodeName = ruleContext.nodeName.toLowerCase(); + // cache the orientation result for all the elements in the page + var doc = fragment_1.FragmentUtil.getOwnerFragment(ruleContext); + var orientationTransforms = CacheUtil_1.CacheUtil.getCache(doc, "RPTUtil_MEDIA_ORIENTATION_TRANSFROM", null); + if (!orientationTransforms) { + orientationTransforms = CSSUtil_1.CSSUtil.getMediaOrientationTransform(doc); + CacheUtil_1.CacheUtil.setCache(doc, "RPTUtil_MEDIA_ORIENTATION_TRANSFROM", orientationTransforms); + } + // find if the element matches orientation selector(s) + var media_transforms = []; + Object.keys(orientationTransforms).forEach(function (key) { + Object.keys(orientationTransforms[key]).forEach(function (tag) { + if (Object.keys(orientationTransforms[key][tag]).length > 0 && CSSUtil_1.CSSUtil.selectorMatchesElem(ruleContext, tag)) { + if (orientationTransforms[key][tag].transform) + media_transforms.push(orientationTransforms[key][tag].transform); + else + media_transforms.push(orientationTransforms[key][tag]); + } + }); + }); + // no match, the element is not in media orientation transform + if (media_transforms.length === 0) + return null; + var ret = []; + var _loop_1 = function (i) { + var media_transform = media_transforms[i]; + if (typeof media_transform === 'object') + for (var key in media_transform) + media_transform = key + "(" + media_transform[key] + ")"; + var containsRotation = false; + ['rotate', 'rotate3d', 'rotateZ', 'matrix', 'matrix3d'].forEach(function (rotation) { + if (media_transform.includes(rotation)) + containsRotation = true; + }); + // no rotation transform, skip + if (!containsRotation) + return "continue"; + var degree = CSSUtil_1.CSSUtil.getRotationDegree(media_transform); + // no or 360n degree rotation + if (degree === 0) { + ret.push((0, IRule_1.RulePass)("pass")); + return "continue"; + } + /** + * calculate the original page rotation transformation, example + * html { transform: rotate(2.5deg); } + */ + var definedStyle = CSSUtil_1.CSSUtil.getDefinedStyles(ruleContext); + /** + * compensate the media orientation with the page orientation + */ + if (definedStyle['transform']) { + var page_degree = CSSUtil_1.CSSUtil.getRotationDegree(definedStyle['transform']); + // rotate is additive + degree += page_degree; + } + // When degree is 1 turn (360 degree), it is not considered an orientation lock + // allow 1 degree floating range for the right angle + if (Math.abs(degree - 360) % 360 > 1) + ret.push((0, IRule_1.RuleFail)("fail_locked", [nodeName])); + else + ret.push((0, IRule_1.RulePass)("pass")); + }; + for (var i = 0; i < media_transforms.length; i++) { + _loop_1(i); + } + if (ret.length > 0) + return ret; + return null; + } +}; + + +/***/ }), + +/***/ 4721: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.element_scrollable_tabbable = void 0; +var CommonUtil_1 = __webpack_require__(8137); +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var VisUtil_1 = __webpack_require__(8656); +var CSSUtil_1 = __webpack_require__(1775); +exports.element_scrollable_tabbable = { + id: "element_scrollable_tabbable", + context: "dom:*", + dependencies: [], + help: { + "en-US": { + "group": "element_scrollable_tabbable.html", + "pass_tabbable": "element_scrollable_tabbable.html", + "pass_interactive": "element_scrollable_tabbable.html", + "fail_scrollable": "element_scrollable_tabbable.html" + } + }, + messages: { + "en-US": { + "group": "Scrollable elements should be tabbable or contain tabbable content", + "pass_tabbable": "The scrollable element is tabbable", + "pass_interactive": "The scrollable element has tabbable content", + "fail_scrollable": "The scrollable element <{0}> with non-interactive content is not tabbable" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + num: ["2.1.1"], + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: ["0ssw9k"], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the check if the element is hidden or disabled + if (!VisUtil_1.VisUtil.isNodeVisible(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) + return; + //skip elements + if (CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["iframe", "svg", "script", "meta"])) + return null; + //skip if no visible content + if (!CommonUtil_1.CommonUtil.hasInnerContent(ruleContext)) + return null; + var nodeName = ruleContext.nodeName.toLowerCase(); + var styles = getComputedStyle(ruleContext); + // not scrollable, inapplicable + if ((styles.overflowX === 'visible' || styles.overflowX === 'hidden') + && (styles.overflowY === 'visible' || styles.overflowY === 'hidden')) + return null; + // ignore if the overall scrollable element (clientWidth + scrollbarWidth and clientHeight + scrollbarHeight) is too small to be visible on screen + if (Math.max(ruleContext.offsetWidth, ruleContext.offsetHeight) < 30 || Math.min(ruleContext.offsetWidth, ruleContext.offsetHeight) < 15) + return null; + // ignore if both x and y scroll distances < element's horizontal/vertical padding + var padding_x = CSSUtil_1.CSSUtil.getPixelsFromStyle(styles.paddingLeft, ruleContext) + CSSUtil_1.CSSUtil.getPixelsFromStyle(styles.paddingRight, ruleContext); + var padding_y = CSSUtil_1.CSSUtil.getPixelsFromStyle(styles.paddingTop, ruleContext) + CSSUtil_1.CSSUtil.getPixelsFromStyle(styles.paddingBottom, ruleContext); + if (ruleContext.scrollWidth - ruleContext.clientWidth < 1 + padding_x + && ruleContext.scrollHeight - ruleContext.clientHeight < 1 + padding_y) + return null; + // pass if element is tabbable + if (CommonUtil_1.CommonUtil.isTabbable(ruleContext)) + return (0, IRule_1.RulePass)("pass_tabbable"); + // check if element content is tabbable + var count = CommonUtil_1.CommonUtil.getTabbableChildren(ruleContext); + if (count > 0) + return (0, IRule_1.RulePass)("pass_interactive"); + // ignore in Firefox if no tabindex at all (not tested in embedded or any simulator) + if (!ruleContext.hasAttribute("tabindex") && navigator.userAgent.indexOf("Firefox") > -1) + return null; + return (0, IRule_1.RuleFail)("fail_scrollable", [nodeName]); + } +}; + + +/***/ }), + +/***/ 2814: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.element_tabbable_role_valid = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var ARIADefinitions_1 = __webpack_require__(8235); +var CSSUtil_1 = __webpack_require__(1775); +var DOMWalker_1 = __webpack_require__(7440); +var VisUtil_1 = __webpack_require__(8656); +exports.element_tabbable_role_valid = { + id: "element_tabbable_role_valid", + context: "dom:*", + help: { + "en-US": { + "pass": "element_tabbable_role_valid.html", + "fail_invalid_role": "element_tabbable_role_valid.html", + "fail_no_valid_role": "element_tabbable_role_valid.html", + "group": "element_tabbable_role_valid.html" + } + }, + messages: { + "en-US": { + "pass": "The tabbable element has a widget role", + "fail_invalid_role": "The tabbable element's role '{0}' is not a widget role", + "fail_no_valid_role": "The tabbable element does not have a valid widget role", + "group": "A tabbable element must have a valid widget role" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }, + { + "id": ["WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext) || VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var nodeName = ruleContext.nodeName.toLowerCase(); + // 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 CommonUtil_1.CommonUtil.tabTagMap) { + var value = CommonUtil_1.CommonUtil.tabTagMap[nodeName]; + if (typeof (value) === "function") { + value = value(ruleContext); + } + if (value) + return null; + } + // handle the case: no tabindex or tabindex < 0 + if (!ruleContext.hasAttribute("tabindex") || parseInt(ruleContext.getAttribute("tabindex")) < 0) + return null; + // ignore elements with CSS overflow: scroll or auto + var styles = CSSUtil_1.CSSUtil.getDefinedStyles(ruleContext); + if (styles['overflow-x'] === 'scroll' || styles['overflow-y'] === 'scroll' + || styles['overflow-x'] === 'auto' || styles['overflow-y'] === 'auto') + return null; + // elements whose roles allow no descendants that are interactive or with a tabindex >= 0 + // this case should be handled in widget_tabbable_single and aria_child_tabbable + var roles_no_interactive_child = ["button", "checkbox", "img", "link", "menuitem", "menuitemcheckbox", "menuitemradio", + "option", "radio", "switch", "tab"]; + var parent = DOMWalker_1.DOMWalker.parentNode(ruleContext); + var parent_role = AriaUtil_1.AriaUtil.getResolvedRole(parent); + // ignore if the parent role is in roles_no_interactive_child + if (roles_no_interactive_child.includes(parent_role)) + return null; + var role = AriaUtil_1.AriaUtil.getResolvedRole(ruleContext); + if (!role) + return (0, IRule_1.RuleFail)("fail_no_valid_role"); + // ignore 'application' role that contains one or more focusable elements that do not follow a standard interaction pattern supported by a widget role:https://www.w3.org/TR/2023/PR-WAI-ARIA-1.2-20230328/#application + if (role === "application") + return null; + // handle the case: tabindex >= 0 to examine whether a widget role is setup or not + // pass if one of the roles is a widget type + // Row is weird. It's structure, but can also be widget + // Focusable separators are widgets + if (role === "row" || role === "separator" || ARIADefinitions_1.ARIADefinitions.designPatterns[role].roleType === 'widget') { + return (0, IRule_1.RulePass)("pass"); + } + return (0, IRule_1.RuleFail)("fail_invalid_role", [role]); + } +}; + + +/***/ }), + +/***/ 9188: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.element_tabbable_unobscured = void 0; +var CommonUtil_1 = __webpack_require__(8137); +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var VisUtil_1 = __webpack_require__(8656); +var DOMMapper_1 = __webpack_require__(5697); +exports.element_tabbable_unobscured = { + id: "element_tabbable_unobscured", + context: "dom:*", + dependencies: [], + help: { + "en-US": { + "group": "element_tabbable_unobscured.html", + "pass": "element_tabbable_unobscured.html", + "potential_obscured": "element_tabbable_unobscured.html" + } + }, + messages: { + "en-US": { + "group": "When an element receives focus, it is not entirely covered by other content", + "pass": "The element is not entirely covered by other content", + "potential_obscured": "Confirm that when the element receives focus, it is not covered or, if covered by user action, can be uncovered without moving focus" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_2"], + num: ["2.4.11"], + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (!VisUtil_1.VisUtil.isNodeVisible(ruleContext) || !CommonUtil_1.CommonUtil.isTabbable(ruleContext)) + return null; + var nodeName = ruleContext.nodeName.toLocaleLowerCase(); + //ignore certain elements + if (CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["pre", "code", "script", "meta"]) !== null + || nodeName === "body" || nodeName === "html") + return null; + var mapper = new DOMMapper_1.DOMMapper(); + var bounds = mapper.getUnadjustedBounds(ruleContext); + ; + //in case the bounds not available + if (!bounds) + return null; + //ignore if offscreen + if (bounds['height'] === 0 || bounds['width'] === 0) + return null; + var doc = ruleContext.ownerDocument; + if (!doc) { + return null; + } + var win = doc.defaultView; + if (!win) { + return null; + } + var cStyle = win.getComputedStyle(ruleContext); + if (cStyle === null) + return null; + var zindex = cStyle.zIndex; + if (!zindex || zindex === 'auto') + zindex = "0"; + var elems = doc.querySelectorAll('body *:not(script)'); + if (!elems || elems.length == 0) + return; + var violations = []; + var before = true; + elems.forEach(function (elem) { + /** + * the nodes returned from querySelectorAll is in document order + * if two elements overlap and z-index are not defined, then the node rendered earlier will be overlaid by the node rendered later + */ + if (ruleContext.contains(elem)) { + //the next node in elems will be after the target node (ruleContext). + before = false; + } + else if (VisUtil_1.VisUtil.isNodeVisible(elem) && !elem.contains(ruleContext)) { + var bnds = mapper.getUnadjustedBounds(elem); + var zStyle = win.getComputedStyle(elem); + var z_index = '0'; + if (zStyle) { + z_index = zStyle.zIndex; + if (!z_index || isNaN(Number(z_index))) + z_index = "0"; + } + if (bnds.height !== 0 && bnds.width !== 0 + && bnds.top <= bounds.top && bnds.left <= bounds.left && bnds.top + bnds.height >= bounds.top + bounds.height + && bnds.left + bnds.height >= bounds.left + bounds.width + && (before ? parseInt(zindex) < parseInt(z_index) : parseInt(zindex) <= parseInt(z_index))) { + violations.push(elem); + } + } + }); + if (violations.length > 0) { + return (0, IRule_1.RulePotential)("potential_obscured", []); + } + return (0, IRule_1.RulePass)("pass"); + } +}; + + +/***/ }), + +/***/ 7601: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.element_tabbable_visible = void 0; +var CommonUtil_1 = __webpack_require__(8137); +var CSSUtil_1 = __webpack_require__(1775); +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var DOMMapper_1 = __webpack_require__(5697); +exports.element_tabbable_visible = { + id: "element_tabbable_visible", + context: "dom:*", + dependencies: [], + help: { + "en-US": { + "group": "element_tabbable_visible.html", + "pass": "element_tabbable_visible.html", + "potential_visible": "element_tabbable_visible.html" + } + }, + messages: { + "en-US": { + "group": "A tabbable element should be visible on the screen when it has keyboard focus", + "pass": "The tabbable element is visible on the screen", + "potential_visible": "Confirm the element should be tabbable and if so, it becomes visible when it has keyboard focus" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + num: ["2.4.7"], + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (!CommonUtil_1.CommonUtil.isTabbable(ruleContext)) + return null; + var nodeName = ruleContext.nodeName.toLocaleLowerCase(); + var mapper = new DOMMapper_1.DOMMapper(); + var bounds = mapper.getUnadjustedBounds(ruleContext); + //in case the bounds not available + if (!bounds) + return null; + // defined styles only give the styles that changed + var defined_styles = CSSUtil_1.CSSUtil.getDefinedStyles(ruleContext); + var onfocus_styles = CSSUtil_1.CSSUtil.getDefinedStyles(ruleContext, ":focus"); + if (bounds['height'] === 0 || bounds['width'] === 0) + return (0, IRule_1.RulePotential)("potential_visible", []); + if (defined_styles['position'] === 'absolute' && defined_styles['clip'] && defined_styles['clip'].replaceAll(' ', '') === 'rect(0px,0px,0px,0px)' + && !onfocus_styles['clip']) { + /** + * note that A user can select a checkbox and radio button by selecting the button or the label text. + * When a checkbox or radio button is clipped to 0 size, it is still available to a keyboard or a screen reader. + * The rule should be passed if the label text exists and the button on-focus style is defined by the user, + * which likely incurs the changes of the label style. + */ + if (nodeName === 'input' && (ruleContext.getAttribute('type') === 'checkbox' || ruleContext.getAttribute('type') === 'radio')) { + var label = CommonUtil_1.CommonUtil.getLabelForElement(ruleContext); + if (label && !CommonUtil_1.CommonUtil.isInnerTextEmpty(label)) { + var focus_styles = CSSUtil_1.CSSUtil.getDefinedStyles(ruleContext, ":focus"); + var focus_visible_styles = CSSUtil_1.CSSUtil.getDefinedStyles(ruleContext, ":focus-visible"); + var focus_within_styles = CSSUtil_1.CSSUtil.getDefinedStyles(ruleContext, ":focus-within"); + var checked_styles = CSSUtil_1.CSSUtil.getDefinedStyles(ruleContext, ":checked"); + if (focus_styles || focus_visible_styles || focus_within_styles || checked_styles) + return (0, IRule_1.RulePass)("pass"); + } + } + return (0, IRule_1.RulePotential)("potential_visible", []); + } + if (bounds['top'] >= 0 && bounds['left'] >= 0) + return (0, IRule_1.RulePass)("pass"); + var default_styles = getComputedStyle(ruleContext); + var top = bounds['top']; + var left = bounds['left']; + if (Object.keys(onfocus_styles).length === 0) { + // no onfocus position change, but could be changed from js + return (0, IRule_1.RulePotential)("potential_visible", []); + } + else { + // with onfocus position change + var positions = ['absolute', 'fixed']; + if (typeof onfocus_styles['top'] !== 'undefined') { + if (positions.includes(onfocus_styles['position']) || (typeof onfocus_styles['position'] === 'undefined' && positions.includes(default_styles['position']))) { + top = onfocus_styles['top'].replace(/\D/g, ''); + } + else { + // the position is undefined and the parent's position is 'relative' + top = Number.MIN_VALUE; + } + } + if (typeof onfocus_styles['left'] !== 'undefined') { + if (positions.includes(onfocus_styles['position']) || (typeof onfocus_styles['position'] === 'undefined' && positions.includes(default_styles['position']))) { + left = onfocus_styles['left'].replace(/\D/g, ''); + } + else { + // the position is undefined and the parent's position is 'relative' + left = Number.MIN_VALUE; + } + } + } + if (top >= 0 && left >= 0) + return (0, IRule_1.RulePass)("pass"); + else + return (0, IRule_1.RulePotential)("potential_visible", []); + } +}; + + +/***/ }), + +/***/ 4497: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.embed_alt_exists = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +var VisUtil_1 = __webpack_require__(8656); +exports.embed_alt_exists = { + id: "embed_alt_exists", + context: "dom:embed", + refactor: { + "RPT_Embed_HasAlt": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + "Pass_0": "embed_alt_exists.html", + "Potential_1": "embed_alt_exists.html", + "group": "embed_alt_exists.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify that the <embed> element has alternative content", + "group": "Provide alternative content for <embed> elements" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_FOUR + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var passed = CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "alt"); + return passed ? (0, IRule_1.RulePass)("Pass_0") : (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 152: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.embed_noembed_exists = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +exports.embed_noembed_exists = { + id: "embed_noembed_exists", + context: "dom:embed", + refactor: { + "WCAG20_Embed_HasNoEmbed": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + "Pass_0": "embed_noembed_exists.html", + "Potential_1": "embed_noembed_exists.html", + "group": "embed_noembed_exists.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify that the <embed> element is immediately followed by a non-embedded element", + "group": "<embed> elements should be immediately followed by a non-embedded element" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_FOUR + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = ruleContext.getElementsByTagName("noembed").length > 0; + if (!passed) { + var walkNode = ruleContext.nextSibling; + while (!passed && walkNode !== null) { + if (walkNode.nodeName.toLowerCase() == "noembed") + passed = true; + else if (walkNode.nodeName.toLowerCase() == "#text" && walkNode.nodeValue.trim().length > 0) + break; + else if (walkNode.nodeType == 1) + break; + walkNode = walkNode.nextSibling; + } + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 935: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.emoticons_alt_exists = void 0; +var IRule_1 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +exports.emoticons_alt_exists = { + id: "emoticons_alt_exists", + context: "dom:*", + refactor: { + "WCAG20_Text_Emoticons": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + "Pass_0": "emoticons_alt_exists.html", + "Potential_1": "emoticons_alt_exists.html", + "group": "emoticons_alt_exists.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify that emoticons have a text alternative", + "group": "Emoticons must have a short text alternative that describes their purpose" + } + }, + /** + * Decision in planning 9/7/23 that this rule causes more reviews that we see actual problems in content, so turn these rules off + + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": eRulePolicy.VIOLATION, + "toolkitLevel": eToolkitLevel.LEVEL_TWO + }], + */ + rulesets: [], + act: [], + run: function (context, options, contextHierarchies) { + var validateParams = { + emoticons: { + value: [":-)", ":)", ":o)", ":]", ":3", ":c)", ":>", "=]", "8)", "=)", ":D", "C:", + ":-D", ":D", "8D", "XD", "=D", "=3", "<=3", "<=8", "--!--", ":-(", ":(", ":c", ":<", ":[", + "D:", "D8", "D;", "D=", "DX", "v.v", ":-9", ";-)", ";)", "*)", ";]", ";D", ":-P", ":P", + ":-p", ":p", "=p", ":-Þ", ":Þ", ":-b", ":b", ":-O", ":O", "O_O", "o_o", "8O", "OwO", "O-O", + "0_o", "O_o", "O3O", "o0o ;o_o;", "o...o", "0w0", ":-/", ":/", ":\\", "=/", "=\\", ":S", ":|", + "d:-)", "qB-)", ":)~", ":-)>....", ":-X", ":X", ":-#", ":#", "O:-)", "0:3", "O:)", ":'(", ";*(", + "T_T", "TT_TT", "T.T", ":-*", ":*", "^o)", ">:)", ">;)", ">:-)", "B)", "B-)", "8)", "8-)", + "^>.>^", "^<.<^", "^>_>^", "^<_<^", "D:<", ">:(", "D-:<", ">:-(", ":-@[1]", ";(", "`_´", "D<", + "<3", "<333", "=^_^=", "=>.>=", "=<_<=", "=>.<=", "\\,,/", "\\m/", "\\m/\\>.</\\m/", "\\o/", "\\o o/", + "o/\\o", ":&", ":u" + ], + type: "[string]" + } + }; + var ruleContext = context["dom"].node; + var emoticons = validateParams.emoticons.value; + var passed = true; + var testText = ""; + var walkNode = ruleContext.firstChild; + while (walkNode) { + // Comply to the Check Hidden Content setting will be done by default as this rule triggers on each element + // and for each element it only checks that single elements text nodes and nothing else. So all inner elements will be + // covered on their own. Currently for this rule by default Check Hidden Content will work, as we are doing + // a node walk only on siblings so it would not get text nodes from other siblings at all. + // In the case in the future something chnges, just need to add && !RPTUtil.shouldNodeBeSkippedHidden(walkNode) to the below + // if. + if (walkNode.nodeName == "#text") { + testText += " " + walkNode.nodeValue; + } + walkNode = walkNode.nextSibling; + } + if (testText.trim().length > 0) { + for (var j = 0; passed && j < emoticons.length; ++j) { + var emotIdx = testText.indexOf(emoticons[j]); + var eLngth = emoticons[j].length; + while (passed && emotIdx != -1) { + // Passes if: the emoticon is not preceded by whitespace, + // or the emoticon is not followed by whitespace unless it's punctuation, + // or it's in a pre, code, or script + passed = + (emotIdx > 0 && !/\s/.test(testText.substring(emotIdx - 1, emotIdx))) || + (emotIdx < testText.length - eLngth && !/\s/.test(testText.substring(emotIdx + eLngth, emotIdx + eLngth + 1)) && + !/[.,!'"?]/.test(testText.substring(emotIdx + eLngth, emotIdx + eLngth + 1))); + // Allow usage of (: stuff :) since this is a comment in some languages + passed = passed || ((emoticons[j] == ":)" || emoticons[j] == "(:") && /\(\:.*\:\)/.test(testText)); + passed = passed || ((emoticons[j] == ";)" || emoticons[j] == "(;") && /\(\;.*\;\)/.test(testText)); + emotIdx = testText.indexOf(emoticons[j], emotIdx + 1); + } + } + } + if (!passed) { + // Don't trigger if we're not in the body or if we're in a script, pre, code + var checkAncestor = CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["pre", "code", "script", "body"]); + passed = checkAncestor == null || checkAncestor.nodeName.toLowerCase() != "body"; + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 9719: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.error_message_exists = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var fragment_1 = __webpack_require__(482); +var VisUtil_1 = __webpack_require__(8656); +exports.error_message_exists = { + 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": "error_message_exists.html", + "Fail_1": "error_message_exists.html", + "Fail_2": "error_message_exists.html", + "group": "error_message_exists.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Custom error message has invalid reference 'id' value", + "Fail_2": "Custom error message is not visible", + "group": "A custom error message must reference a valid 'id' value and when triggered the message must be appropriately exposed" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["3.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var aria_errMsgId = AriaUtil_1.AriaUtil.getAriaAttribute(ruleContext, "aria-errormessage"); + // If aria-errormessage is not provided, then OUT_OF_SCOPE + if (!aria_errMsgId) { + return null; + } + var msg_ele = fragment_1.FragmentUtil.getById(ruleContext, aria_errMsgId); + // POF0: Invalid id reference + if (!msg_ele) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + // POF1: Referenced element is not visible + if (!VisUtil_1.VisUtil.isNodeVisible(msg_ele)) { + return (0, IRule_1.RuleFail)("Fail_2"); + } + return (0, IRule_1.RulePass)("Pass_0"); + } +}; + + +/***/ }), + +/***/ 5625: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.fieldset_label_valid = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var fragment_1 = __webpack_require__(482); +var CacheUtil_1 = __webpack_require__(7788); +var CommonUtil_1 = __webpack_require__(8137); +var VisUtil_1 = __webpack_require__(8656); +var AccNameUtil_1 = __webpack_require__(1421); +exports.fieldset_label_valid = { + 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": "fieldset_label_valid.html", + "Fail_1": "fieldset_label_valid.html", + "Fail_2": "fieldset_label_valid.html", + "group": "fieldset_label_valid.html" + } + }, + messages: { + "en-US": { + "Pass_1": "Group/Fieldset \"{0}\" with an input has a unique name", + "Fail_1": "Group/Fieldset does not have an accessible name", + "Fail_2": "Group/Fieldset \"{0}\" has a duplicate name to another group", + "group": "Groups with nested inputs must have unique accessible name" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1", "3.3.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the check if the element is hidden or disabled + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) + return; + var ownerDocument = fragment_1.FragmentUtil.getOwnerFragment(ruleContext); + var formCache = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "landmark_group_input", null); + if (!formCache) { + formCache = { + groupsWithInputs: [], + groupsWithInputsComputedLabels: [], + }; + var allGroupsTemp = ownerDocument.querySelectorAll('fieldset,[role="group"]'); + var allGroups = Array.from(allGroupsTemp); + var groupsWithInputs = []; + for (var i = 0; i < allGroups.length; i++) { + // Loop over all the group nodes + if (allGroups[i].querySelector("input")) { + groupsWithInputs.push(allGroups[i]); + } + } + var groupsWithInputsComputedLabels = []; + for (var i = 0; i < groupsWithInputs.length; i++) { + var pair = AccNameUtil_1.AccNameUtil.computeAccessibleName(groupsWithInputs[i]); + // Loop over all the landmark nodes + groupsWithInputsComputedLabels.push( + /**ARIAMapper.computeName(groupsWithInputs[i])*/ + pair && pair.name && pair.name.trim().length > 0 ? pair.name.trim() : ""); + } + formCache.groupsWithInputs = groupsWithInputs; + formCache.groupsWithInputsComputedLabels = + groupsWithInputsComputedLabels; + CacheUtil_1.CacheUtil.setCache(ruleContext.ownerDocument, "landmark_group_input", formCache); + } + // formCache.groupsWithInputs.forEach(element => { + // console.log("formCache.groupsWithInputs: " +element.id) + // }); + // console.log("formCache.groupsWithInputsComputedLabels: " +formCache.groupsWithInputsComputedLabels) + // console.log("formCache.groupsWithInputsComputedLabels: " +formCache.groupsWithInputsComputedLabels.length) + var ruleContextFoundIngroupsWithInputsFlag = false; + var computedName = ""; + if (!formCache.groupsWithInputs) { + // We do not have any groups with inputs. Therefore we should skip this rule trigger. + return null; + } + for (var i = 0; i < formCache.groupsWithInputs.length; i++) { + if (ruleContext.isSameNode(formCache.groupsWithInputs[i])) { + // We have found our ruleContext in the cache + ruleContextFoundIngroupsWithInputsFlag = true; + if (formCache.groupsWithInputsComputedLabels[i] === "" || + formCache.groupsWithInputsComputedLabels[i] === null) { + // console.log("Fail_1") + return (0, IRule_1.RuleFail)("Fail_1"); + } + var foundSameNameFlag = false; + for (var j = 0; j < formCache.groupsWithInputsComputedLabels.length; j++) { + if (i == j) { + continue; + } // We do not want to compare against ourselfs + if (formCache.groupsWithInputsComputedLabels[i] === + formCache.groupsWithInputsComputedLabels[j]) { + foundSameNameFlag = true; + } + } + if (foundSameNameFlag) { + // console.log("Fail_2") + return (0, IRule_1.RuleFail)("Fail_2", [ + formCache.groupsWithInputsComputedLabels[i], + ]); + } + computedName = formCache.groupsWithInputsComputedLabels[i]; + } + } + if (!ruleContextFoundIngroupsWithInputsFlag) { + // console.log("null return") + return null; + } + // console.log("Pass_1") + return (0, IRule_1.RulePass)("Pass_1", [computedName]); + } +}; + + +/***/ }), + +/***/ 9115: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.fieldset_legend_valid = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +var VisUtil_1 = __webpack_require__(8656); +exports.fieldset_legend_valid = { + 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": "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: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "<fieldset> element does not have a <legend>", + "Fail_2": "<fieldset> element has more than one <legend>", + "Fail_3": "<fieldset> element <legend> is empty", + "group": " <fieldset> elements should have a single, non-empty <legend> as a label" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip if the fieldset is hidden or disabled + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) + return null; + // In the case a legend is hidden, we should still trigger a violations for this + var legends = CommonUtil_1.CommonUtil.getChildByTagHidden(ruleContext, "legend", true, false); + if (legends.length === 0) { + // Fieldset has NO Legend + return (0, IRule_1.RuleFail)("Fail_1"); + } + else if (legends.length > 1) { + // Fieldset has more than one legend + return (0, IRule_1.RuleFail)("Fail_2"); + } + else if (CommonUtil_1.CommonUtil.getInnerText(legends[0]).trim().length === 0) { + // Fieldset has legend but legend is empty + return (0, IRule_1.RuleFail)("Fail_3"); + } + return (0, IRule_1.RulePass)("Pass_0"); + } +}; + + +/***/ }), + +/***/ 6072: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.figure_label_exists = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var VisUtil_1 = __webpack_require__(8656); +var AccNameUtil_1 = __webpack_require__(1421); +exports.figure_label_exists = { + id: "figure_label_exists", + context: "dom:figure", + refactor: { + "HAAC_Figure_label": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "Pass_0": "figure_label_exists.html", + "Fail_1": "figure_label_exists.html", + "group": "figure_label_exists.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "The <figure> element does not have an associated label", + "group": "A <figure> element must have an associated label" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + // ignore if an explicit role is specified. this case will be covered in the aria_accessiblename_exists rules + var role = ruleContext.getAttribute("role"); + if (role) { + return null; + } + //let passed = AriaUtil.hasAriaLabel(ruleContext) || CommonUtil.attributeNonEmpty(ruleContext, "title"); + var pair = AccNameUtil_1.AccNameUtil.computeAccessibleName(ruleContext); + var passed = pair && pair.name && pair.name.trim().length > 0; + //return new ValidationResult(passed, [ruleContext], '', '', []); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1", []); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 6923: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.form_font_color = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +exports.form_font_color = { + id: "form_font_color", + context: "dom:form", + refactor: { + "RPT_Font_ColorInForm": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + "Pass_0": "form_font_color.html", + "Potential_1": "form_font_color.html", + "group": "form_font_color.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Check color is not used as the only visual means to convey which fields are required", + "group": "Combine color and descriptive markup to indicate required form fields" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = true; + var fonts = ruleContext.getElementsByTagName("font"); + if (fonts != null) { + for (var i = 0; i < fonts.length; ++i) { + passed = !fonts[i].hasAttribute("color"); + } + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 9015: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.form_interaction_review = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +exports.form_interaction_review = { + 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": "form_interaction_review.html", + "Potential_1": "form_interaction_review.html", + "group": "form_interaction_review.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify that interacting with content will not open pop-up windows or change the active window without informing the user", + "group": "User should be informed in advance when interacting with content causes a change of context" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["3.2.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var validateParams = { + paramWinText: { + value: ["new window"], + type: "array" + } + }; + var ruleContext = context["dom"].node; + var tStr = ruleContext.getAttribute("target"); + var passed = tStr === "_parent" || tStr === "_self" || tStr === "_top" || CommonUtil_1.CommonUtil.getFrameByName(ruleContext, tStr) != null; + if (!passed) { + // Name is not part of this frameset – must have potential to create new window? + // See if a new window is mentioned + var textStr = CommonUtil_1.CommonUtil.getInnerText(ruleContext); + if (ruleContext.hasAttribute("title")) + textStr += " " + ruleContext.getAttribute("title"); + for (var i = 0; !passed && i < validateParams.paramWinText.value.length; ++i) + if (textStr.indexOf(validateParams.paramWinText.value[i]) != -1) + passed = true; + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 3611: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.form_label_unique = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var fragment_1 = __webpack_require__(482); +var CacheUtil_1 = __webpack_require__(7788); +exports.form_label_unique = { + 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": "form_label_unique.html", + "Fail_1": "form_label_unique.html", + "group": "form_label_unique.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Form control has more than one label", + "group": "Form controls should have exactly one label" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // JCH - NO OUT OF SCOPE hidden in context + var labelIds = CacheUtil_1.CacheUtil.getCache(fragment_1.FragmentUtil.getOwnerFragment(ruleContext), "RPT_Label_Single", {}); + var id = ruleContext.getAttribute("for"); + var passed = !(id in labelIds); + labelIds[id] = true; + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 4846: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.form_submit_button_exists = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var DOMWalker_1 = __webpack_require__(7440); +exports.form_submit_button_exists = { + 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": "form_submit_button_exists.html", + "Potential_1": "form_submit_button_exists.html", + "group": "form_submit_button_exists.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify the <form> element has a submit button or an image button", + "group": "A <form> element should have a submit button or an image button" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["3.2.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = false; + if (ruleContext.firstChild) { + // submit buttons are usually at the bottom - walk backwards + //let nw = new NodeWalker(ruleContext, true); + var nw = new DOMWalker_1.DOMWalker(ruleContext, true); + while (!passed && nw.prevNode() && nw.node != ruleContext) { + if (!nw.bEndTag) { + var nodeName = nw.node.nodeName.toLowerCase(); + if (nodeName === "input") { + var type = nw.elem().getAttribute("type"); + if (type) { + type = type.toLowerCase(); + } + passed = type === "submit" || type === "image"; + } + else if (nodeName === "button") { + passed = nw.elem().hasAttribute("type") && nw.elem().getAttribute("type").toLowerCase() === "submit"; + } + else if (nw.node.nodeType === 1) { + passed = AriaUtil_1.AriaUtil.hasRole(nw.node, "button"); + } + } + } + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 3277: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.form_submit_review = void 0; +var IRule_1 = __webpack_require__(4377); +exports.form_submit_review = { + 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": "form_submit_review.html", + "Potential_1": "form_submit_review.html", + "group": "form_submit_review.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Confirm the form does not submit automatically without warning", + "group": "A form should not be submitted automatically without warning the user" + } + }, + /** + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["3.2.2"], + "level": eRulePolicy.VIOLATION, + "toolkitLevel": eToolkitLevel.LEVEL_THREE + }],*/ + //deprecate the rule on Jun 10, 2024 + rulesets: [], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = ruleContext.getAttribute("onchange").trim().length === 0; + if (passed) + return null; + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 4525: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.frame_src_valid = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +exports.frame_src_valid = { + 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": "frame_src_valid.html", + "Potential_1": "frame_src_valid.html", + "group": "frame_src_valid.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify <frame> content is accessible", + "group": "A <frame> containing non-HTML content must be made accessible" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "src") && + CommonUtil_1.CommonUtil.isHtmlExt(CommonUtil_1.CommonUtil.getFileExt(ruleContext.getAttribute("src"))); + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 7114: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.frame_title_exists = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AccNameUtil_1 = __webpack_require__(1421); +var VisUtil_1 = __webpack_require__(8656); +exports.frame_title_exists = { + 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": "frame_title_exists.html", + "Pass_0": "frame_title_exists.html", + "Fail_1": "frame_title_exists.html" + } + }, + messages: { + "en-US": { + "group": "Inline frames must have a unique, non-empty 'title' attribute", + "Pass_0": "Rule Passed", + "Fail_1": "Inline frame does not have a 'title' attribute", + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: "cae760", + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + // ignore if an explicit role is specified. this case will be covered in the aria_accessiblename_exists rules + var role = ruleContext.getAttribute("role"); + if (role) { + return null; + } + var name_pair = AccNameUtil_1.AccNameUtil.computeAccessibleName(ruleContext); + if (name_pair && name_pair.name && name_pair.name.trim().length > 0) { + //if (CommonUtil.attributeNonEmpty(ruleContext, "title")) { + return (0, IRule_1.RulePass)("Pass_0"); + } + else { + return (0, IRule_1.RuleFail)("Fail_1"); + } + } +}; + + +/***/ }), + +/***/ 3751: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.heading_content_exists = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +exports.heading_content_exists = { + 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": "heading_content_exists.html", + "Fail_1": "heading_content_exists.html", + "group": "heading_content_exists.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Heading element has descriptive text", + "Fail_1": "Heading element has no descriptive content", + "group": "Heading elements must provide descriptive text" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.6"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = CommonUtil_1.CommonUtil.hasInnerContentHidden(ruleContext); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 7084: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.heading_markup_misuse = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +exports.heading_markup_misuse = { + id: "heading_markup_misuse", + context: "dom:h1, dom:h2, dom:h3, dom:h4, dom:h5, dom:h6", + dependencies: ["heading_content_exists"], + refactor: { + "RPT_Headers_FewWords": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + "Pass_0": "heading_markup_misuse.html", + "Potential_1": "heading_markup_misuse.html", + "group": "heading_markup_misuse.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify that the heading element is a genuine heading", + "group": "Heading elements must not be used for presentation" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var validateParams = { + headingLengthThresh: { + value: 20, + type: "integer" + } + }; + var ruleContext = context["dom"].node; + var headingLengthThresh = validateParams.headingLengthThresh.value; + var passed = CommonUtil_1.CommonUtil.wordCount(CommonUtil_1.CommonUtil.getInnerText(ruleContext)) <= headingLengthThresh; + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 3981: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.html_lang_exists = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var ancestor_1 = __webpack_require__(9193); +var lang_1 = __webpack_require__(2527); +exports.html_lang_exists = { + 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": "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: { + "en-US": { + "group": "Page must identify the default language of the document with a 'lang' attribute", + "Pass_0": "Page language detected as \"{0}\"", + "Fail_1": "Page detected as XHTML 1.0, but has neither 'lang' nor 'xml:lang' attributes", + "Fail_2": "Page detected as XHTML, but does not have an 'xml:lang' attribute", + "Fail_3": "Page detected as HTML, but does not have a 'lang' attribute", + "Fail_4": "Page detected with 'lang' and 'xml:lang' attributes and primary languages do not match: \"{0}\", \"{1}\"", + "Fail_5": "Page detected with 'lang' and 'xml:lang' attributes that do not match: \"{0}\", \"{1}\"", + "Potential_5": "Page detected as XHTML 1.0 with only a 'lang' attribute. Confirm that page is only delivered via text/html mime type", + "Potential_6": "Page detected as XHTML 1.0 with only an 'xml:lang' attribute. Confirm that page is only delivered via xml mime type" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: "3.1.1", + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [{ + "b5c3f8": { + "Pass_0": "pass", + "Fail_1": "inapplicable", + "Fail_2": "inapplicable", + "Fail_3": "fail", + "Fail_4": "inapplicable", + "Fail_5": "inapplicable", + "Potential_5": "inapplicable", + "Potential_6": "inapplicable" + }, + "5b7ae0": { + "Pass_0": "pass", + "Fail_1": "inapplicable", + "Fail_2": "inapplicable", + "Fail_3": "inapplicable", + "Fail_4": "fail", + "Fail_5": "pass", + "Potential_5": "inapplicable", + "Potential_6": "inapplicable" + } + }], + run: function (context, options, contextHierarchies) { + // This rule does not apply inside a presentational frame + if (ancestor_1.AncestorUtil.isPresentationFrame(contextHierarchies)) { + return null; + } + var ruleContext = context["dom"].node; + var doctypeString = ruleContext.ownerDocument.doctype ? ruleContext.ownerDocument.doctype.publicId : ""; + if (!doctypeString) + doctypeString = ""; + var lang = ruleContext.getAttribute("lang"); + var langXML = ruleContext.getAttribute("xml:lang"); + if (doctypeString.includes('XHTML') && !doctypeString.includes("1.0")) { + if (!langXML) { + // XHTML != 1.0 (must have xml:lang + return (0, IRule_1.RuleFail)("Fail_2"); + } + else { + return (0, IRule_1.RulePass)("Pass_0", [langXML]); + } + } + else if (doctypeString.includes('XHTML') && doctypeString.includes("1.0")) { + // Handle XHTML 1.0 + // If neither is provided, it's a failure + if (!lang && !langXML) { + // XHTML and no lang + return (0, IRule_1.RuleFail)("Fail_1"); + } + else if (lang && langXML) { + if (lang !== langXML) { + if (!lang_1.LangUtil.validPrimaryLang(lang) || !lang_1.LangUtil.validPrimaryLang(langXML)) { + // Let Elem_Lang_Valid handle this + return null; + } + if (!lang_1.LangUtil.matchPrimaryLang(lang, langXML)) { + // XHTML and lang and xml:lang, but they don't match + return (0, IRule_1.RuleFail)("Fail_4", [lang, langXML], []); + } + else { + return (0, IRule_1.RuleFail)("Fail_5", [lang, langXML], []); + } + } + else { + // XHTML and lang and xml:lang match + return (0, IRule_1.RulePass)("Pass_0", [lang]); + } + } + else if (lang) { + // XHTML and only lang (okay if only delivered via text/html) + return (0, IRule_1.RulePotential)("Potential_5"); + } + else { + // XHTML and only xml:lang (okay if only delivered via xml mime type) + return (0, IRule_1.RulePotential)("Potential_6"); + } + } + else { + if (!lang) { + return (0, IRule_1.RuleFail)("Fail_3"); + } + else if (lang && langXML) { + // HTML5 polyglot documents + if (lang !== langXML) { + if (!lang_1.LangUtil.validPrimaryLang(lang) || !lang_1.LangUtil.validPrimaryLang(langXML)) { + // Let Elem_Lang_Valid handle this + return null; + } + if (!lang_1.LangUtil.matchPrimaryLang(lang, langXML)) { + // XHTML and lang and xml:lang, but they don't match + return (0, IRule_1.RuleFail)("Fail_4", [lang, langXML], []); + } + else { + return (0, IRule_1.RuleFail)("Fail_5", [lang, langXML], []); + } + } + else { + // XHTML and lang and xml:lang match + return (0, IRule_1.RulePass)("Pass_0", [lang]); + } + } + else { + return (0, IRule_1.RulePass)("Pass_0", [lang]); + } + } + } +}; + + +/***/ }), + +/***/ 9788: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.html_skipnav_exists = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +var fragment_1 = __webpack_require__(482); +exports.html_skipnav_exists = { + id: "html_skipnav_exists", + context: "dom:html", + refactor: { + "RPT_Html_SkipNav": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + "group": "html_skipnav_exists.html", + "Pass_0": "html_skipnav_exists.html", + "Potential_1": "html_skipnav_exists.html" + } + }, + messages: { + "en-US": { + "group": "Provide a way to bypass blocks of content that are repeated on multiple Web pages", + "Pass_0": "Rule Passed", + "Potential_1": "Verify there is a way to bypass blocks of content that are repeated on multiple Web pages" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: "2.4.1", + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = false; + var frames = CommonUtil_1.CommonUtil.getDocElementsByTag(ruleContext, "frame"); + var headers = CommonUtil_1.CommonUtil.getDocElementsByTag(ruleContext, "h1"); + if ((frames != null && frames.length > 0) || (headers != null && headers.length > 0)) { + // If frames or headings are used, pass + passed = true; + } + else { + // Look for skip anchors + var anchors = CommonUtil_1.CommonUtil.getDocElementsByTag(ruleContext, "a"); + var targets = {}; + for (var idx = 0; !passed && idx < anchors.length; ++idx) { + if (anchors[idx].hasAttribute("href")) { + var href = anchors[idx].href; + if (typeof href !== typeof "") { + if (href.baseVal) { + href = href.baseVal; + } + else { + href = ""; + } + } + var tmpLocation = void 0; + if (typeof (ruleContext.ownerDocument.locationFromDAP) != "undefined" && ruleContext.ownerDocument.locationFromDAP != null) { // DAP sets it + tmpLocation = ruleContext.ownerDocument.locationFromDAP; + } + else { // server scan has the location object + tmpLocation = ruleContext.ownerDocument.location; + } + var docHref = ""; + if (tmpLocation) { + docHref = tmpLocation.href; + } + // Fix weird bugs with how various parsers report on file: url's: + if (href.startsWith("file:///")) + href = "file:/" + href.substring("file:///".length); + if (docHref.startsWith("file:///")) + docHref = "file:/" + docHref.substring("file:///".length); + if (href.charAt(0) == "#" || href.startsWith(docHref + "#")) { + var target = CommonUtil_1.CommonUtil.getFileAnchor(href); + if (fragment_1.FragmentUtil.getById(ruleContext, target) != null) + passed = true; + else + targets[target] = true; + } + } + else if (anchors[idx].hasAttribute("name")) { + // Assume forward jumping targets + var name_1 = anchors[idx].getAttribute("name"); + if (name_1.indexOf("#") != -1) + name_1 = CommonUtil_1.CommonUtil.getFileAnchor(name_1); + passed = name_1 in targets; + } + } + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 4419: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.iframe_interactive_tabbable = void 0; +var CommonUtil_1 = __webpack_require__(8137); +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var VisUtil_1 = __webpack_require__(8656); +var DOMMapper_1 = __webpack_require__(5697); +exports.iframe_interactive_tabbable = { + id: "iframe_interactive_tabbable", + context: "dom:iframe", + dependencies: [], + help: { + "en-US": { + "group": "iframe_interactive_tabbable.html", + "pass": "iframe_interactive_tabbable.html", + "fail_invalid": "iframe_interactive_tabbable.html" + } + }, + messages: { + "en-US": { + "group": "Iframe with interactive content should not be excluded from tab order using tabindex", + "pass": "The iframe with interactive content is not excluded from the tab order using tabindex", + "fail_invalid": "The <iframe> with interactive content is excluded from tab order using tabindex" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + num: ["2.1.1"], + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: ["akn7bn"], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the check if the element is hidden or disabled + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) + return; + var mapper = new DOMMapper_1.DOMMapper(); + var bounds = mapper.getUnadjustedBounds(ruleContext); + //in case the bounds not available + if (!bounds) + return null; + // ignore if iframe is too small to be visible on screen + if (Math.max(bounds['height'], bounds['width']) < 30 || Math.min(bounds['height'], bounds['width']) < 15) + return null; + // pass iframe element does not have a tabindex attribute value that is a negative number + if (!ruleContext.hasAttribute("tabindex") || parseInt(ruleContext.getAttribute("tabindex")) >= 0) + return (0, IRule_1.RulePass)("pass"); + // check iframe content + var iframElem = ruleContext; + if (!iframElem || !iframElem.contentDocument || !iframElem.contentDocument.documentElement) + return null; + var count = CommonUtil_1.CommonUtil.getTabbableChildren(ruleContext); + if (count > 0) + return (0, IRule_1.RuleFail)("fail_invalid"); + return null; + } +}; + + +/***/ }), + +/***/ 2575: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.imagebutton_alt_exists = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +exports.imagebutton_alt_exists = { + 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": "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: { + "en-US": { + "Pass_0": "Image button provides alternative text using the 'alt' attribute", + "Pass_1": "Image button provides alternative text using an ARIA label", + "Pass_2": "Image button provides alternative text using the 'title' attribute", + "Fail": "The <input> element of type \"image\" has no text alternative", + "group": "The <input> element of type \"image\" should have a text alternative" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: "59796f", + run: function (context, options, contextHierarchies) { + // See https://www.w3.org/WAI/WCAG22/Techniques/failures/F65 + var ruleContext = context["dom"].node; + if (!ruleContext.hasAttribute("type") || ruleContext.getAttribute("type").toLowerCase() != "image") { + return null; + } + if (CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "alt")) { + return (0, IRule_1.RulePass)("Pass_0"); + } + else if (AriaUtil_1.AriaUtil.hasAriaLabel(ruleContext)) { + return (0, IRule_1.RulePass)("Pass_1"); + } + else if (ruleContext.hasAttribute("title") && ruleContext.getAttribute("title").length > 0) { + return (0, IRule_1.RulePass)("Pass_2"); + } + return (0, IRule_1.RuleFail)("Fail"); + } +}; + + +/***/ }), + +/***/ 8124: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.imagemap_alt_exists = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +var VisUtil_1 = __webpack_require__(8656); +exports.imagemap_alt_exists = { + 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": "imagemap_alt_exists.html", + "Fail_1": "imagemap_alt_exists.html", + "group": "imagemap_alt_exists.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Image map or child <area> has no text alternative", + "group": "An image map and each <area> element in an image map must have text alternative(s)" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var passed = CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "alt") || + (!ruleContext.hasAttribute("ismap") && !CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "usemap")); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 3440: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.img_alt_background = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var VisUtil_1 = __webpack_require__(8656); +exports.img_alt_background = { + id: "img_alt_background", + context: "dom:*", + refactor: { + "HAAC_BackgroundImg_HasTextOrTitle": { + "Pass_0": "Pass_0", + "Manual_1": "Manual_1" + } + }, + help: { + "en-US": { + "Pass_0": "img_alt_background.html", + "Manual_1": "img_alt_background.html", + "group": "img_alt_background.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Manual_1": "Verify important background image information has a text alternative in system high contrast mode", + "group": "Background images that convey important information must have a text alternative that describes the image" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var doc = ruleContext.ownerDocument; + var style = doc.defaultView.getComputedStyle(ruleContext); + if (style == null) { + return (0, IRule_1.RulePass)("Pass_0"); + } + var backgroundImgs = style.backgroundImage; + var passed = true; + if (backgroundImgs != null && backgroundImgs != "" && backgroundImgs != 'none' && backgroundImgs != 'inherit') { + if (ruleContext.innerHTML != null && ruleContext.innerHTML.trim().length != 0) { + passed = false; + } + else { + var title = ruleContext.getAttribute('title'); + if (title != null && title.length != 0) + passed = false; + } + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RuleManual)("Manual_1"); + } +}; + + +/***/ }), + +/***/ 2193: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.img_alt_decorative = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var VisUtil_1 = __webpack_require__(8656); +exports.img_alt_decorative = { + 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": "img_alt_decorative.html", + "Fail_1": "img_alt_decorative.html", + "group": "img_alt_decorative.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Image designated as decorative has non-null 'alt' attribute", + "group": "Image designated as decorative must have 'alt=\"\"" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var passed = true; + if (AriaUtil_1.AriaUtil.hasRole(ruleContext, "presentation") || AriaUtil_1.AriaUtil.hasRole(ruleContext, "none")) { + passed = ruleContext.getAttribute("alt").length == 0; + } + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 309: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.img_alt_misuse = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var VisUtil_1 = __webpack_require__(8656); +exports.img_alt_misuse = { + 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": "img_alt_misuse.html", + "Potential_1": "img_alt_misuse.html", + "group": "img_alt_misuse.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify that the file name serves as a good inline replacement for the image", + "group": "'alt' attribute value must be a good inline replacement for the image" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var validateParams = { + badText: { + value: ["short description"], + type: "[string]" + } + }; + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var nodeName = ruleContext.nodeName.toLowerCase(); + var passed = true; + // Alt text check are elsewhere (See 41, 240, 455) + if (ruleContext.hasAttribute("alt")) { + var altText = ruleContext.getAttribute("alt").trim(); + if (altText.length > 0) { + var badText = validateParams.badText.value; + for (var i = 0; passed && i < badText.length; ++i) { + passed = altText.indexOf(badText[i]) == -1; + } + if (passed) { + var src = ruleContext.getAttribute((nodeName == "area") ? "href" : "src"); + // Allow it to pass if there's no src - can't determine these. + if (src != null) { + // Fail if the alt matches the src exactly + // Also fail if the alt has a . in it and either the src is in the alt or the alt is in the src + passed = src.trim() != altText && + (altText.indexOf(".") == -1 || (altText.indexOf(src) == -1 && src.indexOf(altText) == -1)); + } + } + } + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 6281: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.img_alt_null = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var VisUtil_1 = __webpack_require__(8656); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +exports.img_alt_null = { + id: "img_alt_null", + context: "dom:img[alt]", + refactor: { + "WCAG20_Img_TitleEmptyWhenAltNull": { + "Pass_0": "pass", + "Fail_1": "fail_decorative" + } + }, + help: { + "en-US": { + "pass": "img_alt_null.html", + "fail_decorative": "img_alt_null.html", + "potential_aria_override": "img_alt_null.html", + "group": "img_alt_null.html" + } + }, + messages: { + "en-US": { + "pass": "Neither 'aria' nor 'title' attributes are used for the decorative image", + "fail_decorative": "The image 'alt' attribute is empty, but the 'title' attribute is not empty", + "potential_aria_override": "The image 'alt' attribute is empty, but the 'aria' label is not empty and overrides the 'alt' attribute", + "group": "When the intent is to mark an image as decorative with an empty 'alt' attribute, the 'aria' or 'title' attributes should not be used" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE, + reasonCodes: ["fail_decorative"] + }, + { + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["ARIA"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE, + reasonCodes: ["potential_aria_override"] + } + ], + act: [{ "46ca7f": { "potential_aria_override": "fail" } }], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + if (ruleContext.getAttribute("alt").trim().length > 0) { + return null; + } + // We have a title, but alt is empty + if (AriaUtil_1.AriaUtil.getAriaLabel(ruleContext).length > 0) { + return (0, IRule_1.RulePotential)("potential_aria_override"); + } + else if (CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "title")) { + return (0, IRule_1.RuleFail)("fail_decorative"); + } + else { + return (0, IRule_1.RulePass)("pass"); + } + } +}; + + +/***/ }), + +/***/ 7748: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.img_alt_redundant = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var DOMWalker_1 = __webpack_require__(7440); +var CommonUtil_1 = __webpack_require__(8137); +exports.img_alt_redundant = { + 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": "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: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Link text is repeated in an image 'alt' value within the same link", + "Fail_2": "Link text of previous link is repeated in image 'alt' value of a link", + "Fail_3": "Image 'alt' value within a link is repeated in link text of the link after", + "group": "The text alternative for an image within a link should not repeat the link text or adjacent link text" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1", "2.4.4"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var aNode = CommonUtil_1.CommonUtil.getAncestor(ruleContext, "a"); + //If not in an anchor, Out of Scope + if (aNode == null) + return null; + var altText = ruleContext.getAttribute("alt").trim().toLowerCase(); + if (altText.length == 0) { + // 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; + } + var innerText = aNode.innerText; + var linkText = ""; + if (innerText != null) { + linkText = innerText.trim().toLowerCase(); + } + if (linkText.length > 0) { + if (altText == linkText) { + // Text in link + return (0, IRule_1.RuleFail)("Fail_1"); + } + } + else { + var passed = true; + //alt is non-zero, but no link text - ensure adjacent link text isn't redundant + //let walk = new NodeWalker(aNode); + var walk = new DOMWalker_1.DOMWalker(aNode); + while (passed && walk.prevNode()) { + // Get the node and nodeName + var node = walk.node; + var nodeName = node.nodeName.toLowerCase(); + if ((nodeName == "#text" && node.nodeValue.length > 0) || + (nodeName == "img" && CommonUtil_1.CommonUtil.attributeNonEmpty(node, "alt"))) { + break; + } + // Comply with the Check Hidden Content Setting if the a element should be checked or not + else if (nodeName === "a" && !CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(node)) { + // Text before image link + passed = (node.innerText || node.textContent || "").trim().toLowerCase() != altText; + } + } + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_2"); + } + //walk = new NodeWalker(aNode, true); + walk = new DOMWalker_1.DOMWalker(aNode, true); + while (passed && walk.nextNode()) { + // Get the node and nodeName + var node = walk.node; + var nodeName = node.nodeName.toLowerCase(); + if ((nodeName == "#text" && node.nodeValue.length > 0) || + (nodeName == "img" && CommonUtil_1.CommonUtil.attributeNonEmpty(node, "alt"))) { + break; + } + // Comply with the Check Hidden Content Setting if the a element should be checked or not + else if (nodeName == "a" && !CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(node)) { + passed = node.innerText.trim().toLowerCase() != altText; + } + } + if (!passed) { + // Text after image link + return (0, IRule_1.RuleFail)("Fail_3"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } + } +}; + + +/***/ }), + +/***/ 8856: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.img_alt_valid = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var VisUtil_1 = __webpack_require__(8656); +exports.img_alt_valid = { + 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": "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: { + "en-US": { + "pass": "The image has an accessible name or is correctly marked as decorative or redundant", + "fail_blank_alt": "Image 'alt' attribute value consists only of blank space(s)", + "fail_no_alt": "The image has neither an accessible name nor is marked as decorative or redundant", + "fail_blank_title": "The image does not have an 'alt' attribute or ARIA label, and the 'title' attribute value consists only of blank space(s)", + "group": "Images must have accessible names unless they are decorative or redundant" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: "23a2a8", + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // If not visible to the screen reader, ignore + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + if (AriaUtil_1.AriaUtil.getAriaLabel(ruleContext).trim().length !== 0) { + // the img has non-empty aria label + return (0, IRule_1.RulePass)("pass"); + } + var alt = ruleContext.hasAttribute("alt") ? ruleContext.getAttribute("alt") : null; + // check title attribute + if (alt === null) { + // the img has no alt or attribute, examine the title attribute + var title = ruleContext.hasAttribute("title") ? ruleContext.getAttribute("title") : null; + if (title === null || title.length === 0) { + // no title or title is empty, examine alt further + if (alt === null) { + var role = AriaUtil_1.AriaUtil.getResolvedRole(ruleContext, false); + if (role === 'presentation' || role === 'none') + return (0, IRule_1.RulePass)("pass"); + return (0, IRule_1.RuleFail)("fail_no_alt"); + } + if (alt.length === 0) + return (0, IRule_1.RulePass)("pass"); + } + else { + if (title.trim().length === 0) { + // title contains blank space only (title=" ") + return (0, IRule_1.RuleFail)("fail_blank_title"); + } + // title contains some text (title="some text") + return (0, IRule_1.RulePass)("pass"); + } + } + else { + if (alt.length === 0 || alt.trim().length > 0) { + // the img has empty alt (alt="") or non-empty alt (alt="some text") + return (0, IRule_1.RulePass)("pass"); + } + else { + // alt contains blank space only (alt=" ") + return (0, IRule_1.RuleFail)("fail_blank_alt"); + } + } + } +}; + + +/***/ }), + +/***/ 7393: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.img_ismap_misuse = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +var VisUtil_1 = __webpack_require__(8656); +exports.img_ismap_misuse = { + 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": "img_ismap_misuse.html", + "Potential_1": "img_ismap_misuse.html", + "group": "img_ismap_misuse.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Server-side image map hot-spots do not have duplicate text links", + "group": "Server-side image map hot-spots must have duplicate text links" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var passed = false; + if (ruleContext.hasAttribute("usemap")) { + var usemap = ruleContext.getAttribute("usemap"); + usemap = usemap.trim().toLowerCase(); + var idx = usemap.indexOf("#"); + if (idx != -1) + usemap = usemap.substr(idx + 1); + if (usemap.length > 0) { + var maps = CommonUtil_1.CommonUtil.getDocElementsByTag(ruleContext, "map"); + for (var i = 0; !passed && i < maps.length; ++i) { + passed = maps[i].hasAttribute("name") && + maps[i].getAttribute("name").toLowerCase() == usemap; + } + } + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 9410: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.img_longdesc_misuse = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +var VisUtil_1 = __webpack_require__(8656); +exports.img_longdesc_misuse = { + 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": "img_longdesc_misuse.html", + "Potential_1": "img_longdesc_misuse.html", + "group": "img_longdesc_misuse.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify that the file designated by the 'longdesc' attribute contains valid HTML content (file extension not recognized)", + "group": " The 'longdesc' attribute must reference HTML content" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var longdesc = ruleContext.getAttribute("longdesc"); + // if (longdesc is bad URL) passed = false; + var ext = CommonUtil_1.CommonUtil.getFileExt(longdesc); + var passed = ext.length != 0 && CommonUtil_1.CommonUtil.isHtmlExt(ext) + || longdesc.startsWith("#") + || longdesc.startsWith("http://") + || longdesc.startsWith("https://") + || longdesc.startsWith("data:"); + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 8081: +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +// This file is automatically generated by "npm run prebuild". Do not edit +__exportStar(__webpack_require__(8980), exports); +__exportStar(__webpack_require__(3961), exports); +__exportStar(__webpack_require__(1445), exports); +__exportStar(__webpack_require__(876), exports); +__exportStar(__webpack_require__(2768), exports); +__exportStar(__webpack_require__(2533), exports); +__exportStar(__webpack_require__(7178), exports); +__exportStar(__webpack_require__(9745), exports); +__exportStar(__webpack_require__(8019), exports); +__exportStar(__webpack_require__(6505), exports); +__exportStar(__webpack_require__(8910), exports); +__exportStar(__webpack_require__(3492), exports); +__exportStar(__webpack_require__(5316), exports); +__exportStar(__webpack_require__(8412), exports); +__exportStar(__webpack_require__(172), exports); +__exportStar(__webpack_require__(9844), exports); +__exportStar(__webpack_require__(9695), exports); +__exportStar(__webpack_require__(1699), exports); +__exportStar(__webpack_require__(4974), exports); +__exportStar(__webpack_require__(3054), exports); +__exportStar(__webpack_require__(4649), exports); +__exportStar(__webpack_require__(4193), exports); +__exportStar(__webpack_require__(3188), exports); +__exportStar(__webpack_require__(4176), exports); +__exportStar(__webpack_require__(7964), exports); +__exportStar(__webpack_require__(2554), exports); +__exportStar(__webpack_require__(1229), exports); +__exportStar(__webpack_require__(8523), exports); +__exportStar(__webpack_require__(3781), exports); +__exportStar(__webpack_require__(8509), exports); +__exportStar(__webpack_require__(3234), exports); +__exportStar(__webpack_require__(5217), exports); +__exportStar(__webpack_require__(4050), exports); +__exportStar(__webpack_require__(4275), exports); +__exportStar(__webpack_require__(1465), exports); +__exportStar(__webpack_require__(405), exports); +__exportStar(__webpack_require__(9136), exports); +__exportStar(__webpack_require__(5117), exports); +__exportStar(__webpack_require__(9062), exports); +__exportStar(__webpack_require__(5746), exports); +__exportStar(__webpack_require__(8685), exports); +__exportStar(__webpack_require__(2678), exports); +__exportStar(__webpack_require__(971), exports); +__exportStar(__webpack_require__(3709), exports); +__exportStar(__webpack_require__(6486), exports); +__exportStar(__webpack_require__(4151), exports); +__exportStar(__webpack_require__(8545), exports); +__exportStar(__webpack_require__(8538), exports); +__exportStar(__webpack_require__(1908), exports); +__exportStar(__webpack_require__(6360), exports); +__exportStar(__webpack_require__(5386), exports); +__exportStar(__webpack_require__(8752), exports); +__exportStar(__webpack_require__(4392), exports); +__exportStar(__webpack_require__(932), exports); +__exportStar(__webpack_require__(6255), exports); +__exportStar(__webpack_require__(5743), exports); +__exportStar(__webpack_require__(2671), exports); +__exportStar(__webpack_require__(3974), exports); +__exportStar(__webpack_require__(9881), exports); +__exportStar(__webpack_require__(1226), exports); +__exportStar(__webpack_require__(7369), exports); +__exportStar(__webpack_require__(2633), exports); +__exportStar(__webpack_require__(2429), exports); +__exportStar(__webpack_require__(7874), exports); +__exportStar(__webpack_require__(3334), exports); +__exportStar(__webpack_require__(4298), exports); +__exportStar(__webpack_require__(4435), exports); +__exportStar(__webpack_require__(1685), exports); +__exportStar(__webpack_require__(6313), exports); +__exportStar(__webpack_require__(9109), exports); +__exportStar(__webpack_require__(9918), exports); +__exportStar(__webpack_require__(8105), exports); +__exportStar(__webpack_require__(8687), exports); +__exportStar(__webpack_require__(2150), exports); +__exportStar(__webpack_require__(4557), exports); +__exportStar(__webpack_require__(4721), exports); +__exportStar(__webpack_require__(2814), exports); +__exportStar(__webpack_require__(9188), exports); +__exportStar(__webpack_require__(7601), exports); +__exportStar(__webpack_require__(4497), exports); +__exportStar(__webpack_require__(152), exports); +__exportStar(__webpack_require__(935), exports); +__exportStar(__webpack_require__(9719), exports); +__exportStar(__webpack_require__(5625), exports); +__exportStar(__webpack_require__(9115), exports); +__exportStar(__webpack_require__(6072), exports); +__exportStar(__webpack_require__(6923), exports); +__exportStar(__webpack_require__(9015), exports); +__exportStar(__webpack_require__(3611), exports); +__exportStar(__webpack_require__(4846), exports); +__exportStar(__webpack_require__(3277), exports); +__exportStar(__webpack_require__(4525), exports); +__exportStar(__webpack_require__(7114), exports); +__exportStar(__webpack_require__(3751), exports); +__exportStar(__webpack_require__(7084), exports); +__exportStar(__webpack_require__(3981), exports); +__exportStar(__webpack_require__(9788), exports); +__exportStar(__webpack_require__(4419), exports); +__exportStar(__webpack_require__(2575), exports); +__exportStar(__webpack_require__(8124), exports); +__exportStar(__webpack_require__(3440), exports); +__exportStar(__webpack_require__(2193), exports); +__exportStar(__webpack_require__(309), exports); +__exportStar(__webpack_require__(6281), exports); +__exportStar(__webpack_require__(7748), exports); +__exportStar(__webpack_require__(8856), exports); +__exportStar(__webpack_require__(7393), exports); +__exportStar(__webpack_require__(9410), exports); +__exportStar(__webpack_require__(8589), exports); +__exportStar(__webpack_require__(3366), exports); +__exportStar(__webpack_require__(8929), exports); +__exportStar(__webpack_require__(5403), exports); +__exportStar(__webpack_require__(5937), exports); +__exportStar(__webpack_require__(4452), exports); +__exportStar(__webpack_require__(7209), exports); +__exportStar(__webpack_require__(8262), exports); +__exportStar(__webpack_require__(7017), exports); +__exportStar(__webpack_require__(9980), exports); +__exportStar(__webpack_require__(7733), exports); +__exportStar(__webpack_require__(1256), exports); +__exportStar(__webpack_require__(9532), exports); +__exportStar(__webpack_require__(6698), exports); +__exportStar(__webpack_require__(9632), exports); +__exportStar(__webpack_require__(3692), exports); +__exportStar(__webpack_require__(5430), exports); +__exportStar(__webpack_require__(1018), exports); +__exportStar(__webpack_require__(3433), exports); +__exportStar(__webpack_require__(8012), exports); +__exportStar(__webpack_require__(3881), exports); +__exportStar(__webpack_require__(3106), exports); +__exportStar(__webpack_require__(1276), exports); +__exportStar(__webpack_require__(5424), exports); +__exportStar(__webpack_require__(4248), exports); +__exportStar(__webpack_require__(9526), exports); +__exportStar(__webpack_require__(9379), exports); +__exportStar(__webpack_require__(5495), exports); +__exportStar(__webpack_require__(7753), exports); +__exportStar(__webpack_require__(1252), exports); +__exportStar(__webpack_require__(3576), exports); +__exportStar(__webpack_require__(3617), exports); +__exportStar(__webpack_require__(6110), exports); +__exportStar(__webpack_require__(5681), exports); +__exportStar(__webpack_require__(1922), exports); +__exportStar(__webpack_require__(7906), exports); +__exportStar(__webpack_require__(5451), exports); +__exportStar(__webpack_require__(6349), exports); +__exportStar(__webpack_require__(5393), exports); +__exportStar(__webpack_require__(9887), exports); +__exportStar(__webpack_require__(5102), exports); +__exportStar(__webpack_require__(9977), exports); +__exportStar(__webpack_require__(8454), exports); +__exportStar(__webpack_require__(25), exports); +__exportStar(__webpack_require__(2884), exports); +__exportStar(__webpack_require__(5390), exports); +__exportStar(__webpack_require__(7196), exports); +__exportStar(__webpack_require__(9965), exports); +__exportStar(__webpack_require__(4468), exports); +__exportStar(__webpack_require__(4451), exports); +__exportStar(__webpack_require__(6087), exports); +__exportStar(__webpack_require__(5864), exports); +__exportStar(__webpack_require__(4066), exports); +__exportStar(__webpack_require__(2841), exports); +__exportStar(__webpack_require__(272), exports); +__exportStar(__webpack_require__(1348), exports); +__exportStar(__webpack_require__(6215), exports); +__exportStar(__webpack_require__(5275), exports); +__exportStar(__webpack_require__(7900), exports); +__exportStar(__webpack_require__(5027), exports); +__exportStar(__webpack_require__(3496), exports); +__exportStar(__webpack_require__(1131), exports); +__exportStar(__webpack_require__(8681), exports); +__exportStar(__webpack_require__(4577), exports); +__exportStar(__webpack_require__(8051), exports); + + +/***/ }), + +/***/ 8589: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.input_autocomplete_valid = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +var VisUtil_1 = __webpack_require__(8656); +exports.input_autocomplete_valid = { + id: "input_autocomplete_valid", + context: "dom:input[autocomplete], dom:textarea[autocomplete], dom:select[autocomplete]", + refactor: { + "WCAG21_Input_Autocomplete": { + "Pass_0": "pass", + "Fail_1": "fail_inappropriate", + "Fail_2": "fail_invalid", + "Fail_attribute_incorrect": "fail_incorrect" + } + }, + help: { + "en-US": { + "group": "input_autocomplete_valid.html", + "pass": "input_autocomplete_valid.html", + "fail_inappropriate": "input_autocomplete_valid.html", + "fail_invalid": "input_autocomplete_valid.html", + "fail_incorrect": "input_autocomplete_valid.html" + } + }, + messages: { + "en-US": { + "group": "The 'autocomplete' attribute's token(s) must be appropriate for the input form field", + "pass": "The 'autocomplete' attribute's token(s) is appropriate for the input form field", + "fail_inappropriate": "The 'autocomplete' attribute's token(s) are not appropriate for the input form field", + "fail_invalid": "The 'autocomplete' attribute's token(s) are not appropriate for an input form field of any type", + "fail_incorrect": "The 'autocomplete' attribute has an incorrect value" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.5"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [{ + "73f2c2": { + "pass": "pass", + "fail_inappropriate": "fail", + "fail_invalid": "pass", + "fail_incorrect": "fail" + } + }], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the check if the element is hidden or disabled + if (!VisUtil_1.VisUtil.isNodeVisible(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) { + return null; + } + var autocompleteAttr = ruleContext.getAttribute("autocomplete").trim().toLowerCase(); + var tokens = autocompleteAttr.split(/\s+/); + if (tokens.length === 0 || autocompleteAttr.length === 0) { + return null; + } + var cache = { + "tokensOnOff": ["on", "off"], + "tokenOptionalSection": "section-", + "tokensOptionalPurpose": ["shipping", "billing"], + "tokensMandatoryGroup1_password": ["new-password", "current-password", "one-time-code"], + "tokensMandatoryGroup1_multiline": ["street-address"], + "tokensMandatoryGroup1_month": ["cc-exp"], + "tokensMandatoryGroup1_numeric": ["cc-exp-month", + "cc-exp-year", + "transaction-amount", + "bday-day", + "bday-month", + "bday-year"], + "tokensMandatoryGroup1_date": ["bday"], + "tokensMandatoryGroup1_url": ["url", "photo"], + "tokensMandatoryGroup1_text": ["name", + "honorific-prefix", + "given-name", + "additional-name", + "family-name", + "honorific-suffix", + "nickname", + "username", + "organization-title", + "organization", + "address-line1", + "address-line2", + "address-line3", + "address-level4", + "address-level3", + "address-level2", + "address-level1", + "country", + "country-name", + "postal-code", + "cc-name", + "cc-given-name", + "cc-additional-name", + "cc-family-name", + "cc-number", + "cc-csc", + "cc-type", + "transaction-currency", + "language", + "sex"], + "tokensMandatoryGroup1_all": ["name", + "honorific-prefix", + "given-name", + "additional-name", + "family-name", + "honorific-suffix", + "nickname", + "username", + "new-password", + "current-password", + "organization-title", + "organization", + "street-address", + "address-line1", + "address-line2", + "address-line3", + "address-level4", + "address-level3", + "address-level2", + "address-level1", + "country", + "country-name", + "postal-code", + "cc-name", + "cc-given-name", + "cc-additional-name", + "cc-family-name", + "cc-number", + "cc-exp", + "cc-exp-month", + "cc-exp-year", + "cc-csc", + "cc-type", + "transaction-currency", + "transaction-amount", + "language", + "bday", + "bday-day", + "bday-month", + "bday-year", + "sex", + "url", + "photo"], + "tokensOptionalGroup2": ["home", + "work", + "mobile", + "fax", + "pager"], + "tokensMandatoryGroup2_tel": ["tel"], + "tokensMandatoryGroup2_email": ["email"], + "tokensMandatoryGroup2_url": ["impp"], + "tokensMandatoryGroup2_text": ["tel-country-code", + "tel-national", + "tel-area-code", + "tel-local", + "tel-local-prefix", + "tel-local-suffix", + "tel-extension"], + "tokensMandatoryGroup2_all": ["tel", + "tel-country-code", + "tel-national", + "tel-area-code", + "tel-local", + "tel-local-prefix", + "tel-local-suffix", + "tel-extension", + "email", + "impp"], + "tokensOptionGroup1_webauthn": ["webauthn"] + }; + var valid_values = []; + for (var key in cache) + valid_values = valid_values.concat(cache[key]); + var foundMandatoryToken = false; + var foundRecognizedToken = true; + var nodeName = ruleContext.nodeName.toLowerCase(); + if (!tokens.every(function (r) { return valid_values.includes(r) || r.startsWith(cache['tokenOptionalSection']); })) + return (0, IRule_1.RuleFail)("fail_incorrect"); + var type = ruleContext.hasAttribute("type") ? ruleContext.getAttribute("type").trim().toLowerCase() : "text"; + var tokensMandatoryGroup1 = []; + var tokensMandatoryGroup2 = []; + var tokensOptionalGroup = []; + if (nodeName === "textarea" || nodeName === "select") { + // accept all tokens + tokensMandatoryGroup1 = cache.tokensMandatoryGroup1_all; + tokensMandatoryGroup2 = cache.tokensMandatoryGroup2_all; + if (nodeName === "textarea") + tokensOptionalGroup = cache.tokensOptionGroup1_webauthn; + } + else if (nodeName === "input") { + tokensOptionalGroup = cache.tokensOptionGroup1_webauthn; + // handle the various 'input' types + switch (type) { + // Disable check for input type=hidden for now based on scrum discussion + /* + case "hidden": + // accept all tokens + tokensMandatoryGroup1 = cache.tokensMandatoryGroup1_all; + tokensMandatoryGroup2 = cache.tokensMandatoryGroup2_all; + break; + */ + case "text": + case "search": + tokensMandatoryGroup1 = cache.tokensMandatoryGroup1_text.concat(cache.tokensMandatoryGroup1_password, cache.tokensMandatoryGroup1_url, cache.tokensMandatoryGroup1_numeric, cache.tokensMandatoryGroup1_month, cache.tokensMandatoryGroup1_date); + tokensMandatoryGroup2 = cache.tokensMandatoryGroup2_all; + break; + case "password": + tokensMandatoryGroup1 = cache.tokensMandatoryGroup1_password; + break; + case "url": + tokensMandatoryGroup1 = cache.tokensMandatoryGroup1_url; + tokensMandatoryGroup2 = cache.tokensMandatoryGroup2_url; + break; + case "email": + tokensMandatoryGroup2 = cache.tokensMandatoryGroup2_email; + break; + case "tel": + tokensMandatoryGroup2 = cache.tokensMandatoryGroup2_tel; + break; + case "number": + tokensMandatoryGroup1 = cache.tokensMandatoryGroup1_numeric; + break; + case "month": + tokensMandatoryGroup1 = cache.tokensMandatoryGroup1_month; + break; + case "date": + tokensMandatoryGroup1 = cache.tokensMandatoryGroup1_date; + break; + default: + // unsupported type for this rule. + return null; + } + } + else { + // should never get here. + return null; + } + // Disable check for input type=hidden for now based on scrum discussion + var autofillMantle = /* (nodeName==="input" && type==="hidden") ? "anchor" : */ "expectation"; + if (autofillMantle === "expectation") { + // check on|off for expectation mantle. + if (tokens.includes("on") || tokens.includes("off")) { + // on|off should be the only token + if (tokens.length === 1) { + return (0, IRule_1.RulePass)("pass"); + } + else { + return (0, IRule_1.RuleFail)("fail_invalid"); + } + } + } + // check detail autofill tokens + var currIndex = 0; + var currRecognizedIndex = 0; + // check optional 'section-*' tokens + if (tokens[currIndex].startsWith(cache.tokenOptionalSection) && + tokens[currIndex].length > 8) { + currIndex++; // consume token + currRecognizedIndex++; + } + // check optional 'shipping|billing' tokens + if (tokens.length > currIndex && + cache.tokensOptionalPurpose.includes(tokens[currIndex])) { + currIndex++; // consume token + currRecognizedIndex++; + } + // check either mandatory group 1 or 2 tokens + if (tokens.length > currIndex) { + // check mandatory group 1 + if (tokensMandatoryGroup1.includes(tokens[currIndex])) { + foundMandatoryToken = true; + currIndex++; + } + else { + // check optional tokens for group 2 + if (cache.tokensOptionalGroup2.includes(tokens[currIndex])) { + currIndex++; + } + // check mandatory group 2 + if (tokensMandatoryGroup2.includes(tokens[currIndex])) { + foundMandatoryToken = true; + currIndex++; + } + } + } + // check either mandatory group 1 or 2 tokens + if (tokens.length > currRecognizedIndex) { + // check mandatory group 1 + if (cache.tokensMandatoryGroup1_all.includes(tokens[currRecognizedIndex])) { + foundRecognizedToken = true; + currRecognizedIndex++; + } + else { + // check optional tokens for group 2 + if (cache.tokensOptionalGroup2.includes(tokens[currRecognizedIndex])) { + currRecognizedIndex++; + } + // check mandatory group 2 + if (cache.tokensMandatoryGroup2_all.includes(tokens[currRecognizedIndex])) { + foundRecognizedToken = true; + currRecognizedIndex++; + } + } + } + if (tokens.length > currIndex + currRecognizedIndex) { + // check optional tokens webauthn + if (tokensOptionalGroup.includes(tokens[currIndex + currRecognizedIndex])) { + currIndex++; + } + } + if ((tokens.length > currIndex && tokensOptionalGroup.includes(tokens[currIndex])) + || (tokens.length > currRecognizedIndex && tokensOptionalGroup.includes(tokens[currRecognizedIndex]))) { + currIndex++; + currRecognizedIndex++; + } + // Only pass if we have seen either of the mandatory groups and all tokens have been consumed + if (foundMandatoryToken && tokens.length === currIndex) { + return (0, IRule_1.RulePass)("pass"); + } + else if (foundRecognizedToken && tokens.length === currRecognizedIndex) { + return (0, IRule_1.RuleFail)("fail_incorrect"); + } + else { + return (0, IRule_1.RuleFail)("fail_inappropriate"); + } + } +}; + + +/***/ }), + +/***/ 3366: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.input_checkboxes_grouped = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var DOMWalker_1 = __webpack_require__(7440); +var CacheUtil_1 = __webpack_require__(7788); +var VisUtil_1 = __webpack_require__(8656); +var TableUtil_1 = __webpack_require__(5755); +exports.input_checkboxes_grouped = { + id: "input_checkboxes_grouped", + context: "dom:input[type=radio], dom:input[type=checkbox]", + 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": "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: { + "en-US": { + "group": "Related sets of radio buttons or checkboxes should be programmatically grouped", + "pass_lonenogroup": "{0} grouping not required for a control of this type", + "pass_grouped": "{0} input is grouped with other related controls with the same name", + "pass_radiononame": "Radio input is not grouped, but passes because it has no name to group with other radio inputs", + "fail_controlnamemismatch": "{0} input found that has the same name, \"{2}\" as a {1} input", + "fail_notgroupedothergrouped": "{0} input is not in the group with another {0} with the name \"{1}\"", + "fail_notgroupedothernotgrouped": "{0} input and others with the name \"{1}\" are not grouped together", + "fail_notsamegroup": "{0} input is in a different group than another {0} with the name \"{1}\"", + "potential_lonecheckbox": "Verify that this ungrouped checkbox input is not related to other checkboxes", + "potential_unnamedcheckbox": "Verify that this un-named, ungrouped checkbox input is not related to other checkboxes" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var getGroup = function (e) { + var retVal = CommonUtil_1.CommonUtil.getAncestor(e, "fieldset") + || AriaUtil_1.AriaUtil.getAncestorWithRole(e, "radiogroup") + || AriaUtil_1.AriaUtil.getAncestorWithRole(e, "group") + || AriaUtil_1.AriaUtil.getAncestorWithRole(e, "grid") + || AriaUtil_1.AriaUtil.getAncestorWithRole(e, "table"); + if (!retVal) { + retVal = CommonUtil_1.CommonUtil.getAncestor(e, "table"); + if (retVal && !TableUtil_1.TableUtil.isDataTable(retVal)) { + retVal = null; + } + } + return retVal; + }; + // Only radio buttons and checkboxes are in scope + var ctxType = ruleContext.getAttribute("type").toLowerCase(); + // Determine which form we're in (if any) to determine our scope + var ctxForm = AriaUtil_1.AriaUtil.getAncestorWithRole(ruleContext, "form") + || CommonUtil_1.CommonUtil.getAncestor(ruleContext, "html") + || ruleContext.ownerDocument.documentElement; + // 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 + var formCache = CacheUtil_1.CacheUtil.getCache(ctxForm, "input_checkboxes_grouped", null); + if (!formCache) { + formCache = { + checkboxByName: {}, + radiosByName: {}, + nameToGroup: {}, + numCheckboxes: 0, + numRadios: 0 + }; + // Get all of the checkboxes in the form or body (but not nested in something else and not hidden) + // And get a mapping of these checkboxes to + var cWalker = new DOMWalker_1.DOMWalker(ctxForm, false, ctxForm, true); + var checkboxQ = []; + var radiosQ = []; + while (cWalker.nextNode()) { + if (!cWalker.bEndTag + && cWalker.node.nodeType === 1 + && cWalker.node.nodeName.toLowerCase() === "input" + && VisUtil_1.VisUtil.isNodeVisible(cWalker.node)) { + var type = cWalker.node.getAttribute("type"); + if (type === "checkbox") { + checkboxQ.push(cWalker.node); + } + else if (type === "radio") { + radiosQ.push(cWalker.node); + } + } + } + // let checkboxQ = ctxForm.querySelectorAll("input[type=checkbox]"); + for (var idx = 0; idx < checkboxQ.length; ++idx) { + var cb = checkboxQ[idx]; + if ((AriaUtil_1.AriaUtil.getAncestorWithRole(cb, "form") + || CommonUtil_1.CommonUtil.getAncestor(ruleContext, "html") + || ruleContext.ownerDocument.documentElement) === ctxForm + && !CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(cb)) { + var name_1 = cb.getAttribute("name") || ""; + (formCache.checkboxByName[name_1] = formCache.checkboxByName[name_1] || []).push(cb); + formCache.nameToGroup[name_1] = formCache.nameToGroup[name_1] || getGroup(cb); + ++formCache.numCheckboxes; + } + } + // Get all of the radios in the form or body (but not nested in something else and not hidden) + // let radiosQ = ctxForm.querySelectorAll("input[type=radio]"); + for (var idx = 0; idx < radiosQ.length; ++idx) { + var r = radiosQ[idx]; + var radCtx = (AriaUtil_1.AriaUtil.getAncestorWithRole(r, "form") + || CommonUtil_1.CommonUtil.getAncestor(ruleContext, "html") + || ruleContext.ownerDocument.documentElement); + if (radCtx === ctxForm + && !CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(r)) { + var name_2 = r.getAttribute("name") || ""; + (formCache.radiosByName[name_2] = formCache.radiosByName[name_2] || []).push(r); + formCache.nameToGroup[name_2] = formCache.nameToGroup[name_2] || getGroup(r); + ++formCache.numRadios; + } + } + CacheUtil_1.CacheUtil.setCache(ctxForm, "input_checkboxes_grouped", formCache); + } + ///////////// Calculated everything, now check the various cases + var ctxName = ruleContext.getAttribute("name"); + var ctxGroup = getGroup(ruleContext); + ctxType = ctxType === "radio" ? "Radio" : "Checkbox"; + if (!ctxName || ctxName === "") { + // First process cases where the control is not named + if (ctxType === "Radio") { + // Radios without names don't act like groups, so don't enforce grouping + if (ctxGroup === null) { + return (0, IRule_1.RulePass)("pass_radiononame", [ctxType]); + } + else { + return (0, IRule_1.RulePass)("pass_grouped", [ctxType]); + } + } + else { + // Must be an unnamed checkbox + if (ctxGroup === null) { + if ((formCache.checkboxByName[""] || []).length > 1) { + return (0, IRule_1.RulePotential)("potential_unnamedcheckbox", [ctxType]); + } + else { + return (0, IRule_1.RulePass)("pass_lonenogroup", [ctxType]); + } + } + else { + return (0, IRule_1.RulePass)("pass_grouped", [ctxType]); + } + } + } + else { + // Considering a named checkbox + var numRadiosWithName = (formCache.radiosByName[ctxName] || []).length; + var numCheckboxesWithName = (formCache.checkboxByName[ctxName] || []).length; + // Capitalize the input type for messages + if (numRadiosWithName > 0 && numCheckboxesWithName > 0) { + // We have a naming mismatch between different controls + return (0, IRule_1.RuleFail)("fail_controlnamemismatch", [ctxType, ctxType === "checkbox" ? "radio" : "checkbox", ctxName]); + } + else if (ctxType === "Radio" && (formCache.numRadios === 1 || numRadiosWithName === 1) + || ctxType === "Checkbox" && formCache.numCheckboxes === 1) { + // This is a lone control (either only control of this type on the page, or a radio button without any others by that name) + // We pass this control in all cases + if (ctxGroup === null) { + return (0, IRule_1.RulePass)("pass_lonenogroup", [ctxType]); + } + else { + return (0, IRule_1.RulePass)("pass_grouped", [ctxType]); + } + } + else if (ctxType === "Checkbox" && formCache.numCheckboxes > 1 && numCheckboxesWithName === 1) { + // We have only one checkbox with this name, but there are other checkboxes in the form. + // If we're not grouped, ask them to examine it + if (ctxGroup === null) { + return (0, IRule_1.RulePotential)("potential_lonecheckbox", [ctxType]); + } + else { + return (0, IRule_1.RulePass)("pass_grouped", [ctxType]); + } + } + else { + // We share a name with another similar control. Are we grouped together? + if (ctxGroup === null) { + if (formCache.nameToGroup[ctxName] !== null) { + // We're not grouped, but some control with the same name is in a group + return (0, IRule_1.RuleFail)("fail_notgroupedothergrouped", [ctxType, ctxName]); + } + else { + // None of us are grouped + return (0, IRule_1.RuleFail)("fail_notgroupedothernotgrouped", [ctxType, ctxName]); + } + } + else if (formCache.nameToGroup[ctxName] !== ctxGroup) { + // We're not in the main group with the others + return (0, IRule_1.RuleFail)("fail_notsamegroup", [ctxType, ctxName]); + } + else { + // We're all grouped up! + return (0, IRule_1.RulePass)("pass_grouped", [ctxType]); + } + } + } + } +}; + + +/***/ }), + +/***/ 8929: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.input_fields_grouped = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +exports.input_fields_grouped = { + 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": "input_fields_grouped.html", + "Potential_1": "input_fields_grouped.html", + "group": "input_fields_grouped.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Use the <fieldset> element to group logically related input elements", + "group": "Groups of logically related input elements should be contained within a <fieldset> element" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Don't trigger for other input types or if we're in a fieldset + if (ruleContext.nodeName.toLowerCase() == "input" && ruleContext.hasAttribute("type")) { + var type = ruleContext.getAttribute("type").toLowerCase(); + if (type != "text" && type != "file" && type != "password") + return (0, IRule_1.RulePass)("Pass_0"); + } + if (CommonUtil_1.CommonUtil.getAncestor(ruleContext, "fieldset") != null) + return (0, IRule_1.RulePass)("Pass_0"); + // No fieldset - see if this input is all by itself - no need to group single inputs + var parent = CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["form", "body"]); + var checkTypes = ["input", "textarea", "select"]; + var passed = true; + for (var i = 0; passed && i < checkTypes.length; ++i) { + var controls = parent.getElementsByTagName(checkTypes[i]); + for (var j = 0; passed && j < controls.length; ++j) { + // Check if the node should be skipped or not based on the Check Hidden Content setting and if the node isVisible or + // not. + if (CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(controls[j])) { + continue; + } + // Note that textareas and selects will be called type='text' + var type = controls[j].hasAttribute("type") ? controls[j].getAttribute("type").toLowerCase() : "text"; + // Only fail if this is another control in the form and its type is another text-like input + passed = controls[j] == ruleContext || (type != "text" && type != "password" && type != "file"); + } + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 5403: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.input_haspopup_conflict = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var VisUtil_1 = __webpack_require__(8656); +exports.input_haspopup_conflict = { + id: "input_haspopup_conflict", + context: "dom:input[list][aria-haspopup]", + refactor: { + "input_haspopup_invalid": { + // "Pass": "pass", + "Potential_1": "potential_type_misuse", + "Potential_2": "potential_misuse" + } + }, + help: { + "en-US": { + "group": "input_haspopup_conflict.html", + // "pass": "input_haspopup_conflict.html", + "potential_type_misuse": "input_haspopup_conflict.html", + "potential_misuse": "input_haspopup_conflict.html", + "potential_list_notexist": "input_haspopup_conflict.html", + "fail_invalid_list_type": "input_haspopup_conflict.html", + "fail_invalid_list_elem": "input_haspopup_conflict.html" + } + }, + messages: { + "en-US": { + "group": "<input> element with a 'list' attribute should not use an explicit 'aria-haspopup' attribute", + // "pass": "The <input> element with a 'list' attribute does not use an explicit 'aria-haspopup' attribute", + "potential_type_misuse": "The <input> element with type \"{0}\" and 'list' attribute uses an explicit 'aria-haspopup' attribute", + "potential_misuse": "The <input> element with a missing or invalid type and 'list' attribute uses an explicit 'aria-haspopup' attribute", + "potential_list_notexist": "The list attribute for the <input> element is invalid", + "fail_invalid_list_type": "The list attribute for the <input> element with the type \"{0}\" is invalid", + "fail_invalid_list_elem": "The list attribute for the <input> element does not reference a datalist element" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip if the fieldset is hidden or disabled + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) + return null; + var roles = AriaUtil_1.AriaUtil.getUserDefinedRoles(ruleContext); + // let "aria_role_valid" to handle invalid role. Only allowed role is combobox which is implicit. + if (roles && roles.length > 0 && !roles.includes('combobox')) + return null; + //triggering input types: text, search, tel, url, email, or missing or invalid + var yesTypes = ["text", "search", "tel", "url", "email", "date", "month", "week", "time", "datetime-local", "number", "range", "color"]; + var noTypes = ["file", "password", "checkbox", "radio", "submit", "reset", "image", "hidden", "button"]; + var attrValue = ruleContext.getAttribute("type"); + //missing input type for list but with aria_has_popup + if (!attrValue || attrValue.trim().length === 0) + return (0, IRule_1.RulePotential)("potential_misuse"); + attrValue = attrValue.trim().toLowerCase(); + //invalid input types for list but with aria_has_popup + if (!yesTypes.includes(attrValue) && !noTypes.includes(attrValue)) + return (0, IRule_1.RulePotential)("potential_misuse"); + // the list attribute is used for wrong input type + if (attrValue && noTypes.includes(attrValue)) + return (0, IRule_1.RuleFail)("fail_invalid_list_type"); + var list = ruleContext.getAttribute("list"); + // the list attribute is blank + if (!list || list.trim().length === 0) + return (0, IRule_1.RulePotential)("potential_list_notexist"); + var listElem = ruleContext.ownerDocument.getElementById(list); + // the list element doesn't exist + if (!listElem) + return (0, IRule_1.RuleFail)("potential_list_notexist"); + // the list element is not a datalist element + if (listElem.nodeName.toLowerCase() !== 'datalist') + return (0, IRule_1.RuleFail)("fail_invalid_list_elem"); + // valid input types for list but with aria_has_popup + if (yesTypes.includes(attrValue)) + return (0, IRule_1.RulePotential)("potential_type_misuse", [attrValue]); + // shouldn't get here + return; + } +}; + + +/***/ }), + +/***/ 5937: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.input_label_after = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var DOMWalker_1 = __webpack_require__(7440); +var CommonUtil_1 = __webpack_require__(8137); +exports.input_label_after = { + 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": "input_label_after.html", + "Fail_1": "input_label_after.html", + "Fail_2": "input_label_after.html", + "group": "input_label_after.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Checkbox or radio button is nested in label, so label is not after the input control", + "Fail_2": "Label text is located before its associated checkbox or radio button element", + "group": "Checkboxes and radio buttons must have a label after the input control" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["3.3.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var type = ""; + if (ruleContext.hasAttribute("type")) + type = ruleContext.getAttribute("type").toLowerCase(); + if (type != "checkbox" && type != "radio") { + return null; + } + // Get only the non-hidden labels for element + var labelElem = CommonUtil_1.CommonUtil.getLabelForElementHidden(ruleContext, true); + if (labelElem === null || !CommonUtil_1.CommonUtil.hasInnerContentHidden(labelElem)) { + // Due to dependency, label must be done via title - this rule doesn't apply + return null; + } + var value = CommonUtil_1.CommonUtil.compareNodeOrder(labelElem, ruleContext); + var passed; + if (value === -2) { + // input nested in label + passed = false; + //let walkNode = new NodeWalker(labelElem); + var walkNode = new DOMWalker_1.DOMWalker(labelElem); + walkNode.node = ruleContext; + while (!passed && walkNode.nextNode()) { + passed = ((walkNode.node.nodeName.toLowerCase() === "#text" && walkNode.node.nodeValue.trim().length > 0) + || (walkNode.node.nodeName.toLowerCase() === "span" && walkNode.node.textContent.trim().length > 0)); + } + if (!passed) { + // Input nested in label and text before input + return (0, IRule_1.RuleFail)("Fail_1"); + } + } + else { + if (value != 1) { + // label is before input + return (0, IRule_1.RuleFail)("Fail_2"); + } + } + return (0, IRule_1.RulePass)("Pass_0"); + } +}; + + +/***/ }), + +/***/ 4452: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.input_label_before = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +exports.input_label_before = { + 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": "input_label_before.html", + "Fail_1": "input_label_before.html", + "Fail_2": "input_label_before.html", + "group": "input_label_before.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Text input is nested in label such that input precedes the label text", + "Fail_2": "Label text is located after its associated text input or <select> element", + "group": "Text inputs and <select> elements must have a label before the input control" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["3.3.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (ruleContext.nodeName.toLowerCase() == "input" && ruleContext.hasAttribute("type")) { + var type = ruleContext.getAttribute("type").toLowerCase(); + if (type != "text" && type != "file" && type != "password") { + return null; + } + } + // Get only the non-hidden labels for element + var labelElem = CommonUtil_1.CommonUtil.getLabelForElementHidden(ruleContext, true); + if (labelElem == null || !CommonUtil_1.CommonUtil.hasInnerContentHidden(labelElem)) { + // Due to dependency, label must be done via title - this rule doesn't apply + return null; + } + var value = CommonUtil_1.CommonUtil.compareNodeOrder(labelElem, ruleContext); + if (value === -2) { + // ignore if no label or the content for the label is only from the nested input control + var text = CommonUtil_1.CommonUtil.getInnerText(ruleContext); + if (text && text.trim().length > 0 && CommonUtil_1.CommonUtil.getInnerText(ruleContext).trim() === text.trim()) { + // Due to dependency, label must be done via title - this rule doesn't apply + return null; + } + // input nested in label + var passed = false; + var walkNode = ruleContext.previousSibling; + while (!passed && walkNode !== null) { + passed = ((walkNode.nodeName.toLowerCase() == "#text" && walkNode.nodeValue.trim().length > 0) + || (walkNode.nodeName.toLowerCase() == "span" && walkNode.textContent.trim().length > 0)); + walkNode = walkNode.previousSibling; + } + if (!passed) { + // Input nested in label and text after input + return (0, IRule_1.RuleFail)("Fail_1"); + } + } + else { + if (value != -1) { + // label is after input + return (0, IRule_1.RuleFail)("Fail_2"); + } + } + // Haven't returned yet, then I pass + return (0, IRule_1.RulePass)("Pass_0"); + } +}; + + +/***/ }), + +/***/ 7209: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.input_label_exists = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var VisUtil_1 = __webpack_require__(8656); +var AccNameUtil_1 = __webpack_require__(1421); +exports.input_label_exists = { + 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]", + //dependencies: ["aria_role_redundant", "aria_role_valid"], + refactor: { + "WCAG20_Input_ExplicitLabel": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1", + "Fail_2": "Fail_2" + } + }, + help: { + "en-US": { + "Pass_0": "input_label_exists.html", + "Fail_1": "input_label_exists.html", + "Fail_2": "input_label_exists.html", + "group": "input_label_exists.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Form control element <{0}> has no associated label", + "Fail_2": "Form control with \"{0}\" role has no associated label", + "group": "Each form control must have an associated label" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + // TODO: ACT: https://github.com/IBMa/equal-access/issues/756 + act: ["97a4e1", "e086e5"], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) { + return null; + } + var nodeName = ruleContext.nodeName.toLowerCase(); + //ignore datalist element check since it will be part of a input element or hidden by default + if (nodeName === 'datalist') + return null; + // Determine the input type + var passed = true; + var type = "text"; + if (nodeName == "input" && ruleContext.hasAttribute("type")) { + type = ruleContext.getAttribute("type").toLowerCase(); + } + else if (nodeName === "button" || AriaUtil_1.AriaUtil.hasRoleInSemantics(ruleContext, "button")) { + type = "buttonelem"; + } + if (nodeName == "input" && type == "") { + type = "text"; + } + if (type === "image") { + // Handled by input_label_existsImage + return null; + } + /** + let POF = -1; + let textTypes = CommonUtil.input_text_types; + let buttonTypes = CommonUtil.form_button_types; + + let buttonTypesWithDefaults = ["reset", "submit"]; // 'submit' and 'reset' have visible defaults. + if (textTypes.indexOf(type) !== -1) { // If type is in the list + // Get only the non-hidden labels for elements, in the case that a label is hidden then it is a violation + // Note: label[for] does not work for ARIA defined inputs + let labelElem = ruleContext.hasAttribute("role") ? null : CommonUtil.getLabelForElementHidden(ruleContext, true); + let hasLabelElemContent = false; + if (labelElem) { + if (CommonUtil.hasInnerContentHidden(labelElem)) { + hasLabelElemContent = true; + } else if ((labelElem.getAttribute("aria-label") || "").trim().length > 0) { + hasLabelElemContent = true; + } else if (labelElem.hasAttribute("aria-labelledby")) { + let labelledByElem = FragmentUtil.getById(labelElem, labelElem.getAttribute('aria-labelledby')); + if (labelledByElem && !DOMUtil.sameNode(labelledByElem, labelElem) && CommonUtil.hasInnerContent(labelledByElem)) { + hasLabelElemContent = true; + } + } + } + passed = (!!labelElem && hasLabelElemContent) || + (!labelElem && CommonUtil.attributeNonEmpty(ruleContext, "title") || CommonUtil.attributeNonEmpty(ruleContext, "placeholder")) || + AriaUtil.getAriaLabel(ruleContext).trim().length > 0 || CommonUtil.hasImplicitLabel(ruleContext); + if (!passed) POF = 2 + textTypes.indexOf(type); + + } else if (buttonTypes.indexOf(type) !== -1) { // If type is a button + if (buttonTypesWithDefaults.indexOf(type) !== -1 && !ruleContext.hasAttribute("value")) { + // 'submit' and 'reset' have visible defaults so pass if there is no 'value' attribute + passed = true; + } else { + passed = CommonUtil.attributeNonEmpty(ruleContext, "value") || AriaUtil.hasAriaLabel(ruleContext) || CommonUtil.attributeNonEmpty(ruleContext, "title"); + if (!passed) POF = 2 + textTypes.length + buttonTypes.indexOf(type); + } + } else if (type == "buttonelem") { + // If I am an image and I have alt text - accessibility-web-engine#269 + let bAlt = false; + if (ruleContext.nodeName.toLowerCase() === "img" && ruleContext.hasAttribute("alt")) { + let alt = ruleContext.getAttribute("alt"); + if (alt.trim().length === 0) { + bAlt = false; + } else { + bAlt = true; + } + }; + passed = CommonUtil.hasInnerContentHidden(ruleContext) || AriaUtil.hasAriaLabel(ruleContext) || bAlt || CommonUtil.attributeNonEmpty(ruleContext, "title"); + + if (!passed) POF = 2 + textTypes.length + buttonTypes.length + 1; + } + + //check if a native button is labelled + if (!passed && nodeName == "button") { + if (CommonUtil.hasImplicitLabel(ruleContext)) + passed = true; + else { + let label = CommonUtil.getLabelForElement(ruleContext); + if (label && CommonUtil.hasInnerContentHidden(label)) + passed = true; + } + } + + // Rpt_Aria_ValidIdRef determines if the aria-labelledby id points to a valid element + if (!passed && (buttonTypes.indexOf(type) !== -1)) { + if (ruleContext.hasAttribute("class") && ruleContext.getAttribute("class") == "dijitOffScreen" && DOMWalker.parentElement(ruleContext).hasAttribute("widgetid")) { + // Special handling for dijit buttons + let labelId = DOMWalker.parentElement(ruleContext).getAttribute("widgetid") + "_label"; + let label = FragmentUtil.getById(ruleContext, labelId); + if (label != null) { + passed = CommonUtil.hasInnerContentHidden(label); + // This means I failed above also + if (!passed) POF = 2 + textTypes.length + buttonTypes.length + 4 + buttonTypes.indexOf(type); + } + } + } + + if (!passed && nodeName == "optgroup") { + passed = CommonUtil.attributeNonEmpty(ruleContext, "label"); + if (!passed) POF = 2 + textTypes.length + buttonTypes.length + 2; + } + if (!passed && nodeName == "option") { + // Is a non-empty value attribute also enough for an option element? + passed = CommonUtil.attributeNonEmpty(ruleContext, "label") || ruleContext.innerHTML.trim().length > 0; + if (!passed) POF = 2 + textTypes.length + buttonTypes.length + 3; + } + + if (!passed) + passed = AriaUtil.getAriaLabel(ruleContext).trim().length > 0 || CommonUtil.attributeNonEmpty(ruleContext, "title"); + + if (!passed) { + // check aria role to figure out if the accessible name can be from content + const roles = AriaUtil.getRoles(ruleContext, true); + //when multiple roles specified, only the first valid role (guaranteed by dependencies) is applied, and the others just as fallbacks + if (ARIADefinitions.designPatterns[roles[0]] && ARIADefinitions.designPatterns[roles[0]].nameFrom && ARIADefinitions.designPatterns[roles[0]].nameFrom.includes("contents")) + passed = CommonUtil.hasInnerContentHidden(ruleContext); + } + */ + var pair = AccNameUtil_1.AccNameUtil.computeAccessibleName(ruleContext); + passed = pair && pair.name && pair.name.trim().length > 0; + if (passed) { + return (0, IRule_1.RulePass)("Pass_0"); + } + else if (ruleContext.hasAttribute("role") && ruleContext.getAttribute("role").trim().length > 0) { + return (0, IRule_1.RuleFail)("Fail_2", ruleContext.getAttribute("role").split(" ")); + } + else { + return (0, IRule_1.RuleFail)("Fail_1", [nodeName]); + } + } +}; + + +/***/ }), + +/***/ 8262: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.input_label_visible = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var fragment_1 = __webpack_require__(482); +var VisUtil_1 = __webpack_require__(8656); +var DOMUtil_1 = __webpack_require__(295); +var AccNameUtil_1 = __webpack_require__(1421); +exports.input_label_visible = { + 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", + dependencies: ["input_label_exists"], + refactor: { + "WCAG20_Input_VisibleLabel": { + "Pass_0": "pass", + "Potential_1": "potential_no_label", + "potential_placeholder_only": "potential_placeholder_only" + } + }, + help: { + "en-US": { + "pass": "input_label_visible.html", + "potential_placeholder_only": "input_label_visible.html", + "potential_no_label": "input_label_visible.html", + "group": "input_label_visible.html" + } + }, + messages: { + "en-US": { + "pass": "The input element has an associated visible label", + "potential_placeholder_only": "The ‘placeholder’ is the only visible label", + "potential_no_label": "The input element does not have an associated visible label", + "group": "An input element must have an associated visible label" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.5.3", "3.3.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var nodeName = ruleContext.nodeName.toLowerCase(); + //ignore datalist element check since it will be part of a input element or hidden by default + if (nodeName === 'datalist') + return null; + if (!VisUtil_1.VisUtil.isNodeVisible(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) + return null; + // if a control is in a table cell, the col headers can act as visible label, which is checked in table heading rule + if (CommonUtil_1.CommonUtil.getAncestor(ruleContext, "table")) + return null; + // when in a combobox, only look at the input textbox. + if (AriaUtil_1.AriaUtil.getAncestorWithRole(ruleContext, "combobox") && + !(AriaUtil_1.AriaUtil.hasRoleInSemantics(ruleContext, "textbox") || AriaUtil_1.AriaUtil.hasRoleInSemantics(ruleContext, "searchbox") || + nodeName === "input" || (nodeName === "select" && AriaUtil_1.AriaUtil.hasRoleInSemantics(ruleContext, "combobox")))) { + return null; + } + // avoid diagnosing the popup list of a combobox. + var rolesToCheck = ["listbox", "tree", "grid", "dialog"]; + for (var j = 0; j < rolesToCheck.length; j++) { + if (AriaUtil_1.AriaUtil.hasRoleInSemantics(ruleContext, rolesToCheck[j])) { + var comboboxes = CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, "combobox", true, true); + for (var k = 0; k < comboboxes.length; k++) { + var combobox = comboboxes[k]; + var aria_owns = CommonUtil_1.CommonUtil.getElementAttribute(combobox, "aria-owns"); + if (aria_owns) { + var owns = CommonUtil_1.CommonUtil.normalizeSpacing(aria_owns.trim()).split(" "); + for (var i = 0; i < owns.length; i++) { + var owned = fragment_1.FragmentUtil.getById(ruleContext, owns[i]); + if (owned === ruleContext) { + return null; + } + } + } + } + } + } + var pair = AccNameUtil_1.AccNameUtil.computeAccessibleName(ruleContext); + // check visible label for input or button + if (nodeName === 'input' || nodeName === 'button') { + /** + if (CommonUtil.hasImplicitLabel(ruleContext)) + return RulePass("pass"); + + let label = CommonUtil.getLabelForElement(ruleContext); + if (label && CommonUtil.hasInnerContentHidden(label)) + return RulePass("pass"); + + // special cases + let type = ruleContext.getAttribute("type"); + if (nodeName === 'input' && type) { + type = type.toLowerCase(); + //submit type of input has a visible label 'Submit' by default + if (type === 'submit' || type === 'reset') + return RulePass("pass"); + //image type of input requires a non-empty alt text + if (type === 'image' && CommonUtil.attributeNonEmpty(ruleContext, "alt")) + return RulePass("pass"); + } + */ + if (pair && pair.name && pair.name.trim().length > 0 && (pair.nameFrom === 'label' || pair.nameFrom === 'internal' || pair.nameFrom === 'alt')) + return (0, IRule_1.RulePass)("pass"); + } + // custom widget submission is not in scope for this success criteria (IBMa/equal-access#204) if it is not associated with data entry + var role = AriaUtil_1.AriaUtil.getResolvedRole(ruleContext); + if (role && role === "button" && nodeName !== 'input' && nodeName !== 'button') { + // likely a custom widget, skip if not associated with data entry + if (!CommonUtil_1.CommonUtil.getAncestor(ruleContext, "form")) + return null; + } + // check if any visible text from the control. + // note that (1) the text doesn’t need to be associated with the control to form a relationship + // (2) the text doesn't need to follow accessible name requirement (e.g. nameFrom) + // and (3) an alternative tooltip exists that can be made visible through mouseover + /**if (!CommonUtil.isInnerTextEmpty(ruleContext)) + return RulePass("pass"); + + // check if an alternative tooltip exists that can be made visible through mouseover + if (CommonUtil.attributeNonEmpty(ruleContext, "title")) + return RulePass("pass"); + */ + if (pair && pair.name && pair.name.trim().length > 0 && (pair.nameFrom === 'text' || pair.nameFrom === 'title')) + return (0, IRule_1.RulePass)("pass"); + // check if any descendant with an alternative tooltip that can be made visible through mouseover + // only consider img and svg, and other text content of the descendant is covered in the isInnerText above + var descendants = AriaUtil_1.AriaUtil.getAllDescendantsWithRoles(ruleContext, ["img", "graphics-document", "graphics-object", "graphics-symbol"], false, true); + if (descendants && descendants.length > 0) { + for (var d = 0; d < descendants.length; d++) { + if (CommonUtil_1.CommonUtil.attributeNonEmpty(descendants[d], "title") || CommonUtil_1.CommonUtil.attributeNonEmpty(descendants[d], "alt")) + return (0, IRule_1.RulePass)("pass"); + } + } + // check if there is a visible label pointed to by the aria-labelledby attribute. + if (CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "aria-labelledby")) { + var theLabel = ruleContext.getAttribute("aria-labelledby"); + var labelValues = theLabel.split(/\s+/); + for (var j = 0; j < labelValues.length; ++j) { + var elementById = fragment_1.FragmentUtil.getById(ruleContext, labelValues[j]); + if (elementById && !DOMUtil_1.DOMUtil.sameNode(elementById, ruleContext) && VisUtil_1.VisUtil.isNodeVisible(elementById) && CommonUtil_1.CommonUtil.hasInnerContentHidden(elementById)) { + return (0, IRule_1.RulePass)("pass"); + } + } + } + /**if (nodeName === "optgroup" && CommonUtil.attributeNonEmpty(ruleContext, "label")) + return RulePass("pass"); + + if (nodeName == "option" && (CommonUtil.attributeNonEmpty(ruleContext, "label") || ruleContext.innerHTML.trim().length > 0)) + return RulePass("pass"); + */ + if ((nodeName === "optgroup" || nodeName == "option") && (pair && pair.name && pair.name.trim().length > 0 && (pair.nameFrom === 'label' || pair.nameFrom === 'content'))) + return (0, IRule_1.RulePass)("pass"); + // Determine if this is referenced by a combobox. If so, the label belongs to the combobox + var id = ruleContext.getAttribute("id"); + if (id && id.trim().length > 0) { + if (ruleContext.ownerDocument.querySelector("*[aria-controls='".concat(id, "'][role='combobox']"))) { + return null; + } + } + // check if a placeholder exists even though a placeholder text is not sufficient as a visible text + if (CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "placeholder")) + return (0, IRule_1.RulePotential)("potential_placeholder_only"); + return (0, IRule_1.RulePotential)("potential_no_label"); + } +}; + + +/***/ }), + +/***/ 7017: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.input_onchange_review = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +exports.input_onchange_review = { + id: "input_onchange_review", + context: "dom:input[onchange], dom:textarea[onchange], dom:select[onchange]", + refactor: { + "WCAG20_Input_HasOnchange": { + // "Pass_0": "pass", + "Potential_1": "potential_warning" + } + }, + help: { + "en-US": { + // "pass": "input_onchange_review.html", + "potential_warning": "input_onchange_review.html", + "group": "input_onchange_review.html" + } + }, + messages: { + "en-US": { + "group": "Users must be advised if, due to a change of element value, a form automatically submits, a new window opens, or a change in focus occurs", + // "pass": "The user is advised of the automatic form submission, new window opening, or focus change", + "potential_warning": "Confirm that the user is advised if, due to a change of element value, a form automatically submits, a new window opens, or a change in focus occurs" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["3.2.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (ruleContext.nodeName.toLowerCase() == "input" && ruleContext.hasAttribute("type")) { + var type = ruleContext.getAttribute("type").toLowerCase(); + if (type === "hidden" || type === "submit" || type === "image" || type === "button" || type === "reset") + return null; + } + return (0, IRule_1.RulePotential)("potential_warning"); + } +}; + + +/***/ }), + +/***/ 9980: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.input_placeholder_label_visible = void 0; +var IRule_1 = __webpack_require__(4377); +exports.input_placeholder_label_visible = { + 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": "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: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "HTML5 placeholder is the only visible label", + "Potential_2": "Additional visible label referenced by 'aria-labelledby' is not valid", + "group": "HTML5 'placeholder' attribute must not be used as a visible label replacement" + } + }, + /** + * merge the rule into input_label_visible + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["3.3.2"], + "level": eRulePolicy.VIOLATION, + "toolkitLevel": eToolkitLevel.LEVEL_ONE + }], + */ + rulesets: [], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (ruleContext.hasAttribute("type")) { + var type = ruleContext.getAttribute("type").toLowerCase(); + if (type == "hidden" || type == "button") { + return (0, IRule_1.RulePass)("Pass_0"); + } + } + if (ruleContext.hasAttribute("hidden")) { + var hidden = ruleContext.getAttribute("hidden"); + if (hidden == "" || hidden.toLowerCase() == "hidden") { // when hidden is empty in the element, "" is returned, same as it has a value of "". + return (0, IRule_1.RulePass)("Pass_0"); + } + } + if (ruleContext.hasAttribute("aria-label")) { + return (0, IRule_1.RulePotential)("Potential_1"); + } + if (ruleContext.hasAttribute("aria-labelledby") && ruleContext.hasAttribute("id")) { + var id = ruleContext.getAttribute("id").trim(); + var refIds = ruleContext.getAttribute("aria-labelledby").trim().split(/\s+/); // separated by one or more white spaces + if (!refIds.includes(id)) { + return (0, IRule_1.RulePass)("Pass_0"); + } + else { + return (0, IRule_1.RulePotential)("Potential_2"); + } + } + return (0, IRule_1.RulePass)("Pass_0"); + } +}; + + +/***/ }), + +/***/ 7733: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.label_content_exists = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +var fragment_1 = __webpack_require__(482); +var DOMUtil_1 = __webpack_require__(295); +exports.label_content_exists = { + 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": "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: { + "en-US": { + "Pass_Regular": "<label> element has accessible name with inner content", + "Pass_AriaLabel": "<label> element has accessible name via 'aria-label'", + "Pass_LabelledBy": "<label> element has accessible name via 'aria-labelledby'", + "Fail_1": "The <label> element does not have descriptive text that identifies the expected input", + "group": "A <label> element must have non-empty descriptive text that identifies the purpose of the interactive component" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (CommonUtil_1.CommonUtil.hasInnerContentHidden(ruleContext)) { + return (0, IRule_1.RulePass)("Pass_Regular"); + } + else if ((ruleContext.getAttribute("aria-label") || "").trim().length > 0) { + return (0, IRule_1.RulePass)("Pass_AriaLabel"); + } + else if (ruleContext.hasAttribute("aria-labelledby")) { + var labelElem = fragment_1.FragmentUtil.getById(ruleContext, ruleContext.getAttribute('aria-labelledby')); + if (labelElem && !DOMUtil_1.DOMUtil.sameNode(labelElem, ruleContext) && CommonUtil_1.CommonUtil.hasInnerContent(labelElem)) { + return (0, IRule_1.RulePass)("Pass_LabelledBy"); + } + } + return (0, IRule_1.RuleFail)("Fail_1"); + } +}; + + +/***/ }), + +/***/ 1256: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.label_name_visible = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var fragment_1 = __webpack_require__(482); +var VisUtil_1 = __webpack_require__(8656); +var CSSUtil_1 = __webpack_require__(1775); +var DOMWalker_1 = __webpack_require__(7440); +exports.label_name_visible = { + 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": "label_name_visible.html", + "Fail_1": "label_name_visible.html", + "group": "label_name_visible.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Accessible name matches or contains the visible label text", + "Fail_1": "Accessible name does not match or contain the visible label text", + "group": "Accessible name must match or contain the visible label text" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_2"], + "num": ["2.5.3"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + // TODO: ACT: Review https://github.com/act-rules/act-rules.github.io/issues/1618 + // https://www.w3.org/WAI/WCAG21/Techniques/aria/ARIA24 + act: "2ee8b8", + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (!VisUtil_1.VisUtil.isNodeVisible(ruleContext) || + CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) { + return null; + } + // pass if the visible text uses Material Icon font + if (CSSUtil_1.CSSUtil.isMaterialIconFont(ruleContext)) + return (0, IRule_1.RulePass)("Pass_0"); + var passed = true; + var nodeName = ruleContext.nodeName.toLowerCase(); + var isInputButton = false; + //let buttonTypes = ["button", "reset", "submit"]; //"image" + var inputType = null; + if (nodeName === "input" && ruleContext.hasAttribute("type")) { + inputType = ruleContext.getAttribute("type").toLowerCase(); + if (CommonUtil_1.CommonUtil.form_button_types.indexOf(inputType) !== -1) { + isInputButton = true; + } + } + var theLabelBy = AriaUtil_1.AriaUtil.getAriaAttribute(ruleContext, "aria-labelledby"); + if (theLabelBy && !CommonUtil_1.CommonUtil.isIdReferToSelf(ruleContext, theLabelBy) && !isInputButton) { + // skip the checks if it has an aria-labelledby since it takes precedence. + } + else { + var theLabel = null; + if (theLabelBy && !CommonUtil_1.CommonUtil.isIdReferToSelf(ruleContext, theLabelBy)) { + var labelValues = theLabelBy.split(/\s+/); + for (var j = 0; j < labelValues.length; ++j) { + var elementById = fragment_1.FragmentUtil.getById(ruleContext, labelValues[j]); + if (elementById) { + theLabel = CommonUtil_1.CommonUtil.getInnerText(elementById); + break; + } + } + } + else { + theLabel = AriaUtil_1.AriaUtil.getAriaAttribute(ruleContext, "aria-label"); + } + if (!theLabel) { + return null; + } + var text = null; + if (isInputButton) { + /* Note: Disable the alt check in images until we get confirmation + if (inputType==="image" && ruleContext.hasAttribute("alt")){ + // use 'alt' attribute as visible text + text = ruleContext.getAttribute("alt"); + }else + */ + if (ruleContext.hasAttribute("value")) { + // use 'value' attribute as visible text + text = ruleContext.getAttribute("value"); + } + else { + // use default value + if (inputType === "submit" /*||inputType==="image"*/) { + text = "submit"; + } + else if (inputType === "reset") { + text = "reset"; + } + } + } + if (!text) { + // look for a <label> element + var labelElem = CommonUtil_1.CommonUtil.getLabelForElementHidden(ruleContext, true); + if (!labelElem) { + var parentNode = DOMWalker_1.DOMWalker.parentNode(ruleContext); + if (parentNode.nodeName.toLowerCase() === "label" /*&& RPTUtil.isFirstFormElement(parentNode, ruleContext)*/) { + var parentClone = parentNode.cloneNode(true); + // exclude all form elements from the label since they might also have inner content + labelElem = CommonUtil_1.CommonUtil.removeAllFormElementsFromLabel(parentClone); + } + } + var element = labelElem ? labelElem : ruleContext; + var elementsToSkipContentCheck = ["meter", "output", "progress", "select", "textarea"]; + if (!labelElem && elementsToSkipContentCheck.indexOf(nodeName) !== -1) { + text = ""; // skip content check for some elements + } + else { + // get the visible text only + text = CommonUtil_1.CommonUtil.getOnScreenInnerText(element); + } + /* Note: Disable this alt check in images for now until we get confirmation + // Look for the alt attribute of an image which is considered visible text. + let hasImgAlt = false; + if (element.firstChild != null) { + let nw = RPTUtil.new NodeWalker(element); + while (!hasImgAlt && nw.nextNode() && nw.node != element && nw.node != element.nextSibling) { + hasImgAlt = (nw.node.nodeName.toLowerCase() == "img" && RPTUtil.attributeNonEmpty(nw.node, "alt")); + if (hasImgAlt) { + text = text ? text + nw.node.getAttribute("alt") : nw.node.getAttribute("alt"); + } + } + } + */ + } + var nonalphanumeric = /[^a-zA-Z0-9]/g; + text = text.replace(nonalphanumeric, " "); // only consider alphanumeric characters + var normalizedText = CommonUtil_1.CommonUtil.normalizeSpacing(text).toLowerCase(); // Leading and trailing whitespace and difference in case sensitivity should be ignored. + theLabel = theLabel.replace(nonalphanumeric, " "); // only consider alphanumeric characters + var normalizedLabel = CommonUtil_1.CommonUtil.normalizeSpacing(theLabel).toLowerCase(); + if (normalizedText.length > 1) { // skip non-text content. e.g., <button aria-label="close">X</button> + var location_1 = normalizedLabel.indexOf(normalizedText); + // Avoid matching partial words.e.g., text "name" should not match 'surname' or 'names' + if (location_1 >= 0 && normalizedLabel.length > normalizedText.length) { + var letters = /^[0-9a-zA-Z]+$/; + if ((location_1 + normalizedText.length) < normalizedLabel.length) { + // check ending + var theChar = normalizedLabel.charAt(location_1 + normalizedText.length); + if (theChar.match(letters)) { + passed = false; + } + } + if (passed && location_1 > 0) { + // check beginning + var theChar = normalizedLabel.charAt(location_1 - 1); + if (theChar.match(letters)) { + passed = false; + } + } + } + if (location_1 === -1) { // check that visible text content of the target is contained within its accessible name. + passed = false; + } + } + } + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 9532: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.label_ref_valid = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var fragment_1 = __webpack_require__(482); +var VisUtil_1 = __webpack_require__(8656); +exports.label_ref_valid = { + id: "label_ref_valid", + context: "dom:label[for]", + refactor: { + "WCAG20_Label_RefValid": { + "Pass_0": "pass", + "Fail_1": "fail_invalid" + } + }, + help: { + "en-US": { + "pass": "label_ref_valid.html", + "fail_invalid": "label_ref_valid.html", + "group": "label_ref_valid.html" + } + }, + messages: { + "en-US": { + "pass": "The 'for' attribute for a label referencea a unique non-empty 'id' attribute of a valid element", + "fail_invalid": "The value \"{0}\" of the 'for' attribute is not the 'id' of a valid element", + "group": "The 'for' attribute for a label should reference a non-empty, unique 'id' attribute of a valid element" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var id = ruleContext.getAttribute("for"); + var passed = false; + var target = fragment_1.FragmentUtil.getById(ruleContext, id); + if (target) { + // ignore if both label and control are invisible + if (!VisUtil_1.VisUtil.isNodeVisible(target) && !VisUtil_1.VisUtil.isNodeVisible(ruleContext)) + return null; + passed = true; + // handles null and undefined + if (!target.hasAttribute("role")) { + // Fail if we're pointing at something that is labelled by another mechanism + var nodeName = target.nodeName.toLowerCase(); + passed = nodeName == "input" || nodeName == "select" || nodeName == "textarea" + || nodeName == "button" || nodeName == "datalist" + || nodeName == "optgroup" || nodeName == "option" + || nodeName == "keygen" || nodeName == "output" + || nodeName == "progress" || nodeName == "meter" + || nodeName == "fieldset" || nodeName == "legend"; + if (target.nodeName.toLowerCase() == "input" && target.hasAttribute("type")) { + var type = target.getAttribute("type").toLowerCase(); + passed = type == "text" || type == "password" || type == "file" || + type == "checkbox" || type == "radio" || + type == "hidden" || type == "search" || type == "tel" || type == "url" || type == "email" || //HTML 5 + type == "date" || type == "number" || type == "range" || type == "image" || //HTML 5 + type == "time" || type == "color" || // HTML 5 + type == "datetime-local" || type == "month" || type == "week"; //HTML5.1 + } + } + // Add one more check to make sure the target element is NOT hidden, in the case the target is hidden + // flag a violation regardless of what the Check Hidden Content setting is. + if (passed && !VisUtil_1.VisUtil.isNodeVisible(target)) { + passed = false; + } + } + var retToken = []; + if (!passed) { + retToken.push(id); + } + //return new ValidationResult(passed, [ruleContext], '', '', passed == true ? [] : [retToken]); + if (!passed) { + return (0, IRule_1.RuleFail)("fail_invalid", retToken); + } + else { + return (0, IRule_1.RulePass)("pass"); + } + } +}; + + +/***/ }), + +/***/ 6698: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.list_children_valid = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var DOMWalker_1 = __webpack_require__(7440); +exports.list_children_valid = { + 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": "list_children_valid.html", + "Fail_1": "list_children_valid.html", + "group": "list_children_valid.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "List component with \"group\" role has children that are not <listitem> elements", + "group": "List component with \"group\" role must limit children to <listitem> elements" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var parent = DOMWalker_1.DOMWalker.parentElement(ruleContext); + if (!AriaUtil_1.AriaUtil.hasRoleInSemantics(parent, "list")) { + return null; + } + var passed = true; + var children = ruleContext.children; + for (var i = 0; passed && i < children.length; i++) { + passed = AriaUtil_1.AriaUtil.hasRoleInSemantics(children[i], "listitem"); + } + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 9632: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.list_markup_review = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var DOMWalker_1 = __webpack_require__(7440); +var VisUtil_1 = __webpack_require__(8656); +exports.list_markup_review = { + id: "list_markup_review", + context: "dom:*", + refactor: { + "RPT_List_UseMarkup": { + // "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + // "pass": "list_markup_review.html", + "potential_list": "list_markup_review.html", + "group": "list_markup_review.html" + } + }, + messages: { + "en-US": { + // "pass": "Proper HTML elements are used to create a list", + "potential_list": "Verify this is a list and if so, modify to use proper HTML elements for the list", + "group": "Proper HTML elements should be used to create a list" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Extract the nodeName of the context node + var nodeName = ruleContext.nodeName.toLowerCase(); + //skip the check if the element is hidden or disabled + if (CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext) || VisUtil_1.VisUtil.hiddenByDefaultElements.includes(nodeName)) + return null; + // Don't trigger if we're not in the body or if we're in a script + if (CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["body"]) === null) + return null; + // ignore script, label and their child elements + if (CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["script", 'label']) !== null) + return null; + // ignore all widgets and their children, and certain structure roles + var roles = AriaUtil_1.AriaUtil.getRolesWithTypes(ruleContext, ["widget"]); + // add some structure roles + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(["caption", "code", "columnheader", "figure", "list", "listitem", "math", "meter", "columnheader", "rowheader"], roles); + if (AriaUtil_1.AriaUtil.getAncestorWithRoles(ruleContext, roles) !== null) + return null; + var passed = true; + var walkNode = ruleContext.firstChild; + while (passed && walkNode) { + // Comply to the Check Hidden Content setting will be done by default as this rule triggers on each element + // and for each element it only checks that single elements text nodes and nothing else. So all inner elements will be + // covered on their own. Currently for this rule by default Check Hidden Content will work, as we are doing + // a node walk only on siblings so it would not get text nodes from other siblings at all. + // In the case in the future something changes, just need to add && !RPTUtil.shouldNodeBeSkippedHidden(walkNode) to the below + // if. + if (walkNode.nodeName == "#text") { + var txtVal = walkNode.nodeValue; + var failure = /^[ \t\r\n]*[( ]*[1-9]*[\*\-).][ \t][A-Z,a-z]+/.test(txtVal); + passed = !failure; + if (!passed) { + // Ensure that there's some sort of block level element before this + // Avoid failures due to things like <i>Some sentence</i>. New sentence. + //let nw = new NodeWalker(walkNode); + var nw = new DOMWalker_1.DOMWalker(walkNode); + while (!passed && nw.prevNode()) { + var nodeName_1 = nw.node.nodeName.toLowerCase(); + if (["blockquote", "center", "dir", "div", "form", "h1", + "h2", "h3", "h4", "h5", "h6", "hr", "br", "menu", "p", + "pre"].includes(nodeName_1)) { + break; + } + if (nodeName_1 == "#text") { + var txt = nw.node.nodeValue; + passed = txt.length > 0 && ![" ", "\t", "\n"].includes(txt.charAt(txt.length - 1)); + } + } + } + } + walkNode = walkNode.nextSibling; + } + if (passed) + return null; + if (!passed) + return (0, IRule_1.RulePotential)("potential_list"); + } +}; + + +/***/ }), + +/***/ 3692: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.list_structure_proper = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +exports.list_structure_proper = { + 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": "list_structure_proper.html", + "Potential_1": "list_structure_proper.html", + "group": "list_structure_proper.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "List element is missing or improperly structured", + "group": "List elements should only be used for lists of related items" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed; + var nodeName = ruleContext.nodeName.toLowerCase(); + // Get all the childrens of the ruleContext + var children = ruleContext.children; + if (nodeName == "dl") { + var first = ""; + var last = ""; + var walkChildren = ruleContext.firstChild; + passed = true; + var presentationalFound = false; + // If there are no childrens set as passed, since dl elements can have + // zero or more of: one or more dt elements, followed by one or more dd elements + if (!ruleContext.children || ruleContext.children.length == 0) { + passed = true; + } + else { + while (passed && walkChildren != null) { + if (walkChildren.nodeType == 1) { + var nodeName_1 = walkChildren.nodeName.toLowerCase(); + // While walking through the elements under dl, if we find a + // presentational element we move to the next element as presentational + // elements are allowed under list elements as they are only for + // formatting text nodes. + if (AriaUtil_1.AriaUtil.isPresentationalElement(walkChildren)) { + presentationalFound = true; + walkChildren = walkChildren.nextSibling; + continue; + } + // Only set to pass if we find dd or dt element, in the case of + // an element that is not supported we will catch it here. i.e. img + // element + passed = nodeName_1 == "dd" || nodeName_1 == "dt"; + // Set the first and last node depending on which is found first and last + if (first == "") + first = nodeName_1; + last = nodeName_1; + } + walkChildren = walkChildren.nextSibling; + } + // In the case that we have found dt and dd elements under dl we pass right away. + // In the case that there is no dt or dd element, but bunch of presentational elements we mark this as a + // pass. In the case that there are other elements, such as img we will still trigger a violation. + passed = (passed && first == "dt" && last == "dd") || (passed && presentationalFound); + } + } + else if (nodeName == "li") { + passed = CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["ul", "ol", "dir", "menu"]) != null; + } + else if (nodeName == "dd" || nodeName == "dt") { + passed = CommonUtil_1.CommonUtil.getAncestor(ruleContext, "dl") != null; + } + else { + var walkChildren = ruleContext.firstChild; + // Zero or more li elements are permitted inside of <ol>, <ul> or <menu> elements now as per the html5 spec. This handles the case + // when there are zero elements under the <ol>, <ul> or <menu>. + if ((nodeName == "ul" || nodeName == "ol" || nodeName == "menu") && (!ruleContext.children || ruleContext.children.length == 0)) { + passed = true; + } + else { + var liFound = false; + var presentationalFound = false; + passed = true; + while (passed && walkChildren != null) { + // While walking through the list elements, if we find a + // presentational element we skip checking as presentational + // elements are allowed under list elements as they are only for + // formatting text. + if (AriaUtil_1.AriaUtil.isPresentationalElement(walkChildren)) { + presentationalFound = true; + walkChildren = walkChildren.nextSibling; + continue; + } + // Pass if the node type is anything but 1, or in the case that it is a li element. For any other node + // it will be caught here that element is not allowed under list node. + // Furthermore in the case that there is a template element with the parent being ul/ol don't flag a violation + passed = walkChildren.nodeType != 1 || walkChildren.nodeName.toLowerCase() == "li" || (walkChildren.nodeName.toLowerCase() == "template" && (nodeName == "ul" || nodeName == "ol")); + // Set li found to true if the current element (nodeType=1) is an li element + liFound = liFound || (walkChildren.nodeType == 1 && walkChildren.nodeName.toLowerCase() == "li"); + walkChildren = walkChildren.nextSibling; + } + // In the case that it has passed and also li element is found under list node, we pass right away. + // In the case that there is no li element, but bunch of presentational elements we mark this as a + // pass. In the case that there are other elements, such as img we will still trigger a violation. + passed = (passed && liFound) || (passed && presentationalFound); + } + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 5430: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.marquee_elem_avoid = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +exports.marquee_elem_avoid = { + id: "marquee_elem_avoid", + context: "dom:marquee", + refactor: { + "RPT_Marquee_Trigger": { + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "Fail_1": "marquee_elem_avoid.html", + "group": "marquee_elem_avoid.html" + } + }, + messages: { + "en-US": { + "Fail_1": "Scrolling content found that uses the obsolete <marquee> element", + "group": "The <marquee> element is obsolete and should not be used" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.2.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // JCH - NO OUT OF SCOPE hidden in context + return (0, IRule_1.RuleFail)("Fail_1"); + } +}; + + +/***/ }), + +/***/ 1018: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.media_alt_brief = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var VisUtil_1 = __webpack_require__(8656); +exports.media_alt_brief = { + 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": "media_alt_brief.html", + "Potential_1": "media_alt_brief.html", + "group": "media_alt_brief.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Text alternative is more than 150 characters", + "group": "Alternative text in 'alt' attribute should be brief (<150 characters)" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var validateParams = { + maxAlt: { + value: 150, + type: "integer" + } + }; + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var altLength = ruleContext.getAttribute("alt").trim().length; + var passed = altLength <= validateParams.maxAlt.value; + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 3433: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.media_alt_exists = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +var VisUtil_1 = __webpack_require__(8656); +exports.media_alt_exists = { + 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": "media_alt_exists.html", + "Potential_1": "media_alt_exists.html", + "group": "media_alt_exists.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Filename used as label for embedded audio or video", + "group": "Audio or video on the page must have a short text alternative that describes the media content" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var uri = ""; + if (ruleContext.nodeName.toLowerCase() == "area") { + uri = ruleContext.getAttribute("href"); + } + else { + uri = ruleContext.getAttribute("src"); + } + if (uri == null) + uri = ""; + var ext = CommonUtil_1.CommonUtil.getFileExt(uri); + var isAudVid = ext.length != 0 && (CommonUtil_1.CommonUtil.isAudioExt(ext) || CommonUtil_1.CommonUtil.isVideoExt(ext)); + var altText = ruleContext.getAttribute("alt"); + var passed = !isAudVid || (altText.length > 0 && altText.indexOf(ext) == -1); + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 8012: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.media_audio_transcribed = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +var VisUtil_1 = __webpack_require__(8656); +exports.media_audio_transcribed = { + id: "media_audio_transcribed", + context: "dom:bgsound, dom:a[href], dom:area[href], dom:embed, dom:object", + refactor: { + "RPT_Media_AudioTrigger": { + "Manual_1": "Manual_1" + } + }, + help: { + "en-US": { + "Manual_1": "media_audio_transcribed.html", + "group": "media_audio_transcribed.html" + } + }, + messages: { + "en-US": { + "Manual_1": "Provide transcripts for audio files", + "group": "Audio information should also be available in text form" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.2.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var passed; + var thisNode = ruleContext.nodeName.toLowerCase(); + if (thisNode == "bgsound") { + passed = false; + } + else { + passed = !CommonUtil_1.CommonUtil.isAudioObjEmbedLink(ruleContext); + } + if (passed) + return null; // Out of Scope + if (!passed) + return (0, IRule_1.RuleManual)("Manual_1"); + } +}; + + +/***/ }), + +/***/ 3881: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.media_autostart_controllable = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +exports.media_autostart_controllable = { + 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": "media_autostart_controllable.html", + "Potential_1": "media_autostart_controllable.html", + "group": "media_autostart_controllable.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify there is a mechanism to pause or stop and control the volume for the audio that plays automatically", + "group": "Mechanism must be available to pause or stop and control the volume of the audio that plays automatically" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.4.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var nodeName = ruleContext.nodeName.toLowerCase(); + var passed; + if (nodeName == "bgsound") { + passed = false; + } + else if (nodeName == "param") { + var content = ""; + if (ruleContext.hasAttribute("value")) + content = ruleContext.getAttribute("value").toLowerCase(); + passed = content.indexOf("0;") == 0 || + !(content.indexOf("true") != -1 || content.indexOf("1") != -1); + } + else if (nodeName == "embed") { + passed = true; + if (ruleContext.hasAttribute("flashvars")) { + var str = ruleContext.getAttribute("flashvars"); + passed = str.indexOf("autostart=true") == -1 && + str.indexOf("autostart=1") == -1; + } + if (passed && ruleContext.hasAttribute("src")) { + var str = ruleContext.getAttribute("src"); + passed = str.indexOf("autostart=true") == -1 && + str.indexOf("autostart=1") == -1; + } + } + if (passed && ruleContext.hasAttribute("autostart")) { + var val = ruleContext.getAttribute("autostart").toLowerCase(); + passed = val != 'true' && val != '1'; + } + return passed ? (0, IRule_1.RulePass)("Pass_0") : (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 3106: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.media_keyboard_controllable = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var VisUtil_1 = __webpack_require__(8656); +exports.media_keyboard_controllable = { + 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": "media_keyboard_controllable.html", + "Manual_1": "media_keyboard_controllable.html", + "group": "media_keyboard_controllable.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Manual_1": "Verify media using <audio> and/or <video> elements have keyboard accessible controls", + "group": "Media using <audio> and/or <video> elements must have keyboard accessible controls" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var passed = true; + var nodeName = ruleContext.nodeName.toLowerCase(); + if (nodeName == "audio" || nodeName === "video") { + passed = false; + } + return passed ? (0, IRule_1.RulePass)("Pass_0") : (0, IRule_1.RuleManual)("Manual_1"); + } +}; + + +/***/ }), + +/***/ 1276: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.media_live_captioned = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +exports.media_live_captioned = { + id: "media_live_captioned", + context: "dom:embed, dom:object", + refactor: { + "RPT_Media_VideoObjectTrigger": { + "Manual_1": "Manual_1" + } + }, + help: { + "en-US": { + "Manual_1": "media_live_captioned.html", + "group": "media_live_captioned.html" + } + }, + messages: { + "en-US": { + "Manual_1": "Verify captions are provided for live media (streaming video with audio)", + "group": "Live media (streaming video with audio) should have captions for audio content" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.2.4"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = !CommonUtil_1.CommonUtil.isVideoObjEmbedLink(ruleContext); + if (passed) + return null; + if (!passed) + return (0, IRule_1.RuleManual)("Manual_1"); + } +}; + + +/***/ }), + +/***/ 5424: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.media_track_available = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +var VisUtil_1 = __webpack_require__(8656); +exports.media_track_available = { + id: "media_track_available", + context: "dom:a[href], dom:area[href], dom:applet, dom:embed, dom:object", + refactor: { + "RPT_Media_VideoReferenceTrigger": { + "Manual_1": "Manual_1" + } + }, + help: { + "en-US": { + "Manual_1": "media_track_available.html", + "group": "media_track_available.html" + } + }, + messages: { + "en-US": { + "Manual_1": "Verify availability of a user-selectable audio track with description of visual content", + "group": "Pre-recorded media should have an audio track that describes visual information" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.2.3", "1.2.5"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var nodeName = ruleContext.nodeName.toLowerCase(); + var passed = true; + if (nodeName == "applet") { + passed = false; + } + else { + passed = !CommonUtil_1.CommonUtil.isVideoObjEmbedLink(ruleContext); + } + if (passed) + return null; + if (!passed) + return (0, IRule_1.RuleManual)("Manual_1"); + } +}; + + +/***/ }), + +/***/ 4248: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.meta_redirect_optional = void 0; +var fragment_1 = __webpack_require__(482); +var CommonUtil_1 = __webpack_require__(8137); +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +exports.meta_redirect_optional = { + 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": "meta_redirect_optional.html", + "pass": "meta_redirect_optional.html", + "fail": "meta_redirect_optional.html", + "fail_longrefresh": "meta_redirect_optional.html" + } + }, + messages: { + "en-US": { + "group": "Page should not automatically refresh without warning or option to turn it off or adjust the time limit", + "pass": "Rule Passed", + "fail": "Check page does not automatically refresh without warning or options", + "fail_longrefresh": "Check page does not automatically refresh without warning or options" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.2.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + // Removed ACT bisz58 AAA + act: [{ + "bc659a": { + "pass": "pass", + "fail": "fail", + "fail_longrefresh": "pass" + } + }], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // JCH - NO OUT OF SCOPE hidden in context + if (ruleContext.getAttribute("http-equiv").toLowerCase() !== 'refresh') { + return null; + } + var content = ruleContext.getAttribute("content").toLowerCase(); + // Invalid content field + if (!content.match(/^\d+$/) && !content.match(/^\d+;/)) { + return null; + } + // Only check the first one since it takes priority + if (CommonUtil_1.CommonUtil.triggerOnce(fragment_1.FragmentUtil.getOwnerFragment(ruleContext), "meta_redirect_optional", false)) { + return null; + } + var timeMatch = content.match(/^(\d+); +[^ ]/); + if (!timeMatch || parseInt(timeMatch[1]) === 0) { + return (0, IRule_1.RulePass)("pass"); + } + else { + var time = parseInt(timeMatch[1]); + if (time < 72001) { + return (0, IRule_1.RuleFail)("fail"); + } + else { + return (0, IRule_1.RuleFail)("fail_longrefresh"); + } + } + } +}; + + +/***/ }), + +/***/ 9526: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.meta_refresh_delay = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +exports.meta_refresh_delay = { + 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": "meta_refresh_delay.html", + "Pass_0": "meta_refresh_delay.html", + "Potential_1": "meta_refresh_delay.html" + } + }, + messages: { + "en-US": { + "group": "Pages should not refresh automatically", + "Pass_0": "Rule Passed", + "Potential_1": "Verify page is not being caused to refresh automatically", + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.2.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: ["bisz58", "bc659a"], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (ruleContext.getAttribute("http-equiv").toLowerCase() !== 'refresh') + return null; + var content = ruleContext.getAttribute("content").toLowerCase(); + // Invalid content field + if (!content.match(/^\d+$/) && !content.match(/^\d+;/)) { + return null; + } + var fail = !content.match(/^\d+; +[^ ]/); + return !fail ? (0, IRule_1.RulePass)("Pass_0") : (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 9379: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.meta_viewport_zoomable = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +exports.meta_viewport_zoomable = { + id: "meta_viewport_zoomable", + context: "dom:meta[name][content]", + refactor: { + "meta_viewport_zoom": { + "Pass_0": "pass", + "Potential_1": "potential_zoomable" + } + }, + help: { + "en-US": { + "group": "meta_viewport_zoomable.html", + "pass": "meta_viewport_zoomable.html", + "potential_zoomable": "meta_viewport_zoomable.html" + } + }, + messages: { + "en-US": { + "group": "The 'meta[name=viewport]' should not prevent the browser zooming the content", + "pass": "The 'meta[name=viewport]' does not prevent the browser zooming the content", + "potential_zoomable": "Confirm the 'meta[name=viewport]' with \"{0}\" can be zoomed by user" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.4.4"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [{ + "b4f0c3": { + "Pass_0": "pass", + "Potential_1": "fail" + } + }], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + if (ruleContext.getAttribute("name").toLowerCase() !== 'viewport') + return null; + var content = ruleContext.getAttribute("content").toLowerCase(); + // neither maximum-scale nor user-scalable (default yes) + if (!content || content.trim() === '' || (!content.includes('maximum-scale') && !content.includes('user-scalable'))) + return null; + var user_msg = null; + var max_msg = null; + var props = content.split(","); + var user_scale_value = 'yes'; + var maximum_scale_value = '2.0'; + for (var _i = 0, props_1 = props; _i < props_1.length; _i++) { + var prop = props_1[_i]; + var pieces = prop.trim().split('='); + if (pieces.length < 2) + continue; + if (prop.includes('user-scalable')) { + user_msg = prop; + user_scale_value = pieces[1].trim(); + if (user_scale_value.startsWith("'") || user_scale_value.startsWith('"')) { + user_scale_value = user_scale_value.substring(1, user_scale_value.length - 1); + } + } + else if (prop.includes('maximum-scale')) { + max_msg = prop; + maximum_scale_value = pieces[1].trim(); + if (maximum_scale_value.startsWith("'") || maximum_scale_value.startsWith('"')) { + maximum_scale_value = maximum_scale_value.substring(1, maximum_scale_value.length - 1).trim(); + } + } + } + var value = Number(user_scale_value); + if (!isNaN(value)) { + if (value >= 1 || value <= -1) + user_scale_value = 'yes'; + } + var maximum_scale = 2.0; + value = Number(maximum_scale_value); + if (!isNaN(value)) { + if (value < 0) + maximum_scale = 2.0; + else + maximum_scale = value; + } + else { + if (maximum_scale_value === 'yes') + maximum_scale = 1.0; + else + maximum_scale = 0.1; + } + // user-scalable is not set to 'yes', ignore maximum_scale + if (user_scale_value !== 'yes') { + return (0, IRule_1.RulePotential)("potential_zoomable", [user_msg]); + } + // user-scalable is 'yes', but maximum_scale is too small + if (maximum_scale < 2.0) { + return (0, IRule_1.RulePotential)("potential_zoomable", [max_msg]); + } + return (0, IRule_1.RulePass)("pass"); + } +}; + + +/***/ }), + +/***/ 5495: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.noembed_content_exists = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +var VisUtil_1 = __webpack_require__(8656); +exports.noembed_content_exists = { + id: "noembed_content_exists", + context: "dom:noembed", + refactor: { + "Valerie_Noembed_HasContent": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + "Pass_0": "noembed_content_exists.html", + "Potential_1": "noembed_content_exists.html", + "group": "noembed_content_exists.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Add descriptive text to the <noembed> element", + "group": "<noembed> elements should contain descriptive text" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_FOUR + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var passed = CommonUtil_1.CommonUtil.hasInnerContentHidden(ruleContext); + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 7753: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.object_text_exists = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var VisUtil_1 = __webpack_require__(8656); +var AccNameUtil_1 = __webpack_require__(1421); +exports.object_text_exists = { + 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": "object_text_exists.html", + "pass": "object_text_exists.html", + "fail_no_text_alternative": "object_text_exists.html" + } + }, + messages: { + "en-US": { + "group": "<object> element must have a text alternative for the content rendered by the object", + "pass": "<object> element has a text alternative", + "fail_no_text_alternative": "An <object> element does not have a text alternative" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: "8fc3b6", + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + // Detect if this object is of type text, by checking the object type in the case it is text then do not trigger this rule + if (ruleContext.hasAttribute("type") && (ruleContext.getAttribute("type")).indexOf("text") !== -1) { + return null; + } + // ignore if an explicit role is specified: including 'presentation', 'none', 'application', 'document' or 'img' + // this case will be covered in other rules + var role = ruleContext.getAttribute("role"); + if (role) { + return null; + } + // Per ACT, ignore embedded HTML files + var data = ruleContext.getAttribute("data"); + var ext = data && typeof data === typeof "" ? data.substring(data.lastIndexOf(".")) : ""; + if (ext === ".html" || ext === ".htm") { + return null; + } + var pair = AccNameUtil_1.AccNameUtil.computeAccessibleName(ruleContext); + var passed = pair && pair.name && pair.name.trim().length > 0; + //let passed = ARIAMapper.computeName(ruleContext).trim().length > 0; + if (passed) { + return (0, IRule_1.RulePass)("pass"); + } + else { + return (0, IRule_1.RuleFail)("fail_no_text_alternative"); + } + } +}; + + +/***/ }), + +/***/ 1252: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.page_title_exists = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +var ancestor_1 = __webpack_require__(9193); +exports.page_title_exists = { + 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": "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: { + "en-US": { + "group": "The page should have a title that correctly identifies the subject of the page", + "Pass_0": "Rule Passed", + "Fail_1": "Missing <head> element so there can be no <title> element present", + "Fail_2": "Missing <title> element in <head> element", + "Fail_3": "The <title> element is empty (no innerHTML)" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [{ + "2779a5": { + "Pass_0": "pass", + "Fail_1": "pass", + "Fail_2": "fail", + "Fail_3": "fail" + } + }], + run: function (context, options, contextHierarchies) { + // This rule does not apply inside a presentational frame + if (ancestor_1.AncestorUtil.isFrame(contextHierarchies)) { + return null; + } + var ruleContext = context["dom"].node; + // First, find the head element + var findHead = ruleContext.firstChild; + var findTitle = null; + while (findHead != null) { + if (findHead.nodeName.toLowerCase() == "head") + break; + findHead = findHead.nextSibling; + } + var possibleTitles = ruleContext.querySelectorAll("title"); + for (var idx = 0; idx < possibleTitles.length; ++idx) { + if (!CommonUtil_1.CommonUtil.getAncestor(possibleTitles[idx], ["svg"])) { + findTitle = possibleTitles[idx]; + break; + } + } + if (findHead === null) { + if (!findTitle) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + } + if (findTitle === null) { // don't have title second PoF + return (0, IRule_1.RuleFail)("Fail_2"); + } + // if we get here we have <head> and <title> + if (findTitle != null && CommonUtil_1.CommonUtil.getInnerText(findTitle).trim().length > 0) { + return (0, IRule_1.RulePass)("Pass_0"); + } + else { // <title> has no innerHTML third PoF + return (0, IRule_1.RuleFail)("Fail_3"); + } + } +}; + + +/***/ }), + +/***/ 3576: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.page_title_valid = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +exports.page_title_valid = { + 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": "page_title_valid.html", + // "Fail_1": "page_title_valid.html", + "Potential_2": "page_title_valid.html", + "group": "page_title_valid.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + // "Fail_1": "Page <title> is empty", + "Potential_2": "Verify that using the filename as the page <title> value is descriptive", + "group": "Page <title> should be a descriptive title, rather than a filename" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var titleStr = CommonUtil_1.CommonUtil.getInnerText(ruleContext).trim(); + // allow .com, .net and .org + var titleStrLowercase = titleStr.toLowerCase(); + if (titleStrLowercase.includes(".com") || titleStrLowercase.includes(".net") || titleStrLowercase.includes(".org")) { + return (0, IRule_1.RulePass)("Pass_0", [titleStr]); + } + if (titleStr.length === 0) { + // This is covered by page_title_exists + return null; //RuleFail("Fail_1"); + } + else { + var passed = !/^\S*\.[a-zA-Z]{1,4}(?!.)|^https?:\/\/\S*/i.test(titleStr); + if (!passed) { + return (0, IRule_1.RulePotential)("Potential_2"); + } + else { + return (0, IRule_1.RulePass)("Pass_0", [titleStr]); + } + } + } +}; + + +/***/ }), + +/***/ 3617: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.script_focus_blur_review = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +exports.script_focus_blur_review = { + 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": "script_focus_blur_review.html", + "Potential_1": "script_focus_blur_review.html", + "group": "script_focus_blur_review.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify script does not remove focus from content that normally receives focus", + "group": "Scripting must not remove focus from content that normally receives focus" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.1.1", "2.4.7", "3.2.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = ruleContext.getAttribute("onfocus").indexOf(".blur(") == -1; + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 6110: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.script_onclick_avoid = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +exports.script_onclick_avoid = { + id: "script_onclick_avoid", + context: "dom:*[onclick]", + dependencies: ["script_onclick_misuse"], + refactor: { + "RPT_Script_OnclickHTML2": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + "Pass_0": "script_onclick_avoid.html", + "Potential_1": "script_onclick_avoid.html", + "group": "script_onclick_avoid.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify that 'onclick' events are not used in script to emulate a link", + "group": "Scripts should not be used to emulate links" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.1.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_FOUR + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Don't trigger this for SVG element for now until a determination is made (by Rich) + // to support SVG at a point when the SVG a11y spec is ready. + if (CommonUtil_1.CommonUtil.getAncestor(ruleContext, "svg")) { + return (0, IRule_1.RulePass)("Pass_0"); + } + // If there's an aria-role specified, don't trigger this. + if (CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "role")) + return (0, IRule_1.RulePass)("Pass_0"); + var nodeName = ruleContext.nodeName.toLowerCase(); + var passed = nodeName == "a" || nodeName == "area" || nodeName == "input"; + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 5681: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.script_onclick_misuse = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +exports.script_onclick_misuse = { + id: "script_onclick_misuse", + context: "dom:*[onclick]", + refactor: { + "RPT_Script_OnclickHTML1": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + "Pass_0": "script_onclick_misuse.html", + "Potential_1": "script_onclick_misuse.html", + "group": "script_onclick_misuse.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Possible use of a script to emulate a link", + "group": "Scripts should not be used to emulate links" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var validateParams = { + failSubstring: { + value: [".asp", ".aspx", ".cfm", ".cfml", ".cgi", ".htm", ".html", ".shtm", + ".shtml", ".php", ".pl", ".py", ".shtm", ".shtml", ".xhtml", + "location.href"], + type: "[string]" + } + }; + var ruleContext = context["dom"].node; + // If there's an aria-role specified, don't trigger this. + var passed = CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "role"); + // If this is an a or area, don't trigger if there's an href. + var nodeName = ruleContext.nodeName.toLowerCase(); + passed = passed || ((nodeName == "a" || nodeName == "area") && CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "href")); + // If the guards failed, check to see if they're looking at links + if (!passed) { + var failSubstring = validateParams.failSubstring.value; + ; + var onclick_1 = ruleContext.getAttribute("onclick").toLowerCase(); + passed = true; + for (var i = 0; passed && i < failSubstring.length; ++i) { + passed = onclick_1.indexOf(failSubstring[i]) == -1; + } + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 1922: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.script_select_review = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +exports.script_select_review = { + id: "script_select_review", + context: "dom:select", + refactor: { + "WCAG20_Select_NoChangeAction": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + "Pass_0": "script_select_review.html", + "Potential_1": "script_select_review.html", + "group": "script_select_review.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify that no change of context or action occurs when selection options in this component receive focus", + "group": "No changes of context should occur when a selection value receives focus" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["3.2.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = !ruleContext.hasAttribute("onchange") && !ruleContext.hasAttribute("onfocus"); + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 7906: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.select_options_grouped = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +exports.select_options_grouped = { + id: "select_options_grouped", + context: "dom:select", + refactor: { + "WCAG20_Select_HasOptGroup": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + "Pass_0": "select_options_grouped.html", + "Potential_1": "select_options_grouped.html", + "group": "select_options_grouped.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Group of related options may need <optgroup>", + "group": "Groups of related options within a selection list should be grouped with <optgroup>" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var validateParams = { + paramNumOptions: { + value: 10, + type: "integer" + } + }; + var ruleContext = context["dom"].node; + // Handle the cases where optgroup is hidden, which should trigger a violations + // but in the case that Check hidden option is set then should not trigger a violation. + var passed = CommonUtil_1.CommonUtil.getChildByTagHidden(ruleContext, "optgroup", false, true).length > 0 || + CommonUtil_1.CommonUtil.getChildByTagHidden(ruleContext, "option", false, true).length <= + validateParams.paramNumOptions.value; + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 5451: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.skip_main_described = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +var CacheUtil_1 = __webpack_require__(7788); +var VisUtil_1 = __webpack_require__(8656); +exports.skip_main_described = { + id: "skip_main_described", + context: "dom:body", + dependencies: ["skip_main_exists"], + refactor: { + "WCAG20_Body_FirstAContainsSkipText_Native_Host_Sematics": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + "Pass_0": "skip_main_described.html", + "Potential_1": "skip_main_described.html", + "group": "skip_main_described.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify that if this hyperlink skips content, the description communicates where it links to", + "group": "The description of a hyperlink used to skip content must communicate where it links to" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var validateParams = { + paramSkipText: { + value: ["skip", "jump"], + type: "[string]" + } + }; + var ruleContext = context["dom"].node; + // Get the anchors on the page + var doc = ruleContext.ownerDocument; + // Check for landmarks first + var passed; + if (CacheUtil_1.CacheUtil.getCache(ruleContext, "IBM_hasLandmarks_Implicit", null) === null) { + CacheUtil_1.CacheUtil.setCache(ruleContext, "IBM_hasLandmarks_Implicit", CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, ["application", "banner", "complementary", "contentinfo", + "form", "main", "navigation", "search" + ], true, true).length > 0); + } + passed = CacheUtil_1.CacheUtil.getCache(ruleContext, "IBM_hasLandmarks_Implicit", false); + if (!passed) { // No landmarks, check for skip links + var links = doc.links; + // Skip link should be the first one on the page with an href attribute (i.e., links[0]) + // also if the first link is hidden then we should also trigger a violation. + if (links && links.length > 0 && VisUtil_1.VisUtil.isNodeVisible(links[0])) { + var testText = CommonUtil_1.CommonUtil.getInnerText(doc.links[0]).toLowerCase(); + for (var i = 0; !passed && i < validateParams.paramSkipText.value.length; ++i) { + passed = testText.indexOf(validateParams.paramSkipText.value[i]) != -1; + } + } + else + passed = false; + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 6349: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.skip_main_exists = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +var ancestor_1 = __webpack_require__(9193); +var CacheUtil_1 = __webpack_require__(7788); +var VisUtil_1 = __webpack_require__(8656); +exports.skip_main_exists = { + 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": "skip_main_exists.html", + "Fail_1": "skip_main_exists.html", + "group": "skip_main_exists.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "The page does not provide a way to quickly navigate to the main content (ARIA \"main\" landmark or a skip link)", + "group": "Pages must provide a way to skip directly to the main content" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.4.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + // This rule does not apply inside a presentational frame + if (ancestor_1.AncestorUtil.isPresentationFrame(contextHierarchies)) { + return null; + } + var ruleContext = context["dom"].node; + // Get the anchors on the page + var doc = ruleContext.ownerDocument; + // Check for landmarks first + var passed; + if (CacheUtil_1.CacheUtil.getCache(ruleContext, "IBM_hasLandmarks_Implicit", null) === null) { + CacheUtil_1.CacheUtil.setCache(ruleContext, "IBM_hasLandmarks_Implicit", CommonUtil_1.CommonUtil.getElementsByRoleHidden(ruleContext.ownerDocument, ["application", "banner", "complementary", "contentinfo", + "form", "main", "navigation", "search" + ], true, true).length > 0); + } + passed = CacheUtil_1.CacheUtil.getCache(ruleContext, "IBM_hasLandmarks_Implicit", false); + if (!passed) { // No landmarks, check for skip links + var anchors = CommonUtil_1.CommonUtil.getDocElementsByTag(ruleContext, "a"); + // Skip anchor should be the first one on the page with an href attribute + var testAnchor = null; + for (var i = 0; i < anchors.length; ++i) { + if (anchors[i].hasAttribute("href") && VisUtil_1.VisUtil.isNodeVisible(anchors[i])) { + testAnchor = anchors[i]; + break; + } + } + // Pull out the target id + var targetId = null; + if (testAnchor != null) { + var hrefStr = testAnchor.getAttribute("href"); + var idx = hrefStr.indexOf("#"); + if (idx != -1) { + targetId = hrefStr.substring(idx + 1); + } + } + // Determine if there is an element id or named anchor on the page with this + // target id. + if (targetId != null) { + passed = doc.getElementById(targetId) != null; + for (var i = 0; !passed && i < anchors.length; ++i) { + if (!anchors[i].hasAttribute("href") && + anchors[i].hasAttribute("name") && + anchors[i].getAttribute("name") == targetId) { + passed = true; + } + } + } + } + //return new ValidationResult(passed, [ruleContext], '', '', []); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 5393: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.style_background_decorative = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +exports.style_background_decorative = { + 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": "style_background_decorative.html", + "Potential_1": "style_background_decorative.html", + "group": "style_background_decorative.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify the CSS background image does not convey important information", + "group": "Images included by using CSS alone must not convey important information" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var nodeName = ruleContext.nodeName.toLowerCase(); + var passed = true; + if (nodeName === "link" && ruleContext.hasAttribute("rel") && + ruleContext.getAttribute("rel").toLowerCase() === "stylesheet") { + // External stylesheet - trigger + passed = CommonUtil_1.CommonUtil.triggerOnce(ruleContext, "style_background_decorative", false); + } + if (passed && nodeName === "style" || ruleContext.hasAttribute("style")) { + var styleText = void 0; + if (nodeName === "style") + styleText = CommonUtil_1.CommonUtil.getInnerText(ruleContext); + else + styleText = ruleContext.getAttribute("style"); + var bgMatches = styleText.match(/background:[^;]*/g); + if (bgMatches !== null) { + for (var i = 0; passed && i < bgMatches.length; ++i) + passed = bgMatches[i].indexOf("url(") === -1; + } + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 9887: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.style_before_after_review = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CSSUtil_1 = __webpack_require__(1775); +/** + * Description: Trigger if :before and :after are used in CSS (Internal and External) with content + * Origin: WCAG 2.0 F87 + */ +exports.style_before_after_review = { + 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": "style_before_after_review.html", + "Pass_0": "style_before_after_review.html", + "Potential_1": "style_before_after_review.html" + } + }, + messages: { + "en-US": { + "group": "Do not use CSS '::before' and '::after' pseudo-elements to insert non-decorative content", + "Pass_0": "Rule Passed", + "Potential_1": "Verify the '::before' and '::after' pseudo-elements do not insert non-decorative content" + } + }, + rulesets: [{ + // Turn off the rule due to the obsolete requirement + //id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + id: [], + num: "1.3.1", + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = true; + //check Internal styles + if (ruleContext.nodeName.toLowerCase() === "style") { + var css = CSSUtil_1.CSSUtil.getCSSStyle(ruleContext); + for (var i = 0; passed && i < css.length; ++i) { + // Guard against bad CSS + if (css[i].selector) { + passed = (css[i].selector.indexOf(":before") === -1 && css[i].selector.indexOf(":after") === -1) || + !("content" in css[i].values) || css[i].values["content"].trim().length === 0 || css[i].values["content"].trim() === "\"\"" + || css[i].values["content"].trim() === "\'\'" || css[i].values["content"].trim() === "none" || css[i].values["content"].trim() === "attr(x)" + || css[i].values["content"].trim() === "attr(y)"; + } + } + // check special rules in the stylesheets + if (passed) { + for (var sIndex = 0; sIndex < ruleContext.ownerDocument.styleSheets.length; sIndex++) { + var sheet = ruleContext.ownerDocument.styleSheets[sIndex]; + if (sheet.ownerNode === ruleContext) { + try { + var styleRules = sheet.cssRules ? sheet.cssRules : sheet.rules; + if (styleRules) { + for (var styleRuleIndex = 0; passed && styleRuleIndex < styleRules.length; styleRuleIndex++) { + var styleRule = styleRules[styleRuleIndex]; + // check @media rules + // + // The check 'if (styleRule instanceof CSSMediaRule)' doesn't work when run in Karma(but works in DAP) + // so let's access the type directly as a workaround + var styleImportRule = void 0; + if (styleRule.type && styleRule.type === 4 /* CSSRule.MEDIA_RULE */) { + var styleMediaRule = styleRule; + var mediaRules = styleMediaRule.cssRules; + if (mediaRules) { + for (var rIndex = 0; passed && rIndex < mediaRules.length; rIndex++) { + var mRule = mediaRules[rIndex]; // selectorText not recognized + if (mRule.selectorText !== null && mRule.selectorText !== undefined) { + var rule = mRule.selectorText.toLowerCase(); + if (rule.indexOf(":before") !== -1 || rule.indexOf(":after") !== -1) { + var content = mRule.style['content']; + if (content && content.trim().length) { + if (content.trim() !== "\"\"" && + content.trim() !== "\'\'" && + content.trim() !== "none" && + content.trim() !== "attr(x)" && + content.trim() !== "attr(y)") { + passed = false; + } + } + } + } + } + } + } + // check import rules + else if (styleRule.type && styleRule.type === 3 /* CSSRule.IMPORT_RULE */ && (styleImportRule = styleRule).styleSheet) { + var rules = styleImportRule.styleSheet.cssRules ? + styleImportRule.styleSheet.cssRules : + styleImportRule.styleSheet.rules; + if (rules) { + for (var rIndex = 0; passed && rIndex < rules.length; rIndex++) { + var importedRule = rules[rIndex]; + // check @media rules + if (importedRule.type && importedRule.type === 4 /* CSSRule.MEDIA_RULE */) { + var mediaRules = importedRule.cssRules; + if (mediaRules) { + for (var mIndex = 0; mIndex < mediaRules.length; mIndex++) { + var mRule = mediaRules[mIndex]; // selectorText not recognized + if (mRule.selectorText !== null && mRule.selectorText !== undefined) { + var rule = mRule.selectorText.toLowerCase(); + if (rule.indexOf(":before") !== -1 || rule.indexOf(":after") !== -1) { + var content = mRule.style['content']; + if (content && content.trim().length) { + if (content.trim() !== "\"\"" && + content.trim() !== "\'\'" && + content.trim() !== "none" && + content.trim() !== "attr(x)" && + content.trim() !== "attr(y)") { + passed = false; + } + } + } + } + } + } + } + else if (importedRule.selectorText !== null && importedRule.selectorText !== undefined) { + var rule = importedRule.selectorText.toLowerCase(); + //support both single colon (:) and double colon (::) pseudo + if (rule.indexOf(":before") !== -1 || rule.indexOf(":after") !== -1) { + var content = importedRule.style['content']; + if (content && content.trim().length) { + if (content.trim() !== "\"\"" && + content.trim() !== "\'\'" && + content.trim() !== "none" && + content.trim() !== "attr(x)" && + content.trim() !== "attr(y)") { + passed = false; + } + } + } + } + } + } + } + } + } + } + catch (e) { + // Ignore css access issues + } + } + } + } + } + //check external styles + if (ruleContext.nodeName.toLowerCase() === "link" && ruleContext.hasAttribute("rel") && + ruleContext.getAttribute("rel").toLowerCase() === "stylesheet" && + ruleContext.hasAttribute("href") && ruleContext.getAttribute("href").trim().length !== 0) { + for (var sIndex = 0; sIndex < ruleContext.ownerDocument.styleSheets.length; sIndex++) { + var sheet = ruleContext.ownerDocument.styleSheets[sIndex]; + if (sheet && sheet.ownerNode === ruleContext) { + try { + var rules = sheet.cssRules ? sheet.cssRules : sheet.rules; + if (rules) { + for (var rIndex = 0; passed && rIndex < rules.length; rIndex++) { + var ruleFromLink = rules[rIndex]; + // check @media rules + if (ruleFromLink.type && ruleFromLink.type === 4 /* CSSRule.MEDIA_RULE */) { + var mediaRules = ruleFromLink.cssRules; + if (mediaRules) { + for (var mIndex = 0; passed && mIndex < mediaRules.length; mIndex++) { + var mRule = mediaRules[mIndex]; + if (mRule.selectorText !== null && mRule.selectorText !== undefined) { + var ruleSelTxt = mRule.selectorText.toLowerCase(); + if (ruleSelTxt.indexOf(":before") !== -1 || ruleSelTxt.indexOf(":after") !== -1) { + var content = mRule.style['content']; + if (content && content.trim().length) { + if (content.trim() !== "\"\"" && + content.trim() !== "\'\'" && + content.trim() !== "none" && + content.trim() !== "attr(x)" && + content.trim() !== "attr(y)") { + passed = false; + } + } + } + } + } + } + } + else if (rules[rIndex].selectorText !== null && rules[rIndex].selectorText !== undefined) { + var rule = rules[rIndex].selectorText.toLowerCase(); + //support both single colon (:) and double colon (::) pseudo + if (rule.indexOf(":before") !== -1 || rule.indexOf(":after") !== -1) { + var content = rules[rIndex].style['content']; + if (content && content.trim().length) { + if (content.trim() !== "\"\"" && + content.trim() !== "\'\'" && + content.trim() !== "none" && + content.trim() !== "attr(x)" && + content.trim() !== "attr(y)") { + passed = false; + } + } + } + } + } + } + } + catch (e) { + // Ignore css access issues + } + } + } + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 5102: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.style_color_misuse = void 0; +var CommonUtil_1 = __webpack_require__(8137); +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var DOMWalker_1 = __webpack_require__(7440); +var CacheUtil_1 = __webpack_require__(7788); +exports.style_color_misuse = { + 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": "style_color_misuse.html", + "Pass_0": "style_color_misuse.html", + "Potential_1": "style_color_misuse.html" + } + }, + messages: { + "en-US": { + "group": "Combine color and descriptive markup to convey information", + "Pass_0": "Rule Passed", + "Potential_1": "Verify color is not used as the only visual means of conveying information" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: "1.4.1", + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var nodeName = ruleContext.nodeName.toLowerCase(); + var styleText = ""; + if (nodeName === "style") { + styleText = CommonUtil_1.CommonUtil.getInnerText(ruleContext).toLowerCase(); + // check import + for (var sIndex = 0; sIndex < ruleContext.ownerDocument.styleSheets.length; sIndex++) { + var sheet = ruleContext.ownerDocument.styleSheets[sIndex]; + if (sheet && sheet.ownerNode === ruleContext) { + try { + var styleRules = sheet.cssRules ? sheet.cssRules : sheet.rules; + for (var styleRuleIndex = 0; styleRuleIndex < styleRules.length; styleRuleIndex++) { + var styleRule = styleRules[styleRuleIndex]; + var styleImportRule = void 0; + if (styleRule.type && styleRule.type === 3 /* CSSRule.IMPORT_RULE */ && (styleImportRule = styleRule).styleSheet) { + var importRules = styleImportRule.styleSheet.cssRules ? styleImportRule.styleSheet.cssRules : styleImportRule.styleSheet.rules; + for (var rIndex = 0; rIndex < importRules.length; rIndex++) { + var iRule = importRules[rIndex]; + styleText += iRule.cssText; + } + } + } + } + catch (e) { + // Silence css access issues + } + } + } + } + else if (ruleContext.hasAttribute("style")) { + styleText = ruleContext.getAttribute("style").toLowerCase(); + } + else if (nodeName === "link" && //check external styles + ruleContext.hasAttribute("rel") && + ruleContext.getAttribute("rel").toLowerCase() === "stylesheet" && + ruleContext.hasAttribute("href") && + ruleContext.getAttribute("href").trim().length !== 0) { + for (var sIndex = 0; sIndex < ruleContext.ownerDocument.styleSheets.length; sIndex++) { + var sheet = ruleContext.ownerDocument.styleSheets[sIndex]; + if (sheet && sheet.ownerNode === ruleContext) { + try { + var rules = sheet.cssRules ? sheet.cssRules : sheet.rules; + for (var rIndex = 0; rIndex < rules.length; rIndex++) { + styleText += rules[rIndex].cssText; + } + } + catch (e) { + // Silence css access issues + } + } + } + } + var passed = true; + // Defect 1022: Find uses of 'color' and '*background*' only + var isBgUsed = styleText.match(/\bbackground\b/i); + var theColorStyleToCheck = styleText.replace(/-color/g, ""); + var isColorUsed = theColorStyleToCheck.match(/\bcolor\b/i); + if (ruleContext.hasAttribute("color") || isColorUsed || isBgUsed) { + var goodTagNames = { + "em": "", "strong": "", "cite": "", "dfn": "", + "code": "", "samp": "", "kbd": "", "var": "", "abbr": "", "acronym": "" + }; + // Color used � are there semantics involved? + passed = nodeName in goodTagNames || + CommonUtil_1.CommonUtil.getAncestor(ruleContext, goodTagNames) !== null; + if (!passed && ruleContext.hasChildNodes()) { + //let nw = new NodeWalker(ruleContext); + var nw = new DOMWalker_1.DOMWalker(ruleContext); + while (!passed && nw.nextNode() && nw.node !== ruleContext) { + passed = nw.node.nodeName.toLowerCase() in goodTagNames; + } + } + } + // Trigger only once + if (!passed) { + var triggered = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "style_color_misuse", false); + passed = triggered; + CacheUtil_1.CacheUtil.setCache(ruleContext.ownerDocument, "style_color_misuse", true); + } + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 9977: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.style_focus_visible = void 0; +var CommonUtil_1 = __webpack_require__(8137); +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CSSUtil_1 = __webpack_require__(1775); +var ColorUtil_1 = __webpack_require__(8680); +exports.style_focus_visible = { + id: "style_focus_visible", + context: "dom:*", + refactor: { + "RPT_Style_HinderFocus1": { + "Potential_1": "potential_focus_not_visible" + } + }, + help: { + "en-US": { + "group": "style_focus_visible.html", + "potential_focus_not_visible": "style_focus_visible.html", + "pass_focus_visible": "style_focus_visible.html" + } + }, + messages: { + "en-US": { + "group": "The keyboard focus indicator should be visible when default border or outline is modified by CSS", + "potential_focus_not_visible": "Check the keyboard focus indicator is visible when using CSS declaration for 'border' or 'outline'", + "pass_focus_visible": "The keyboard focus indicator is visible or is not changed from the browser default" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: "2.4.7", + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var validateParams = { + skipNodes: { + value: ["table"], + type: "[string]" + }, + checkParams: { + value: ["border", "border-width", "border-style", + "border-top-width", "border-right-width", "border-bottom-width", "border-left-width", + "border-top-color", "border-right-color", "border-bottom-color", "border-left-color", + "border-top-style", "border-right-style", "border-bottom-style", "border-left-style", + "outline", "outline-width", "outline-color", "outline-style"], + type: "[string]" + } + }; + var ruleContext = context["dom"].node; + if (!CommonUtil_1.CommonUtil.isTabbable(ruleContext) || validateParams.skipNodes.value.includes(ruleContext.nodeName.toLowerCase())) { + return null; + } + var normalStyles = CSSUtil_1.CSSUtil.getDefinedStyles(ruleContext); // consider noth user-defined and browser default + var focusStyles = []; + focusStyles.push(CSSUtil_1.CSSUtil.getDefinedStyles(ruleContext, ":focus")); + focusStyles.push(CSSUtil_1.CSSUtil.getDefinedStyles(ruleContext, ":focus-visible")); + focusStyles.push(CSSUtil_1.CSSUtil.getDefinedStyles(ruleContext, ":focus-within")); + // if focus style is defined + var styleObj = focusStyles[0]; + if (Object.keys(styleObj).length > 0) { + //pass if outline is not defined at all, browser will override + if (((!normalStyles["outline-width"] && !normalStyles["outline-style"]) + || (normalStyles["outline-width"] === '0px' || normalStyles["outline-style"] === 'none')) + && (!styleObj["outline-style"] || styleObj["outline-style"] !== 'none')) + return (0, IRule_1.RulePass)("pass_focus_visible"); + var noneStyle = false; + var numOtherStyle = 0; + for (var focusStyle in styleObj) { + if (validateParams.checkParams.value.includes(focusStyle)) { + /** + * failure case: + * 1. focus outline or border style is none and no other style (color or width) defined + * 2. focus outline or border style is same with the normal + * 3. size in focus is same or smaller than default + * 4. color contrast in focus is better + */ + var focusStyleValue = styleObj[focusStyle]; + var normalStyleValue = normalStyles[focusStyle]; + if (focusStyle.includes("style")) { + if (focusStyleValue === "none") + noneStyle = true; + else + noneStyle = false; + if (normalStyleValue && focusStyleValue !== "none" && focusStyleValue === normalStyleValue) + return (0, IRule_1.RulePotential)("potential_focus_not_visible"); + } + else if (focusStyle.includes("width")) { + numOtherStyle++; + //proximation of the width style + if (focusStyleValue === 'initial') + focusStyleValue = '2px'; + else if (focusStyleValue === 'thin') + focusStyleValue = '1px'; + else if (focusStyleValue === 'medium') + focusStyleValue = '2px'; + else if (focusStyleValue === 'thick') + focusStyleValue = '3px'; + if (normalStyleValue) { + if (normalStyleValue === 'initial') + normalStyleValue = '2px'; + else if (normalStyleValue === 'thin') + normalStyleValue = '1px'; + else if (normalStyleValue === 'medium') + normalStyleValue = '2px'; + else if (normalStyleValue === 'thick') + normalStyleValue = '3px'; + } + focusStyleValue = CSSUtil_1.CSSUtil.getPixelsFromStyle(focusStyleValue, ruleContext); + normalStyleValue = CSSUtil_1.CSSUtil.getPixelsFromStyle(normalStyleValue, ruleContext); + if (focusStyleValue == 0 || focusStyleValue <= normalStyleValue) + return (0, IRule_1.RulePotential)("potential_focus_not_visible"); + } + else if (focusStyle.includes("color")) { + numOtherStyle++; + // get the element bg color + var colorCombo = ColorUtil_1.ColorUtil.ColorCombo(ruleContext); + if (colorCombo === null) + continue; + var bg = colorCombo.bg; + if (!bg) + continue; + //proximation of the width style + if (focusStyleValue === 'initial') + focusStyleValue = 'black'; + if (normalStyleValue && normalStyleValue === 'initial') + normalStyleValue = 'black'; + // get the border/outline color as fg colors + focusStyleValue = ColorUtil_1.ColorUtil.Color(focusStyleValue); + normalStyleValue = ColorUtil_1.ColorUtil.Color(normalStyleValue); + if (focusStyleValue === null || normalStyleValue === null) + continue; + //get the border/outline color contrast ratios + var focusRatio = focusStyleValue.contrastRatio(bg); + var normalRatio = normalStyleValue.contrastRatio(bg); + if (focusRatio < 3.0 || focusRatio <= normalRatio) + return (0, IRule_1.RulePotential)("potential_focus_not_visible"); + } + else { + //other + numOtherStyle++; + if (normalStyleValue != null && focusStyleValue === normalStyleValue) + return (0, IRule_1.RulePotential)("potential_focus_not_visible"); + } + } + } + // warn if a border/outline focus style is 'none' and noe other (color and/or width) is defined + if (noneStyle && numOtherStyle === 0) + return (0, IRule_1.RulePotential)("potential_focus_not_visible"); + } + else { + // no focus style defined + // warn if normal style is defined and is not "none" + for (var normalStyle in normalStyles) { + if (validateParams.checkParams.value.includes(normalStyle)) { + var normalStyleValue = normalStyles[normalStyle]; + // ignore if border or outline style is "none" + if (normalStyleValue !== 'none') + return (0, IRule_1.RulePotential)("potential_focus_not_visible"); + } + } + } + return (0, IRule_1.RulePass)("pass_focus_visible"); + } +}; + + +/***/ }), + +/***/ 8454: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.style_highcontrast_visible = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CacheUtil_1 = __webpack_require__(7788); +exports.style_highcontrast_visible = { + 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": "style_highcontrast_visible.html", + "Manual_1": "style_highcontrast_visible.html", + "group": "style_highcontrast_visible.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Manual_1": "Confirm Windows high contrast mode is supported when using CSS to include, position or alter non-decorative content", + "group": "Windows high contrast mode must be supported when using CSS to include, position or alter non-decorative content" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next"], + "num": ["1.1.1", "1.3.2", "1.4.11"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }, + { + "id": ["WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1", "1.3.2", "1.4.11"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var nodeName = ruleContext.nodeName.toLowerCase(); + if (nodeName === "link" && + (!ruleContext.hasAttribute("rel") || ruleContext.getAttribute("rel").toLowerCase() !== "stylesheet")) + return (0, IRule_1.RulePass)("Pass_0"); + if (nodeName !== "style" && nodeName !== "link" && + ruleContext.hasAttribute("style") && ruleContext.getAttribute("style").trim().length === 0) + return (0, IRule_1.RulePass)("Pass_0"); + var triggered = CacheUtil_1.CacheUtil.getCache(ruleContext.ownerDocument, "style_highcontrast_visible", false); + var passed = triggered; + // Packages.java.lang.System.out.println(triggered); + CacheUtil_1.CacheUtil.setCache(ruleContext.ownerDocument, "style_highcontrast_visible", true); + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RuleManual)("Manual_1"); + } +}; + + +/***/ }), + +/***/ 25: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.style_hover_persistent = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +exports.style_hover_persistent = { + id: "style_hover_persistent", + context: "dom:style, dom:*[style], dom:*", + help: { + "en-US": { + "Pass_0": "style_hover_persistent.html", + // "Pass_1": "style_hover_persistent.html", + "Pass_2": "style_hover_persistent.html", + "Potential_1": "style_hover_persistent.html", + "Potential_2": "style_hover_persistent.html", + "Potential_3": "style_hover_persistent.html", + "group": "style_hover_persistent.html" + } + }, + messages: { + "en-US": { + "Pass_0": "the hover: pseudo-class is not used to display content", + // "Pass_1": "content displayed via the :hover pseudo-class is a direct child of the trigger element", + "Pass_2": "content displayed via the :hover pseudo-class is the adjacent sibling of the trigger element", + "Potential_1": "Confirm the pointer can be positioned over the displayed element, not just the trigger", + "Potential_2": "Confirm the pointer can be positioned over all the information displayed on hover", + "Potential_3": "Confirm the margin style attribute has not prevented the pointer from hovering over the displayed element, not just the trigger", + "group": "The pointer should be able to move over content displayed on hover" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_2"], + "num": ["1.4.13"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var pass0 = false; + var pass1 = false; + var pass2 = false; // never happen + var potential1 = false; + var potential2 = false; + var potential3 = false; + var ruleContext = context["dom"].node; + var nodeName = ruleContext.nodeName.toLowerCase(); + var styleText = ""; + if (nodeName === "style") { + // console.log("RULE RUN ******************"); + styleText = CommonUtil_1.CommonUtil.getInnerText(ruleContext).toLowerCase(); + // check import + // console.log("ruleContext.ownerDocument.styleSheets.length = "+ruleContext.ownerDocument.styleSheets.length); + for (var sIndex = 0; sIndex < ruleContext.ownerDocument.styleSheets.length; ++sIndex) { + var sheet = ruleContext.ownerDocument.styleSheets[sIndex]; + if (sheet && sheet.ownerNode === ruleContext) { + try { + var styleRules = sheet.cssRules ? sheet.cssRules : sheet.rules; + // console.log("styleRules.length = "+styleRules.length); + for (var styleRuleIndex = 0; styleRuleIndex < styleRules.length; styleRuleIndex++) { + // console.log("**********"); + // console.log("********** FOR LOOP styleRuleIndex = "+styleRuleIndex); + var foundHover = false; + var hoverElement = ""; + var plusCombinator = false; + var tildeCombinator = false; + var afterCombinatorElement = ""; + var afterCombinatorElementDisplay = false; + var afterCombinatorElementDisplayValue = false; + var afterCombinatorElementHover = false; + var supportingElement = false; + var supportingHover = false; + var supportingHoverElementDisplayProperty = false; + var supportingHoverElementDisplayValue = false; + var adjacentPlusSibling = false; + var adjacentTildeMultipleSibling = false; + var styleRule = styleRules[styleRuleIndex]; + var ruleText = styleRules[styleRuleIndex].cssText; + // console.log("styleRules["+styleRuleIndex+"] = "+ruleText); + // 1. Check for :hover + if (ruleText.match(/:hover/g)) { + foundHover = true; + // console.log("1. found :hover = "+ foundHover); + // 2. Get hover element + hoverElement = ruleText.split(":")[0]; + // console.log("2. found element that goes with :hover = "+hoverElement); + } + else { + // console.log("1. No hover on css element so skip this rule"); + continue; // if no :hover skip this rule + } + // 3a. Check for css combinator + + // 4a. if so do we have an after combinator element + var plusTempStr = ruleText.substring(ruleText.indexOf("+") + 1); + plusTempStr = plusTempStr.trim(); + if (ruleText.match(/:hover \+/g) || ruleText.match(/:hover\+/g)) { + plusCombinator = true; + // console.log("3a. Found plusCombinator = "+ plusCombinator); + afterCombinatorElement = plusTempStr.split(" ")[0]; + // console.log("4a. Found plus afterCombinatorElement = "+afterCombinatorElement); + } + // 3b. Check for css combinator + + // 4b. if so do we have an after combinator element + if (ruleText.match(/:hover \~/g) || ruleText.match(/:hover\~/g)) { + // console.log("match = "+ruleText.match(":hover \~")); + tildeCombinator = true; + // console.log("3b. Found tildeCombinator = "+ tildeCombinator); + var plusTempStr_1 = ruleText.substring(ruleText.indexOf("~") + 1); + plusTempStr_1 = plusTempStr_1.trim(); + afterCombinatorElement = plusTempStr_1.split(" ")[0]; + // console.log("4b. Found tilde afterCombinatorElement = "+afterCombinatorElement); + } + if (!plusCombinator && !tildeCombinator) { + // NO plusCombinator or tildeCombinator so skip this rule + // console.log("NO plusCombinator or tildeCombinator so PASS"); + // console.log("**** REPORT PASS 0 HERE"); + return (0, IRule_1.RulePass)("Pass_0"); // JCH: should we have a N/A pass + } + // So now we have a css element with hover - element:hover so we have problems + // to check + // 5. Check if the after combinator element has display: property + // 6. Check if display property is not none + if (afterCombinatorElement) { + // get index of display: + // console.log("plusTempStr = "+plusTempStr); + var index = plusTempStr.indexOf("display:"); + if (index) { + afterCombinatorElementDisplay = true; + // console.log("5. Found afterCombinatorElementDisplay = "+afterCombinatorElementDisplay); + if (plusTempStr.slice(index + 8).trim().split(" ")[0] !== "none;") { + afterCombinatorElementDisplayValue = true; + // console.log("6. Found afterCombinatorElementDisplayValue not none = "+afterCombinatorElementDisplayValue); + } + else { + // console.log("afterCombinatorElementDisplayValue === none"); + // console.log("**** PUT POTENTIAL 0 HERE"); + continue; + } + } + else { + // this is bad css so it won't happen + // console.log("NO afterCombinatorElementDisplay so skip this rule"); + continue; + } + } + else { + // this is bad css so it won't happen + // console.log("NO afterCombinatorElement so skip this rule"); + continue; + } + if (afterCombinatorElementDisplayValue) + if (sheet && sheet.ownerNode === ruleContext) { + // console.log("**** At this point we have verified that we have a css element with a hover of the format span:hover + div { display: block; } with all the proper properties and values"); + // NOTE: At this point we have verified that we have a css element with a hover + // of the format span:hover + div { display: block; } + // with all the proper properties and values + try { + var styleRules2 = sheet.cssRules ? sheet.cssRules : sheet.rules; + // console.log("styleRules2.length = "+styleRules2.length); + for (var styleRuleIndex2 = 0; styleRuleIndex2 < styleRules2.length; styleRuleIndex2++) { + // Check rule for afterCominatorElement:hover + // If find afterCombinatorElement:hover see if rule has property display: value where + // value != none + // console.log("**********"); + // console.log("********** 2nd FOR styleRuleIndex2 = "+styleRuleIndex2); + var ruleText2 = styleRules[styleRuleIndex2].cssText; + // console.log("ruleText2 = ", ruleText2); + // console.log("afterCombinatorElement = "+afterCombinatorElement); + // Check all supporting elements for margin property + // If find margin STOP and REPORT ERROR + var regExString = afterCombinatorElement + " {"; + var trimRuleText2 = ruleText2.trim(); + var regIndex = trimRuleText2.indexOf(regExString); + var afterCombinatorElementProperties = trimRuleText2.slice(regIndex).trim(); + //if (!afterCombinatorElementProperties.match(/margin/g)) { + if (!trimRuleText2.match(/margin/g)) { + // console.log("No margin problem so continue on..."); + // do we have a supporting element css definitions + var supportingHoverElement = ruleText2.split(":")[0]; + supportingHoverElement = supportingHoverElement.split(" ")[0]; + // console.log("supportingHoverElement = "+supportingHoverElement); + // console.log("afterCombinatorElement = "+afterCombinatorElement); + // NEED TO CHECK FOR afterCominatorElement:hover in ONE STEP + if (supportingHoverElement === afterCombinatorElement && ruleText2.match(/:hover/g)) { + // console.log("7. Found supporting hover element same as afterCombinatorElement") + // 7. Found supporting hover element same as afterCombinatorElement + supportingElement = true; + // does supporting element have hover + // console.log("8. Supporting element has hover also = "+ foundHover); + // 8. Supporting element has hover also + supportingHover = true; + var index = ruleText2.indexOf("display:"); + // console.log("index = "+index); + if (index) { + // 9. Found supportingHoverElementDisplayProperty + supportingHoverElementDisplayProperty = true; + // console.log("9. Found supportingHoverElementDisplayProperty = "+supportingHoverElementDisplayProperty); + if (plusTempStr.slice(index + 8).trim().split(" ")[0] !== "none;") { + // 10. Found supportingHoverElementDisplayValue not none + supportingHoverElementDisplayValue = true; + // console.log("10. Found supportingHoverElementDisplayValue not none = "+supportingHoverElementDisplayValue); + // Get list of hover elements and next sibling for + + // For + there must be at least one ADJACENT sibling + if (hoverElement !== "" && plusCombinator) { + var hoverElementList = ruleContext.ownerDocument.getElementsByTagName(hoverElement.toUpperCase()); + // console.log("hoverElementList.length = "+hoverElementList.length); + // console.log("hoverElementList[0].tagName = "+hoverElementList[0].tagName); + // Get adjacent sibling + // console.log("Adjacent sibling = "+hoverElementList[0].nextElementSibling.tagName); + // console.log("afterCombinatorElement.toUpperCase() = "+afterCombinatorElement.toUpperCase()); + if (afterCombinatorElement.toUpperCase() === hoverElementList[0].nextElementSibling.tagName) { + // console.log("11a. Hover with plus has adjacent sibling.") + // 11a. Hover with plus has adjacent sibling. + adjacentPlusSibling = true; + // At this point we have verified a supporting afterCombinatorElement css rule that contains hover and display property that is not equal to none and has a hover element in the body with an adjacent sibling + // console.log("**** REPORT PASS 1 HERE"); + pass0 = true; + continue; + } + } + else if (plusCombinator) { + // console.log("11a. Main hover with + combinator has no adjacent sibling"); + if (!potential1) { + // console.log("**** PUT POTENTIAL 1 HERE"); + potential1 = true; + break; + } + continue; + } + // Get list of hover elements and determine if there are 2 or more adjacent siblings for ~ + // For ~ there must be at least one ADJACENT sibling + if (hoverElement !== "" && tildeCombinator) { + // console.log("hoverElement.toUpperCase() = "+hoverElement.toUpperCase()); + var hoverElementList = ruleContext.ownerDocument.getElementsByTagName(hoverElement.toUpperCase()); + // console.log("hoverElementList.length = "+hoverElementList.length); + // Check for two or more adjacent siblings + var siblings = []; + var sibling = hoverElementList[0].nextElementSibling; + do { + // console.log("sibling.tagName = "+sibling.tagName); + if (sibling.tagName === afterCombinatorElement.toUpperCase()) { + siblings.push(sibling); + } + else { + break; + } + } while ((sibling = sibling.nextElementSibling)); + var siblingCount = siblings.length; + // console.log("siblingCount = "+siblingCount); + // JCH TODO: what if sibling count 0 + if (siblingCount === 1) { + // console.log("11b. Hover with tilde and one adjacent sibling"); + adjacentTildeMultipleSibling = true; + // console.log("**** REPORT PASS 2 HERE"); + return (0, IRule_1.RulePass)("Pass_2"); + } + else if (siblingCount > 1) { + // console.log("Main hover with ~ combinator has two or more siblings"); + if (!potential2) { + // console.log("**** PUT POTENTIAL 2 HERE"); + return (0, IRule_1.RulePotential)("Potential_2"); + } + } + } + } + else if (plusCombinator) { + // supportingHoverElementDisplayValue + // if we make it to the last rule and supportingHoverElementDisplayValue is still false => potential1 + if (styleRuleIndex2 === styleRules2.length - 1 && supportingHoverElementDisplayValue === false) { + // console.log("NO plus supportingHoverElementDisplayProperty"); + // console.log("**** PUT POTENTIAL 1 HERE"); + return (0, IRule_1.RulePotential)("Potential_1"); + } + else { + continue; + } + } + else if (tildeCombinator) { + // if we make it to the last rule and supportingHoverElementDisplayValue is still false => potential2 + if (styleRuleIndex2 === styleRules2.length - 1 && supportingHoverElementDisplayValue === false) { + // console.log("NO plus supportingHoverElementDisplayProperty"); + // console.log("**** PUT POTENTIAL 2 HERE"); + return (0, IRule_1.RulePotential)("Potential_1"); + } + else { + continue; + } + } + // note at least one of the rules must have a display property + } + else if (plusCombinator) { + // if we make it to the last rule and supportingHoverElementDisplayProperty is still false => potential1 + if (styleRuleIndex2 === styleRules2.length - 1 && supportingHoverElementDisplayProperty === false) { + // console.log("NO plus supportingHoverElementDisplayProperty"); + // console.log("**** PUT POTENTIAL 1 HERE"); + return (0, IRule_1.RulePotential)("Potential_1"); + } + else { + continue; + } + } + else if (tildeCombinator) { + // if we make it to the last rule and supportingHoverElementDisplayProperty is still false => potential2 + if (styleRuleIndex2 === styleRules2.length - 1 && supportingHoverElementDisplayProperty === false) { + // console.log("NO tilde supportingHoverElementDisplayProperty"); + // console.log("**** PUT POTENTIAL 2 HERE"); + return (0, IRule_1.RulePotential)("Potential_1"); + } + else { + continue; + } + } + // note at least one of the rules must have a supportingElement:hover + } + else if (plusCombinator) { + // if we make it to the last rule and supportingElement is still false => potential1 + // console.log("styleRuleIndex2 = "+styleRuleIndex2); + // console.log("styleRules2.length = "+styleRules2.length); + // console.log("supportingElement = "+supportingHover); + if (styleRuleIndex2 === styleRules2.length - 1 && supportingHover === false) { + // console.log("NO plus supportingElement:hover"); + // console.log("**** PUT POTENTIAL 1 HERE"); + return (0, IRule_1.RulePotential)("Potential_1"); + } + else { + continue; + } + } + else if (tildeCombinator) { + // if we make it to the last rule and supportingElement is still false => potential2 + // console.log("styleRuleIndex2 = "+styleRuleIndex2); + // console.log("styleRules2.length = "+styleRules2.length); + // console.log("supportingElement = "+supportingHover); + if (styleRuleIndex2 === styleRules2.length - 1 && supportingHover === false) { + // console.log("NO tilde supportingElement:hover"); + // console.log("**** PUT POTENTIAL 2 HERE"); + return (0, IRule_1.RulePotential)("Potential_2"); + } + else { + continue; + } + } + } + else { + // console.log("There is a margin in the supporting element"); + if (!potential3) { + // console.log("**** PUT POTENTIAL 3 HERE"); + potential3 = true; + return (0, IRule_1.RulePotential)("Potential_3"); + } + } + } + } + catch (e) { + // Silence css access issues + } + } + } + } + catch (e) { + // Silence css access issues + } + } + } + } + // console.log("----------------------"); + // console.log("pass0 = "+pass0); + // console.log("pass1 = "+pass1); + // console.log("pass2 = "+pass2); + // console.log("potential1 = "+potential1); + // console.log("potential2 = "+potential2); + // console.log("potential3 = "+potential3); + if (pass0) + return (0, IRule_1.RulePass)("Pass_0"); + // if (pass1) return RulePass("Pass_2"); // Doesn't trigger + // if (pass2) return RulePass("Pass_3"); // Doesn't trigger + if (potential1) + return (0, IRule_1.RulePotential)("Potential_1"); + if (potential2) + return (0, IRule_1.RulePotential)("Potential_2"); + if (potential3) + return (0, IRule_1.RulePotential)("Potential_3"); + } +}; + + +/***/ }), + +/***/ 2884: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.style_viewport_resizable = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +/** + * Description: Trigger when viewport units are used for font size. + * Origin: Various + */ +exports.style_viewport_resizable = { + 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": "style_viewport_resizable.html", + "Pass_0": "style_viewport_resizable.html", + "Potential_1": "style_viewport_resizable.html" + } + }, + messages: { + "en-US": { + "group": "Text must scale up to 200% without loss of content or functionality", + "Pass_0": "Rule Passed", + "Potential_1": "Verify that text sized using viewport units can be resized up to 200%" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: ["1.4.4", "1.4.10"], + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = true; + var thePattern = /\d+(vw|vh|vmin|vmax)/gi; + var nodeName = ruleContext.nodeName.toLowerCase(); + if (nodeName === "style") { + for (var sIndex = 0; sIndex < ruleContext.ownerDocument.styleSheets.length; sIndex++) { + var sheet = ruleContext.ownerDocument.styleSheets[sIndex]; + if (sheet.ownerNode === ruleContext) { + try { + var styleRules = sheet.cssRules ? sheet.cssRules : sheet.rules; + if (styleRules) { + for (var styleRuleIndex = 0; passed && styleRuleIndex < styleRules.length; styleRuleIndex++) { + var rule = styleRules[styleRuleIndex]; + if (rule.type && rule.type === 1 /* CSSRule.STYLE_RULE */) { + var styleRule = rule; + if (styleRule.style['fontSize']) { + var fontSize = styleRule.style['fontSize'].trim(); + var found = fontSize.match(thePattern); + if (fontSize.length && found) { + passed = false; + } + } + } + // check import rules + else if (rule.type && rule.type === 3 /* CSSRule.IMPORT_RULE */ && rule.styleSheet) { + var importRule = rule; + var rules = importRule.styleSheet.cssRules ? importRule.styleSheet.cssRules : importRule.styleSheet.rules; + if (rules) { + for (var rIndex = 0; passed && rIndex < rules.length; rIndex++) { + var importedRule = rules[rIndex]; + if (importedRule.type && importedRule.type === 1 /* CSSRule.STYLE_RULE */) { + if (importedRule.style['fontSize']) { + var fontSize = importedRule.style['fontSize'].trim(); + var found = fontSize.match(thePattern); + if (fontSize.length && found) { + passed = false; + } + } + } + } + } + } + } + } + } + catch (e) { + // Ignore css access issues + } + } + } + } + else if (nodeName === "link") { + for (var sIndex = 0; sIndex < ruleContext.ownerDocument.styleSheets.length; sIndex++) { + var sheet = ruleContext.ownerDocument.styleSheets[sIndex]; + if (sheet && sheet.ownerNode === ruleContext) { + try { + var rules = sheet.cssRules ? sheet.cssRules : sheet.rules; + if (rules) { + for (var rIndex = 0; passed && rIndex < rules.length; rIndex++) { + var ruleFromLink = rules[rIndex]; + // check rules + if (ruleFromLink.type && ruleFromLink.type === 1 /* CSSRule.STYLE_RULE */) { + if (ruleFromLink.style['fontSize']) { + var fontSize = ruleFromLink.style['fontSize'].trim(); + var found = fontSize.match(thePattern); + if (fontSize.length && found) { + passed = false; + } + } + } + } + } + } + catch (e) { + // Ignore css access issues + } + } + } + } + else { + var styleValue = ruleContext.getAttribute('style'); + if (styleValue) { + var stylePattern = /font-size:\s*\d+(vw|vh|vmin|vmax)/gi; + var found = styleValue.match(stylePattern); + if (found) { + passed = false; + } + } + } + return passed ? (0, IRule_1.RulePass)("Pass_0") : (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 5390: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.svg_graphics_labelled = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AccNameUtil_1 = __webpack_require__(1421); +var VisUtil_1 = __webpack_require__(8656); +exports.svg_graphics_labelled = { + id: "svg_graphics_labelled", + context: "dom:svg", + help: { + "en-US": { + "group": "svg_graphics_labelled.html", + "pass": "svg_graphics_labelled.html", + "fail_acc_name": "svg_graphics_labelled.html" + } + }, + messages: { + "en-US": { + "group": "A non-decorative SVG element must have an accessible name", + "pass": "The SVG element has an accessible name", + "fail_acc_name": "The SVG element has no accessible name" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [{ + "7d6734": { + "pass": "pass", + "fail_acc_name": "fail" + } + }], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext) || VisUtil_1.VisUtil.isNodePresentational(ruleContext)) + return null; + var name_pair = AccNameUtil_1.AccNameUtil.computeAccessibleName(ruleContext); + if (name_pair && name_pair.name && name_pair.name.trim().length > 0) + return (0, IRule_1.RulePass)("pass"); + return (0, IRule_1.RuleFail)("fail_acc_name"); + } +}; + + +/***/ }), + +/***/ 7196: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.table_aria_descendants = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +exports.table_aria_descendants = { + id: "table_aria_descendants", + context: "aria:table dom:tr[role], aria:table dom:th[role], aria:table dom:td[role], aria:grid dom:tr[role], aria:grid dom:th[role], aria:grid dom:td[role], aria:treegrid dom:tr[role], aria:treegrid dom:th[role], aria:treegrid dom:td[role]", + help: { + "en-US": { + "group": "table_aria_descendants.html", + "explicit_role": "table_aria_descendants.html" + } + }, + messages: { + "en-US": { + "group": "Table structure elements cannot specify an explicit 'role' within table containers", + "explicit_role": "An explicit ARIA 'role' is not valid for <{0}> element within an ARIA role '{1}' per the ARIA in HTML specification" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["4.1.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var parentRole = CommonUtil_1.CommonUtil.isTableDescendant(contextHierarchies); + // cache the result + if (parentRole === null || parentRole.length === 0) + return; + return (0, IRule_1.RuleFail)("explicit_role", [context["dom"].node.nodeName.toLowerCase(), parentRole[0].role]); + } +}; + + +/***/ }), + +/***/ 9965: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.table_caption_empty = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +exports.table_caption_empty = { + id: "table_caption_empty", + context: "dom:caption", + refactor: { + "Valerie_Caption_HasContent": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "Pass_0": "table_caption_empty.html", + "Fail_1": "table_caption_empty.html", + "group": "table_caption_empty.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "The <table> element has an empty <caption> element", + "group": "A <caption> element for a <table> element must contain descriptive text" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = CommonUtil_1.CommonUtil.hasInnerContentHidden(ruleContext); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 4468: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.table_caption_nested = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +exports.table_caption_nested = { + id: "table_caption_nested", + context: "dom:caption", + refactor: { + "Valerie_Caption_InTable": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "Pass_0": "table_caption_nested.html", + "Fail_1": "table_caption_nested.html", + "group": "table_caption_nested.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "<caption> element is not nested inside a <table> element", + "group": "The <caption> element must be nested inside the associated <table> element" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var passed = CommonUtil_1.CommonUtil.getAncestor(ruleContext, "table") != null; + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 4451: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.table_headers_exists = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var TableUtil_1 = __webpack_require__(5755); +exports.table_headers_exists = { + id: "table_headers_exists", + context: "dom:table", + refactor: { + "RPT_Table_DataHeadingsAria": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "Pass_0": "table_headers_exists.html", + "Fail_1": "table_headers_exists.html", + "group": "table_headers_exists.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Table has no headers identified", + "group": "Data table must identify headers" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // If this is a layout table or there are no rows, the rule does not apply. + var rows = ruleContext.rows; + if (!TableUtil_1.TableUtil.isDataTable(ruleContext) || rows === null || rows.length === 0) + return null; + var passed = TableUtil_1.TableUtil.tableHeaderExists(ruleContext); + if (passed === null) + return; + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 6087: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.table_headers_ref_valid = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var DOMUtil_1 = __webpack_require__(295); +var VisUtil_1 = __webpack_require__(8656); +var ARIAMapper_1 = __webpack_require__(4944); +exports.table_headers_ref_valid = { + id: "table_headers_ref_valid", + context: "dom:td[headers], dom:th[headers]", + help: { + "en-US": { + "Pass_0": "table_headers_ref_valid.html", + "Fail_1": "table_headers_ref_valid.html", + "Fail_2": "table_headers_ref_valid.html", + "Fail_3": "table_headers_ref_valid.html", + "Fail_4": "table_headers_ref_valid.html", + "group": "table_headers_ref_valid.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "The 'headers' attribute value \"{0}\" does not reference a valid 'id' in this document", + "Fail_2": "The 'headers' attribute value \"{0}\" refers to itself", + "Fail_3": "The 'headers' attribute value \"{0}\" does not refer to a cell in the same table", + "Fail_4": "The 'headers' attribute value \"{0}\" does not refer to a cell indicated with <th> or a role of \"columnheader\" or \"rowheader\"", + "group": "The 'headers' attribute should refer to a valid cell in the same table" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: ["a25f45"], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var parentTable = CommonUtil_1.CommonUtil.getAncestor(ruleContext, "table"); + var parentRole = ARIAMapper_1.ARIAMapper.nodeToRole(parentTable); + // If this is a layout table or a simple table the rule does not apply. + if (parentTable == null || !VisUtil_1.VisUtil.isNodeVisible(parentTable) || !["table", "grid"].includes(parentRole)) + return null; + var nodeName = ruleContext.nodeName.toLowerCase(); + var doc = ruleContext.ownerDocument; + var value = ruleContext.getAttribute("headers"); + if (!value) + return null; + var ids = value.split(" "); + var invalidHeaderValues = []; + var sameNodeHeaderValues = []; + var sameTableHeaderValues = []; + var invalidElemHeaderValues = []; + for (var i = 0; i < ids.length; i++) { + var id = ids[i]; + if (id.trim() === '') + continue; + var elem = doc.getElementById(id); + if (!elem) + invalidHeaderValues.push(id); + else if (DOMUtil_1.DOMUtil.sameNode(elem, ruleContext)) + sameNodeHeaderValues.push(id); + else if (!DOMUtil_1.DOMUtil.isInSameTable(elem, ruleContext)) + sameTableHeaderValues.push(id); + else { + var elemName = elem.nodeName.toLowerCase(); + if (elemName !== 'th') { + var roles = AriaUtil_1.AriaUtil.getRoles(elem, true); + if (!roles.includes('columnheader') && !roles.includes('rowheader')) + invalidElemHeaderValues.push(id); + } + } + } + var results = []; + if (invalidHeaderValues.length != 0) + results.push((0, IRule_1.RuleFail)("Fail_1", [invalidHeaderValues.toString()])); + if (sameNodeHeaderValues.length != 0) + results.push((0, IRule_1.RuleFail)("Fail_2", [sameNodeHeaderValues.toString()])); + if (sameTableHeaderValues.length != 0) + results.push((0, IRule_1.RuleFail)("Fail_3", [sameTableHeaderValues.toString()])); + if (invalidElemHeaderValues.length != 0) + results.push((0, IRule_1.RuleFail)("Fail_4", [invalidElemHeaderValues.toString()])); + if (results.length == 0) { + return (0, IRule_1.RulePass)("Pass_0"); + } + else { + return results; + } + } +}; + + +/***/ }), + +/***/ 5864: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.table_headers_related = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +var CacheUtil_1 = __webpack_require__(7788); +var TableUtil_1 = __webpack_require__(5755); +exports.table_headers_related = { + 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": "table_headers_related.html", + "Fail_1": "table_headers_related.html", + "group": "table_headers_related.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Complex table does not have headers for each cell properly defined with 'header' or 'scope'", + "group": "For a complex data table, all <th> and <td> elements must be related via 'header' or 'scope' attributes" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var parentTable = CommonUtil_1.CommonUtil.getAncestor(ruleContext, "table"); + // If this is a layout table or a simple table the rule does not apply. + if (parentTable == null || !TableUtil_1.TableUtil.isComplexDataTable(parentTable)) + return null; + // If this table hasn't been preprocessed, process it. + if (CacheUtil_1.CacheUtil.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. + var grid = []; + for (var i = 0; i < parentTable.rows.length; ++i) { + var row = parentTable.rows[i]; + if (!grid[i]) + grid[i] = []; + for (var j = 0; j < row.cells.length; ++j) { + var cell = row.cells[j]; + CacheUtil_1.CacheUtil.setCache(cell, "table_headers_related", i + ":" + j); + var width = parseInt(cell.getAttribute("colspan")); + if (!width) + width = 1; + var height = parseInt(cell.getAttribute("rowspan")); + if (!height) + height = 1; + var gX = 0; + while (grid[i][gX]) + gX += 1; + for (var k = 0; k < height; ++k) { + if (!grid[i + k]) + grid[i + k] = []; + for (var l = 0; l < width; ++l) { + grid[i + k][gX + l] = cell; + } + } + } + } + // Iterate through the table grid and record headers that point to cells and + // cells that are pointed to by headers + var doc = ruleContext.ownerDocument; + var lookup = {}; + var scopedCols = {}; + for (var i = 0; i < grid.length; ++i) { + var rowScoped = false; + for (var j = 0; j < grid[i].length; ++j) { + var gridCell = grid[i][j]; + var gridNodeName = gridCell.nodeName.toLowerCase(); + if (gridNodeName == "th") { + if (gridCell.getAttribute("scope") == "row") { + rowScoped = true; + // If there's an axis attribute, it must be referred to by headers, + // scope is not enough. + if (!CommonUtil_1.CommonUtil.attributeNonEmpty(gridCell, "axis")) + lookup[CacheUtil_1.CacheUtil.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 (!CommonUtil_1.CommonUtil.attributeNonEmpty(gridCell, "axis")) + lookup[CacheUtil_1.CacheUtil.getCache(gridCell, "table_headers_related", null)] = true; + } + // Headers can refer to other headers + if (CommonUtil_1.CommonUtil.attributeNonEmpty(gridCell, "headers")) { + var hdrs = gridCell.getAttribute("headers").split(" "); + for (var k = 0; k < hdrs.length; ++k) { + var headElem = doc.getElementById(hdrs[k].trim()); + if (headElem && CommonUtil_1.CommonUtil.getAncestor(headElem, "table") == parentTable) { + lookup[CacheUtil_1.CacheUtil.getCache(headElem, "table_headers_related", null)] = true; + } + } + } + } + else if (gridNodeName == "td") { + if (rowScoped || scopedCols[j]) { + lookup[CacheUtil_1.CacheUtil.getCache(gridCell, "table_headers_related", null)] = true; + } + else if (CommonUtil_1.CommonUtil.attributeNonEmpty(gridCell, "headers")) { + var hdrs = gridCell.getAttribute("headers").split(" "); + for (var k = 0; k < hdrs.length; ++k) { + var headElem = doc.getElementById(hdrs[k].trim()); + if (headElem && CommonUtil_1.CommonUtil.getAncestor(headElem, "table") == parentTable) { + lookup[CacheUtil_1.CacheUtil.getCache(gridCell, "table_headers_related", null)] = true; + lookup[CacheUtil_1.CacheUtil.getCache(headElem, "table_headers_related", null)] = true; + } + } + } + } + } + } + CacheUtil_1.CacheUtil.setCache(parentTable, "table_headers_related", lookup); + } + var rcInfo = CacheUtil_1.CacheUtil.getCache(ruleContext, "table_headers_related", null); + var tInfo = CacheUtil_1.CacheUtil.getCache(parentTable, "table_headers_related", null); + var passed = rcInfo && tInfo && rcInfo in tInfo; + if (!passed && rcInfo === "0:0" && + CommonUtil_1.CommonUtil.getInnerText(ruleContext).trim().length == 0) { + // We don't test if it's the upper-left cell and it's empty + return null; + } + // If the table has no th's, it may just be that this was supposed to be a layout + // 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 (CacheUtil_1.CacheUtil.getCache(parentTable, "table_headers_related_TrigOnce", false) === true) { + passed = true; + } + else { + CacheUtil_1.CacheUtil.setCache(parentTable, "table_headers_related_TrigOnce", true); + } + } + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 4066: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.table_layout_linearized = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var VisUtil_1 = __webpack_require__(8656); +var TableUtil_1 = __webpack_require__(5755); +exports.table_layout_linearized = { + id: "table_layout_linearized", + context: "dom:table", + refactor: { + "RPT_Table_LayoutTrigger": { + "Pass_0": "Pass_0", + "Potential_1": "Potential_1" + } + }, + help: { + "en-US": { + "Pass_0": "table_layout_linearized.html", + "Potential_1": "table_layout_linearized.html", + "group": "table_layout_linearized.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "Verify table is not being used to format text content in columns unless the table can be linearized", + "group": "Avoid using tables to format text documents in columns unless the table can be linearized" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.RECOMMENDATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_FOUR + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + var passed = !TableUtil_1.TableUtil.isLayoutTable(ruleContext); + if (passed) + return (0, IRule_1.RulePass)("Pass_0"); + if (!passed) + return (0, IRule_1.RulePotential)("Potential_1"); + } +}; + + +/***/ }), + +/***/ 2841: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.table_scope_valid = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +exports.table_scope_valid = { + 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": "table_scope_valid.html", + "Fail_1": "table_scope_valid.html", + "Fail_2": "table_scope_valid.html", + "group": "table_scope_valid.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "Value provided is invalid for the 'scope' attribute", + "Fail_2": "The 'scope' attribute should only be used on a <th> element", + "group": "Value for 'scope' attribute must be \"row\", \"col\", \"rowgroup\", or \"colgroup\"" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var nodeName = ruleContext.nodeName.toLowerCase(); + if (nodeName === 'td') + return (0, IRule_1.RuleFail)("Fail_2"); + //only continue for 'th' + var scopeVal = ruleContext.getAttribute("scope").trim().toLowerCase(); + var passed = /^(row|col|rowgroup|colgroup)$/.test(scopeVal); + if (!passed) { + return (0, IRule_1.RuleFail)("Fail_1"); + } + else { + return (0, IRule_1.RulePass)("Pass_0"); + } + } +}; + + +/***/ }), + +/***/ 272: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.table_structure_misuse = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var VisUtil_1 = __webpack_require__(8656); +var TableUtil_1 = __webpack_require__(5755); +exports.table_structure_misuse = { + id: "table_structure_misuse", + context: "dom:table", + refactor: { + "WCAG20_Table_Structure": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "Pass_0": "table_structure_misuse.html", + "Fail_1": "table_structure_misuse.html", + "group": "table_structure_misuse.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "The <{0}> element with \"presentation\" role or \"none\" role has structural element(s) and/or attribute(s) '{1}'", + "group": "Table elements with 'role=\"presentation\" or 'role=\"none\" should not have structural elements or attributes" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the rule + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext)) + return null; + // JCH - OUT OF SCOPE hidden in context + if (TableUtil_1.TableUtil.isDataTable(ruleContext)) + return null; + if (AriaUtil_1.AriaUtil.isNodeInGrid(ruleContext)) + return null; + var errorNodes = []; + if (CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "summary")) + errorNodes.push(ruleContext); + var captionElems = ruleContext.getElementsByTagName("caption"); + for (var i = 0; i < captionElems.length; ++i) { + if (CommonUtil_1.CommonUtil.getAncestor(captionElems[i], "table") == ruleContext) { + // Check if the node should be skipped or not based on the Check Hidden Content setting and if the node isVisible or + // not. + if (CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(captionElems[i])) { + continue; + } + // Add the node to the errorNodes + errorNodes.push(captionElems[i]); + // Since we are not actually making use of theses errorNodes even though they are passed along with + // ValidationResult, we do not need to keep looping over and getting every single violating node under + // the rule context. This can be a future enhancenment where we actually make use of the error nodes that + // are passed along. Adding this break to speed up performance at this point. + break; // There is no point to keep adding the error nodes, stop after finding the first one + } + } + var thNodes = ruleContext.getElementsByTagName("th"); + for (var i = 0; i < thNodes.length; ++i) { + if (CommonUtil_1.CommonUtil.getAncestor(thNodes[i], "table") == ruleContext) { + // Check if the node should be skipped or not based on the Check Hidden Content setting and if the node isVisible or + // not. + if (CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(thNodes[i])) { + continue; + } + // Add the node to the errorNodes + errorNodes.push(thNodes[i]); + // Since we are not actually making use of theses errorNodes even though they are passed along with + // ValidationResult, we do not need to keep looping over and getting every single violating node under + // the rule context. This can be a future enhancenment where we actually make use of the error nodes that + // are passed along. Adding this break to speed up performance at this point. + break; // There is no point to keep adding the error nodes, stop after finding the first one + } + } + var tdNodes = ruleContext.getElementsByTagName("td"); + for (var i = 0; i < tdNodes.length; ++i) { + if ((tdNodes[i].hasAttribute("scope") || tdNodes[i].hasAttribute("headers")) && + CommonUtil_1.CommonUtil.getAncestor(tdNodes[i], "table") == ruleContext) { + // Check if the node should be skipped or not based on the Check Hidden Content setting and if the node isVisible or + // not. + if (CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(tdNodes[i])) { + continue; + } + // Add the node to the errorNodes + errorNodes.push(tdNodes[i]); + // Since we are not actually making use of theses errorNodes even though they are passed along with + // ValidationResult, we do not need to keep looping over and getting every single violating node under + // the rule context. This can be a future enhancenment where we actually make use of the error nodes that + // are passed along. Adding this break to speed up performance at this point. + break; // There is no point to keep adding the error nodes, stop after finding the first one + } + } + // Get the node name for the rule context element in this case it will always be table + var currentElementToken = ruleContext.nodeName.toLowerCase(); + // Construct a new array which will contan only the element tag for the violation elements + var structuralElementTokens = new Array(); + // Construct a seen hash that will keep trask of all the elements that were already added to the token array, to make sure + // we do not duplicate any of the elements. Duplicate element tags in the token message looks bad and confusing. + var seen = {}; + // Loop through all the violating structural elements and extract the element tag to be used as a token + for (var i = 0; i < errorNodes.length; i++) { + // Get the node name (tag name) for the violating structural element + var nodeName = errorNodes[i].nodeName.toLowerCase(); + // Only need to add the violating element once + if (!seen.hasOwnProperty(nodeName)) { + // Since we are adding the token as elements and attributes we need to handle + // the summary attribute on the ruleContext (table). We only add summary once, same as + // for elements to avoid duplication in the message. (Summary should not duplicate, but just in case) + if (nodeName == "table" && !seen.hasOwnProperty["summary"]) { + // Mark this as a new attribute + seen["summary"] = true; + // Since this is a new violating element add it to the structural element tokens array + structuralElementTokens.push("summary"); + } + else { + // Mark this as a new element + seen[nodeName] = true; + // Since this is a new violating element add it to the structural element tokens array + structuralElementTokens.push(nodeName); + } + } + } + // We need to take the array of structural elements and join them with a comma and a space to make grammatical correct in + // the message. + var structuralElementTokensStr = structuralElementTokens.join(", "); + //return new ValidationResult(errorNodes.length == 0, errorNodes, '', '', [currentElementToken, structuralElementTokens]); + if (errorNodes.length == 0) { + return (0, IRule_1.RulePass)("Pass_0"); + } + else { + return (0, IRule_1.RuleFail)("Fail_1", [currentElementToken, structuralElementTokensStr]); + } + } +}; + + +/***/ }), + +/***/ 1348: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.table_summary_redundant = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +var fragment_1 = __webpack_require__(482); +var DOMUtil_1 = __webpack_require__(295); +exports.table_summary_redundant = { + id: "table_summary_redundant", + context: "dom:table", + refactor: { + "WCAG20_Table_CapSummRedundant": { + "Pass_0": "Pass_0", + "Fail_1": "Fail_1" + } + }, + help: { + "en-US": { + "Pass_0": "table_summary_redundant.html", + "Fail_1": "table_summary_redundant.html", + "group": "table_summary_redundant.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Fail_1": "The table summary duplicates the caption", + "group": "The table summary must not duplicate the caption" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var pofId; + var passed = true; + var sumStr; + if (ruleContext.hasAttribute("summary")) { + pofId = 0; + sumStr = ruleContext.getAttribute("summary").trim().toLowerCase(); + } + else if (ruleContext.hasAttribute("aria-describedby")) { + pofId = 1; + var summaryNodeIds = ruleContext.getAttribute("aria-describedby").split(" "); + var summaryNodeConcat = ""; + for (var i = 0; i < summaryNodeIds.length; i++) { + var summaryNodeId = summaryNodeIds[i]; + if (summaryNodeId) { + var summaryNode = fragment_1.FragmentUtil.getById(ruleContext, summaryNodeId); + if (summaryNode && !DOMUtil_1.DOMUtil.sameNode(summaryNode, ruleContext)) { + summaryNodeConcat += " " + CommonUtil_1.CommonUtil.getInnerText(summaryNode).trim().toLowerCase(); + } + } + } + sumStr = summaryNodeConcat; + } + if (!sumStr) { + return null; + } + else { + var capElems = ruleContext.getElementsByTagName("caption"); + if (capElems.length === 0) { + return null; + } + else if (sumStr.length > 0) { + var capStr = CommonUtil_1.CommonUtil.getInnerText(capElems[0]).trim().toLowerCase(); + if (!sumStr.includes(capStr)) { + return (0, IRule_1.RulePass)("Pass_0"); + } + else { + return (0, IRule_1.RuleFail)("Fail_1"); + } + } + } + } +}; + + +/***/ }), + +/***/ 6215: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.target_spacing_sufficient = void 0; +var CommonUtil_1 = __webpack_require__(8137); +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var DOMMapper_1 = __webpack_require__(5697); +var CSSUtil_1 = __webpack_require__(1775); +exports.target_spacing_sufficient = { + id: "target_spacing_sufficient", + context: "dom:*", + dependencies: [], + help: { + "en-US": { + "group": "target_spacing_sufficient.html", + "pass_spacing": "target_spacing_sufficient.html", + "pass_sized": "target_spacing_sufficient.html", + "pass_inline": "target_spacing_sufficient.html", + "pass_default": "target_spacing_sufficient.html", + "violation_spacing": "target_spacing_sufficient.html", + "recommendation_inline": "target_spacing_sufficient.html", + "potential_overlap": "target_spacing_sufficient.html" + } + }, + messages: { + "en-US": { + "group": "The target must be sufficiently sized or spaced from other targets", + "pass_spacing": "The target's spacing from other targets is sufficient", + "pass_sized": "The target’s size is more than 24 CSS pixels", + "pass_inline": "The target is in a sentence or its size is otherwise constrained by the line-height of non-target text", + "pass_default": "The target's size is determined by the user agent and is not modified by the author", + "violation_spacing": "Undersized target \"{0}\" does not have sufficient spacing of 12 CSS pixels from another target \"{1}\"", + "recommendation_inline": "Confirm the inline target \"{0}\" is sufficiently spaced from another inline target \"{1}\"", + "potential_overlap": "Ensure the overlapped target \"{0}\" meets a minimum target size or has sufficient spacing from the overlapping target \"{1}\"" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_2"], + num: ["2.5.8"], + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_THREE, + reasonCodes: ["pass_spacing", "pass_sized", "pass_inline", "pass_default", "violation_spacing", "potential_overlap"] + }, + { + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_2"], + num: ["2.5.8"], + level: IRule_2.eRulePolicy.RECOMMENDATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_THREE, + reasonCodes: ["recommendation_inline"] + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var nodeName = ruleContext.nodeName.toLocaleLowerCase(); + var mapper = new DOMMapper_1.DOMMapper(); + var bounds = mapper.getUnadjustedBounds(ruleContext); //context["dom"].bounds; + if (!bounds) + return null; + // ignore hidden, non-target + if (!CommonUtil_1.CommonUtil.isTarget(ruleContext)) + return null; + if (bounds.height >= 24 && bounds.width >= 24) + return (0, IRule_1.RulePass)("pass_sized"); + // check inline element: without text in the same line + var status = CSSUtil_1.CSSUtil.getInlineStatus(ruleContext); + if (status === null) + return null; + if (status.inline) { + if (status.text) { + if (status.violation === null) + return (0, IRule_1.RulePass)("pass_inline"); + else + // case 1: inline element is too close horizontally + return (0, IRule_1.RulePotential)("recommendation_inline", [nodeName, status.violation]); + } + else { + if (status.violation === null) + return (0, IRule_1.RulePass)("pass_default"); + else + // case 1: inline element is too close horizontally + return (0, IRule_1.RulePotential)("recommendation_inline", [nodeName, status.violation]); + } + } + else { + // ignore browser default + if (CSSUtil_1.CSSUtil.isTargetBrowserDefault(ruleContext)) + return (0, IRule_1.RulePass)("pass_default"); + } + var doc = ruleContext.ownerDocument; + if (!doc) { + return null; + } + var cStyle = getComputedStyle(ruleContext); + if (cStyle === null) + return null; + var zindex = cStyle.zIndex; + if (!zindex || isNaN(Number(zindex))) + zindex = "0"; + //select all elements except itself and descendants + var elems = doc.querySelectorAll('body *:not(script):not(style)'); + if (!elems || elems.length === 0) + return; + var before = true; + var minX = 24; + var minY = 24; + var adjacentX = null; + var adjacentY = null; + var checked = []; //contains a list of elements that have been checked so their descendants don't need to be checked again + var _loop_1 = function (i) { + var elem = elems[i]; + /** + * the nodes returned from querySelectorAll is in document order + * if two elements overlap and z-index are not defined, then the node rendered earlier will be overlaid by the node rendered later + * filter out the elements that’re descendant or ancestors of the target element, nor descendant of the target element's siblings + */ + if (ruleContext.contains(elem)) { + //the next node in elems will be after the target node (ruleContext). + before = false; + return "continue"; + } + // ignore ascendants of the element, not a target, or itself or its ascendant already checked + if (elem.contains(ruleContext) || !CommonUtil_1.CommonUtil.isTarget(elem) + || checked.some(function (item) { return item.contains(elem); })) + return "continue"; + var bnds = mapper.getUnadjustedBounds(elem); + if (!bnds) + return "continue"; + zStyle = getComputedStyle(elem); + var z_index = '0'; + if (zStyle) { + z_index = zStyle.zIndex; + if (!z_index || isNaN(Number(z_index))) + z_index = "0"; + } + // case 2: the element overlaps the target entirely + // note when a link is inline with other target, if the link text wraps in another line in a given viewport, + // the bounds of the link may cover and the entire two lines, causing the other tagets to be overlapped, see two links in the test case: element_inline.html + if (bnds.top <= bounds.top && bnds.left <= bounds.left && bnds.top + bnds.height >= bounds.top + bounds.height + && bnds.left + bnds.width >= bounds.left + bounds.width) { + // if the target on top + if (before ? parseInt(zindex) < parseInt(z_index) : parseInt(zindex) <= parseInt(z_index)) { + return { value: null }; + } + else + return { value: (0, IRule_1.RulePotential)("potential_overlap", [nodeName, elem.nodeName.toLowerCase()]) }; + } + // case 3: if the target overlaps the element entirely + if (bounds.top <= bnds.top && bounds.left <= bnds.left && bounds.top + bounds.height >= bnds.top + bnds.height + && bounds.left + bounds.width >= bnds.left + bnds.width) { + // if the element on top + if (before ? parseInt(zindex) < parseInt(z_index) : parseInt(zindex) <= parseInt(z_index)) { + return { value: (0, IRule_1.RulePotential)("potential_overlap", [nodeName, elem.nodeName.toLowerCase()]) }; + } + else // the target on top + return { value: (0, IRule_1.RuleFail)("violation_spacing", [nodeName, elem.nodeName.toLowerCase()]) }; + } + // case 4: the element overlaps partially with the target + if ((((bounds.top >= bnds.top && bounds.top <= bnds.top + bnds.height) || (bounds.top + bounds.height <= bnds.top && bounds.top + bounds.height >= bnds.top + bnds.height)) + && ((bounds.left > bnds.left && bounds.left < bnds.left + bnds.width) || (bnds.left > bounds.left && bnds.left < bounds.left + bounds.width))) + || (((bounds.top > bnds.top && bounds.top < bnds.top + bnds.height) || (bnds.top > bounds.top && bnds.top < bounds.top + bounds.height)) + && ((bounds.left >= bnds.left && bounds.left <= bnds.left + bnds.width) || (bounds.left + bounds.width >= bnds.left && bounds.left + bounds.width <= bnds.left + bnds.width)))) { + return { value: (0, IRule_1.RulePotential)("potential_overlap", [nodeName, elem.nodeName.toLowerCase()]) }; + } + else { // no overlap with the elem, though may overlap withe other elements + var disX = 24; + var disY = 24; + // the element is in the horizontally same row with the target + if (bounds.width < 24 && ((bounds.top >= bnds.top && bounds.top <= bnds.top + bnds.height) || (bounds.top <= bnds.top && bounds.top + bounds.height > bnds.top))) + disX = Math.min(Math.abs(bounds.left - bnds.left), Math.abs(bounds.left - (bnds.left + bnds.width)), Math.abs(bounds.left + bounds.width - (bnds.left + bnds.width)), Math.abs(bounds.left + bounds.width - bnds.left)); + // the element is in the vertically same column with the target + if (bounds.height < 24 && ((bounds.left >= bnds.left && bounds.left <= bnds.left + bnds.width) || (bounds.left <= bnds.left && bounds.left + bounds.width > bnds.left))) + disY = Math.min(Math.abs(bounds.top - bnds.top), Math.abs(bounds.top - (bnds.top + bnds.height)), Math.abs(bounds.top + bounds.height - (bnds.top + bnds.height)), Math.abs(bounds.top + bounds.height - bnds.top)); + if (disX < minX) { + minX = disX; + adjacentX = elem; + } + if (disY < minY) { + minY = disY; + adjacentY = elem; + } + } + checked.push(elem); + }; + var zStyle; + for (var i = 0; i < elems.length; i++) { + var state_1 = _loop_1(i); + if (typeof state_1 === "object") + return state_1.value; + } + // case 5: no overlap + insufficient target size. check spacing + if (Math.round(bounds.width / 2) + minX < 12 || Math.round(bounds.height / 2) + minY < 12) { + if (Math.round(bounds.width / 2) + minX < Math.round(bounds.height / 2) + minY) + return (0, IRule_1.RuleFail)("violation_spacing", [nodeName, adjacentX.nodeName.toLowerCase()]); + return (0, IRule_1.RuleFail)("violation_spacing", [nodeName, adjacentY.nodeName.toLowerCase()]); + } + else + return (0, IRule_1.RulePass)("pass_spacing"); + } +}; + + +/***/ }), + +/***/ 5275: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.text_block_heading = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var DOMWalker_1 = __webpack_require__(7440); +var CSSUtil_1 = __webpack_require__(1775); +var VisUtil_1 = __webpack_require__(8656); +exports.text_block_heading = { + id: "text_block_heading", + context: "dom:p, dom:div, dom:br", + refactor: { + "RPT_Block_ShouldBeHeading": { + // "Pass_0": "pass", + "Potential_1": "potential_heading" + } + }, + help: { + "en-US": { + // "pass": "text_block_heading.html", + "potential_heading": "text_block_heading.html", + "group": "text_block_heading.html" + } + }, + messages: { + "en-US": { + // "pass": "Heading text uses a heading element or role", + "potential_heading": "Confirm this text '{0}' is used as a heading and if so, modify to use a heading element or role", + "group": "Heading text should use a heading element or role" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the check if the element is hidden or disabled + if (CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext) || !VisUtil_1.VisUtil.isNodeVisible(ruleContext)) + return null; + // Don't trigger if we're not in the body or if we're in a script + if (CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["body"]) === null || CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["script"]) !== null) + return null; + var validateParams = { + numWords: { + value: 10, + type: "integer" + } + }; + var bodyFont = 0; + var body = ruleContext.ownerDocument.getElementsByTagName("body"); + if (body != null) { + var bodyStyle = getComputedStyle(body[0]); + if (bodyStyle) + bodyFont = CSSUtil_1.CSSUtil.getPixelsFromStyle(bodyStyle['font-size'], body); + } + var numWords = validateParams.numWords.value; + var wordsSeen = 0; + var wordStr = []; + var emphasizedText = false; + //let nw = new NodeWalker(ruleContext); + var nw = new DOMWalker_1.DOMWalker(ruleContext); + nw.nextNode(); + var passed = false; + while (!passed && + nw.nextNode() && + nw.node !== ruleContext && + nw.node !== DOMWalker_1.DOMWalker.parentNode(ruleContext) && + !["br", "div", "p"].includes(nw.node.nodeName.toLowerCase())) // Don't report twice + { + if (nw.node === ruleContext || CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(nw.node)) + continue; + var nwName = nw.node.nodeName.toLowerCase(); + if (nw.node.nodeType === 3) { + // for text child + if (nw.node.nodeValue.trim().length > 0 && nw.node.parentElement) { + // check it's style if the target element contains text, e.g., <p> fake heading</p> + var style = getComputedStyle(nw.node.parentElement); + if (style && (style['font-weight'] === 'bold' || style['font-weight'] >= 700 + || (style['font-size'] && style['font-size'].includes("large")) + || (style['font-size'] && bodyFont !== 0 && CSSUtil_1.CSSUtil.getPixelsFromStyle(style['font-size'], nw.node.parentElement) > bodyFont))) { + var nextStr = nw.node.nodeValue.trim(); + var wc = CommonUtil_1.CommonUtil.wordCount(nextStr); + if (wc > 0) { + wordStr.push(nextStr); + emphasizedText = true; + wordsSeen += wc; + } + passed = wordsSeen > numWords; + // Skip this node because it's emphasized + nw.bEndTag = true; + } + else { + // the node contain regular text + passed = true; + } + } + } + else if (nw.node.nodeType === 1) { + // for element child + if (nwName === "b" || nwName === "strong" || nwName === "u" || nwName === "font") { + // if the target element contains emphasis child, e.g., <p><strong>fake heading</strong></p> + var nextStr = CommonUtil_1.CommonUtil.getInnerText(nw.node); + var wc = CommonUtil_1.CommonUtil.wordCount(nextStr); + if (wc > 0) { + wordStr.push(nextStr); + emphasizedText = true; + wordsSeen += wc; + } + passed = wordsSeen > numWords; + // Skip this node because it's emphasized + nw.bEndTag = true; + } + else { + // ignore the element which has a role except 'generic', 'paragraph' or 'strong' + // ignore applet element that is deprecated anyway + var role = AriaUtil_1.AriaUtil.getResolvedRole(nw.node); + passed = (role !== null && role !== 'generic' && role !== 'paragraph' && role !== 'strong') || nwName === "applet"; + } + } + } + if (wordsSeen == 0) + passed = true; + //ignore if the string ends with “:” “,” “-” “;” or “.” + if (!passed) + passed = /[:,;\-\.]$/.test(wordStr.join(" ").trim()); + if (passed) { + return null; + } + else { + return (0, IRule_1.RulePotential)("potential_heading", [wordStr.join(" ")]); + } + } +}; + + +/***/ }), + +/***/ 7900: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.text_contrast_sufficient = void 0; +var CommonUtil_1 = __webpack_require__(8137); +var VisUtil_1 = __webpack_require__(8656); +var ColorUtil_1 = __webpack_require__(8680); +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CSSUtil_1 = __webpack_require__(1775); +exports.text_contrast_sufficient = { + id: "text_contrast_sufficient", + context: "dom:*", + refactor: { + "IBMA_Color_Contrast_WCAG2AA": { + "Pass_0": "pass", + "Fail_1": "fail_contrast", + "Potential_1": "potential_same_color" + }, + "IBMA_Color_Contrast_WCAG2AA_PV": { + "pass_0": "pass", + "potential_1": "potential_graphic_background" + } + }, + help: { + "en-US": { + "group": "text_contrast_sufficient.html", + "pass": "text_contrast_sufficient.html", + "fail_contrast": "text_contrast_sufficient.html", + "potential_same_color": "text_contrast_sufficient.html", + "potential_graphic_background": "text_contrast_sufficient.html", + "potential_text_shadow": "text_contrast_sufficient.html" + } + }, + messages: { + "en-US": { + "group": "The contrast ratio of text with its background must meet WCAG AA requirements", + "pass": "The contrast ratio of text with its background meets WCAG AA requirements", + "fail_contrast": "Text contrast of {0} with its background is less than the WCAG AA minimum requirements for text of size {1}px and weight of {2}", + "potential_same_color": "The foreground text and its background color are both detected as {3}. Verify the text meets the WCAG AA requirements for minimum contrast", + "potential_graphic_background": "Verify the contrast ratio of the text against the lightest and the darkest colors of the background meets the WCAG AA minimum requirements for text of size {1}px and weight of {2}", + "potential_text_shadow": "Verify the contrast ratio of the text with shadow meets the WCAG AA minimum requirements for text of size {1}px and weight of {2}" + } + }, + rulesets: [{ + id: ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_0", "WCAG_2_1", "WCAG_2_2"], + num: "1.4.3", + level: IRule_2.eRulePolicy.VIOLATION, + toolkitLevel: IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: ['afw4f7'], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var nodeName = ruleContext.nodeName.toLowerCase(); + // avoid diagnosing elements that are not visible + if (!VisUtil_1.VisUtil.isNodeVisible(ruleContext) || + (VisUtil_1.VisUtil.hiddenByDefaultElements != null && + VisUtil_1.VisUtil.hiddenByDefaultElements != undefined && + VisUtil_1.VisUtil.hiddenByDefaultElements.indexOf(nodeName) > -1)) { + return null; + } + //TODO ? should only consider native disabled, ignore aria-disabled + //skip disabled element + if (CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) + return null; + //skip elements + if (CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["svg", "script", "meta"])) + return null; + var doc = ruleContext.ownerDocument; + if (!doc) { + return null; + } + var win = doc.defaultView; + if (!win) { + return null; + } + // Ensure that this element has children with actual text. + var childStr = CommonUtil_1.CommonUtil.getNodeText(ruleContext); + if (!CommonUtil_1.CommonUtil.isShadowHostElement(ruleContext) || (CommonUtil_1.CommonUtil.isShadowHostElement(ruleContext) && CommonUtil_1.CommonUtil.getNodeText(ruleContext.shadowRoot) === '')) { + if (childStr.trim().length == 0) + return null; + // ignore if the text does not convey anything in human language + /** + * (1) ignore non-alphanumeric or special characters in ASCI: ^(a-zA-Z\d\s) + * (2) ignore non-printable unicode characters: \u0000-\u0008\u000B-\u001F\u007F-\u009F\u2000-\u200F\u2028-\u202F\u205F-\u206F\u3000\uFEFF + * see https://stackoverflow.com/questions/3770117/what-is-the-range-of-unicode-printable-characters + * (3) for now not consider unicode special characters that are different in different languages + */ + //let regex = /[^(a-zA-Z\d\s)\u0000-\u0008\u000B-\u001F\u007F-\u009F\u2000-\u200F\u2028-\u202F\u205F-\u206F\u3000\uFEFF]+/g; + var regex = /[^(a-zA-Z\d\s)\^(\u4e00-\u9fff\u3400-\u4dbf)\u0000-\u0008\u000B-\u001F\u007F-\u009F\u2000-\u200F\u2028-\u202F\u205F-\u206F\u3000\uFEFF]+/g; + childStr = childStr.trim().replace(regex, ''); + if (childStr.trim().length === 0) + return null; + } + var elem = ruleContext; + // the child elements (rather than shadow root) of a shadow host is either re-assigned to the shadow slot if the slot exists + // or not displayed, so shouldn't be checked from the light DOM, rather it should be checked as reassginged slot element(s) in the shadow DOM. + if (CommonUtil_1.CommonUtil.isShadowHostElement(ruleContext)) { + // if it's direct text of a shadow host + if (ruleContext.shadowRoot) { + for (var node = ruleContext.firstChild; node; node = node.nextSibling) { + if (node.nodeType == 3) { + //if multiple texts exist, only need to check one + elem = node.assignedSlot; + break; + } + } + } + if (elem === null) + return; + } + var style = win.getComputedStyle(elem); + // JCH clip INFO: + // The clip property lets you specify a rectangle to clip an absolutely positioned element. + // The rectangle specified as four coordinates, all from the top-left corner of the element to be clipped. + // Property values: + // none This is default. No clipping is done + // auto No clipping will be done + // shape The only valid value is: rect (top, right, bottom, left) + // e.g., clip: rect(10px, 20px, 30px, 40px); + // Note: the four values are in the same order as margin/padding + // The rect values are positive pixel values, e.g., 10px, etc. + // margin-box Uses the margin box as the reference box + // border-box Uses the border box as the reference box + // padding-box Uses the padding box as the reference box + // content-box + // fill-box + // stroke-box + // NOTE: the CSS clip property is deprecated + // Also: clip only works if the element is absolutely positioned and can only do rectangles + // check if element visible + var visible = true; + if (style.width !== "0" && + style.height !== "0" && + style.opacity !== "0" && + style.display !== 'none' && + style.visibility !== 'hidden' && + style.overflow !== 'hidden' && + // left and right work with all absolute units + (style.left === "auto" || (style.position === 'absolute' && parseInt(style.left.replace(/[^0-9.+-]/, '')) > 0)) && + (style.left === "auto" || (style.position === 'absolute' && parseInt(style.top.replace(/[^0-9.+-]/, '')) > 0))) { + visible = true; + // console.log("element IS visible"); + // console.log("CHECK COLOR CONTRAST unless to small"); + } + else { + visible = false; + // console.log("element NOT visible"); + } + if (visible === false) { + // console.log("DO NOT CHECK COLOR CONTRAST"); + return null; + } + var clipHeight = -1; + if (style.clip !== "auto") { + var clipString = style.clip.toString(); + if (clipString.includes("rect")) { + var reBrackets = /\((.*)\)/g; + var listOfText = []; + var found = reBrackets.exec(clipString); + var foundArr = found[1].split(', '); + for (var i = 0; i < foundArr.length; i++) { + // console.log("foundArr[",i,"] = ",foundArr[i]); + listOfText.push(foundArr[i]); + } + ; + } + // console.log("listOfText = ",listOfText); + clipHeight = parseInt(listOfText[0].replace(/px/g, '')) - parseInt(listOfText[2].replace(/px/g, '')); + clipHeight = Math.abs(clipHeight); + } + // JCH clip-path INFO: + // Excellent article on clip-path: https://ishadeed.com/article/clip-path/ + // clip-path is a totally different animal with many, many different variations + // The goal was for it to not be as limited as clip + // The syntax is more complicated (as it does more) and it is different from clip, + // e.g., the above clip rectangle would be clip-path: inset(10px 20px 30px 40px); + // Note: there are no commas + // Also, it can take single values to make all sides the same, or 2 values (vert/hori). + // or 3 values (top/hori/bottom) + // And percentages can works as well as px + // + // Although there are five different shapes: inset (term used for rectangle), circle, + // ellipse, polygon, path - we will only concern ourselves with inset + // There are 7 box values: margin-box, border-box, padding-box, content-box, fill-box, stroke-box, view-box + // Box and shape values may be combined: clip-path: padding-box circle(50px at 0 100px); + // NOTE: the box values are NOT intuitive, see: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Shapes/From_box_values#margin-box + // + // So the key question is what amount of effort do we want to invest into clip-path + // + // JCH don't do clip-path now + var clipPathHeight = -1; + // if (style.clipPath !== "auto") { + // console.log("style.clipPath = ",style.clipPath); + // console.log("style.clipPath.toString = ",style.clipPath.toString()); + // let clipString = style.clipPath.toString(); + // if (clipString.includes("inset")) { + // var reBrackets = /\((.*)\)/g; + // var listOfText = []; + // var found = reBrackets.exec(clipString); + // var foundArr = found[1].split(' '); + // for (let i=0; i<foundArr.length; i++) { + // console.log("foundArr[",i,"] = ",foundArr[i]); + // listOfText.push(foundArr[i]); + // }; + // } + // console.log("listOfText = ",listOfText); + // clipPathHeight = parseInt(listOfText[0].replace(/px/g, '')) - parseInt(listOfText[2].replace(/px/g, '')); + // clipPathHeight = Math.abs(clipHeight); + // } + // console.log("clipPathHeight = ", clipPathHeight); + // if (style.position === "absolute" && style.clip === "rect(0px, 0px, 0px, 0px)" && style.overflow !== "visible") { + // JCH arbitrarily use less that 7px for clipHeight + if (style.position === "absolute" && clipHeight < 7 && clipHeight !== -1) { + // console.log("DO NOT CHECK COLOR CONTRAST because too small"); + // Corner case where item is hidden (accessibility hiding technique) + return null; + } + // First determine the color contrast ratio + var colorCombo = ColorUtil_1.ColorUtil.ColorCombo(elem); + if (colorCombo === null) { + //some exception occurred, or not able to get color combo for some reason + console.log("unable to get color combo for element: " + elem.nodeName); + return; + } + var fg = colorCombo.fg; + var bg = colorCombo.bg; + var ratio = fg.contrastRatio(bg); + var weight = CSSUtil_1.CSSUtil.getWeightNumber(style.fontWeight); + var size = CSSUtil_1.CSSUtil.getFontInPixels(style.fontSize, elem); + var isLargeScale = size >= 24 || size >= 18.6 && weight >= 700; + if (CSSUtil_1.CSSUtil.containsCKJ(childStr)) { + // https://github.com/act-rules/act-rules.github.io/pull/2121/files + // for CJK, 22 pt or 18 pt with font-weight >= 700, 1pt = 1.333 px + isLargeScale = size >= 29.3 || size >= 24 && weight >= 700; + } + var passed = ratio >= 4.5 || (ratio >= 3 && isLargeScale); + var hasBackground = colorCombo.hasBGImage || colorCombo.hasGradient; + var textShadow = colorCombo.textShadow; + var isDisabled = CommonUtil_1.CommonUtil.isNodeDisabled(elem); + if (!isDisabled) { + var control = CommonUtil_1.CommonUtil.getControlOfLabel(elem); + if (control) { + isDisabled = CommonUtil_1.CommonUtil.isNodeDisabled(control); + } + } + if (!isDisabled && nodeName === 'label' && CommonUtil_1.CommonUtil.isDisabledByFirstChildFormElement(elem)) { + isDisabled = true; + } + if (!isDisabled && ruleContext.hasAttribute("id") && CommonUtil_1.CommonUtil.isDisabledByReferringElement(elem)) { + isDisabled = true; + } + /**setCache(ruleContext, "EXT_Color_Contrast_WCAG2AA", { + "ratio": ratio, + "isLargeScale": isLargeScale, + "weight": weight, + "size": size, + "hasBackground": hasBackground, + "isDisabled": isDisabled + });*/ + // If element or parent is disabled, this rule does not apply (but may be 3:1 in future) + if (!passed && isDisabled) { + passed = true; + } + if (!passed) { + if (hasBackground) { + // fire potential since a text on an image or gradient may be still viewable, depending on the text location on the gradient or image + return (0, IRule_1.RulePotential)("potential_graphic_background", [ratio.toFixed(2), size, weight]); + ; + } + else if (textShadow) { + // fire potential since a text with shadow may be still viewable, depending on the shadow efffects + return (0, IRule_1.RulePotential)("potential_text_shadow", [ratio.toFixed(2), size, weight]); + ; + } + else { + if (fg.toHex() === bg.toHex()) { + return (0, IRule_1.RulePotential)("potential_same_color", [ratio.toFixed(2), size, weight, fg.toHex(), bg.toHex(), colorCombo.hasBGImage, colorCombo.hasGradient]); + } + else { + return (0, IRule_1.RuleFail)("fail_contrast", [ratio.toFixed(2), size, weight, fg.toHex(), bg.toHex(), colorCombo.hasBGImage, colorCombo.hasGradient]); + } + } + } + else { + return (0, IRule_1.RulePass)("pass", [ratio.toFixed(2), size, weight, fg.toHex(), bg.toHex(), colorCombo.hasBGImage, colorCombo.hasGradient]); + } + } +}; + + +/***/ }), + +/***/ 5027: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.text_quoted_correctly = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +var VisUtil_1 = __webpack_require__(8656); +exports.text_quoted_correctly = { + id: "text_quoted_correctly", + context: "dom:*", + help: { + "en-US": { + "Pass_0": "text_quoted_correctly.html", + "Potential_1": "text_quoted_correctly.html", + "group": "text_quoted_correctly.html" + } + }, + messages: { + "en-US": { + "Pass_0": "Rule Passed", + "Potential_1": "If the following text is a quotation, mark it as a <q> or <blockquote> element: {0}", + "group": "Quotations should be marked with <q> or <blockquote> elements" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // ignore the check if the node is hidden + if (!VisUtil_1.VisUtil.isNodeVisible(ruleContext)) + return null; + // Don't trigger if the element is not in the body + if (CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["body"]) === null) + return null; + var validateParams = { + minWords: { + value: 3, + type: "integer" + } + }; + var minWords = validateParams.minWords.value; + var passed = true; + var walkNode = ruleContext.firstChild; + var violatedtext = null; + // ignore the check for the text of the following elements + var ignored = ["blockquote", "q", "script", "style", "pre", "code", "ruby", "samp"]; + while (passed && walkNode) { + // Comply to the Check Hidden Content setting will be done by default as this rule triggers on each element + // and for each element it only checks that single elements text nodes and nothing else. So all inner elements will be + // covered on their own. Currently for this rule by default Check Hidden Content will work, as we are doing + // a node walk only on siblings so it would not get text nodes from other siblings at all. + // In the case in the future something chnges, just need to add && !RPTUtil.shouldNodeBeSkippedHidden(walkNode) to the below + // if. + if (walkNode.nodeName === "#text") { + var txtVal = walkNode.nodeValue; + // Do the regex tests first - should be fast + // Remove apostrophe's + txtVal = txtVal.replace(/(\S)'(\S)/g, "$1$2"); + var dblQuotes = txtVal.match(/("[^"]+")/g); + var snglQuotes = txtVal.match(/('[^']+')/g); + // Walk the parents - only continue testing if we found a quote, but + // we're not already marked up + // Also skip if we're in a script - there's lots of quotes used in scripts + if ((dblQuotes !== null || snglQuotes !== null) && + CommonUtil_1.CommonUtil.getAncestor(walkNode, ignored) === null) { + if (dblQuotes != null) { + for (var i = 0; passed && i < dblQuotes.length; ++i) + passed = CommonUtil_1.CommonUtil.wordCount(dblQuotes[i]) < minWords; + } + if (snglQuotes != null) { + for (var i = 0; passed && i < snglQuotes.length; ++i) + passed = CommonUtil_1.CommonUtil.wordCount(snglQuotes[i]) < minWords; + } + // Remove any linefeed inside the quote + // violatedtext = txtVal.replace(new RegExp("\\r?\\n|\\r","g"),""); + if (dblQuotes === null) { + violatedtext = snglQuotes.join(", ").replace(new RegExp("\\r?\\n|\\r", "g"), ""); + } + else if (snglQuotes === null) { + violatedtext = dblQuotes.join(", ").replace(new RegExp("\\r?\\n|\\r", "g"), ""); + } + else { + violatedtext = dblQuotes.concat(snglQuotes).join(", ").replace(new RegExp("\\r?\\n|\\r", "g"), ""); + } + } + } + walkNode = walkNode.nextSibling; + } + //if the violatedtext is longer than 69 chars, only keep the first 32, the " ... ", and the last 32 chars + if (!passed && violatedtext.length && violatedtext.length > 69) { + violatedtext = violatedtext.substring(0, 32) + " ... " + violatedtext.substring(violatedtext.length - 32); + } + return passed ? (0, IRule_1.RulePass)("Pass_0") : (0, IRule_1.RulePotential)("Potential_1", [violatedtext]); + } +}; + + +/***/ }), + +/***/ 3496: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.text_sensory_misuse = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var CacheUtil_1 = __webpack_require__(7788); +var VisUtil_1 = __webpack_require__(8656); +exports.text_sensory_misuse = { + id: "text_sensory_misuse", + context: "dom:body, dom:body dom:*", + refactor: { + "RPT_Text_SensoryReference": { + // "Pass_0": "pass", + "Potential_1": "potential_position, potential_other" + } + }, + help: { + "en-US": { + // "pass": "text_sensory_misuse.html", + "potential_position": "text_sensory_misuse.html", + "potential_other": "text_sensory_misuse.html", + "group": "text_sensory_misuse.html" + } + }, + messages: { + "en-US": { + // "pass": "Instructions are meaningful without relying solely on shape, size, or location words", + "potential_position": "Confirm the word(s) '{0}' of the user instruction is used to indicate a logical rather than visual position", + "potential_other": "Confirm the user instruction is still understandable without the word(s) '{0}'", + "group": "Instructions should be meaningful without relying solely on shape, size, or location words" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.3"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_TWO + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Extract the nodeName of the context node + var nodeName = ruleContext.nodeName.toLowerCase(); + //skip the check if the element is hidden or disabled + if (!VisUtil_1.VisUtil.isNodeVisible(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext) || VisUtil_1.VisUtil.hiddenByDefaultElements.includes(nodeName)) + return null; + // Don't trigger if we're not in the body or if we're in a script + if (CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["body"]) === null) + return null; + // ignore script, link, label and their child elements + if (CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["script", "a", 'label']) !== null) + return null; + // ignore text on landmark roles, but not on their children (e.g., section, main) + var role = AriaUtil_1.AriaUtil.getResolvedRole(ruleContext); + if (role) { + var lmRoles = AriaUtil_1.AriaUtil.getRolesWithTypes(ruleContext, ["landmark"]); + if (lmRoles && lmRoles.includes(role)) + return null; + } + // ignore all widgets and headings, and their children, and certain structure roles + var roles = AriaUtil_1.AriaUtil.getRolesWithTypes(ruleContext, ["widget", "heading"]); + // add some structure roles + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(["caption", "cell", "code", "columnheader", "definition", "figure", "list", "listitem", "math", "meter", "row", "rowgroup", "rowheader", "term"], roles); + if (AriaUtil_1.AriaUtil.getAncestorWithRoles(ruleContext, roles) !== null) + return null; + var violatedPositionText = ""; + var violatedOtherText = ""; + var walkNode = ruleContext.firstChild; + var txtVal = ""; + while (walkNode) { + // for each element it only checks that single elements text nodes and nothing else. + // all inner elements will be covered on their own. + // whitespace characters (space, newline, tab) between elements are considered a node too. + if (walkNode.nodeName === "#text") { + var txt = walkNode.nodeValue.trim(); + if (txt.length > 0) + txtVal += (txtVal.length > 0 ? ", " + txt : txt); + } + walkNode = walkNode.nextSibling; + } + if (txtVal.length > 0) { + // first to remove each exempt word with a single space in the text + var exemptRegex = getRegex(ruleContext.ownerDocument, "exemptText"); + txtVal = txtVal.replace(exemptRegex, " "); + violatedPositionText = getViolatedText(ruleContext.ownerDocument, "positionText", txtVal); + violatedOtherText = getViolatedText(ruleContext.ownerDocument, "otherText", txtVal); + } + var ret = []; + if (violatedPositionText) + ret.push((0, IRule_1.RulePotential)("potential_position", [violatedPositionText])); + if (violatedOtherText) + ret.push((0, IRule_1.RulePotential)("potential_other", [violatedOtherText])); + return ret.length == 0 ? null : ret; + } +}; +var validateParams = { + positionText: { + value: ["top-left", "top-right", "bottom-right", "bottom-left", + "top-to-bottom", "left-to-right", "bottom-to-top", "right-to-left", + "right", "left", "above", "below", "top", "bottom", + "upper", "lower", "corner", "beside" + ], + type: "[string]" + }, + otherText: { + value: ["round", "square", "shape", "rectangle", "triangle", + "size", "large", "small", "medium", "big", "huge", "tiny", "extra", + "larger", "smaller", "bigger", "little", "largest", "smallest", "biggest" + ], + type: "[string]" + }, + exemptText: { + value: ["right-click", "left-click", "right-clicking", "right-clicks", + "left-clicking", "left-clicks", "square root", "right now", "off the top" //append as needed + ], + type: "[string]" + } +}; +function getRegex(doc, type) { + if (!validateParams[type]) + return ""; + var sensoryRegex = CacheUtil_1.CacheUtil.getCache(doc, type + "_sensory_misuse", null); + if (sensoryRegex == null) { + var sensoryText = validateParams[type].value; + var regexStr = "(\s\s+|" + sensoryText[0]; + for (var j = 1; j < sensoryText.length; ++j) { + var words = sensoryText[j].trim().split(" "); + regexStr += "|" + words[0]; + if (words.length > 1) { + for (var c = 1; c < words.length; ++c) + regexStr += " +" + words[c]; + } + } + //regexStr += ")\\W"; + regexStr += ")"; + sensoryRegex = new RegExp(regexStr, "gi"); + CacheUtil_1.CacheUtil.setCache(doc, type + "_sensory_misuse", sensoryRegex); + } + return sensoryRegex; +} +function getViolatedText(doc, type, txtVal) { + if (!txtVal) + return ""; + var sensoryTextArr = validateParams[type].value; + var hash = {}, result = []; + // split the string into words + var counts = txtVal.split(/\s+/).reduce(function (map, word) { + var wordWoTrailingPunc = word.replace(/[.?!:;()'",`\]]+$/, ""); + var lcWordWoPunc = word.toLowerCase().replace(/[.?!:;()'",`\]]/g, ""); + for (var counter = 0; counter < sensoryTextArr.length; counter++) { + var a = lcWordWoPunc.indexOf(sensoryTextArr[counter]); + var sensoryWordLen = sensoryTextArr[counter].length; + var charFollowSensoryText = lcWordWoPunc.charAt(sensoryWordLen + a); + // If the word does not contains substring of sensoryTextArr[counter] + // proceed to the next loop iteration for next sensoryText. + if (a < 0) { + continue; + } + //check the following and proceeding punctuations + //let isPuncfollowing = ((charFollowSensoryText == '\-') || + var isPuncfollowing = ((charFollowSensoryText == '\.') || + (charFollowSensoryText == '\?') || (charFollowSensoryText == '\!') || + (charFollowSensoryText == '\:') || (charFollowSensoryText == '\;') || + (charFollowSensoryText == '\(') || (charFollowSensoryText == '\)') || + (charFollowSensoryText == '\'') || (charFollowSensoryText == '\"') || + (charFollowSensoryText == '\,') || (charFollowSensoryText == '.\`') || + (charFollowSensoryText == '\\') || (charFollowSensoryText == '\]')); + var isPuncPreceding = false; + if (a > 0) { + var charPrecedeSensoryText = lcWordWoPunc.charAt(a - 1); + isPuncPreceding = ((charPrecedeSensoryText == '\-') || + (charPrecedeSensoryText == '\.') || + (charPrecedeSensoryText == '\?') || (charPrecedeSensoryText == '\!') || + (charPrecedeSensoryText == '\:') || (charPrecedeSensoryText == '\;') || + (charPrecedeSensoryText == '\(') || (charPrecedeSensoryText == '\)') || + (charPrecedeSensoryText == '\'') || (charPrecedeSensoryText == '\"') || + (charPrecedeSensoryText == '\,') || (charPrecedeSensoryText == '.\`') || + (charPrecedeSensoryText == '\\') || (charPrecedeSensoryText == '\]')); + } + if (((lcWordWoPunc.length == sensoryWordLen) || (isPuncfollowing == true) || (isPuncPreceding == true))) { + if (!hash.hasOwnProperty(wordWoTrailingPunc)) { + hash[wordWoTrailingPunc] = true; + result.push(wordWoTrailingPunc); + } + counter = sensoryTextArr.length; + } + } + map[wordWoTrailingPunc] = (map[wordWoTrailingPunc] || 0) + 1; + return map; + }, Object.create(null)); + return result.join(", "); +} + + +/***/ }), + +/***/ 1131: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.text_spacing_valid = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +var VisUtil_1 = __webpack_require__(8656); +var CSSUtil_1 = __webpack_require__(1775); +var DOMMapper_1 = __webpack_require__(5697); +exports.text_spacing_valid = { + id: "text_spacing_valid", + context: "dom:*", + help: { + "en-US": { + "pass": "text_spacing_valid.html", + "group": "text_spacing_valid.html", + "fail_letter_spacing_style": "text_spacing_valid.html", + "fail_word_spacing_style": "text_spacing_valid.html", + "fail_line_height_style": "text_spacing_valid.html" + } + }, + messages: { + "en-US": { + "pass": "CSS !important is not used in inline style to control letter or word spacing or line height", + "group": "CSS !important should not be used in inline style to control letter or word spacing or line height", + "fail_letter_spacing_style": "CSS !important should not be used in inline ‘letter-spacing’ style", + "fail_word_spacing_style": "CSS !important should not be used in inline ‘word-spacing’ style", + "fail_line_height_style": "CSS !important should not be used in inline ‘line-height’ style" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.4.12"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: ['9e45ec', '24afc2', '78fd32'], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + var nodeName = ruleContext.nodeName.toLowerCase(); + //skip the check if the element is hidden or disabled + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) + return null; + //skip the check if the element is off screen + var mapper = new DOMMapper_1.DOMMapper(); + var bounds = mapper.getUnadjustedBounds(ruleContext); + //in case the bounds not available + if (!bounds) + return null; + if (bounds['top'] < 0 || bounds['left'] < 0) + return null; + //skip no-html element + if (CommonUtil_1.CommonUtil.getAncestor(ruleContext, "svg")) + return null; + // Ensure that this element has children with actual text. + var childStr = ""; + var childNodes = ruleContext.childNodes; + for (var i = 0; i < childNodes.length; ++i) { + if (childNodes[i].nodeType == 3) { + childStr += childNodes[i].nodeValue; + } + } + if (childStr.trim().length == 0) + return null; + //font size always resolved to 'px' + var font_size_style = getComputedStyle(ruleContext).getPropertyValue('font-size'); + var font_size = parseFloat(font_size_style); + var styles = CSSUtil_1.CSSUtil.getDefinedStyles(ruleContext); + if (Object.keys(styles).length === 0) + return null; + //note that CSS unit is required for non-zero values, otherwise it's ignored + var ret = []; + // matched string: original style, the style value and unit + var regex = /(-?[\d.]+)([a-z%]*)/; + var word_style = styles['word-spacing']; + if (word_style) { + if (word_style.startsWith('inherit') || word_style.startsWith('unset')) { + //get closet ancestor's word-spacing + var ancestor = CSSUtil_1.CSSUtil.getAncestorWithStyles(ruleContext.parentElement, { "word-spacing": ["*"] }, ['inherit', 'unset']); + if (ancestor !== null) { + word_style = CSSUtil_1.CSSUtil.getDefinedStyles(ancestor)['word-spacing']; + } + else if (word_style.startsWith('unset')) { + word_style = "initial"; + } + } + if (ruleContext.style.getPropertyPriority("word-spacing") === 'important') { + word_style = word_style.substring(0, word_style.length - "!important".length - 1); + // computed space is 0 for 'normal' or 'initial'. + if (word_style === 'initial' || word_style === 'normal') + ret.push((0, IRule_1.RuleFail)("fail_word_spacing_style")); + else { + var wordSpacing = parseFloat(word_style); + if (!isNaN(wordSpacing)) { + var parsed = word_style.trim().match(regex); + if (parsed[2] !== '' && parsed[1] !== 0) { //no zero value without unit which is considered as error, so implicable + var pixels = CSSUtil_1.CSSUtil.convertValue2Pixels(parsed[2], parsed[1], ruleContext); + if (pixels !== null && pixels / font_size < 0.16) + ret.push((0, IRule_1.RuleFail)("fail_word_spacing_style")); + else + ret.push((0, IRule_1.RulePass)("pass")); + } + } + else + ret.push((0, IRule_1.RulePass)("pass")); + } + } + else + ret.push((0, IRule_1.RulePass)("pass")); + } + var letter_style = styles['letter-spacing']; + if (letter_style) { + if (letter_style.startsWith('inherit') || letter_style.startsWith('unset')) { + //get closet ancestor's word-spacing + var ancestor = CSSUtil_1.CSSUtil.getAncestorWithStyles(ruleContext.parentElement, { "letter-spacing": ["*"] }, ['inherit', 'unset']); + if (ancestor !== null) { + letter_style = CSSUtil_1.CSSUtil.getDefinedStyles(ancestor)['letter-spacing']; + } + else if (letter_style.startsWith('unset')) { + letter_style = "initial"; + } + } + if (ruleContext.style.getPropertyPriority("letter-spacing") === 'important') { + letter_style = letter_style.substring(0, letter_style.length - "!important".length - 1); + // computed space is 0 for 'normal' or 'initial'. + if (letter_style === 'initial' || letter_style === 'normal') + ret.push((0, IRule_1.RuleFail)("fail_letter_spacing_style")); + else { + var letterSpacing = parseFloat(letter_style); + if (!isNaN(letterSpacing)) { + var parsed = letter_style.trim().match(regex); + if (parsed[2] !== '' && parsed[1] !== 0) { //no zero value without unit which is considered as error, so implicable + var pixels = CSSUtil_1.CSSUtil.convertValue2Pixels(parsed[2], parsed[1], ruleContext); + if (pixels !== null && pixels / font_size < 0.12) + ret.push((0, IRule_1.RuleFail)("fail_letter_spacing_style")); + else + ret.push((0, IRule_1.RulePass)("pass")); + } + } + else + ret.push((0, IRule_1.RulePass)("pass")); + } + } + else + ret.push((0, IRule_1.RulePass)("pass")); + } + var line_style = styles['line-height']; + var overflow = { "overflow": ['auto', 'scroll'], "overflow-x": ['auto', 'scroll'], "overflow-y": ['auto', 'scroll'] }; + if (line_style && CSSUtil_1.CSSUtil.getAncestorWithStyles(ruleContext, overflow) === null) { + if (line_style.startsWith('inherit') || line_style.startsWith('unset')) { + //get closet ancestor's word-spacing + var ancestor = CSSUtil_1.CSSUtil.getAncestorWithStyles(ruleContext.parentElement, { "line-height": ["*"] }, ['inherit', 'unset']); + if (ancestor !== null) { + line_style = CSSUtil_1.CSSUtil.getDefinedStyles(ancestor)['line-height']; + } + else if (line_style.startsWith('unset')) { + line_style = "initial"; + } + } + if (ruleContext.style.getPropertyPriority("line-height") === 'important') { + line_style = line_style.substring(0, line_style.length - "!important".length - 1); + // computed space is 0 for 'normal' or 'initial'. + if (line_style === 'initial' || line_style === 'normal') + ret.push((0, IRule_1.RuleFail)("fail_line_height_style")); + else { + var lineHeight = parseFloat(line_style); + if (!isNaN(lineHeight)) { + var parsed = line_style.trim().match(regex); + if (parsed[2] === '') { //line-height are allowed unitless when the valie is multiple (or fraction) of the font size + if (parsed[1] < 1.5) + ret.push((0, IRule_1.RuleFail)("fail_line_height_style")); + else + ret.push((0, IRule_1.RulePass)("pass")); + } + else { + var pixels = CSSUtil_1.CSSUtil.convertValue2Pixels(parsed[2], parsed[1], ruleContext); + if (pixels !== null && pixels / font_size < 1.5) + ret.push((0, IRule_1.RuleFail)("fail_line_height_style")); + else + ret.push((0, IRule_1.RulePass)("pass")); + } + } + else + ret.push((0, IRule_1.RulePass)("pass")); + } + } + else + ret.push((0, IRule_1.RulePass)("pass")); + } + if (ret.length > 0) + return ret; + return null; //implicable or ignore + } +}; + + +/***/ }), + +/***/ 8681: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.text_whitespace_valid = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var CommonUtil_1 = __webpack_require__(8137); +exports.text_whitespace_valid = { + id: "text_whitespace_valid", + context: "dom:*", + help: { + "en-US": { + "pass": "text_whitespace_valid.html", + "potential_text": "text_whitespace_valid.html", + "group": "text_whitespace_valid.html" + } + }, + messages: { + "en-US": { + "pass": "Rule Passed", + "potential_text": "Space characters should not be used to create space between the letters of a word", + "group": "Space characters should not be used to control spacing within a word" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["1.3.2"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_THREE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + // Don't trigger if we're not in the body or if we're in a script + var checkAncestor = CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["body", "script", "code"]); + if (checkAncestor == null || checkAncestor.nodeName.toLowerCase() != "body") + return null; + var passed = true; + var walkNode = ruleContext.firstChild; + while (passed && walkNode) { + // Comply to the Check Hidden Content setting will be done by default as this rule triggers on each element + // and for each element it only checks that single elements text nodes and nothing else. So all inner elements will be + // covered on their own. Currently for this rule by default Check Hidden Content will work, as we are doing + // a node walk only on siblings so it would not get text nodes from other siblings at all. + // In the case in the future something chnges, just need to add && !RPTUtil.shouldNodeBeSkippedHidden(walkNode) to the below + // if. + if (walkNode.nodeName == "#text") { + var txtVal = walkNode.nodeValue; + passed = !(/(^|\s)[a-zA-Z] [a-zA-Z] [a-zA-Z]($|\s)/.test(txtVal)); + } + walkNode = walkNode.nextSibling; + } + if (passed) + return (0, IRule_1.RulePass)("pass"); + return (0, IRule_1.RulePotential)("potential_text"); + } +}; + + +/***/ }), + +/***/ 4577: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.widget_tabbable_exists = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var ARIAMapper_1 = __webpack_require__(4944); +var DOMWalker_1 = __webpack_require__(7440); +var VisUtil_1 = __webpack_require__(8656); +exports.widget_tabbable_exists = { + id: "widget_tabbable_exists", + context: "aria:button,aria:link,aria:spinbutton,aria:tablist,aria:combobox,aria:listbox,aria:menu,aria:radiogroup,aria:tree,aria:menubar, aria:grid, aria:treegrid, 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": "widget_tabbable_exists.html", + "fail_no_tabbable": "widget_tabbable_exists.html", + "group": "widget_tabbable_exists.html" + } + }, + messages: { + "en-US": { + "pass": "Rule Passed", + "fail_no_tabbable": "Component with \"{0}\" role does not have a tabbable element", + "group": "Component must have at least one tabbable element" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.1.1"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the check if the element is hidden or disabled + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) + return; + //skip the check if the element should be a presentational child of an element + if (AriaUtil_1.AriaUtil.shouldBePresentationalChild(ruleContext)) + return; + var nodeName = ruleContext.nodeName.toLowerCase(); + //ignore datalist element check since it will be part of a input element or hidden by default + if (nodeName === 'datalist') + return null; + // Composite user interface widget roles. They act as containers that manage other, contained widgets. + var roleContainers = ["combobox", "grid", "listbox", "menu", "menubar", "radiogroup", "tablist", "tree", "treegrid"]; + for (var _i = 0, roleContainers_1 = roleContainers; _i < roleContainers_1.length; _i++) { + var role_1 = roleContainers_1[_i]; + if (AriaUtil_1.AriaUtil.getAncestorWithRole(ruleContext, role_1, true) != null) + // it's a descendant of a composite widget already examined + return null; + } + var role = ARIAMapper_1.ARIAMapper.nodeToRole(ruleContext); + var count = 0; + if (CommonUtil_1.CommonUtil.isTabbable(ruleContext)) { + ++count; + } + // If node has children, look for tab stops in the children + // skip the count if the element requires presentational children only + if (count < 1 && !AriaUtil_1.AriaUtil.containsPresentationalChildrenOnly(ruleContext) && ruleContext.firstChild) { + //let nw = new NodeWalker(ruleContext); + var nw = new DOMWalker_1.DOMWalker(ruleContext); + while (count < 1 && nw.nextNode() && nw.node != ruleContext) { + if (nw.node.nodeType == 1 && !nw.bEndTag && CommonUtil_1.CommonUtil.isTabbable(nw.node)) { + ++count; + } + } + } + var passed = count >= 1; + return passed ? (0, IRule_1.RulePass)("pass") : (0, IRule_1.RulePotential)("fail_no_tabbable", [role]); + } +}; + + +/***/ }), + +/***/ 8051: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.widget_tabbable_single = void 0; +var IRule_1 = __webpack_require__(4377); +var IRule_2 = __webpack_require__(4377); +var DOMWalker_1 = __webpack_require__(7440); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var ARIAMapper_1 = __webpack_require__(4944); +var CacheUtil_1 = __webpack_require__(7788); +var VisUtil_1 = __webpack_require__(8656); +exports.widget_tabbable_single = { + 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", + "potential_multiple_tabbable": "potential_multiple_tabbable" + } + }, + help: { + "en-US": { + "pass": "widget_tabbable_single.html", + "potential_multiple_tabbable": "widget_tabbable_single.html", + "group": "widget_tabbable_single.html" + } + }, + messages: { + "en-US": { + "pass": "Components with a widget role should have no more than one tabbable element", + "potential_multiple_tabbable": "Component with \"{0}\" role has more than one tabbable element", + "group": "Components with a widget role must have no more than one tabbable element" + } + }, + rulesets: [{ + "id": ["IBM_Accessibility", "IBM_Accessibility_next", "WCAG_2_1", "WCAG_2_0", "WCAG_2_2"], + "num": ["2.1.1", "2.4.3"], + "level": IRule_2.eRulePolicy.VIOLATION, + "toolkitLevel": IRule_2.eToolkitLevel.LEVEL_ONE + }], + act: [], + run: function (context, options, contextHierarchies) { + var ruleContext = context["dom"].node; + //skip the check if the element is hidden or disabled + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(ruleContext) || CommonUtil_1.CommonUtil.isNodeDisabled(ruleContext)) + return; + //skip the check if the element should be a presentational child of an element + if (AriaUtil_1.AriaUtil.shouldBePresentationalChild(ruleContext)) + return; + var role = ARIAMapper_1.ARIAMapper.nodeToRole(ruleContext); + var count = 0; + if (CommonUtil_1.CommonUtil.isTabbable(ruleContext)) { + ++count; + } + // If node has children, look for tab stops in the children + //skip the count if the element requires presentational children only + var name = []; + if (count < 2 && !AriaUtil_1.AriaUtil.containsPresentationalChildrenOnly(ruleContext) && ruleContext.firstChild) { + //let nw = new NodeWalker(ruleContext); + var nw = new DOMWalker_1.DOMWalker(ruleContext); + while (count < 2 && nw.nextNode() && nw.node != ruleContext) { + if (nw.node.nodeType == 1 && !nw.bEndTag && CommonUtil_1.CommonUtil.isTabbable(nw.node)) { + // Radio inputs with the same name natively are only one tab stop + if (nw.node.nodeName.toLowerCase() === 'input' && nw.node.getAttribute("type") === 'radio') { + var curName = nw.node.getAttribute("name"); + if (name.includes(curName)) + continue; + else + name.push(curName); + } + ++count; + } + } + } + var passed = count < 2; + if (!passed) + CacheUtil_1.CacheUtil.setCache(ruleContext, "widget_tabbable_single", "potential_multiple_tabbable"); + return passed ? (0, IRule_1.RulePass)("pass") : (0, IRule_1.RulePotential)("potential_multiple_tabbable", [role]); + } +}; + + +/***/ }), + +/***/ 1070: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.a11yRulesets = void 0; +// This file comes from https://raw.githubusercontent.com/act-rules/act-tools/main/src/data/sc-urls.json +var SCURLs = __webpack_require__(4976); +var IGuideline_1 = __webpack_require__(3005); +var SCs = []; +for (var key in SCURLs) { + SCs.push(SCURLs[key]); +} +var summaries = { + "1.1.1": "All non-text content that is presented to the user has a text alternative that serves the equivalent purpose.", + "1.2.1": "For prerecorded audio-only or video-only media, an alternative provides equivalent information.", + "1.2.2": "Captions are provided for all prerecorded audio content in synchronized media.", + "1.2.3": "An alternative for time-based media or audio description of the prerecorded video content is provided for synchronized media.", + "1.2.4": "Captions are provided for all live audio content in synchronized media.", + "1.2.5": "Audio description is provided for all prerecorded video content in synchronized media.", + "1.3.1": "Information, structure, and relationships conveyed through presentation can be programmatically determined or are available in text.", + "1.3.2": "When the sequence in which content is presented affects its meaning, a correct reading sequence can be programmatically determined.", + "1.3.3": "Instructions provided for understanding and operating content do not rely solely on sensory characteristics of components such as shape, size, visual location, orientation, or sound.", + "1.3.4": "Content does not restrict its view and operation to a single display orientation, such as portrait or landscape.", + "1.3.5": "The purpose of each input field that collects information about the user can be programmatically determined when the field serves a common purpose.", + "1.4.1": "Color is not used as the only visual means of conveying information, indicating an action, prompting a response, or distinguishing a visual element.", + "1.4.2": "If any audio plays automatically for more than 3 seconds, either a mechanism is available to pause or stop the audio, or a mechanism is available to control audio volume independently from the overall system volume level.", + "1.4.3": "The visual presentation of text and images of text has a contrast ratio of at least 4.5:1, with a 3:1 ratio for large-scale text.", + "1.4.4": "Text can be resized without assistive technology up to 200 percent without loss of content or functionality.", + "1.4.5": "If the technologies being used can achieve the visual presentation, text should not be used to convey information rather than images of text.", + "1.4.10": "Content can reflow without loss of information or functionality, and without requiring scrolling in two dimensions.", + "1.4.11": "The parts of graphical objects required to understand the content, and the visual information required to identify UI components and states, have a contrast ratio of at least 3:1 against adjacent colors.", + "1.4.12": "No loss of content or functionality occurs when users change letter, word and paragraph spacing, as well as line height.", + "1.4.13": "Where hover or focus actions cause additional content to become visible and hidden, the additional content is dismissable, hoverable and persistent.", + "2.1.1": "All functionality of the content is operable through a keyboard interface without requiring specific timings for individual keystrokes.", + "2.1.2": "If keyboard focus can be moved to a component using a keyboard interface, then focus can be moved away from that component using only a keyboard interface, and, if it requires more than unmodified arrow or tab keys or other standard exit methods, the user is advised of the method for moving focus away.", + "2.1.4": "If a keyboard shortcut is implemented using only letter, punctuation, number or symbol characters, then the shortcut can be turned off, remapped or activated only on focus.", + "2.2.1": "For each time limit that is set by the content, the user can turn off, adjust, or extend the limit.", + "2.2.2": "For moving, blinking, scrolling, or auto-updating information, the user can pause, stop, hide or adjust the information.", + "2.3.1": "Content does not contain anything that flashes more than three times in any one second period, or the flash is below the general flash and red flash thresholds.", + "2.4.1": "A mechanism is available to bypass blocks of content that are repeated on multiple Web pages.", + "2.4.2": "Web pages, non-web documents, and software have titles that describe topic or purpose.", + "2.4.3": "If content can be navigated sequentially and the navigation sequences affect meaning or operation, focusable components receive focus in an order that preserves meaning and operability.", + "2.4.4": "The purpose of each link can be determined from the link text alone or from the link text together with its programmatically determined link content.", + "2.4.5": "More than one way is available to locate a Web page within a set of Web pages, except where the Web Page is the result of, or a step in, a process.", + "2.4.6": "Headings and labels describe topic or purpose.", + "2.4.7": "Any keyboard operable user interface has a mode of operation where the keyboard focus indicator is visible.", + "2.4.11": "When an element receives focus, it is not entirely covered by other content.", + "2.5.1": "All functionality that uses multipoint or path-based gestures for operation can be operated with a single pointer without a path-based gesture.", + "2.5.2": "For functionality that can be operated using a single pointer, completion of the function is on the up-event with an ability to abort, undo or reverse the outcome.", + "2.5.3": "For user interface components with labels that include text or images of text, the accessible name contains the text that is presented visually.", + "2.5.4": "Functionality that can be operated by motion can also be operated by user interface components, and the motion trigger can be disabled.", + "2.5.8": "The size of the target for pointer inputs is at least 24 by 24 CSS pixels.", + "2.5.7": "All functionality that uses a dragging movement for operation can be achieved by a single pointer without dragging.", + "3.1.1": "The default human language of Web pages, non-Web documents, or software can be programmatically determined.", + "3.1.2": "The human language of each passage or phrase in the content can be programmatically determined.", + "3.2.1": "When any component receives focus, it does not initiate a change of context.", + "3.2.2": "Changing the setting of any user interface component does not automatically cause a change of context unless the user has been advised of the behavior before using the component.", + "3.2.3": "Navigational mechanisms that are repeated on multiple Web pages within a set of Web pages occur in the same relative order each time they are repeated, unless a change is initiated by the user.", + "3.2.4": "Components that have the same functionality within a set of Web pages are identified consistently.", + "3.2.6": "Make it easier to find help and support. If a Web page contains help mechanisms they occur in the same order relative to other page content, unless a change is initiated by the user.", + "3.3.1": "If an input error is automatically detected, the item that is in error is identified and the error is described to the user in text.", + "3.3.2": "Labels or instructions are provided when content requires user input.", + "3.3.3": "If an input error is automatically detected and suggestions for correction are known, then the suggestions are provided to the user, unless it would jeopardize the security or purpose of the content.", + "3.3.4": "For content that cause legal commitments or financial transactions for the user to occur, that modify or delete user-controllable data in data storage systems, or that submit user test responses, the user can reverse, correct, or confirm the action.", + "3.3.7": "Make it easier for users to complete multi-step processes. Don't ask for the same information twice in the same session.", + "3.3.8": "Make logins possible with less mental effort. Don't make people solve, recall, or transcribe something to log in.", + "4.1.1": "(Obsolete and removed) This requirement was originally adopted to address problems that assistive technology (AT) had directly parsing HTML. AT no longer has any need to directly parse HTML. Consequently, these problems either no longer exist or are addressed by other requirements.", + "4.1.2": "For all user interface components (including, but not limited to: form elements, links and components generated by scripts), the name and role can be programmatically determined; states, properties, and values that can be set by the user can be programmatically set; and notification of changes to these items is available to user agents, including assistive technologies.", + "4.1.3": "In content implemented using markup languages, status messages can be programmatically determined through role or properties such that they can be presented to the user by assistive technologies without receiving focus.", + "HTML": "The HTML specification issues that cause accessibility issues may be covered by other rules and will be reported under those accessibility requirements. However, some non-conforming HTML specification issues are still reported.", + "ARIA": "The ARIA specification issues that cause accessibility issues may be covered by other rules and will be reported under those accessibility requirements. However, some non-conforming ARIA specification issues are still reported.", +}; +exports.a11yRulesets = [ + // { + // id: "DEBUG", + // name: "DEBUG Rules", + // category: eRuleCategory.ACCESSIBILITY, + // description: "Rules for debugging", + // checkpoints: [{ + // num: "1", + // name: "Debug CP 1", + // wcagLevel: "A", + // summary: "Rules for Debug" + // }] + // }, + { + id: "EXTENSIONS", + name: "Extension Rules", + category: IGuideline_1.eGuidelineCategory.ACCESSIBILITY, + description: "Rules for enabling the browser extensions", + type: IGuideline_1.eGuidelineType.EXTENSION, + checkpoints: [{ + num: "1", + name: "Extension CP 1", + wcagLevel: "A", + summary: "Rules for Extension" + }] + }, + { + id: "IBM_Accessibility", + name: "IBM Accessibility 7.3", + category: IGuideline_1.eGuidelineCategory.ACCESSIBILITY, + description: "Rules for WCAG 2.0, 2.1, 2.2 A and AA plus additional IBM supplemental requirements.", + // This ruleset has all 2.0 and 2.1 checkpoints that are A or AA + checkpoints: SCs + .filter(function (sc) { return (sc.level === "A" || sc.level === "AA" || sc.level === "NA") && (sc.wcagType === "2.0" || sc.wcagType === "2.1" || sc.wcagType === "2.2" || sc.wcagType === "NA"); }) + .map(function (sc) { return ({ + num: sc.num, + scId: sc.scId, + name: sc.handle, + wcagLevel: sc.level, + summary: summaries[sc.num] + }); }) + }, + { + id: "IBM_Accessibility_next", + name: "IBM Accessibility next", + category: IGuideline_1.eGuidelineCategory.ACCESSIBILITY, + description: "Rules for WCAG 2.0, 2.1, 2.2 A and AA plus additional IBM supplemental requirements.", + // This ruleset has all 2.0 and 2.1 checkpoints that are A or AA + checkpoints: SCs + .filter(function (sc) { return (sc.level === "A" || sc.level === "AA" || sc.level === "NA") && (sc.wcagType === "2.0" || sc.wcagType === "2.1" || sc.wcagType === "2.2" || sc.wcagType === "NA"); }) + .map(function (sc) { return ({ + num: sc.num, + scId: sc.scId, + name: sc.handle, + wcagLevel: sc.level, + summary: summaries[sc.num] + }); }) + }, + { + id: "WCAG_2_2", + name: "WCAG 2.2 (A, AA)", + category: IGuideline_1.eGuidelineCategory.ACCESSIBILITY, + description: "Rules for WCAG 2.2 A & AA. This is the current W3C recommendation (specification). Content that conforms to WCAG 2.2 also conforms to WCAG 2.1.", + // This ruleset has all 2.0 and 2.1 checkpoints that are A or AA + checkpoints: SCs + .filter(function (sc) { return (sc.level === "A" || sc.level === "AA") && (sc.wcagType === "2.0" || sc.wcagType === "2.1" || sc.wcagType === "2.2"); }) + .map(function (sc) { return ({ + num: sc.num, + scId: sc.scId, + name: sc.handle, + wcagLevel: sc.level, + summary: summaries[sc.num] + }); }) + }, + { + id: "WCAG_2_1", + name: "WCAG 2.1 (A, AA)", + category: IGuideline_1.eGuidelineCategory.ACCESSIBILITY, + description: "Rules for WCAG 2.1 A & AA. Content that conforms to WCAG 2.1 also conforms to WCAG 2.0.", + // This ruleset has all 2.0 and 2.1 checkpoints that are A or AA + checkpoints: SCs + .filter(function (sc) { return (sc.level === "A" || sc.level === "AA") && (sc.wcagType === "2.0" || sc.wcagType === "2.1"); }) + .map(function (sc) { return ({ + num: sc.num, + scId: sc.scId, + name: sc.handle, + wcagLevel: sc.level, + summary: summaries[sc.num] + }); }) + }, + { + id: "WCAG_2_0", + name: "WCAG 2.0 (A, AA)", + category: IGuideline_1.eGuidelineCategory.ACCESSIBILITY, + description: "Rules for WCAG 2.0 A & AA. Referenced by US Section 508, but not the latest W3C recommendation.", + // This ruleset has all 2.0 checkpoints that are A or AA + checkpoints: SCs + .filter(function (sc) { return (sc.level === "A" || sc.level === "AA") && (sc.wcagType === "2.0"); }) + .map(function (sc) { return ({ + num: sc.num, + scId: sc.scId, + name: sc.handle, + wcagLevel: sc.level, + summary: summaries[sc.num] + }); }) + } +]; + + +/***/ }), + +/***/ 1421: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AccNameUtil = void 0; +var ARIADefinitions_1 = __webpack_require__(8235); +var CommonUtil_1 = __webpack_require__(8137); +var AriaUtil_1 = __webpack_require__(490); +var VisUtil_1 = __webpack_require__(8656); +var CacheUtil_1 = __webpack_require__(7788); +var DOMWalker_1 = __webpack_require__(7440); +var DOMUtil_1 = __webpack_require__(295); +var AccNameUtil = /** @class */ (function () { + function AccNameUtil() { + } + // calculate accessible name for a given node + AccNameUtil.computeAccessibleName = function (elem) { + if (!elem) + return null; + var nodeName = elem.nodeName.toLowerCase(); + var name_pair = CacheUtil_1.CacheUtil.getCache(elem, "ELEMENT_ACCESSBLE_NAME", undefined); + if (name_pair !== undefined) + return name_pair; + // 1. name from author, or elements without a role but with aria-labelledby or aria-label + // get aria label even for the role where the name is prohibited or is 'presentation' or 'none' + var accName = AriaUtil_1.AriaUtil.getAriaLabel(elem); + if (accName && accName.trim() !== "") { + CacheUtil_1.CacheUtil.setCache(elem, "ELEMENT_ACCESSBLE_NAME", { "name": CommonUtil_1.CommonUtil.truncateText(accName), "nameFrom": "ariaLabel" }); + return { "name": CommonUtil_1.CommonUtil.truncateText(accName), "nameFrom": "ariaLabel" }; + } + // 2. accessible name mapping for native html elements + name_pair = AccNameUtil.computeAccessibleNameForNativeElement(elem); + if (name_pair) { + CacheUtil_1.CacheUtil.setCache(elem, "ELEMENT_ACCESSBLE_NAME", name_pair); + return name_pair; + } + // 3. name from native or aria attribute + /**name_pair = AccNameUtil.computeAccessibleNameFromAttribute(elem); + if (name_pair) { + CacheUtil.setCache(elem, "ELEMENT_ACCESSBLE_NAME", name_pair); + return name_pair; + }*/ + // 4. name from content for custom elements with a role + var role = AriaUtil_1.AriaUtil.getResolvedRole(elem); + if (ARIADefinitions_1.ARIADefinitions.designPatterns[role] && ARIADefinitions_1.ARIADefinitions.designPatterns[role].nameFrom.includes("contents")) { + name_pair = AccNameUtil.computeAccessibleNameFromContent(elem); + if (name_pair) { + CacheUtil_1.CacheUtil.setCache(elem, "ELEMENT_ACCESSBLE_NAME", name_pair); + return name_pair; + } + } + // 5. name from the global attribute "title" + if (elem.hasAttribute("title")) { + var title = elem.getAttribute("title").trim(); + if (title && title.trim().length > 0) { + title = CommonUtil_1.CommonUtil.truncateText(title); + CacheUtil_1.CacheUtil.setCache(elem, "ELEMENT_ACCESSBLE_NAME", { "name": title, "nameFrom": "title" }); + return { "name": title, "nameFrom": "title" }; + } + } + // 6. name from the attribute "placeholder" + if (nodeName === 'textarea' || (nodeName === 'input' && (!elem.hasAttribute("type") || CommonUtil_1.CommonUtil.input_type_with_placeholder.includes(elem.getAttribute("type"))))) { + var placeholder = elem.getAttribute("placeholder"); + if (placeholder && placeholder.trim().length > 0) { + placeholder = CommonUtil_1.CommonUtil.truncateText(placeholder); + CacheUtil_1.CacheUtil.setCache(elem, "ELEMENT_ACCESSBLE_NAME", { "name": placeholder, "nameFrom": "placeholder" }); + return { "name": placeholder, "nameFrom": "placeholder" }; + } + } + CacheUtil_1.CacheUtil.setCache(elem, "ELEMENT_ACCESSBLE_NAME", null); + return null; + }; + // calculate accessible name for native elements + AccNameUtil.computeAccessibleNameForNativeElement = function (elem) { + var nodeName = elem.nodeName.toLowerCase(); + // labellable fields + if (CommonUtil_1.CommonUtil.form_labelable_elements.includes(nodeName)) { + // Get only the non-hidden labels for element + var label = CommonUtil_1.CommonUtil.getFormFieldLabel(elem); + if (label && label.trim() !== '') + return { "name": CommonUtil_1.CommonUtil.truncateText(label), "nameFrom": "label" }; + } + // input types: button, reset, submit, image + if (nodeName === "input" && elem.hasAttribute("type")) { + if (CommonUtil_1.CommonUtil.form_button_types.includes(elem.getAttribute("type"))) { + // input types: button, reset, submit + // Get the "value" attribute for the element + var value = CommonUtil_1.CommonUtil.getElementAttribute(elem, "value"); + if (value && value.trim() !== '') + return { "name": CommonUtil_1.CommonUtil.truncateText(value), "nameFrom": "value" }; + // input 'submit' and 'reset' have visible defaults so pass if there is no explicit 'value' attribute + var type = elem.getAttribute("type"); + if (type === 'submit' || type === 'reset') + return { "name": type, "nameFrom": "internal" }; + } + else if (elem.getAttribute("type") === 'image') { + // input type = 'image' + // note that though HTML 5 spec indicates "The element's [value] attribute must be omitted", Chrome uses the value. + // Get the accessible name for the alt attribute + var alt = CommonUtil_1.CommonUtil.getElementAttribute(elem, "alt"); + if (alt && alt.trim() !== '') + return { "name": CommonUtil_1.CommonUtil.truncateText(alt), "nameFrom": "alt" }; + ; + // the visible default text for type "image" is "Submit" same with the type "submit" + //return {"name":elem.getAttribute("type"), "nameFrom": "internal"}; + } + } + // button + // note button may have a value attribute, but it's not a visible text + if (nodeName === "button") { + // first use the button text + var text = elem.innerText; + if (text && text.trim() !== '') + return { "name": CommonUtil_1.CommonUtil.truncateText(text), "nameFrom": "text" }; + // for image button: get the first image if exists + var image = elem.querySelector('img'); + if (image && !VisUtil_1.VisUtil.isNodeHiddenFromAT(image) && !VisUtil_1.VisUtil.isNodePresentational(image)) { + var pair = AccNameUtil.computeAccessibleName(image); + if (pair && pair.name && pair.name.trim().length > 0) + return pair; + } + } + // fieldset + if (nodeName === "fieldset") { + // if the fieldset element's first child is a legend element, then use the subtree of the legend + var first = elem.firstElementChild; + if (first && first.nodeName.toLowerCase() === 'legend') { + // legend can be mixed text + var text = first.innerText; + if (text && text.trim().length > 0) + return { "name": CommonUtil_1.CommonUtil.truncateText(text), "nameFrom": "legend" }; + } + } + // output + if (nodeName === "output") { + // if the associated label element exists, use concatenated accessible name(s) from labelled elements. + if (elem.hasAttribute("for")) { + var labelIDs = elem.getAttribute("for").trim().split(" "); + if (labelIDs && labelIDs.length > 0) { + var label = ""; + for (var j = 0; j < labelIDs.length; j++) { + var labelNode = elem.ownerDocument.getElementById(labelIDs[j]); + if (labelNode && !DOMUtil_1.DOMUtil.sameNode(labelNode, elem) && !VisUtil_1.VisUtil.isNodeHiddenFromAT(labelNode) && !VisUtil_1.VisUtil.isNodePresentational(labelNode)) { + var pair = AccNameUtil.computeAccessibleName(labelNode); + if (pair && pair.name && pair.name.trim().length > 0) + label += " " + CommonUtil_1.CommonUtil.normalizeSpacing(pair.name); + } + } + if (label.trim().length > 0) + return { "name": CommonUtil_1.CommonUtil.truncateText(label), "nameFrom": "label" }; + } + } + } + // summary + if (nodeName === "summary") { + // use summary element subtree + var text = elem.innerText; + if (text && text.trim().length > 0) + return { "name": CommonUtil_1.CommonUtil.truncateText(text), "nameFrom": "legend" }; + } + // details + if (nodeName === "details") { + var first = elem.firstElementChild; + if (first && first.nodeName.toLowerCase() === 'summary') { + // get accessible name from summary + var pair = AccNameUtil.computeAccessibleName(first); + if (pair && pair.name && pair.name.trim().length > 0) + return { "name": CommonUtil_1.CommonUtil.truncateText(pair.name.trim()), "nameFrom": "summary" }; + } + // If no summary element as a direct child of the details element, + // the user agent should provide one with a subtree containing a localized string of the word "details". + return { "name": "details", "nameFrom": "internal" }; + } + // figure + if (nodeName === "figure") { + // if the figure element has a figcaption as the first or last child + var caption = elem.firstElementChild; + if (!caption) { + caption = elem.lastElementChild; + if (caption && caption.nodeName.toLowerCase() === 'figcaption') { + // figcaption can be mixed text + var text = caption.innerText; + if (text && text.trim().length > 0) + return { "name": CommonUtil_1.CommonUtil.truncateText(text), "nameFrom": "figcaption" }; + } + } + } + // img elements: use attribute "alt" + if (nodeName === "img") { + if (elem.hasAttribute("alt")) { + var alt = elem.getAttribute("alt"); + return { "name": CommonUtil_1.CommonUtil.truncateText(alt), "nameFrom": "alt" }; + } + } + // area elements: use attribute "alt" + if (nodeName === "area") { + if (elem.hasAttribute("alt")) { + var alt = elem.getAttribute("alt"); + if (alt && alt.trim().length > 0) + return { "name": CommonUtil_1.CommonUtil.truncateText(alt), "nameFrom": "alt" }; + } + } + // table element + if (nodeName === "table") { + // if the figure element has a caption as the first child + var captionElem = elem.firstElementChild; + if (captionElem && captionElem.nodeName.toLowerCase() === 'caption') { + // caption can be mixed text + var caption = captionElem.innerText; + if (caption && caption.trim().length > 0) + return { "name": CommonUtil_1.CommonUtil.truncateText(caption), "nameFrom": "caption" }; + } + } + // a element + if (nodeName === "a") { + // first use the link text + var text = elem.innerText; + if (text && text.trim() !== '') + return { "name": CommonUtil_1.CommonUtil.truncateText(text), "nameFrom": "text" }; + //for image link: get the image or svg if exists + var images = elem.querySelectorAll(":scope > img, :scope > svg"); + if (images && images.length > 0) { + var text_1 = ""; + images.forEach(function (image) { + if (!VisUtil_1.VisUtil.isNodeHiddenFromAT(image) && !VisUtil_1.VisUtil.isNodePresentational(image)) { + var pair = AccNameUtil.computeAccessibleName(image); + if (pair && pair.name && pair.name.trim().length > 0) + text_1 += " " + pair.name.trim(); + } + }); + if (text_1.trim() !== '') + return { "name": text_1.trim(), "nameFrom": "alt" }; + } + } + // optgroup + // label participate in accessible name calculation: https://www.w3.org/TR/html-aam-1.0/#att-label + // The label attribute must be specified. Its value gives the name of the group + // the value is disabled in the interface + if (nodeName === "optgroup" || nodeName === "option" || nodeName === "track") { + var label = elem.getAttribute("label"); + if (label && label.trim().length > 0) + return { "name": CommonUtil_1.CommonUtil.truncateText(label), "nameFrom": "label" }; + } + // svg + if (nodeName === "svg") { + var pair = AccNameUtil.computeAccessibleNameForSVGElement(elem); + if (pair && pair.name && pair.name.trim().length > 0) + return pair; + } + return null; + }; + // calculate accessible name for native elements + AccNameUtil.computeAccessibleNameForSVGElement = function (elem) { + // 1. a direct child or descendant title element + var svgTitles = elem.querySelectorAll(":scope > title"); + if (svgTitles && svgTitles.length > 0) { + var text_2 = ""; + svgTitles.forEach(function (svgTitle) { + if (svgTitle && !VisUtil_1.VisUtil.isNodeHiddenFromAT(svgTitle) && !VisUtil_1.VisUtil.isNodePresentational(svgTitle)) { + var title = svgTitle.textContent; + if (title && title.trim() !== '') + text_2 += title.trim(); + } + }); + if (text_2 && text_2.trim() !== '') + return { "name": text_2.trim(), "nameFrom": "svgTitle" }; + } + // 2. xlink:title attribute on a link + var linkTitle = elem.querySelector("a"); + if (linkTitle && !VisUtil_1.VisUtil.isNodeHiddenFromAT(linkTitle) && !VisUtil_1.VisUtil.isNodePresentational(linkTitle)) { + var link = linkTitle.getAttribute("xlink:title"); + if (link && link.trim() !== '') + return { "name": CommonUtil_1.CommonUtil.truncateText(link), "nameFrom": "svglinkTitle" }; + } + /** 3. for text container elements, the text content. + * note the SVG text content elements are: ‘text’, ‘textPath’ and ‘tspan’. + * svg element can be nested. One of the purposes is to to group SVG shapes together as a collection for responsive design. + * + * select text content excluded the text from the nested svg elements and their children + */ + var text = ""; + elem.querySelectorAll(":scope > *").forEach(function (element) { + if (element.nodeName.toLowerCase() !== 'svg' && !VisUtil_1.VisUtil.isNodeHiddenFromAT(element) && !VisUtil_1.VisUtil.isNodePresentational(element)) { + var value = element.textContent; + if (value && value.trim().length > 0) + text += value; + } + }); + if (text.trim() !== '') + return { "name": CommonUtil_1.CommonUtil.truncateText(text), "nameFrom": "svgText" }; + // 4. from aria-describedby or aria-description + var descby = AriaUtil_1.AriaUtil.getAriaDescription(elem); + if (descby && descby.trim().length > 0) + return { "name": CommonUtil_1.CommonUtil.truncateText(descby), "nameFrom": "aria-description" }; + // 5. a direct child or descendant desc element + var descElems = elem.querySelectorAll(":scope > desc"); + if (descElems && descElems.length > 0) { + var text_3 = ""; + descElems.forEach(function (descElem) { + if (descElem && !VisUtil_1.VisUtil.isNodeHiddenFromAT(descElem) && !VisUtil_1.VisUtil.isNodePresentational(descElem)) { + var desc = descElem.textContent; + if (desc && desc.trim() !== '') + text_3 += desc.trim(); + } + }); + if (text_3 && text_3.trim() !== '') + return { "name": text_3.trim(), "nameFrom": "svgDesc" }; + } + }; + // calculate accessible name for custom elements marked with aria + AccNameUtil.computeAccessibleNameFromContent = function (elem) { + var nodeName = elem.nodeName.toLowerCase(); + var role = AriaUtil_1.AriaUtil.getResolvedRole(elem); + /** for acc name from content, the content from CSS pseudo-elements + * :before and :after pseudo elements [CSS2] can provide textual content for elements that have a content model. + * For :before or :after pseudo elements, user agents must prepend CSS textual content, without a space, + * to the textual content of the current node. + */ + var pair = AccNameUtil.computeAccessibleNameForCSSPseudoElement(elem, "before"); + if (pair !== null && pair.name && pair.name.trim().length > 0) + return pair; + pair = AccNameUtil.computeAccessibleNameForCSSPseudoElement(elem, "after"); + if (pair && pair.name && pair.name.trim().length > 0) + return pair; + // shadow host + if (elem.shadowRoot) { + pair = AccNameUtil.computeAccessibleNameForShadowHost(elem); + if (pair && pair.name && pair.name.trim().length > 0) + return { "name": pair.name, "nameFrom": "shadow" }; + ; + } + // slot element + if (nodeName === "slot") { + pair = AccNameUtil.computeAccessibleNameForSlostElement(elem); + if (pair && pair.name && pair.name.trim().length > 0) + return { "name": pair.name, "nameFrom": "slot" }; + } + // otherwise: get the value from the element + pair = AccNameUtil.computeAccessibleNameFromChildren(elem); + if (pair && pair.name && pair.name.trim().length > 0) + return { "name": pair.name, "nameFrom": "content" }; + // no accessible name exists + return null; + }; + // calculate accessible name from CSS generated content + AccNameUtil.computeAccessibleNameForCSSPseudoElement = function (elem, type) { + var contentElem = elem.ownerDocument.defaultView.getComputedStyle(elem, type); + if (contentElem) { + var content = contentElem.content; + if (content && content !== "none") { + content = content.replace(/^"/, "").replace(/"$/, ""); + if (content.trim().length > 0) + return { "name": CommonUtil_1.CommonUtil.truncateText(content), "nameFrom": "css-" + type }; + } + } + return null; + }; + // calculate accessible name for SLOT element + AccNameUtil.computeAccessibleNameForShadowHost = function (elem) { + var text = ""; + var shadowRoot = elem.shadowRoot; + if (shadowRoot) { + var children = shadowRoot.querySelectorAll('*'); + // check text from all the children elements + children.forEach(function (child) { + var pair = AccNameUtil.computeAccessibleName(child); + if (pair && pair.name && pair.name.trim().length > 0) + text += " " + pair.name.trim(); + }); + } + if (text.trim().length > 0) + return { "name": CommonUtil_1.CommonUtil.truncateText(text), "nameFrom": "shadow-host" }; + return null; + }; + // calculate accessible name for SLOT element + AccNameUtil.computeAccessibleNameForSlostElement = function (elem) { + //if no assignedNode, check its own text + var text = ""; + if (!elem.assignedNodes() || elem.assignedNodes().length === 0) { + var pair = AccNameUtil.computeAccessibleName(elem); + if (pair && pair.name && pair.name.trim().length > 0) + text += " " + pair.name.trim(); + } + else { + // check text from all assigned nodes + for (var _i = 0, _a = elem.assignedNodes(); _i < _a.length; _i++) { + var slotChild = _a[_i]; + var pair = AccNameUtil.computeAccessibleName(slotChild); + if (pair && pair.name && pair.name.length > 0) + text += " " + pair.name.trim(); + } + } + if (text.trim().length > 0) + return { "name": CommonUtil_1.CommonUtil.truncateText(text), "nameFrom": "content-slot" }; + return null; + }; + // calculate accessible name from children content + AccNameUtil.computeAccessibleNameFromChildren = function (elem) { + var text = ""; + //let walkChild = elem.firstChild; + var nw = new DOMWalker_1.DOMWalker(elem); + // Loop over all the childrens of the element to get the text + while (nw.nextNode() && nw.node !== elem && nw.node !== elem.parentNode) { + //while (walkChild) { + var walkChild = nw.node; + if (walkChild.nodeType === 3) { + // for the text node, get the parentnode to check visibility + var parent_1 = walkChild.parentElement; + if (!VisUtil_1.VisUtil.isNodeHiddenFromAT(parent_1) && !VisUtil_1.VisUtil.isNodePresentational(parent_1) && walkChild.nodeValue && walkChild.nodeValue.trim().length > 0) + text += " " + walkChild.nodeValue.trim(); + } + else if (walkChild.nodeType === 1 && !VisUtil_1.VisUtil.isNodeHiddenFromAT(walkChild) && !VisUtil_1.VisUtil.isNodePresentational(walkChild)) { + var pair = AccNameUtil.computeAccessibleName(walkChild); + if (pair && pair.name && pair.name.length > 0) + text += " " + pair.name.trim(); + } + } + if (text.trim().length > 0) + return { "name": CommonUtil_1.CommonUtil.truncateText(text), "nameFrom": "content" }; + return null; + }; + return AccNameUtil; +}()); +exports.AccNameUtil = AccNameUtil; + + +/***/ }), + +/***/ 490: +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { + if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { + if (ar || !(i in from)) { + if (!ar) ar = Array.prototype.slice.call(from, 0, i); + ar[i] = from[i]; + } + } + return to.concat(ar || Array.prototype.slice.call(from)); +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AriaUtil = void 0; +var CacheUtil_1 = __webpack_require__(7788); +var ARIADefinitions_1 = __webpack_require__(8235); +var ARIAMapper_1 = __webpack_require__(4944); +var DOMWalker_1 = __webpack_require__(7440); +var VisUtil_1 = __webpack_require__(8656); +var CommonUtil_1 = __webpack_require__(8137); +var fragment_1 = __webpack_require__(482); +var DOMUtil_1 = __webpack_require__(295); +var AriaUtil = /** @class */ (function () { + function AriaUtil() { + } + AriaUtil.isDefinedAriaAttributeAtIndex = function (ele, index) { + var attrName = ele.attributes[index].name; + return AriaUtil.isDefinedAriaAttribute(ele, attrName); + }; + /** + * this method returns user-defined aria attribute name from dom + * @param ele element + * @returns user defined aria attributes + */ + AriaUtil.getUserDefinedAriaAttributes = function (elem) { + var ariaAttributes = []; + var domAttributes = elem.attributes; + if (domAttributes) { + for (var i = 0; i < domAttributes.length; i++) { + var attrName = domAttributes[i].name.trim().toLowerCase(); + var isAria = attrName.substring(0, 5) === 'aria-'; + if (isAria) + ariaAttributes.push(attrName); + } + } + return ariaAttributes; + }; + /** + * this method returns user-defined html attribute name from dom + * @param ele element + * @returns user defined html attributes + */ + AriaUtil.getUserDefinedHtmlAttributes = function (elem) { + var htmlAttributes = []; + var domAttributes = elem.attributes; + if (domAttributes) { + for (var i = 0; i < domAttributes.length; i++) { + var attrName = domAttributes[i].name.trim().toLowerCase(); + var isAria = attrName.substring(0, 5) === 'aria-'; + if (!isAria) + htmlAttributes.push(attrName); + } + } + return htmlAttributes; + }; + /** + * this method returns user-defined aria attribute name-value pair from dom + * @param ele element + * @returns user defined aria attributes + */ + AriaUtil.getUserDefinedAriaAttributeNameValuePairs = function (elem) { + var ariaAttributes = []; + var domAttributes = elem.attributes; + if (domAttributes) { + for (var i = 0; i < domAttributes.length; i++) { + var attrName = domAttributes[i].name.trim().toLowerCase(); + var attrValue = elem.getAttribute(attrName); + if (attrValue === '') + attrValue = null; + var isAria = attrName.substring(0, 5) === 'aria-'; + if (isAria) + ariaAttributes.push({ name: attrName, value: attrValue }); + } + } + return ariaAttributes; + }; + /** + * this method returns user-defined html attribute name-value pair from dom + * @param ele element + * @returns user defined html attributes + */ + AriaUtil.getUserDefinedHtmlAttributeNameValuePairs = function (elem) { + var htmlAttributes = []; + var domAttributes = elem.attributes; + if (domAttributes) { + for (var i = 0; i < domAttributes.length; i++) { + var attrName = domAttributes[i].name.trim().toLowerCase(); + var attrValue = elem.getAttribute(attrName); + if (attrValue === '') + attrValue = null; + var isAria = attrName.substring(0, 5) === 'aria-'; + if (!isAria) + htmlAttributes.push({ name: attrName, value: attrValue }); + } + } + return htmlAttributes; + }; + /** + * This method handles implicit aria definitions, for example, an input with checked is equivalent to aria-checked="true" + */ + AriaUtil.getAriaAttribute = function (ele, attributeName) { + // If the attribute is defined, it takes precedence + var retVal = ele.getAttribute(attributeName); + if (ele.hasAttribute(attributeName) && retVal.trim() === "") { //"" is treated as false, so we need return it before the below check + return retVal; + } + // Then determine implicit values from other attributes + if (!retVal) { + var tag = ele.nodeName.toLowerCase(); + if (attributeName in AriaUtil.ariaAttributeImplicitMappings) { + if (tag in AriaUtil.ariaAttributeImplicitMappings[attributeName]) { + retVal = AriaUtil.ariaAttributeImplicitMappings[attributeName][tag]; + if (typeof (retVal) === "function") { + retVal = retVal(ele); + } + } + else if ("*" in AriaUtil.ariaAttributeImplicitMappings[attributeName]) { + retVal = AriaUtil.ariaAttributeImplicitMappings[attributeName]["*"]; + if (typeof (retVal) === "function") { + retVal = retVal(ele); + } + } + } + } + // Check role-based defaults + if (!retVal) { + var role = ARIAMapper_1.ARIAMapper.nodeToRole(ele); + if (role in AriaUtil.ariaAttributeRoleDefaults && attributeName in AriaUtil.ariaAttributeRoleDefaults[role]) { + retVal = AriaUtil.ariaAttributeRoleDefaults[role][attributeName]; + if (typeof (retVal) === "function") { + retVal = retVal(ele); + } + } + } + // Still not defined? Check global defaults + if (!retVal && attributeName in AriaUtil.ariaAttributeGlobalDefaults) { + retVal = AriaUtil.ariaAttributeGlobalDefaults[attributeName]; + } + return retVal; + }; + AriaUtil.isDefinedAriaAttribute = function (ele, attrName) { + var isDefinedAriaAttribute = false; + if (attrName.substring(0, 5) === 'aria-') { + // User agents SHOULD treat state and property attributes with a value of "" the same as they treat an absent attribute. + isDefinedAriaAttribute = ele.hasAttribute && ele.hasAttribute(attrName) && ele.getAttribute(attrName).length > 0; + } + return isDefinedAriaAttribute; + }; + /** + * WAI-ARIA’s role attribute may have a list of values, but only the first valid and supported WAI-ARIA role is used + * https://www.w3.org/TR/wai-aria-implementation/#mapping_role_table + * This function is responsible for retrieving the resoled role for an element. + * @parm {HTMLElement} ele - element for which to find role. + * + * @return string - resolved role for the element: + * explicit role: resoled from the list of values + * implicit role: if not explicitely specified, or none of the specified role values is allowed for the element + * null: if none of the specified role values is allowed for the element, neither implicit role exists + * + * @memberOf AriaUtil + */ + AriaUtil.getResolvedRole = function (elem, considerImplicitRoles) { + if (considerImplicitRoles === void 0) { considerImplicitRoles = true; } + if (!elem) + return null; + var role = CacheUtil_1.CacheUtil.getCache(elem, "RPTUTIL_ELEMENT_RESOLVED_ROLE", null); + if (role === null) { + var roles = AriaUtil.getUserDefinedRoles(elem); + var tagProperty = AriaUtil.getElementAriaProperty(elem); + var allowedRoles = AriaUtil.getAllowedAriaRoles(elem, tagProperty); + var containsGeneric = false; + if (roles && roles.length > 0 && allowedRoles && allowedRoles.length > 0) { + for (var i = 0; i < roles.length; i++) { + if (allowedRoles.includes("any") || allowedRoles.includes(roles[i])) { + if (allowedRoles.includes("any") && roles[i] === 'generic') { + containsGeneric = true; + continue; + } + role = roles[i]; + if (role === "presentation" || role === "none") { + // If element is focusable, then presentation roles are to be ignored + if (CommonUtil_1.CommonUtil.isFocusable(elem)) { + //reset rule to null + role = null; + continue; + } + } + break; + } + } + if (containsGeneric) + role = 'generic'; + } + if (role === null && considerImplicitRoles) { + var implicitRole = AriaUtil.getImplicitRole(elem); + role = implicitRole && implicitRole.length > 0 ? implicitRole[0] : undefined; + } + CacheUtil_1.CacheUtil.setCache(elem, "RPTUTIL_ELEMENT_RESOLVED_ROLE", role); + } + return role !== undefined ? role : null; + }; + /** + * This function is responsible for retrieving user defined element's roles from dom. + * @parm {HTMLElement} ele - element for which to find role. + * + * @return {List} roles - list of user defined roles in the element role attribute. + * + * @memberOf AriaUtil + */ + AriaUtil.getUserDefinedRoles = function (ele) { + return AriaUtil.getRoles(ele, false); + }; + /** + * This function is responsible for retrieving element's roles. + * This function also finds implicit roles. + * @parm {HTMLElement} ele - element for which to find role. + * @parm {bool} considerImplicitRoles - true or false based on if implicit roles setting should be considered. + * + * @return {List} roles - list of attribute roles and implicit roles. + * + * @memberOf AriaUtil + */ + AriaUtil.getRoles = function (ele, considerImplicitRoles) { + var roles = []; + if (ele && ele.hasAttribute && ele.hasAttribute("role")) { + var attrRoles = CommonUtil_1.CommonUtil.normalizeSpacing(ele.getAttribute("role").trim()).split(" "); + for (var i = 0; i < attrRoles.length; ++i) { + roles.push(attrRoles[i]); + } + } + //check if implicit roles exist. + //Note: element can have multiple implicit roles + if (considerImplicitRoles) { + var implicitRole = AriaUtil.getImplicitRole(ele); + if (implicitRole !== null && implicitRole.length > 0) { + //add implicit roles to the attributes roles. + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(implicitRole, roles); + } + } + return roles; + }; + /** + * Returns the implicit role of the elemement + * @parm {HTMLElement} ele - element for which to find role. + * + * @return the implicit role or [] if doesn't exist + * + * @memberOf AriaUtil + */ + AriaUtil.getImplicitRole = function (ele) { + if (!ele || ele.nodeType !== 1) + return null; + var implicitRoles = CacheUtil_1.CacheUtil.getCache(ele, "AriaUtil_ImplicitRole", null); + if (!implicitRoles) { + var tagProperty = AriaUtil.getElementAriaProperty(ele); + // check if there are any implicit roles for this element. + if (tagProperty && tagProperty.implicitRole) { + if (tagProperty.implicitRole.includes("generic")) { + // the 'generic' role is only allowed if a valid aria attribute exists. + var domAriaAttributes_1 = AriaUtil.getUserDefinedAriaAttributes(ele); + if (domAriaAttributes_1.length === 0) { + CacheUtil_1.CacheUtil.setCache(ele, "AriaUtil_ImplicitRole", []); + return []; + } + var roleAttributes = []; + var pattern = ARIADefinitions_1.ARIADefinitions.designPatterns['generic']; + if (pattern.reqProps && pattern.reqProps.length > 0) + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(pattern.reqProps, roleAttributes); + if (tagProperty.globalAriaAttributesValid) + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(ARIADefinitions_1.ARIADefinitions.globalProperties, roleAttributes); + if (pattern.deprecatedProps && pattern.deprecatedProps.length > 0) + CommonUtil_1.CommonUtil.reduceArrayItemList(pattern.deprecatedProps, roleAttributes); + // remove 'generic' role if roleAttributes doesn't contain any of domAriaAttributes + if (roleAttributes.length > 0 && !roleAttributes.some(function (attr) { return domAriaAttributes_1.includes(attr); })) { + var implicit = CommonUtil_1.CommonUtil.reduceArrayItemList(['generic'], tagProperty.implicitRole); + CacheUtil_1.CacheUtil.setCache(ele, "AriaUtil_ImplicitRole", implicit); + return implicit; + } + } + CacheUtil_1.CacheUtil.setCache(ele, "AriaUtil_ImplicitRole", tagProperty.implicitRole); + return tagProperty.implicitRole; + } + CacheUtil_1.CacheUtil.setCache(ele, "AriaUtil_ImplicitRole", []); + return []; + } + return implicitRoles; + }; + /** + * Returns the required properties of the role + * @parm {string} role - the role + * @parm {HTMLElement} ele - element for which to find role. + * + * @return {List} properties - list of properties that are required by the role + * + * @memberOf AriaUtil + */ + AriaUtil.getRoleRequiredProperties = function (role, ele) { + if (role === null) { + return null; + } + if (ARIADefinitions_1.ARIADefinitions.designPatterns[role]) { + var requiredAttributes = ARIADefinitions_1.ARIADefinitions.designPatterns[role].reqProps; + // handle special case of separator + if (role.toLowerCase() === "separator" && ele && CommonUtil_1.CommonUtil.isFocusable(ele)) { + requiredAttributes = CommonUtil_1.CommonUtil.concatUniqueArrayItemList(["aria-valuenow"], requiredAttributes || []); + } + return requiredAttributes; + } + else { + return null; + } + }; + /** + * This function is responsible for finding if a element has given role. + * This function aslo finds if element has given roles as implicit role. + * @parm {HTMLElement} ele - element for which to find role. + * @parm {list or string} roles - List or single role for which to find if element has these roles. + * @parm {bool} considerImplicitRoles - true or false based on if implicit roles setting should be considered. + * + * @return {List} retVal - true or false based on if th element has the specified role. + * + * @memberOf AriaUtil + * + * Consider to use hasRoleInSemantics() instead. + */ + AriaUtil.hasRole = function (ele, role, considerImplicitRoles) { + var retVal = false; + if (ele && ele.hasAttribute && ele.hasAttribute("role")) { + if (typeof (role) != typeof ("")) { + var roles = ele.getAttribute("role").trim().split(" "); + for (var i = 0; !retVal && i < roles.length; ++i) { + retVal = roles[i] in role; + } + } + else { + var roles = ele.getAttribute("role").trim().split(" "); + for (var i = 0; !retVal && i < roles.length; ++i) { + retVal = roles[i] === role; + } + } + } + //if none of the the attribute roles matched with given role + //check if implicit roles matches. + //Note: element can have multiple implicit roles + if (!retVal && considerImplicitRoles) { + var wRoles = []; + //check if there are any implicit roles for this element. + var implicitRole = AriaUtil.getImplicitRole(ele); + if (implicitRole !== null && implicitRole.length > 0) { + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(implicitRole, wRoles); + //if role is array loop thru and see if any of the implicit role present in the array + if (typeof (role) != typeof ("")) { + for (var i = 0; !retVal && i < wRoles.length; ++i) { + retVal = wRoles[i] in role; + } + } + else { + for (var i = 0; !retVal && i < wRoles.length; ++i) { + retVal = wRoles[i] === role; + } + } + } + } + return retVal; + }; + /** + * Checks if the element has the role, including the implied role if role is not explicitly specified. + * + * This function is replacing the hasRole function + * + * @parm {HTMLElement} ele - element for which to find role. + * @parm {list or string} roles - List or single role for which to find if element has these roles. + * + * @return {List} retVal - true or false based on if the element has the specified role. + * + * @memberOf AriaUtil + */ + AriaUtil.hasRoleInSemantics = function (ele, role) { + var retVal = false; + var roleSpecified = false; + if (ele && ele.hasAttribute && ele.hasAttribute("role")) { + if (typeof (role) != typeof ("")) { + var roles = ele.getAttribute("role").trim().toLowerCase().split(/\s+/); + for (var i = 0; !retVal && i < roles.length; ++i) { + roleSpecified = true; + retVal = roles[i] in role; + } + } + else { + var roles = ele.getAttribute("role").trim().toLowerCase().split(/\s+/); + for (var i = 0; !retVal && i < roles.length; ++i) { + roleSpecified = true; + retVal = roles[i] === role; + } + } + } + if (roleSpecified) { + return retVal; + } + //check if implicit roles matches. + //Note: element can have multiple implicit roles + //check if there are any implicit roles for this element. + var impRoles = AriaUtil.getImplicitRole(ele); + if (impRoles !== null && impRoles.length > 0) { + //if role is array loop thru and see if any of the implicit role present in the array + if (typeof (role) != typeof ("")) { + for (var i = 0; !retVal && i < impRoles.length; ++i) { + retVal = impRoles[i] in role; + } + } + else { + for (var i = 0; !retVal && i < impRoles.length; ++i) { + retVal = impRoles[i] === role; + } + } + } + return retVal; + }; + /** + * This function is responsible for finding if a element has given role. + * This function also checks if element has given roles as implicit roles. + * @parm {HTMLElement} ele - element for which to find role. + * @parm {bool} considerImplicitRoles - true or false based on if implicit roles setting should be considered. + * + * @return {bool} retVal - true or false based on if the element has the specified role. + * + * @memberOf AriaUtil + */ + AriaUtil.hasAnyRole = function (ele, considerImplicitRoles) { + var retVal = false; + if (ele && ele.hasAttribute && ele.hasAttribute("role")) { + retVal = true; + } + //check if implicit roles exist. + //Note: element can have multiple implicit roles + if (!retVal && considerImplicitRoles) { + //check if there are any implicit roles for this element. + var impRoles = AriaUtil.getImplicitRole(ele); + if (impRoles !== null && impRoles.length > 0) + retVal = true; + } + return retVal; + }; + AriaUtil.isPresentationalElement = function (node) { + // Elements extracted from https://developer.mozilla.org/en/docs/Web/HTML/Element#Inline_text_semantics, + // http://dev.w3.org/html5/html-author/#text-level-semantics and https://wiki.whatwg.org/wiki/Presentational_elements_and_attributes + var presentationalElements = ["abbr", "b", "bdi", "bdo", "br", "cite", "code", "data", "dfn", + "em", "i", "kbd", "mark", "q", "rp", "rt", "rtc", "ruby", "s", + "samp", "small", "span", "strong", "sub", "sup", "time", "u", + "var", "wbr", "a", "progress", "meter", "basefont", "big", "center", + "strike", "tt", "font", "blink", "h1", "h2", "h3", "h4", "h5", "h6", + "hr", "blockquote", "p" + ]; + return CommonUtil_1.CommonUtil.valInArray(node.nodeName.toLowerCase(), presentationalElements); + }; + /** + * return the ancestor of the given element and role. + * + * @parm {element} element - The element to start the node walk on to find parent node + * @parm {string} role - The role to search for on an element under the provided element + * @parm {bool} considerImplicitRoles - true or false based on if implicit roles setting should be considered. + * + * @return {node} walkNode - A parent node of the element passed in, which has the provided role + * + * @memberOf AriaUtil + */ + AriaUtil.getAncestorWithRole = function (element, roleName, considerImplicitRoles) { + var walkNode = DOMWalker_1.DOMWalker.parentNode(element); + while (walkNode !== null) { + if (considerImplicitRoles) { + if (AriaUtil.hasRoleInSemantics(walkNode, roleName)) { + break; + } + } + else { + if (AriaUtil.hasRole(walkNode, roleName, false)) { + break; + } + } + walkNode = DOMWalker_1.DOMWalker.parentNode(walkNode); + } + return walkNode; + }; + /** + * return the ancestor of the given element and roles. + * + * @parm {element} element - The element to start the node walk on to find parent node + * @parm {array} roles - the role names to search for + * @parm {bool} considerImplicitRoles - true or false based on if implicit roles setting should be considered. + * + * @return {node} walkNode - A parent node of the element passed in, which has the provided role + * + * @memberOf AriaUtil + */ + AriaUtil.getAncestorWithRoles = function (element, roleNames) { + if (!element || !roleNames || !roleNames.length || roleNames.length === 0) + return null; + var walkNode = element; + while (walkNode !== null) { + var role = AriaUtil.getResolvedRole(walkNode); + if (role !== null && roleNames.includes(role)) + return walkNode; + walkNode = DOMWalker_1.DOMWalker.parentNode(walkNode); + } + return null; + }; + /** + * return the roles with given role type. + * + * @parm {element} element - The element to start the node walk on to find parent node + * @parm {array} roleTyples - role types, such as 'widget', 'structure' etc. + * + * @return {array} roles - A parent node of the element passed in, which has the provided role + * + * @memberOf AriaUtil + */ + AriaUtil.getRolesWithTypes = function (element, types) { + if (!element || !types || !types.length || types.length === 0) + return null; + var roles = CacheUtil_1.CacheUtil.getCache(element.ownerDocument, "roles_with_given_types", null); + if (!roles || roles.length === 0) { + roles = []; + Object.entries(ARIADefinitions_1.ARIADefinitions.designPatterns).forEach(function (_a) { + var key = _a[0], value = _a[1]; + if (types.includes(value.roleType)) + roles.push(key); + }); + CacheUtil_1.CacheUtil.setCache(element.ownerDocument, "roles_with_given_types", roles); + } + return roles; + }; + /** + * return the roles with given role type. + * + * @parm {element} element - The element to start the node walk on to find parent node + * @parm {array} roleTyples - role types, such as 'widget', 'structure' etc. + * + * @return {array} roles - A parent node of the element passed in, which has the provided role + * + * @memberOf AriaUtil + */ + AriaUtil.isWidget = function (element) { + if (!element) + return false; + var widget = CacheUtil_1.CacheUtil.getCache(element.ownerDocument, "is_element_widget", null); + if (widget === null) { + var ret = false; + var role = AriaUtil.getResolvedRole(element); + if (role && ARIADefinitions_1.ARIADefinitions.designPatterns[role] && ARIADefinitions_1.ARIADefinitions.designPatterns[role].roleType === 'widget') + ret = true; + CacheUtil_1.CacheUtil.setCache(element.ownerDocument, "is_element_widget", ret); + return ret; + } + return widget; + }; + /** + * This function is responsible for finding a node which matches the role and is a sibling of the + * provided element. + * + * This function by default will not consider Check Hidden Setting at all. + * + * Note: This is a wrapper function to: AriaUtil.getSiblingWithRoleHidden + * + * @parm {element} element - The element to start the node walk on to find sibling node + * @parm {string} role - The role to search for on an element under the provided element + * + * @return {node} walkNode - A sibling node of the element passed in, which has the provided role + * + * @memberOf AriaUtil + */ + AriaUtil.getSiblingWithRole = function (element, role) { + return AriaUtil.getSiblingWithRoleHidden(element, role, false); + }; + /** + * This function is responsible for finding a node which matches the role and is a sibling of the + * provided element. + * + * This function also considers implicit roles for the elements. + * + * This function will also consider elements that are hidden based on the if the Check + * Hidden Content settings should be considered or not. + * + * @parm {element} element - The element to start the node walk on to find sibling node + * @parm {string} role - The role to search for on an element under the provided element + * @parm {bool} considerHiddenSetting - true or false based on if hidden setting should be considered. + * @parm {bool} considerImplicit - true or false based on if Implicit roles should be considered. + * + * @return {node} walkNode - A sibling node of the element passed in, which has the provided role + * + * @memberOf AriaUtil + */ + AriaUtil.getSiblingWithRoleHidden = function (element, role, considerHiddenSetting, considerImplicitRole) { + // Variable Declaration + var walkNode = null; + var hasRole = false; + // Only perform the check if element and role are both provided + if (element && role) { + // Fetch the next sibling element + walkNode = element.nextSibling; + // Keep looping over the next siblings to find element which matches + // the provided role. + while (walkNode !== null && !hasRole) { + // Following are the steps that are executed at this stage to determine if the node should be classified as hidden + // or not. + // 1. If considerHiddenSetting option is set to true then we perform the check to consider the + // Check Hidden Content that is provided. + // 2. Only run isNodeVisible check if hidden content should NOT be checked. In the case that hidden content is to, + // be scanned then we can just scan everything as normal. In the case that the current node is hidden we do not + // add it to the roleToElems hash at all or even do any checking for it at all. + // + // Note: The if conditions uses short-circuiting so if the first condition is not true it will not check the next one, + // so on and so forth. + if (considerHiddenSetting && CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(walkNode)) { + // Move on to the next node + walkNode = walkNode.nextSibling; + continue; + } + // Check if this node has the role that we need to check exists + if (considerImplicitRole) { + hasRole = AriaUtil.hasRoleInSemantics(walkNode, role); + } + else { + hasRole = AriaUtil.hasRole(walkNode, role, false); + } + // Move on to the next node + walkNode = walkNode.nextSibling; + } + // If we still have not found a node that matches the role, start a reverse look up + if (!walkNode) { + // Fetch the previous Sibling of this element + walkNode = element.previousSibling; + // Keep looping over all the previous siblings to search for an element which + // matches the provided role. + while (walkNode !== null && !hasRole) { + // Following are the steps that are executed at this stage to determine if the node should be classified as hidden + // or not. + // 1. If considerHiddenSetting option is set to true then we perform the check to consider the + // Check Hidden Content that is provided. + // 2. Only run isNodeVisible check if hidden content should NOT be checked. In the case that hidden content is to, + // be scanned then we can just scan everything as normal. In the case that the current node is hidden we do not + // add it to the roleToElems hash at all or even do any checking for it at all. + // + // Note: The if conditions uses short-circuiting so if the first condition is not true it will not check the next one, + // so on and so forth. + if (considerHiddenSetting && CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(walkNode)) { + // Move on to the next node + walkNode = walkNode.previousSibling; + continue; + } + // Check if this node has the role that we need to check exists + hasRole = AriaUtil.hasRole(walkNode, role, considerImplicitRole); + // Move on to the next node + walkNode = walkNode.previousSibling; + } + } + } + return walkNode; + }; + /** + * This function is responsible for getting a descendant element with the specified role, under + * the element that was provided. + * + * Note by default this function will not consider the Check Hidden Content Setting. + * + * Note: This is a wrapper function to: AriaUtil.getDescendantWithRoleHidden + * + * @parm {element} element - parent element for which we will be checking descendants for + * @parm {string} roleName - The role to look for on the descendant's elements + * + * @return {node} - The descendant element that matches the role specified (only one) + * + * @memberOf AriaUtil + */ + AriaUtil.getDescendantWithRole = function (element, roleName) { + return AriaUtil.getDescendantWithRoleHidden(element, roleName, false); + }; + /** + * This function is responsible for getting a descendant element with the specified role, under + * the element that was provided. This function aslo finds elements with implicit roles. + * + * @parm {element} element - parent element for which we will be checking descendants for + * @parm {string} roleName - The role to look for on the descendant's elements + * @parm {bool} considerHiddenSetting - true or false based on if hidden setting should be considered. + * @parm {bool} considerImplicitRoles - true or false based on if implicit roles setting should be considered. + * + * @return {node} - The descendant element that matches the role specified (only one) + * + * @memberOf AriaUtil + */ + AriaUtil.getDescendantWithRoleHidden = function (element, roleName, considerHiddenSetting, considerImplicitRoles) { + // Variable Decleration + var descendant = null; + //let nw = new NodeWalker(element); + var nw = new DOMWalker_1.DOMWalker(element); + // Loop over all the childrens of the element provided and check if the rolename provided exists + while (nw.nextNode() && nw.node != element && nw.node != element.nextSibling) { + // Following are the steps that are executed at this stage to determine if the node should be classified as hidden + // or not. + // 1. If considerHiddenSetting option is set to true then we perform the check to consider the + // Check Hidden Content that is provided. + // 2. Only run isNodeVisible check if hidden content should NOT be checked. In the case that hidden content is to, + // be scanned then we can just scan everything as normal. In the case that the current node is hidden we do not + // add it to the roleToElems hash at all or even do any checking for it at all. + // + // Note: The if conditions uses short-circuiting so if the first condition is not true it will not check the next one, + // so on and so forth. + if (considerHiddenSetting && CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(nw.node)) { + continue; + } + // Check if this node has the role specified, if it does then set this as the descendant and stop checking the rest of the + // nodes. + // Check if this node has the implicit roles, if it does then set this as the descendant and stop checking the rest of the + // nodes. + if (considerImplicitRoles ? AriaUtil.hasRoleInSemantics(nw.node, roleName) : AriaUtil.hasRole(nw.node, roleName, false)) { + descendant = nw.node; + break; + } + } + return descendant; + }; + /** + * This function is responsible for getting All descendant elements with the specified roles, under + * the element that was provided. This function aslo finds elements with implicit roles. + * + * @parm {element} element - parent element for which we will be checking descendants for + * @parm {string[]} roleNames - The roles to look for on the descendant's elements + * @parm {bool} considerHiddenSetting - true or false based on if hidden setting should be considered. + * @parm {bool} considerImplicitRoles - true or false based on if implicit roles setting should be considered. + * + * @return {node[]} - all descendant elements that match the roles specified + * + * @memberOf AriaUtil + */ + AriaUtil.getAllDescendantsWithRoles = function (element, roleNames, considerHiddenSetting, considerImplicitRoles) { + if (!roleNames || roleNames.length === 0) + return; + // Variable Decleration + var descendants = []; + roleNames.forEach(function (roleName) { + var kids = AriaUtil.getAllDescendantsWithRoleHidden(element, roleName, considerHiddenSetting, considerImplicitRoles); + if (kids && kids.length > 0) + descendants = descendants.concat(kids); + }); + return descendants; + }; + /** + * This function is responsible for getting All descendant elements with the specified role, under + * the element that was provided. This function aslo finds elements with implicit roles. + * + * @parm {element} element - parent element for which we will be checking descendants for + * @parm {string} roleName - The role to look for on the descendant's elements + * @parm {bool} considerHiddenSetting - true or false based on if hidden setting should be considered. + * @parm {bool} considerImplicitRoles - true or false based on if implicit roles setting should be considered. + * + * @return {node[]} - The descendant elements that match the role specified + * + * @memberOf AriaUtil + */ + AriaUtil.getAllDescendantsWithRoleHidden = function (element, roleName, considerHiddenSetting, considerImplicitRoles) { + // Variable Decleration + var descendants = []; + //let nw = new NodeWalker(element); + var nw = new DOMWalker_1.DOMWalker(element); + // Loop over all the childrens of the element provided and check if the rolename provided exists + while (nw.nextNode() && nw.node != element && nw.node != element.nextSibling) { + if (nw.bEndTag) { + continue; + } + // Following are the steps that are executed at this stage to determine if the node should be classified as hidden + // or not. + // 1. If considerHiddenSetting option is set to true then we perform the check to consider the + // Check Hidden Content that is provided. + // 2. Only run isNodeVisible check if hidden content should NOT be checked. In the case that hidden content is to, + // be scanned then we can just scan everything as normal. In the case that the current node is hidden we do not + // add it to the roleToElems hash at all or even do any checking for it at all. + // + // Note: The if conditions uses short-circuiting so if the first condition is not true it will not check the next one, + // so on and so forth. + if (considerHiddenSetting && CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(nw.node)) { + continue; + } + // Check if this node has the role specified, if it does then set this as the descendant and stop checking the rest of the + // nodes. + // Check if this node has the implicit roles, if it does then set this as the descendant and stop checking the rest of the + // nodes. + if (AriaUtil.hasRole(nw.node, roleName, considerImplicitRoles)) { + descendants.push(nw.node); + } + } + return descendants; + }; + /** + * This function is responsible for getting All direct children in AT tree with a role (exclude none and presentation) + * + * @parm {element} element - parent element for which we will be checking children for + * @return {node} - The direct child elements in AT tree that has a role + * + * @memberOf AriaUtil + */ + AriaUtil.getDirectATChildren = function (element) { + var requiredChildRoles = AriaUtil.getRequiredChildRoles(element, true); + var direct = []; + AriaUtil.retrieveDirectATChildren(element, requiredChildRoles, direct); + return direct; + }; + /** + * This function is responsible for recursively any child path till either no child or a child with a role is found (exclude none and presentation) + * + * @parm {element} element - parent element for which we will be checking children for + * @return {node} - The direct child elements in AT tree + * + * @memberOf AriaUtil + */ + AriaUtil.retrieveDirectATChildren = function (element, requiredChildRoles, direct) { + var children = []; + if (element.children !== null && element.children.length > 0) { + for (var i = 0; i < element.children.length; i++) { + children.push(element.children[i]); + } + } + // if the element contains "aria-own" attribute, then the aria-owned children need to be included too + var owned = element.getAttribute("aria-owns"); + if (owned) { + var doc = element.ownerDocument; + if (doc) { + var ownedIds = owned.split(" "); + for (var i = 0; i < ownedIds.length; i++) { + var ownedElem = doc.getElementById(ownedIds[i]); + if (ownedElem) { + children.push(ownedElem); + } + } + } + } + if (children.length > 0) { + for (var i = 0; i < children.length; i++) { + //ignore hidden and invisible child + if (VisUtil_1.VisUtil.isNodeHiddenFromAT(children[i]) || !VisUtil_1.VisUtil.isNodeVisible(children[i])) + continue; + var roles = AriaUtil.getRoles(children[i], false); + if (roles === null || roles.length === 0) { + roles = AriaUtil.getImplicitRole(children[i]); + } + if (roles && roles !== null && roles.length > 0) { + //remove 'none' and 'presentation' + roles = roles.filter(function (role) { + return role !== "none" && role !== "presentation"; + }); + // a 'group' role is allowed but not required for some elements so remove it if exists + if (roles.includes("group") && requiredChildRoles && requiredChildRoles.includes('group')) { + roles = roles.filter(function (role) { + return role !== 'group'; + }); + } + } + if (roles && roles !== null && roles.length > 0) { + direct.push(children[i]); + } + else { + // recursive until get a return value, + AriaUtil.retrieveDirectATChildren(children[i], requiredChildRoles, direct); + } + } + return null; + } + else + return null; + }; + /** + * this function returns null or required child roles for a given element with one more roles, + * return null if the role is 'none' or 'presentation' + * @param element + * @param includeImplicit include implicit roles if no role is explicitly provided + * @returns + */ + AriaUtil.getRequiredChildRoles = function (element, includeImplicit) { + var roles = AriaUtil.getRoles(element, false); + // if explicit role doesn't exist, get the implicit one + if ((!roles || roles.length === 0) && includeImplicit) { + roles = AriaUtil.getImplicitRole(element); + } + /** + * ignore if the element doesn't have any explicit or implicit role + */ + if (!roles || roles.length === 0) { + return null; + } + /** + * ignore if the element contains none or presentation role + */ + var presentationRoles = ["none", "presentation"]; + var found = roles.some(function (r) { return presentationRoles.includes(r); }); + if (found) + return null; + var designPatterns = ARIADefinitions_1.ARIADefinitions.designPatterns; + var requiredChildRoles = new Array(); + for (var j = 0; j < roles.length; ++j) { + if (designPatterns[roles[j]] && designPatterns[roles[j]].reqChildren !== null) { + requiredChildRoles = CommonUtil_1.CommonUtil.concatUniqueArrayItemList(designPatterns[roles[j]].reqChildren, requiredChildRoles); + } + } + return requiredChildRoles; + }; + /** + * This function is responsible for getting an element referenced by aria-owns and has the + * role that was specified. + * + * Note by default this function will not consider the Check Hidden Content Setting. + * + * Note: This is a wrapper function to: AriaUtil.getAriaOwnsWithRoleHidden + * + * @parm {element} element - Element to check for aria-owns + * @parm {string} roleName - The role to look for on the aria-owns element + * + * @return {node} - The element that is referenced by aria-owns and has role specified. + * + * @memberOf AriaUtil + */ + AriaUtil.getAriaOwnsWithRole = function (element, roleName) { + return AriaUtil.getAriaOwnsWithRoleHidden(element, roleName, false); + }; + /** + * This function is responsible for getting an element referenced by aria-owns and has the + * role that was specified. This function aslo finds elements with implicit roles. + * + * @parm {element} element - Element to check for aria-owns + * @parm {string} roleName - The role to look for on the aria-owns element + * @parm {bool} considerHiddenSetting - true or false based on if hidden setting should be considered. + * @parm {bool} considerImplicitRoles - true or false based on if implicit roles setting should be considered. + * + * @return {node} - The element that is referenced by aria-owns and has role specified. + * + * @memberOf AriaUtil + */ + AriaUtil.getAriaOwnsWithRoleHidden = function (element, roleName, considerHiddenSetting, considerImplicitRoles) { + // Variable Decleration + var referencedElement = null; + var referencedElemHasRole = false; + // In the case aria-owns is not on the element just break out of this function with null + if (CommonUtil_1.CommonUtil.attributeNonEmpty(element, "aria-owns")) { + // Get the reference ID + var referenceID = element.getAttribute("aria-owns"); + // Get the element for the reference ID + referencedElement = fragment_1.FragmentUtil.getById(element, referenceID); + //ignore if the aria-owns point to the element itself + if (DOMUtil_1.DOMUtil.sameNode(element, referencedElement)) + return null; + // Following are the steps that are executed at this stage to determine if the node should be classified as hidden + // or not. + // 1. If considerHiddenSetting option is set to true then we perform the check to consider the + // Check Hidden Content that is provided. + // 2. Only run isNodeVisible check if hidden content should NOT be checked. In the case that hidden content is to, + // be scanned then we can just scan everything as normal. In the case that the current node is hidden we do not + // add it to the roleToElems hash at all or even do any checking for it at all. + if (considerHiddenSetting && referencedElement != null && CommonUtil_1.CommonUtil.shouldNodeBeSkippedHidden(referencedElement)) { + referencedElemHasRole = null; + } + else { + referencedElemHasRole = AriaUtil.hasRole(referencedElement, roleName, considerImplicitRoles); + } + } + return referencedElemHasRole ? referencedElement : null; + }; + // Return true if the element has an ARIA label + AriaUtil.hasAriaLabel = function (element) { + // Rpt_Aria_ValidIdRef determines if the aria-labelledby id points to a valid element + return CommonUtil_1.CommonUtil.attributeNonEmpty(element, "aria-label") || CommonUtil_1.CommonUtil.attributeNonEmpty(element, "aria-labelledby"); + }; + // Given an array of elements, return true if the elements have unique ARIA labels + AriaUtil.hasUniqueAriaLabelsLocally = function (elements, isGlobal) { + if (elements.length === 0) + return false; + var doc = elements[0].ownerDocument; + var hasDuplicateLabels = false; + var uniqueAriaLabels = null; + if (isGlobal) { + uniqueAriaLabels = CacheUtil_1.CacheUtil.getCache(doc, "AriaUtil_HAS_UNIQUE_ARIA_LABELS", null); + } + if (uniqueAriaLabels === null) { + uniqueAriaLabels = {}; + } + for (var i = 0; !hasDuplicateLabels && i < elements.length; ++i) { + if (elements[i].hasAttribute) { + if (elements[i].hasAttribute("aria-label")) { + var ariaLabel = CommonUtil_1.CommonUtil.normalizeSpacing(elements[i].getAttribute("aria-label")).toLowerCase(); + hasDuplicateLabels = ariaLabel in uniqueAriaLabels; + uniqueAriaLabels[ariaLabel] = true; + } + else if (elements[i].hasAttribute("aria-labelledby")) { + var labelID = elements[i].getAttribute("aria-labelledby"); + var labelNode = fragment_1.FragmentUtil.getById(elements[i], labelID); + var label = labelNode && !DOMUtil_1.DOMUtil.sameNode(labelNode, elements[i]) ? CommonUtil_1.CommonUtil.getInnerText(labelNode) : ""; + var normalizedLabel = CommonUtil_1.CommonUtil.normalizeSpacing(label).toLowerCase(); + hasDuplicateLabels = normalizedLabel in uniqueAriaLabels; + uniqueAriaLabels[normalizedLabel] = true; + } + else { + // Has no label at all + hasDuplicateLabels = true; + } + } + } + if (isGlobal) { + CacheUtil_1.CacheUtil.setCache(doc, "AriaUtil_HAS_UNIQUE_ARIA_LABELS", uniqueAriaLabels); + } + return !hasDuplicateLabels; + }; + AriaUtil.getAriaLabel = function (ele) { + if (ele.hasAttribute) { + if (ele.hasAttribute("aria-labelledby")) { + var labelIDs = ele.getAttribute("aria-labelledby").trim().split(" "); + var normalizedLabel = ""; + for (var j = 0, length_1 = labelIDs.length; j < length_1; ++j) { + var labelID = labelIDs[j]; + var labelNode = fragment_1.FragmentUtil.getById(ele, labelID); + var label = labelNode && !DOMUtil_1.DOMUtil.sameNode(labelNode, ele) ? CommonUtil_1.CommonUtil.getInnerText(labelNode) : ""; + normalizedLabel += CommonUtil_1.CommonUtil.normalizeSpacing(label).toLowerCase(); + } + return normalizedLabel.trim(); + } + else if (ele.hasAttribute("aria-label")) { + return CommonUtil_1.CommonUtil.normalizeSpacing(ele.getAttribute("aria-label")).toLowerCase().trim(); + } + } + return ""; + }; + AriaUtil.getAriaDescription = function (ele) { + if (!ele) + return ""; + var normalizedLabel = ""; + var desc = ele.getAttribute("aria-labelledby"); + if (desc && desc.trim().length > 0) { + var labelIDs = desc.trim().split(" "); + for (var j = 0, length_2 = labelIDs.length; j < length_2; ++j) { + var labelID = labelIDs[j]; + var labelNode = fragment_1.FragmentUtil.getById(ele, labelID); + var label = labelNode && !DOMUtil_1.DOMUtil.sameNode(labelNode, ele) ? CommonUtil_1.CommonUtil.getInnerText(labelNode) : ""; + if (label && label.trim().length > 0) + normalizedLabel += CommonUtil_1.CommonUtil.normalizeSpacing(label).toLowerCase(); + } + if (normalizedLabel.trim().length > 0) + return normalizedLabel.trim(); + } + desc = ele.getAttribute("aria-description"); + if (desc && desc.trim().length > 0) + return desc.trim().toLowerCase(); + return ""; + }; + AriaUtil.findAriaLabelDupes = function (elements) { + var dupeMap = {}; + elements.forEach(function (ele) { + dupeMap[AriaUtil.getAriaLabel(ele)] = (dupeMap[AriaUtil.getAriaLabel(ele)] || 0) + 1; + }); + return dupeMap; + }; + // Given an array of elements, return true if the elements have unique ARIA labels globally + AriaUtil.hasUniqueAriaLabels = function (elements) { + return AriaUtil.hasUniqueAriaLabelsLocally(elements, true); + }; + // Given an array of elements, return true if the elements have unique ARIA labels + AriaUtil.hasDuplicateAriaLabelsLocally = function (elements, isGlobal) { + if (elements.length === 0) + return false; + var doc = elements[0].ownerDocument; + var hasDuplicateLabels = false; + var uniqueAriaLabels = null; + var duplicateLabelNameArray = new Array(); + if (isGlobal) { + uniqueAriaLabels = CacheUtil_1.CacheUtil.getCache(doc, "AriaUtil_HAS_UNIQUE_ARIA_LABELS", null); + } + if (uniqueAriaLabels === null) { + uniqueAriaLabels = {}; + } + for (var i = 0; i < elements.length; ++i) { + if (elements[i].hasAttribute) { + if (elements[i].hasAttribute("aria-label")) { + var ariaLabel = CommonUtil_1.CommonUtil.normalizeSpacing(elements[i].getAttribute("aria-label")).toLowerCase(); + hasDuplicateLabels = ariaLabel in uniqueAriaLabels; + uniqueAriaLabels[ariaLabel] = true; + if (!(ariaLabel in duplicateLabelNameArray)) { + duplicateLabelNameArray[ariaLabel] = new Array(); + } + duplicateLabelNameArray[ariaLabel].push(elements[i].nodeName.toLowerCase()); + } + else if (elements[i].hasAttribute("aria-labelledby")) { + var labelIDs = elements[i].getAttribute("aria-labelledby").trim().split(" "); + var normalizedLabel = ""; + for (var j = 0, length_3 = labelIDs.length; j < length_3; ++j) { + var labelID = labelIDs[j]; + var labelNode = fragment_1.FragmentUtil.getById(elements[i], labelID); + var label = labelNode && !DOMUtil_1.DOMUtil.sameNode(labelNode, elements[i]) ? CommonUtil_1.CommonUtil.getInnerText(labelNode) : ""; + normalizedLabel += CommonUtil_1.CommonUtil.normalizeSpacing(label).toLowerCase(); + } + hasDuplicateLabels = normalizedLabel in uniqueAriaLabels; + uniqueAriaLabels[normalizedLabel] = true; + if (!(normalizedLabel in duplicateLabelNameArray)) { + duplicateLabelNameArray[normalizedLabel] = new Array(); + } + duplicateLabelNameArray[normalizedLabel].push(elements[i].nodeName.toLowerCase()); + } + } + } + if (isGlobal) { + CacheUtil_1.CacheUtil.setCache(doc, "AriaUtil_HAS_UNIQUE_ARIA_LABELS", uniqueAriaLabels); + } + return duplicateLabelNameArray; + }; + // Given an array of elements, return true if the elements have unique ARIA labels globally + AriaUtil.hasDuplicateAriaLabels = function (elements) { + return AriaUtil.hasDuplicateAriaLabelsLocally(elements, true); + }; + // Given an array of elements, return true if the elements have unique aria-labelledby attributes + AriaUtil.hasUniqueAriaLabelledby = function (elements) { + var hasDuplicateLabels = false; + var labelRefs = {}; + for (var i = 0; !hasDuplicateLabels && i < elements.length; ++i) { + if (elements[i].hasAttribute && elements[i].hasAttribute("aria-labelledby") && !CommonUtil_1.CommonUtil.isIdReferToSelf(elements[i], elements[i].getAttribute("aria-labelledby"))) { + var labelRef = CommonUtil_1.CommonUtil.normalizeSpacing(elements[i].getAttribute("aria-labelledby")); + hasDuplicateLabels = labelRef in labelRefs; + labelRefs[labelRef] = true; + } + else { + hasDuplicateLabels = true; + } + } + return !hasDuplicateLabels; + }; + /** + * this function is responsible for resolving ARIA requirements for an HTML element per ARIA in HTML + * @param ruleContext the HTML element to be examined + * @returns + */ + AriaUtil.getElementAriaProperty = function (ruleContext) { + var tagProperty = CacheUtil_1.CacheUtil.getCache(ruleContext, "AriaUtil_ElementAriaProperty", null); + if (!tagProperty) { + var tagName = null; + var name_1 = null; + if (ruleContext.tagName) { + tagName = ruleContext.tagName.toLowerCase(); + } + else if (ruleContext.nodeName) { + tagName = ruleContext.nodeName.toLowerCase(); + } + // check if the tagProperty exists in the documentConformanceRequirement hash. + tagProperty = ARIADefinitions_1.ARIADefinitions.documentConformanceRequirement[tagName]; + // The tag needs to check some special attributes + if (tagProperty === null || tagProperty === undefined) { + var specialTagProperties = ARIADefinitions_1.ARIADefinitions.documentConformanceRequirementSpecialTags[tagName]; + switch (tagName) { // special cases + case "a": + CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "href") ? tagProperty = specialTagProperties["with-href"] : tagProperty = specialTagProperties["without-href"]; + break; + case "area": + CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "href") ? tagProperty = specialTagProperties["with-href"] : tagProperty = specialTagProperties["without-href"]; + break; + case "figure": { + var fcs = CommonUtil_1.CommonUtil.getChildByTag(ruleContext, "figcaption"); + fcs !== null && fcs.length > 0 ? tagProperty = specialTagProperties["child-figcaption"] : tagProperty = specialTagProperties["no-child-figcaption"]; + break; + } + case "footer": + case "header": + if (AriaUtil.getAncestorWithRole(ruleContext, "article", true) !== null || AriaUtil.getAncestorWithRole(ruleContext, "complementary", true) !== null + || AriaUtil.getAncestorWithRole(ruleContext, "navigation", true) !== null || AriaUtil.getAncestorWithRole(ruleContext, "region", true) !== null + || CommonUtil_1.CommonUtil.getAncestor(ruleContext, ["article", "aside", "main", "nav", "section"]) !== null) + tagProperty = specialTagProperties["des-section-article-aside-main-nav"]; + else + tagProperty = specialTagProperties["other"]; + break; + case "img": + var alt = ruleContext.hasAttribute("alt") ? ruleContext.getAttribute("alt") : null; + var title = ruleContext.hasAttribute("title") ? ruleContext.getAttribute("title") : null; + if (AriaUtil.getAriaLabel(ruleContext).trim().length !== 0 || (alt !== null && alt.length > 0) || (title !== null && title.length > 0)) { + // If the img has non-empty alt (alt="some text" or alt=" ") or an accessible name is provided + tagProperty = specialTagProperties["img-with-accname"]; + } + else { + if (alt !== null) { + // If the img has an empty alt (alt="") + tagProperty = specialTagProperties["img-without-accname-empty-alt"]; + } + else { + // If the img lacks an alt attribute + tagProperty = specialTagProperties["img-without-accname-no-alt"]; + } + } + break; + case "input": + if (CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "type")) { + var type = ruleContext.getAttribute("type").trim().toLowerCase(); + tagProperty = specialTagProperties[type]; + if (tagProperty === null || tagProperty === undefined) { + switch (type) { + case "checkbox": + CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "aria-pressed") ? tagProperty = specialTagProperties["checkbox-with-aria-pressed"] : tagProperty = specialTagProperties["checkbox-without-aria-pressed"]; + break; + case "email": + CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "list") ? tagProperty = specialTagProperties["email-with-list"] : tagProperty = specialTagProperties["email-no-list"]; + break; + case "search": + CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "list") ? tagProperty = specialTagProperties["search-with-list"] : tagProperty = specialTagProperties["search-no-list"]; + break; + case "tel": + CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "list") ? tagProperty = specialTagProperties["tel-with-list"] : tagProperty = specialTagProperties["tel-no-list"]; + break; + case "text": + CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "list") ? tagProperty = specialTagProperties["text-with-list"] : tagProperty = specialTagProperties["text-no-list"]; + break; + case "url": + CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "list") ? tagProperty = specialTagProperties["url-with-list"] : tagProperty = specialTagProperties["url-no-list"]; + break; + default: + // default + CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "list") ? tagProperty = specialTagProperties["default-with-list"] : tagProperty = specialTagProperties["default-no-list"]; + break; + } + } + } + else { + // default type is the same as type=text + CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "list") ? tagProperty = specialTagProperties["text-with-list"] : tagProperty = specialTagProperties["text-no-list"]; + } + break; + case "li": + specialTagProperties = ARIADefinitions_1.ARIADefinitions.documentConformanceRequirementSpecialTags["li"]; + if (ruleContext.parentElement && AriaUtil.hasRoleInSemantics(ruleContext.parentElement, "list")) + tagProperty = specialTagProperties["child-of-list-role"]; + else + tagProperty = specialTagProperties["no-child-of-list-role"]; + break; + case "section": + //name = ARIAMapper.computeName(ruleContext); + //if (name && name.trim().length > 0) { + var label = AriaUtil.getAriaLabel(ruleContext); + if ((label && label.trim().length > 0) || CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "title")) { + tagProperty = specialTagProperties["with-name"]; + } + else { + tagProperty = specialTagProperties["without-name"]; + } + break; + case "select": + specialTagProperties = ARIADefinitions_1.ARIADefinitions.documentConformanceRequirementSpecialTags["select"]; + if (ruleContext.hasAttribute("multiple") || + CommonUtil_1.CommonUtil.attributeNonEmpty(ruleContext, "size") && ruleContext.getAttribute("size") > 1) + tagProperty = specialTagProperties["multiple-attr-size-gt1"]; + else + tagProperty = specialTagProperties["no-multiple-attr-size-gt1"]; + break; + case "summary": + specialTagProperties = ARIADefinitions_1.ARIADefinitions.documentConformanceRequirementSpecialTags["summary"]; + if (ruleContext.parentElement && ruleContext.parentElement.nodeName.toLowerCase() === 'details' + && DOMUtil_1.DOMUtil.sameNode(__spreadArray([], ruleContext.parentElement.children, true).filter(function (elem) { return elem.nodeName.toLowerCase() === 'summary'; })[0], ruleContext)) + tagProperty = specialTagProperties["first-summary-of-detail"]; + else + tagProperty = specialTagProperties["no-first-summary-of-detail"]; + break; + case "tbody": + case "td": + case "tr": + if (AriaUtil.getAncestorWithRole(ruleContext, "table", true) !== null) { + tagProperty = specialTagProperties["des-table"]; + } + else { + AriaUtil.getAncestorWithRole(ruleContext, "grid", true) || AriaUtil.getAncestorWithRole(ruleContext, "treegrid", true) ? tagProperty = specialTagProperties["des-grid"] : tagProperty = specialTagProperties["des-other"]; + } + break; + case "th": + if (AriaUtil.getAncestorWithRole(ruleContext, "table", true) !== null || AriaUtil.getAncestorWithRole(ruleContext, "grid", true) !== null || AriaUtil.getAncestorWithRole(ruleContext, "treegrid", true) !== null) { + var scope = CommonUtil_1.CommonUtil.getScopeForTh(ruleContext); + if (scope === 'column') + tagProperty = specialTagProperties["des-table-grid-treegrid-column-scope"]; + else + tagProperty = specialTagProperties["des-table-grid-treegrid-row-scope"]; + } + else { + tagProperty = specialTagProperties["des-other"]; + } + break; + case "div": + var prt = ruleContext.parentElement; + prt !== null && prt.nodeName.toLowerCase() === 'dl' ? tagProperty = specialTagProperties["child-dl"] : tagProperty = specialTagProperties["no-child-dl"]; + break; + default: + tagProperty = ARIADefinitions_1.ARIADefinitions.documentConformanceRequirementSpecialTags["default"]; + } //switch + } + } + CacheUtil_1.CacheUtil.setCache(ruleContext, "AriaUtil_ElementAriaProperty", tagProperty); + return tagProperty || null; + }; + AriaUtil.getAllowedAriaRoles = function (ruleContext, properties) { + var allowedRoles = CacheUtil_1.CacheUtil.getCache(ruleContext, "AriaUtil_AllowedAriaRoles", null); + if (!allowedRoles) { + allowedRoles = []; + var tagProperty = null; + if (properties !== null && properties !== undefined) { + tagProperty = properties; + } + else { + tagProperty = AriaUtil.getElementAriaProperty(ruleContext); + } + if (tagProperty !== null && tagProperty !== undefined) { + if (tagProperty.implicitRole !== null) { + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(tagProperty.implicitRole, allowedRoles); + } + if (tagProperty.validRoles !== null) { + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(tagProperty.validRoles, allowedRoles); + } + var implicitRoles = AriaUtil.getImplicitRole(ruleContext); + if (implicitRoles && implicitRoles.length > 0) { + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(tagProperty.validRoles, allowedRoles); + } + } + CacheUtil_1.CacheUtil.setCache(ruleContext, "AriaUtil_AllowedAriaRoles", allowedRoles); + } + return allowedRoles; + }; + AriaUtil.getAllowedAriaAttributes = function (ruleContext, roles, properties) { + var allowedAttributes = CacheUtil_1.CacheUtil.getCache(ruleContext, "AriaUtil_AllowedAriaAttributes", null); + if (!allowedAttributes) { + allowedAttributes = []; + var permittedRoles = __spreadArray([], roles, true); + var tagName = ruleContext.tagName.toLowerCase(); + var prohibitedAttributes = []; + // Element with a disabled attribute https://www.w3.org/TR/html5/disabled-elements.html + if (ARIADefinitions_1.ARIADefinitions.elementsAllowedDisabled.indexOf(tagName) > -1) { + // Use the aria-disabled attribute on any element that is allowed the disabled attribute in HTML5. + allowedAttributes = CommonUtil_1.CommonUtil.concatUniqueArrayItem("aria-disabled", allowedAttributes); + } + // Element with a required attribute http://www.the-art-of-web.com/html/html5-form-validation/ + if (ARIADefinitions_1.ARIADefinitions.elementsAllowedRequired.indexOf(tagName) > -1) { + // Use the aria-required attribute on any element that is allowed the required attribute in HTML5. + allowedAttributes = CommonUtil_1.CommonUtil.concatUniqueArrayItem("aria-required", allowedAttributes); + } + if (ARIADefinitions_1.ARIADefinitions.elementsAllowedReadOnly.indexOf(tagName) > -1) { + // Use the aria-readonly attribute on any element that is allowed the readonly attribute in HTML5. + allowedAttributes = CommonUtil_1.CommonUtil.concatUniqueArrayItem("aria-readonly", allowedAttributes); + } + var tagProperty = null; + if (properties != null && properties !== undefined) + tagProperty = properties; + else + tagProperty = AriaUtil.getElementAriaProperty(ruleContext); + if (tagProperty !== null && tagProperty !== undefined) { + // add the implicit role allowed attributes to the allowed role list if there is no specified role + // ignore if the element doesn't allow the attributes from the implicit roles + if (tagProperty.implicitRole !== null && + (permittedRoles === null || permittedRoles === undefined || permittedRoles.length === 0) + && tagProperty.allowAttributesFromImplicitRole === undefined) { + for (var i = 0; i < tagProperty.implicitRole.length; i++) { + var roleProperty = ARIADefinitions_1.ARIADefinitions.designPatterns[tagProperty.implicitRole[i]]; + if (roleProperty !== null && roleProperty !== undefined) { + var properties_1 = roleProperty.props; + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(properties_1, allowedAttributes); + properties_1 = AriaUtil.getRoleRequiredProperties(tagProperty.implicitRole[i], ruleContext); + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(properties_1, allowedAttributes); + var prohibitedProps = roleProperty.prohibitedProps; + if (prohibitedProps && prohibitedProps.length > 0) + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(prohibitedProps, prohibitedAttributes); + // special case of separator + if (tagProperty.implicitRole[i] === "separator" && CommonUtil_1.CommonUtil.isFocusable(ruleContext)) { + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(["aria-disabled", "aria-valuenow", "aria-valuemax", "aria-valuemin", "aria-valuetext"], allowedAttributes); + } + } + } + } + // Adding the global properties to the valid attribute list + if (tagProperty.globalAriaAttributesValid) { + var properties_2 = ARIADefinitions_1.ARIADefinitions.globalProperties; // global properties + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(properties_2, allowedAttributes); + } + } + // adding the other role to the allowed roles for the attributes + if (tagProperty && tagProperty.otherRolesForAttributes && tagProperty.otherRolesForAttributes.length > 0) + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(tagProperty.otherRolesForAttributes, permittedRoles); + // adding the specified role properties to the allowed attribute list + for (var i = 0; permittedRoles !== null && i < permittedRoles.length; i++) { + var roleProperties = ARIADefinitions_1.ARIADefinitions.designPatterns[permittedRoles[i]]; + if (roleProperties !== null && roleProperties !== undefined) { + // ignore the properties if the element doesn't allow attributes from the implicit role + if (!tagProperty || tagProperty.implicitRole === null || !tagProperty.implicitRole.includes(permittedRoles[i]) || (tagProperty.implicitRole.includes(permittedRoles[i]) && tagProperty.allowAttributesFromImplicitRole === undefined)) { + var properties_3 = roleProperties.props; // allowed properties + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(properties_3, allowedAttributes); + properties_3 = AriaUtil.getRoleRequiredProperties(permittedRoles[i], ruleContext); // required properties + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(properties_3, allowedAttributes); + } + var prohibitedProps = roleProperties.prohibitedProps; + if (prohibitedProps && prohibitedProps.length > 0) + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(prohibitedProps, prohibitedAttributes); + // special case for separator + if (permittedRoles[i] === "separator" && CommonUtil_1.CommonUtil.isFocusable(ruleContext)) { + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(["aria-disabled", "aria-valuemax", "aria-valuemin", "aria-valuetext"], allowedAttributes); + } + } + } + // ignore aria-level, aria-setsize or aria-posinset if "row" is not in treegrid + if (permittedRoles.includes("row") && AriaUtil.getAncestorWithRole(ruleContext, "treegrid", true) == null) { + var index = -1; + if ((index = allowedAttributes.indexOf("aria-level")) > -1) + allowedAttributes.splice(index, 1); + if ((index = allowedAttributes.indexOf("aria-setsize")) > -1) + allowedAttributes.splice(index, 1); + if ((index = allowedAttributes.indexOf("aria-posinset")) > -1) + allowedAttributes.splice(index, 1); + } + // add the other allowed attributes for the element + if (tagProperty && tagProperty.otherAllowedAriaAttributes && tagProperty.otherAllowedAriaAttributes.length > 0) { + // check attribute-value pair if exists + var allowed = []; + for (var p = 0; p < tagProperty.otherAllowedAriaAttributes.length; p++) { + var attr = tagProperty.otherAllowedAriaAttributes[p]; + if (attr.includes("=")) { + var pair = attr.split("="); + if (ruleContext.getAttribute(pair[0]) === pair[1]) + allowed.push(pair[0]); + } + else + allowed.push(attr); + } + if (allowed.length > 0) + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(allowed, allowedAttributes); + } + // add the other prohibitted attributes for the element + if (tagProperty && tagProperty.otherDisallowedAriaAttributes && tagProperty.otherDisallowedAriaAttributes.length > 0) { + // check attribute-value pair if exists + var disallowed = []; + for (var p = 0; p < tagProperty.otherDisallowedAriaAttributes.length; p++) { + var attr = tagProperty.otherDisallowedAriaAttributes[p]; + if (attr.includes("=")) { + var pair = attr.split("="); + if (ruleContext.getAttribute(pair[0]) === pair[1]) + disallowed.push(pair[0]); + } + else + disallowed.push(attr); + } + if (disallowed.length > 0) + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(disallowed, prohibitedAttributes); + } + //exclude the prohibitedAttributes from the allowedAttributes + allowedAttributes = CommonUtil_1.CommonUtil.reduceArrayItemList(prohibitedAttributes, allowedAttributes); + //exclude aria attribute for elements without implicit role and with 'Naming Prohibited' + if ((!roles || roles.length === 0) && tagProperty.implicitRole === null && tagProperty.prohibitedAriaAttributesWhenNoImplicitRole) + allowedAttributes = CommonUtil_1.CommonUtil.reduceArrayItemList(tagProperty.prohibitedAriaAttributesWhenNoImplicitRole, allowedAttributes); + CacheUtil_1.CacheUtil.setCache(ruleContext, "AriaUtil_AllowedAriaAttributes", allowedAttributes); + } + return allowedAttributes; + }; + /** + * + * @param ariaAttr + * @param htmlAttrs + * @type: conflict or overlapping + * @returns htmlAttrName, 'Pass' or null + * htmlAttrName that conflicts with the ariaAttr, + * 'Pass' with no conflict with the ariaAttr, + * or null where ariaAttr won't cause conflict + */ + AriaUtil.getConflictOrOverlappingHtmlAttribute = function (ariaAttr, htmlAttrs, type) { + var exist = ARIADefinitions_1.ARIADefinitions.relatedAriaHtmlAttributes[ariaAttr['name']]; + if (exist) { + if (!ariaAttr || ariaAttr.length == 0 || !htmlAttrs || htmlAttrs.length == 0) + return []; + var examinedHtmlAtrNames = []; + var concernTypes = null; + if (type === 'conflict') { + if (!exist.conflict || Object.keys(exist.conflict).length === 0) + return null; + concernTypes = exist.conflict; + } + else if (type === 'overlapping') { + if (!exist.overlapping || Object.keys(exist.overlapping).length === 0) + return null; + concernTypes = exist.overlapping; + } + else + return null; + var applicable = false; + var fail = false; + for (var k = 0; k < concernTypes.length; k++) { + var concernAriaValue = concernTypes[k].ariaAttributeValue; + var concernHtmlNames = concernTypes[k].htmlAttributeNames; + var concernHtmlValues = concernTypes[k].htmlAttributeValues; + for (var i = 0; i < htmlAttrs.length; i++) { + var index = concernHtmlNames.indexOf(htmlAttrs[i]['name']); + if (index !== -1) { + applicable = true; + var htmlValuesInConcern = (concernHtmlValues === null || concernHtmlValues[index] === null) ? null : concernHtmlValues[index].split(","); + if (concernAriaValue === null) { + if (htmlValuesInConcern === null) { + examinedHtmlAtrNames.push({ result: 'Failed', 'attr': htmlAttrs[i]['name'] }); + fail = true; + } + else if (htmlValuesInConcern.includes(htmlAttrs[i]['value'])) { + examinedHtmlAtrNames.push({ result: 'Failed', 'attr': htmlAttrs[i]['name'] }); + fail = true; + } + } + else if (htmlValuesInConcern === null) { + if (concernAriaValue === ariaAttr['value']) { + examinedHtmlAtrNames.push({ result: 'Failed', 'attr': htmlAttrs[i]['name'] }); + fail = true; + } + } + else if (concernAriaValue === 'VALUE' && htmlValuesInConcern.includes('VALUE') && htmlValuesInConcern[0] !== ariaAttr['value']) { + examinedHtmlAtrNames.push({ result: 'Failed', 'attr': htmlAttrs[i]['name'] }); + fail = true; + } + else if (concernAriaValue === ariaAttr['value'] && htmlValuesInConcern.includes(htmlAttrs[i]['value'])) { + examinedHtmlAtrNames.push({ result: 'Failed', 'attr': htmlAttrs[i]['name'] }); + fail = true; + } + } + } + } + if (applicable && !fail) + examinedHtmlAtrNames.push({ result: 'Pass', 'attr': '' }); + return examinedHtmlAtrNames; + } + else + return null; + }; + AriaUtil.containsPresentationalChildrenOnly = function (elem) { + var roles = AriaUtil.getRoles(elem, false); + // if explicit role doesn't exist, get the implicit one + if (!roles || roles.length === 0) + roles = AriaUtil.getImplicitRole(elem); + //ignore if the element doesn't have any explicit or implicit role, shouldn't happen + if (!roles || roles.length === 0) + return false; + for (var i = 0; roles !== null && i < roles.length; i++) { + var roleProperties = ARIADefinitions_1.ARIADefinitions.designPatterns[roles[i]]; + if (roleProperties !== null && roleProperties !== undefined) { + var presentional = roleProperties.presentationalChildren; + if (presentional === true) + return true; + } + } + return false; + }; + AriaUtil.shouldBePresentationalChild = function (element) { + var walkNode = DOMWalker_1.DOMWalker.parentElement(element); + while (walkNode) { + if (AriaUtil.containsPresentationalChildrenOnly(walkNode)) + return true; + //aria-own case: if the element is referred by an aria-won + walkNode = ARIAMapper_1.ARIAMapper.getAriaOwnedBy(walkNode) || DOMWalker_1.DOMWalker.parentElement(walkNode); + } + return false; + }; + /* + * check if any explicit role specified for the element is a valid ARIA role + * return: null if no explicit role is defined, + * true if the role(s) are defined in ARIA + * false if any role is not defined in ARIA +*/ + AriaUtil.areRolesDefined = function (roles) { + if (!roles || roles.length === 0) + return null; + var designPatterns = ARIADefinitions_1.ARIADefinitions.designPatterns; + for (var _i = 0, roles_1 = roles; _i < roles_1.length; _i++) { + var role = roles_1[_i]; + if (!(role.toLowerCase() in designPatterns)) + return false; + } + return true; + }; + /* + * check if any explicit role specified for the element is a valid ARIA role + * return: null if no explicit role is defined, + * true if the role(s) are defined in ARIA + * false if any role is not defined in ARIA + */ + AriaUtil.getInvalidRoles = function (ruleContext) { + var domRoles = AriaUtil.getUserDefinedRoles(ruleContext); + if (!domRoles || domRoles.length === 0) + return null; + // check the 'generic' role first + if (domRoles && domRoles.includes('generic')) + return ["generic"]; + // Failing roles + var failRoleTokens = []; + // Passing roles + var passRoleTokens = []; + var tagProperty = AriaUtil.getElementAriaProperty(ruleContext); + var allowedRoles = AriaUtil.getAllowedAriaRoles(ruleContext, tagProperty); + if (!allowedRoles || allowedRoles.length === 0) + return domRoles; + var invalidRoles = []; + if (allowedRoles.includes('any')) + return []; + for (var i = 0; i < domRoles.length; i++) + if (!allowedRoles.includes(domRoles[i]) && !invalidRoles.includes(domRoles[i])) + invalidRoles.push(domRoles[i]); + return invalidRoles; + }; + /* + * check if any explicit role specified for the element is not defined in ARIA + * return: list of specified roles not defined in ARIA + */ + AriaUtil.getRolesUndefinedByAria = function (element) { + if (!element) + return null; + var roles = AriaUtil.getRoles(element, false); + var undefinedRoles = []; + if (roles && roles.length > 0) { + var designPatterns = ARIADefinitions_1.ARIADefinitions.designPatterns; + for (var i = 0; i < roles.length; i++) { + if (!(roles[i] in designPatterns)) { + undefinedRoles.push(roles[i]); + } + } + } + return undefinedRoles; + }; + /* + * this method first checks explicit roles, if no explicit role, it will check the implicit role + * return: null if any explicit role is invalid, + * a list of invalid attributes + * empty list if all attributes are valid, or no aria attributes are specified + */ + AriaUtil.getInvalidAriaAttributes = function (ruleContext) { + var roles = AriaUtil.getUserDefinedRoles(ruleContext); + // the invalid role case: handled by Rpt_Aria_ValidRole. Ignore to avoid duplicated report + // for mutiple roles, skip if any role is invalid + var defined = AriaUtil.areRolesDefined(roles); + if (defined !== null && !defined) + return null; + var attrs = []; + if (!roles || roles.length == 0) + roles = AriaUtil.getImplicitRole(ruleContext); + var aria_attrs = AriaUtil.getUserDefinedAriaAttributes(ruleContext); + var tagProperty = AriaUtil.getElementAriaProperty(ruleContext); + // Attributes allowed on this node + var allowedAttributes = AriaUtil.getAllowedAriaAttributes(ruleContext, roles, tagProperty); + if (aria_attrs) { + for (var i = 0; i < aria_attrs.length; i++) { + var attrName = aria_attrs[i].trim().toLowerCase(); + if (!allowedAttributes.includes(attrName) && !attrs.includes(attrName)) + attrs.push(attrName); + } + } + return attrs; + }; + /* + * get conflict Aria and Html attributes + * return: a list of Aria and Html attribute pairs that are conflict + */ + AriaUtil.getConflictAriaAndHtmlAttributes = function (elem) { + var ariaAttrs = AriaUtil.getUserDefinedAriaAttributeNameValuePairs(elem); + var htmlAttrs = AriaUtil.getUserDefinedHtmlAttributeNameValuePairs(elem); + var ret = []; + if (ariaAttrs && ariaAttrs.length > 0 && htmlAttrs && htmlAttrs.length > 0) { + var _loop_1 = function (i) { + var examinedHtmlAtrNames = AriaUtil.getConflictOrOverlappingHtmlAttribute(ariaAttrs[i], htmlAttrs, 'conflict'); + if (examinedHtmlAtrNames === null) + return "continue"; + examinedHtmlAtrNames.forEach(function (item) { + if (item['result'] === 'Failed') //failed + ret.push({ 'ariaAttr': ariaAttrs[i]['name'], 'htmlAttr': item['attr'] }); + }); + }; + for (var i = 0; i < ariaAttrs.length; i++) { + _loop_1(i); + } + } + return ret; + }; + /* + * get deprecated Aria roles + * return: a list of deprecated Aria roles + */ + AriaUtil.getDeprecatedAriaRoles = function (element) { + if (!element) + return null; + var roles = AriaUtil.getRoles(element, false); + var ret = []; + if (roles && roles.length > 0) { + var globalDeprecatedRoles = ARIADefinitions_1.ARIADefinitions.globalDeprecatedRoles; + for (var i = 0; i < roles.length; i++) { + if (globalDeprecatedRoles.includes(roles[i])) + ret.push(roles[i]); + } + } + return ret; + }; + /* + * get deprecated Aria role-attributes + * return: a list of deprecated Aria role-attributes paris + * for global the role is marked as 'any' + */ + AriaUtil.getDeprecatedAriaAttributes = function (element) { + if (!element) + return null; + var domAttributes = element.attributes; + var ariaAttrs = []; + if (domAttributes) { + for (var i = 0; i < domAttributes.length; i++) { + var attrName = domAttributes[i].name; + if (attrName.substring(0, 5) === 'aria-') + ariaAttrs.push(attrName); + } + } + if (ariaAttrs.length === 0) + return []; + var ret = []; + var globalDeprecatedAttributes = ARIADefinitions_1.ARIADefinitions.globalDeprecatedProperties; + for (var i = 0; i < ariaAttrs.length; i++) { + if (globalDeprecatedAttributes.includes(ariaAttrs[i])) + ret.push({ "role": "any", "attribute": ariaAttrs[i] }); + } + var roles = AriaUtil.getRoles(element, false); + if (roles && roles.length > 0) { + for (var i = 0; i < roles.length; i++) { + var roleWithDeprecatedAttributes = ARIADefinitions_1.ARIADefinitions.designPatterns[roles[i]]; + if (roleWithDeprecatedAttributes) { + var deprecatedAttriNames = roleWithDeprecatedAttributes['deprecatedProps']; + if (deprecatedAttriNames && deprecatedAttriNames.length > 0) { + for (var j = 0; j < ariaAttrs.length; j++) { + if (deprecatedAttriNames.includes(ariaAttrs[j])) + ret.push({ "role": roles[i], "attribute": ariaAttrs[j] }); + } + } + } + } + } + return ret; + }; + AriaUtil.isNodeInGrid = function (node) { + return AriaUtil.getAncestorWithRole(node, "grid") != null; + }; + // This list contains a list of elements tags which have display: none by default, since we have rules triggering + AriaUtil.navLinkKeywords = ['start', 'next', 'prev', 'previous', 'contents', 'index']; + // This list contains a list of rule ids for the rules that have to check for hidden content regardless of the Check Hidden + // Content Setting. This means that when the engine is actually determine which elements to mass to the rules, it will always + // pass theses rules no matter what the Check Hidden Content Setting is. + AriaUtil.rulesThatHaveToCheckHidden = ['RPT_Elem_UniqueId']; + // https://www.w3.org/TR/wai-aria-1.1/#introstates + AriaUtil.ariaAttributeRoleDefaults = { + "alert": { + "aria-live": "assertive", + "aria-atomic": "true" + }, + "combobox": { + "aria-haspopup": "listbox" + }, + "listbox": { + "aria-orientation": "vertical" + }, + "log": { + "aria-live": "polite" + }, + "menu": { + "aria-orientation": "vertical" + }, + "menubar": { + "aria-orientation": "horizontal" + }, + "meter": { + "aria-valuemin": "0", + "aria-valuemax": "100" + }, + "option": { + "aria-selected": "false" + }, + "progressbar": { + "aria-valuemin": "0", + "aria-valuemax": "100" + }, + "scrollbar": { + "aria-orientation": "vertical", + "aria-valuemin": "0", + "aria-valuemax": "100" + }, + "separator": { + "aria-orientation": "horizontal", + "aria-valuemin": "0", + "aria-valuemax": "100" + }, + "slider": { + "aria-orientation": "horizontal", + "aria-valuemin": "0", + "aria-valuemax": "100" + }, + "spinbutton": { + // Not sure how to encode min/max (or now in 1.2 - "has no value") + //"aria-valuenow": "0" TODO: at risk: maybe delete after ARIA 1.2 reaches proposed rec + // Probably just delete spinbutton from this list completely and let user agents handle "defaults" + }, + "status": { + "aria-live": "polite", + "aria-atomic": "true" + }, + "tab": { + "aria-selected": "false" + }, + "tablist": { + "aria-orientation": "horizontal" + }, + "toolbar": { + "aria-orientation": "horizontal" + }, + "tree": { + "aria-orientation": "vertical" + } + }; + // https://www.w3.org/TR/wai-aria-1.1/#aria-atomic + AriaUtil.ariaAttributeGlobalDefaults = { + "aria-atomic": "false", + "aria-autocomplete": "none", + "aria-busy": "false", + "aria-checked": undefined, + "aria-current": "false", + "aria-disabled": "false", + "aria-dropeffect": "none", + "aria-expanded": undefined, + "aria-grabbed": undefined, + "aria-haspopup": "false", + "aria-hidden": undefined, + "aria-invalid": "false", + "aria-live": "off", + "aria-modal": "false", + "aria-multiline": "false", + "aria-multiselectable": "false", + "aria-orientation": undefined, + "aria-pressed": undefined, + "aria-readonly": "false", + //"aria-relevant": "additions text", TODO: are multiple values supported? + "aria-required": "false", + "aria-selected": undefined, + "aria-sort": "none" + }; + // https://www.w3.org/TR/html-aam-1.0/#html-attribute-state-and-property-mappings + AriaUtil.ariaAttributeImplicitMappings = { + "aria-autocomplete": { + "form": function (e) { + return "off" === e.getAttribute("autocomplete") ? "none" : "both"; + }, + "input": function (e) { + return "off" === e.getAttribute("autocomplete") ? "none" : "both"; + }, + "select": function (e) { + return "off" === e.getAttribute("autocomplete") ? "none" : "both"; + }, + "textarea": function (e) { + return "off" === e.getAttribute("autocomplete") ? "none" : "both"; + } + }, + "aria-checked": { + "input": function (e) { + if (e.hasAttribute("indeterminate")) + return "mixed"; + return "" + e.hasAttribute("checked"); + }, + "menuitem": function (e) { + if (e.hasAttribute("indeterminate")) + return "mixed"; + return "" + e.hasAttribute("checked"); + }, + "*": function (e) { + if (e.hasAttribute("indeterminate")) + return "mixed"; + }, + }, + "aria-disabled": { + "button": function (e) { + return e.hasAttribute("disabled") ? "true" : "false"; + }, + "fieldset": function (e) { + return e.hasAttribute("disabled") ? "true" : "false"; + }, + "input": function (e) { + return e.hasAttribute("disabled") ? "true" : "false"; + }, + "optgroup": function (e) { + return e.hasAttribute("disabled") ? "true" : "false"; + }, + "option": function (e) { + return e.hasAttribute("disabled") ? "true" : "false"; + }, + "select": function (e) { + return e.hasAttribute("disabled") ? "true" : "false"; + }, + "textarea": function (e) { + return e.hasAttribute("disabled") ? "true" : "false"; + } + }, + "aria-expanded": { + "details": function (e) { + return e.getAttribute("open"); + }, + "dialog": function (e) { + return e.getAttribute("open"); + } + }, + "aria-multiselectable": { + "select": function (e) { + if (e.hasAttribute("multiple")) + return "true"; + return; + } + }, + "aria-placeholder": { + "input": function (e) { + return e.getAttribute("placeholder"); + }, + "textarea": function (e) { + return e.getAttribute("placeholder"); + } + }, + "aria-required": { + "input": function (e) { + return e.getAttribute("required"); + }, + "select": function (e) { + return e.getAttribute("required"); + }, + "textarea": function (e) { + return e.getAttribute("required"); + } + } + }; + return AriaUtil; +}()); +exports.AriaUtil = AriaUtil; + + +/***/ }), + +/***/ 1775: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CSSUtil = void 0; +var CacheUtil_1 = __webpack_require__(7788); +var CommonUtil_1 = __webpack_require__(8137); +var AriaUtil_1 = __webpack_require__(490); +var DOMMapper_1 = __webpack_require__(5697); +var DOMWalker_1 = __webpack_require__(7440); +var CSSUtil = /** @class */ (function () { + function CSSUtil() { + } + CSSUtil.selectorMatchesElem = function (element, selector) { + try { + if (selector.trim() === "") + return false; + if (typeof element.matches === "function") { + return element.matches(selector); + } + if (typeof element.matchesSelector === "function") { + return element.matchesSelector(selector); + } + // Native functions not there, fallback + var matches = (element.document || element.ownerDocument).querySelectorAll(selector); + var i = 0; + while (i < matches.length && matches[i] !== element) { + ++i; + } + return i < matches.length; + } + catch (err) { + // Bad selector? Doesn't match then... + return false; + } + }; + /** + * Returns the style computed for this element + * @param elem + */ + CSSUtil.getComputedStyle = function (elem, pseudoElt) { + if (!elem) + return null; + var doc = elem.ownerDocument; + var win = doc.defaultView; + return win.getComputedStyle(elem, pseudoElt); + }; + /** + * Returns the style defined for this element + * + * This differs from the computed style in that the computed style will return + * styles defined by the user agent. This will only return styles defined by the + * application + * if rotation transform is used, the computed style returns the resolved matrix + * while the defined style return the transform function(s) + * for example, for 'transform: rotate(2.5deg);', the computed style returns 'matrix(-0.0436194, 0.999048, -0.999048, -0.0436194, 0, 0)' + * and the defined style returns 'rotate(2.5deg)' + * + * change the type of the parameter pseudoClass from PseudoClass to string to include both pseudo classes (e.g., :focus, :checked) + * and pseudo elements (e.g., ::before, ::after). + * + * @param {HTMLElement} elem + * @param {string} [pseudoClass] If specified, will return values that are different + * than when the pseudoClass does not match. + */ + CSSUtil.getDefinedStyles = function (elem, pseudoClass) { + // console.log("Function: getDefinedStyles"); + if (!elem) + return null; + var definedStyles = {}; + var definedStylePseudo = {}; + function fillStyle(maps, style) { + for (var sIndex = 0; sIndex < style.length; ++sIndex) { + if (style[sIndex] === "all" && style[style[sIndex]]) { + for (var _i = 0, maps_1 = maps; _i < maps_1.length; _i++) { + var map = maps_1[_i]; + for (var key in map) { + delete map[key]; + } + } + break; + } + else { + var key = style[sIndex]; + for (var _a = 0, maps_2 = maps; _a < maps_2.length; _a++) { + var map = maps_2[_a]; + var priority = style.getPropertyPriority(key); + if (key in map && map[key].endsWith("!important")) { + if (priority === "important" && + !map[key].startsWith("inherit") && + !map[key].startsWith("unset")) + //override !important only if it is also !important + map[key] = style[key] + " !important"; + //don't override !important if it is not !important + else + continue; + } + //create/overide anyway + else + map[key] = + style[key] + + (priority === "important" ? " !important" : ""); + } + } + } + } + var storedStyles = CacheUtil_1.CacheUtil.getCache(elem, "RPTUtil_DefinedStyles", null); + if (!pseudoClass && storedStyles) { + definedStyles = storedStyles["definedStyles"]; + definedStylePseudo = storedStyles["definedStylePseudo"]; + } + else { + // Iterate through all of the stylesheets and rules + for (var ssIndex = 0; ssIndex < elem.ownerDocument.styleSheets.length; ++ssIndex) { + var sheet = elem.ownerDocument.styleSheets[ssIndex]; + try { + if (sheet && sheet.cssRules) { + // console.log("Got sheet"); + for (var rIndex = 0; rIndex < sheet.cssRules.length; ++rIndex) { + // console.log("Got rule: ", sheet.cssRules[rIndex]); + var rule = sheet.cssRules[rIndex]; + var fullRuleSelector = rule.selectorText; + if (fullRuleSelector) { + var pseudoMatch = fullRuleSelector.match(/^(.*)(:[a-zA-Z-]*)$/); + var hasPseudoClass = !!pseudoMatch; + var selMain = hasPseudoClass + ? pseudoMatch[1] + : fullRuleSelector; + var selPseudo = hasPseudoClass + ? pseudoMatch[2] + : ""; + var samePseudoClass = selPseudo === pseudoClass; + if (pseudoClass && pseudoClass === ":focus") { + // If this element has focus, remove focus-within from parents + selMain = selMain.replace(/([ >][^+~ >]+):focus-within/g, "$1"); + } + // Get styles of non-pseudo selectors + if (!hasPseudoClass && + CSSUtil.selectorMatchesElem(elem, selMain)) { + fillStyle([definedStyles, definedStylePseudo], rule.style); + } + if (samePseudoClass && + CSSUtil.selectorMatchesElem(elem, selMain)) { + fillStyle([definedStylePseudo], rule.style); + } + } + } + } + } + catch (err) { + if (!err.toString().includes("Cannot access rules") && + !err.toString().includes("SecurityError:")) { + throw err; + } + } + } + // + // Handled the stylesheets, now handle the element defined styles + fillStyle([definedStyles, definedStylePseudo], elem.style); + CacheUtil_1.CacheUtil.setCache(elem, "RPTUtil_DefinedStyles", { + definedStyles: definedStyles, + definedStylePseudo: definedStylePseudo, + }); + } + /** + * 'initial' sets the style back to default + for (const key in definedStyles) { + if (definedStyles[key] === "initial") { + delete definedStyles[key]; + } + } + for (const key in definedStylePseudo) { + if (definedStylePseudo[key] === "initial") { + delete definedStylePseudo[key]; + } + } + */ + if (!pseudoClass) { + // console.log("[DEBUG: CSSUtil::getDefinedStyles]", elem.nodeName, pseudoClass, JSON.stringify(definedStyles, null, 2)); + return definedStyles; + } + else { + for (var key in definedStylePseudo) { + if (definedStylePseudo[key] === definedStyles[key]) { + delete definedStylePseudo[key]; + } + } + // console.log("[DEBUG: CSSUtil::getDefinedStyles]", elem.nodeName, pseudoClass, JSON.stringify(definedStylePseudo, null, 2)); + return definedStylePseudo; + } + }; + /** + * Returns the media query defined for the document + * + * + * @param {Document} doc + */ + CSSUtil.getMediaOrientationTransform = function (doc) { + var orientationTransforms = {}; + // Iterate through all of the stylesheets and rules + for (var ssIndex = 0; ssIndex < doc.styleSheets.length; ++ssIndex) { + var sheet = doc.styleSheets[ssIndex]; + try { + if (sheet && sheet.cssRules) { + for (var rIndex = 0; rIndex < sheet.cssRules.length; ++rIndex) { + var sheetRule = sheet.cssRules[rIndex]; + if (4 /* CSSRule.MEDIA_RULE */ === sheetRule.MEDIA_RULE) { + var rule = sheetRule; + if (rule && rule.media) { + var mediaList = rule.media; + for (var i = 0; i < mediaList.length; i++) { + if (!mediaList.item(i)) + continue; + var elem_transforms = orientationTransforms[mediaList.item(i).toLocaleLowerCase()]; + if (!elem_transforms) + elem_transforms = {}; + var styleRules = rule.cssRules; + for (var i_1 = 0; i_1 < styleRules.length; ++i_1) { + if (1 /* CSSRule.STYLE_RULE */ === styleRules[i_1].STYLE_RULE) { + var styleRule = styleRules[i_1]; + var selector = styleRule.selectorText; + if (selector) { + var transforms = {}; + var styles = styleRule.style; + for (var s = 0; s < styles.length; ++s) { + var key = styles[s]; + if (key.toLocaleLowerCase() === "transform") { + if (key === "all" && styles[key]) { + delete transforms[key]; + break; + } + else { + transforms[key] = styles[key]; + } + } + else if (key.toLocaleLowerCase() === "rotate") { + transforms[key] = styles[key]; + } + elem_transforms[selector] = + transforms; + } + } + } + if (mediaList.item(i_1)) + orientationTransforms[mediaList.item(i_1).toLocaleLowerCase()] = elem_transforms; + } + } + } + } + } + } + } + catch (err) { + if (!err.toString().includes("Cannot access rules") && + !err.toString().includes("SecurityError:")) { + throw err; + } + } + } + return orientationTransforms; + }; + /** + * convert given rotation transform functions to the degree transformed. + * If multiple functions are given, then the functions are applied linearly in the order. + * rotation_transform function example: rotate(45deg), rotate(2turn), rotate(2rad), rotate3d(1, 1, 1, 45deg), + * rotate(2rad) rotate3d(1, 1, 1, 45deg) + * @param rotation_transform + */ + CSSUtil.getRotationDegree = function (rotation_transform) { + var degree = 0; + try { + if (!rotation_transform) + return degree; + // normalize the rotation_transform + rotation_transform = rotation_transform.replaceAll(", ", ","); + var transform_functions = rotation_transform.split(" "); + for (var i = 0; i < transform_functions.length; i++) { + var transform_function = transform_functions[i].trim(); + if (transform_function === "") + continue; + if (transform_function.startsWith("rotate3d")) { + // example: rotate3d(1, 1, 1, 45deg); + var left = transform_function.indexOf("("); + var right = transform_function.indexOf(")"); + if (left !== -1 && right !== -1) { + var matrix = transform_function.substring(left + 1, right); + var values = void 0; + if (matrix) + values = matrix.split(","); + if (values && values.length === 4) { + var rotation = values[3]; + if (!rotation) + continue; + rotation = rotation.trim(); + if (rotation.endsWith("turn")) { + var num = rotation.substring(0, rotation.length - 4); + num = parseFloat(num); + if (!isNaN(num)) + degree = num * 360; + } + else if (rotation.endsWith("rad")) { + var num = rotation.substring(0, rotation.length - 3); + num = parseFloat(num); + if (!isNaN(num)) + degree = (num * 180) / Math.PI; + } + else if (rotation.endsWith("deg")) { + var num = rotation.substring(0, rotation.length - 3); + num = parseFloat(num); + if (!isNaN(num)) + degree += num; + } + } + } + } + else if (transform_function.startsWith("rotate") || + transform_function.startsWith("rotateZ")) { + // example: rotate(45deg); + var left = transform_function.indexOf("("); + var right = transform_function.indexOf(")"); + if (left !== -1 && right !== -1) { + var rotation = transform_function.substring(left + 1, right); + if (!rotation) + continue; + rotation = rotation.trim(); + if (rotation.endsWith("turn")) { + var num = rotation.substring(0, rotation.length - 4); + num = parseFloat(num); + if (!isNaN(num)) + degree = num * 360; + } + else if (rotation.endsWith("rad")) { + var num = rotation.substring(0, rotation.length - 3); + num = parseFloat(num); + if (!isNaN(num)) + degree = (num * 180) / Math.PI; + } + else if (rotation.endsWith("deg")) { + var num = rotation.substring(0, rotation.length - 3); + num = parseFloat(num); + if (!isNaN(num)) + degree += num; + } + } + } + else if (transform_function.startsWith("matrix3d")) { + // calculate the three Euler angles + var left = transform_function.indexOf("("); + var right = transform_function.indexOf(")"); + if (left !== -1 && right !== -1) { + var matrix = transform_function.substring(left + 1, right); + var values = null; + if (matrix) + values = matrix.split(","); + if (values !== null) { + var z_angle = Math.atan2(values[4], values[5]); + degree += Math.round(Math.round((z_angle * 180) / Math.PI)); + } + } + } + else if (transform_function.startsWith("matrix")) { + // calculate the three Euler angles + var left = transform_function.indexOf("("); + var right = transform_function.indexOf(")"); + if (left !== -1 && right !== -1) { + var matrix = transform_function.substring(left + 1, right); + var values = null; + if (matrix) + values = matrix.split(","); + if (values !== null) { + var z_angle = Math.atan2(values[1], values[0]); + degree += Math.round(Math.round((z_angle * 180) / Math.PI)); + } + } + } + } + while (degree >= 360) + degree -= 360; + } + catch (err) { + console.log("Cannot retrieve rotation degree: " + err); + throw err; + } + return degree; + }; + /** + * Convert CSS style string values to pixels. + * + * @param value style value in string, such as 3rem, 230px etc. + * @param target element. + * @return value in pixels + */ + CSSUtil.getPixelsFromStyle = function (value, elem) { + if (!value) + return 0; + var regex = /(-?[\d.]+)([a-z%]*)/; + var parsed = value.trim().match(regex); + if (parsed === null) + return 0; + if (parsed[2] === "" || parsed[1] === 0) + //no zero value without unit which is considered as error, so implicable + return 0; + var pixels = CSSUtil.convertValue2Pixels(parsed[2], parsed[1], elem); + return pixels === null ? pixels : parseFloat(pixels); + }; + /** + * Convert absolute CSS numerical values to pixels. + * + * @param unitValue in string + * @param target element. + * @return value in pixels + */ + CSSUtil.convertValue2Pixels = function (unit, unitValue, elem) { + if (unitValue == 0) + return 0; + var supportedUnits = { + // absolute unit + px: function (value) { return value; }, + cm: function (value) { return value * 37.8; }, + mm: function (value) { return value * 3.78; }, + q: function (value) { return value * 0.95; }, + in: function (value) { return value * 96; }, + pc: function (value) { return value * 16; }, + pt: function (value) { return value * 1.33; }, + // relative unit + rem: function (value) { + return value * + parseFloat(getComputedStyle(elem.ownerDocument.documentElement).getPropertyValue("font-size")); + }, + em: function (value) { + return value * + parseFloat(getComputedStyle(elem).getPropertyValue("font-size")); + }, + vw: function (value) { + return (value / 100) * elem.ownerDocument.defaultView.innerWidth; + }, + vh: function (value) { + return (value / 100) * elem.ownerDocument.defaultView.innerHeight; + }, + "%": function (value) { + return (value / 100) * + parseFloat(getComputedStyle(elem).getPropertyValue("font-size")); + }, + }; + if (unit in supportedUnits) + return supportedUnits[unit](unitValue); + return null; + }; + /* + * Returns if the font for visible text of the element is defined by material icons + * + * @param {HTMLElement} elem + */ + CSSUtil.isMaterialIconFont = function (elem) { + // TODO: check the existence material icons using fetch in node 18+ + // for now (node 16) just dertermine if the stylesheet for the 'Material Icons' exists statically. note that the loading of the font stylesheet occurs at run time. + //list of known material icons and stylesheet link + var known_icons = { + "Material Icons": "https://fonts.googleapis.com/icon?family=Material+Icons", + }; + var known_css_classes = { + "material-icons": "https://fonts.googleapis.com/icon?family=Material+Icons", + }; + // material icon font can be defined either by font-family: 'Material Icons' or by class="material-icons" + var styles = CSSUtil.getDefinedStyles(elem); + var fontFamily = styles["font-family"]; + var found = false; + // font-family specifies a prioritized list of one or more font family names + if (fontFamily && + fontFamily.split(",")[0].replace(/['"]+/g, "").trim() in known_icons) + found = true; + if (!found) { + var list = elem.classList; + for (var css_class in known_css_classes) { + if (list.contains(css_class)) { + found = true; + break; + } + } + } + if (!found) + return false; + var passed = false; + // check if the stylesheet for the 'Material Icons' exists statically + var sheets = elem.ownerDocument.styleSheets; + for (var s = 0; s < sheets.length; s++) { + if (sheets && + sheets.length > 0 && + Object.values(known_icons).indexOf(sheets[s].href) > -1) { + passed = true; + break; + } + } + return passed; + }; + CSSUtil.getWeightNumber = function (styleVal) { + var map = { + light: 100, + bold: 700, + }; + var retVal = parseInt(styleVal); + if (retVal) + return retVal; + if (styleVal in map) + return map[styleVal]; + return 400; + }; + CSSUtil.getFontInPixels = function (styleVal, elem) { + var map = { + "xx-small": 16, + "x-small": 10, + small: 13, + medium: 16, + large: 18, + "x-large": 24, + "xx-large": 32, + }; + var value = parseFloat(styleVal); + if (!value) { + return map[styleVal]; + } + var units = styleVal.substring(("" + value).length); + /** + if (units === "" || units === "px") return value; + if (units === "em") return value * 16; + if (units === "%") return value / 100 * 16; + if (units === "pt") return value * 4 / 3; + return Math.round(value); + */ + return CSSUtil.convertValue2Pixels(units, value, elem); + }; + CSSUtil.getCSSStyle = function (element) { + var styleText = ""; + if (element === null) + return []; + if (element.IBM_CSS_THB) + return element.IBM_CSS_THB; + var nodeName = element.nodeName.toLowerCase(); + if (nodeName === "style") { + styleText = element.innerText; + if (styleText === undefined || styleText.trim() === "") + styleText = element.textContent; + } + else if (element.hasAttribute("style")) { + styleText = element.getAttribute("style"); + } + else + return []; + if (styleText === null || styleText.trim().length === 0) + return []; + //remove comment blocks + var re = /(\/\*+(?:(?:(?:[^\*])+)|(?:[\*]+(?!\/)))[*]+\/)|\/\/.*/g; + var subst = " "; + styleText = styleText.replace(re, subst); + // Find all "key : val;" pairs with various whitespace inbetween + var rKeyVals = /\s*([^:\s]+)\s*:\s*([^;$}]+)\s*(;|$)/g; + // Find all "selector { csskeyvals } with various whitespace inbetween + var rSelectors = /\s*([^{]*){([^}]*)}/g; + if (styleText.indexOf("{") === -1) { + var keyVals = {}; + var m = void 0; + while ((m = rKeyVals.exec(styleText)) != null) { + keyVals[m[1]] = m[2].trim().toLowerCase(); + } + var retVal = [ + { + selector: null, + values: keyVals, + }, + ]; + element.IBM_CSS_THB = retVal; + return retVal; + } + else { + var retVal = []; + var m = void 0; + var m2 = void 0; + while ((m = rSelectors.exec(styleText)) != null) { + var keyVals = {}; + var selKey = m[1]; + var selVal = m[2]; + while ((m2 = rKeyVals.exec(selVal)) != null) { + keyVals[m2[1]] = m2[2].trim().toLowerCase(); + } + retVal.push({ + selector: selKey, + values: keyVals, + }); + } + element.IBM_CSS_THB = retVal; + return retVal; + } + }; + /** + * an "inline" CSS display property tells the element to fit itself on the same line. An 'inline' element's width and height are ignored. + * some element has default inline property, such as <span>, <a> + * most formatting elements inherent inline property, such as <em>, <strong>, <i>, <small> + * other inline elements: <abbr> <acronym> <b> <bdo> <big> <br> <cite> <code> <dfn> <em> <i> <input> <kbd> <label> + * <map> <object> <output> <q> <samp> <script> <select> <small> <span> <strong> <sub> <sup> <textarea> <time> <tt> <var> + * an "inline-block" element still place element in the same line without breaking the line, but the element's width and height are applied. + * inline-block elements: img, button, select, meter, progress, marguee, also in Chrome: textarea, input + * A block-level element always starts on a new line, and the browsers automatically add some space (a margin) before and after the element. + * block-level elements: <address> <article> <aside> <blockquote> <canvas> <dd> <div> <dl> <dt> <fieldset> <figcaption> <figure> <footer> <form> + * <h1>-<h6> <header> <hr> <li> <main> <nav> <noscript> <ol> <p> <pre> <section> <table> <tfoot> <ul> <video> + * + * return: if it's inline element and { inline: true | false, text: true | false, violation: null | {node} } + */ + CSSUtil.getInlineStatus = function (element) { + if (!element) + return null; + var elem_styl = getComputedStyle(element); + if (!elem_styl) + return null; + var status = { inline: false, text: false, violation: null }; + var udisplay = elem_styl.getPropertyValue("display"); + // inline element only + if (udisplay !== "inline") + return status; + status.inline = true; + var parent = element.parentElement; + if (!parent) + return status; + var mapper = new DOMMapper_1.DOMMapper(); + var bounds = mapper.getUnadjustedBounds(element); + var style = getComputedStyle(parent); + var display = style.getPropertyValue("display"); + // an inline element is inside a block. note <body> is a block element too + if (display !== "block" && display !== "inline-block") { + //parent is inline element + if (!CommonUtil_1.CommonUtil.isInnerTextOnlyEmpty(parent)) + status.text = true; + return status; + } + /** + * @returns "yes"": inline with text, "no": inline without text, + * "violation": not spacing enough to neiboring inline target + * "block": block element, + */ + function isInlineWithText(node, before) { + // note browsers insert Text nodes to represent whitespaces. + if (node.nodeType === Node.TEXT_NODE) { + if (node.nodeValue && node.nodeValue.trim().length > 0) + return "yes"; + else + return "no"; + } + else if (node.nodeType === Node.ELEMENT_NODE) { + // special case: <br> is styled 'inline' by default, but change the line + if (node.nodeName.toLowerCase() === "br") + return "block"; + var cStyle = getComputedStyle(node); + var cDisplay = cStyle.getPropertyValue("display"); + if (cDisplay === "inline") { + if (CommonUtil_1.CommonUtil.isTarget(node)) { + if (bounds.width < 24) { + // check if the horizontal spacing is sufficient + var bnds = mapper.getUnadjustedBounds(node); + if ((before && (Math.round(bounds.width / 2) + bounds.left - bnds.left < 24)) + || (!before && (Math.round(bounds.width / 2) + bounds.left - (bnds.left + bnds.width) < 24))) { + status.violation = node.nodeName.toLowerCase(); + return "violation"; + } + else + return "no"; + } + } + if (!CommonUtil_1.CommonUtil.isInnerTextOnlyEmpty(node)) + return "yes"; + return "no"; + } + else + return "block"; + } + else + return "block"; + } + // an inline element is inside a block. note <body> is a block element too + // one or more inline elements with text in the same line: <target>, text<target>, <target>text, <inline>+text<target>, <target><inline>+text, text<target><inline>+ + var walkNode = element.nextSibling; + while (walkNode) { + var inlineText = isInlineWithText(walkNode, true); + if (inlineText === "yes") { + status.text = true; + break; + } + if (inlineText === "block") { + break; + } + walkNode = walkNode.nextSibling; + } + walkNode = element.previousSibling; + while (walkNode) { + var inlineText = isInlineWithText(walkNode, false); + if (inlineText === "yes") { + status.text = true; + break; + } + if (inlineText === "block") { + break; + } + walkNode = walkNode.previousSibling; + } + return status; + }; + /** + * a target is en element that accept a pointer action (click or touch) + * a target is a browser default if it's a native widget (no user defined role) without user style + */ + CSSUtil.isTargetBrowserDefault = function (element) { + if (!element) + return false; + // user defined widget + var roles = AriaUtil_1.AriaUtil.getRoles(element, false); + if (roles && roles.length > 0) + return false; + // no user style to space control size, including use of font + var styles = CSSUtil.getDefinedStyles(element); + if (styles["line-height"] || + styles["height"] || + styles["width"] || + styles["min-height"] || + styles["min-width"] || + styles["font-size"] || + styles["margin-top"] || + styles["margin-bottom"] || + styles["margin-left"] || + styles["margin-right"]) + return false; + return true; + }; + /* + * string contains CJK (chinese, japaneses, or korea) + * return: boolean + */ + CSSUtil.containsCKJ = function (text) { + if (!text) + return false; + // https://en.wikipedia.org/wiki/CJK_Unified_Ideographs https://ayaka.shn.hk/hanregex/ + var regex = /(?:[\u4e00-\u9fff\u3400-\u4dbf])+/g; + var replaced = text.trim().replace(regex, ""); + if (replaced.length === text.trim().length) + return false; + return true; + }; + /** + * return the ancestor with the given style properties. + * + * @parm {element} element - The element to start the node walk on to find parent node + * @parm {[string]} styleProps - The style properties and values of the parent to search for. + * such as {"overflow":['auto', 'scroll'], "overflow-x":['auto', 'scroll']} + * or {"overflow":['*'], "overflow-x":['*']}, The '*' for any value to check the existence of the style prop. + * @parm {bool} excludedValues - style values that should be ignored. + * @return {node} walkNode - A parent node of the element, which has the style properties + * @memberOf AriaUtil + */ + CSSUtil.getAncestorWithStyles = function (elem, styleProps, excludedValues) { + if (excludedValues === void 0) { excludedValues = []; } + var walkNode = elem; + while (walkNode !== null) { + var node = CacheUtil_1.CacheUtil.getCache(walkNode, "AriaUtil_AncestorWithStyles", null); + if (node) + return node; + var styles = CSSUtil.getDefinedStyles(walkNode); + for (var style in styleProps) { + var value = styles[style]; + if (value) { + value = value.split(" ")[0]; //get rid of !important + if (!excludedValues.includes(value)) { + if (styleProps[style].includes('*')) { + CacheUtil_1.CacheUtil.setCache(walkNode, "AriaUtil_AncestorWithStyles", walkNode); + return walkNode; + } + else if (styleProps[style].includes(value)) { + CacheUtil_1.CacheUtil.setCache(walkNode, "AriaUtil_AncestorWithStyles", walkNode); + return walkNode; + } + } + } + } + walkNode = DOMWalker_1.DOMWalker.parentElement(walkNode); + } + CacheUtil_1.CacheUtil.setCache(elem, "AriaUtil_AncestorWithStyles", undefined); + return null; + }; + return CSSUtil; +}()); +exports.CSSUtil = CSSUtil; + + +/***/ }), + +/***/ 7788: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CacheUtil = void 0; +var DOMWalker_1 = __webpack_require__(7440); +var CacheUtil = /** @class */ (function () { + function CacheUtil() { + } + /* Return a pointer to the given global variable + * with its initial value as given */ + CacheUtil.getCache = function (cacheSpot, keyName, initValue) { + if (!cacheSpot) + return undefined; + var cacheObj = (cacheSpot.nodeType === 9 /* Node.DOCUMENT_NODE */ || cacheSpot.nodeType === 11 /* Node.DOCUMENT_FRAGMENT_NODE */) ? cacheSpot : cacheSpot; + if (cacheObj.aceCache === undefined) { + cacheObj.aceCache = {}; + } + if (cacheObj.aceCache[keyName] === undefined) { + cacheObj.aceCache[keyName] = initValue; + } + return cacheObj.aceCache[keyName]; + }; + CacheUtil.setCache = function (cacheSpot, globalName, value) { + if (!cacheSpot) + return undefined; + var cacheObj = (cacheSpot.nodeType === 9 /* Node.DOCUMENT_NODE */ || cacheSpot.nodeType === 11 /* Node.DOCUMENT_FRAGMENT_NODE */) ? cacheSpot : cacheSpot; + if (cacheObj.aceCache === undefined) { + cacheObj.aceCache = {}; + } + cacheObj.aceCache[globalName] = value; + return value; + }; + CacheUtil.clearCaches = function (cacheRoot) { + delete cacheRoot.ownerDocument.aceCache; + var nw = new DOMWalker_1.DOMWalker(cacheRoot, false, cacheRoot, true); + do { + delete nw.node.aceCache; + nw.node.ownerDocument && delete nw.node.ownerDocument.aceCache; + } while (nw.nextNode()); + }; + return CacheUtil; +}()); +exports.CacheUtil = CacheUtil; + + +/***/ }), + +/***/ 8680: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ColorObj = exports.ColorUtil = void 0; +var DOMWalker_1 = __webpack_require__(7440); +var ColorUtil = /** @class */ (function () { + function ColorUtil() { + } + // Rewrite the color object to account for alpha + ColorUtil.Color = function (cssStyleColor) { + if (!cssStyleColor) + return null; + cssStyleColor = cssStyleColor.toLowerCase(); + if (cssStyleColor === "transparent") + return new ColorObj(255, 255, 255, 0); + if (cssStyleColor in ColorUtil.CSSColorLookup) + cssStyleColor = ColorUtil.CSSColorLookup[cssStyleColor]; + if (cssStyleColor.startsWith("rgb(")) { + var rgbRegex = /\s*rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/; + var m = cssStyleColor.match(rgbRegex); + if (m === null) + return null; + else { + return new ColorObj(m[1], m[2], m[3]); + } + } + else if (cssStyleColor.startsWith("rgba(")) { + var rgbRegex = /\s*rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(.+)\s*\)/; + var m = cssStyleColor.match(rgbRegex); + if (m === null) + return null; + else { + return new ColorObj(m[1], m[2], m[3], m[4]); + } + } + else if (cssStyleColor.charAt(0) != "#") { + return null; + } + else { + if (cssStyleColor.length === 4) { + // The three-digit RGB (#rgb) is converted to six-digit form (#rrggbb) by replicating digits + // (https://www.w3.org/TR/css-color-3/#rgb-color) + cssStyleColor = "#" + cssStyleColor.charAt(1).repeat(2) + + cssStyleColor.charAt(2).repeat(2) + + cssStyleColor.charAt(3).repeat(2); + } + var thisRed = parseInt(cssStyleColor.substring(1, 3), 16); + var thisGreen = parseInt(cssStyleColor.substring(3, 5), 16); + var thisBlue = parseInt(cssStyleColor.substring(5, 7), 16); + return new ColorObj(thisRed, thisGreen, thisBlue); + } + // return null; // Unreachable + }; + ; + ColorUtil.ColorCombo = function (ruleContext) { + try { + var doc = ruleContext.ownerDocument; + if (!doc) { + return null; + } + var win = doc.defaultView; + if (!win) { + return null; + } + var ancestors = []; + var walkNode = ruleContext; + while (walkNode) { + if (walkNode.nodeType === 1) + ancestors.push(walkNode); + walkNode = DOMWalker_1.DOMWalker.parentElement(walkNode); + } + var retVal = { + "hasGradient": false, + "hasBGImage": false, + "textShadow": false, + "fg": null, + "bg": null + }; + // start + var cStyle = win.getComputedStyle(ruleContext); + var compStyleColor = cStyle.color; + if (!compStyleColor) + compStyleColor = "black"; + var fg = ColorUtil.Color(compStyleColor); + var reColor = /transparent|rgba?\([^)]+\)/gi; + var guessGradColor = function (gradList, bgColor, fgColor) { + try { + // If there's only one color, return that + if (typeof gradList.length === "undefined") + return gradList; + var overallWorst = null; + var overallWorstRatio = null; + for (var iGrad = 1; iGrad < gradList.length; ++iGrad) { + var worstColor = gradList[iGrad - 1]; + var worstRatio = fgColor.contrastRatio(gradList[iGrad - 1]); + var step = .1; + var idx = 0; + while (step > .0001) { + while (idx + step <= 1 && worstRatio > fgColor.contrastRatio(gradList[iGrad].mix(gradList[iGrad - 1], idx + step).getOverlayColor(bgColor))) { + worstColor = gradList[iGrad].mix(gradList[iGrad - 1], idx + step).getOverlayColor(bgColor); + worstRatio = fgColor.contrastRatio(worstColor); + idx = idx + step; + } + while (idx - step >= 0 && worstRatio > fgColor.contrastRatio(gradList[iGrad].mix(gradList[iGrad - 1], idx - step).getOverlayColor(bgColor))) { + worstColor = gradList[iGrad].mix(gradList[iGrad - 1], idx - step).getOverlayColor(bgColor); + worstRatio = fgColor.contrastRatio(worstColor); + idx = idx - step; + } + step = step / 10; + } + if (overallWorstRatio === null || overallWorstRatio > worstRatio) { + overallWorstRatio = worstRatio; + overallWorst = worstColor; + } + } + return overallWorst; // return the darkest color + } + catch (e) { + console.log(e); + } + return bgColor; + }; + var priorStackBG = ColorUtil.Color("white"); + var thisStackOpacity = null; + var thisStackAlpha = null; + var thisStackBG = null; + // Ancestors processed from the topmost parent toward the child + while (ancestors.length > 0) { + var procNext = ancestors.pop(); + //var procNext = ancestors.splice(0, 1)[0]; + // cStyle is the computed style of this layer + var cStyle = win.getComputedStyle(procNext); + if (cStyle === null) + continue; + // thisBgColor is the color of this layer or null if the layer is transparent + var thisBgColor = null; + if (cStyle.backgroundColor && cStyle.backgroundColor != "transparent" && cStyle.backgroundColor != "rgba(0, 0, 0, 0)") { + thisBgColor = ColorUtil.Color(cStyle.backgroundColor); + } + // If there is a gradient involved, set thisBgColor to the worst color combination available against the foreground + if (cStyle.backgroundImage && cStyle.backgroundImage.indexOf && cStyle.backgroundImage.indexOf("gradient") != -1) { + var gradColors = cStyle.backgroundImage.match(reColor); + if (gradColors) { + var gradColorComp = []; + for (var i = 0; i < gradColors.length; ++i) { + if (!gradColors[i].length) { + gradColors.splice(i--, 1); + } + else { + var colorComp = ColorUtil.Color(gradColors[i]); + if (colorComp.alpha !== undefined && colorComp.alpha < 1) { + // mix the grdient bg color wit parent bg if alpha < 1 + var compStackBg = thisStackBG || priorStackBG; + colorComp = colorComp.getOverlayColor(compStackBg); + } + gradColorComp.push(colorComp); + } + } + thisBgColor = guessGradColor(gradColorComp, thisStackBG || priorStackBG, fg); + } + } + // Handle non-solid opacity + if (thisStackOpacity === null || (cStyle.opacity && cStyle.opacity.length > 0 && parseFloat(cStyle.opacity) < 1)) { + // New stack, reset + if (thisStackBG != null) { + // Overlay + thisStackBG.alpha = thisStackOpacity * thisStackAlpha; + priorStackBG = thisStackBG.getOverlayColor(priorStackBG); + } + thisStackOpacity = 1.0; + thisStackAlpha = null; + thisStackBG = null; + if (cStyle.opacity && cStyle.opacity.length > 0) { + thisStackOpacity = parseFloat(cStyle.opacity); + } + if (thisBgColor != null) { + thisStackBG = thisBgColor; + thisStackAlpha = thisStackBG.alpha || 1.0; + delete thisStackBG.alpha; + if (thisStackOpacity === 1.0 && thisStackAlpha === 1.0) { + retVal.hasBGImage = false; + retVal.hasGradient = false; + } + } + } + // Handle solid color backgrounds and gradient color backgrounds + else if (thisBgColor != null) { + // If this stack already has a background color, blend it + if (thisStackBG === null) { + thisStackBG = thisBgColor; + thisStackAlpha = thisStackBG.alpha || 1.0; + delete thisStackBG.alpha; + } + else { + thisStackBG = thisBgColor.getOverlayColor(thisStackBG); + //thisStackAlpha = thisBgColor.alpha || 1.0; + thisStackAlpha = thisStackBG.alpha || 1.0; + } + // #526: If thisBgColor had an alpha value, it may not expose through thisStackBG in the above code + // We can't wipe out the gradient info if this layer was transparent + if (thisStackOpacity === 1.0 && thisStackAlpha === 1.0 && (thisStackBG.alpha || 1.0) === 1.0 && (thisBgColor.alpha || 1.0) === 0) {} + } + if (cStyle.backgroundImage && cStyle.backgroundImage != "none") { + if (cStyle.backgroundImage.indexOf && cStyle.backgroundImage.indexOf("gradient") != -1) { + retVal.hasGradient = true; + } + else { + retVal.hasBGImage = true; + } + } + } + if (thisStackBG != null) { + fg = fg.getOverlayColor(thisStackBG); + delete fg.alpha; + } + fg.alpha = (fg.alpha || 1) * thisStackOpacity; + fg = fg.getOverlayColor(priorStackBG); + if (thisStackBG != null) { + thisStackBG.alpha = thisStackOpacity * thisStackAlpha; + priorStackBG = thisStackBG.getOverlayColor(priorStackBG); + } + retVal.fg = fg; + retVal.bg = priorStackBG; + if (cStyle.textShadow && cStyle.textShadow !== 'none') + retVal.textShadow = true; + return retVal; + } + catch (err) { + // something happened, then... + return null; + } + }; + ; + ColorUtil.CSSColorLookup = { + "aliceblue": "#f0f8ff", + "antiquewhite": "#faebd7", + "aqua": "#00ffff", + "aquamarine": "#7fffd4", + "azure": "#f0ffff", + "beige": "#f5f5dc", + "bisque": "#ffe4c4", + "black": "#000000", + "blanchedalmond": "#ffebcd", + "blue": "#0000ff", + "blueviolet": "#8a2be2", + "brown": "#a52a2a", + "burlywood": "#deb887", + "cadetblue": "#5f9ea0", + "chartreuse": "#7fff00", + "chocolate": "#d2691e", + "coral": "#ff7f50", + "cornflowerblue": "#6495ed", + "cornsilk": "#fff8dc", + "crimson": "#dc143c", + "cyan": "#00ffff", + "darkblue": "#00008b", + "darkcyan": "#008b8b", + "darkgoldenrod": "#b8860b", + "darkgray": "#a9a9a9", + "darkgreen": "#006400", + "darkkhaki": "#bdb76b", + "darkmagenta": "#8b008b", + "darkolivegreen": "#556b2f", + "darkorange": "#ff8c00", + "darkorchid": "#9932cc", + "darkred": "#8b0000", + "darksalmon": "#e9967a", + "darkseagreen": "#8fbc8f", + "darkslateblue": "#483d8b", + "darkslategray": "#2f4f4f", + "darkturquoise": "#00ced1", + "darkviolet": "#9400d3", + "deeppink": "#ff1493", + "deepskyblue": "#00bfff", + "dimgray": "#696969", + "dodgerblue": "#1e90ff", + "firebrick": "#b22222", + "floralwhite": "#fffaf0", + "forestgreen": "#228b22", + "fuchsia": "#ff00ff", + "gainsboro": "#dcdcdc", + "ghostwhite": "#f8f8ff", + "gold": "#ffd700", + "goldenrod": "#daa520", + "gray": "#808080", + "green": "#008000", + "greenyellow": "#adff2f", + "honeydew": "#f0fff0", + "hotpink": "#ff69b4", + "indianred": "#cd5c5c", + "indigo": "#4b0082", + "ivory": "#fffff0", + "khaki": "#f0e68c", + "lavender": "#e6e6fa", + "lavenderblush": "#fff0f5", + "lawngreen": "#7cfc00", + "lemonchiffon": "#fffacd", + "lightblue": "#add8e6", + "lightcoral": "#f08080", + "lightcyan": "#e0ffff", + "lightgoldenrodyellow": "#fafad2", + "lightgrey": "#d3d3d3", + "lightgreen": "#90ee90", + "lightpink": "#ffb6c1", + "lightsalmon": "#ffa07a", + "lightseagreen": "#20b2aa", + "lightskyblue": "#87cefa", + "lightslategray": "#778899", + "lightsteelblue": "#b0c4de", + "lightyellow": "#ffffe0", + "lime": "#00ff00", + "limegreen": "#32cd32", + "linen": "#faf0e6", + "magenta": "#ff00ff", + "maroon": "#800000", + "mediumaquamarine": "#66cdaa", + "mediumblue": "#0000cd", + "mediumorchid": "#ba55d3", + "mediumpurple": "#9370d8", + "mediumseagreen": "#3cb371", + "mediumslateblue": "#7b68ee", + "mediumspringgreen": "#00fa9a", + "mediumturquoise": "#48d1cc", + "mediumvioletred": "#c71585", + "midnightblue": "#191970", + "mintcream": "#f5fffa", + "mistyrose": "#ffe4e1", + "moccasin": "#ffe4b5", + "navajowhite": "#ffdead", + "navy": "#000080", + "oldlace": "#fdf5e6", + "olive": "#808000", + "olivedrab": "#6b8e23", + "orange": "#ffa500", + "orangered": "#ff4500", + "orchid": "#da70d6", + "palegoldenrod": "#eee8aa", + "palegreen": "#98fb98", + "paleturquoise": "#afeeee", + "palevioletred": "#d87093", + "papayawhip": "#ffefd5", + "peachpuff": "#ffdab9", + "peru": "#cd853f", + "pink": "#ffc0cb", + "plum": "#dda0dd", + "powderblue": "#b0e0e6", + "purple": "#800080", + "red": "#ff0000", + "rosybrown": "#bc8f8f", + "royalblue": "#4169e1", + "saddlebrown": "#8b4513", + "salmon": "#fa8072", + "sandybrown": "#f4a460", + "seagreen": "#2e8b57", + "seashell": "#fff5ee", + "sienna": "#a0522d", + "silver": "#c0c0c0", + "skyblue": "#87ceeb", + "slateblue": "#6a5acd", + "slategray": "#708090", + "snow": "#fffafa", + "springgreen": "#00ff7f", + "steelblue": "#4682b4", + "tan": "#d2b48c", + "teal": "#008080", + "thistle": "#d8bfd8", + "tomato": "#ff6347", + "turquoise": "#40e0d0", + "violet": "#ee82ee", + "wheat": "#f5deb3", + "white": "#ffffff", + "whitesmoke": "#f5f5f5", + "yellow": "#ffff00", + "yellowgreen": "#9acd32", + "buttontext": "rgba(0, 0, 0, 0.847)", + "buttonface": "#ffffff", + "graytext": "rgba(0, 0, 0, 0.247)" + }; + return ColorUtil; +}()); +exports.ColorUtil = ColorUtil; +var ColorObj = /** @class */ (function () { + function ColorObj(red, green, blue, alpha) { + function fixComponent(comp) { + if (typeof (comp) != typeof ("")) + return comp; + var compStr = comp; + compStr = compStr.trim(); + if (compStr[compStr.length - 1] != "%") + return parseInt(compStr); + return Math.round(parseFloat(compStr.substring(0, compStr.length - 1)) * 2.55); + } + this.red = fixComponent(red); + this.green = fixComponent(green); + this.blue = fixComponent(blue); + if (typeof (alpha) != "undefined") { + this.alpha = (typeof (alpha) === typeof ("")) ? parseFloat(alpha) : alpha; + } + } + ColorObj.prototype.toHexHelp = function (value) { + var retVal = Math.round(value).toString(16); + if (retVal.length === 1) + return "0" + retVal; + return retVal; + }; + ; + ColorObj.prototype.toHex = function () { + return "#" + this.toHexHelp(this.red) + this.toHexHelp(this.green) + this.toHexHelp(this.blue); + }; + ; + ColorObj.prototype.contrastRatio = function (bgColor) { + var fgColor = this; + if (typeof (this.alpha) != "undefined") + fgColor = this.getOverlayColor(bgColor); + var lum1 = fgColor.relativeLuminance(); + if (!bgColor.relativeLuminance) { + var s = ""; + for (var key in bgColor) { + s += key + "\n"; + } + alert(bgColor); + alert(s); + } + var lum2 = bgColor.relativeLuminance(); + var ratio = (lum1 > lum2) ? (lum1 + .05) / (lum2 + .05) : (lum2 + .05) / (lum1 + .05); + return ratio; + }; + ; + ColorObj.prototype.relativeLuminance = function () { + var R = this.red / 255.0; + var G = this.green / 255.0; + var B = this.blue / 255.0; + R = R <= .04045 ? R / 12.92 : Math.pow((R + .055) / 1.055, 2.4); + G = G <= .04045 ? G / 12.92 : Math.pow((G + .055) / 1.055, 2.4); + B = B <= .04045 ? B / 12.92 : Math.pow((B + .055) / 1.055, 2.4); + return 0.2126 * R + 0.7152 * G + 0.0722 * B; + }; + ; + ColorObj.prototype.mix = function (color2, percThis) { + if (typeof (this.alpha) === "undefined" && typeof (color2.alpha) === "undefined") { + return new ColorObj(percThis * this.red + (1 - percThis) * color2.red, percThis * this.green + (1 - percThis) * color2.green, percThis * this.blue + (1 - percThis) * color2.blue); + } + else { + var alphaThis = this.alpha ? this.alpha : 1; + var alphaOther = color2.alpha ? color2.alpha : 1; + return new ColorObj(percThis * this.red + (1 - percThis) * color2.red, percThis * this.green + (1 - percThis) * color2.green, percThis * this.blue + (1 - percThis) * color2.blue, percThis * alphaThis + (1 - percThis) * alphaOther); + } + }; + ; + ColorObj.prototype.getOverlayColor = function (bgColor) { + if (typeof (this.alpha) === "undefined" || this.alpha >= 1) { + // No mixing required - it's opaque + return this; + } + if (this.alpha < 0) { + // Haac.Error.logError("Invalid alpha value"); + return null; + } + if (typeof (bgColor.alpha) != "undefined" && bgColor.alpha < 1) { + // Haac.Error.logError("Cannot mix with a background alpha"); + return null; + } + var retVal = this.mix(bgColor, this.alpha); + delete retVal.alpha; + return retVal; + }; + ColorObj.fromCSSColor = function (cssStyleColor) { + var thisRed = -1; + var thisGreen = -1; + var thisBlue = -1; + cssStyleColor = cssStyleColor.toLowerCase(); + if (cssStyleColor.startsWith("rgb(")) { + var rgbRegex = /\s*rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/; + var m = cssStyleColor.match(rgbRegex); + if (m === null) + return null; + else { + thisRed = m[1]; + thisGreen = m[2]; + thisBlue = m[3]; + } + } + else if (cssStyleColor.startsWith("rgba(")) { + var rgbRegex = /\s*rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(.+)\s*\)/; + var m = cssStyleColor.match(rgbRegex); + if (m === null) + return null; + else { + thisRed = m[1]; + thisGreen = m[2]; + thisBlue = m[3]; + } + } + else { + if (cssStyleColor.charAt(0) != "#") { + if (cssStyleColor in ColorUtil.CSSColorLookup) + cssStyleColor = ColorUtil.CSSColorLookup[cssStyleColor]; + else + return null; + } + var fromHex = function (val) { + var lookup = { + "a": 10, + "b": 11, + "c": 12, + "d": 13, + "e": 14, + "f": 15 + }; + var retVal = 0; + for (var i = 0; i < val.length; ++i) { + retVal = retVal * 16 + + parseInt(val.charAt(i) in lookup ? lookup[val.charAt(i)] : val.charAt(i)); + } + return retVal; + }; + if (cssStyleColor.length === 4) { + // The three-digit RGB (#rgb) is converted to six-digit form (#rrggbb) by replicating digits + // (https://www.w3.org/TR/css-color-3/#rgb-color) + cssStyleColor = "#" + cssStyleColor.charAt(1).repeat(2) + + cssStyleColor.charAt(2).repeat(2) + + cssStyleColor.charAt(3).repeat(2); + } + thisRed = fromHex(cssStyleColor.substring(1, 3)); + thisGreen = fromHex(cssStyleColor.substring(3, 5)); + thisBlue = fromHex(cssStyleColor.substring(5, 7)); + } + return new ColorObj(thisRed, thisGreen, thisBlue); + }; + return ColorObj; +}()); +exports.ColorObj = ColorObj; + + +/***/ }), + +/***/ 8137: +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { + if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { + if (ar || !(i in from)) { + if (!ar) ar = Array.prototype.slice.call(from, 0, i); + ar[i] = from[i]; + } + } + return to.concat(ar || Array.prototype.slice.call(from)); +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CommonUtil = void 0; +var ARIADefinitions_1 = __webpack_require__(8235); +var CacheUtil_1 = __webpack_require__(7788); +var AriaUtil_1 = __webpack_require__(490); +var AccNameUtil_1 = __webpack_require__(1421); +var VisUtil_1 = __webpack_require__(8656); +var DOMUtil_1 = __webpack_require__(295); +var DOMWalker_1 = __webpack_require__(7440); +var fragment_1 = __webpack_require__(482); +var CommonUtil = /** @class */ (function () { + function CommonUtil() { + } + CommonUtil.wordCount = function (str) { + str = str.trim(); + if (str.length === 0) + return 0; + return str.split(/\s+/g).length; + }; + /** + * Note that this only detects if the element itself is in the tab order. + * However, this element may delegate focus to another element via aria-activedescendant. + * Also, focus varies by browser... sticking to things that are focusable on Chrome and Firefox. + */ + CommonUtil.isTabbable = function (element) { + // Using https://allyjs.io/data-tables/focusable.html + // Handle the explicit cases first + if (!VisUtil_1.VisUtil.isNodeVisible(element)) + return false; + if (element.hasAttribute("tabindex")) { + return parseInt(element.getAttribute("tabindex")) >= 0; + } + // Explicit cases handled - now the implicit + var nodeName = element.nodeName.toLowerCase(); + if (nodeName in CommonUtil.tabTagMap) { + var retVal = CommonUtil.tabTagMap[nodeName]; + if (typeof (retVal) === "function") { + retVal = retVal(element); + } + return retVal; + } + else { + if (element.hasAttribute("contenteditable")) + return true; + return false; + } + }; + /** + * Test if the ele node is focusable + */ + CommonUtil.isFocusable = function (ele) { + if (ele === "undefined" || ele === null) { + return false; + } + return CommonUtil.isTabbable(ele); + }; + /** + * Note that this only detects if the element itself is interactive, but not onclick event. + */ + CommonUtil.isClickable = function (element) { + if (!VisUtil_1.VisUtil.isNodeVisible(element)) + return false; + // native focusable element + var nodeName = element.nodeName.toLowerCase(); + if (nodeName in CommonUtil.tabTagMap) { + var retVal = CommonUtil.tabTagMap[nodeName]; + if (typeof (retVal) === "function") { + retVal = retVal(element); + } + return retVal; + } + else { + //custom widget + if (AriaUtil_1.AriaUtil.isWidget(element) && element.hasAttribute("tabindex")) { + return true; + } + } + return false; + }; + /* + * get conflict Aria and Html attributes + * return: a list of Aria and Html attribute pairs that are conflict + */ + CommonUtil.isTableDescendant = function (contextHierarchies) { + if (!contextHierarchies) + return null; + return contextHierarchies["aria"].filter(function (hier) { return ["table", "grid", "treegrid"].includes(hier.role); }); + }; + CommonUtil.tabIndexLEZero = function (elem) { + if (CommonUtil.hasAttribute(elem, "tabindex")) { + if (elem.getAttribute("tabindex").match(/^-?\d+$/)) { + var tabindexValue = parseInt(elem.getAttribute("tabindex")); + return tabindexValue === 0 || tabindexValue === -1; + } + } + return false; + }; + /** + * get number of tabbable children + * @param element + */ + CommonUtil.getTabbableChildren = function (element) { + var count = 0; + // If node has children, look for tab stops in the children + if (element.firstChild || element.nodeName.toUpperCase() === "IFRAME") { + var nw = new DOMWalker_1.DOMWalker(element); + while (nw.nextNode() && nw.node != element) { + if (nw.node.nodeType == 1 && !nw.bEndTag && CommonUtil.isTabbable(nw.node)) { + ++count; + } + } + } + return count; + }; + CommonUtil.normalizeSpacing = function (s) { + if (!s) + return ''; + return s.trim().replace(/\s+/g, ' '); + }; + ; + //TODO: function does not handle equivalents for roles: row, link, header, button + // But it may not have to. Bug reports have been about radio buttons and checkboxes. + CommonUtil.isHtmlEquiv = function (node, htmlEquiv) { + var retVal = false; + if (node) { + var nodeName = node.nodeName.toLowerCase(); + if (nodeName === "input") { + var type = node.getAttribute("type").toLowerCase(); + if (type) { + if (htmlEquiv.indexOf("checkbox") != -1) { + retVal = type === "checkbox"; + } + else if (htmlEquiv.indexOf("radio") != -1) { + retVal = type === "radio"; + } + } + } + } + return retVal; + }; + CommonUtil.nonExistantIDs = function (node, targetids) { + var returnnotfoundids = ''; + if (CommonUtil.normalizeSpacing(targetids).length < 1) + return returnnotfoundids; + var targetArray = targetids.split(" "); + var doc = node.ownerDocument; + for (var i = 0; i < targetArray.length; i++) { + var xp = "//*[@id='" + targetArray[i] + "']"; + var xpathResult = doc.evaluate(xp, node, doc.defaultNSResolver, 0 /* XPathResult.ANY_TYPE */, null); + var r = xpathResult.iterateNext(); + if (!r) + returnnotfoundids += targetArray[i] + ', '; + } + if (CommonUtil.normalizeSpacing(returnnotfoundids).length >= 2) + returnnotfoundids = returnnotfoundids.substring(0, returnnotfoundids.length - 2); + else + returnnotfoundids = ''; + return returnnotfoundids; + }; + CommonUtil.getDocElementsByTag = function (elem, tagName) { + var doc = fragment_1.FragmentUtil.getOwnerFragment(elem); + tagName = tagName.toLowerCase(); + var cache = CacheUtil_1.CacheUtil.getCache(doc, "RPT_DOCELEMSBYTAG", {}); + if (!(tagName in cache)) { + cache[tagName] = doc.querySelectorAll(tagName); + CacheUtil_1.CacheUtil.setCache(doc, "RPT_DOCELEMSBYTAG", cache); + } + return cache[tagName]; + }; + /** + * This function is responsible for get a list of all the child elemnts which match the tag + * name provided. + * + * Note: This is a wrapper function to: AriaUtil.getChildByTagHidden + * + * @parm {element} parentElem - The parent element + * @parm {string} tagName - The tag to search for under the parent element + * @parm {boolean} ignoreHidden - true if hidden elements with the tag should ignored from the list + * false if the hidden elements should be added + * + * @return {List} retVal - list of all the elements which matched the tag under the parent that were provided. + * + * @memberOf AriaUtil + */ + CommonUtil.getChildByTag = function (parentElem, tagName) { + return CommonUtil.getChildByTagHidden(parentElem, tagName, false, false); + }; + /** + * This function is responsible for get a list of all the child elemnts which match the tag + * name provided. + * + * @parm {element} parentElem - The parent element + * @parm {string} tagName - The tag to search for under the parent element + * @parm {boolean} ignoreHidden - true if hidden elements with the tag should ignored from the list + * false if the hidden elements should be added + * @parm {bool} considerHiddenSetting - true or false based on if hidden setting should be considered. + * + * @return {List} retVal - list of all the elements which matched the tag under the parent that were provided. + * + * @memberOf AriaUtil + */ + CommonUtil.getChildByTagHidden = function (parentElem, tagName, ignoreHidden, considerHiddenSetting) { + // Variable Decleration + var retVal = []; + var child = parentElem.firstChild; + // Loop over all the child elements of the parent to build a list of all the elements that + // match the tagName provided + while (child != null) { + // Only include the children into the return array if they match with tagname. + if (child.nodeName.toLowerCase() === tagName) { + // In the case that ignorehidden was set to true, then perform a isNodeVisible check + // and in the case the node is not visilble we more to theses then move to the next node. + // Perform a couple of checks to determine if hidden elements should be ignored or not. + // 1. When ignoreHidden is set to true upfront, then perform a isNodeVisible + // 2. If considerHiddenSetting option is set to true then we perform the check to consider the + // Check Hidden Content that is provided. + // 2.1. Only run isNodeVisible check if hidden content should NOT be checked. In the case that hidden content is to, + // be scanned then we can just scan everything as normal. In the case that the current node is hidden we do not + // add it to the roleToElems hash at all or even do any checking for it at all. + if ((ignoreHidden || (considerHiddenSetting && !CommonUtil.shouldCheckHiddenContent(child))) && !VisUtil_1.VisUtil.isNodeVisible(child)) { + // Move on to the next element + child = child.nextSibling; + continue; + } + // Push the element + retVal.push(child); + } + // Move to the next sibling element + child = child.nextSibling; + } + return retVal; + }; + /** + * This function is responsible for finding a list of elements that match given roles(s). + * This function by defauly will not consider Check Hidden Setting at all. + * This function by defauly will not consider implicit roles. + * Note: This is a wrapper function to: AriaUtil.getElementsByRoleHidden + * + * @parm {document} doc - The document node + * @parm {list or string} roles - List or single role for which to return elements based on. + * + * @return {List} retVal - list of all the elements which matched the role(s) that were provided. + * + * @memberOf AriaUtil + */ + CommonUtil.getElementsByRole = function (doc, roles) { + return CommonUtil.getElementsByRoleHidden(doc, roles, false, false); + }; + /** + * This function is responsible for finding a list of elements that match given roles(s). + * This function aslo finds elements with implicit roles. + * This function will also consider elements that are hidden based on the if the Check + * Hidden Content settings should be considered or not. + * + * @parm {document} doc - The document node + * @parm {list or string} roles - List or single role for which to return elements based on. + * @parm {bool} considerHiddenSetting - true or false based on if hidden setting should be considered. + * @parm {bool} considerImplicitRoles - true or false based on if implicit roles setting should be considered. + * + * @return {List} retVal - list of all the elements which matched the role(s) that were provided. + * + * @memberOf AriaUtil + */ + CommonUtil.getElementsByRoleHidden = function (doc, roles, considerHiddenSetting, considerImplicitRoles) { + // In the case that the role to element assoication is already made, and available in the global hasAttribute + // we can just use that one instead of building a new one. + var roleToElems = null; + if (considerImplicitRoles) { + roleToElems = CacheUtil_1.CacheUtil.getCache(doc, "AriaUtil_GETELEMENTSBY_ROLE_IMPLICIT", null); + } + else { + roleToElems = CacheUtil_1.CacheUtil.getCache(doc, "AriaUtil_GETELEMENTSBY_ROLE", null); + } + // Build the new role to element, this is where we loop through all the elements and extract all the + // elements bsaed on roles. + if (roleToElems === null) { + // Re-initialize the roleToElems hash + roleToElems = {}; + // Get the body of the doc + var root = doc.body; + // Keep looping until we are at the very parent node of the entire page, so that we can loop through + // all the nodes. + while (DOMWalker_1.DOMWalker.parentNode(root) !== null) { + // Get the parentNode + root = DOMWalker_1.DOMWalker.parentNode(root); + } + // Build a nodewalter based of the root node, this node walter will be use loop over all the nodes + // and build the roles to Element coralation + //let nw = new NodeWalker(root); + var nw = new DOMWalker_1.DOMWalker(root); + // Loop over the entire doc/list of nodes to build the role to element map + // Note: This will build an roleToElems hash which is in the following format. + // roleToElems = { + // document: [{div},{abbr},{var}], + // main: [{div}], + // navigation: [{div}] + // } + while (nw.nextNode()) { + if (!nw.elem()) + continue; + // Only check the elements which have the role attribute assiciated to them + if (!nw.bEndTag) { + var wRoles = []; + //check if the node has role attributes + if (nw.elem() && nw.elem().hasAttribute("role")) { + // Extract all the roles that are assigned to this element, can have multiple roles on one + // element split by space, so we need to extract all of them into an array. + wRoles = nw.elem().getAttribute("role").split(" "); + } + if (nw.elem() && wRoles.length === 0 && considerImplicitRoles) { + //check if there are any implicit roles for this element. + var implicitRole = AriaUtil_1.AriaUtil.getImplicitRole(nw.node); + if (implicitRole !== null && implicitRole.length > 0) + wRoles = implicitRole; + } + if (wRoles.length === 0) { + continue; + } + // Following are the steps that are executed at this stage to determine if the node should be classified as hidden + // or not. + // 1. If considerHiddenSetting option is set to true then we perform the check to consider the + // Check Hidden Content that is provided. + // 2. Only run isNodeVisible check if hidden content should NOT be checked. In the case that hidden content is to, + // be scanned then we can just scan everything as normal. In the case that the current node is hidden we do not + // add it to the roleToElems hash at all or even do any checking for it at all. + // + // Note: The if conditions uses short-circuiting so if the first condition is not true it will not check the next one, + // so on and so forth. + if (considerHiddenSetting && CommonUtil.shouldNodeBeSkippedHidden(nw.node)) { + continue; + } + // Loop through all the roles and assigned this node to all thes roles + for (var i = 0; i < wRoles.length; ++i) { + // In the case that the role key is not already in the roleToElems hash, construct the + // add the key and assign empty array. + if (!(wRoles[i] in roleToElems)) { + roleToElems[wRoles[i]] = []; + } + // Add the node to the array for the role + roleToElems[wRoles[i]].push(nw.node); + } + } + } + // Set the roleToElems hash map as a global variable + if (considerImplicitRoles) { + CacheUtil_1.CacheUtil.setCache(doc, "AriaUtil_GETELEMENTSBY_ROLE_IMPLICIT", roleToElems); + } + else { + CacheUtil_1.CacheUtil.setCache(doc, "AriaUtil_GETELEMENTSBY_ROLE", roleToElems); + } + } + // Initilize the return value + var retVal = []; + // Handle the cases where the provided role is a string and not an array, + // for this case we take the string and put it into an array + if (typeof (roles) === "string") { + var role = roles; + roles = []; + roles.push(role); + } + // Loop through the roles that were provided and find the list of elements for this roles + // and add them to the return value. + if (roles.length) { + // loop over all the roles + for (var i = 0; i < roles.length; ++i) { + // Extract the role from the array + var nextRole = roles[i]; + // Fetch the list of all the elements for this role + var copyRoles = roleToElems[nextRole]; + // If there are elements to copy to another array, then perform the copy + if (copyRoles) { + // Loop over all the elements which are to be copied + for (var j = 0; j < copyRoles.length; ++j) { + // Add this element to the return val + retVal.push(copyRoles[j]); + } + } + } + } + return retVal; + }; + /** + * a target is en element that accept a pointer action (click or touch) + * + */ + CommonUtil.isTarget = function (element) { + if (!element || element.nodeType !== 1 + || ["html", "body"].includes(element.nodeName.toLowerCase()) + || CommonUtil.getAncestor(element, ["svg", "pre", "code", "script", "meta", 'head']) !== null + || !VisUtil_1.VisUtil.isNodeVisible(element) || VisUtil_1.VisUtil.isNodeVisuallyHidden(element) + || CommonUtil.isNodeDisabled(element) || VisUtil_1.VisUtil.isElementOffscreen(element)) + return false; + if (CommonUtil.isClickable(element)) + return true; + var role = AriaUtil_1.AriaUtil.getResolvedRole(element); + if (!role) + return false; + var target_roles = ["listitem", "menuitem", "menuitemcheckbox", "menuitemradio", "option", "radio", "switch", "treeitem"]; + if (target_roles.includes(role)) { + // find the proper parent elements + var parent_1 = element.parentElement; + if (parent_1) { + var parent_role = AriaUtil_1.AriaUtil.getResolvedRole(parent_1); + // datalist, fieldset, optgroup, etc. may be just used for grouping purpose, so go up to the parent + if (parent_role === 'group') + parent_1 = parent_1.parentElement; + } + if (parent_1 && CommonUtil.isTarget(parent_1)) + return true; + } + return false; + }; + CommonUtil.getFileExt = function (url) { + var m = url.match(/\.(([^;?#\.]|^$)+)([;?#]|$)/); + if (m != null && m.length >= 2) { + return "." + m[1]; + } + return ""; + }; + CommonUtil.getFileAnchor = function (url) { + var m = url.match(/#(([^;?\.]|^$)+)([;?]|$)/); + if (m != null && m.length >= 2) { + return m[1]; + } + return ""; + }; + CommonUtil.checkObjEmbed = function (node, extTest, mimeTest) { + var nodeName = node.nodeName.toLowerCase(); + if (nodeName != "object" && nodeName != "embed" && + nodeName != "a" && nodeName != "area") + return false; + var retVal = false; + // Check mime type + if (!retVal && node.hasAttribute("type")) { + var mime = node.getAttribute("type").toLowerCase(); + retVal = mimeTest(mime); + } + if (!retVal && node.hasAttribute("codetype")) { + var mime = node.getAttribute("codetype"); + retVal = mimeTest(mime); + } + // Check the filename + if (!retVal) { + var filename = ""; + if (nodeName === "embed") { + filename = node.getAttribute("src"); + } + else if (nodeName === "a" || nodeName === "area") { + filename = node.getAttribute("href"); + } + else if (node.hasAttribute("data")) { + filename = node.getAttribute("data"); + } + if (filename === null) + filename = ""; + var ext = CommonUtil.getFileExt(filename); + retVal = extTest(ext); + } + // Check for filenames in the params + if (!retVal && nodeName === "object") { + // In the case that Check Hidden Option is set then comply with that setting + var params = CommonUtil.getChildByTagHidden(node, "param", false, true); + for (var i = 0; !retVal && params != null && i < params.length; ++i) { + retVal = params[i].hasAttribute("value") && + extTest(CommonUtil.getFileExt(params[i].getAttribute("value"))); + } + } + return retVal; + }; + CommonUtil.isAudioObjEmbedLink = function (node) { + return CommonUtil.checkObjEmbed(node, CommonUtil.isAudioExt, function (mime) { + return mime.startsWith("audio"); + }); + }; + CommonUtil.isAudioExt = function (ext) { + var audio_extensions = [".aif", ".aifc", ".aiff", ".air", ".asf", ".au", ".cda", + ".dsm", ".dss", ".dwd", ".iff", ".kar", ".m1a", ".med", + ".mp2", ".mp3", ".mpa", ".pcm", ".ra", ".ram", ".rm", + ".sam", ".sf", ".sf2", ".smp", ".snd", ".svx", ".ul", + ".voc", ".wav", ".wma", ".wve" + ]; + return CommonUtil.valInArray(ext.toLowerCase(), audio_extensions); + }; + CommonUtil.isVideoObjEmbedLink = function (node) { + return CommonUtil.checkObjEmbed(node, CommonUtil.isVideoExt, function (mime) { + return mime.startsWith("video") || + mime.startsWith("application/x-shockwave-flash"); + }); + }; + CommonUtil.isVideoExt = function (ext) { + var video_extensions = [".asf", ".avi", ".divx", ".dv", ".m1v", ".m2p", ".m2v", ".moov", + ".mov", ".mp4", ".mpeg", ".mpg", ".mpv", ".ogm", ".omf", ".qt", + ".rm", ".rv", ".smi", ".smil", ".swf", ".vob", ".wmv", ".rmvb", + ".mvb" + ]; + return CommonUtil.valInArray(ext.toLowerCase(), video_extensions); + }; + CommonUtil.isImageObjEmbedLink = function (node) { + return CommonUtil.checkObjEmbed(node, CommonUtil.isImgExt, function (mime) { + return mime.startsWith("image"); + }); + }; + CommonUtil.isImgExt = function (ext) { + return CommonUtil.valInArray(ext.toLowerCase(), CommonUtil.image_extensions); + }; + CommonUtil.isHtmlExt = function (ext) { + var html_extensions = [".asp", ".aspx", ".cfm", ".cfml", ".cgi", ".htm", ".html", ".shtm", + ".shtml", ".php", ".pl", ".py", ".shtm", ".shtml", ".xhtml" + ]; + return CommonUtil.valInArray(ext.toLowerCase(), html_extensions); + }; + CommonUtil.hasTriggered = function (doc, id) { + return CacheUtil_1.CacheUtil.getCache(doc, id, false); + }; + CommonUtil.triggerOnce = function (doc, id, passed) { + if (passed) + return true; + var triggered = CacheUtil_1.CacheUtil.getCache(doc, id, false); + CacheUtil_1.CacheUtil.setCache(doc, id, true); + return triggered; + }; + /* determine if the given value exists in the given array */ + CommonUtil.valInArray = function (value, arr) { + for (var idx in arr) { + if (arr[idx] === value) + return true; + } + return false; + }; + /** + * return the ancestor of the given element + * @param tagNames string, array, or dictionary containing the tags to search for + */ + CommonUtil.getAncestor = function (element, tagNames) { + var walkNode = element; + while (walkNode !== null) { + var thisTag = walkNode.nodeName.toLowerCase(); + if (typeof (tagNames) === "string") { + if (thisTag === tagNames.toLowerCase()) { + break; + } + } + else if (tagNames.length) { + for (var idx in tagNames) { + if (tagNames[idx] === thisTag) + return walkNode; + } + } + else if (thisTag in tagNames) { + break; + } + walkNode = DOMWalker_1.DOMWalker.parentNode(walkNode); + } + return walkNode; + }; + // return true if element1 and element2 are siblings + CommonUtil.isSibling = function (element1, element2) { + if (element1 && element2) { + var node = null; + if (DOMWalker_1.DOMWalker.parentNode(element1) && DOMWalker_1.DOMWalker.parentNode(element1).firstChild) { + node = DOMWalker_1.DOMWalker.parentNode(element1).firstChild; + } + while (node) { + if (node === element2) + return true; + node = node.nextSibling; + } + } + return false; + }; + CommonUtil.isDescendant = function (parent, child) { + var node = DOMWalker_1.DOMWalker.parentNode(child); + while (node != null) { + if (node === parent) { + return true; + } + node = DOMWalker_1.DOMWalker.parentNode(node); + } + return false; + }; + //check if the first form control child is disabled + CommonUtil.isDisabledByFirstChildFormElement = function (element) { + var formElements = ["input", "textarea", "select", "keygen", "progress", "meter", "output"]; + if (element.firstChild != null) { + //let nw = new NodeWalker(element); + var nw = new DOMWalker_1.DOMWalker(element); + while (nw.nextNode()) { + if (formElements.includes(nw.node.nodeName.toLowerCase())) { + if (CommonUtil.isNodeDisabled(nw.node)) + return true; + return false; + } + } + } + return false; + }; + CommonUtil.isDisabledByReferringElement = function (element) { + var id = element.getAttribute("id"); + var doc = element.ownerDocument; + var root = doc.body; + while (DOMWalker_1.DOMWalker.parentNode(root) !== null) { + // Get the parentNode + root = DOMWalker_1.DOMWalker.parentNode(root); + } + //let nw = new NodeWalker(root); + var nw = new DOMWalker_1.DOMWalker(root); + while (nw.nextNode()) { + // check the element whose 'aria-describedby' equals to the id + if (nw.node && nw.node.nodeType === 1 && nw.elem()) { + var AriaDescribedbyIDArray = (nw.elem().getAttribute("aria-describedby") || "").split(" "); + if (AriaDescribedbyIDArray.includes(id) && CommonUtil.isNodeDisabled(nw.node)) { + return true; + } + } + } + }; + /** get element containing label for the given element + * @deprecated Deprecated because the function name is misleading. Use getLabelForElement(element) instead + */ + CommonUtil.getInputLabel = function (element) { + return CommonUtil.getLabelForElement(element); + }; + /** + * This function is responsible for getting the element containing the label for the given element. + * + * Note: This is a wrapper function to: AriaUtil.getLabelForElementHidden + * + * @parm {element} element - The element for which to get the label element for. + * + * @return {element} element - return the element for the label, otherwise null + * + * @memberOf AriaUtil + */ + CommonUtil.getLabelForElement = function (element) { + return CommonUtil.getLabelForElementHidden(element, false); + }; + /** + * This function is responsible for getting the element containing the label for the given element. + * + * This function will return null if the containing lable element is hidden, when the ignoreHidden option + * is set to true. + * + * @parm {element} element - The element for which to get the label element for. + * @parm {boolean} ignoreHidden - true if hidden elements with label should be ignored from the list + * false if the hidden elements should be added + * + * @return {element} element - return the element for the label, otherwise null + * + * @memberOf AriaUtil + */ + CommonUtil.getLabelForElementHidden = function (element, ignoreHidden) { + // Check if the global AriaUtil_LABELS hash is available, as this will contain the label nodes based on + // for attribute. + //if (!getCache(element.ownerDocument,"AriaUtil_LABELS", null)) { + var root = element.getRootNode(); + if (!CacheUtil_1.CacheUtil.getCache((root.nodeType === 11) ? root : root, "AriaUtil_LABELS", null)) { + // Variable Decleration + var idToLabel = {}; + // Get all the label elements in the entire doc + var labelNodes = CommonUtil.getDocElementsByTag(element, "label"); + // Loop over all the label nodes, in the case the label node has a for attribute, + // extract that attribute and add this node to the hash if it is visible. + for (var i = 0; i < labelNodes.length; ++i) { + if (labelNodes[i].hasAttribute("for")) { + // If ignore hidden is specified and the node is not visible we do not add it to the + // labelNodes hash. + if (ignoreHidden && !VisUtil_1.VisUtil.isNodeVisible(labelNodes[i])) { + continue; + } + idToLabel[labelNodes[i].getAttribute("for")] = labelNodes[i]; + } + } + // Add the built hash to the ownerDocument (document), to be used later to fast retrival + //setCache(element.ownerDocument, "AriaUtil_LABELS", idToLabel); + CacheUtil_1.CacheUtil.setCache((root.nodeType === 11) ? root : root, "AriaUtil_LABELS", idToLabel); + } + // If this element has an id attribute, get the corosponding label element + if (element.hasAttribute("id")) { + // Fetch the id attribute + var ctrlId = element.getAttribute("id"); + // Return the corosponding label element. + // Note: in the case that the the id is not found in the hash that means, it does not exists or is hidden + if (ctrlId.trim().length > 0) { + //return getCache(element.getRootNode().ownerDocument,"AriaUtil_LABELS",{})[ctrlId]; + return CacheUtil_1.CacheUtil.getCache((root.nodeType === 11) ? root : root, "AriaUtil_LABELS", {})[ctrlId]; + } + } + return null; + }; + /* Return specified element attribute if present else return null */ + CommonUtil.getElementAttribute = function (element, attr) { + //return (element && element.hasAttribute && element.hasAttribute(attr)) ? element.getAttribute(attr) : null; + if (!attr || !element || !element.hasAttribute || !element.hasAttribute(attr)) + return null; + var atrValue = element.getAttribute(attr); + if (!ARIADefinitions_1.ARIADefinitions.referenceProperties.includes(attr)) + return atrValue; + //attr is a reference to other elements(s) + var values = atrValue.split(/ +/g); + //ignore if none of the referred element(s) exist or all point to the element itself + var exist = false; + for (var id = 0; values < values.length; ++id) { + var referred = document.getElementById(values[id]); + if (referred && !DOMUtil_1.DOMUtil.sameNode(referred, element)) { + exist = true; + break; + } + } + return exist ? atrValue : null; + }; + // Return true if element has valid implicit label + CommonUtil.hasImplicitLabel = function (element) { + var parentNode = CommonUtil.getAncestor(element, "label"); + // Test a) if the parent is a label which is the implicit label + // b) if the form element is the first child of the label + // c) if the form element requires an implicit or explicit label : "input", "textarea", "select", "keygen", "progress", "meter", "output" + // d) form elements which may have a label: button + // form elements that do not require implicit or explicit label element are: + // "optgroup", "option", "datalist"(added later). These were handled differently in the main rule, might need to refactor the code later + if (parentNode && parentNode.tagName.toLowerCase() === "label" && CommonUtil.isFirstFormElement(parentNode, element)) { + var parentClone = parentNode.cloneNode(true); + // exclude all form elements from the label since they might also have inner content + parentClone = CommonUtil.removeAllFormElementsFromLabel(parentClone); + return CommonUtil.hasInnerContentHidden(parentClone); + } + else { + return false; + } + }; + // Return the implicit label of the given form field + CommonUtil.getImplicitLabel = function (element) { + var parentNode = CommonUtil.getAncestor(element, "label"); + // Test a) if the parent is a label which is the implicit label + // b) if the form element is the first child of the label + // c) if the form element requires an implicit or explicit label : "input", "textarea", "select", "keygen", "progress", "meter", "output" + // d) form elements which may have a label: button + // form elements that do not require implicit or explicit label element are: + // "optgroup", "option", "datalist"(added later). These were handled differently in the main rule, might need to refactor the code later + if (parentNode && parentNode.tagName.toLowerCase() === "label" && CommonUtil.isFirstFormElement(parentNode, element)) { + var parentClone = parentNode.cloneNode(true); + // exclude all form elements from the label since they might also have inner content + parentClone = CommonUtil.removeAllFormElementsFromLabel(parentClone); + var label = CommonUtil.getInnerText(parentClone); + return label && label.trim() !== '' ? label.trim() : null; + } + else + return null; + }; + /** + * This function is responsible for getting the label for a form field element. + * + * + * @parm {element} element - The element from which to get the label. + * + * @return {string} text - return the label text or null + * + * @memberOf AriaUtil + */ + CommonUtil.getFormFieldLabel = function (elem) { + // get the label from the attribute "for" of the label element + // Get only the non-hidden labels for element + var value = ""; + var label = null; + var labelElem = CommonUtil.getLabelForElementHidden(elem, true); + if (labelElem) { + // value directly from element text + label = labelElem.innerText; // ignore hidden text + } + else { + /** if it's not label with for attribute, then find implicit label + * cases for explict label: + * <label for='my'></label><input id='my'/> + * <label for='my'><input id='my'/></label> + * cases for implicit label: + * <label><input /></label> + */ + labelElem = CommonUtil.getAncestor(elem, "label"); + if (labelElem && labelElem.tagName.toLowerCase() === "label" && CommonUtil.isFirstFormElement(labelElem, elem)) { + var parentClone = labelElem.cloneNode(true); + // exclude all the text from the first form element since they might also + // have inner content that is part of innerText + parentClone = CommonUtil.removeAllFormElementsFromLabel(parentClone); + label = CommonUtil.getInnerText(parentClone); + } + else + return null; + } + if (label && label.trim() !== "") + value += label.trim(); + // value from child element attribute + label = CommonUtil.getLabelTextFromAttribute(labelElem, true); + if (label && label.trim() !== "") + value += label.trim(); + // wired case: get aria label from label element itself just in case (though name prohibited from aria in html) + label = AriaUtil_1.AriaUtil.getAriaLabel(labelElem); + if (label && label.trim() !== "") + value += label.trim(); + return value.trim(); + }; + /** + * calculate label from embedded control: https://w3c.github.io/accname/ + * @param {element} labelElem label element + * @param {boolean} ignoreHidden - true if hidden elements with label should be ignored from the list + * false if the hidden elements should be added + * @returns label text or '' + * + * note the assumption is the labelElem refers either to a labelled element by 'for' attribute + * or its first form field is labbelled element + */ + CommonUtil.getLabelTextFromAttribute = function (labelElem, ignoreHidden) { + // label either points to a labelable element by its for attribute or the first element child + // get the labelled elment if it's an implicit label + var labeledElem = null; + for (var i = 0; i < labelElem.children.length; i++) { + var child = labelElem.children.item(i); + if (CommonUtil.form_labelable_elements.includes(child.nodeName.toLowerCase())) { + labeledElem = child; + break; + } + } + var nw = new DOMWalker_1.DOMWalker(labelElem); + var text = ''; + while (nw.nextNode() && nw.node !== labelElem) { + // only check element children + if (nw.node && nw.node.nodeType === 1 && nw.elem()) { + var elem = nw.elem(); + // ignore if it's hidden, or labelled element, or first form element if not labeled by for attribute + if ((ignoreHidden && (VisUtil_1.VisUtil.isNodeHiddenFromAT(elem) || VisUtil_1.VisUtil.isNodePresentational(elem))) + || (labeledElem && labeledElem.contains(elem))) + continue; + var role = AriaUtil_1.AriaUtil.getResolvedRole(elem); + // textbox etc. return its text value + if (role === "textbox") { + var name_1 = elem.getAttribute("value"); + if (name_1 && name_1.trim().length > 0) + text += ' ' + name_1.trim(); + } + else if (role === "combobox" || role === "listbox") { + // for combobox or listbox roles, return the text alternative of the chosen option. + var selectedId = elem.getAttribute("aria-activedescendant") || elem.getAttribute("aria-selected") || elem.getAttribute("aria-checked"); + if (selectedId) { + var selectedOption = elem.ownerDocument.getElementById(selectedId); + if (selectedOption && !DOMUtil_1.DOMUtil.sameNode(elem, selectedOption)) { + var pair = AccNameUtil_1.AccNameUtil.computeAccessibleName(selectedOption); + if (pair && pair.name) + text += ' ' + pair.name.trim(); + } + } + } + else if (["progressbar", "scrollbar", "slider", "spinbutton", "meter"].includes(role)) { + // for range role type, including "progressbar", "scrollbar", "slider", "spinbutton" roles + // If the aria-valuetext property is present, return its value + var value_1 = elem.getAttribute("aria-valuetext"); + if (value_1 && value_1.trim().length > 0) + text += ' ' + value_1.trim(); + // Otherwise, if the aria-valuenow property is present, return its value, + value_1 = elem.getAttribute("aria-valuenow"); + if (value_1 && value_1.trim().length > 0) + text += ' ' + value_1.trim(); + // finally use native value attribute + value_1 = elem.getAttribute("value"); + if (value_1 && value_1.trim().length > 0) + text += ' ' + value_1.trim(); + } + // get aria label from the element + var value = AriaUtil_1.AriaUtil.getAriaLabel(elem); + if (value && value.trim() !== "") + text += ' ' + value.trim(); + } + } + return text.trim(); + }; + CommonUtil.isFirstFormElement = function (parentNode, element) { + //let formElementsRequiringLabel = ["input", "textarea", "select", "keygen", "progress", "meter", "output"]; + if (parentNode.firstChild != null) { + //let nw = new NodeWalker(parentNode); + var nw = new DOMWalker_1.DOMWalker(parentNode); + while (nw.nextNode()) { + if (CommonUtil.form_labelable_elements.indexOf(nw.node.nodeName.toLowerCase()) !== -1) { + return nw.node === element; + } + } + } + return false; + }; + // check if the element is a shadow host or descendant of a shadow host, but not a descedant of the shadow root of the host (to be assigned to shadow slot or ignored) + CommonUtil.isShadowHostElement = function (element) { + if (CommonUtil.isShadowElement(element)) + return false; + var walkNode = element; + while (walkNode) { + if (walkNode.shadowRoot) + return true; + walkNode = DOMWalker_1.DOMWalker.parentElement(walkNode); + } + return false; + }; + //check if an element is in a shadow tree + CommonUtil.isShadowElement = function (element) { + var root = element.getRootNode(); + if (root.toString() === "[object ShadowRoot]") + return true; + return false; + }; + CommonUtil.removeAllFormElementsFromLabel = function (element) { + var formElements = ["input", "textarea", "select", "button", "datalist", "optgroup", "option", "keygen", "output", "progress", "meter"]; + var childNodes = element.childNodes; + for (var i = 0; i < childNodes.length; i++) { + if (formElements.indexOf(childNodes[i].nodeName.toLowerCase()) > -1) { + element.removeChild(childNodes[i]); + } + } + return element; + }; + /** + * @param element + * @param idStr + * @returns true if any one (if multiple Ids) id points to itself + */ + CommonUtil.isIdReferToSelf = function (element, idStr) { + if (!idStr || idStr.trim() === '') + return false; + var ids = idStr.trim().split(" "); + for (var j = 0, length_1 = ids.length; j < length_1; ++j) { + var referredNode = fragment_1.FragmentUtil.getById(element, ids[j]); + if (referredNode && DOMUtil_1.DOMUtil.sameNode(referredNode, element)) + return true; + } + return false; + }; + /* Determine the node depth of the given element */ + CommonUtil.nodeDepth = function (element) { + var depth = 0; + var walkNode = element; + while (walkNode !== null) { + walkNode = DOMWalker_1.DOMWalker.parentNode(walkNode); + depth = depth + 1; + } + return depth; + }; + /* compare node order of the 2 given nodes */ + /* returns + * 0 if the nodes are equal + * 1 if node b is before node a + * -1 if node a is before node b + * 2 if node a is nested in node b + * -2 if node b is nested in node a + * null if either node is null or their parent nodes are not equal + */ + CommonUtil.compareNodeOrder = function (nodeA, nodeB) { + if (nodeA === nodeB) + return 0; + var aDepth = CommonUtil.nodeDepth(nodeA); + var bDepth = CommonUtil.nodeDepth(nodeB); + if (bDepth > aDepth) { + for (var i = 0; i < bDepth - aDepth; ++i) + nodeB = DOMWalker_1.DOMWalker.parentNode(nodeB); + if (nodeA === nodeB) // Node B nested in Node A + return -2; + } + else if (aDepth > bDepth) { + for (var i = 0; i < aDepth - bDepth; ++i) + nodeA = DOMWalker_1.DOMWalker.parentNode(nodeA); + if (nodeA === nodeB) // Node A nested in Node B + return 2; + } + while (nodeA != null && nodeB != null && DOMWalker_1.DOMWalker.parentNode(nodeA) != DOMWalker_1.DOMWalker.parentNode(nodeB)) { + nodeA = DOMWalker_1.DOMWalker.parentNode(nodeA); + nodeB = DOMWalker_1.DOMWalker.parentNode(nodeB); + } + if (nodeA === null || nodeB === null || DOMWalker_1.DOMWalker.parentNode(nodeA) != DOMWalker_1.DOMWalker.parentNode(nodeB)) + return null; + while (nodeB != null && nodeB != nodeA) + nodeB = nodeB.previousSibling; + if (nodeB === null) // nodeB before nodeA + return 1; + else + return -1; + }; + /** + * Determine if the given attribute of the given element is not empty + * @memberOf AriaUtil + */ + CommonUtil.attributeNonEmpty = function (element, attrStr) { + return element.hasAttribute(attrStr) && element.getAttribute(attrStr).trim().length > 0; + }; + /* Return a pointer to the given frame, null if not found */ + CommonUtil.getFrameByName = function (ruleContext, frameName) { + var window = ruleContext.ownerDocument.defaultView; + var frameList = [window]; + var idx = 0; + while (idx < frameList.length) { + try { + if (frameList[idx].name === frameName) + return frameList[idx]; + for (var i = 0; i < frameList[idx].frames.length; ++i) { + try { + // Ensure it's a real frame and avoid recursion + if (frameList[idx].frames[i] && !frameList.includes(frameList[idx].frames[i])) { + frameList.push(frameList[idx].frames[i]); + } + } + catch (e) { } + } + } + catch (e) { } + ++idx; + } + return null; + }; + CommonUtil.defaultNSResolver = function (prefix) { + var uri; + switch (prefix) { + case 'html': + uri = 'http://www.w3.org/1999/xhtml'; + case 'x2': + uri = 'http://www.w3.org/TR/xhtml2'; + case 'x': + uri = 'http://www.w3.org/1999/xhtml'; + case 'xhtml': + uri = 'http://www.w3.org/1999/xhtml'; + default: + uri = null; + } + return uri; + }; + //checking if only the inner text is empty or not + CommonUtil.isInnerTextOnlyEmpty = function (element) { + // Get the innerText of the element + var text = element.innerText; + if ((text === undefined || text === null || text.trim().length === 0) && element.nodeName.toLowerCase() !== 'slot' && element.textContent !== undefined) { + //ignore slot because its text will be filled by the corresponding content in the light DOM + // innerText is sometimes 'undefined' in headless mode, or null if the element is invisible or not erxpanded + // so we try textContent as a workaround + text = element.textContent; + } + var retVal = !(text !== null && text.trim().length > 0); + if (element.nodeType === 1 && element.nodeName.toLowerCase() === "slot") { + //TODO: need to conside its own content, a slot may have its own content or assigned content + for (var _i = 0, _a = element.assignedNodes(); _i < _a.length; _i++) { + var slotElem = _a[_i]; + retVal = retVal && CommonUtil.isInnerTextEmpty(slotElem); + } + } + // Trim the inner text and verify that it is not empty. + return retVal; + }; + /* Return the inner text of the given element */ + CommonUtil.getInnerText = function (element) { + var retVal = element.innerText; + if (retVal === undefined || retVal === null || retVal.trim() === "") + retVal = element.textContent; + return retVal; + }; + /** + * return onscreen innerText. + * This function should return the same result as innerText if no offscreen content exists + * + * @parm {element} node The node which should be checked it has inner text or not. + * @return {null | string} null if element has empty inner text, text otherwise + * + * @memberOf AriaUtil + */ + CommonUtil.getOnScreenInnerText = function (element) { + if (!element) + return null; + if (element.nodeType === 3) + return element.nodeValue(); + var text = ""; + //let nw = new NodeWalker(element); + var nw = new DOMWalker_1.DOMWalker(element); + // Loop over all the childrens of the element to get the text + while (nw.nextNode() && nw.node !== element && nw.node !== element.parentNode) { + if (nw.bEndTag) + continue; + if ((nw.node.nodeType === 1 && (VisUtil_1.VisUtil.hiddenByDefaultElements.includes(nw.node.nodeName.toLowerCase())) || !VisUtil_1.VisUtil.isNodeVisible(nw.node) || VisUtil_1.VisUtil.isElementOffscreen(nw.node))) { + if (nw.node.nextSibling) { + if (nw.node.nextSibling.nodeType === 3 && nw.node.nextSibling.nodeValue !== null) + text += nw.node.nextSibling.nodeValue; + nw.node = nw.node.nextSibling; + continue; + } + else + break; + } + if (nw.node.nodeType === 3 && nw.node.nodeValue !== null) { + text += nw.node.nodeValue.trim(); + } + } + return text.trim(); + }; + /** Return the text content of the given node + * this is different than innerText or textContent that return text content of a node and its descendants + */ + CommonUtil.getNodeText = function (element) { + if (!element) + return ""; + var text = ""; + var childNodes = element.childNodes; + for (var i = 0; i < childNodes.length; ++i) { + if (childNodes[i].nodeType == 3) { + text += childNodes[i].nodeValue; + } + } + return text; + }; + /** + * This function is responsible for checking if elements inner text is empty or not. + * + * @parm {element} node The node which should be checked it has inner text or not. + * @return {bool} true if element has empty inner text, false otherwise + * + * @memberOf AriaUtil + */ + CommonUtil.isInnerTextEmpty = function (element) { + // Get the innerText of the element + var text = CommonUtil.getInnerText(element); + // Trim the inner text and verify that it is not empty. + return !(text != null && text.trim().length > 0); + }; + CommonUtil.hasInnerContent = function (element) { + var text = CommonUtil.getInnerText(element); + var hasContent = (text !== null && text.trim().length > 0); + if (element.firstChild !== null) { + //let nw = new NodeWalker(element); + var nw = new DOMWalker_1.DOMWalker(element); + while (!hasContent && nw.nextNode()) { + hasContent = (nw.node.nodeName.toLowerCase() === "img" && + CommonUtil.attributeNonEmpty(nw.node, "alt")); + } + } + return hasContent; + }; + /** + * This function is responsible for determine if an element has inner content. + * This function also considers cases where inner text is hidden, which now will + * be classified as does not have hidden content. + * + * @parm {element} node The node which should be checked it has inner text or not. + * @return {bool} true if element has empty inner text, false otherwise + * + * @memberOf AriaUtil + */ + CommonUtil.hasInnerContentHidden = function (element) { + return CommonUtil.hasInnerContentHiddenHyperLink(element, false); + }; + CommonUtil.svgHasName = function (element) { + return CommonUtil.attributeNonEmpty(element, "aria-label") + || CommonUtil.attributeNonEmpty(element, "aria-labelledby") + || !!element.querySelector(":scope > title"); + }; + CommonUtil.hasInnerContentHiddenHyperLink = function (element, hyperlink_flag) { + if (!element) + return false; + // Variable Decleration + var childElement = element.firstElementChild; + var hasContent = false; + // In the case that the childElement is not null then we need to check each of the elements + // to make sure that the elements are not all hidden. + if (childElement != null) { + // Get the nodewalter of the element node, so that we can loop over it and verify + // that the elements under the element are not completly hidden. + //let nw = new NodeWalker(element); + var nw = new DOMWalker_1.DOMWalker(element); + // Loop over all the nodes until there are no more nodes or we have determine that there is content under + // this parent element. + while (!hasContent && nw.nextNode() && nw.node != element) { + // Get the next node + var node = nw.node; + // In the case an img element is present with alt then we can mark this as pass + // otherwise keep checking all the other elements. Make sure that this image element is not hidden. + hasContent = (node.nodeName.toLowerCase() === "img" + && (CommonUtil.attributeNonEmpty(node, "alt") || CommonUtil.attributeNonEmpty(node, "title")) + && !VisUtil_1.VisUtil.isNodeHiddenFromAT(node) && !VisUtil_1.VisUtil.isNodePresentational(node)) || (node.nodeName.toLowerCase() === "svg" + && CommonUtil.svgHasName(node)); + // Now we check if this node is of type element, visible + if (!hasContent && node.nodeType === 1 && !VisUtil_1.VisUtil.isNodeHiddenFromAT(node) && !VisUtil_1.VisUtil.isNodePresentational(node)) { + // Check if the innerText of the element is empty or not + hasContent = !CommonUtil.isInnerTextOnlyEmpty(node); + if (!hasContent && hyperlink_flag === true) { + hasContent = CommonUtil.attributeNonEmpty(node, "aria-label") || CommonUtil.attributeNonEmpty(node, "aria-labelledby"); + var doc = node.ownerDocument; + if (doc) { + var win = doc.defaultView; + if (win) { + var cStyle = win.getComputedStyle(node); + if (!hasContent && cStyle != null) { + // console.log(cStyle.backgroundImage); + // console.log(cStyle.content) + hasContent = ((cStyle.backgroundImage && cStyle.backgroundImage.indexOf) || cStyle.content) && CommonUtil.attributeNonEmpty(node, "alt"); + } + } + } + } + } + // Check for cases where there is text node after an element under the parent + // In the case we detect nodetype as text node and the patent of the text node is + // the same element we are checking has Inner content for then get the inner content of this + // text node. + if (node.nodeType === 3 && DOMWalker_1.DOMWalker.parentElement(node) === element) { + // Check if the innerText of the element is empty or not + hasContent = !CommonUtil.isInnerTextEmpty(node); + } + } + } + // In the case there are no child elements then we can simply perform the check for only innertext + // the img with alt case will be covered in the above if, as img is considers as an element. + else { + // Check if the innerText of the element is empty or not + hasContent = !CommonUtil.isInnerTextEmpty(element); + } + return hasContent; + }; + CommonUtil.hasInnerContentOrAlt = function (element) { + var text = CommonUtil.getInnerText(element); + var hasContent = (text != null && text.trim().length > 0) || CommonUtil.attributeNonEmpty(element, "alt"); + if (element.firstChild != null) { + //let nw = new NodeWalker(element); + var nw = new DOMWalker_1.DOMWalker(element); + while (!hasContent && nw.nextNode() && nw.node != element) { + hasContent = (nw.node.nodeName.toLowerCase() === "img" && + CommonUtil.attributeNonEmpty(nw.node, "alt")); + if (!hasContent + && (AriaUtil_1.AriaUtil.hasRole(nw.node, "button", true) || AriaUtil_1.AriaUtil.hasRole(nw.node, "textbox")) + && (AriaUtil_1.AriaUtil.hasAriaLabel(nw.node) || CommonUtil.attributeNonEmpty(nw.node, "title") || CommonUtil.getLabelForElementHidden(nw.elem(), true))) { + hasContent = true; + } + } + } + return hasContent; + }; + CommonUtil.concatUniqueArrayItem = function (item, arr) { + arr.indexOf(item) === -1 && item !== null ? arr.push(item) : false; + return arr; + }; + CommonUtil.concatUniqueArrayItemList = function (itemList, arr) { + for (var i = 0; itemList !== null && i < itemList.length; i++) { + arr = CommonUtil.concatUniqueArrayItem(itemList[i], arr); + } + return arr; + }; + /** + * remove array items from a given array + * @param itemList items to be removed from arr + * @param arr the array + * @returns + */ + CommonUtil.reduceArrayItemList = function (itemList, arr) { + if (arr && arr.length > 0 && itemList && itemList.length > 0) { + var result = arr.filter(function (value) { + return !itemList.includes(value); + }); + return result; + } + return arr; + }; + CommonUtil.getScopeForTh = function (element) { + /** https://www.w3.org/TR/html5/tabular-data.html#header-and-data-cell-semantics + * A header cell anchored at the slot with coordinate (x, y) with width width and height height is + * said to be a column header if any of the following conditions are true: + * * The cell's scope attribute is in the column state, or + * * The cell's scope attribute is in the auto state, and there are no data cells in any of + * the cells covering slots with y-coordinates y .. y+height-1. + * A header cell anchored at the slot with coordinate (x, y) with width width and height height is + * said to be a row header if any of the following conditions are true: + * * The cell's scope attribute is in the row state, or + * * The cell's scope attribute is in the auto state, the cell is not a column header, and there are + * no data cells in any of the cells covering slots with x-coordinates x .. x+width-1. + */ + // Note: auto is default scope + // Easiest answer is if scope is specified + if (element.hasAttribute("scope")) { + var scope = element.getAttribute("scope").toLowerCase(); + if (scope === "row" || scope === 'rowgroup') + return "row"; + if (scope === "col" || scope === 'colgroup') + return "column"; + } + // scope is auto, default (without a scope) or invalid value. + // if all the sibling elements are th, then return "columnheader" + var siblings = function (element) { return __spreadArray([], element.parentElement.children, true).filter(function (node) { return node.nodeType === 1 && node.tagName != "TH"; }); }; + if (siblings === null || siblings.length === 0) + return "column"; + else + return "row"; + }; + CommonUtil.getControlOfLabel = function (node) { + // Handle the easy case of label -> for + var labelAncestor = CommonUtil.getAncestor(node, "label"); + if (labelAncestor) { + if (labelAncestor.hasAttribute("for")) { + return fragment_1.FragmentUtil.getById(node, labelAncestor.getAttribute("for")); + } + } + // Create a dictionary containing ids of parent nodes + var idDict = {}; + var parentWalk = node; + while (parentWalk) { + if (parentWalk.nodeType === 1 /* Node.ELEMENT_NODE */) { + var ancestor = parentWalk; + if (ancestor.hasAttribute("id")) { + idDict[ancestor.getAttribute("id")] = true; + } + } + parentWalk = DOMWalker_1.DOMWalker.parentNode(parentWalk); + } + // Iterate through controls that use aria-labelledby and see if any of them reference one of my ancestor ids + var inputsUsingLabelledBy = node.ownerDocument.querySelectorAll("*[aria-labelledby]"); + for (var idx = 0; idx < inputsUsingLabelledBy.length; ++idx) { + var inputUsingLabelledBy = inputsUsingLabelledBy[idx]; + var ariaLabelledBy = inputUsingLabelledBy.getAttribute("aria-labelledby"); + var sp = ariaLabelledBy.split(" "); + for (var _i = 0, sp_1 = sp; _i < sp_1.length; _i++) { + var id = sp_1[_i]; + if (id in idDict && !CommonUtil.isIdReferToSelf(node, node.getAttribute("aria-labelledby"))) { + return inputUsingLabelledBy; + } + } + } + // Find the cases where we're within an aria labelledby + return null; + }; + /** + * This function is responsible for checking if the node that is provied is + * disabled or not. Following is how the check is performed: + * 1. Check if the current node is disabled with the following options: + * attribute --> disabled + * Also needs to be "button", "input", "select", "textarea", "optgroup", "option", + * "menuitem", "fieldset" nodes (in array elementsAllowedDisabled) + * attribute --> aria-disabled="true" + * 2. Check if any of the current nodes parents are disabled with the same + * options listed in 1. + * + * Note: If either current node or any of the parent nodes are disabled then this + * function will return true (node is disabled). + * + * @parm {HTMLElement} node - The node which should be checked if it is disabled or not. + * @return {bool} true if the node is disabled, false otherwise + * + * @memberOf AriaUtil + */ + CommonUtil.isNodeDisabled = function (node) { + // Set PT_NODE_DISABLED to false for all the nodes, before the check and this will be changed to + // true when we detect that the node is disabled. We have to set it to false so that we know + // the node has already been checked. Only set it to false if the setting is undefined or null + // as if it is defined we do not wnat to reset it. As if it is true then we should make use of it + // to speed up the check. + var PT_NODE_DISABLED = CacheUtil_1.CacheUtil.getCache(node, "PT_NODE_DISABLED", false); + // Check the nodeType of this node, if this node is a text node then + // we get the parentnode and set that as the node as a text nodes, + // disabled is directly related to the parent node. + if (node.nodeType === 3) { + node = DOMWalker_1.DOMWalker.parentNode(node); + } + // Variable Declaration + var nodeName = node.nodeName.toLowerCase(); + // Get the disabled element property, disabled and aria-disabled attribute and check that it is true + var disabledAttribute = node.hasAttribute("disabled"); + var disabledPropertyCustom = PT_NODE_DISABLED; + var ariaDisabledAttribute = node.hasAttribute('aria-disabled') && node.getAttribute("aria-disabled") === 'true'; + // If this node has disabled attribute and the node allows disabled attribute, then return true. + // Disabled attribute is only allowed on "button", "input", "select", "textarea", "optgroup", "option", "menuitem", "fieldset" + // In the case aria-disabled is set to true, then also return true + if (disabledPropertyCustom || (disabledAttribute && ARIADefinitions_1.ARIADefinitions.elementsAllowedDisabled.indexOf(nodeName) > -1) || ariaDisabledAttribute) { + PT_NODE_DISABLED = true; + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_DISABLED", PT_NODE_DISABLED); + return true; + } + // Get the parentNode for this node, becuase we have to check all parents to make sure they do not have + // disabled attribute. Only keep checking until we are all the way back to the parentNode + // element. + var parentElement = DOMWalker_1.DOMWalker.parentNode(node); + // If the parent node exists and the nodetype is element (1), then run recursive call to perform the check + // all the way up to the very parent node. Use recursive call here instead of a while loop so that we do not + // have to duplicate the logic for checking if the node is disabled or not for all the parents starting with + // child node. + if (parentElement != null && parentElement.nodeType === 1) { + // Check upwards recursively, and save the results in an variable + var nodeDisabled = CommonUtil.isNodeDisabled(parentElement); + // If the node is found to be disabled then add the custom PT_NODE_DISABLED to true. + // so that we can use this next time, to quickly determine if node is disabled or not. + // This is extra percaution, the isNodeDisabled function already sets this. + if (nodeDisabled) { + PT_NODE_DISABLED = true; + } + // Check upwards recursively + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_DISABLED", PT_NODE_DISABLED); + return nodeDisabled; + } + // Return false (node is not disabled) + return false; + }; + /** + * This function is responsible for determine if hidden content should be checked + * in rules. + * + * @parm {element} node - A node so that the document can be accessed to check for the + * option. Can be document element or a simple node element. + * @return {bool} true if hidden content should be checked, false otherwise + * + * @memberOf AriaUtil + */ + CommonUtil.shouldCheckHiddenContent = function (node) { + return false; + }; + /** + * This function is responsible for determining if node should be skipped from checking or not, based + * on the Check Hidden Content settings and if the node is visible or not. + * + * @parm {element} node - Node to check if it is visible or not based on the Check Hidden Content + * setting. + * + * @return {bool} true if node should be skipped, false otherwise + * + * @memberOf AriaUtil + */ + CommonUtil.shouldNodeBeSkippedHidden = function (node) { + // Following are the steps that are executed at this stage to determine if the node should be classified as hidden + // or not. + // 1. Only run isNodeVisible check if hidden content should NOT be checked. In the case that hidden content is to, + // be scanned then we can just scan everything as normal. In the case that the current node is hidden we + // return true to identify that the node should not be scanned/added to any hash/array. + // + // Note: The if conditions uses short-circuiting so if the first condition is not true it will not check the next one, + // so on and so forth. + if (!CommonUtil.shouldCheckHiddenContent(node) && !VisUtil_1.VisUtil.isNodeVisible(node)) { + return true; + } + return false; + }; + CommonUtil.isfocusableByDefault = function (node) { + var focusableElements = ['input', 'select', 'button', 'textarea', 'option', 'area']; + if (node.nodeName.toLowerCase() === "a" && CommonUtil.hasAttribute(node, 'href')) + return true; + if (node.nodeName.toLowerCase() === "area" && CommonUtil.hasAttribute(node, 'href')) + return true; + if (focusableElements.indexOf(node.nodeName.toLowerCase()) !== -1) + return true; + return false; + }; + /** + * This function check if a non-tabable node has valid tabable content. + * If it is tabable (the tabindex is not speicified or is not -1), returns false; + * If it is non-tabable, but a child is tabable and does not have element content, returns false; + * Otherwise, returns true. + */ + CommonUtil.nonTabableChildCheck = function (element) { + if (!element.hasAttribute("tabindex") || + (parseInt(element.getAttribute("tabindex")) != -1)) { + return false; + } + //let nw = new NodeWalker(element); + var nw = new DOMWalker_1.DOMWalker(element); + while (nw.nextNode()) { + var child = nw.elem(); + if (child === null) { // Text node. usually is a cartridge return. + continue; + } + if (child.hasAttribute("tabindex") && + (parseInt(child.getAttribute("tabindex")) != -1) && + !CommonUtil.hasInnerContent(child)) { + return false; + } + } + return true; + }; + CommonUtil.hasAttribute = function (element, attributeName) { + var hasAttribute = false; + if (element.hasAttribute) { + hasAttribute = element.hasAttribute(attributeName); + } + else if (element.attributes && element.attributes.getNamedItem) { + var attr = element.attributes.getNamedItem(attributeName); + hasAttribute = attr && attr.specified; + } + return hasAttribute; + }; + // truncate the given text to a given number of characters + // return truncated text to 150 chars, same with the media_alt_brief rule + CommonUtil.truncateText = function (text, len) { + if (len === void 0) { len = 150; } + if (!text) + return text; + text = text.trim(); + if (text.length > len) + return text.substring(0, len - 1) + "..."; + return text; + }; + CommonUtil.input_type_with_placeholder = ["text", "search", "tel", "url", "email", "password", "number"]; + CommonUtil.input_text_types = [ + "text", "file", "password", + "checkbox", "radio", + "search", "tel", "url", "email", + "date", "number", "range", + "time", "color" + ]; + CommonUtil.input_time_types = [ + "date", "month", "week", "time", "datetime-local" + ]; + CommonUtil.input_other_types = [ + "range", "color", "checkbox", "radio", "file", "image" + ]; + CommonUtil.form_button_types = [ + "button", "reset", "submit" + ]; + CommonUtil.form_labelable_elements = ["input", "textarea", "select", "keygen", "progress", "meter", "output", "button"]; + CommonUtil.tabTagMap = { + "button": function (element) { + return !element.hasAttribute("disabled"); + }, + "iframe": true, + "input": function (element) { + return element.getAttribute("type") !== "hidden" && !element.hasAttribute("disabled"); + }, + "select": function (element) { + return !element.hasAttribute("disabled"); + }, + "textarea": true, + /**"div": function (element) { + return element.hasAttribute("contenteditable"); + },*/ + "a": function (element) { + // xlink:href?? see svg + return element.hasAttribute("href"); + }, + "area": function (element) { + return element.hasAttribute("href"); + }, + "audio": function (element) { + return element.hasAttribute("controls"); + }, + "video": function (element) { + return element.hasAttribute("controls"); + }, + "summary": function (element) { + // first summary child of a details element is automatically focusable + return element.parentElement && element.parentElement.nodeName.toLowerCase() === 'details' + && DOMUtil_1.DOMUtil.sameNode(__spreadArray([], element.parentElement.children, true).filter(function (elem) { return elem.nodeName.toLowerCase() === 'summary'; })[0], element); + }, + "details": function (element) { + //details element without a direct summary child is automatically focusable + return element.children && __spreadArray([], element.children, true).filter(function (elem) { return elem.nodeName.toLowerCase() === 'summary'; }).length === 0; + } + }; + CommonUtil.image_extensions = [".bmp", ".gif", ".jpg", ".jpeg", ".pcx", ".png"]; + return CommonUtil; +}()); +exports.CommonUtil = CommonUtil; + + +/***/ }), + +/***/ 5755: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.TableUtil = void 0; +var VisUtil_1 = __webpack_require__(8656); +var AriaUtil_1 = __webpack_require__(490); +var CommonUtil_1 = __webpack_require__(8137); +var TableUtil = /** @class */ (function () { + function TableUtil() { + } + TableUtil.isDataTable = function (tableNode) { + return !(AriaUtil_1.AriaUtil.hasRole(tableNode, "none") || AriaUtil_1.AriaUtil.hasRole(tableNode, "presentation")); + }; + /* + * A complex data table is a data table with any of the following characteristics: + * + * a thead element that contains two or more tr elements + * a table with more than one thead element + * a table with two or more tr elements that contain only th elements + * a th or td element with a rowspan or colspan attribute + * a tr element that contains at least one td element and two or more th elements + * a table with headers not located in the first row or first column + * a td element with a headers attribute value that contains more than two IDREFs + */ + TableUtil.isComplexDataTable = function (table) { + if ("AriaUtil_isComplexDataTable" in table) { + return !!table.AriaUtil_isComplexDataTable; + } + var isComplexTable = false; + if (table && TableUtil.isDataTable(table)) { + var thNodes = null, tdNodes = null; + var trNodes = table.getElementsByTagName("tr"); + var trNodeCount = trNodes.length; + var tdNodeCount = 0, thNodeCount = 0, trNodesHavingOnlyThNodes = 0; + for (var i = 0; !isComplexTable && i < trNodeCount; ++i) { + thNodes = trNodes[i].getElementsByTagName("th"); + tdNodes = trNodes[i].getElementsByTagName("td"); + thNodeCount = thNodes.length; + tdNodeCount = tdNodes.length; + if (tdNodeCount !== 0) { + // a tr element that contains at least one td element and two or more th elements; + isComplexTable = thNodeCount > 1; + // a th element with a rowspan or colspan attribute + for (var j = 0; !isComplexTable && j < thNodeCount; ++j) { + isComplexTable = ((thNodes[j].hasAttribute("rowspan") || + thNodes[j].hasAttribute("colspan")) && + CommonUtil_1.CommonUtil.getAncestor(thNodes[j], "table") === table); + } + // a td element with a rowspan or colspan attribute + // a td element with a headers attribute value that contains more than two IDREFs + for (var k = 0; !isComplexTable && k < tdNodeCount; ++k) { + isComplexTable = ((tdNodes[k].hasAttribute("rowspan") || + tdNodes[k].hasAttribute("colspan") || + (tdNodes[k].hasAttribute("headers") && CommonUtil_1.CommonUtil.normalizeSpacing(tdNodes[k].getAttribute("headers")).split(" ").length > 2)) && + CommonUtil_1.CommonUtil.getAncestor(tdNodes[k], "table") === table); + } + } + else { + // two or more tr elements that contain only th elements + if (thNodeCount > 0) { + ++trNodesHavingOnlyThNodes; + } + isComplexTable = trNodesHavingOnlyThNodes === 2; + } + } + if (!isComplexTable) { + var theadNodes = table.getElementsByTagName("thead"); + var theadNodesLength = theadNodes.length; + if (theadNodesLength > 0) { + // table has more than one thead element + isComplexTable = theadNodesLength > 1; + // a thead element that contains two or more tr elements + if (!isComplexTable) { + isComplexTable = theadNodes[0].getElementsByTagName("tr").length > 1; + } + } + } + if (!isComplexTable && trNodeCount !== 0) { + // a table with headers not located in the first row or first column + isComplexTable = thNodeCount > 0 && !TableUtil.tableHeaderExists(table); + } + } + table.AriaUtil_isComplexDataTable = isComplexTable; + return isComplexTable; + }; + // Return true if a table cell is hidden or contain no data: <td></td> + TableUtil.isTableCellEmpty = function (cell) { + if (!cell || !VisUtil_1.VisUtil.isNodeVisible(cell) || cell.innerHTML.replace(/&nbsp;/g, ' ').trim().length === 0) + return true; + return false; + }; + // Return true if a table row is hidden or contain no data: <tr /> or <tr><td></td><td></td></tr> + TableUtil.isTableRowEmpty = function (row) { + if (!row || !row.cells || row.cells.length === 0 || !VisUtil_1.VisUtil.isNodeVisible(row)) + return true; + var passed = true; //empty + for (var c = 0; passed && c < row.cells.length; c++) { + var cell = row.cells[c]; + passed = TableUtil.isTableCellEmpty(cell); + } + return passed; + }; + // Return true if a table's header is in the first row or column + TableUtil.tableHeaderExists = function (ruleContext) { + var rows = ruleContext.rows; + if (!rows || rows.length === 0) + return null; + // note that table.rows return all all the rows in the table, + // including the rows contained within <thead>, <tfoot>, and <tbody> elements. + //case 1: headers are in the very first row with data in tbody or thead, but not in tfoot + //get the first row with data, ignoring the rows with no data + var passed = true; + var firstRow = rows[0]; + for (var r = 0; passed && r < rows.length; r++) { + firstRow = rows[r]; + // ignore the rows from tfoot + if (firstRow.parentNode && firstRow.parentNode.nodeName.toLowerCase() === 'tfoot') + continue; + passed = TableUtil.isTableRowEmpty(firstRow); + } + //table contain no data: <table><tr><td></td><td></td></tr></table> + if (passed) + return null; + // Check if the cells with data in the first data row are all TH's + passed = true; + for (var r = 0; passed && r < firstRow.cells.length; r++) { + var cell = firstRow.cells[r]; + passed = TableUtil.isTableCellEmpty(cell) || cell.nodeName.toLowerCase() === 'th'; + } + if (passed) + return true; + // Case 2: headers are in the first column with data + // Assume that the first column has all TH's or a TD without data in the first column. + passed = true; + for (var i = 0; passed && i < rows.length; ++i) { + // ignore the rows from tfoot + if (rows[i].parentNode && rows[i].parentNode.nodeName.toLowerCase() === 'tfoot') + continue; + // If no cells in this row, or no data at all, that's okay too. + passed = !rows[i].cells || + rows[i].cells.length === 0 || + rows[i].cells[0].innerHTML.trim().length === 0 || + rows[i].cells[0].nodeName.toLowerCase() != "td"; + } + if (passed) + return true; + //case 3: all td data cells have headers attributes that point to the id of a th element in the same table. + // https://html.spec.whatwg.org/multipage/tables.html#attributes-common-to-td-and-th-elements + passed = true; + var thIds = []; + var tdHeaders = []; + for (var r = 0; passed && r < rows.length; r++) { + var row = rows[r]; + // Check if the cells with data in the last data row are all TH's + for (var c = 0; c < row.cells.length; c++) { + var cell = row.cells[c]; + if (TableUtil.isTableCellEmpty(cell)) + continue; + if (cell.nodeName.toLowerCase() === 'td') { + if (!cell.getAttribute('headers') || cell.getAttribute('headers').trim().length === 0) + passed = false; + else + CommonUtil_1.CommonUtil.concatUniqueArrayItemList(cell.getAttribute('headers').trim().split(" "), tdHeaders); + } + else if (cell.nodeName.toLowerCase() === 'th' && cell.getAttribute('id') && cell.getAttribute('id').trim().length > 0) + CommonUtil_1.CommonUtil.concatUniqueArrayItem(cell.getAttribute('id').trim(), thIds); + } + } + if (passed) { // all td elements have headers, to exam if the headers point to a th id + if (thIds.length > 0 && tdHeaders.every(function (header) { return thIds.includes(header); })) + return true; + } + return false; + }; + TableUtil.isLayoutTable = function (tableNode) { + return AriaUtil_1.AriaUtil.hasRole(tableNode, "presentation") || AriaUtil_1.AriaUtil.hasRole(tableNode, "none"); + }; + /* + * get conflict Aria and Html attributes + * return: a list of Aria and Html attribute pairs that are conflict + */ + TableUtil.isTableDescendant = function (contextHierarchies) { + if (!contextHierarchies) + return null; + return contextHierarchies["aria"].filter(function (hier) { return ["table", "grid", "treegrid"].includes(hier.role); }); + }; + return TableUtil; +}()); +exports.TableUtil = TableUtil; + + +/***/ }), + +/***/ 8656: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +/****************************************************************************** + Copyright:: 2022- IBM, Inc + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.VisUtil = void 0; +var CacheUtil_1 = __webpack_require__(7788); +var DOMUtil_1 = __webpack_require__(295); +var DOMWalker_1 = __webpack_require__(7440); +var DOMMapper_1 = __webpack_require__(5697); +var AriaUtil_1 = __webpack_require__(490); +var CSSUtil_1 = __webpack_require__(1775); +var VisUtil = /** @class */ (function () { + function VisUtil() { + } + /** + * This function is responsible for checking if the node that is provied is + * visible or not. Following is how the check is performed: + * 1. Check if the current node is hidden with the following options: + * CSS --> dislay: none + * CSS --> visibility: hidden + * attribute --> hidden + * 2. Check if the any of the current nodes parents are hidden with the same + * options listed in 1. + * + * Note: If either current node or any of the parent nodes are hidden then this + * function will return false (node is not visible). + * + * Note: nodes with CSS properties opacity:0 or filter:opacity(0%), or similar SVG mechanisms: + * They are not considered hidden. Text hidden with these methods can still be selected or copied, + * and user agents still expose it in their accessibility trees. + * + * Note: nodes hidden off screen or behind another object: they are not considered hidden. + * They are exposed in the accessibility tree and they can even name on-screen objects. + * + * @parm {element} node The node which should be checked if it is visible or not. + * @return {bool} false if the node is NOT visible, true otherwise + * + * @memberOf VisUtil + */ + VisUtil.isNodeVisible = function (nodeIn) { + // Check the nodeType if this node, if this node is a text node then + // we get the parentnode and set that as the node as a text nodes, + // visibility is directly related to the parent node. + if (nodeIn.nodeType === 3) { + nodeIn = DOMWalker_1.DOMWalker.parentNode(nodeIn); + } + var node = nodeIn; + // We should only allow nodeType element, and TextNode all other nodesTypes + // we can return the visibility as visible. + // Following nodes will be returned as visable by default, since we can not + // actually change their visibility. + // Node.PROCESSING_INSTRUCTION_NODE --> 7 + // Node.COMMENT_NODE --> 8 + // 9 /* Node.DOCUMENT_NODE */ --> 9 + // Node.DOCUMENT_TYPE_NODE --> 10 + // Node.DOCUMENT_FRAGMENT_NODE --> 11 + if (node.nodeType !== 1) { + return true; + } + // Make sure that the ownerDocument is present before moving forward + // in detecting if the node is visible or not. In the case that ownerDocument + // does not exist then we simply return node is visible by default. + if (!node.ownerDocument) { + return true; + } + // Variable Declaration + var compStyle; + var nodeName = node.nodeName.toLowerCase(); + // In the case this node is a script, link or style node, right away return node is visible + // because scripts, links and style nodes can not be hidden by HTML attribute or CSS or are hidden by default. But we want to scan + // the elements everytime as they render content still which is still visible to users. + // script --> script elements have display: none by default + // link --> link elements have display: none by default, but the actually CSS script is still executed so we have to + // mark this element as visible at all times. + // style --> style elements have display: none by default, but the actually CSS script is still executed so we have to + // mark this element as visible at all times. + // datalist --> In the rendering, the datalist element represents nothing and it, along with its children, should be hidden. + if (VisUtil.hiddenByDefaultElements != null && VisUtil.hiddenByDefaultElements != undefined && VisUtil.hiddenByDefaultElements.indexOf(nodeName) > -1) { + //return true; + return false; + } + if (CacheUtil_1.CacheUtil.getCache(node, "PT_NODE_HIDDEN", undefined) !== undefined) { + return CacheUtil_1.CacheUtil.getCache(node, "PT_NODE_HIDDEN", undefined); + } + // Set PT_NODE_HIDDEN to false for all the nodes, before the check and this will be changed to + // true when we detect that the node is hidden. We have to set it to false so that we know + // the rules has already been checked. + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_HIDDEN", CacheUtil_1.CacheUtil.getCache(node, "PT_NODE_HIDDEN", false)); + // Check if this node is visible, we check couple of CSS properties and hidden attribute. + // area, param and audio elements we do not check if they are hidden as it does not apply to them. + // Check the unhideableElements array which is part of the rules, to check if this element is allowed to be hidden or not + // in the case that the element is part of the unhideableElements array then we do not run the hidden check on this element, + // and go stright to the parent node. + // Array check elements like: + // area --> area element is part of a map element and it can not be hidden because it is used to + // make an certian parts of an map interactive. + // param --> element can only be part of object elment and it cannot be hidden directly, it + // can only be hidden if the parent is hidden. + // audio --> If this element is hidden it will still play the music, so we should still trigger + // violations for this element. + // In the case that unhideableElements array is not defined then we just scan all elements and do no filtering at all. + if (VisUtil.unhideableElements === null || VisUtil.unhideableElements === undefined || VisUtil.unhideableElements.indexOf(nodeName) === -1) { + // Check if defaultView exists for this node, if it does then use this to run the getComputedStyle + // function to get the CSS style for the node. + if (node.ownerDocument.defaultView) { + // Run the getComputedStyle on this node to fetch the CSS compuation of the node + compStyle = node.ownerDocument.defaultView.getComputedStyle(node, null); + } + // In the case that defaultView does not exists return true to identify that this + // node is visible, because were not able to detect if it was not. + else { + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_HIDDEN", true); + return true; + } + // Get the hidden element property and hidden attribute + var hiddenAttribute = node.getAttribute("hidden"); + var hiddenPropertyCustom = CacheUtil_1.CacheUtil.getCache(node, "PT_NODE_HIDDEN", undefined); + // To get the hidden property we need to perform a special check as in some cases the hidden property will not be + // a boolean, for theses cases we set it to false as we are not able to determine the true hidden condition. + // The reason for this is because form elements are able to perform an override, so when we have id="hidden" for an element + // which is under the form element then, node.hidden gives the element/list of elements which have id="hidden". Refer to + // mozilla bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1267356 + var hiddenProperty = typeof node.hidden === "boolean" ? node.hidden : false; + // If compStyle object is empty, node does't have hidden property, node does't have hidden attribute and does't have custom PT + // hidden property then we can just return true (node visible) at this point. + if (!compStyle && + !hiddenProperty && // this covers false, null, or undefined + (hiddenAttribute === null || hiddenAttribute === undefined) && + !hiddenPropertyCustom // This covers false, null or undefined + ) { + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_HIDDEN", true); + return true; + } + // In the case that the compStyle is defined we check the following: + // CSS style display set to none + // CSS style visibility set to hidden + // Note: For this property since it is inherited, need to skip the check on parents as + // the parent can have hidden but the child can be visible. So we only check this property + // on child elements/elements that are passed to this function the first time. + // node hidden property set (node.hidden) + // node attribute hidden set (to any value) + // node custom hidden property ser (node.PT_NODE_HIDDEN) + // If any of the above conditions are true then we return false as this element is not visible + if ((compStyle !== null && ((compStyle.getPropertyValue('display') === 'none' || + (!CacheUtil_1.CacheUtil.getCache(node, "Visibility_Check_Parent", null) && compStyle.getPropertyValue('visibility') === 'hidden'))) || + (compStyle.getPropertyValue('display') !== 'block' && (hiddenProperty || hiddenAttribute != null || hiddenPropertyCustom)))) { + // Set a custom expandos property on the the node to identify that it is hidden, so that we can uses + // use this in the rules to determine if the node is hidden or not, if we need to. + // Use expandos property instead of a hash map which stores the elements, adding/checking expandos + // properties is a lot faster performance whise. For Hash map we need to store based on xpath, and to calculate + // xpath it is more performance impact. + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_HIDDEN", false); + return false; + } + // check content-visibility: if the content-visibility is hidden, then, return false as the element is not visible + if (VisUtil.isContentHidden(node)) { + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_HIDDEN", false); + return false; + } + } + // Get the parentNode for this node, becuase we have to check all parents to make sure they do not have + // the hidden CSS, property or attribute. Only keep checking until we are all the way back to the parentNode + // element. + var parentElement = DOMWalker_1.DOMWalker.parentNode(node); + // If the parent node exists and the nodetype is element (1), then run recursive call to perform the check + // all the way up to the very parent node. Use recursive call here instead of a while loop so that we do not + // have to duplicate the logic for checking if the node is visible or not for all the parents starting with + // child node. + if (parentElement != null && parentElement.nodeType === 1) { + // When we have a parent element going through the isNodeVisible function we have to mark it as such + // so that in the function we can skip checking visibility: hidden for parent elements since visibility: hidden + // is inherited, which allows a child to have a different setting then the child. This property only needs to be checked + // once for the first element that is passed down and that is all. Ignore it for all the parents that we iterate over. + CacheUtil_1.CacheUtil.setCache(parentElement, "Visibility_Check_Parent", true); + // Check upwards recursively, and save the results in an variable + var nodeVisible = VisUtil.isNodeVisible(parentElement); + // If the node is found to not be visible then add the custom PT_NODE_HIDDEN to true. + // so that we can use this in the rules. + // if (!nodeVisible) { + // CacheUtil.setCache(node, "PT_NODE_HIDDEN", true); + // } + // Check upwards recursively + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_HIDDEN", nodeVisible); + return nodeVisible; + } + // Return true (node is visible) + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_HIDDEN", true); + return true; + }; + /** + * This function is responsible for checking if the node that is visually hidden by clipping or opaq: + * 1. Check if the current node is visually hidden: + * CSS --> clip: rect(0px, 0px, 0px, 0px) + * CSS --> opacity: 0 + * + * Note: If either current node or any of the parent nodes are visually hidden then this + * function will return true (node is not visually hidden). + * + * Note: nodes with CSS properties clip: rect(0px, 0px, 0px, 0px) or opacity:0 or filter:opacity(0%), or similar SVG mechanisms: + * They are not considered hidden to an AT. Text hidden with these methods can still be selected or copied, + * and user agents still expose it in their accessibility trees. + * + * @parm {element} node The node which should be checked if it is visually hidden or not. + * @return {bool} true if the node is visually hidden, false otherwise + * + * @memberOf VisUtil + */ + VisUtil.isNodeVisuallyHidden = function (node) { + if (!node || node.nodeType !== 1) + return false; + var elem = node; + // Set PT_NODE_HIDDEN to false for all the nodes, before the check and this will be changed to + // true when we detect that the node is hidden. We have to set it to false so that we know + // the rules has already been checked. + var hidden = CacheUtil_1.CacheUtil.getCache(elem, "PT_NODE_VISUALLY_HIDDEN", undefined); + if (hidden === undefined) { + // defined styles only give the styles that changed + var defined_styles = CSSUtil_1.CSSUtil.getDefinedStyles(elem); + if ((defined_styles['position'] === 'absolute' && defined_styles['clip'] && defined_styles['clip'].replaceAll(' ', '') === 'rect(0px,0px,0px,0px)') + || (defined_styles['opacity'] && parseFloat(defined_styles['opacity']) < 0.1)) { + CacheUtil_1.CacheUtil.setCache(elem, "PT_NODE_VISUALLY_HIDDEN", true); + return true; + } + // Get the parentNode for this node, becuase we have to check all parents to make sure they do not have + // the hidden CSS, property or attribute. Only keep checking until we are all the way back to the parentNode + // element. + var parentElement = DOMWalker_1.DOMWalker.parentElement(elem); + if (!parentElement) + return false; + // Check upwards recursively + var hid = VisUtil.isNodeVisuallyHidden(parentElement); + CacheUtil_1.CacheUtil.setCache(elem, "PT_NODE_VISUALLY_HIDDEN", hid); + return hid; + } + return hidden; + }; + /** + * return true if the node or its ancestor is hidden by CSS content-visibility:hidden + * At this time, CSS content-visibility is partially supported by Chrome & Edge, but not supported by Firefox + * The implementation TEMPORARILY follows the Chrome test results: + * if content-visibility:hidden + * if the element is block-level (default or specified by the user), then the element and its children are normally hidden; + * if the element is inline (default or specified by the user), then the element and its children are normally NOT hidden; + * + * @param node + */ + VisUtil.isContentHidden = function (node) { + if (!node) + return false; + var vis = CacheUtil_1.CacheUtil.getCache(node, "PT_NODE_ContentHidden", undefined); + if (vis !== undefined) + return vis; + var style = getComputedStyle(node); + if (!style) { + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_ContentHidden", false); + return false; + } + var content_visibility = style.getPropertyValue("content-visibility"); + if (content_visibility !== 'hidden') { + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_ContentHidden", false); + return false; + } + var display = style.getPropertyValue("display"); + // inline element only + if (display === 'inline') { + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_ContentHidden", false); + return false; + } + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_ContentHidden", true); + return true; + }; + /** + * return true if the node is offscreen by CSS position + * @param node + */ + VisUtil.isElementOffscreen = function (node) { + if (!node) + return true; + if (node.nodeType !== 1) + return false; + var vis = CacheUtil_1.CacheUtil.getCache(node, "PT_NODE_Offscreen", undefined); + if (vis !== undefined) + return vis; + var mapper = new DOMMapper_1.DOMMapper(); + var bounds = mapper.getUnadjustedBounds(node); + if (!bounds) { + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_Offscreen", true); + return true; + } + if (bounds['height'] === 0 || bounds['width'] === 0 || (bounds['top'] + bounds['height']) <= 0 || (bounds['left'] + bounds['width']) <= 0) { + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_Offscreen", true); + return true; + } + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_Offscreen", false); + return false; + }; + /** + * return true if the node or its ancestor is natively hidden or aria-hidden = 'true' + * @param node + */ + VisUtil.isNodeHiddenFromAT = function (node) { + if (!node) + return false; + var vis = CacheUtil_1.CacheUtil.getCache(node, "PT_NODE_HiddenFromAT", undefined); + if (vis !== undefined) + return vis; + if (!VisUtil.isNodeVisible(node) || node.getAttribute("aria-hidden") === 'true') { + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_HiddenFromAT", true); + return true; + } + var ancestor = DOMUtil_1.DOMUtil.getAncestorWithAttribute(node, "aria-hidden", "true"); + if (ancestor) { + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_HiddenFromAT", true); + return true; + } + CacheUtil_1.CacheUtil.setCache(node, "PT_NODE_HiddenFromAT", false); + return false; + }; + /** + * return true if the node or its ancestor is natively hidden or aria-hidden = 'true' + * @param node + */ + VisUtil.isNodePresentational = function (node) { + var role = AriaUtil_1.AriaUtil.getResolvedRole(node); + if (role && (role === 'none' || role === 'presentation')) + return true; + return false; + }; + // This list contains a list of element tags which can not be hidden, when hidden is + // added to theses elements it does not do anything at all. + // area --> area element is part of a map element and it can not be hidden because it is used to + // make an certian parts of an map interactive. + // param --> element can only be part of object elment and it cannot be hidden directly, it + // can only be hidden if the parent is hidden. + // audio --> If this element is hidden it will still play the music, so we should still trigger + // violations for this element. + // Note: All element tags that are added here should be added as lowercase, as we are using indexOf to do the check. + VisUtil.unhideableElements = ['area', 'param', 'audio']; + // This list contains a list of elements tags which have display: none by default, since we have rules triggering + // on theses elements we need to make then visible by default so that the rules can trigger regardless of the + // Check Hidden Content option in the tools. + // script --> script elements have display: none by default + // link --> link elements have display: none by default, but the actually CSS script is still executed so we have to + // mark this element as visible at all times. + // style --> style elements have display: none by default, but the actually CSS script is still executed so we have to + // mark this element as visible at all times. + // head --> head elements have display: none by default, but it will still behave correct + // title --> title elements have display: none by default, but it will still display the title. remove title from the list because a title can be a child of a svg element too + // meta --> meta elements have display: none by default, but it will still perform the action that meta is suppose to + // base --> base elements have display: none by default, but it will still perform the action that meta is suppose to + // noscript --> noscript elements have display: none by default, but it will still perform the action that meta is suppose to + // template --> template elements have display: none by default, because they are just a mechanism for holding client-side content + // that is not to be rendered when a page is loaded. https://developer.mozilla.org/en/docs/Web/HTML/Element/template + // datalist --> datalist elements have display: none by default, + VisUtil.hiddenByDefaultElements = ['script', 'link', 'style', 'head', 'meta', 'base', 'noscript', 'template', 'datalist']; + return VisUtil; +}()); +exports.VisUtil = VisUtil; + + +/***/ }), + +/***/ 4976: +/***/ ((module) => { + +module.exports = JSON.parse('{"1.1.1":{"num":"1.1.1","url":"https://www.w3.org/TR/WCAG22/#non-text-content","scId":"WCAG2:non-text-content","scAltId":["text-equiv-all"],"test":"WCAG2:text-equiv-all","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#non-text-content","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/non-text-content.html","handle":"Non-text Content","level":"A","wcagType":"2.0"},"1.2.1":{"num":"1.2.1","url":"https://www.w3.org/TR/WCAG22/#audio-only-and-video-only-prerecorded","scId":"WCAG2:audio-only-and-video-only-prerecorded","scAltId":["media-equiv-av-only-alt"],"test":"WCAG2:media-equiv-av-only-alt","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#audio-only-and-video-only-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/audio-only-and-video-only-prerecorded.html","handle":"Audio-only and Video-only (Prerecorded)","level":"A","wcagType":"2.0"},"1.2.2":{"num":"1.2.2","url":"https://www.w3.org/TR/WCAG22/#captions-prerecorded","scId":"WCAG2:captions-prerecorded","scAltId":["media-equiv-captions"],"test":"WCAG2:media-equiv-captions","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#captions-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/captions-prerecorded.html","handle":"Captions (Prerecorded)","level":"A","wcagType":"2.0"},"1.2.3":{"num":"1.2.3","url":"https://www.w3.org/TR/WCAG22/#audio-description-or-media-alternative-prerecorded","scId":"WCAG2:audio-description-or-media-alternative-prerecorded","scAltId":["media-equiv-audio-desc"],"test":"WCAG2:media-equiv-audio-desc","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#audio-description-or-media-alternative-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/audio-description-or-media-alternative-prerecorded.html","handle":"Audio Description or Media Alternative (Prerecorded)","level":"A","wcagType":"2.0"},"1.2.4":{"num":"1.2.4","url":"https://www.w3.org/TR/WCAG22/#captions-live","scId":"WCAG2:captions-live","scAltId":["media-equiv-real-time-captions"],"test":"WCAG2:media-equiv-real-time-captions","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#captions-live","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/captions-live.html","handle":"Captions (Live)","level":"AA","wcagType":"2.0"},"1.2.5":{"num":"1.2.5","url":"https://www.w3.org/TR/WCAG22/#audio-description-prerecorded","scId":"WCAG2:audio-description-prerecorded","scAltId":["media-equiv-audio-desc-only"],"test":"WCAG2:media-equiv-audio-desc-only","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#audio-description-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/audio-description-prerecorded.html","handle":"Audio Description (Prerecorded)","level":"AA","wcagType":"2.0"},"1.2.6":{"num":"1.2.6","url":"https://www.w3.org/TR/WCAG22/#sign-language-prerecorded","scId":"WCAG2:sign-language-prerecorded","scAltId":["media-equiv-sign"],"test":"WCAG2:media-equiv-sign","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#sign-language-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/sign-language-prerecorded.html","handle":"Sign Language (Prerecorded)","level":"AAA","wcagType":"2.0"},"1.2.7":{"num":"1.2.7","url":"https://www.w3.org/TR/WCAG22/#extended-audio-description-prerecorded","scId":"WCAG2:extended-audio-description-prerecorded","scAltId":["media-equiv-extended-ad"],"test":"WCAG2:media-equiv-extended-ad","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#extended-audio-description-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/extended-audio-description-prerecorded.html","handle":"Extended Audio Description (Prerecorded)","level":"AAA","wcagType":"2.0"},"1.2.8":{"num":"1.2.8","url":"https://www.w3.org/TR/WCAG22/#media-alternative-prerecorded","scId":"WCAG2:media-alternative-prerecorded","scAltId":["media-equiv-text-doc"],"test":"WCAG2:media-equiv-text-doc","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#media-alternative-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/media-alternative-prerecorded.html","handle":"Media Alternative (Prerecorded)","level":"AAA","wcagType":"2.0"},"1.2.9":{"num":"1.2.9","url":"https://www.w3.org/TR/WCAG22/#audio-only-live","scId":"WCAG2:audio-only-live","scAltId":["media-equiv-live-audio-only"],"test":"WCAG2:media-equiv-live-audio-only","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#audio-only-live","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/audio-only-live.html","handle":"Audio-only (Live)","level":"AAA","wcagType":"2.0"},"1.3.1":{"num":"1.3.1","url":"https://www.w3.org/TR/WCAG22/#info-and-relationships","scId":"WCAG2:info-and-relationships","scAltId":["content-structure-separation-programmatic"],"test":"WCAG2:content-structure-separation-programmatic","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#info-and-relationships","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/info-and-relationships.html","handle":"Info and Relationships","level":"A","wcagType":"2.0"},"1.3.2":{"num":"1.3.2","url":"https://www.w3.org/TR/WCAG22/#meaningful-sequence","scId":"WCAG2:meaningful-sequence","scAltId":["content-structure-separation-sequence"],"test":"WCAG2:content-structure-separation-sequence","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#meaningful-sequence","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/meaningful-sequence.html","handle":"Meaningful Sequence","level":"A","wcagType":"2.0"},"1.3.3":{"num":"1.3.3","url":"https://www.w3.org/TR/WCAG22/#sensory-characteristics","scId":"WCAG2:sensory-characteristics","scAltId":["content-structure-separation-understanding"],"test":"WCAG2:content-structure-separation-understanding","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#sensory-characteristics","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/sensory-characteristics.html","handle":"Sensory Characteristics","level":"A","wcagType":"2.0"},"1.3.4":{"num":"1.3.4","url":"https://www.w3.org/TR/WCAG22/#orientation","scId":"WCAG2:orientation","scAltId":[],"test":"WCAG2:orientation","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#orientation","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/orientation.html","handle":"Orientation","level":"AA","wcagType":"2.1"},"1.3.5":{"num":"1.3.5","url":"https://www.w3.org/TR/WCAG22/#identify-input-purpose","scId":"WCAG2:identify-input-purpose","scAltId":[],"test":"WCAG2:identify-input-purpose","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#identify-input-purpose","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/identify-input-purpose.html","handle":"Identify Input Purpose","level":"AA","wcagType":"2.1"},"1.3.6":{"num":"1.3.6","url":"https://www.w3.org/TR/WCAG22/#identify-purpose","scId":"WCAG2:identify-purpose","scAltId":[],"test":"WCAG2:identify-purpose","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#identify-purpose","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/identify-purpose.html","handle":"Identify Purpose","level":"AAA","wcagType":"2.1"},"1.4.1":{"num":"1.4.1","url":"https://www.w3.org/TR/WCAG22/#use-of-color","scId":"WCAG2:use-of-color","scAltId":["visual-audio-contrast-without-color"],"test":"WCAG2:visual-audio-contrast-without-color","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#use-of-color","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/use-of-color.html","handle":"Use of Color","level":"A","wcagType":"2.0"},"1.4.2":{"num":"1.4.2","url":"https://www.w3.org/TR/WCAG22/#audio-control","scId":"WCAG2:audio-control","scAltId":["visual-audio-contrast-dis-audio"],"test":"WCAG2:visual-audio-contrast-dis-audio","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#audio-control","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/audio-control.html","handle":"Audio Control","level":"A","wcagType":"2.0"},"1.4.3":{"num":"1.4.3","url":"https://www.w3.org/TR/WCAG22/#contrast-minimum","scId":"WCAG2:contrast-minimum","scAltId":["visual-audio-contrast-contrast"],"test":"WCAG2:visual-audio-contrast-contrast","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#contrast-minimum","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/contrast-minimum.html","handle":"Contrast (Minimum)","level":"AA","wcagType":"2.0"},"1.4.4":{"num":"1.4.4","url":"https://www.w3.org/TR/WCAG22/#resize-text","scId":"WCAG2:resize-text","scAltId":["visual-audio-contrast-scale"],"test":"WCAG2:visual-audio-contrast-scale","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#resize-text","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/resize-text.html","handle":"Resize text","level":"AA","wcagType":"2.0"},"1.4.5":{"num":"1.4.5","url":"https://www.w3.org/TR/WCAG22/#images-of-text","scId":"WCAG2:images-of-text","scAltId":["visual-audio-contrast-text-presentation"],"test":"WCAG2:visual-audio-contrast-text-presentation","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#images-of-text","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/images-of-text.html","handle":"Images of Text","level":"AA","wcagType":"2.0"},"1.4.6":{"num":"1.4.6","url":"https://www.w3.org/TR/WCAG22/#contrast-enhanced","scId":"WCAG2:contrast-enhanced","scAltId":["visual-audio-contrast7"],"test":"WCAG2:visual-audio-contrast7","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#contrast-enhanced","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/contrast-enhanced.html","handle":"Contrast (Enhanced)","level":"AAA","wcagType":"2.0"},"1.4.7":{"num":"1.4.7","url":"https://www.w3.org/TR/WCAG22/#low-or-no-background-audio","scId":"WCAG2:low-or-no-background-audio","scAltId":["visual-audio-contrast-noaudio"],"test":"WCAG2:visual-audio-contrast-noaudio","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#low-or-no-background-audio","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/low-or-no-background-audio.html","handle":"Low or No Background Audio","level":"AAA","wcagType":"2.0"},"1.4.8":{"num":"1.4.8","url":"https://www.w3.org/TR/WCAG22/#visual-presentation","scId":"WCAG2:visual-presentation","scAltId":["visual-audio-contrast-visual-presentation"],"test":"WCAG2:visual-audio-contrast-visual-presentation","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#visual-presentation","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/visual-presentation.html","handle":"Visual Presentation","level":"AAA","wcagType":"2.0"},"1.4.9":{"num":"1.4.9","url":"https://www.w3.org/TR/WCAG22/#images-of-text-no-exception","scId":"WCAG2:images-of-text-no-exception","scAltId":["visual-audio-contrast-text-images"],"test":"WCAG2:visual-audio-contrast-text-images","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#images-of-text-no-exception","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/images-of-text-no-exception.html","handle":"Images of Text (No Exception)","level":"AAA","wcagType":"2.0"},"1.4.10":{"num":"1.4.10","url":"https://www.w3.org/TR/WCAG22/#reflow","scId":"WCAG2:reflow","scAltId":[],"test":"WCAG2:reflow","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#reflow","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/reflow.html","handle":"Reflow","level":"AA","wcagType":"2.1"},"1.4.11":{"num":"1.4.11","url":"https://www.w3.org/TR/WCAG22/#non-text-contrast","scId":"WCAG2:non-text-contrast","scAltId":[],"test":"WCAG2:non-text-contrast","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#non-text-contrast","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/non-text-contrast.html","handle":"Non-text Contrast","level":"AA","wcagType":"2.1"},"1.4.12":{"num":"1.4.12","url":"https://www.w3.org/TR/WCAG22/#text-spacing","scId":"WCAG2:text-spacing","scAltId":[],"test":"WCAG2:text-spacing","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#text-spacing","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/text-spacing.html","handle":"Text Spacing","level":"AA","wcagType":"2.1"},"1.4.13":{"num":"1.4.13","url":"https://www.w3.org/TR/WCAG22/#content-on-hover-or-focus","scId":"WCAG2:content-on-hover-or-focus","scAltId":[],"test":"WCAG2:content-on-hover-or-focus","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#content-on-hover-or-focus","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/content-on-hover-or-focus.html","handle":"Content on Hover or Focus","level":"AA","wcagType":"2.1"},"2.1.1":{"num":"2.1.1","url":"https://www.w3.org/TR/WCAG22/#keyboard","scId":"WCAG2:keyboard","scAltId":["keyboard-operation-keyboard-operable"],"test":"WCAG2:keyboard-operation-keyboard-operable","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#keyboard","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/keyboard.html","handle":"Keyboard","level":"A","wcagType":"2.0"},"2.1.2":{"num":"2.1.2","url":"https://www.w3.org/TR/WCAG22/#no-keyboard-trap","scId":"WCAG2:no-keyboard-trap","scAltId":["keyboard-operation-trapping"],"test":"WCAG2:keyboard-operation-trapping","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#no-keyboard-trap","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/no-keyboard-trap.html","handle":"No Keyboard Trap","level":"A","wcagType":"2.0"},"2.1.3":{"num":"2.1.3","url":"https://www.w3.org/TR/WCAG22/#keyboard-no-exception","scId":"WCAG2:keyboard-no-exception","scAltId":["keyboard-operation-all-funcs"],"test":"WCAG2:keyboard-operation-all-funcs","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#keyboard-no-exception","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/keyboard-no-exception.html","handle":"Keyboard (No Exception)","level":"AAA","wcagType":"2.0"},"2.1.4":{"num":"2.1.4","url":"https://www.w3.org/TR/WCAG22/#character-key-shortcuts","scId":"WCAG2:character-key-shortcuts","scAltId":[],"test":"WCAG2:WCAG2:character-key-shortcuts","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#character-key-shortcuts","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/character-key-shortcuts.html","handle":"Character Key Shortcuts","level":"A","wcagType":"2.1"},"2.2.1":{"num":"2.2.1","url":"https://www.w3.org/TR/WCAG22/#timing-adjustable","scId":"WCAG2:timing-adjustable","scAltId":["time-limits-required-behaviors"],"test":"WCAG2:time-limits-required-behaviors","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#timing-adjustable","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/timing-adjustable.html","handle":"Timing Adjustable","level":"A","wcagType":"2.0"},"2.2.2":{"num":"2.2.2","url":"https://www.w3.org/TR/WCAG22/#pause-stop-hide","scId":"WCAG2:pause-stop-hide","scAltId":["time-limits-pause"],"test":"WCAG2:time-limits-pause","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#pause-stop-hide","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/pause-stop-hide.html","handle":"Pause, Stop, Hide","level":"A","wcagType":"2.0"},"2.2.3":{"num":"2.2.3","url":"https://www.w3.org/TR/WCAG22/#no-timing","scId":"WCAG2:no-timing","scAltId":["time-limits-no-exceptions"],"test":"WCAG2:time-limits-no-exceptions","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#no-timing","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/no-timing.html","handle":"No Timing","level":"AAA","wcagType":"2.0"},"2.2.4":{"num":"2.2.4","url":"https://www.w3.org/TR/WCAG22/#interruptions","scId":"WCAG2:interruptions","scAltId":["time-limits-postponed"],"test":"WCAG2:time-limits-postponed","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#interruptions","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/interruptions.html","handle":"Interruptions","level":"AAA","wcagType":"2.0"},"2.2.5":{"num":"2.2.5","url":"https://www.w3.org/TR/WCAG22/#re-authenticating","scId":"WCAG2:re-authenticating","scAltId":["time-limits-server-timeout"],"test":"WCAG2:time-limits-server-timeout","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#re-authenticating","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/re-authenticating.html","handle":"Re-authenticating","level":"AAA","wcagType":"2.0"},"2.2.6":{"num":"2.2.6","url":"https://www.w3.org/TR/WCAG22/#timeouts","scId":"WCAG2:timeouts","scAltId":[],"test":"WCAG2:WCAG2:timeouts","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#timeouts","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/timeouts.html","handle":"Timeouts","level":"AAA","wcagType":"2.1"},"2.3.1":{"num":"2.3.1","url":"https://www.w3.org/TR/WCAG22/#three-flashes-or-below-threshold","scId":"WCAG2:three-flashes-or-below-threshold","scAltId":["seizure-does-not-violate"],"test":"WCAG2:seizure-does-not-violate","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#three-flashes-or-below-threshold","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/three-flashes-or-below-threshold.html","handle":"Three Flashes or Below Threshold","level":"A","wcagType":"2.0"},"2.3.2":{"num":"2.3.2","url":"https://www.w3.org/TR/WCAG22/#three-flashes","scId":"WCAG2:three-flashes","scAltId":["seizure-three-times"],"test":"WCAG2:seizure-three-times","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#three-flashes","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/three-flashes.html","handle":"Three Flashes","level":"AAA","wcagType":"2.0"},"2.3.3":{"num":"2.3.3","url":"https://www.w3.org/TR/WCAG22/#animation-from-interactions","scId":"WCAG2:animation-from-interactions","scAltId":[],"test":"WCAG2:WCAG2:animation-from-interactions","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#animation-from-interactions","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/animation-from-interactions.html","handle":"Animation from Interactions","level":"AAA","wcagType":"2.1"},"2.4.1":{"num":"2.4.1","url":"https://www.w3.org/TR/WCAG22/#bypass-blocks","scId":"WCAG2:bypass-blocks","scAltId":["navigation-mechanisms-skip"],"test":"WCAG2:navigation-mechanisms-skip","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#bypass-blocks","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/bypass-blocks.html","handle":"Bypass Blocks","level":"A","wcagType":"2.0"},"2.4.2":{"num":"2.4.2","url":"https://www.w3.org/TR/WCAG22/#page-titled","scId":"WCAG2:page-titled","scAltId":["navigation-mechanisms-title"],"test":"WCAG2:navigation-mechanisms-title","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#page-titled","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/page-titled.html","handle":"Page Titled","level":"A","wcagType":"2.0"},"2.4.3":{"num":"2.4.3","url":"https://www.w3.org/TR/WCAG22/#focus-order","scId":"WCAG2:focus-order","scAltId":["navigation-mechanisms-focus-order"],"test":"WCAG2:navigation-mechanisms-focus-order","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#focus-order","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/focus-order.html","handle":"Focus Order","level":"A","wcagType":"2.0"},"2.4.4":{"num":"2.4.4","url":"https://www.w3.org/TR/WCAG22/#link-purpose-in-context","scId":"WCAG2:link-purpose-in-context","scAltId":["navigation-mechanisms-refs"],"test":"WCAG2:navigation-mechanisms-refs","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#link-purpose-in-context","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/link-purpose-in-context.html","handle":"Link Purpose (In Context)","level":"A","wcagType":"2.0"},"2.4.5":{"num":"2.4.5","url":"https://www.w3.org/TR/WCAG22/#multiple-ways","scId":"WCAG2:multiple-ways","scAltId":["navigation-mechanisms-mult-loc"],"test":"WCAG2:navigation-mechanisms-mult-loc","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#multiple-ways","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/multiple-ways.html","handle":"Multiple Ways","level":"AA","wcagType":"2.0"},"2.4.6":{"num":"2.4.6","url":"https://www.w3.org/TR/WCAG22/#headings-and-labels","scId":"WCAG2:headings-and-labels","scAltId":["navigation-mechanisms-descriptive"],"test":"WCAG2:navigation-mechanisms-descriptive","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#headings-and-labels","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/headings-and-labels.html","handle":"Headings and Labels","level":"AA","wcagType":"2.0"},"2.4.7":{"num":"2.4.7","url":"https://www.w3.org/TR/WCAG22/#focus-visible","scId":"WCAG2:focus-visible","scAltId":["navigation-mechanisms-focus-visible"],"test":"WCAG2:navigation-mechanisms-focus-visible","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#focus-visible","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/focus-visible.html","handle":"Focus Visible","level":"AA","wcagType":"2.0"},"2.4.8":{"num":"2.4.8","url":"https://www.w3.org/TR/WCAG22/#location","scId":"WCAG2:location","scAltId":["navigation-mechanisms-location"],"test":"WCAG2:navigation-mechanisms-location","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#location","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/location.html","handle":"Location","level":"AAA","wcagType":"2.0"},"2.4.9":{"num":"2.4.9","url":"https://www.w3.org/TR/WCAG22/#link-purpose-link-only","scId":"WCAG2:link-purpose-link-only","scAltId":["navigation-mechanisms-link"],"test":"WCAG2:navigation-mechanisms-link","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#link-purpose-link-only","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/link-purpose-link-only.html","handle":"Link Purpose (Link Only)","level":"AAA","wcagType":"2.0"},"2.4.10":{"num":"2.4.10","url":"https://www.w3.org/TR/WCAG22/#section-headings","scId":"WCAG2:section-headings","scAltId":["navigation-mechanisms-headings"],"test":"WCAG2:navigation-mechanisms-headings","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#section-headings","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/section-headings.html","handle":"Section Headings","level":"AAA","wcagType":"2.0"},"2.4.11":{"num":"2.4.11","url":"https://www.w3.org/TR/WCAG22/#focus-not-obscured-minimum","scId":"WCAG2:focus-not-obscured-minimum","scAltId":["focus-not-obscured-minimum-alt"],"test":"WCAG2:focus-not-obscured-minimum-test","howToMeetUrl":"https://www.w3.org/TR/WCAG22/#focus-not-obscured-minimum","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/focus-not-obscured-minimum.html","handle":"Focus Not Obscured (Minimum)","level":"AA","wcagType":"2.2"},"2.4.12":{"num":"2.4.12","url":"https://www.w3.org/TR/WCAG22/#focus-not-obscured-enhanced","scId":"WCAG2:focus-not-obscured-enhanced","scAltId":[],"test":"WCAG2:focus-not-obscured-enhanced-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#focus-not-obscured-enhanced","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/focus-not-obscured-enhanced.html","handle":"Focus Not Obscured (Enhanced)","level":"AAA","wcagType":"2.2"},"2.4.13":{"num":"2.4.13","url":"https://www.w3.org/TR/WCAG22/#focus-appearance","scId":"WCAG2:focus-appearance","scAltId":[],"test":"WCAG2:focus-appearance","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#focus-appearance","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/focus-appearance.html","handle":"Focus Appearance","level":"AAA","wcagType":"2.2"},"2.5.1":{"num":"2.5.1","url":"https://www.w3.org/TR/WCAG22/#pointer-gestures","scId":"WCAG2:pointer-gestures","scAltId":[],"test":"WCAG2:pointer-gestures-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#pointer-gestures","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/pointer-gestures.html","handle":"Pointer Gestures","level":"A","wcagType":"2.1"},"2.5.2":{"num":"2.5.2","url":"https://www.w3.org/TR/WCAG22/#pointer-cancellation","scId":"WCAG2:pointer-cancellation","scAltId":[],"test":"WCAG2:WCAG2:pointer-cancellation","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#pointer-cancellation","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/pointer-cancellation.html","handle":"Pointer Cancellation","level":"A","wcagType":"2.1"},"2.5.3":{"num":"2.5.3","url":"https://www.w3.org/TR/WCAG22/#label-in-name","scId":"WCAG2:label-in-name","scAltId":[],"test":"WCAG2:WCAG2:label-in-name","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#label-in-name","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/label-in-name.html","handle":"Label in Name","level":"A","wcagType":"2.1"},"2.5.4":{"num":"2.5.4","url":"https://www.w3.org/TR/WCAG22/#motion-actuation","scId":"WCAG2:motion-actuation","scAltId":[],"test":"WCAG2:WCAG2:motion-actuation","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#motion-actuation","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/motion-actuation.html","handle":"Motion Actuation","level":"A","wcagType":"2.1"},"2.5.5":{"num":"2.5.5","url":"https://www.w3.org/TR/WCAG22/#target-size","scId":"WCAG2:target-size","scAltId":[],"test":"WCAG2:WCAG2:target-size","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#target-size","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/target-size.html","handle":"Target Size","level":"AAA","wcagType":"2.1"},"2.5.6":{"num":"2.5.6","url":"https://www.w3.org/TR/WCAG22/#concurrent-input-mechanisms","scId":"WCAG2:concurrent-input-mechanisms","scAltId":[],"test":"WCAG2:WCAG2:concurrent-input-mechanisms","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#concurrent-input-mechanisms","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/concurrent-input-mechanisms.html","handle":"Concurrent Input Mechanisms","level":"AAA","wcagType":"2.1"},"2.5.7":{"num":"2.5.7","url":"https://www.w3.org/TR/WCAG22/#dragging-movements","scId":"WCAG2:dragging-movement","scAltId":["dragging-movement-alt"],"test":"WCAG2:dragging-movement-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/Understanding/dragging-movements.html","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/dragging-movements.html","handle":"Dragging Movement","level":"AA","wcagType":"2.2"},"2.5.8":{"num":"2.5.8","url":"https://www.w3.org/TR/WCAG22/#target-size-minimum","scId":"WCAG2:minimum-target-size","scAltId":["minimum-target-size-alt"],"test":"WCAG2:minimum-target-size-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#target-size-minimum","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/target-size-minimum.html","handle":"Minimum Target Size","level":"AA","wcagType":"2.2"},"3.1.1":{"num":"3.1.1","url":"https://www.w3.org/TR/WCAG22/#language-of-page","scId":"WCAG2:language-of-page","scAltId":["meaning-doc-lang-id"],"test":"WCAG2:meaning-doc-lang-id","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#language-of-page","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/language-of-page.html","handle":"Language of Page","level":"A","wcagType":"2.0"},"3.1.2":{"num":"3.1.2","url":"https://www.w3.org/TR/WCAG22/#language-of-parts","scId":"WCAG2:language-of-parts","scAltId":["meaning-other-lang-id"],"test":"WCAG2:meaning-other-lang-id","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#language-of-parts","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/language-of-parts.html","handle":"Language of Parts","level":"AA","wcagType":"2.0"},"3.1.3":{"num":"3.1.3","url":"https://www.w3.org/TR/WCAG22/#unusual-words","scId":"WCAG2:unusual-words","scAltId":["meaning-idioms"],"test":"WCAG2:meaning-idioms","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#unusual-words","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/unusual-words.html","handle":"Unusual Words","level":"AAA","wcagType":"2.0"},"3.1.4":{"num":"3.1.4","url":"https://www.w3.org/TR/WCAG22/#abbreviations","scId":"WCAG2:abbreviations","scAltId":["meaning-located"],"test":"WCAG2:meaning-located","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#abbreviations","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/abbreviations.html","handle":"Abbreviations","level":"AAA","wcagType":"2.0"},"3.1.5":{"num":"3.1.5","url":"https://www.w3.org/TR/WCAG22/#reading-level","scId":"WCAG2:reading-level","scAltId":["meaning-supplements"],"test":"WCAG2:meaning-supplements","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#reading-level","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/reading-level.html","handle":"Reading Level","level":"AAA","wcagType":"2.0"},"3.1.6":{"num":"3.1.6","url":"https://www.w3.org/TR/WCAG22/#pronunciation","scId":"WCAG2:pronunciation","scAltId":["meaning-pronunciation"],"test":"WCAG2:meaning-pronunciation","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#pronunciation","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/pronunciation.html","handle":"Pronunciation","level":"AAA","wcagType":"2.0"},"3.2.1":{"num":"3.2.1","url":"https://www.w3.org/TR/WCAG22/#on-focus","scId":"WCAG2:on-focus","scAltId":["consistent-behavior-receive-focus"],"test":"WCAG2:consistent-behavior-receive-focus","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#on-focus","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/on-focus.html","handle":"On Focus","level":"A","wcagType":"2.0"},"3.2.2":{"num":"3.2.2","url":"https://www.w3.org/TR/WCAG22/#on-input","scId":"WCAG2:on-input","scAltId":["consistent-behavior-unpredictable-change"],"test":"WCAG2:consistent-behavior-unpredictable-change","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#on-input","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/on-input.html","handle":"On Input","level":"A","wcagType":"2.0"},"3.2.3":{"num":"3.2.3","url":"https://www.w3.org/TR/WCAG22/#consistent-navigation","scId":"WCAG2:consistent-navigation","scAltId":["consistent-behavior-consistent-locations"],"test":"WCAG2:consistent-behavior-consistent-locations","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#consistent-navigation","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/consistent-navigation.html","handle":"Consistent Navigation","level":"AA","wcagType":"2.0"},"3.2.4":{"num":"3.2.4","url":"https://www.w3.org/TR/WCAG22/#consistent-identification","scId":"WCAG2:consistent-identification","scAltId":["consistent-behavior-consistent-functionality"],"test":"WCAG2:consistent-behavior-consistent-functionality","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#consistent-identification","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/consistent-identification.html","handle":"Consistent Identification","level":"AA","wcagType":"2.0"},"3.2.5":{"num":"3.2.5","url":"https://www.w3.org/TR/WCAG22/#change-on-request","scId":"WCAG2:change-on-request","scAltId":["consistent-behavior-no-extreme-changes-context"],"test":"WCAG2:consistent-behavior-no-extreme-changes-context","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#change-on-request","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/change-on-request.html","handle":"Change on Request","level":"AAA","wcagType":"2.0"},"3.2.6":{"num":"3.2.6","url":"https://www.w3.org/TR/WCAG22/#consistent-help","scId":"WCAG2:consistent-help","scAltId":["consistent-help-alt"],"test":"WCAG2:consistent-help-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#consistent-help","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/consistent-help.html","handle":"Consistent Help","level":"AA","wcagType":"2.2"},"3.3.1":{"num":"3.3.1","url":"https://www.w3.org/TR/WCAG22/#error-identification","scId":"WCAG2:error-identification","scAltId":["minimize-error-identified"],"test":"WCAG2:minimize-error-identified","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#error-identification","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/error-identification.html","handle":"Error Identification","level":"A","wcagType":"2.0"},"3.3.2":{"num":"3.3.2","url":"https://www.w3.org/TR/WCAG22/#labels-or-instructions","scId":"WCAG2:labels-or-instructions","scAltId":["minimize-error-cues"],"test":"WCAG2:minimize-error-cues","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#labels-or-instructions","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/labels-or-instructions.html","handle":"Labels or Instructions","level":"A","wcagType":"2.0"},"3.3.3":{"num":"3.3.3","url":"https://www.w3.org/TR/WCAG22/#error-suggestion","scId":"WCAG2:error-suggestion","scAltId":["minimize-error-suggestions"],"test":"WCAG2:minimize-error-suggestions","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#error-suggestion","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/error-suggestion.html","handle":"Error Suggestion","level":"AA","wcagType":"2.0"},"3.3.4":{"num":"3.3.4","url":"https://www.w3.org/TR/WCAG22/#error-prevention-legal-financial-data","scId":"WCAG2:error-prevention-legal-financial-data","scAltId":["minimize-error-reversible"],"test":"WCAG2:minimize-error-reversible","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#error-prevention-legal-financial-data","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/error-prevention-legal-financial-data.html","handle":"Error Prevention (Legal, Financial, Data)","level":"AA","wcagType":"2.0"},"3.3.5":{"num":"3.3.5","url":"https://www.w3.org/TR/WCAG22/#help","scId":"WCAG2:help","scAltId":["minimize-error-context-help"],"test":"WCAG2:minimize-error-context-help","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#help","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/help.html","handle":"Help","level":"AAA","wcagType":"2.0"},"3.3.6":{"num":"3.3.6","url":"https://www.w3.org/TR/WCAG22/#error-prevention-all","scId":"WCAG2:error-prevention-all","scAltId":["minimize-error-reversible-all"],"test":"WCAG2:minimize-error-reversible-all","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#error-prevention-all","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/error-prevention-all.html","handle":"Error Prevention (All)","level":"AAA","wcagType":"2.0"},"3.3.7":{"num":"3.3.7","url":"https://www.w3.org/TR/WCAG22/#redundant-entry","scId":"WCAG2:redundant-entry","scAltId":["redundant-entry-alt"],"test":"WCAG2:redundant-entry-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#redundant-entry","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/redundant-entry.html","handle":"Redundant Entry","level":"AA","wcagType":"2.2"},"3.3.8":{"num":"3.3.8","url":"https://www.w3.org/TR/WCAG22/#accessible-authentication-minimum","scId":"WCAG2:accessible-authentication-minimum","scAltId":["accessible-authentication-minimum-alt"],"test":"WCAG2:accessible-authentication-minimum-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#accessible-authentication-minimum","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/accessible-authentication-minimum.html","handle":"Accessible Authentication (Minimum)","level":"AA","wcagType":"2.2"},"3.3.9":{"num":"3.3.9","url":"https://www.w3.org/TR/WCAG22/#accessible-authentication-enhanced","scId":"WCAG2:accessible-authentication-enhanced","scAltId":[],"test":"WCAG2:accessible-authentication-enhanced","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#accessible-authentication-enhanced","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/accessible-authentication-enhanced.html","handle":"Accessible Authentication (Enhanced)","level":"AAA","wcagType":"2.2"},"4.1.1":{"num":"4.1.1","url":"https://www.w3.org/TR/WCAG22/#parsing","scId":"WCAG2:parsing","scAltId":["ensure-compat-parses"],"test":"WCAG2:ensure-compat-parses","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/?versions=2.1#parsing","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/parsing.html","handle":"Parsing","level":"A","wcagType":"2.0"},"4.1.2":{"num":"4.1.2","url":"https://www.w3.org/TR/WCAG22/#name-role-value","scId":"WCAG2:name-role-value","scAltId":["ensure-compat-rsv"],"test":"WCAG2:ensure-compat-rsv","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#name-role-value","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/name-role-value.html","handle":"Name, Role, Value","level":"A","wcagType":"2.0"},"4.1.3":{"num":"4.1.3","url":"https://www.w3.org/TR/WCAG22/#status-messages","scId":"WCAG2:status-messages","scAltId":[],"test":"WCAG2:status-messages","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#status-messages","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/status-messages.html","handle":"Status Messages","level":"AA","wcagType":"2.1"},"HTML":{"num":"HTML","url":"https://html.spec.whatwg.org/multipage/","scId":[],"scAltId":[],"test":"","howToMeetUrl":"https://html.spec.whatwg.org/multipage/","understandingUrl":"https://html.spec.whatwg.org/multipage/","handle":"specification","level":"NA","wcagType":"NA"},"ARIA":{"num":"ARIA","url":"https://www.w3.org/TR/wai-aria-1.2/","scId":[],"scAltId":[],"test":"","howToMeetUrl":"https://www.w3.org/TR/wai-aria-1.2/","understandingUrl":"https://www.w3.org/TR/wai-aria-1.2/","handle":"specification","level":"NA","wcagType":"NA"}}'); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +var __webpack_exports__ = {}; +// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk. +(() => { +var exports = __webpack_exports__; + +/****************************************************************************** + Copyright:: 2020- IBM, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + *****************************************************************************/ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.checkDemo = exports.DOMWalker = exports.Config = exports.ARIAMapper = exports.Checker = exports.Context = void 0; +var Context_1 = __webpack_require__(2306); +Object.defineProperty(exports, "Context", ({ enumerable: true, get: function () { return Context_1.Context; } })); +// import { Simulator } from "./v2/simulator" +var Checker_1 = __webpack_require__(7884); +Object.defineProperty(exports, "Checker", ({ enumerable: true, get: function () { return Checker_1.Checker; } })); +var ARIAMapper_1 = __webpack_require__(4944); +Object.defineProperty(exports, "ARIAMapper", ({ enumerable: true, get: function () { return ARIAMapper_1.ARIAMapper; } })); +var Config_1 = __webpack_require__(3962); +Object.defineProperty(exports, "Config", ({ enumerable: true, get: function () { return Config_1.Config; } })); +var DOMWalker_1 = __webpack_require__(7440); +Object.defineProperty(exports, "DOMWalker", ({ enumerable: true, get: function () { return DOMWalker_1.DOMWalker; } })); +String.prototype.startsWith = String.prototype.startsWith || function (str) { + return this.indexOf(str) === 0; +}; +String.prototype.includes = String.prototype.includes || function (str) { + return this.indexOf(str) !== -1; +}; +Array.prototype.includes = Array.prototype.includes || function (str) { + return this.indexOf(str) !== -1; +}; +function checkDemo(timeout) { + if (!timeout) + timeout = 0; + var checker = new Checker_1.Checker(); + setTimeout(function () { + checker.check(document.documentElement, ["IBM_Accessibility", "IBM_Design"]) + .then(function (report) { + console.log(report); + var vals = { + "FAIL": 0, + "POTENTIAL": 1, + "MANUAL": 2, + "PASS": 3 + }; + for (var idx = 0; idx < report.results.length; ++idx) { + if (report.results[idx].value[1] === "PASS") { + report.results.splice(idx--, 1); + } + } + report.results.sort(function (a, b) { + if (a.category != b.category) { + return a.category.localeCompare(b.category); + } + if (a.path["aria"] === b.path["aria"]) { + return vals[a.value[1]] - vals[b.value[1]]; + } + return a.path["aria"].localeCompare(b.path["aria"]); + }); + var lastPath = null; + var category = null; + for (var _i = 0, _a = report.results; _i < _a.length; _i++) { + var result = _a[_i]; + if (category !== result.category) { + if (category !== null) { + console.groupEnd(); + console.groupEnd(); + lastPath = null; + } + category = result.category; + console.group(result.category); + } + if (result.path["aria"] != lastPath) { + if (lastPath !== null) { + console.groupEnd(); + } + lastPath = result.path["aria"]; + if (lastPath === "") { + console.group("page"); + } + else { + console.group(lastPath); + } + } + console.log(result.value, result.message); + } + console.groupEnd(); + console.groupEnd(); + }); + }, timeout); +} +exports.checkDemo = checkDemo; + +})(); + +module.exports = __webpack_exports__; +/******/ })() +; \ No newline at end of file diff --git a/rule-server/src/static/archives/2024.12.12/js/ace-node.js b/rule-server/src/static/archives/2024.12.12/js/ace-node.js new file mode 100644 index 000000000..1a9efb3f1 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/js/ace-node.js @@ -0,0 +1,2 @@ +/*! For license information please see ace-node.js.LICENSE.txt */ +(()=>{"use strict";var e={8235:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ARIADefinitions=void 0;var i=function(){function e(){}return e.nameFromContent=function(t){return t in e.designPatterns&&e.designPatterns[t].nameFrom&&e.designPatterns[t].nameFrom.includes("contents")},e.globalProperties=["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-flowto","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription","aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"],e.referenceProperties=["aria-owns","aria-controls","aria-describedby","aria-labelledby","aria-flowto","aria-activedescendant"],e.globalDeprecatedRoles=["directory","doc-biblioentry","doc-endnote"],e.globalDeprecatedProperties=["aria-grabbed","aria-dropeffect"],e.propertyDataTypes={"aria-activedescendant":{type:"http://www.w3.org/2001/XMLSchema#idref",hiddenIDRefSupported:!0},"aria-atomic":{type:"http://www.w3.org/2001/XMLSchema#boolean"},"aria-autocomplete":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["inline","list","both","none","undefined"]},"aria-busy":{type:"http://www.w3.org/2001/XMLSchema#boolean"},"aria-checked":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["true","false","mixed","undefined"]},"aria-colcount":{type:"http://www.w3.org/2001/XMLSchema#int"},"aria-colindex":{type:"http://www.w3.org/2001/XMLSchema#int"},"aria-colspan":{type:"http://www.w3.org/2001/XMLSchema#int"},"aria-controls":{type:"http://www.w3.org/2001/XMLSchema#idrefs",hiddenIDRefSupported:!0},"aria-current":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["page","step","location","date","time","true","false","undefined"]},"aria-describedby":{type:"http://www.w3.org/2001/XMLSchema#idrefs",hiddenIDRefSupported:!0},"aria-details":{type:"http://www.w3.org/2001/XMLSchema#idrefs"},"aria-disabled":{type:"http://www.w3.org/2001/XMLSchema#boolean"},"aria-dropeffect":{type:"http://www.w3.org/2001/XMLSchema#nmtokens",values:["copy","move","link","execute","popup","none"]},"aria-errormessage":{type:"http://www.w3.org/2001/XMLSchema#idref",hiddenIDRefSupported:!0},"aria-expanded":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["true","false","undefined"]},"aria-flowto":{type:"http://www.w3.org/2001/XMLSchema#idrefs",hiddenIDRefSupported:!1},"aria-grabbed":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["true","false","undefined"]},"aria-haspopup":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["true","false","menu","listbox","tree","grid","dialog"]},"aria-hidden":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["true","false","undefined"]},"aria-invalid":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["true","false","spelling","grammar","undefined"]},"aria-keyshortcuts":{type:"http://www.w3.org/2001/XMLSchema#string"},"aria-label":{type:"http://www.w3.org/2001/XMLSchema#string"},"aria-labelledby":{type:"http://www.w3.org/2001/XMLSchema#idrefs",hiddenIDRefSupported:!0},"aria-level":{type:"http://www.w3.org/2001/XMLSchema#int"},"aria-live":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["off","polite","assertive"]},"aria-modal":{type:"http://www.w3.org/2001/XMLSchema#boolean"},"aria-multiline":{type:"http://www.w3.org/2001/XMLSchema#boolean"},"aria-multiselectable":{type:"http://www.w3.org/2001/XMLSchema#boolean"},"aria-orientation":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["horizontal","vertical","undefined"]},"aria-owns":{type:"http://www.w3.org/2001/XMLSchema#idrefs",hiddenIDRefSupported:!0},"aria-placeholder":{type:"http://www.w3.org/2001/XMLSchema#string"},"aria-posinset":{type:"http://www.w3.org/2001/XMLSchema#int"},"aria-pressed":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["true","false","mixed","undefined"]},"aria-readonly":{type:"http://www.w3.org/2001/XMLSchema#boolean"},"aria-relevant":{type:"http://www.w3.org/2001/XMLSchema#nmtokens",values:["additions","removals","text","all"]},"aria-required":{type:"http://www.w3.org/2001/XMLSchema#boolean"},"aria-roledescription":{type:"http://www.w3.org/2001/XMLSchema#string"},"aria-rowcount":{type:"http://www.w3.org/2001/XMLSchema#int"},"aria-rowindex":{type:"http://www.w3.org/2001/XMLSchema#int"},"aria-rowspan":{type:"http://www.w3.org/2001/XMLSchema#int"},"aria-selected":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["true","false","undefined"]},"aria-setsize":{type:"http://www.w3.org/2001/XMLSchema#int"},"aria-sort":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["ascending","descending","other","none"]},"aria-valuemax":{type:"http://www.w3.org/2001/XMLSchema#decimal"},"aria-valuemin":{type:"http://www.w3.org/2001/XMLSchema#decimal"},"aria-valuenow":{type:"http://www.w3.org/2001/XMLSchema#decimal"},"aria-valuetext":{type:"http://www.w3.org/2001/XMLSchema#string"}},e.designPatterns={alert:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"liveRegion",nameRequired:!1,nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},alertdialog:{container:null,props:["aria-modal"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"window",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},application:{container:null,props:["aria-activedescendant","aria-expanded"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameRequired:!0,nameFrom:["author"]},article:{container:null,props:["aria-posinset","aria-setsize"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},banner:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},blockquote:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},button:{container:null,props:["aria-expanded","aria-pressed"],reqProps:null,reqChildren:null,htmlEquiv:"button | input[@type='button']",roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],presentationalChildren:!0,deprecatedProps:["aria-errormessage","aria-invalid"]},caption:{container:["figure","grid","table","treegrid"],props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},cell:{container:["row"],props:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan"],reqProps:null,reqChildren:null,htmlEquiv:"td",roleType:"structure",nameFrom:["author","contents"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},checkbox:{container:null,props:["aria-expanded","aria-readonly","aria-required"],reqProps:["aria-checked"],reqChildren:null,htmlEquiv:"input[@type='checkbox']",roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],presentationalChildren:!0,deprecatedProps:["aria-haspopup"]},code:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},columnheader:{container:["row"],props:["aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected","aria-sort"],reqProps:null,reqChildren:null,htmlEquiv:"th[@scope='col']",roleType:"structure",nameRequired:!0,nameFrom:["author","contents"]},combobox:{container:null,props:["aria-controls","aria-activedescendant","aria-autocomplete","aria-readonly","aria-required"],reqProps:["aria-expanded"],reqChildren:[],htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author"]},complementary:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},comment:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameRequired:!1,nameFrom:["author","contents"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},contentinfo:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},definition:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},deletion:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},dialog:{container:null,props:["aria-modal"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"window",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},directory:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["author"],deprecated:!0,deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},"doc-abstract":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-acknowledgments":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-afterword":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-appendix":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-backlink":{container:null,props:["aria-disabled","aria-expanded","aria-haspopup"],reqProps:null,reqChildren:null,htmlEquiv:"a | link",roleType:"widget",nameRequired:!0,nameFrom:["author","contents"]},"doc-biblioentry":{container:["list"],props:["aria-level","aria-posinset","aria-setsize"],reqProps:null,reqChildren:null,htmlEquiv:"li",roleType:"structure",nameRequired:!0,nameFrom:["author"]},"doc-bibliography":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-biblioref":{container:null,props:["aria-disabled","aria-expanded","aria-haspopup"],reqProps:null,reqChildren:null,htmlEquiv:"a | link",roleType:"widget",nameRequired:!0,nameFrom:["author","contents"]},"doc-chapter":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-colophon":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!0,nameFrom:["author"]},"doc-conclusion":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-cover":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:"img",roleType:"structure",nameRequired:!1,nameFrom:["author"],presentationalChildren:!0},"doc-credit":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-credits":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-dedication":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-endnote":{container:["list"],props:["aria-level","aria-posinset","aria-setsize"],reqProps:null,reqChildren:null,htmlEquiv:"li",roleType:"structure",nameRequired:!1,nameFrom:["author"]},"doc-endnotes":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!0,nameFrom:["author"]},"doc-epigraph":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-epilogue":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-errata":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-example":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-footnote":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-foreword":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-glossary":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-glossref":{container:null,props:["aria-disabled","aria-expanded","aria-haspopup"],reqProps:null,reqChildren:null,htmlEquiv:"a | link",roleType:"widget",nameRequired:!0,nameFrom:["author","contents"]},"doc-index":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-introduction":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-noteref":{container:null,props:["aria-disabled","aria-expanded","aria-haspopup"],reqProps:null,reqChildren:null,htmlEquiv:"a | link",roleType:"widget",nameRequired:!0,nameFrom:["author","contents"]},"doc-notice":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameRequired:!1,nameFrom:["author"]},"doc-pagebreak":{container:null,props:["aria-orientation"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameRequired:!0,nameFrom:["author","contents"],presentationalChildren:!0},"doc-pagelist":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-pagefooter":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"]},"doc-pageheader":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"]},"doc-part":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-preface":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-prologue":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-pullquote":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameRequired:!1,nameFrom:["author"]},"doc-qna":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-subtitle":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameRequired:!1,nameFrom:["author","contents"]},"doc-tip":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameRequired:!1,nameFrom:["author"]},"doc-toc":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},document:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameRequired:!1,nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},emphasis:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},feed:{container:null,props:null,reqProps:null,reqChildren:["article"],htmlEquiv:null,roleType:"structure",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},figure:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},form:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:"form",roleType:"landmark",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},generic:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:"div | span",roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby","aria-roledescription"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},"graphics-document":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,nameRequired:!0,nameFrom:["author"]},"graphics-object":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,nameRequired:!1,nameFrom:["author"]},"graphics-symbol":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,nameRequired:!0,nameFrom:["author"],presentationalChildren:!0},grid:{container:null,props:["aria-activedescendant","aria-colcount","aria-multiselectable","aria-readonly","aria-rowcount"],reqProps:null,reqChildren:["row","rowgroup"],htmlEquiv:"table",roleType:"widget",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},gridcell:{container:["row"],props:["aria-colindex","aria-colspan","aria-disabled","aria-errormessage","aria-expanded","aria-haspopup","aria-invalid","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],reqProps:null,reqChildren:null,htmlEquiv:"td",roleType:"widget",nameFrom:["author","contents"]},group:{container:null,props:["aria-activedescendant"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["author"],deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},heading:{container:null,props:null,reqProps:["aria-level"],reqChildren:null,htmlEquiv:"h1 | h2 | h3 | h4 | h5 | h6",roleType:"structure",nameRequired:!0,nameFrom:["author","contents"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},img:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:"img",roleType:"structure",nameRequired:!0,nameFrom:["author"],presentationalChildren:!0,deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},image:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:"img",roleType:"structure",nameRequired:!0,nameFrom:["author"],presentationalChildren:!0,deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},insertion:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},link:{container:null,props:["aria-expanded"],reqProps:null,reqChildren:null,htmlEquiv:"a | link",roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],deprecatedProps:["aria-errormessage","aria-invalid"]},list:{container:null,props:null,reqProps:null,reqChildren:["listitem"],htmlEquiv:"ol | ul",roleType:"structure",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},listbox:{container:null,props:["aria-activedescendant","aria-expanded","aria-multiselectable","aria-orientation","aria-readonly","aria-required"],reqProps:null,reqChildren:["group","option"],htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-haspopup"]},listitem:{container:["list"],props:["aria-level","aria-posinset","aria-setsize"],reqProps:null,reqChildren:null,htmlEquiv:"li",roleType:"structure",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},log:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"liveRegion",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},main:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},mark:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:"mark",roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},marquee:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"liveRegion",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},math:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["author"],presentationalChildren:!1,deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},menu:{container:null,props:["aria-activedescendant","aria-orientation"],reqProps:null,reqChildren:["group","menuitem","menuitemcheckbox","menuitemradio"],htmlEquiv:null,roleType:"widget",nameRequired:!1,nameFrom:["author"],deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},menubar:{container:null,props:["aria-activedescendant","aria-orientation"],reqProps:null,reqChildren:["group","menuitem","menuitemcheckbox","menuitemradio"],htmlEquiv:null,roleType:"widget",nameRequired:!1,nameFrom:["author"],deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},menuitem:{container:["group","menu","menubar"],props:["aria-expanded","aria-posinset","aria-setsize"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],deprecatedProps:["aria-errormessage","aria-invalid"]},menuitemcheckbox:{container:["group","menu","menubar"],props:["aria-expanded","aria-posinset","aria-setsize"],reqProps:["aria-checked"],reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],presentationalChildren:!0,deprecatedProps:["aria-errormessage","aria-invalid"]},menuitemradio:{container:["group","menu","menubar"],props:["aria-expanded","aria-posinset","aria-setsize"],reqProps:["aria-checked"],reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],presentationalChildren:!0,deprecatedProps:["aria-errormessage","aria-invalid"]},meter:{container:null,props:["aria-valuemax","aria-valuemin","aria-valuetext"],reqProps:["aria-valuenow"],reqChildren:null,htmlEquiv:null,roleType:"structure",nameRequired:!0,nameFrom:["author"],presentationalChildren:!0,deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},navigation:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},none:{container:null,props:[],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},note:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},option:{container:["group","listbox"],props:["aria-selected","aria-checked","aria-posinset","aria-setsize"],reqProps:null,reqChildren:null,htmlEquiv:"option",roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],presentationalChildren:!0,deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},paragraph:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},presentation:{container:null,props:[],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},progressbar:{container:null,props:["aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author"],presentationalChildren:!0,deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},radio:{container:null,props:["aria-posinset","aria-setsize"],reqProps:["aria-checked"],reqChildren:null,htmlEquiv:"input[@type='radio']",roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],presentationalChildren:!0,deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},radiogroup:{container:null,props:["aria-activedescendant","aria-orientation","aria-readonly","aria-required"],reqProps:null,reqChildren:["radio"],htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-haspopup"]},region:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},row:{container:["grid","rowgroup","table","treegrid"],props:["aria-activedescendant","aria-colindex","aria-expanded","aria-level","aria-posinset","aria-rowindex","aria-selected","aria-setsize"],reqProps:null,reqChildren:["cell","columnheader","gridcell","rowheader"],htmlEquiv:"tr",roleType:"structure",nameFrom:["author","contents"],deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},rowgroup:{container:["grid","table","treegrid"],props:[],reqProps:null,reqChildren:["row"],htmlEquiv:"tbody | tfoot | thead",roleType:"structure",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},rowheader:{container:["row"],props:["aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected","aria-sort"],reqProps:null,reqChildren:null,htmlEquiv:"th[@scope='row']",roleType:"structure",nameRequired:!0,nameFrom:["author","contents"]},scrollbar:{container:null,props:["aria-orientation","aria-valuemax","aria-valuemin","aria-valuetext"],reqProps:["aria-controls","aria-valuenow"],reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!1,nameFrom:["author"],presentationalChildren:!0,deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},search:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},searchbox:{container:null,props:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],reqProps:null,reqChildren:null,htmlEquiv:"input[@type='search']",roleType:"widget",nameRequired:!0,nameFrom:["author"]},separator:{container:null,props:["aria-orientation"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["author"],presentationalChildren:!0,deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},slider:{container:null,props:["aria-orientation","aria-readonly","aria-valuemax","aria-valuemin","aria-valuetext"],reqProps:["aria-valuenow"],reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author"],presentationalChildren:!0},spinbutton:{container:null,props:["aria-activedescendant","aria-readonly","aria-required","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-haspopup"]},status:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"liveRegion",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},strong:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},subscript:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},suggestion:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},superscript:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},switch:{container:null,props:["aria-expanded","aria-readonly","aria-required"],reqProps:["aria-checked"],reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],presentationalChildren:!0,deprecatedProps:["aria-haspopup"]},tab:{container:["tablist"],props:["aria-expanded","aria-posinset","aria-selected","aria-setsize"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],presentationalChildren:!0,deprecatedProps:["aria-errormessage","aria-invalid"]},table:{container:null,props:["aria-colcount","aria-rowcount"],reqProps:null,reqChildren:["row","rowgroup","caption"],htmlEquiv:"table",roleType:"structure",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},tablist:{container:null,props:["aria-activedescendant","aria-multiselectable","aria-orientation"],reqProps:null,reqChildren:["tab"],htmlEquiv:null,roleType:"widget",nameRequired:!1,nameFrom:["author"],deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},tabpanel:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},term:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:"dfn",roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},textbox:{container:null,props:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],reqProps:null,reqChildren:null,htmlEquiv:"input[@type='text']",roleType:"widget",nameRequired:!0,nameFrom:["author"]},time:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},timer:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"liveRegion",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},toolbar:{container:null,props:["aria-activedescendant","aria-orientation"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["author"],deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},tooltip:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameRequired:!1,nameFrom:["author","contents"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},tree:{container:null,props:["aria-activedescendant","aria-multiselectable","aria-orientation","aria-required"],reqProps:null,reqChildren:["group","treeitem"],htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-haspopup"]},treegrid:{container:null,props:["aria-activedescendant","aria-colcount","aria-multiselectable","aria-orientation","aria-readonly","aria-required","aria-rowcount"],reqProps:null,reqChildren:["row","rowgroup"],htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-haspopup"]},treeitem:{container:["group","tree"],props:["aria-checked","aria-expanded","aria-level","aria-posinset","aria-selected","aria-setsize"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],deprecatedProps:["aria-errormessage","aria-invalid"]}},e.elementsAllowedDisabled=["button","input","select","textarea","optgroup","option","fieldset"],e.elementsAllowedRequired=["select","textarea"],e.elementsAllowedReadOnly=["textarea"],e.documentConformanceRequirement={abbr:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0,prohibitedAriaAttributesWhenNoImplicitRole:["aria-label","aria-labelledby"]},address:{implicitRole:["group"],validRoles:["any"],globalAriaAttributesValid:!0},article:{implicitRole:["article"],validRoles:["application","document","feed","main","none","presentation","region"],globalAriaAttributesValid:!0},aside:{implicitRole:["complementary"],validRoles:["doc-dedication","doc-example","doc-footnote","doc-glossary","doc-pullquote","doc-tip","feed","none","note","presentation","region","search"],globalAriaAttributesValid:!0},audio:{implicitRole:null,validRoles:["application"],globalAriaAttributesValid:!0},b:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},base:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},bdi:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},bdo:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},blockquote:{implicitRole:["blockquote"],validRoles:["any"],globalAriaAttributesValid:!0},body:{implicitRole:["generic"],validRoles:null,otherDisallowedAriaAttributes:["aria-hidden"],globalAriaAttributesValid:!0},br:{implicitRole:null,validRoles:["none","presentation"],globalAriaAttributesValid:!1,otherAllowedAriaAttributes:["aria-hidden"]},button:{implicitRole:["button"],validRoles:["checkbox","combobox","gridcell","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","separator","slider","switch","tab","treeitem"],globalAriaAttributesValid:!0},canvas:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0},caption:{implicitRole:["caption"],validRoles:null,globalAriaAttributesValid:!0,allowAttributesFromImplicitRole:!1},cite:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0,prohibitedAriaAttributesWhenNoImplicitRole:["aria-label","aria-labelledby"]},code:{implicitRole:["code"],validRoles:["any"],globalAriaAttributesValid:!0},col:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},colgroup:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},data:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},datalist:{implicitRole:["listbox"],validRoles:null,globalAriaAttributesValid:!1,allowAttributesFromImplicitRole:!1},dd:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0},del:{implicitRole:["deletion"],validRoles:["any"],globalAriaAttributesValid:!0},details:{implicitRole:["group"],validRoles:null,globalAriaAttributesValid:!0},dfn:{implicitRole:["term"],validRoles:["any"],globalAriaAttributesValid:!0},dialog:{implicitRole:["dialog"],validRoles:["alertdialog"],globalAriaAttributesValid:!0},dl:{implicitRole:null,validRoles:["group","list","none","presentation"],globalAriaAttributesValid:!0},dt:{implicitRole:["term"],validRoles:["listitem"],globalAriaAttributesValid:!0},em:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0},embed:{implicitRole:null,validRoles:["application","document","img","none","presentation"],globalAriaAttributesValid:!0},fieldset:{implicitRole:["group"],validRoles:["none","presentation","radiogroup"],globalAriaAttributesValid:!0},figcaption:{implicitRole:null,validRoles:["group","none","presentation"],globalAriaAttributesValid:!0,prohibitedAriaAttributesWhenNoImplicitRole:["aria-label","aria-labelledby"]},form:{implicitRole:["form"],validRoles:["none","presentation","search"],globalAriaAttributesValid:!0},head:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},hgroup:{implicitRole:["group"],validRoles:["any"],globalAriaAttributesValid:!0},h1:{implicitRole:["heading"],validRoles:["doc-subtitle","none","presentation","tab"],globalAriaAttributesValid:!0},h2:{implicitRole:["heading"],validRoles:["doc-subtitle","none","presentation","tab"],globalAriaAttributesValid:!0},h3:{implicitRole:["heading"],validRoles:["doc-subtitle","none","presentation","tab"],globalAriaAttributesValid:!0},h4:{implicitRole:["heading"],validRoles:["doc-subtitle","none","presentation","tab"],globalAriaAttributesValid:!0},h5:{implicitRole:["heading"],validRoles:["doc-subtitle","none","presentation","tab"],globalAriaAttributesValid:!0},h6:{implicitRole:["heading"],validRoles:["doc-subtitle","none","presentation","tab"],globalAriaAttributesValid:!0},hr:{implicitRole:["separator"],validRoles:["doc-pagebreak","none","presentation"],globalAriaAttributesValid:!0},html:{implicitRole:["document"],validRoles:null,globalAriaAttributesValid:!1,allowAttributesFromImplicitRole:!1},i:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},iframe:{implicitRole:null,validRoles:["application","document","img","none","presentation"],globalAriaAttributesValid:!0},ins:{implicitRole:["insertion"],validRoles:["any"],globalAriaAttributesValid:!0},kbd:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0,prohibitedAriaAttributesWhenNoImplicitRole:["aria-label","aria-labelledby"]},label:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0,prohibitedAriaAttributesWhenNoImplicitRole:["aria-label","aria-labelledby"]},legend:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0,prohibitedAriaAttributesWhenNoImplicitRole:["aria-label","aria-labelledby"]},link:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},main:{implicitRole:["main"],validRoles:null,globalAriaAttributesValid:!0},map:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},mark:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0,prohibitedAriaAttributesWhenNoImplicitRole:["aria-label","aria-labelledby"]},math:{implicitRole:["math"],validRoles:null,globalAriaAttributesValid:!0},menu:{implicitRole:["list"],validRoles:["group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"],globalAriaAttributesValid:!0},meta:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},meter:{implicitRole:["meter"],validRoles:null,globalAriaAttributesValid:!0,otherDisallowedAriaAttributes:["aria-valuemax","aria-valuemin"],allowAttributesFromImplicitRole:!1},nav:{implicitRole:["navigation"],validRoles:["doc-index","doc-pagelist","doc-toc","menu","menubar","tablist","none","presentation"],globalAriaAttributesValid:!0},noscript:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},object:{implicitRole:null,validRoles:["application","document","img"],globalAriaAttributesValid:!0},ol:{implicitRole:["list"],validRoles:["group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"],globalAriaAttributesValid:!0},optgroup:{implicitRole:["group"],validRoles:null,globalAriaAttributesValid:!0},option:{implicitRole:["option"],validRoles:null,globalAriaAttributesValid:!0,otherDisallowedAriaAttributes:["aria-selected"]},output:{implicitRole:["status"],validRoles:["any"],globalAriaAttributesValid:!0},p:{implicitRole:["paragraph"],validRoles:["any"],globalAriaAttributesValid:!0},param:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},picture:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1,otherAllowedAriaAttributes:["aria-hidden"]},pre:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},progress:{implicitRole:["progressbar"],validRoles:null,globalAriaAttributesValid:!0,otherDisallowedAriaAttributes:["aria-valuemax"]},q:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},rp:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0},rt:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0,prohibitedAriaAttributesWhenNoImplicitRole:["aria-label","aria-labelledby"]},ruby:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0},s:{implicitRole:["deletion"],validRoles:["any"],globalAriaAttributesValid:!0,otherDisallowedAriaAttributes:["aria-label","aria-labelledby"]},samp:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},script:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},search:{implicitRole:["search"],validRoles:["search","form","group","none","presentation","region"],globalAriaAttributesValid:!0},slot:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},small:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},source:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},span:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},strong:{implicitRole:["strong"],validRoles:["any"],globalAriaAttributesValid:!0},style:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},sub:{implicitRole:["subscript"],validRoles:["any"],globalAriaAttributesValid:!0},sup:{implicitRole:["superscript"],validRoles:["any"],globalAriaAttributesValid:!0},svg:{implicitRole:["graphics-document"],validRoles:["any"],globalAriaAttributesValid:!0},table:{implicitRole:["table"],validRoles:["any"],globalAriaAttributesValid:!0},template:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},textarea:{implicitRole:["textbox"],validRoles:null,globalAriaAttributesValid:!0},tfoot:{implicitRole:["rowgroup"],validRoles:["any"],globalAriaAttributesValid:!0},thead:{implicitRole:["rowgroup"],validRoles:["any"],globalAriaAttributesValid:!0},time:{implicitRole:["time"],validRoles:["any"],globalAriaAttributesValid:!0},title:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},track:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},u:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},ul:{implicitRole:["list"],validRoles:["group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"],globalAriaAttributesValid:!0},var:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0,prohibitedAriaAttributesWhenNoImplicitRole:["aria-label","aria-labelledby"]},video:{implicitRole:null,validRoles:["application"],globalAriaAttributesValid:!0},wbr:{implicitRole:null,validRoles:["none","presentation"],globalAriaAttributesValid:!1,otherAllowedAriaAttributes:["aria-hidden"]}},e.documentConformanceRequirementSpecialTags={a:{"with-href":{implicitRole:["link"],validRoles:["button","checkbox","doc-backlink","doc-biblioref","doc-glossref","doc-noteref","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab","treeitem"],globalAriaAttributesValid:!0,otherDisallowedAriaAttributes:["aria-disabled=true"]},"without-href":{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0}},area:{"with-href":{implicitRole:["link"],validRoles:null,globalAriaAttributesValid:!0},"without-href":{implicitRole:["generic"],validRoles:["button","link"],globalAriaAttributesValid:!0}},div:{"child-dl":{implicitRole:["generic"],validRoles:["presentation","none"],globalAriaAttributesValid:!0},"no-child-dl":{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0}},figure:{"child-figcaption":{implicitRole:["figure"],validRoles:["doc-example"],globalAriaAttributesValid:!0},"no-child-figcaption":{implicitRole:["figure"],validRoles:["any"],globalAriaAttributesValid:!0}},footer:{"des-section-article-aside-main-nav":{implicitRole:["generic"],validRoles:["doc-footnote","group","none","presentation"],globalAriaAttributesValid:!0},other:{implicitRole:["contentinfo"],validRoles:["doc-footnote","group","none","presentation"],globalAriaAttributesValid:!0}},header:{"des-section-article-aside-main-nav":{implicitRole:["generic"],validRoles:["group","none","presentation"],globalAriaAttributesValid:!0},other:{implicitRole:["banner"],validRoles:["group","none","presentation"],globalAriaAttributesValid:!0}},img:{"img-with-accname":{implicitRole:["img"],validRoles:["button","checkbox","doc-cover","link","menuitem","menuitemcheckbox","menuitemradio","meter","option","progressbar","radio","scrollbar","separator","slider","switch","tab","treeitem"],globalAriaAttributesValid:!0},"img-without-accname-empty-alt":{implicitRole:["presentation","none"],validRoles:null,globalAriaAttributesValid:!1,otherAllowedAriaAttributes:["aria-hidden=true"]},"img-without-accname-no-alt":{implicitRole:["img"],validRoles:["presentation","none"],globalAriaAttributesValid:!1,otherAllowedAriaAttributes:["aria-hidden=true"]}},input:{button:{implicitRole:["button"],validRoles:["checkbox","combobox","gridcell","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","slider","switch","tab","treeitem"],globalAriaAttributesValid:!0},"checkbox-with-aria-pressed":{implicitRole:["checkbox"],validRoles:["menuitemcheckbox","option","switch","button"],globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-required"],otherDisallowedAriaAttributes:["aria-checked"]},"checkbox-without-aria-pressed":{implicitRole:["checkbox"],validRoles:["menuitemcheckbox","option","switch"],globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-required"],otherDisallowedAriaAttributes:["aria-checked"]},color:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0},date:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-required","aria-readonly"],otherRolesForAttributes:["textbox"]},"datetime-local":{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-required","aria-readonly"],otherRolesForAttributes:["textbox"]},"email-no-list":{implicitRole:["textbox"],validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-placeholder","aria-required","aria-readonly"],otherRolesForAttributes:["textbox"]},"email-with-list":{implicitRole:["combobox"],validRoles:null,globalAriaAttributesValid:!0},file:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-required"]},hidden:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},image:{implicitRole:["button"],validRoles:["checkbox","gridcell","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","slider","switch","tab","treeitem"],globalAriaAttributesValid:!0},month:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-readonly"],otherRolesForAttributes:["textbox"]},number:{implicitRole:["spinbutton"],validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-placeholder","aria-required","aria-readonly"]},password:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-placeholder","aria-required","aria-readonly"],otherRolesForAttributes:["textbox"]},radio:{implicitRole:["radio"],validRoles:["menuitemradio"],globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-required"],otherDisallowedAriaAttributes:["aria-checked"]},range:{implicitRole:["slider"],validRoles:null,globalAriaAttributesValid:!0,otherDisallowedAriaAttributes:["aria-valuemax","aria-valuemin"]},reset:{implicitRole:["button"],validRoles:["checkbox","combobox","gridcell","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","slider","switch","tab","treeitem"],globalAriaAttributesValid:!0},"search-no-list":{implicitRole:["searchbox"],validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-placeholder","aria-required","aria-readonly"]},"search-with-list":{implicitRole:["combobox"],validRoles:null,globalAriaAttributesValid:!0},submit:{implicitRole:["button"],validRoles:["checkbox","combobox","gridcell","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","slider","switch","tab","treeitem"],globalAriaAttributesValid:!0},"tel-no-list":{implicitRole:["textbox"],validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-placeholder","aria-required","aria-readonly"]},"tel-with-list":{implicitRole:["combobox"],validRoles:null,globalAriaAttributesValid:!0},"text-no-list":{implicitRole:["textbox"],validRoles:["combobox","searchbox","spinbutton"],globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-placeholder","aria-required","aria-readonly"]},"text-with-list":{implicitRole:["combobox"],validRoles:null,globalAriaAttributesValid:!0},time:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-readonly"],otherRolesForAttributes:["textbox"]},"url-no-list":{implicitRole:["textbox"],validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-placeholder","aria-required","aria-readonly"]},"url-with-list":{implicitRole:["combobox"],validRoles:null,globalAriaAttributesValid:!0},week:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-readonly"],otherRolesForAttributes:["textbox"]},"default-with-list":{implicitRole:["combobox"],validRoles:null,globalAriaAttributesValid:!0},"default-no-list":{implicitRole:["textbox"],validRoles:null,globalAriaAttributesValid:!0}},li:{"child-of-list-role":{implicitRole:["listitem"],validRoles:null,globalAriaAttributesValid:!0},"no-child-of-list-role":{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0}},section:{"with-name":{implicitRole:["region"],validRoles:["alert","alertdialog","application","banner","complementary","contentinfo","dialog","doc-abstract","doc-acknowledgments","doc-afterword","doc-appendix","doc-bibliography","doc-chapter","doc-colophon","doc-conclusion","doc-credit","doc-credits","doc-dedication","doc-endnotes","doc-epigraph","doc-epilogue","doc-errata","doc-example","doc-foreword","doc-glossary","doc-index","doc-introduction","doc-notice","doc-pagelist","doc-part","doc-preface","doc-prologue","doc-pullquote","doc-qna","doc-toc","document","feed","group","log","main","marquee","navigation","none","note","presentation","search","status","tabpanel"],globalAriaAttributesValid:!0},"without-name":{implicitRole:null,validRoles:["alert","alertdialog","application","banner","complementary","contentinfo","dialog","doc-abstract","doc-acknowledgments","doc-afterword","doc-appendix","doc-bibliography","doc-chapter","doc-colophon","doc-conclusion","doc-credit","doc-credits","doc-dedication","doc-endnotes","doc-epigraph","doc-epilogue","doc-errata","doc-example","doc-foreword","doc-glossary","doc-index","doc-introduction","doc-notice","doc-pagelist","doc-part","doc-preface","doc-prologue","doc-pullquote","doc-qna","doc-toc","document","feed","group","log","main","marquee","navigation","none","note","presentation","search","status","tabpanel"],globalAriaAttributesValid:!0}},select:{"no-multiple-attr-size-gt1":{implicitRole:["combobox"],validRoles:["menu"],globalAriaAttributesValid:!0,otherDisallowedAriaAttributes:["aria-multiselectable"]},"multiple-attr-size-gt1":{implicitRole:["listbox"],validRoles:null,globalAriaAttributesValid:!0,otherDisallowedAriaAttributes:["aria-multiselectable"]}},summary:{"first-summary-of-detail":{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-disabled","aria-haspopup"]},"no-first-summary-of-detail":{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0}},tbody:{"des-table":{implicitRole:["rowgroup"],validRoles:["any"],globalAriaAttributesValid:!0},"des-grid":{implicitRole:["rowgroup"],validRoles:["any"],globalAriaAttributesValid:!0},"des-treegrid":{implicitRole:["rowgroup"],validRoles:["any"],globalAriaAttributesValid:!0},"des-other":{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0}},td:{"des-table":{implicitRole:["cell"],validRoles:null,globalAriaAttributesValid:!0},"des-grid":{implicitRole:["gridcell"],validRoles:null,globalAriaAttributesValid:!0},"des-treegrid":{implicitRole:["gridcell"],validRoles:null,globalAriaAttributesValid:!0},"des-other":{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0}},th:{"des-table-grid-treegrid-row-scope":{implicitRole:["rowheader","cell"],validRoles:null,globalAriaAttributesValid:!0},"des-table-grid-treegrid-column-scope":{implicitRole:["columnheader","cell"],validRoles:null,globalAriaAttributesValid:!0},"des-other":{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0}},tr:{"des-table":{implicitRole:["row"],validRoles:null,globalAriaAttributesValid:!0},"des-grid":{implicitRole:["row"],validRoles:null,globalAriaAttributesValid:!0},"des-treegrid":{implicitRole:["row"],validRoles:null,globalAriaAttributesValid:!0},"des-other":{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0}},default:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0}},e.relatedAriaHtmlAttributes={"aria-checked":{conflict:[{ariaAttributeValue:"false",htmlAttributeNames:["checked"],htmlAttributeValues:null}],overlapping:[{ariaAttributeValue:"true",htmlAttributeNames:["checked"],htmlAttributeValues:null}]},"aria-disabled":{conflict:[{ariaAttributeValue:"false",htmlAttributeNames:["disabled"],htmlAttributeValues:null}],overlapping:[{ariaAttributeValue:"true",htmlAttributeNames:["disabled"],htmlAttributeValues:null}]},"aria-hidden":{conflict:[{ariaAttributeValue:"false",htmlAttributeNames:["hidden"],htmlAttributeValues:["hidden,null"]},{ariaAttributeValue:"true",htmlAttributeNames:["hidden"],htmlAttributeValues:["until-found"]}],overlapping:[{ariaAttributeValue:"true",htmlAttributeNames:["hidden"],htmlAttributeValues:["hidden,null"]}]},"aria-placeholder":{conflict:[{ariaAttributeValue:null,htmlAttributeNames:["placeholder"],htmlAttributeValues:null}]},"aria-valuemax":{conflict:[{ariaAttributeValue:null,htmlAttributeNames:["max"],htmlAttributeValues:null}]},"aria-valuemin":{conflict:[{ariaAttributeValue:null,htmlAttributeNames:["min"],htmlAttributeValues:null}]},"aria-readonly":{conflict:[{ariaAttributeValue:"false",htmlAttributeNames:["readonly","contenteditable","iscontenteditable"],htmlAttributeValues:[null,"false","false"]}],overlapping:[{ariaAttributeValue:"true",htmlAttributeNames:["readonly","contenteditable","iscontenteditable"],htmlAttributeValues:[null,"true","true"]}]},"aria-required":{conflict:[{ariaAttributeValue:"false",htmlAttributeNames:["required"],htmlAttributeValues:null}],overlapping:[{ariaAttributeValue:"true",htmlAttributeNames:["required"],htmlAttributeValues:null}]},"aria-colspan":{conflict:[{ariaAttributeValue:"VALUE",htmlAttributeNames:["colspan"],htmlAttributeValues:["VALUE"]}],overlapping:[{ariaAttributeValue:null,htmlAttributeNames:["colspan"],htmlAttributeValues:null}]},"aria-rowspan":{conflict:[{ariaAttributeValue:"VALUE",htmlAttributeNames:["rowspan"],htmlAttributeValues:["VALUE"]}],overlapping:[{ariaAttributeValue:null,htmlAttributeNames:["rowspan"],htmlAttributeValues:null}]}},e.containers=[],e}();t.ARIADefinitions=i;var a=[];for(var l in i.designPatterns){var n=i.designPatterns[l].container;if(null!==n)for(var r=0,o=n;r<o.length;r++){var s=o[r];-1==a.indexOf(s)&&a.push(s)}}i.containers=a},4944:function(e,t,i){var a,l=this&&this.__extends||(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},a(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.ARIAMapper=void 0;var n=i(8235),r=i(1794),o=i(295),s=i(8137),u=i(490),d=i(482),c=i(8015),m=i(7788),p=i(7440),h=i(1421),_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.childrenCanHaveRole=function(e,t){return!(t in n.ARIADefinitions.designPatterns&&n.ARIADefinitions.designPatterns[t].presentationalChildren)},t.prototype.getRole=function(e){return t.nodeToRole(e)},t.prototype.getNamespace=function(){return"aria"},t.prototype.getAttributes=function(e){var i={};if(1===e.nodeType){for(var a=e,l=0;l<a.attributes.length;++l){var n=a.attributes[l],r=n.name.toLowerCase();r.startsWith("aria-")&&(i[r.substring(5)]=n.nodeValue)}var o=function(e){if(e in t.elemAttrValueCalculators)for(var l in t.elemAttrValueCalculators[e])if(!(l in i)){var n=t.elemAttrValueCalculators[e][l];null!=n&&("string"!=typeof n&&(n=n(a)),i[l]=n)}};o("global"),o(e.nodeName.toLowerCase())}else if(3===e.nodeType)for(var s in t.textAttrValueCalculators){var u=t.textAttrValueCalculators[s](e);null!=u&&(i[s]=u)}return i},t.getAriaOwnedBy=function(e){var t=d.FragmentUtil.getOwnerFragment(e);if(!m.CacheUtil.getCache(t,"ARIAMapper::precalcOwned",!1)){for(var i=t.querySelectorAll("[aria-owns]"),a=0;a<i.length;++a)for(var l=i[a],n=l.getAttribute("aria-owns").split(/ +/g),r=0;r<n.length;++r){var s=t.getElementById(n[r]);s&&!o.DOMUtil.sameNode(l,s)&&m.CacheUtil.setCache(s,"aria-owned",l)}m.CacheUtil.setCache(t,"ARIAMapper::precalcOwned",!0)}return m.CacheUtil.getCache(e,"aria-owned",null)},t.prototype.getNodeHierarchy=function(e){if(!e)return[];if(1!==e.nodeType){for(var i=(s=this.getNodeHierarchy(p.DOMWalker.parentElement(e))).length>0?s[s.length-1]:{role:"",rolePath:"",roleCount:{},childrenCanHaveRole:!0},a=[],l=0,n=s;l<n.length;l++){var r=n[l];a.push(r)}return a.push({attributes:{},bounds:this.getBounds(e),namespace:this.getNamespace(),node:e,role:this.getRole(e)||"none",rolePath:i.rolePath+"/"+(this.getRole(e)||"none"),roleCount:{},childrenCanHaveRole:i.childrenCanHaveRole}),a}var o=e;if(!(a=m.CacheUtil.getCache(o,"ARIAMapper::getNodeHierarchy",null))){var s,u=t.getAriaOwnedBy(o);for(u||(u=p.DOMWalker.parentElement(o));u&&1!==u.nodeType;)u=p.DOMWalker.parentElement(o);for(i=(s=u?this.getNodeHierarchy(u):[]).length>0?s[s.length-1]:{role:"",rolePath:"",roleCount:{},childrenCanHaveRole:!0};"none"===i.role||"/none"===i.role;)i=(s=(u=t.getAriaOwnedBy(u)||p.DOMWalker.parentElement(u))?this.getNodeHierarchy(u):[])[s.length-1];var d={attributes:1===o.nodeType?this.getAttributes(o):{},bounds:this.getBounds(o),namespace:this.getNamespace(),node:o,role:this.getRole(o)||"none",rolePath:"",roleCount:{},childrenCanHaveRole:!0};i.childrenCanHaveRole?d.childrenCanHaveRole=i.childrenCanHaveRole&&this.childrenCanHaveRole(o,d.role):d.role="none","none"!==d.role?(i.roleCount[d.role]=(i.roleCount[d.role]||0)+1,d.rolePath=i.rolePath+"/"+d.role+"["+i.roleCount[d.role]+"]"):d.rolePath=i.rolePath,a=[];for(var c=0,h=s;c<h.length;c++)r=h[c],a.push(r);a.push(d),m.CacheUtil.setCache(o,"ARIAMapper::getNodeHierarchy",a)}return a},t.prototype.reset=function(e){t.nameComputationId=0,this.hierarchyRole=[],this.hierarchyResults=[],this.hierarchyPath=[{rolePath:"",roleCount:{}}];for(var i,a=e;i=p.DOMWalker.parentNode(a);)a=i;var l=new c.ARIAWalker(a,!1,a);do{1===l.node.nodeType&&this.getNodeHierarchy(l.node)}while(l.nextNode())},t.prototype.openScope=function(e){null===this.hierarchyRole&&this.reset(e),this.pushHierarchy(e);for(var t=0;t<this.hierarchyResults.length;++t)"/"===this.hierarchyResults[t].role[0]&&(this.hierarchyResults[t].role=this.hierarchyResults[t].role.substring(1));return this.hierarchyResults},t.prototype.pushHierarchy=function(e){var t,i=(t=this.getNodeHierarchy(e))[t.length-1];this.hierarchyRole.push(i.role),"none"!==i.role&&this.hierarchyPath.push(i),this.hierarchyResults=t},t.prototype.closeScope=function(e){for(var t=[],i=0,a=this.hierarchyResults;i<a.length;i++){var l=a[i];t.push(l)}if(t.length>0){t[t.length-1].role="/"+t[t.length-1].role;var n=p.DOMWalker.parentElement(e);this.hierarchyResults=n?m.CacheUtil.getCache(n,"ARIAMapper::getNodeInfo",[]):[]}return t},t.nodeToRole=function(e){if(3===e.nodeType)return"text";if(1!==e.nodeType)return null;var t=e;if(!t||1!==t.nodeType)return null;if(t.hasAttribute("role")&&t.getAttribute("role").trim().length>0)for(var i=0,a=t.getAttribute("role").trim().split(" ");i<a.length;i++){var l=a[i];if("presentation"===l||"none"===l){if(!s.CommonUtil.isFocusable(t))return null}else if(l in n.ARIADefinitions.designPatterns)return l}var r=u.AriaUtil.getImplicitRole(t),o=r&&0!==r.length?r[0]:null;return"presentation"===o||"none"===o?null:o},t.elemAttrValueCalculators={global:{name:h.AccNameUtil.computeAccessibleName},datalist:{multiselectable:function(e){var t=e.getAttribute("id");return t&&t.length>0?(e.ownerDocument.querySelector("input[list='"+t+"']"),""+(e.getAttribute("multiple")&&("true"==e.getAttribute("multiple")||""==e.getAttribute("multiple")))):null}},h1:{level:"1"},h2:{level:"2"},h3:{level:"3"},h4:{level:"4"},h5:{level:"5"},h6:{level:"6"},input:{checked:function(e){return"checkbox"===e.getAttribute("type")||"radio"===e.getAttribute("type")?""+e.checked:null},setsize:function(e){return null},posinset:function(e){return null},owns:function(e){return null}},keygen:{multiselectable:"false"},li:{setsize:function(e){var t=o.DOMUtil.getAncestor(e,["ol","ul","menu"]);if(!t)return null;var i=t.querySelectorAll("li"),a=t.querySelectorAll("ol li, ul li, menu li");return""+(i.length-a.length)},posinset:function(e){var t=o.DOMUtil.getAncestor(e,["ol","ul","menu"]);if(!t)return null;for(var i=t.querySelectorAll("li"),a=0,l=0;l<i.length;++l){var n=i[l];if(o.DOMUtil.sameNode(t,o.DOMUtil.getAncestor(n,["ol","ul","menu"])))return""+a;++a}return null}},menuitem:{checked:function(e){return""+!(!e.getAttribute("checked")||"true"!=e.getAttribute("checked")&&""!=e.getAttribute("checked"))}},option:{selected:function(e){return""+!(!e.getAttribute("selected")||"true"!=e.getAttribute("selected")&&""!=e.getAttribute("selected"))}},progress:{valuemax:function(e){return e.getAttribute("max")||"1"},valuemin:function(e){return"0"},valuenow:function(e){return e.getAttribute("value")}}},t.textAttrValueCalculators={name:function(e){return e.nodeValue}},t.nameComputationId=0,t}(r.CommonMapper);t.ARIAMapper=_},8015:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ARIAWalker=void 0;var a=i(482),l=i(4944),n=i(8656),r=i(7440),o=function(){function e(e,t,i){this.root=i||e,9===this.root.nodeType&&(this.root=this.root.documentElement),this.node=e,this.bEndTag=null!=t&&1==t}return e.prototype.atRoot=function(){return!this.ownerElement&&(this.root===this.node||(this.root.isSameNode?this.root.isSameNode(this.node):this.root.compareDocumentPosition?0===this.root.compareDocumentPosition(this.node):null===this.node.parentNode))},e.prototype.nextNode=function(){var e=!1;do{if(e=!1,this.bEndTag){if(this.atRoot())return!1;if(this.node.slotOwner){var t=this.node.slotOwner,i=this.node.slotIndex+1;i<t.assignedNodes().length?(this.node=t.assignedNodes()[i],this.bEndTag=!1):(this.node=t,this.bEndTag=!0)}else if(this.node.ownerElement)this.node=this.node.ownerElement,this.bEndTag=!0;else if(r.DOMWalker.nextSiblingNotOwnedBySlot(this.node))this.node=r.DOMWalker.nextSiblingNotOwnedBySlot(this.node),this.bEndTag=!1,e=!0;else{if(!this.node.parentNode)return!1;if(1===this.node.parentNode.nodeType&&this.node.parentNode.hasAttribute("aria-owns")){var o=this.node.parentNode.getAttribute("aria-owns").split(/ +/g);if(1===this.node.nodeType&&this.node.hasAttribute("id")){var s=o.indexOf(this.node.getAttribute("id"));s===o.length-1?(this.node=this.node.parentNode,this.bEndTag=!0):(this.node=a.FragmentUtil.getOwnerFragment(this.node).getElementById(o[s+1]),this.bEndTag=!1)}else this.node=a.FragmentUtil.getOwnerFragment(this.node).getElementById(o[0]),this.bEndTag=!1}this.node=this.node.parentNode,this.bEndTag=!0}}else{var u=this.node,d=this.node,c=this.node;if(1===this.node.nodeType&&"IFRAME"===this.node.nodeName.toUpperCase()&&n.VisUtil.isNodeVisible(u)&&u.contentDocument&&u.contentDocument.documentElement){var m=this.node;this.node=u.contentDocument.documentElement,this.node.ownerElement=m}else 1===this.node.nodeType&&n.VisUtil.isNodeVisible(d)&&d.shadowRoot&&d.shadowRoot.firstChild?(m=this.node,this.node=d.shadowRoot,this.node.ownerElement=m,r.DOMWalker.assignSlots(this.node)):1===this.node.nodeType&&"slot"===d.nodeName.toLowerCase()&&c.assignedNodes().length>0?this.node=c.assignedNodes()[0]:1!==this.node.nodeType&&11!==this.node.nodeType||!r.DOMWalker.firstChildNotOwnedBySlot(this.node)?this.bEndTag=!0:this.node=r.DOMWalker.firstChildNotOwnedBySlot(this.node)}}while(1!==this.node.nodeType&&11!==this.node.nodeType&&3!==this.node.nodeType||1===this.node.nodeType&&"ACE"===this.node.getAttribute("aChecker")||e&&1===this.node.nodeType&&l.ARIAMapper.getAriaOwnedBy(this.node));return!0},e.prototype.prevNode=function(){var e=!1;do{if(e=!1,this.bEndTag){var t=this.node,i=this.node;if(1===this.node.nodeType&&"IFRAME"===this.node.nodeName.toUpperCase()&&n.VisUtil.isNodeVisible(t)&&t.contentDocument&&t.contentDocument.documentElement){var o=this.node;this.node=t.contentDocument.documentElement,this.node.ownerElement=o}else 1===this.node.nodeType&&n.VisUtil.isNodeVisible(i)&&i.shadowRoot&&i.shadowRoot.lastChild?(o=this.node,this.node=i.shadowRoot,this.node.ownerElement=o,r.DOMWalker.assignSlots(this.node)):1!==this.node.nodeType&&11!==this.node.nodeType||!r.DOMWalker.lastChildNotOwnedBySlot(this.node)?this.bEndTag=!1:this.node=r.DOMWalker.lastChildNotOwnedBySlot(this.node)}else{if(this.atRoot())return!1;if(r.DOMWalker.previousSiblingNotOwnedBySlot(this.node))this.node=r.DOMWalker.previousSiblingNotOwnedBySlot(this.node),this.bEndTag=!0;else if(this.node.ownerElement)this.node=this.node.ownerElement,this.bEndTag=!1,e=!0;else{if(!this.node.parentNode)return!1;if(1===this.node.parentNode.nodeType&&this.node.parentNode.hasAttribute("aria-owns")){var s=this.node.parentNode.getAttribute("aria-owns").split(/ +/g);if(1===this.node.nodeType&&this.node.hasAttribute("id")){var u=s.indexOf(this.node.getAttribute("id"));u===s.length-1?(this.node=this.node.parentNode,this.bEndTag=!0):(this.node=a.FragmentUtil.getOwnerFragment(this.node).getElementById(s[u+1]),this.bEndTag=!1)}else this.node=a.FragmentUtil.getOwnerFragment(this.node).getElementById(s[0]),this.bEndTag=!1}this.node=this.node.parentNode,this.bEndTag=!1}}}while(1!==this.node.nodeType&&11!==this.node.nodeType||1===this.node.nodeType&&"ACE"===this.node.getAttribute("aChecker")||e&&1===this.node.nodeType&&l.ARIAMapper.getAriaOwnedBy(this.node));return!0},e}();t.ARIAWalker=o},9193:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AncestorUtil=void 0;var i=function(){function e(){}return e.isPresentationFrame=function(e){if(e&&e.dom)for(var t=e.dom.length-2;t>=0;--t){var i=e.dom[t].node;if(1===i.nodeType&&"iframe"===i.nodeName.toLowerCase()&&("presentation"===i.getAttribute("role")||"true"===i.getAttribute("aria-hidden")))return!0}return!1},e.isFrame=function(e){if(e&&e.dom)for(var t=e.dom.length-2;t>=0;--t){var i=e.dom[t].node;if(1===i.nodeType&&"iframe"===i.nodeName.toLowerCase())return!0}return!1},e}();t.AncestorUtil=i},482:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FragmentUtil=void 0;var i=function(){function e(){}return e.getOwnerFragment=function(e){for(var t=e;t.parentNode&&(t=t.parentNode);)if(11===t.nodeType)return t;return e.ownerDocument},e.getById=function(e,t){return this.getOwnerFragment(e).getElementById(t)},e.getAncestor=function(e,t){var i=e.dom.filter((function(e){return e.role===t}));return i.length>0&&i[0].node||null},e.getAncestorWithRole=function(e,t){var i=e.aria.filter((function(e){return e.role===t}));return i.length>0&&i[0].node||null},e}();t.FragmentUtil=i},2527:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LangUtil=void 0;var i=[["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","aaa","aab","aac","aad","aae","aaf","aag","aah","aai","aak","aal","aam","aan","aao","aap","aaq","aas","aat","aau","aav","aaw","aax","aaz","aba","abb","abc","abd","abe","abf","abg","abh","abi","abj","abl","abm","abn","abo","abp","abq","abr","abs","abt","abu","abv","abw","abx","aby","abz","aca","acb","acd","ace","acf","ach","aci","ack","acl","acm","acn","acp","acq","acr","acs","act","acu","acv","acw","acx","acy","acz","ada","adb","add","ade","adf","adg","adh","adi","adj","adl","adn","ado","adp","adq","adr","ads","adt","adu","adw","adx","ady","adz","aea","aeb","aec","aed","aee","aek","ael","aem","aen","aeq","aer","aes","aeu","aew","aey","aez","afa","afb","afd","afe","afg","afh","afi","afk","afn","afo","afp","afs","aft","afu","afz","aga","agb","agc","agd","age","agf","agg","agh","agi","agj","agk","agl","agm","agn","ago","agp","agq","agr","ags","agt","agu","agv","agw","agx","agy","agz","aha","ahb","ahg","ahh","ahi","ahk","ahl","ahm","ahn","aho","ahp","ahr","ahs","aht","aia","aib","aic","aid","aie","aif","aig","aih","aii","aij","aik","ail","aim","ain","aio","aip","aiq","air","ais","ait","aiw","aix","aiy","aja","ajg","aji","ajn","ajp","ajt","aju","ajw","ajz","akb","akc","akd","ake","akf","akg","akh","aki","akj","akk","akl","akm","ako","akp","akq","akr","aks","akt","aku","akv","akw","akx","aky","akz","ala","alc","ald","ale","alf","alg","alh","ali","alj","alk","all","alm","aln","alo","alp","alq","alr","als","alt","alu","alv","alw","alx","aly","alz","ama","amb","amc","ame","amf","amg","ami","amj","amk","aml","amm","amn","amo","amp","amq","amr","ams","amt","amu","amv","amw","amx","amy","amz","ana","anb","anc","and","ane","anf","ang","anh","ani","anj","ank","anl","anm","ann","ano","anp","anq","anr","ans","ant","anu","anv","anw","anx","any","anz","aoa","aob","aoc","aod","aoe","aof","aog","aoh","aoi","aoj","aok","aol","aom","aon","aor","aos","aot","aou","aox","aoz","apa","apb","apc","apd","ape","apf","apg","aph","api","apj","apk","apl","apm","apn","apo","app","apq","apr","aps","apt","apu","apv","apw","apx","apy","apz","aqa","aqc","aqd","aqg","aqk","aql","aqm","aqn","aqp","aqr","aqt","aqz","arb","arc","ard","are","arh","ari","arj","ark","arl","arn","aro","arp","arq","arr","ars","art","aru","arv","arw","arx","ary","arz","asa","asb","asc","asd","ase","asf","asg","ash","asi","asj","ask","asl","asn","aso","asp","asq","asr","ass","ast","asu","asv","asw","asx","asy","asz","ata","atb","atc","atd","ate","atg","ath","ati","atj","atk","atl","atm","atn","ato","atp","atq","atr","ats","att","atu","atv","atw","atx","aty","atz","aua","aub","auc","aud","aue","auf","aug","auh","aui","auj","auk","aul","aum","aun","auo","aup","auq","aur","aus","aut","auu","auw","aux","auy","auz","avb","avd","avi","avk","avl","avm","avn","avo","avs","avt","avu","avv","awa","awb","awc","awd","awe","awg","awh","awi","awk","awm","awn","awo","awr","aws","awt","awu","awv","aww","awx","awy","axb","axe","axg","axk","axl","axm","axx","aya","ayb","ayc","ayd","aye","ayg","ayh","ayi","ayk","ayl","ayn","ayo","ayp","ayq","ayr","ays","ayt","ayu","ayx","ayy","ayz","aza","azb","azc","azd","azg","azj","azm","azn","azo","azt","azz"],["ba","be","bg","bh","bi","bm","bn","bo","br","bs","baa","bab","bac","bad","bae","baf","bag","bah","bai","baj","bal","ban","bao","bap","bar","bas","bat","bau","bav","baw","bax","bay","baz","bba","bbb","bbc","bbd","bbe","bbf","bbg","bbh","bbi","bbj","bbk","bbl","bbm","bbn","bbo","bbp","bbq","bbr","bbs","bbt","bbu","bbv","bbw","bbx","bby","bbz","bca","bcb","bcc","bcd","bce","bcf","bcg","bch","bci","bcj","bck","bcl","bcm","bcn","bco","bcp","bcq","bcr","bcs","bct","bcu","bcv","bcw","bcy","bcz","bda","bdb","bdc","bdd","bde","bdf","bdg","bdh","bdi","bdj","bdk","bdl","bdm","bdn","bdo","bdp","bdq","bdr","bds","bdt","bdu","bdv","bdw","bdx","bdy","bdz","bea","beb","bec","bed","bee","bef","beg","beh","bei","bej","bek","bem","beo","bep","beq","ber","bes","bet","beu","bev","bew","bex","bey","bez","bfa","bfb","bfc","bfd","bfe","bff","bfg","bfh","bfi","bfj","bfk","bfl","bfm","bfn","bfo","bfp","bfq","bfr","bfs","bft","bfu","bfw","bfx","bfy","bfz","bga","bgb","bgc","bgd","bge","bgf","bgg","bgi","bgj","bgk","bgl","bgm","bgn","bgo","bgp","bgq","bgr","bgs","bgt","bgu","bgv","bgw","bgx","bgy","bgz","bha","bhb","bhc","bhd","bhe","bhf","bhg","bhh","bhi","bhj","bhk","bhl","bhm","bhn","bho","bhp","bhq","bhr","bhs","bht","bhu","bhv","bhw","bhx","bhy","bhz","bia","bib","bic","bid","bie","bif","big","bij","bik","bil","bim","bin","bio","bip","biq","bir","bit","biu","biv","biw","bix","biy","biz","bja","bjb","bjc","bjd","bje","bjf","bjg","bjh","bji","bjj","bjk","bjl","bjm","bjn","bjo","bjp","bjq","bjr","bjs","bjt","bju","bjv","bjw","bjx","bjy","bjz","bka","bkb","bkc","bkd","bkf","bkg","bkh","bki","bkj","bkk","bkl","bkm","bkn","bko","bkp","bkq","bkr","bks","bkt","bku","bkv","bkw","bkx","bky","bkz","bla","blb","blc","bld","ble","blf","blg","blh","bli","blj","blk","bll","blm","bln","blo","blp","blq","blr","bls","blt","blv","blw","blx","bly","blz","bma","bmb","bmc","bmd","bme","bmf","bmg","bmh","bmi","bmj","bmk","bml","bmm","bmn","bmo","bmp","bmq","bmr","bms","bmt","bmu","bmv","bmw","bmx","bmy","bmz","bna","bnb","bnc","bnd","bne","bnf","bng","bni","bnj","bnk","bnl","bnm","bnn","bno","bnp","bnq","bnr","bns","bnt","bnu","bnv","bnw","bnx","bny","bnz","boa","bob","boe","bof","bog","boh","boi","boj","bok","bol","bom","bon","boo","bop","boq","bor","bot","bou","bov","bow","box","boy","boz","bpa","bpb","bpd","bpe","bpg","bph","bpi","bpj","bpk","bpl","bpm","bpn","bpo","bpp","bpq","bpr","bps","bpt","bpu","bpv","bpw","bpx","bpy","bpz","bqa","bqb","bqc","bqd","bqf","bqg","bqh","bqi","bqj","bqk","bql","bqm","bqn","bqo","bqp","bqq","bqr","bqs","bqt","bqu","bqv","bqw","bqx","bqy","bqz","bra","brb","brc","brd","brf","brg","brh","bri","brj","brk","brl","brm","brn","bro","brp","brq","brr","brs","brt","bru","brv","brw","brx","bry","brz","bsa","bsb","bsc","bse","bsf","bsg","bsh","bsi","bsj","bsk","bsl","bsm","bsn","bso","bsp","bsq","bsr","bss","bst","bsu","bsv","bsw","bsx","bsy","bta","btb","btc","btd","bte","btf","btg","bth","bti","btj","btk","btl","btm","btn","bto","btp","btq","btr","bts","btt","btu","btv","btw","btx","bty","btz","bua","bub","buc","bud","bue","buf","bug","buh","bui","buj","buk","bum","bun","buo","bup","buq","bus","but","buu","buv","buw","bux","buy","buz","bva","bvb","bvc","bvd","bve","bvf","bvg","bvh","bvi","bvj","bvk","bvl","bvm","bvn","bvo","bvp","bvq","bvr","bvt","bvu","bvv","bvw","bvx","bvy","bvz","bwa","bwb","bwc","bwd","bwe","bwf","bwg","bwh","bwi","bwj","bwk","bwl","bwm","bwn","bwo","bwp","bwq","bwr","bws","bwt","bwu","bww","bwx","bwy","bwz","bxa","bxb","bxc","bxd","bxe","bxf","bxg","bxh","bxi","bxj","bxk","bxl","bxm","bxn","bxo","bxp","bxq","bxr","bxs","bxu","bxv","bxw","bxx","bxz","bya","byb","byc","byd","bye","byf","byg","byh","byi","byj","byk","byl","bym","byn","byo","byp","byq","byr","bys","byt","byv","byw","byx","byy","byz","bza","bzb","bzc","bzd","bze","bzf","bzg","bzh","bzi","bzj","bzk","bzl","bzm","bzn","bzo","bzp","bzq","bzr","bzs","bzt","bzu","bzv","bzw","bzx","bzy","bzz"],["ca","ce","ch","co","cr","cs","cu","cv","cy","caa","cab","cac","cad","cae","caf","cag","cah","cai","caj","cak","cal","cam","can","cao","cap","caq","car","cas","cau","cav","caw","cax","cay","caz","cba","cbb","cbc","cbd","cbe","cbg","cbh","cbi","cbj","cbk","cbl","cbn","cbo","cbq","cbr","cbs","cbt","cbu","cbv","cbw","cby","cca","ccc","ccd","cce","ccg","cch","ccj","ccl","ccm","ccn","cco","ccp","ccq","ccr","ccs","cda","cdc","cdd","cde","cdf","cdg","cdh","cdi","cdj","cdm","cdn","cdo","cdr","cds","cdy","cdz","cea","ceb","ceg","cek","cel","cen","cet","cey","cfa","cfd","cfg","cfm","cga","cgc","cgg","cgk","chb","chc","chd","chf","chg","chh","chj","chk","chl","chm","chn","cho","chp","chq","chr","cht","chw","chx","chy","chz","cia","cib","cic","cid","cie","cih","cik","cim","cin","cip","cir","ciw","ciy","cja","cje","cjh","cji","cjk","cjm","cjn","cjo","cjp","cjr","cjs","cjv","cjy","cka","ckb","ckh","ckl","ckm","ckn","cko","ckq","ckr","cks","ckt","cku","ckv","ckx","cky","ckz","cla","clc","cld","cle","clh","cli","clj","clk","cll","clm","clo","clt","clu","clw","cly","cma","cmc","cme","cmg","cmi","cmk","cml","cmm","cmn","cmo","cmr","cms","cmt","cna","cnb","cnc","cng","cnh","cni","cnk","cnl","cno","cnp","cnr","cns","cnt","cnu","cnw","cnx","coa","cob","coc","cod","coe","cof","cog","coh","coj","cok","col","com","con","coo","cop","coq","cot","cou","cov","cow","cox","coy","coz","cpa","cpb","cpc","cpe","cpf","cpg","cpi","cpn","cpo","cpp","cps","cpu","cpx","cpy","cqd","cqu","cra","crb","crc","crd","crf","crg","crh","cri","crj","crk","crl","crm","crn","cro","crp","crq","crr","crs","crt","crv","crw","crx","cry","crz","csa","csb","csc","csd","cse","csf","csg","csh","csi","csj","csk","csl","csm","csn","cso","csp","csq","csr","css","cst","csu","csv","csw","csx","csy","csz","cta","ctc","ctd","cte","ctg","cth","ctl","ctm","ctn","cto","ctp","cts","ctt","ctu","cty","ctz","cua","cub","cuc","cug","cuh","cui","cuj","cuk","cul","cum","cuo","cup","cuq","cur","cus","cut","cuu","cuv","cuw","cux","cuy","cvg","cvn","cwa","cwb","cwd","cwe","cwg","cwt","cya","cyb","cyo","czh","czk","czn","czo","czt"],["da","de","dv","dz","daa","dac","dad","dae","daf","dag","dah","dai","daj","dak","dal","dam","dao","dap","daq","dar","das","dau","dav","daw","dax","day","daz","dba","dbb","dbd","dbe","dbf","dbg","dbi","dbj","dbl","dbm","dbn","dbo","dbp","dbq","dbr","dbt","dbu","dbv","dbw","dby","dcc","dcr","dda","ddd","dde","ddg","ddi","ddj","ddn","ddo","ddr","dds","ddw","dec","ded","dee","def","deg","deh","dei","dek","del","dem","den","dep","deq","der","des","dev","dez","dga","dgb","dgc","dgd","dge","dgg","dgh","dgi","dgk","dgl","dgn","dgo","dgr","dgs","dgt","dgu","dgw","dgx","dgz","dha","dhd","dhg","dhi","dhl","dhm","dhn","dho","dhr","dhs","dhu","dhv","dhw","dhx","dia","dib","dic","did","dif","dig","dih","dii","dij","dik","dil","dim","din","dio","dip","diq","dir","dis","dit","diu","diw","dix","diy","diz","dja","djb","djc","djd","dje","djf","dji","djj","djk","djl","djm","djn","djo","djr","dju","djw","dka","dkg","dkk","dkl","dkr","dks","dkx","dlg","dlk","dlm","dln","dma","dmb","dmc","dmd","dme","dmf","dmg","dmk","dml","dmm","dmn","dmo","dmr","dms","dmu","dmv","dmw","dmx","dmy","dna","dnd","dne","dng","dni","dnj","dnk","dnn","dno","dnr","dnt","dnu","dnv","dnw","dny","doa","dob","doc","doe","dof","doh","doi","dok","dol","don","doo","dop","doq","dor","dos","dot","dov","dow","dox","doy","doz","dpp","dra","drb","drc","drd","dre","drg","drh","dri","drl","drn","dro","drq","drr","drs","drt","dru","drw","dry","dsb","dse","dsh","dsi","dsl","dsn","dso","dsq","dta","dtb","dtd","dth","dti","dtk","dtm","dtn","dto","dtp","dtr","dts","dtt","dtu","dty","dua","dub","duc","dud","due","duf","dug","duh","dui","duj","duk","dul","dum","dun","duo","dup","duq","dur","dus","duu","duv","duw","dux","duy","duz","dva","dwa","dwk","dwl","dwr","dws","dwu","dww","dwy","dwz","dya","dyb","dyd","dyg","dyi","dym","dyn","dyo","dyu","dyy","dza","dzd","dze","dzg","dzl","dzn"],["ee","el","en","eo","es","et","eu","eaa","ebc","ebg","ebk","ebo","ebr","ebu","ecr","ecs","ecy","eee","efa","efe","efi","ega","egl","ego","egx","egy","ehs","ehu","eip","eit","eiv","eja","eka","ekc","eke","ekg","eki","ekk","ekl","ekm","eko","ekp","ekr","eky","ele","elh","eli","elk","elm","elo","elp","elu","elx","ema","emb","eme","emg","emi","emk","emm","emn","emo","emp","emq","ems","emu","emw","emx","emy","emz","ena","enb","enc","end","enf","enh","enl","enm","enn","eno","enq","enr","enu","env","enw","enx","eot","epi","era","erg","erh","eri","erk","ero","err","ers","ert","erw","ese","esg","esh","esi","esk","esl","esm","esn","eso","esq","ess","esu","esx","esy","etb","etc","eth","etn","eto","etr","ets","ett","etu","etx","etz","euq","eve","evh","evn","ewo","ext","eya","eyo","eza","eze"],["fa","ff","fi","fj","fo","fr","fy","faa","fab","fad","faf","fag","fah","fai","faj","fak","fal","fam","fan","fap","far","fat","fau","fax","fay","faz","fbl","fcs","fer","ffi","ffm","fgr","fia","fie","fif","fil","fip","fir","fit","fiu","fiw","fkk","fkv","fla","flh","fli","fll","fln","flr","fly","fmp","fmu","fnb","fng","fni","fod","foi","fom","fon","for","fos","fox","fpe","fqs","frc","frd","frk","frm","fro","frp","frq","frr","frs","frt","fse","fsl","fss","fub","fuc","fud","fue","fuf","fuh","fui","fuj","fum","fun","fuq","fur","fut","fuu","fuv","fuy","fvr","fwa","fwe"],["ga","gd","gl","gn","gu","gv","gaa","gab","gac","gad","gae","gaf","gag","gah","gai","gaj","gak","gal","gam","gan","gao","gap","gaq","gar","gas","gat","gau","gav","gaw","gax","gay","gaz","gba","gbb","gbc","gbd","gbe","gbf","gbg","gbh","gbi","gbj","gbk","gbl","gbm","gbn","gbo","gbp","gbq","gbr","gbs","gbu","gbv","gbw","gbx","gby","gbz","gcc","gcd","gce","gcf","gcl","gcn","gcr","gct","gda","gdb","gdc","gdd","gde","gdf","gdg","gdh","gdi","gdj","gdk","gdl","gdm","gdn","gdo","gdq","gdr","gds","gdt","gdu","gdx","gea","geb","gec","ged","gef","geg","geh","gei","gej","gek","gel","gem","geq","ges","gev","gew","gex","gey","gez","gfk","gft","gfx","gga","ggb","ggd","gge","ggg","ggk","ggl","ggn","ggo","ggr","ggt","ggu","ggw","gha","ghc","ghe","ghh","ghk","ghl","ghn","gho","ghr","ghs","ght","gia","gib","gic","gid","gie","gig","gih","gii","gil","gim","gin","gio","gip","giq","gir","gis","git","giu","giw","gix","giy","giz","gji","gjk","gjm","gjn","gjr","gju","gka","gkd","gke","gkn","gko","gkp","gku","glb","glc","gld","glh","gli","glj","glk","gll","glo","glr","glu","glw","gly","gma","gmb","gmd","gme","gmg","gmh","gml","gmm","gmn","gmq","gmr","gmu","gmv","gmw","gmx","gmy","gmz","gna","gnb","gnc","gnd","gne","gng","gnh","gni","gnj","gnk","gnl","gnm","gnn","gno","gnq","gnr","gnt","gnu","gnw","gnz","goa","gob","goc","god","goe","gof","gog","goh","goi","goj","gok","gol","gom","gon","goo","gop","goq","gor","gos","got","gou","gow","gox","goy","goz","gpa","gpe","gpn","gqa","gqi","gqn","gqr","gqu","gra","grb","grc","grd","grg","grh","gri","grj","grk","grm","gro","grq","grr","grs","grt","gru","grv","grw","grx","gry","grz","gse","gsg","gsl","gsm","gsn","gso","gsp","gss","gsw","gta","gti","gtu","gua","gub","guc","gud","gue","guf","gug","guh","gui","guk","gul","gum","gun","guo","gup","guq","gur","gus","gut","guu","guv","guw","gux","guz","gva","gvc","gve","gvf","gvj","gvl","gvm","gvn","gvo","gvp","gvr","gvs","gvy","gwa","gwb","gwc","gwd","gwe","gwf","gwg","gwi","gwj","gwm","gwn","gwr","gwt","gwu","gww","gwx","gxx","gya","gyb","gyd","gye","gyf","gyg","gyi","gyl","gym","gyn","gyo","gyr","gyy","gyz","gza","gzi","gzn"],["ha","he","hi","ho","hr","ht","hu","hy","hz","haa","hab","hac","had","hae","haf","hag","hah","hai","haj","hak","hal","ham","han","hao","hap","haq","har","has","hav","haw","hax","hay","haz","hba","hbb","hbn","hbo","hbu","hca","hch","hdn","hds","hdy","hea","hed","heg","heh","hei","hem","hgm","hgw","hhi","hhr","hhy","hia","hib","hid","hif","hig","hih","hii","hij","hik","hil","him","hio","hir","hit","hiw","hix","hji","hka","hke","hkh","hkk","hkn","hks","hla","hlb","hld","hle","hlt","hlu","hma","hmb","hmc","hmd","hme","hmf","hmg","hmh","hmi","hmj","hmk","hml","hmm","hmn","hmp","hmq","hmr","hms","hmt","hmu","hmv","hmw","hmx","hmy","hmz","hna","hnd","hne","hng","hnh","hni","hnj","hnn","hno","hns","hnu","hoa","hob","hoc","hod","hoe","hoh","hoi","hoj","hok","hol","hom","hoo","hop","hor","hos","hot","hov","how","hoy","hoz","hpo","hps","hra","hrc","hre","hrk","hrm","hro","hrp","hrr","hrt","hru","hrw","hrx","hrz","hsb","hsh","hsl","hsn","hss","hti","hto","hts","htu","htx","hub","huc","hud","hue","huf","hug","huh","hui","huj","huk","hul","hum","huo","hup","huq","hur","hus","hut","huu","huv","huw","hux","huy","huz","hvc","hve","hvk","hvn","hvv","hwa","hwc","hwo","hya","hyw","hyx"],["ia","id","ie","ig","ii","ik","in","io","is","it","iu","iw","iai","ian","iap","iar","iba","ibb","ibd","ibe","ibg","ibh","ibi","ibl","ibm","ibn","ibr","ibu","iby","ica","ich","icl","icr","ida","idb","idc","idd","ide","idi","idr","ids","idt","idu","ifa","ifb","ife","iff","ifk","ifm","ifu","ify","igb","ige","igg","igl","igm","ign","igo","igs","igw","ihb","ihi","ihp","ihw","iin","iir","ijc","ije","ijj","ijn","ijo","ijs","ike","iki","ikk","ikl","iko","ikp","ikr","iks","ikt","ikv","ikw","ikx","ikz","ila","ilb","ilg","ili","ilk","ill","ilm","ilo","ilp","ils","ilu","ilv","ilw","ima","ime","imi","iml","imn","imo","imr","ims","imy","inb","inc","ine","ing","inh","inj","inl","inm","inn","ino","inp","ins","int","inz","ior","iou","iow","ipi","ipo","iqu","iqw","ira","ire","irh","iri","irk","irn","iro","irr","iru","irx","iry","isa","isc","isd","ise","isg","ish","isi","isk","ism","isn","iso","isr","ist","isu","itb","itc","itd","ite","iti","itk","itl","itm","ito","itr","its","itt","itv","itw","itx","ity","itz","ium","ivb","ivv","iwk","iwm","iwo","iws","ixc","ixl","iya","iyo","iyx","izh","izi","izr","izz"],["ja","ji","jv","jw","jaa","jab","jac","jad","jae","jaf","jah","jaj","jak","jal","jam","jan","jao","jaq","jar","jas","jat","jau","jax","jay","jaz","jbe","jbi","jbj","jbk","jbm","jbn","jbo","jbr","jbt","jbu","jbw","jcs","jct","jda","jdg","jdt","jeb","jee","jeg","jeh","jei","jek","jel","jen","jer","jet","jeu","jgb","jge","jgk","jgo","jhi","jhs","jia","jib","jic","jid","jie","jig","jih","jii","jil","jim","jio","jiq","jit","jiu","jiv","jiy","jje","jjr","jka","jkm","jko","jkp","jkr","jks","jku","jle","jls","jma","jmb","jmc","jmd","jmi","jml","jmn","jmr","jms","jmw","jmx","jna","jnd","jng","jni","jnj","jnl","jns","job","jod","jog","jor","jos","jow","jpa","jpr","jpx","jqr","jra","jrb","jrr","jrt","jru","jsl","jua","jub","juc","jud","juh","jui","juk","jul","jum","jun","juo","jup","jur","jus","jut","juu","juw","juy","jvd","jvn","jwi","jya","jye","jyy"],["ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","kaa","kab","kac","kad","kae","kaf","kag","kah","kai","kaj","kak","kam","kao","kap","kaq","kar","kav","kaw","kax","kay","kba","kbb","kbc","kbd","kbe","kbf","kbg","kbh","kbi","kbj","kbk","kbl","kbm","kbn","kbo","kbp","kbq","kbr","kbs","kbt","kbu","kbv","kbw","kbx","kby","kbz","kca","kcb","kcc","kcd","kce","kcf","kcg","kch","kci","kcj","kck","kcl","kcm","kcn","kco","kcp","kcq","kcr","kcs","kct","kcu","kcv","kcw","kcx","kcy","kcz","kda","kdc","kdd","kde","kdf","kdg","kdh","kdi","kdj","kdk","kdl","kdm","kdn","kdo","kdp","kdq","kdr","kdt","kdu","kdv","kdw","kdx","kdy","kdz","kea","keb","kec","ked","kee","kef","keg","keh","kei","kej","kek","kel","kem","ken","keo","kep","keq","ker","kes","ket","keu","kev","kew","kex","key","kez","kfa","kfb","kfc","kfd","kfe","kff","kfg","kfh","kfi","kfj","kfk","kfl","kfm","kfn","kfo","kfp","kfq","kfr","kfs","kft","kfu","kfv","kfw","kfx","kfy","kfz","kga","kgb","kgc","kgd","kge","kgf","kgg","kgh","kgi","kgj","kgk","kgl","kgm","kgn","kgo","kgp","kgq","kgr","kgs","kgt","kgu","kgv","kgw","kgx","kgy","kha","lyg","khb","khc","khd","khe","khf","khg","khh","khi","khj","khk","khl","khn","kho","khp","khq","khr","khs","kht","khu","khv","khw","khx","khy","khz","kia","kib","kic","kid","kie","kif","kig","kih","kii","kij","kil","kim","kio","kip","kiq","kis","kit","kiu","kiv","kiw","kix","kiy","kiz","kja","kjb","kjc","kjd","kje","kjf","kjg","kjh","kji","kjj","kjk","kjl","kjm","kjn","kjo","kjp","kjq","kjr","kjs","kjt","kju","kjv","kjx","kjy","kjz","kka","kkb","kkc","kkd","kke","kkf","kkg","kkh","kki","kkj","kkk","kkl","kkm","kkn","kko","kkp","kkq","kkr","kks","kkt","kku","kkv","kkw","kkx","kky","kkz","kla","klb","klc","kld","kle","klf","klg","klh","kli","klj","klk","kll","klm","kln","klo","klp","klq","klr","kls","klt","klu","klv","klw","klx","kly","klz","kma","kmb","kmc","kmd","kme","kmf","kmg","kmh","kmi","kmj","kmk","kml","kmm","kmn","kmo","kmp","kmq","kmr","kms","kmt","kmu","kmv","kmw","kmx","kmy","kmz","kna","knb","knc","knd","kne","knf","kng","kni","knj","knk","knl","knm","knn","kno","knp","knq","knr","kns","knt","knu","knv","knw","knx","kny","knz","koa","koc","kod","koe","kof","kog","koh","koi","koj","kok","kol","koo","kop","koq","kos","kot","kou","kov","kow","kox","koy","koz","kpa","kpb","kpc","kpd","kpe","kpf","kpg","kph","kpi","kpj","kpk","kpl","kpm","kpn","kpo","kpp","kpq","kpr","kps","kpt","kpu","kpv","kpw","kpx","kpy","kpz","kqa","kqb","kqc","kqd","kqe","kqf","kqg","kqh","kqi","kqj","kqk","kql","kqm","kqn","kqo","kqp","kqq","kqr","kqs","kqt","kqu","kqv","kqw","kqx","kqy","kqz","kra","krb","krc","krd","kre","krf","krh","kri","krj","krk","krl","krm","krn","kro","krp","krr","krs","krt","kru","krv","krw","krx","kry","krz","ksa","ksb","ksc","ksd","kse","ksf","ksg","ksh","ksi","ksj","ksk","ksl","ksm","ksn","kso","ksp","ksq","ksr","kss","kst","ksu","ksv","ksw","ksx","ksy","ksz","kta","ktb","ktc","ktd","kte","ktf","ktg","kth","kti","ktj","ktk","ktl","ktm","ktn","kto","ktp","ktq","ktr","kts","ktt","ktu","ktv","ktw","ktx","kty","ktz","kub","kuc","kud","kue","kuf","kug","kuh","kui","kuj","kuk","kul","kum","kun","kuo","kup","kuq","kus","kut","kuu","kuv","kuw","kux","kuy","kuz","kva","kvb","kvc","kvd","kve","kvf","kvg","kvh","kvi","kvj","kvk","kvl","kvm","kvn","kvo","kvp","kvq","kvr","kvs","kvt","kvu","kvv","kvw","kvx","kvy","kvz","kwa","kwb","kwc","kwd","kwe","kwf","kwg","kwh","kwi","kwj","kwk","kwl","kwm","kwn","kwo","kwp","kwq","kwr","kws","kwt","kwu","kwv","kww","kwx","kwy","kwz","kxa","kxb","kxc","kxd","kxe","kxf","kxh","kxi","kxj","kxk","kxl","kxm","kxn","kxo","kxp","kxq","kxr","kxs","kxt","kxu","kxv","kxw","kxx","kxy","kxz","kya","kyb","kyc","kyd","kye","kyf","kyg","kyh","kyi","kyj","kyk","kyl","kym","kyn","kyo","kyp","kyq","kyr","kys","kyt","kyu","kyv","kyw","kyx","kyy","kyz","kza","kzb","kzc","kzd","kze","kzf","kzg","kzh","kzi","kzj","kzk","kzl","kzm","kzn","kzo","kzp","kzq","kzr","kzs","kzt","kzu","kzv","kzw","kzx","kzy","kzz"],["la","lb","lg","li","ln","lo","lt","lu","lv","laa","lab","lac","lad","lae","laf","lag","lah","lai","laj","lak","lal","lam","lan","lap","laq","lar","las","lau","law","lax","lay","laz","lba","lbb","lbc","lbe","lbf","lbg","lbi","lbj","lbk","lbl","lbm","lbn","lbo","lbq","lbr","lbs","lbt","lbu","lbv","lbw","lbx","lby","lbz","lcc","lcd","lce","lcf","lch","lcl","lcm","lcp","lcq","lcs","lda","ldb","ldd","ldg","ldh","ldi","ldj","ldk","ldl","ldm","ldn","ldo","ldp","ldq","lea","leb","lec","led","lee","lef","leg","leh","lei","lej","lek","lel","lem","len","leo","lep","leq","ler","les","let","leu","lev","lew","lex","ley","lez","lfa","lfn","lga","lgb","lgg","lgh","lgi","lgk","lgl","lgm","lgn","lgq","lgr","lgt","lgu","lgz","lha","lhh","lhi","lhl","lhm","lhn","lhp","lhs","lht","lhu","lia","lib","lic","lid","lie","lif","lig","lih","lii","lij","lik","lil","lio","lip","liq","lir","lis","liu","liv","liw","lix","liy","liz","lja","lje","lji","ljl","ljp","ljw","ljx","lka","lkb","lkc","lkd","lke","lkh","lki","lkj","lkl","lkm","lkn","lko","lkr","lks","lkt","lku","lky","lla","llb","llc","lld","lle","llf","llg","llh","lli","llj","llk","lll","llm","lln","llo","llp","llq","lls","llu","llx","lma","lmb","lmc","lmd","lme","lmf","lmg","lmh","lmi","lmj","lmk","lml","lmm","lmn","lmo","lmp","lmq","lmr","lmu","lmv","lmw","lmx","lmy","lmz","lna","lnb","lnd","lng","lnh","lni","lnj","lnl","lnm","lnn","lno","lns","lnu","lnw","lnz","loa","lob","loc","loe","lof","log","loh","loi","loj","lok","lol","lom","lon","loo","lop","loq","lor","los","lot","lou","lov","low","lox","loy","loz","lpa","lpe","lpn","lpo","lpx","lra","lrc","lre","lrg","lri","lrk","lrl","lrm","lrn","lro","lrr","lrt","lrv","lrz","lsa","lsb","lsd","lse","lsg","lsh","lsi","lsl","lsm","lsn","lso","lsp","lsr","lss","lst","lsv","lsy","ltc","ltg","lth","lti","ltn","lto","lts","ltu","lua","luc","lud","lue","luf","lui","luj","luk","lul","lum","lun","luo","lup","luq","lur","lus","lut","luu","luv","luw","luy","luz","lva","lvi","lvk","lvs","lvu","lwa","lwe","lwg","lwh","lwl","lwm","lwo","lws","lwt","lwu","lww","lxm","lya","lyg","lyn","lzh","lzl","lzn","lzz"],["mg","mh","mi","mk","ml","mn","mo","mr","ms","mt","my","maa","mab","mad","mae","maf","mag","mai","maj","mak","mam","man","map","maq","mas","mat","mau","mav","maw","max","maz","mba","mbb","mbc","mbd","mbe","mbf","mbh","mbi","mbj","mbk","mbl","mbm","mbn","mbo","mbp","mbq","mbr","mbs","mbt","mbu","mbv","mbw","mbx","mby","mbz","mca","mcb","mcc","mcd","mce","mcf","mcg","mch","mci","mcj","mck","mcl","mcm","mcn","mco","mcp","mcq","mcr","mcs","mct","mcu","mcv","mcw","mcx","mcy","mcz","mda","mdb","mdc","mdd","mde","mdf","mdg","mdh","mdi","mdj","mdk","mdl","mdm","mdn","mdp","mdq","mdr","mds","mdt","mdu","mdv","mdw","mdx","mdy","mdz","mea","meb","mec","med","mee","mef","meg","meh","mei","mej","mek","mel","mem","men","meo","mep","meq","mer","mes","met","meu","mev","mew","mey","mez","mfa","mfb","mfc","mfd","mfe","mff","mfg","mfh","mfi","mfj","mfk","mfl","mfm","mfn","mfo","mfp","mfq","mfr","mfs","mft","mfu","mfv","mfw","mfx","mfy","mfz","mga","mgb","mgc","mgd","mge","mgf","mgg","mgh","mgi","mgj","mgk","mgl","mgm","mgn","mgo","mgp","mgq","mgr","mgs","mgt","mgu","mgv","mgw","mgx","mgy","mgz","mha","mhb","mhc","mhd","mhe","mhf","mhg","mhh","mhi","mhj","mhk","mhl","mhm","mhn","mho","mhp","mhq","mhr","mhs","mht","mhu","mhw","mhx","mhy","mhz","mia","mib","mic","mid","mie","mif","mig","mih","mii","mij","mik","mil","mim","min","mio","mip","miq","mir","mis","mit","miu","miw","mix","miy","miz","mja","mjb","mjc","mjd","mje","mjg","mjh","mji","mjj","mjk","mjl","mjm","mjn","mjo","mjp","mjq","mjr","mjs","mjt","mju","mjv","mjw","mjx","mjy","mjz","mka","mkb","mkc","mke","mkf","mkg","mkh","mki","mkj","mkk","mkl","mkm","mkn","mko","mkp","mkq","mkr","mks","mkt","mku","mkv","mkw","mkx","mky","mkz","mla","mlb","mlc","mld","mle","mlf","mlh","mli","mlj","mlk","mll","mlm","mln","mlo","mlp","mlq","mlr","mls","mlu","mlv","mlw","mlx","mlz","mma","mmb","mmc","mmd","mme","mmf","mmg","mmh","mmi","mmj","mmk","mml","mmm","mmn","mmo","mmp","mmq","mmr","mmt","mmu","mmv","mmw","mmx","mmy","mmz","mna","mnb","mnc","mnd","mne","mnf","mng","mnh","mni","mnj","mnk","mnl","mnm","mnn","mno","mnp","mnq","mnr","mns","mnt","mnu","mnv","mnw","mnx","mny","mnz","moa","moc","mod","moe","mof","mog","moh","moi","moj","mok","mom","moo","mop","moq","mor","mos","mot","mou","mov","mow","mox","moy","moz","mpa","mpb","mpc","mpd","mpe","mpg","mph","mpi","mpj","mpk","mpl","mpm","mpn","mpo","mpp","mpq","mpr","mps","mpt","mpu","mpv","mpw","mpx","mpy","mpz","mqa","mqb","mqc","mqe","mqf","mqg","mqh","mqi","mqj","mqk","mql","mqm","mqn","mqo","mqp","mqq","mqr","mqs","mqt","mqu","mqv","mqw","mqx","mqy","mqz","mra","mrb","mrc","mrd","mre","mrf","mrg","mrh","mrj","mrk","mrl","mrm","mrn","mro","mrp","mrq","mrr","mrs","mrt","mru","mrv","mrw","mrx","mry","mrz","msb","msc","msd","mse","msf","msg","msh","msi","msj","msk","msl","msm","msn","mso","msp","msq","msr","mss","mst","msu","msv","msw","msx","msy","msz","mta","mtb","mtc","mtd","mte","mtf","mtg","mth","mti","mtj","mtk","mtl","mtm","mtn","mto","mtp","mtq","mtr","mts","mtt","mtu","mtv","mtw","mtx","mty","mua","mub","muc","mud","mue","mug","muh","mui","muj","muk","mul","mum","mun","muo","mup","muq","mur","mus","mut","muu","muv","mux","muy","muz","mva","mvb","mvd","mve","mvf","mvg","mvh","mvi","mvk","mvl","mvm","mvn","mvo","mvp","mvq","mvr","mvs","mvt","mvu","mvv","mvw","mvx","mvy","mvz","mwa","mwb","mwc","mwd","mwe","mwf","mwg","mwh","mwi","mwj","mwk","mwl","mwm","mwn","mwo","mwp","mwq","mwr","mws","mwt","mwu","mwv","mww","mwx","mwy","mwz","mxa","mxb","mxc","mxd","mxe","mxf","mxg","mxh","mxi","mxj","mxk","mxl","mxm","mxn","mxo","mxp","mxq","mxr","mxs","mxt","mxu","mxv","mxw","mxx","mxy","mxz","myb","myc","myd","mye","myf","myg","myh","myi","myj","myk","myl","mym","myn","myo","myp","myq","myr","mys","myt","myu","myv","myw","myx","myy","myz","mza","mzb","mzc","mzd","mze","mzg","mzh","mzi","mzj","mzk","mzl","mzm","mzn","mzo","mzp","mzq","mzr","mzs","mzt","mzu","mzv","mzw","mzx","mzy","mzz"],["na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","naa","nab","nac","nad","nae","naf","nag","nah","nai","naj","nak","nal","nam","nan","nao","nap","naq","nar","nas","nat","naw","nax","nay","naz","nba","nbb","nbc","nbd","nbe","nbf","nbg","nbh","nbi","nbj","nbk","nbm","nbn","nbo","nbp","nbq","nbr","nbs","nbt","nbu","nbv","nbw","nbx","nby","nca","ncb","ncc","ncd","nce","ncf","ncg","nch","nci","ncj","nck","ncl","ncm","ncn","nco","ncp","ncq","ncr","ncs","nct","ncu","ncx","ncz","nda","ndb","ndc","ndd","ndf","ndg","ndh","ndi","ndj","ndk","ndl","ndm","ndn","ndp","ndq","ndr","nds","ndt","ndu","ndv","ndw","ndx","ndy","ndz","nea","neb","nec","ned","nee","nef","neg","neh","nei","nej","nek","nem","nen","neo","neq","ner","nes","net","neu","nev","new","nex","ney","nez","nfa","nfd","nfl","nfr","nfu","nga","ngb","ngc","ngd","nge","ngf","ngg","ngh","ngi","ngj","ngk","ngl","ngm","ngn","ngo","ngp","ngq","ngr","ngs","ngt","ngu","ngv","ngw","ngx","ngy","ngz","nha","nhb","nhc","nhd","nhe","nhf","nhg","nhh","nhi","nhk","nhm","nhn","nho","nhp","nhq","nhr","nht","nhu","nhv","nhw","nhx","nhy","nhz","nia","nib","nic","nid","nie","nif","nig","nih","nii","nij","nik","nil","nim","nin","nio","niq","nir","nis","nit","niu","niv","niw","nix","niy","niz","nja","njb","njd","njh","nji","njj","njl","njm","njn","njo","njr","njs","njt","nju","njx","njy","njz","nka","nkb","nkc","nkd","nke","nkf","nkg","nkh","nki","nkj","nkk","nkm","nkn","nko","nkp","nkq","nkr","nks","nkt","nku","nkv","nkw","nkx","nkz","nla","nlc","nle","nlg","nli","nlj","nlk","nll","nlm","nln","nlo","nlq","nlr","nlu","nlv","nlw","nlx","nly","nlz","nma","nmb","nmc","nmd","nme","nmf","nmg","nmh","nmi","nmj","nmk","nml","nmm","nmn","nmo","nmp","nmq","nmr","nms","nmt","nmu","nmv","nmw","nmx","nmy","nmz","nna","nnb","nnc","nnd","nne","nnf","nng","nnh","nni","nnj","nnk","nnl","nnm","nnn","nnp","nnq","nnr","nns","nnt","nnu","nnv","nnw","nnx","nny","nnz","noa","noc","nod","noe","nof","nog","noh","noi","noj","nok","nol","nom","non","noo","nop","noq","nos","not","nou","nov","now","noy","noz","npa","npb","npg","nph","npi","npl","npn","npo","nps","npu","npx","npy","nqg","nqk","nql","nqm","nqn","nqo","nqq","nqt","nqy","nra","nrb","nrc","nre","nrf","nrg","nri","nrk","nrl","nrm","nrn","nrp","nrr","nrt","nru","nrx","nrz","nsa","nsb","nsc","nsd","nse","nsf","nsg","nsh","nsi","nsk","nsl","nsm","nsn","nso","nsp","nsq","nsr","nss","nst","nsu","nsv","nsw","nsx","nsy","nsz","ntd","nte","ntg","nti","ntj","ntk","ntm","nto","ntp","ntr","nts","ntu","ntw","ntx","nty","ntz","nua","nub","nuc","nud","nue","nuf","nug","nuh","nui","nuj","nuk","nul","num","nun","nuo","nup","nuq","nur","nus","nut","nuu","nuv","nuw","nux","nuy","nuz","nvh","nvm","nvo","nwa","nwb","nwc","nwe","nwg","nwi","nwm","nwo","nwr","nwx","nwy","nxa","nxd","nxe","nxg","nxi","nxk","nxl","nxm","nxn","nxo","nxq","nxr","nxu","nxx","nyb","nyc","nyd","nye","nyf","nyg","nyh","nyi","nyj","nyk","nyl","nym","nyn","nyo","nyp","nyq","nyr","nys","nyt","nyu","nyv","nyw","nyx","nyy","nza","nzb","nzd","nzi","nzk","nzm","nzs","nzu","nzy","nzz"],["oc","oj","om","or","os","oaa","oac","oar","oav","obi","obk","obl","obm","obo","obr","obt","obu","oca","och","ocm","oco","ocu","oda","odk","odt","odu","ofo","ofs","ofu","ogb","ogc","oge","ogg","ogo","ogu","oht","ohu","oia","oin","ojb","ojc","ojg","ojp","ojs","ojv","ojw","oka","okb","okc","okd","oke","okg","okh","oki","okj","okk","okl","okm","okn","oko","okr","oks","oku","okv","okx","okz","ola","old","ole","olk","olm","olo","olr","olt","olu","oma","omb","omc","ome","omg","omi","omk","oml","omn","omo","omp","omq","omr","omt","omu","omv","omw","omx","omy","ona","onb","one","ong","oni","onj","onk","onn","ono","onp","onr","ons","ont","onu","onw","onx","ood","oog","oon","oor","oos","opa","opk","opm","opo","opt","opy","ora","orc","ore","org","orh","orn","oro","orr","ors","ort","oru","orv","orw","orx","ory","orz","osa","osc","osi","osn","oso","osp","ost","osu","osx","ota","otb","otd","ote","oti","otk","otl","otm","otn","oto","otq","otr","ots","ott","otu","otw","otx","oty","otz","oua","oub","oue","oui","oum","oun","ovd","owi","owl","oyb","oyd","oym","oyy","ozm"],["pa","pi","pl","ps","pt","paa","pab","pac","pad","pae","paf","pag","pah","pai","pak","pal","pam","pao","pap","paq","par","pas","pat","pau","pav","paw","pax","pay","paz","pbb","pbc","pbe","pbf","pbg","pbh","pbi","pbl","pbm","pbn","pbo","pbp","pbr","pbs","pbt","pbu","pbv","pby","pbz","pca","pcb","pcc","pcd","pce","pcf","pcg","pch","pci","pcj","pck","pcl","pcm","pcn","pcp","pcr","pcw","pda","pdc","pdi","pdn","pdo","pdt","pdu","pea","peb","ped","pee","pef","peg","peh","pei","pej","pek","pel","pem","peo","pep","peq","pes","pev","pex","pey","pez","pfa","pfe","pfl","pga","pgd","pgg","pgi","pgk","pgl","pgn","pgs","pgu","pgy","pgz","pha","phd","phg","phh","phi","phk","phl","phm","phn","pho","phq","phr","pht","phu","phv","phw","pia","pib","pic","pid","pie","pif","pig","pih","pii","pij","pil","pim","pin","pio","pip","pir","pis","pit","piu","piv","piw","pix","piy","piz","pjt","pka","pkb","pkc","pkg","pkh","pkn","pko","pkp","pkr","pks","pkt","pku","pla","plb","plc","pld","ple","plf","plg","plh","plj","plk","pll","pln","plo","plp","plq","plr","pls","plt","plu","plv","plw","ply","plz","pma","pmb","pmc","pmd","pme","pmf","pmh","pmi","pmj","pmk","pml","pmm","pmn","pmo","pmq","pmr","pms","pmt","pmu","pmw","pmx","pmy","pmz","pna","pnb","pnc","pnd","pne","png","pnh","pni","pnj","pnk","pnl","pnm","pnn","pno","pnp","pnq","pnr","pns","pnt","pnu","pnv","pnw","pnx","pny","pnz","poc","pod","poe","pof","pog","poh","poi","pok","pom","pon","poo","pop","poq","pos","pot","pov","pow","pox","poy","poz","ppa","ppe","ppi","ppk","ppl","ppm","ppn","ppo","ppp","ppq","ppr","pps","ppt","ppu","pqa","pqe","pqm","pqw","pra","prb","prc","prd","pre","prf","prg","prh","pri","prk","prl","prm","prn","pro","prp","prq","prr","prs","prt","pru","prw","prx","pry","prz","psa","psc","psd","pse","psg","psh","psi","psl","psm","psn","pso","psp","psq","psr","pss","pst","psu","psw","psy","pta","pth","pti","ptn","pto","ptp","ptq","ptr","ptt","ptu","ptv","ptw","pty","pua","pub","puc","pud","pue","puf","pug","pui","puj","puk","pum","puo","pup","puq","pur","put","puu","puw","pux","puy","puz","pwa","pwb","pwg","pwi","pwm","pwn","pwo","pwr","pww","pxm","pye","pym","pyn","pys","pyu","pyx","pyy","pzn"],["qu","qua","qub","quc","qud","quf","qug","quh","qui","quk","qul","qum","qun","qup","quq","qur","qus","quv","quw","qux","quy","quz","qva","qvc","qve","qvh","qvi","qvj","qvl","qvm","qvn","qvo","qvp","qvs","qvw","qvy","qvz","qwa","qwc","qwe","qwh","qwm","qws","qwt","qxa","qxc","qxh","qxl","qxn","qxo","qxp","qxq","qxr","qxs","qxt","qxu","qxw","qya","qyp"],["rm","rn","ro","ru","rw","raa","rab","rac","rad","raf","rag","rah","rai","raj","rak","ral","ram","ran","rao","rap","raq","rar","ras","rat","rau","rav","raw","rax","ray","raz","rbb","rbk","rbl","rbp","rcf","rdb","rea","reb","ree","reg","rei","rej","rel","rem","ren","rer","res","ret","rey","rga","rge","rgk","rgn","rgr","rgs","rgu","rhg","rhp","ria","rie","rif","ril","rim","rin","rir","rit","riu","rjg","rji","rjs","rka","rkb","rkh","rki","rkm","rkt","rkw","rma","rmb","rmc","rmd","rme","rmf","rmg","rmh","rmi","rmk","rml","rmm","rmn","rmo","rmp","rmq","rmr","rms","rmt","rmu","rmv","rmw","rmx","rmy","rmz","rna","rnd","rng","rnl","rnn","rnp","rnr","rnw","roa","rob","roc","rod","roe","rof","rog","rol","rom","roo","rop","ror","rou","row","rpn","rpt","rri","rro","rrt","rsb","rsi","rsl","rsm","rtc","rth","rtm","rts","rtw","rub","ruc","rue","ruf","rug","ruh","rui","ruk","ruo","rup","ruq","rut","ruu","ruy","ruz","rwa","rwk","rwl","rwm","rwo","rwr","rxd","rxw","ryn","rys","ryu","rzh"],["sa","sc","sd","se","sg","sh","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","saa","sab","sac","sad","sae","saf","sah","sai","saj","sak","sal","sam","sao","sap","saq","sar","sas","sat","sau","sav","saw","sax","say","saz","sba","sbb","sbc","sbd","sbe","sbf","sbg","sbh","sbi","sbj","sbk","sbl","sbm","sbn","sbo","sbp","sbq","sbr","sbs","sbt","sbu","sbv","sbw","sbx","sby","sbz","sca","scb","sce","scf","scg","sch","sci","sck","scl","scn","sco","scp","scq","scs","sct","scu","scv","scw","scx","sda","sdb","sdc","sde","sdf","sdg","sdh","sdj","sdk","sdl","sdm","sdn","sdo","sdp","sdq","sdr","sds","sdt","sdu","sdv","sdx","sdz","sea","seb","sec","sed","see","sef","seg","seh","sei","sej","sek","sel","sem","sen","seo","sep","seq","ser","ses","set","seu","sev","sew","sey","sez","sfb","sfe","sfm","sfs","sfw","sga","sgb","sgc","sgd","sge","sgg","sgh","sgi","sgj","sgk","sgl","sgm","sgn","sgo","sgp","sgr","sgs","sgt","sgu","sgw","sgx","sgy","sgz","sha","shb","shc","shd","she","shg","shh","shi","shj","shk","shl","shm","shn","sho","shp","shq","shr","shs","sht","shu","shv","shw","shx","shy","shz","sia","sib","sid","sie","sif","sig","sih","sii","sij","sik","sil","sim","sio","sip","siq","sir","sis","sit","siu","siv","siw","six","siy","siz","sja","sjb","sjd","sje","sjg","sjk","sjl","sjm","sjn","sjo","sjp","sjr","sjs","sjt","sju","sjw","ska","skb","skc","skd","ske","skf","skg","skh","ski","skj","skk","skm","skn","sko","skp","skq","skr","sks","skt","sku","skv","skw","skx","sky","skz","sla","slc","sld","sle","slf","slg","slh","sli","slj","sll","slm","sln","slp","slq","slr","sls","slt","slu","slw","slx","sly","slz","sma","smb","smc","smd","smf","smg","smh","smi","smj","smk","sml","smm","smn","smp","smq","smr","sms","smt","smu","smv","smw","smx","smy","smz","snb","snc","sne","snf","sng","snh","sni","snj","snk","snl","snm","snn","sno","snp","snq","snr","sns","snu","snv","snw","snx","sny","snz","soa","sob","soc","sod","soe","sog","soh","soi","soj","sok","sol","son","soo","sop","soq","sor","sos","sou","sov","sow","sox","soy","soz","spb","spc","spd","spe","spg","spi","spk","spl","spm","spn","spo","spp","spq","spr","sps","spt","spu","spv","spx","spy","sqa","sqh","sqj","sqk","sqm","sqn","sqo","sqq","sqr","sqs","sqt","squ","sqx","sra","srb","src","sre","srf","srg","srh","sri","srk","srl","srm","srn","sro","srq","srr","srs","srt","sru","srv","srw","srx","sry","srz","ssa","ssb","ssc","ssd","sse","ssf","ssg","ssh","ssi","ssj","ssk","ssl","ssm","ssn","sso","ssp","ssq","ssr","sss","sst","ssu","ssv","ssx","ssy","ssz","sta","stb","std","ste","stf","stg","sth","sti","stj","stk","stl","stm","stn","sto","stp","stq","str","sts","stt","stu","stv","stw","sty","sua","sub","suc","sue","sug","sui","suj","suk","sul","sum","suo","suq","sur","sus","sut","suv","suw","sux","suy","suz","sva","svb","svc","sve","svk","svm","svr","svs","svx","swb","swc","swf","swg","swh","swi","swj","swk","swl","swm","swn","swo","swp","swq","swr","sws","swt","swu","swv","sww","swx","swy","sxb","sxc","sxe","sxg","sxk","sxl","sxm","sxn","sxo","sxr","sxs","sxu","sxw","sya","syb","syc","syd","syi","syk","syl","sym","syn","syo","syr","sys","syw","syx","syy","sza","szb","szc","szd","sze","szg","szl","szn","szp","szs","szv","szw","szy"],["ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","taa","tab","tac","tad","tae","taf","tag","tai","taj","tak","tal","tan","tao","tap","taq","tar","tas","tau","tav","taw","tax","tay","taz","tba","tbb","tbc","tbd","tbe","tbf","tbg","tbh","tbi","tbj","tbk","tbl","tbm","tbn","tbo","tbp","tbq","tbr","tbs","tbt","tbu","tbv","tbw","tbx","tby","tbz","tca","tcb","tcc","tcd","tce","tcf","tcg","tch","tci","tck","tcl","tcm","tcn","tco","tcp","tcq","tcs","tct","tcu","tcw","tcx","tcy","tcz","tda","tdb","tdc","tdd","tde","tdf","tdg","tdh","tdi","tdj","tdk","tdl","tdm","tdn","tdo","tdq","tdr","tds","tdt","tdu","tdv","tdx","tdy","tea","teb","tec","ted","tee","tef","teg","teh","tei","tek","tem","ten","teo","tep","teq","ter","tes","tet","teu","tev","tew","tex","tey","tez","tfi","tfn","tfo","tfr","tft","tga","tgb","tgc","tgd","tge","tgf","tgg","tgh","tgi","tgj","tgn","tgo","tgp","tgq","tgr","tgs","tgt","tgu","tgv","tgw","tgx","tgy","tgz","thc","thd","the","thf","thh","thi","thk","thl","thm","thn","thp","thq","thr","ths","tht","thu","thv","thw","thx","thy","thz","tia","tic","tid","tie","tif","tig","tih","tii","tij","tik","til","tim","tin","tio","tip","tiq","tis","tit","tiu","tiv","tiw","tix","tiy","tiz","tja","tjg","tji","tjj","tjl","tjm","tjn","tjo","tjp","tjs","tju","tjw","tka","tkb","tkd","tke","tkf","tkg","tkk","tkl","tkm","tkn","tkp","tkq","tkr","tks","tkt","tku","tkv","tkw","tkx","tkz","tla","tlb","tlc","tld","tlf","tlg","tlh","tli","tlj","tlk","tll","tlm","tln","tlo","tlp","tlq","tlr","tls","tlt","tlu","tlv","tlw","tlx","tly","tma","tmb","tmc","tmd","tme","tmf","tmg","tmh","tmi","tmj","tmk","tml","tmm","tmn","tmo","tmp","tmq","tmr","tms","tmt","tmu","tmv","tmw","tmy","tmz","tna","tnb","tnc","tnd","tne","tnf","tng","tnh","tni","tnk","tnl","tnm","tnn","tno","tnp","tnq","tnr","tns","tnt","tnu","tnv","tnw","tnx","tny","tnz","tob","toc","tod","toe","tof","tog","toh","toi","toj","tol","tom","too","top","toq","tor","tos","tou","tov","tow","tox","toy","toz","tpa","tpc","tpe","tpf","tpg","tpi","tpj","tpk","tpl","tpm","tpn","tpo","tpp","tpq","tpr","tpt","tpu","tpv","tpw","tpx","tpy","tpz","tqb","tql","tqm","tqn","tqo","tqp","tqq","tqr","tqt","tqu","tqw","tra","trb","trc","trd","tre","trf","trg","trh","tri","trj","trk","trl","trm","trn","tro","trp","trq","trr","trs","trt","tru","trv","trw","trx","try","trz","tsa","tsb","tsc","tsd","tse","tsf","tsg","tsh","tsi","tsj","tsk","tsl","tsm","tsp","tsq","tsr","tss","tst","tsu","tsv","tsw","tsx","tsy","tsz","tta","ttb","ttc","ttd","tte","ttf","ttg","tth","tti","ttj","ttk","ttl","ttm","ttn","tto","ttp","ttq","ttr","tts","ttt","ttu","ttv","ttw","tty","ttz","tua","tub","tuc","tud","tue","tuf","tug","tuh","tui","tuj","tul","tum","tun","tuo","tup","tuq","tus","tut","tuu","tuv","tuw","tux","tuy","tuz","tva","tvd","tve","tvk","tvl","tvm","tvn","tvo","tvs","tvt","tvu","tvw","tvx","tvy","twa","twb","twc","twd","twe","twf","twg","twh","twl","twm","twn","two","twp","twq","twr","twt","twu","tww","twx","twy","txa","txb","txc","txe","txg","txh","txi","txj","txm","txn","txo","txq","txr","txs","txt","txu","txx","txy","tya","tye","tyh","tyi","tyj","tyl","tyn","typ","tyr","tys","tyt","tyu","tyv","tyx","tyy","tyz","tza","tzh","tzj","tzl","tzm","tzn","tzo","tzx"],["ug","uk","ur","uz","uam","uan","uar","uba","ubi","ubl","ubr","ubu","uby","uda","ude","udg","udi","udj","udl","udm","udu","ues","ufi","uga","ugb","uge","ugn","ugo","ugy","uha","uhn","uis","uiv","uji","uka","ukg","ukh","uki","ukk","ukl","ukp","ukq","uks","uku","ukv","ukw","uky","ula","ulb","ulc","ule","ulf","uli","ulk","ull","ulm","uln","ulu","ulw","uma","umb","umc","umd","umg","umi","umm","umn","umo","ump","umr","ums","umu","una","und","une","ung","uni","unk","unm","unn","unp","unr","unu","unx","unz","uok","upi","upv","ura","urb","urc","ure","urf","urg","urh","uri","urj","urk","url","urm","urn","uro","urp","urr","urt","uru","urv","urw","urx","ury","urz","usa","ush","usi","usk","usp","uss","usu","uta","ute","uth","utp","utr","utu","uum","uun","uur","uuu","uve","uvh","uvl","uwa","uya","uzn","uzs"],["ve","vi","vo","vaa","vae","vaf","vag","vah","vai","vaj","val","vam","van","vao","vap","var","vas","vau","vav","vay","vbb","vbk","vec","ved","vel","vem","veo","vep","ver","vgr","vgt","vic","vid","vif","vig","vil","vin","vis","vit","viv","vka","vki","vkj","vkk","vkl","vkm","vkn","vko","vkp","vkt","vku","vkz","vlp","vls","vma","vmb","vmc","vmd","vme","vmf","vmg","vmh","vmi","vmj","vmk","vml","vmm","vmp","vmq","vmr","vms","vmu","vmv","vmw","vmx","vmy","vmz","vnk","vnm","vnp","vor","vot","vra","vro","vrs","vrt","vsi","vsl","vsv","vto","vum","vun","vut","vwa"],["wa","wo","waa","wab","wac","wad","wae","waf","wag","wah","wai","waj","wak","wal","wam","wan","wao","wap","waq","war","was","wat","wau","wav","waw","wax","way","waz","wba","wbb","wbe","wbf","wbh","wbi","wbj","wbk","wbl","wbm","wbp","wbq","wbr","wbs","wbt","wbv","wbw","wca","wci","wdd","wdg","wdj","wdk","wdu","wdy","wea","wec","wed","weg","weh","wei","wem","wen","weo","wep","wer","wes","wet","weu","wew","wfg","wga","wgb","wgg","wgi","wgo","wgu","wgw","wgy","wha","whg","whk","whu","wib","wic","wie","wif","wig","wih","wii","wij","wik","wil","wim","win","wir","wit","wiu","wiv","wiw","wiy","wja","wji","wka","wkb","wkd","wkl","wkr","wku","wkw","wky","wla","wlc","wle","wlg","wlh","wli","wlk","wll","wlm","wlo","wlr","wls","wlu","wlv","wlw","wlx","wly","wma","wmb","wmc","wmd","wme","wmg","wmh","wmi","wmm","wmn","wmo","wms","wmt","wmw","wmx","wnb","wnc","wnd","wne","wng","wni","wnk","wnm","wnn","wno","wnp","wnu","wnw","wny","woa","wob","woc","wod","woe","wof","wog","woi","wok","wom","won","woo","wor","wos","wow","woy","wpc","wra","wrb","wrd","wrg","wrh","wri","wrk","wrl","wrm","wrn","wro","wrp","wrr","wrs","wru","wrv","wrw","wrx","wry","wrz","wsa","wsg","wsi","wsk","wsr","wss","wsu","wsv","wtf","wth","wti","wtk","wtm","wtw","wua","wub","wud","wuh","wul","wum","wun","wur","wut","wuu","wuv","wux","wuy","wwa","wwb","wwo","wwr","www","wxa","wxw","wya","wyb","wyi","wym","wyr","wyy"],["xh","xaa","xab","xac","xad","xae","xag","xai","xaj","xak","xal","xam","xan","xao","xap","xaq","xar","xas","xat","xau","xav","xaw","xay","xba","xbb","xbc","xbd","xbe","xbg","xbi","xbj","xbm","xbn","xbo","xbp","xbr","xbw","xbx","xby","xcb","xcc","xce","xcg","xch","xcl","xcm","xcn","xco","xcr","xct","xcu","xcv","xcw","xcy","xda","xdc","xdk","xdm","xdo","xdy","xeb","xed","xeg","xel","xem","xep","xer","xes","xet","xeu","xfa","xga","xgb","xgd","xgf","xgg","xgi","xgl","xgm","xgn","xgr","xgu","xgw","xha","xhc","xhd","xhe","xhr","xht","xhu","xhv","xia","xib","xii","xil","xin","xip","xir","xis","xiv","xiy","xjb","xjt","xka","xkb","xkc","xkd","xke","xkf","xkg","xkh","xki","xkj","xkk","xkl","xkn","xko","xkp","xkq","xkr","xks","xkt","xku","xkv","xkw","xkx","xky","xkz","xla","xlb","xlc","xld","xle","xlg","xli","xln","xlo","xlp","xls","xlu","xly","xma","xmb","xmc","xmd","xme","xmf","xmg","xmh","xmj","xmk","xml","xmm","xmn","xmo","xmp","xmq","xmr","xms","xmt","xmu","xmv","xmw","xmx","xmy","xmz","xna","xnb","xnd","xng","xnh","xni","xnj","xnk","xnm","xnn","xno","xnq","xnr","xns","xnt","xnu","xny","xnz","xoc","xod","xog","xoi","xok","xom","xon","xoo","xop","xor","xow","xpa","xpb","xpc","xpd","xpe","xpf","xpg","xph","xpi","xpj","xpk","xpl","xpm","xpn","xpo","xpp","xpq","xpr","xps","xpt","xpu","xpv","xpw","xpx","xpy","xpz","xqa","xqt","xra","xrb","xrd","xre","xrg","xri","xrm","xrn","xrq","xrr","xrt","xru","xrw","xsa","xsb","xsc","xsd","xse","xsh","xsi","xsj","xsl","xsm","xsn","xso","xsp","xsq","xsr","xss","xsu","xsv","xsy","xta","xtb","xtc","xtd","xte","xtg","xth","xti","xtj","xtl","xtm","xtn","xto","xtp","xtq","xtr","xts","xtt","xtu","xtv","xtw","xty","xtz","xua","xub","xud","xug","xuj","xul","xum","xun","xuo","xup","xur","xut","xuu","xve","xvi","xvn","xvo","xvs","xwa","xwc","xwd","xwe","xwg","xwj","xwk","xwl","xwo","xwr","xwt","xww","xxb","xxk","xxm","xxr","xxt","xya","xyb","xyj","xyk","xyl","xyt","xyy","xzh","xzm","xzp"],["yi","yo","yaa","yab","yac","yad","yae","yaf","yag","yah","yai","yaj","yak","yal","yam","yan","yao","yap","yaq","yar","yas","yat","yau","yav","yaw","yax","yay","yaz","yba","ybb","ybd","ybe","ybh","ybi","ybj","ybk","ybl","ybm","ybn","ybo","ybx","yby","ych","ycl","ycn","ycp","yda","ydd","yde","ydg","ydk","yds","yea","yec","yee","yei","yej","yel","yen","yer","yes","yet","yeu","yev","yey","yga","ygi","ygl","ygm","ygp","ygr","ygs","ygu","ygw","yha","yhd","yhl","yhs","yia","yif","yig","yih","yii","yij","yik","yil","yim","yin","yip","yiq","yir","yis","yit","yiu","yiv","yix","yiy","yiz","yka","ykg","yki","ykk","ykl","ykm","ykn","yko","ykr","ykt","yku","yky","yla","ylb","yle","ylg","yli","yll","ylm","yln","ylo","ylr","ylu","yly","yma","ymb","ymc","ymd","yme","ymg","ymh","ymi","ymk","yml","ymm","ymn","ymo","ymp","ymq","ymr","yms","ymt","ymx","ymz","yna","ynd","yne","yng","ynh","ynk","ynl","ynn","yno","ynq","yns","ynu","yob","yog","yoi","yok","yol","yom","yon","yos","yot","yox","yoy","ypa","ypb","ypg","yph","ypk","ypm","ypn","ypo","ypp","ypz","yra","yrb","yre","yri","yrk","yrl","yrm","yrn","yro","yrs","yrw","yry","ysc","ysd","ysg","ysl","ysm","ysn","yso","ysp","ysr","yss","ysy","yta","ytl","ytp","ytw","yty","yua","yub","yuc","yud","yue","yuf","yug","yui","yuj","yuk","yul","yum","yun","yup","yuq","yur","yut","yuu","yuw","yux","yuy","yuz","yva","yvt","ywa","ywg","ywl","ywn","ywq","ywr","ywt","ywu","yww","yxa","yxg","yxl","yxm","yxu","yxy","yyr","yyu","yyz","yzg","yzk"],["za","zh","zu","zaa","zab","zac","zad","zae","zaf","zag","zah","zai","zaj","zak","zal","zam","zao","zap","zaq","zar","zas","zat","zau","zav","zaw","zax","zay","zaz","zba","zbc","zbe","zbl","zbt","zbu","zbw","zca","zch","zdj","zea","zeg","zeh","zen","zga","zgb","zgh","zgm","zgn","zgr","zhb","zhd","zhi","zhn","zhw","zhx","zia","zib","zik","zil","zim","zin","zir","ziw","ziz","zka","zkb","zkd","zkg","zkh","zkk","zkn","zko","zkp","zkr","zkt","zku","zkv","zkz","zla","zle","zlj","zlm","zln","zlq","zls","zlw","zma","zmb","zmc","zmd","zme","zmf","zmg","zmh","zmi","zmj","zmk","zml","zmm","zmn","zmo","zmp","zmq","zmr","zms","zmt","zmu","zmv","zmw","zmx","zmy","zmz","zna","znd","zne","zng","znk","zns","zoc","zoh","zom","zoo","zoq","zor","zos","zpa","zpb","zpc","zpd","zpe","zpf","zpg","zph","zpi","zpj","zpk","zpl","zpm","zpn","zpo","zpp","zpq","zpr","zps","zpt","zpu","zpv","zpw","zpx","zpy","zpz","zqe","zra","zrg","zrn","zro","zrp","zrs","zsa","zsk","zsl","zsm","zsr","zsu","zte","ztg","ztl","ztm","ztn","ztp","ztq","zts","ztt","ztu","ztx","zty","zua","zuh","zum","zun","zuy","zwa","zxx","zyb","zyg","zyj","zyn","zyp","zza","zzj"]],a=function(){function e(){}return e.isBcp47=function(e){return/^(([a-zA-Z]{2,3}(-[a-zA-Z](-[a-zA-Z]{3}){0,2})?|[a-zA-Z]{4}|[a-zA-Z]{5,8})(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-([0-9a-zA-Z]{5,8}|[0-9][a-zA-Z]{3}))*(-[0-9a-wy-zA-WY-Z](-[a-zA-Z0-9]{2,8})+)*(-x(-[a-zA-Z0-9]{1,8})+)?|x(-[a-zA-Z0-9]{1,8})+|(en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE|art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang))$/.test(e)},e.validPrimaryLang=function(e){var t=e.toLowerCase();return t.includes("-")&&(t=t.split("-")[0]),!!t.match(/[a-z]{2,3}/)&&(3===t.length&&"q"===t.charAt(0)&&t.charCodeAt(1)>=97&&t.charCodeAt(1)<=116&&t.charCodeAt(2)>=97&&t.charCodeAt(2),i[t.charCodeAt(0)-97].includes(t))},e.matchPrimaryLang=function(e,t){var i=e;i.includes("-")&&(i=i.split("-")[0]);var a=t;return a.includes("-")&&(a=a.split("-")[0]),i.toLowerCase()===a.toLowerCase()},e}();t.LangUtil=a},1794:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CommonMapper=void 0;var a=i(7440),l=function(){function e(){this.hierarchyRole=null,this.hierarchyPath=null,this.hierarchyResults=null}return e.prototype.getBounds=function(e){return null},e.prototype.reset=function(e){this.hierarchyRole=[],this.hierarchyResults=[],this.hierarchyPath=[{rolePath:"",roleCount:{}}];for(var t=[],i=a.DOMWalker.parentNode(e);i&&9!=i.nodeType;)t.push(i),i=a.DOMWalker.parentNode(i);for(var l=0,n=t=t.reverse();l<n.length;l++){for(var r=n[l],o=[],s=r.previousSibling;s;)o.push(s),s=s.previousSibling;for(var u=0,d=o=o.reverse();u<d.length;u++){var c=d[u];this.pushHierarchy(c),this.popHierarchy()}this.pushHierarchy(r)}},e.prototype.pushHierarchy=function(e){var t=this.getRole(e)||"none";if(this.hierarchyRole.push(t),"none"!==t){var i=this.hierarchyPath[this.hierarchyPath.length-1];i.roleCount[t]=(i.roleCount[t]||0)+1,this.hierarchyPath.push({rolePath:i.rolePath+"/"+t+"["+i.roleCount[t]+"]",roleCount:{}})}var a={};1===e.nodeType&&(a=this.getAttributes(e)),this.hierarchyResults.push({node:e,namespace:this.getNamespace(),role:t,attributes:a,rolePath:this.hierarchyPath[this.hierarchyPath.length-1].rolePath,bounds:this.getBounds(e)})},e.prototype.popHierarchy=function(){"none"!==this.hierarchyRole.pop()&&this.hierarchyPath.pop(),this.hierarchyResults.pop()},e.prototype.openScope=function(e){return null===this.hierarchyRole&&this.reset(e),this.pushHierarchy(e),this.hierarchyResults},e.prototype.closeScope=function(e){for(var t=[],i=0,a=this.hierarchyResults;i<a.length;i++){var l=a[i];t.push(l)}return t[t.length-1].role="/"+t[t.length-1].role,this.popHierarchy(),t},e}();t.CommonMapper=l},2306:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Context=t.PartInfo=t.AttrInfo=void 0;var i=function(){function e(e,t,i,a){if(this.inclusive=e,this.attr=t,this.eq=i,this.value=a,!e&&void 0!==i&&i.length>0)throw new Error("Cannot have !attr"+i+" context");if(e&&void 0!==i&&i.length>0&&(void 0===a||0===a.length))throw new Error("Cannot have equivalence check without a value")}return e.prototype.matches=function(e){var t=this,i=e.attributes;if(t.attr in i){if(t.inclusive){if(t.eq){var a=i[t.attr];if("="===t.eq)return t.value===a;if("!="===t.eq)return t.value!==a;if("~"===t.eq)return t.value===a;if("!~"===t.eq)return t.value!==a;throw new Error("Context equivalence operator not supported")}return!0}return!1}return!t.inclusive},e}();t.AttrInfo=i;var a=function(){function e(e,t,i,a,l){if(this.inclusive=e,this.namespace=t,this.role=i,this.attrs=a,this.connector=l,"*"===i&&!e)throw new Error("!* context not supported")}return e.prototype.matches=function(e,t){var i=this,a=i.namespace in e&&e[i.namespace][t]&&(e[i.namespace][t].role===i.role||"none"!==e[i.namespace][t].role&&"*"===i.role);if(!a||"*"!==i.role||"dom"!==i.namespace||"#text"!==e[i.namespace][t].role&&"/#text"!==e[i.namespace][t].role||(a=!1),i.inclusive&&!a)return!1;if(!i.inclusive&&!a)return!0;for(var l=i.attrs,n=e[i.namespace][t],r=!0,o=0,s=l;o<s.length;o++){var u=s[o];r=r&&u.matches(n)}return i.inclusive||(r=!r),r},e}();t.PartInfo=a;var l=function(){function e(e){this.contextInfo=[];for(var t=[],l=0,n=e.match(/!?[/a-zA-Z:0-9*\-_]+(\[[^\]]+\])*[ >+~]?/g);l<n.length;l++){for(var r=n[l].match(/(!?)([/a-zA-Z:0-9*\-_]+)((\[[^\]]+\])*)([ >+~]?)/),o=[],s=0,u=r[3].match(/\[([^\]]+)\]/g)||[];s<u.length;s++){var d=u[s].match(/\[(!?)([a-z:A-Z*\-_]+)(!?[=~])?([^\]]+)?\]/);o.push(new i("!"!==d[1],d[2].toLowerCase(),d[3],d[4]))}r[2]=r[2].toLowerCase();var c=r[2].split(":"),m="!"!==r[1],p=c.shift(),h=c.join(":"),_=new a(m,p,h,o,r[r.length-1]);t.push(_)}this.contextInfo=t}return e.cleanContext=function(e){return(e=(e=(e=(e=(e=e.toLowerCase().trim()).replace(/ +!/g," !")).replace(/ +([>+~,])/g,"$1")).replace(/([>+~,]) +/g,"$1")).replace(/ +/g," ")).trim()},e.parse=function(t){for(var i=e.splitMultiple(e.cleanContext(t)),a=[],l=0;l<i.length;++l){var n=new e(i[l]);a.push(n)}return a},e.splitMultiple=function(e){var t=[];if(e)if(-1===e.indexOf(","))t.push(e);else for(var i=0,a=e.split(",");i<a.length;i++){var l=a[i];t.push(l)}return t},e}();t.Context=l},9324:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Engine=void 0;var a=i(7440),l=i(2306),n=i(3962),r=i(5697),o=i(295),s=i(7788),u=i(4377),d=i(8656),c=function(){function e(e,t){this.rule=e,this.parsedInfo=t,this.ns=this.parsedInfo.contextInfo[this.parsedInfo.contextInfo.length-1].namespace,n.Config.DEBUG&&console.log("Added Rule:",e.id,JSON.stringify(this.parsedInfo))}return e.convertNodeToSnippet=function(e){var t="";t+="<"+e.nodeName.toLowerCase();var i=e.attributes;if(null!=i)for(var a=i.length-1;a>=0;a--)"data-namewalk"!==i[a].name&&(t+=" "+i[a].name+'="'+i[a].value+'"');return t+">"},e.prototype.run=function(t,i,a,l){var n,r=(new Date).getTime();try{n=this.rule.run(i,a,l)}catch(e){var o=e;throw console.error("RULE EXCEPTION:",this.rule.id,i.dom.rolePath,o.stack),e}var s=(new Date).getTime();n||(n=[]),n instanceof Array||(n=[n]);for(var u=[],d=0,c=n;d<c.length;d++){var m=c[d],p=t.getMessage(this.rule.id,m.reasonId,m.messageArgs),h={};for(var _ in i)h[_]=i[_].rolePath;var b=this.rule.id.replace(/^(.*)\$\$\d+$/,"$1");u.push({ruleId:b,value:m.value,node:i.dom.node,path:h,ruleTime:s-r,reasonId:m.reasonId,message:p,messageArgs:m.messageArgs,apiArgs:m.apiArgs,bounds:i.dom.bounds,snippet:e.convertNodeToSnippet(i.dom.node)})}return u},e}(),m=function(){function e(){this.mappers={},this.ruleMap={},this.wrappedRuleMap={},this.nlsMap={},this.helpMap={},this.inclRules={},this.exclRules={},this.addMapper(new r.DOMMapper)}return e.getLanguages=function(){var e="undefined"!=typeof process&&void 0===process.nodeType&&process.env,t="en-US";return e&&(t=(t=e.LANG||e.LANGUAGE||e.LC_ALL||e.LC_MESSAGES)&&t.length>0?t.split(".")[0].replace(/_/g,"-"):"en-US"),"undefined"!=typeof navigator&&navigator.languages||[t]},e.prototype.run=function(e,t){if(null===e)return Promise.reject("null document");9===e.nodeType&&(e=e.documentElement),e.ownerDocument&&(e.ownerDocument.PT_CHECK_HIDDEN_CONTENT=!1),s.CacheUtil.clearCaches(e);var i=new a.DOMWalker(e,!1,e,!0),l={results:[],numExecuted:0,ruleTime:0,totalTime:0},n=(new Date).getTime();for(var r in this.mappers)this.mappers[r].reset(e);do{var c={};for(var r in this.mappers)i.bEndTag?c[r]=this.mappers[r].closeScope(i.node):c[r]=this.mappers[r].openScope(i.node);if(11!==i.node.nodeType&&(d.VisUtil.isNodeVisible(i.node)||"meta"===i.node.nodeName.toLowerCase()||"style"===i.node.nodeName.toLowerCase()||"datalist"===i.node.nodeName.toLowerCase()||"param"===i.node.nodeName.toLowerCase()||!o.DOMUtil.getAncestor(i.node,["body"]))){var m={};for(var p in c){var h=c[p],_=h[h.length-1];m[p]=_}for(var b={},g=0,f=this.getMatchingRules(c);g<f.length;g++){for(var v=f[g],A=!0,y=0,w=v.rule.dependencies||[];y<w.length;y++)b[w[y]]||(A=!1);if(A){var k=[];try{k=v.run(this,m,t,c)}catch(e){}0===k.length&&(b[v.rule.id]=!0);for(var C=0,x=k;C<x.length;C++){var P=x[C];l.results.push(P),l.ruleTime+=P.ruleTime,l.numExecuted++,P.value[1]===u.eRuleConfidence.PASS&&(b[P.ruleId]=!0)}}}}}while(i.nextNode());return s.CacheUtil.clearCaches(e),l.totalTime=(new Date).getTime()-n,Promise.resolve(l)},e.prototype.enableRules=function(e){for(var t in this.ruleMap)this.ruleMap[t].enabled=!1;for(var i=0,a=e||[];i<a.length;i++)(t=a[i])in this.ruleMap?this.ruleMap[t].enabled=!0:console.warn("WARNING: Rule Id",t,"could not be enabled.")},e.prototype.getRule=function(e){return this.ruleMap[e]},e.prototype.getRulesIds=function(){var e=[];for(var t in this.ruleMap)e.push(t);return e},e.prototype.addRules=function(e){for(var t=0,i=e;t<i.length;t++){var a=i[t];this.addRule(a,!0)}this._sortRules()},e.prototype.addRule=function(e,t){var i=l.Context.parse(e.context),a=0,n=e.id;if(n in this.ruleMap)console.log("WARNING: Rule",n,"already added to engine. Ignoring...");else{this.ruleMap[n]=e;for(var r=0,o=i;r<o.length;r++){var s=o[r],u=n;a>=1&&(u=n+"$$"+a),++a;var d=new c(e,s);this.wrappedRuleMap[u]=d;var m=d.parsedInfo.contextInfo,p=m[m.length-1],h=p.namespace+":"+p.role;p.inclusive?(this.inclRules[h]=this.inclRules[h]||[],this.inclRules[h].push(d)):(this.exclRules[h]=this.exclRules[h]||[],this.exclRules[h].push(d))}t||this._sortRules()}},e.prototype._sortRules=function(){for(var e in this.inclRules)this.inclRules[e].sort((function(e,t){var i=e.rule.dependencies&&e.rule.dependencies.length>0;return t.rule.dependencies&&t.rule.dependencies.length>0&&t.rule.dependencies.includes(e.rule.id)?-1:i&&e.rule.dependencies.includes(t.rule.id)?1:0}));for(var e in this.exclRules)this.exclRules[e].sort((function(e,t){var i=e.rule.dependencies&&e.rule.dependencies.length>0;return t.rule.dependencies&&t.rule.dependencies.length>0&&t.rule.dependencies.includes(e.rule.id)?-1:i&&e.rule.dependencies.includes(t.rule.id)?1:0}))},e.prototype.addNlsMap=function(e){for(var t in e)this.nlsMap[t]=e[t]},e.prototype.addHelpMap=function(e){for(var t in e)this.helpMap[t]=e[t]},e.prototype.getMessage=function(e,t,i){var a=e.indexOf("$$");if(a>=0&&(e=e.substring(0,a)),!(e in this.nlsMap))return e;var l=this.nlsMap[e][t||0];return l?l.replace(/\{(\d+)\}/g,(function(e,t,a){return i[t]})):e+"_"+t},e.prototype.getHelp=function(e,t,i){return i||(i="latest"),"".concat(n.Config.helpRoot,"/").concat(i,"/doc").concat(this.getHelpRel(e,t))},e.prototype.getHelpRel=function(e,t){var i=e.indexOf("$$");return i>=0&&(e=e.substring(0,i)),e in this.helpMap?((t=t||0)in this.helpMap[e]?this.helpMap[e][t||0]:this.helpMap[e][0])||e+"_"+t:e},e.prototype.addMapper=function(e){this.mappers[e.getNamespace()]=e},e.match=function(e,t){var i=e.parsedInfo.contextInfo,a=i.length-1,l=i[a].namespace,n=t[l][t[l].length-1],r=n.node;if(!i[a].matches(t,t[l].length-1))return!1;if(1===i.length)return!0;if(n=t[l=i[0].namespace][t[l].length-1],--a,i.slice(0,i.length-1).some((function(e){return e.namespace!==l})))return console.error("[ERROR] Rule ".concat(e.rule.id," has inconsitent parent namespaces")),!1;for(var o=t[l].length-(n.node.isSameNode(r)?2:1);o>=0&&a>=0;){var s=i[a],u=i[a].matches(t,o);if(">"===s.connector){if(!u)return!1;--a,--o}else{if(" "!==s.connector)throw new Error("Context connector "+s.connector+" is not supported");if(s.inclusive)u&&--a,--o;else{if(!u)return!1;for(var d=!1,c=o-1;!d&&c>=0;--c)d=!i[a].matches(t,c);if(d)return!1;--a}}}return-1===a},e.prototype.getMatchingRules=function(t){var i=[];function a(a){for(var l=0,n=a;l<n.length;l++){var r=n[l];r.rule.enabled&&e.match(r,t)&&i.push(r)}}for(var l in t){var n=l+":"+(t[l].length>0?t[l][t[l].length-1].role:"none");for(var r in n in this.inclRules&&a(this.inclRules[n]),this.exclRules)r!==n&&a(this.exclRules[r]);n!==l+":none"&&(n.startsWith(l+":/")?l+":/*"in this.inclRules&&a(this.inclRules[l+":/*"]):l+":*"in this.inclRules&&a(this.inclRules[l+":*"]))}return this.sortDeps(i)},e.prototype.sortDeps=function(e){for(var t=[],i=0,a=e;i<a.length;i++){var l=a[i];t.push(l)}var n=[],r={},o=!1;do{o=!1;for(var s=0;s<t.length;++s){var u=t[s];if(!(u.rule.id in r)){var d=!0;if(u.rule.dependencies&&u.rule.dependencies.length>0)for(var c=0,m=u.rule.dependencies;c<m.length;c++)m[c]in r||(d=!1);d&&(o=!0,n.push(u),r[u.rule.id]=!0,t.splice(s--,1))}}}while(o);return n},e}();t.Engine=m},3962:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Config=void 0;var i=function(){function e(){}return e.DEBUG=!1,e.helpRoot="https://able.ibm.com/rules/archives",e}();t.Config=i},5697:function(e,t,i){var a,l=this&&this.__extends||(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},a(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.DOMMapper=void 0;var n=i(1794),r=i(7788),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.getRole=function(e){return e.nodeName.toLowerCase()},t.prototype.getNamespace=function(){return"dom"},t.prototype.getAttributes=function(e){var t={};if(1===e.nodeType)for(var i=e,a=0;a<i.attributes.length;++a){var l=i.attributes[a];t[l.name.toLowerCase()]=l.nodeValue}return t},t.prototype.getBounds=function(e){if(1!==e.nodeType)return null;var t=r.CacheUtil.getCache(e,"DOMMapper_Bounds",void 0);if(void 0===t){var i=1;e.ownerDocument&&e.ownerDocument.defaultView&&e.ownerDocument.defaultView.devicePixelRatio&&(i=e.ownerDocument.defaultView.devicePixelRatio);var a=e.getBoundingClientRect();if(a){var l=e&&e.ownerDocument&&e.ownerDocument.defaultView&&e.ownerDocument.defaultView.scrollX||0,n=e&&e.ownerDocument&&e.ownerDocument.defaultView&&e.ownerDocument.defaultView.scrollY||0,o={left:Math.ceil((a.left+l)*i),top:Math.ceil((a.top+n)*i),height:Math.ceil(a.height*i),width:Math.ceil(a.width*i)};return r.CacheUtil.setCache(e,"DOMMapper_Bounds",o),o}return null}return t},t.prototype.getUnadjustedBounds=function(e){if(1!==e.nodeType)return null;var t=r.CacheUtil.getCache(e,"DOMMapper_UnadjustedBounds",void 0);if(void 0===t){var i=e.getBoundingClientRect();if(i){var a=e&&e.ownerDocument&&e.ownerDocument.defaultView&&e.ownerDocument.defaultView.scrollX||0,l=e&&e.ownerDocument&&e.ownerDocument.defaultView&&e.ownerDocument.defaultView.scrollY||0,n={left:Math.ceil(i.left+a),top:Math.ceil(i.top+l),height:Math.ceil(i.height),width:Math.ceil(i.width)};return r.CacheUtil.setCache(e,"DOMMapper_UnadjustedBounds",n),n}return null}return t},t}(n.CommonMapper);t.DOMMapper=o},295:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DOMUtil=void 0;var a=i(7440),l=function(){function e(){}return e.hasParent=function(e,t){for(var i=a.DOMWalker.parentElement(e);i&&!t.includes(i.nodeName);)i=a.DOMWalker.parentElement(i);return!!i},e.getAncestor=function(e,t){for(var i=a.DOMWalker.parentElement(e);i&&!t.includes(i.nodeName.toLowerCase());)i=a.DOMWalker.parentElement(i);return i},e.sameNode=function(e,t){return e===t||(e.isSameNode?e.isSameNode(t):!e.compareDocumentPosition||0===e.compareDocumentPosition(t))},e.cleanWhitespace=function(e){return e.replace(/[ \t\r\n]/g," ").replace(/ +/g," ")},e.cleanSpace=function(e){return e.replace(/ +/g," ")},e.isInSameTable=function(t,i){if(t&&i){var a=["table"],l=e.getAncestor(t,a),n=e.getAncestor(i,a);if(null!==l&&null!=n&&e.sameNode(l,n))return!0}return!1},e.shadowRootNode=function(e){for(var t=e;null!=t&&11!==t.nodeType;)t=t.parentNode;return t},e.objectCopyWithNodeRefs=function(e){if(!e)return e;if("object"!=typeof e)return"function"==typeof e?e:JSON.parse(JSON.stringify(e));if(e instanceof Node||e.nodeType)return e;var t=void 0;if("Array"===e.constructor.name){t=[];for(var i=0,a=e;i<a.length;i++){var l=a[i];t.push(this.objectCopyWithNodeRefs(l))}}else for(var n in t={},e)t[n]=this.objectCopyWithNodeRefs(e[n]);return t},e.getAncestorWithAttribute=function(e,t,i){for(var l=a.DOMWalker.parentNode(e);null!==l;){if(1===l.nodeType&&l.getAttribute(t)===i)return l;l=a.DOMWalker.parentNode(l)}return null},e}();t.DOMUtil=l},7440:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DOMWalker=void 0;var a=i(8656),l=function(){function e(e,t,i,a,l){this.DEBUGIDX=0,this.indent=0,this.DEBUG=!!l,this.root=i||(e&&e.ownerDocument?e.ownerDocument.documentElement:e),9===this.root.nodeType&&(this.root=this.root.documentElement),this.node=e,9===this.node.nodeType&&(this.node=this.node.documentElement),this.bEndTag=null!=t&&1==t,this.considerHidden=a||!1}return e.prototype.elem=function(){return 1===this.node.nodeType&&this.node||null},e.parentNode=function(e){if(null===e)return null;var t=e.parentNode;return e.slotOwner?t=e.slotOwner:e.ownerElement?t=e.ownerElement:t&&11===t.nodeType&&(t=t.host?t.host:null),t},e.parentElement=function(t){var i=t;do{i=e.parentNode(i)}while(i&&1!==i.nodeType);return i},e.assignSlots=function(e){for(var t=e.querySelectorAll("slot"),i=0;i<t.length;++i)for(var a=t[i],l=a.assignedNodes(),n=0;n<l.length;++n)l[n].slotOwner=a,l[n].slotIndex=n},e.firstChildNotOwnedBySlot=function(e){for(var t=e.firstChild;t&&t.slotOwner;)t=t.nextSibling;return t},e.lastChildNotOwnedBySlot=function(e){for(var t=e.lastChild;t&&t.slotOwner;)t=t.previousSibling;return t},e.nextSiblingNotOwnedBySlot=function(e){for(var t=e.nextSibling;t&&t.slotOwner;)t=t.nextSibling;return t},e.previousSiblingNotOwnedBySlot=function(e){for(var t=e.previousSibling;t&&t.slotOwner;)t=t.previousSibling;return t},e.prototype.atRoot=function(){return!this.ownerElement&&(this.root===this.node||(this.root.isSameNode?this.root.isSameNode(this.node):this.root.compareDocumentPosition?0===this.root.compareDocumentPosition(this.node):null===this.node.parentNode))},e.prototype.nextNode=function(){var t=this,i=function(){for(var e="",i=0;i<t.indent;++i)e+=" ";return e},l=this.node.nodeName;if(!this.node)return this.bEndTag=!1,!1;do{if(this.bEndTag){if(this.atRoot())return!1;if(this.node.slotOwner){var n=this.node.slotOwner,r=this.node.slotIndex+1;r<n.assignedNodes().length?(this.node=n.assignedNodes()[r],this.bEndTag=!1):(this.node=n,this.bEndTag=!0)}else if(this.node.ownerElement)this.node=this.node.ownerElement,this.bEndTag=!0;else if(e.nextSiblingNotOwnedBySlot(this.node))this.node=e.nextSiblingNotOwnedBySlot(this.node),this.bEndTag=!1;else{if(!this.node.parentNode)return!1;this.node=this.node.parentNode,this.bEndTag=!0}}else{var o=this.node,s=this.node,u=this.node;if(1===this.node.nodeType&&"IFRAME"===this.node.nodeName.toUpperCase()&&(!this.considerHidden||a.VisUtil.isNodeVisible(o))&&o.contentDocument&&o.contentDocument.documentElement){var d=this.node;this.node=o.contentDocument.documentElement,this.node.ownerElement=d}else 1===this.node.nodeType&&(!this.considerHidden||a.VisUtil.isNodeVisible(s))&&s.shadowRoot&&s.shadowRoot.firstChild?(d=this.node,this.node=s.shadowRoot,this.node.ownerElement=d,e.assignSlots(this.node)):1===this.node.nodeType&&"slot"===s.nodeName.toLowerCase()&&u.assignedNodes().length>0?this.node=u.assignedNodes()[0]:1!==this.node.nodeType&&11!==this.node.nodeType||!e.firstChildNotOwnedBySlot(this.node)?this.bEndTag=!0:this.node=e.firstChildNotOwnedBySlot(this.node)}}while(1!==this.node.nodeType&&11!==this.node.nodeType&&3!==this.node.nodeType||1===this.node.nodeType&&"ACE"===this.node.getAttribute("aChecker"));return this.bEndTag&&(this.indent-=2),this.DEBUG&&console.log(i()+"<".concat(this.bEndTag?"/":"").concat(this.node.nodeName,"> (from ").concat(l,") ").concat(this.DEBUGIDX++)),this.DEBUG&&this.node.slotOwner&&console.log(i()+"slotOwner: ".concat(this.node.slotOwner.nodeName)),this.DEBUG&&this.node.slotIndex&&console.log(i()+"slotIndex: ".concat(this.node.slotIndex)),this.DEBUG&&this.node.ownerElement&&console.log(i()+"ownerElement: ".concat(this.node.ownerElement.nodeName)),this.bEndTag||(this.indent+=2),!0},e.prototype.prevNode=function(){do{if(this.bEndTag){var t=this.node,i=this.node;if(1===this.node.nodeType&&"IFRAME"===this.node.nodeName.toUpperCase()&&(!this.considerHidden||a.VisUtil.isNodeVisible(t))&&t.contentDocument&&t.contentDocument.documentElement){var l=this.node;this.node=t.contentDocument.documentElement,this.node.ownerElement=l}else 1===this.node.nodeType&&(!this.considerHidden||a.VisUtil.isNodeVisible(i))&&i.shadowRoot&&i.shadowRoot.lastChild?(l=this.node,this.node=i.shadowRoot,this.node.ownerElement=l,e.assignSlots(this.node)):1!==this.node.nodeType&&11!==this.node.nodeType||!e.lastChildNotOwnedBySlot(this.node)?this.bEndTag=!1:this.node=e.lastChildNotOwnedBySlot(this.node)}else{if(this.atRoot())return!1;if(e.previousSiblingNotOwnedBySlot(this.node))this.node=e.previousSiblingNotOwnedBySlot(this.node),this.bEndTag=!0;else if(this.node.ownerElement)this.node=this.node.ownerElement,this.bEndTag=!1;else{if(!this.node.parentNode)return!1;this.node=this.node.parentNode,this.bEndTag=!1}}}while(1!==this.node.nodeType&&11!==this.node.nodeType&&3!==this.node.nodeType||1===this.node.nodeType&&"ACE"===this.node.getAttribute("aChecker"));return!0},e}();t.DOMWalker=l},1970:function(e,t,i){var a,l=this&&this.__extends||(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},a(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.StyleMapper=void 0;var n=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.getRole=function(e){return"computed"},t.prototype.getNamespace=function(){return"css"},t.prototype.getAttributes=function(e){var t={};if(1===e.nodeType)for(var i=e,a=i.ownerDocument.defaultView.getComputedStyle(i),l=0;l<a.length;++l){var n=a[l].toLowerCase();t[n]=a[n]}return t},t}(i(1794).CommonMapper);t.StyleMapper=n},3005:(e,t)=>{var i,a,l;Object.defineProperty(t,"__esModule",{value:!0}),t.eGuidelineType=t.eGuidelineCategory=t.eToolkitLevel=void 0,(l=t.eToolkitLevel||(t.eToolkitLevel={})).LEVEL_ONE="1",l.LEVEL_TWO="2",l.LEVEL_THREE="3",l.LEVEL_FOUR="4",(a=t.eGuidelineCategory||(t.eGuidelineCategory={})).ACCESSIBILITY="Accessibility",a.DESIGN="Design",a.OTHER="Other",(i=t.eGuidelineType||(t.eGuidelineType={})).DEFAULT="default",i.EXTENSION="extension"},4377:(e,t,i)=>{var a,l;Object.defineProperty(t,"__esModule",{value:!0}),t.eRulesetType=t.eRuleCategory=t.eToolkitLevel=t.RuleManual=t.RulePotential=t.RuleFail=t.RuleRender=t.RulePass=t.eRulePolicy=t.eRuleConfidence=void 0,function(e){e.PASS="PASS",e.FAIL="FAIL",e.POTENTIAL="POTENTIAL",e.MANUAL="MANUAL"}(a=t.eRuleConfidence||(t.eRuleConfidence={})),function(e){e.VIOLATION="VIOLATION",e.RECOMMENDATION="RECOMMENDATION",e.INFORMATION="INFORMATION"}(l=t.eRulePolicy||(t.eRulePolicy={})),t.RulePass=function(e,t,i){if(null==e)throw new Error("Reason ID must be defined");return{value:[l.INFORMATION,a.PASS],reasonId:e,messageArgs:t||[],apiArgs:i||[]}},t.RuleRender=function(e,t,i){if(null==e)throw new Error("Reason ID must be defined");return{value:[l.INFORMATION,a.PASS],reasonId:0,messageArgs:t||[],apiArgs:i||[]}},t.RuleFail=function(e,t,i){if(null==e)throw new Error("Reason ID must be defined");return{value:[l.INFORMATION,a.FAIL],reasonId:e,messageArgs:t||[],apiArgs:i||[]}},t.RulePotential=function(e,t,i){if(null==e)throw new Error("Reason ID must be defined");return{value:[l.INFORMATION,a.POTENTIAL],reasonId:e,messageArgs:t||[],apiArgs:i||[]}},t.RuleManual=function(e,t,i){if(null==e)throw new Error("Reason ID must be defined");return{value:[l.INFORMATION,a.MANUAL],reasonId:e,messageArgs:t||[],apiArgs:i||[]}};var n=i(3005);Object.defineProperty(t,"eToolkitLevel",{enumerable:!0,get:function(){return n.eToolkitLevel}});var r=i(3005);Object.defineProperty(t,"eRuleCategory",{enumerable:!0,get:function(){return r.eGuidelineCategory}});var o=i(3005);Object.defineProperty(t,"eRulesetType",{enumerable:!0,get:function(){return o.eGuidelineType}})},7884:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Checker=void 0;var a=i(4377),l=i(9324),n=i(4944),r=i(1970),o=i(1070),s=i(8081),u=i(3005),d=[],c={},m={};!function(){var e=JSON.parse(JSON.stringify(l.Engine.getLanguages()));for(var t in e.push("en-US"),s){var i=s[t];d.push(i);for(var a=e.length-1;a>=0;--a){var n=e[a];if(n in i.messages&&(c[i.id]=i.messages[n],c[i.id][0]=c[i.id].group),n in i.help){for(var r in m[i.id]={},i.help[n])m[i.id][r]="/".concat(n,"/").concat(i.help[n][r]);c[i.id][0]=c[i.id].group}}for(var u=0,p=i.rulesets;u<p.length;u++)for(var h=p[u],_=0,b=o.a11yRulesets;_<b.length;_++){var g=b[_];if(("string"==typeof h.id?[h.id]:h.id).includes(g.id))for(var f=0,v=g.checkpoints;f<v.length;f++){var A=v[f];("string"==typeof h.num?[h.num]:h.num).includes(A.num)&&(A.rules=A.rules||[],A.rules.push({id:i.id,reasonCodes:h.reasonCodes,level:h.level,toolkitLevel:h.toolkitLevel}))}}}}();var p=function(){function e(){this.guidelines=[],this.rulesets=this.guidelines,this.rulesetIds=[],this.rulesetRules={},this.ruleLevels={},this.ruleReasonLevels={},this.ruleCategory={};var e=this.engine=new l.Engine;e.addMapper(new n.ARIAMapper),e.addMapper(new r.StyleMapper),e.addRules(d),e.addNlsMap(c),e.addHelpMap(m);for(var t=0,i=o.a11yRulesets;t<i.length;t++){var a=i[t];this.addRuleset(a)}}return e.prototype.addGuideline=function(e){e.id in this.rulesetRules&&this.removeGuideline(e.id),this.guidelines.push(e),this.rulesetIds.push(e.id);for(var t=[],i=0,a=e.checkpoints;i<a.length;i++){var l=a[i];l.rules=l.rules||[];for(var n=0,r=l.rules;n<r.length;n++){var o=r[n];if(!1!==o.enabled){t.push(o.id),this.ruleReasonLevels[o.id]=this.ruleReasonLevels[o.id]||{},this.ruleReasonLevels[o.id][e.id]=this.ruleReasonLevels[o.id][e.id]||{};var s=o.reasonCodes?o.reasonCodes.join("--"):"None";this.ruleReasonLevels[o.id][e.id][s]=o.level,this.ruleCategory[o.id]=this.ruleCategory[o.id]||{},this.ruleCategory[o.id][e.id]=e.category}}}this.rulesetRules[e.id]=t},e.prototype.enableRule=function(e){for(var t=0,i=this.getGuidelines();t<i.length;t++){for(var a=i[t],l=!1,n=0,r=a.checkpoints;n<r.length;n++)for(var o=0,s=r[n].rules;o<s.length;o++){var u=s[o];!1===u.enabled&&(l=!0,delete u.enabled)}l&&this.addGuideline(a)}},e.prototype.disableRule=function(e){for(var t=0,i=this.getGuidelines();t<i.length;t++){for(var a=i[t],l=!1,n=0,r=a.checkpoints;n<r.length;n++)for(var o=0,s=r[n].rules;o<s.length;o++){var u=s[o];!1!==u.enabled&&(l=!0,u.enabled=!1)}l&&this.addGuideline(a)}},e.prototype.removeGuideline=function(e){e in this.rulesetRules&&(delete this.rulesetRules[e],this.rulesets=this.guidelines=this.guidelines.filter((function(t){return t.id!==e})),this.rulesetIds=this.getGuidelineIds())},e.prototype.getGuidelines=function(){return JSON.parse(JSON.stringify(this.guidelines))},e.prototype.getGuidelineIds=function(){return this.guidelines.map((function(e){return e.id}))},e.prototype.addRuleset=function(e){this.addGuideline(e)},e.prototype.check=function(e,t){var i=[];if(t){"string"==typeof t&&(t=[t]);for(var a=0,l=t;a<l.length;a++){var n=l[a];n in this.rulesetRules&&(i=i.concat(this.rulesetRules[n]))}}else i=this.engine.getRulesIds();this.engine.enableRules(i);var r=this;return this.engine.run(e).then((function(e){e.nls={};for(var i=0,a=e.results;i<a.length;i++){var l=a[i];l.ruleId in c&&(e.nls[l.ruleId]=e.nls[l.ruleId]||{0:c[l.ruleId][0]},l.reasonId in c[l.ruleId]&&(e.nls[l.ruleId][l.reasonId]=c[l.ruleId][l.reasonId]));var n=l.reasonId?l.reasonId:"None";l.value[0]=r.getReasonLevel(t,l.ruleId,n),l.category=r.getCategory(t,l.ruleId),delete l.path.css}return e}))},e.prototype.getLevel=function(e,t){if(!e)return a.eRulePolicy.INFORMATION;var i=this.ruleLevels[t],l=null;if(e){if(!(t in this.ruleLevels))throw new Error("Rule triggered for which we have no rule level information: "+t);for(var n=0,r=e;n<r.length;n++){var o=r[n];o in i&&(i[o]===a.eRulePolicy.VIOLATION?l=a.eRulePolicy.VIOLATION:i[o]===a.eRulePolicy.RECOMMENDATION&&null===l?l=a.eRulePolicy.RECOMMENDATION:null===l&&(l=a.eRulePolicy.INFORMATION))}}if(null===l)throw new Error("Rule triggered for which we have no rule level information: "+t);return l},e.prototype.getReasonLevel=function(e,t,i){if(!e)return a.eRulePolicy.INFORMATION;var l=this.ruleReasonLevels[t],n=null;if(e){if(!(t in this.ruleReasonLevels))throw new Error("Rule triggered for which we have no rule level information "+t);for(var r=function(e){if(e in l){var t=new RegExp("(^|--)".concat(i,"($|--)"));Object.keys(l[e]).forEach((function(i){var r=null;"None"===i?r=l[e].None:t.test(i)&&(r=l[e][i]),null!==r&&(r===a.eRulePolicy.VIOLATION?n=a.eRulePolicy.VIOLATION:r===a.eRulePolicy.RECOMMENDATION&&null===n?n=a.eRulePolicy.RECOMMENDATION:null===n&&(n=a.eRulePolicy.INFORMATION))})),null===n&&(n=a.eRulePolicy.INFORMATION)}},o=0,s=e;o<s.length;o++)r(s[o])}if(null===n)throw new Error("Rule triggered for which we have no rule level information: "+t);return n},e.prototype.getCategory=function(e,t){var i=this.ruleCategory[t];if(!(t in this.ruleCategory))return u.eGuidelineCategory.OTHER;e||(e=this.getGuidelineIds());for(var a=0,l=e;a<l.length;a++){var n=l[a];if(n in i)return i[n]}return u.eGuidelineCategory.OTHER},e}();t.Checker=p},8980:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.a_target_warning=void 0;var a=i(8137),l=i(8656),n=i(4377),r=i(4377);t.a_target_warning={id:"a_target_warning",context:"dom:a[target],dom:area[target],dom:base[target]",refactor:{WCAG20_A_TargetAndText:{Pass_0:"pass",Potential_1:"potential_warn"}},help:{"en-US":{group:"a_target_warning.html",pass:"a_target_warning.html",potential_warn:"a_target_warning.html"}},messages:{"en-US":{group:"Users should be warned in advance if their input action will open a new window",pass:"The user is warned in advance that the input action opens a new window",potential_warn:"Inform the user when their input action will open a new window"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"3.2.2",level:r.eRulePolicy.RECOMMENDATION,toolkitLevel:r.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var r=e.dom.node;if(l.VisUtil.isNodeHiddenFromAT(r)&&!a.CommonUtil.isTabbable(r))return null;var o={paramWinText:{value:["new window","new tab"],type:"array"}},s=r.getAttribute("target"),u="_parent"==s||"_self"==s||"_top"==s||null!=a.CommonUtil.getFrameByName(r,s);if(!u){var d=a.CommonUtil.getInnerText(r);r.hasAttribute("title")&&(d+=" "+r.getAttribute("title"));for(var c=0;!u&&c<o.paramWinText.value.length;++c)-1!=d.indexOf(o.paramWinText.value[c])&&(u=!0)}return u?(0,n.RulePass)("pass"):(0,n.RulePotential)("potential_warn")}}},3961:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.a_text_purpose=void 0;var a=i(4377),l=i(8137),n=i(8656),r=i(4377),o=i(1421);t.a_text_purpose={id:"a_text_purpose",context:"aria:link,aria:doc-biblioref",refactor:{WCAG20_A_HasText:{Pass_0:"pass",Fail_1:"fail_acc_name"}},help:{"en-US":{group:"a_text_purpose.html",pass:"a_text_purpose.html",fail_acc_name:"a_text_purpose.html"}},messages:{"en-US":{group:"Hyperlinks must have an accessible name for their purpose",pass:"Hyperlink has a description of its purpose",fail_acc_name:"Hyperlink has no link text, label or image with a text alternative"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:["2.4.4","4.1.2"],level:r.eRulePolicy.VIOLATION,toolkitLevel:r.eToolkitLevel.LEVEL_TWO}],act:"c487ae",run:function(e,t){var i=e.dom.node;if(n.VisUtil.isNodeHiddenFromAT(i)||l.CommonUtil.isNodeDisabled(i))return null;var r=o.AccNameUtil.computeAccessibleName(i);return r&&r.name&&r.name.trim().length>0||l.CommonUtil.nonTabableChildCheck(i)?(0,a.RulePass)("pass"):(0,a.RuleFail)("fail_acc_name")}}},1445:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.applet_alt_exists=void 0;var a=i(8137),l=i(8656),n=i(4377),r=i(4377);t.applet_alt_exists={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:"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":{group:"<applet> elements must provide an 'alt' attribute and an alternative description",Pass_0:"Rule Passed",Fail_1:"An <applet> element does not have an 'alt' attribute that provides a short text alternative",Fail_2:"The 'alt' attribute value for an <applet> element duplicates the 'code' attribute",Fail_3:"An <applet> element provides alternative text, but does not provide inner content"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"1.1.1",level:r.eRulePolicy.VIOLATION,toolkitLevel:r.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var r=e.dom.node;if(l.VisUtil.isNodeHiddenFromAT(r))return null;if(a.CommonUtil.attributeNonEmpty(r,"alt")){var o=r.getAttribute("alt").trim();return r.hasAttribute("code")&&o==r.getAttribute("code").trim()?(0,n.RuleFail)("Fail_2"):a.CommonUtil.hasInnerContentHidden(r)?(0,n.RulePass)("Pass_0"):(0,n.RuleFail)("Fail_3")}return(0,n.RuleFail)("Fail_1")}}},876:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.application_content_accessible=void 0;var a=i(490),l=i(8656),n=i(4377),r=i(4377);t.application_content_accessible={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:"application_content_accessible.html",Pass_0:"application_content_accessible.html",Potential_1:"application_content_accessible.html"}},messages:{"en-US":{group:'Non-decorative static text and image content within an element with "application" role must be accessible',Pass_0:"Rule Passed",Potential_1:'Verify that the non-decorative static text and image content within an element with "application" role are accessible'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:["1.1.1","2.1.1"],level:r.eRulePolicy.VIOLATION,toolkitLevel:r.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){for(var r=!0,o=e.dom.node.childNodes,s=0;r&&s<o.length;s++)1===o[s].nodeType?l.VisUtil.isNodeVisible(o[s])&&(r=a.AriaUtil.hasRoleInSemantics(o[s],"document")||a.AriaUtil.hasRoleInSemantics(o[s],"article")):3===o[s].nodeType&&(r=0===o[s].nodeValue.trim().length);return r?(0,n.RulePass)("Pass_0"):(0,n.RulePotential)("Potential_1")}}},2768:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.area_alt_exists=void 0;var a=i(8137),l=i(8656),n=i(4377),r=i(4377);t.area_alt_exists={id:"area_alt_exists",context:"dom:area",refactor:{WCAG20_Area_HasAlt:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{group:"area_alt_exists.html",Pass_0:"area_alt_exists.html",Fail_1:"area_alt_exists.html"}},messages:{"en-US":{group:"<area> elements in an image map must have a text alternative",Pass_0:"Rule Passed",Fail_1:"<area> element in an image map has no text alternative"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"1.1.1",level:r.eRulePolicy.VIOLATION,toolkitLevel:r.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var r=e.dom.node;return l.VisUtil.isNodeHiddenFromAT(r)?null:a.CommonUtil.attributeNonEmpty(r,"alt")?(0,n.RulePass)("Pass_0"):(0,n.RuleFail)("Fail_1")}}},2533:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_accessiblename_exists=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8656),o=i(1421);t.aria_accessiblename_exists={id:"aria_accessiblename_exists",context:"aria:columnheader, aria:form, aria:heading, aria:rowheader, aria:table, aria:graphics-document,aria:graphics-symbol, aria:img,aria:image, doc-backlink, doc-biblioentry, doc-biblioref, doc-glossref, doc-noteref, doc-pagebreak, doc-example",help:{"en-US":{pass:"aria_accessiblename_exists.html",fail_no_accessible_name:"aria_accessiblename_exists.html",fail_no_accessible_name_image:"aria_accessiblename_exists.html",group:"aria_accessiblename_exists.html"}},messages:{"en-US":{pass:"An accessible name is provided for the element",fail_no_accessible_name:'Element <{0}> with "{1}" role has no accessible name',fail_no_accessible_name_image:'Element <{0}> with "{1}" role has no accessible name',group:"Elements with certain roles should have accessible names"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE,reasonCodes:["fail_no_accessible_name"]},{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["ARIA"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE,reasonCodes:["fail_no_accessible_name_image"]}],act:[{"23a2a8":{fail_no_accessible_name_image:"fail"}}],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;var s=l.nodeName.toLocaleLowerCase();if("svg"!==s&&"img"!==s){if("table"===s&&l.firstElementChild&&"caption"===l.firstElementChild.nodeName.toLowerCase()&&l.firstElementChild.textContent&&l.firstElementChild.textContent.trim().length>0)return(0,a.RulePass)("pass");var u=n.AriaUtil.getRolesUndefinedByAria(l);if(u&&u.length>0)return null;var d=n.AriaUtil.getDeprecatedAriaRoles(l);if(d&&d.length>0)return null;var c=n.AriaUtil.getDeprecatedAriaAttributes(l);if(c&&c.length>0)return null;var m=n.AriaUtil.getResolvedRole(l),p=o.AccNameUtil.computeAccessibleName(l);return p&&p.name&&0!==p.name.trim().length?(0,a.RulePass)("pass"):"img"===m||"image"===m?(0,a.RuleFail)("fail_no_accessible_name_image",[l.nodeName.toLowerCase(),m]):(0,a.RuleFail)("fail_no_accessible_name",[l.nodeName.toLowerCase(),m])}}}},7178:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_activedescendant_tabindex_valid=void 0;var a=i(4377),l=i(4377),n=i(8137);t.aria_activedescendant_tabindex_valid={id:"aria_activedescendant_tabindex_valid",context:"dom:*[aria-activedescendant]",refactor:{Rpt_Aria_InvalidTabindexForActivedescendant:{pass:"pass",Fail_1:"Fail_1"}},help:{"en-US":{pass:"aria_activedescendant_tabindex_valid.html",Fail_1:"aria_activedescendant_tabindex_valid.html",group:"aria_activedescendant_tabindex_valid.html"}},messages:{"en-US":{pass:"Rule Passed",Fail_1:"The <{0}> element using 'aria-activedescendant' set to \"{1}\" is not tabbable",group:"Element using 'aria-activedescendant' property should be tabbable"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,r=!1,o=l.nodeName.toLowerCase();if(l.hasAttribute("class")&&"mbl"==l.getAttribute("class").substring(0,3))return null;if(n.CommonUtil.isNodeDisabled(l))return null;if(0!==l.getAttribute("aria-activedescendant").trim().length){(r=n.CommonUtil.isTabbable(l))||(r=n.CommonUtil.getTabbableChildren(l)>0);var s=new Array;s.push(o);var u=new Array;return u.push(l.getAttribute("aria-activedescendant").split(" ").join(", ")),r?(0,a.RulePass)("pass"):(0,a.RuleFail)("Fail_1",[s.toString(),u.toString()])}}}},9745:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_activedescendant_valid=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(482),s=i(8656),u=i(295);t.aria_activedescendant_valid={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"}},help:{"en-US":{Pass_0:"aria_activedescendant_valid.html",Fail_1:"aria_activedescendant_valid.html",Fail_2:"aria_activedescendant_valid.html",Fail_3:"aria_activedescendant_valid.html",group:"aria_activedescendant_valid.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"The 'aria-activedescendant' property is empty",Fail_2:"The 'aria-activedescendant' property references a hidden node",Fail_3:"Element is not a combobox, and the referenced active-descendant element is not a valid descendant",group:"The 'aria-activedescendant' property must reference the 'id' of a non-empty, non-hidden active child element"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(n.AriaUtil.hasRoleInSemantics(l,"combobox"))return null;var d=n.AriaUtil.getAriaAttribute(l,"aria-activedescendant");if(!d||""===d.trim())return(0,a.RuleFail)("Fail_1");var c=o.FragmentUtil.getById(l,d.trim());if(!c||u.DOMUtil.sameNode(d,l))return null;if(!s.VisUtil.isNodeVisible(c))return(0,a.RuleFail)("Fail_2");if(l.contains(c))return(0,a.RulePass)("Pass_0");var m=2;if(l.hasAttribute("aria-owns"))for(var p=r.CommonUtil.normalizeSpacing(l.getAttribute("aria-owns").trim()).split(" "),h=0;h<p.length;h++)if((v=o.FragmentUtil.getById(l,p[h]))&&!u.DOMUtil.sameNode(v,l)&&v.contains(c))return(0,a.RulePass)("Pass_0");if(n.AriaUtil.hasRoleInSemantics(l,"textbox")&&l.hasAttribute("aria-controls")){m=3;var _=r.CommonUtil.normalizeSpacing(l.getAttribute("aria-controls").trim()).split(" ");for(h=0;h<_.length;h++){var b=o.FragmentUtil.getById(l,_[h]);if(b&&!u.DOMUtil.sameNode(b,l)&&b.contains(c))return(0,a.RulePass)("Pass_0");if(b.hasAttribute("aria-owns"))for(var g=r.CommonUtil.normalizeSpacing(b.getAttribute("aria-owns").trim()).split(" "),f=0;f<g.length;f++){var v;if((v=o.FragmentUtil.getById(l,g[f]))&&!u.DOMUtil.sameNode(v,l)&&v.contains(c))return(0,a.RulePass)("Pass_0")}}}return 3==m?(0,a.RuleFail)("Fail_3"):null}}},8019:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_application_label_unique=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(7788);t.aria_application_label_unique={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:"aria_application_label_unique.html",Fail_1:"aria_application_label_unique.html",group:"aria_application_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "application" role do not have unique labels',group:'Each element with "application" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"application",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_application_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_application_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""!==d&&(!(d in u)||u[d]<=1)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}}},6505:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_application_labelled=void 0;var a=i(4377),l=i(4377),n=i(1421),r=i(8656);t.aria_application_labelled={id:"aria_application_labelled",context:"aria:application",refactor:{Rpt_Aria_ApplicationLandmarkLabel:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"aria_application_labelled.html",Fail_1:"aria_application_labelled.html",group:"aria_application_labelled.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Element with "application" role does not have a label',group:'Each element with "application" role must have a label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;return r.VisUtil.isNodeHiddenFromAT(l)?null:n.AccNameUtil.computeAccessibleName(l)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},8910:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_article_label_unique=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(7788);t.aria_article_label_unique={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:"aria_article_label_unique.html",Fail_1:"aria_article_label_unique.html",group:"aria_article_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "article" role do not have unique labels',group:'Each element with "article" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"article",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_article_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_article_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""===d||!(d in u)||u[d]<=1?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}}},3492:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_attribute_allowed=void 0;var a=i(4377),l=i(4377),n=i(8235),r=i(490);t.aria_attribute_allowed={id:"aria_attribute_allowed",context:"dom:*",refactor:{Rpt_Aria_ValidProperty:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{group:"aria_attribute_allowed.html",Pass_0:"aria_attribute_allowed.html",Fail_1:"aria_attribute_allowed.html"}},messages:{"en-US":{group:"ARIA attributes must be valid for the element's role",Pass_0:"Rule Passed",Fail_1:"The attribute(s) '{0}' referenced by the element <{1}> is not a valid ARIA state or property"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"4.1.2",level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:"5f99a7",run:function(e,t,i){var l=e.dom.node,o=l.attributes;if(o){for(var s=n.ARIADefinitions.propertyDataTypes,u="",d=0,c=0,m=o.length;c<m;c++){var p=o[c].name;r.AriaUtil.isDefinedAriaAttribute(l,p)&&(d++,s[p]||(u=0==u.length?p:u+", "+p))}return 0==d?null:0!=u.length?(0,a.RuleFail)("Fail_1",[u,l.nodeName.toLowerCase()]):(0,a.RulePass)("Pass_0")}return null}}},5316:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_attribute_conflict=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137);t.aria_attribute_conflict={id:"aria_attribute_conflict",context:"dom:*[aria-required], dom:*[aria-autocomplete], dom:*[aria-readonly], dom:*[aria-disabled], dom:*[aria-placeholder], dom:*[aria-checked], dom:*[aria-hidden], dom:*[aria-valuemax], dom:*[aria-valuemin], dom:*[aria-colspan], dom:*[aria-rowspan]",help:{"en-US":{fail_conflict:"aria_attribute_conflict.html",group:"aria_attribute_conflict.html"}},messages:{"en-US":{fail_conflict:'The ARIA attribute "{0}" is in conflict with the corresponding HTML attribute "{1}"',group:"An ARIA attribute must not conflict with the corresponding HTML attribute"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,o=n.AriaUtil.getInvalidAriaAttributes(l);if(o&&o.length>0)return null;var s=[],u=n.AriaUtil.getUserDefinedAriaAttributes(l);if(!u||0===u.length)return null;for(var d=n.AriaUtil.getConflictAriaAndHtmlAttributes(l),c=0;c<d.length;c++)s.push((0,a.RuleFail)("fail_conflict",[d[c].ariaAttr,d[c].htmlAttr])),u.includes(d[c].ariaAttr)&&r.CommonUtil.reduceArrayItemList([d[c].ariaAttr],u);return s.length>0?s:null}}},8412:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_attribute_deprecated=void 0;var a=i(4377),l=i(4377),n=i(490);t.aria_attribute_deprecated={id:"aria_attribute_deprecated",context:"dom:*",help:{"en-US":{fail_aria_role:"aria_attribute_deprecated.html",fail_aria_attr:"aria_attribute_deprecated.html",fail_role_attr:"aria_attribute_deprecated.html",group:"aria_attribute_deprecated.html"}},messages:{"en-US":{fail_aria_role:'The ARIA role "{0}" is deprecated in the ARIA specification',fail_aria_attr:'The ARIA attributes "{0}" are deprecated in the ARIA specification',fail_role_attr:'The ARIA attributes "{0}" are deprecated for the role "{1}" in the ARIA specification',group:"No deprecated ARIA role or attribute should be used"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next"],num:["ARIA"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,r=[],o=n.AriaUtil.getDeprecatedAriaRoles(l);if(o&&o.length>0)for(var s=0;s<o.length;s++)r.push((0,a.RuleFail)("fail_aria_role",[o[s]]));var u=n.AriaUtil.getDeprecatedAriaAttributes(l);if(u&&u.length>0)for(s=0;s<u.length;s++)"any"===u[s].role?r.push((0,a.RuleFail)("fail_aria_attr",[u[s].attribute])):r.push((0,a.RuleFail)("fail_role_attr",[u[s].attribute,u[s].role]));return r.length>0?r:null}}},172:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_attribute_exists=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(8235),s=i(8656);t.aria_attribute_exists={id:"aria_attribute_exists",context:"dom:*[role]",dependencies:["aria_role_allowed"],refactor:{Rpt_Aria_EmptyPropertyValue:{pass:"pass",fail_empty_attribute:"fail_empty_attribute"}},help:{"en-US":{pass:"aria_attribute_exists.html",fail_empty_attribute:"aria_attribute_exists.html",group:"aria_attribute_exists.html"}},messages:{"en-US":{pass:"Rule Passed",fail_empty_attribute:"The element attribute(s): '{0}' value is empty",group:"When specifying a required ARIA attribute, the value must not be empty"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:["6a7281"],run:function(e,t,i){var l=e.dom.node;if(!s.VisUtil.isNodeHiddenFromAT(l)){var u=new Array,d=o.ARIADefinitions.designPatterns,c=r.CommonUtil.hasAttribute,m=0,p=n.AriaUtil.getResolvedRole(l);if(p){if(d[p]&&null!=n.AriaUtil.getRoleRequiredProperties(p,l))for(var h=n.AriaUtil.getRoleRequiredProperties(p,l),_=0,b=h.length;_<b;_++)c(l,y=h[_])?(m++,0==r.CommonUtil.normalizeSpacing(l.getAttribute(h[_])).length&&u.push(h[_])):"aria-labelledby"==h[_]?"radiogroup"==p&&c(l,"aria-label")&&(m++,0==r.CommonUtil.normalizeSpacing(l.getAttribute("aria-label")).length&&u.push("aria-label")):"aria-valuenow"==h[_]&&"progressbar"==p&&c(l,"aria-valuetext")&&(m++,0==r.CommonUtil.normalizeSpacing(l.getAttribute("aria-valuetext")).length&&u.push("aria-valuetext"));if(d[p]){var g=n.AriaUtil.getElementAriaProperty(l),f=[];f.push(p);for(var v=n.AriaUtil.getAllowedAriaAttributes(l,f,g),A=(_=0,v.length);_<A;_++){var y;"aria-checked"!=(y=v[_])&&"aria-selected"!=y&&"aria-expanded"!=y&&"aria-orientation"!=y&&"aria-level"!=y||c(l,y)&&(m++,0!=r.CommonUtil.normalizeSpacing(l.getAttribute(y)).length||u.includes(y)||u.push(y))}}var w=new Array,k=0==u.length;return w.push(u.join(", ")),0==m?null:k?(0,a.RulePass)("pass"):(0,a.RuleFail)("fail_empty_attribute",w)}}}}},9844:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_attribute_redundant=void 0;var a=i(4377),l=i(4377),n=i(490);t.aria_attribute_redundant={id:"aria_attribute_redundant",context:"dom:*[aria-required], dom:*[aria-autocomplete], dom:*[aria-readonly], dom:*[aria-disabled], dom:*[aria-placeholder], dom:*[aria-checked], dom:*[aria-hidden], dom:*[aria-valuemax], dom:*[aria-valuemin], dom:*[aria-colspan], dom:*[aria-rowspan]",help:{"en-US":{pass:"aria_attribute_redundant.html",fail_redundant:"aria_attribute_redundant.html",group:"aria_attribute_redundant.html"}},messages:{"en-US":{pass:"The ARIA attribute is not redundant with a corresponding HTML attribute",fail_redundant:'The ARIA attribute "{0}" is redundant with the HTML attribute "{1}"',group:"An ARIA attribute should not be redundant with a corresponding HTML attribute"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,r=n.AriaUtil.getInvalidAriaAttributes(l);if(r&&r.length>0)return null;var o=n.AriaUtil.getConflictAriaAndHtmlAttributes(l);if(o&&o.length>0)return null;var s=l.attributes,u=[],d=[];if(s)for(var c=0;c<s.length;c++){var m=s[c].name.trim().toLowerCase(),p=l.getAttribute(m);""===p&&(p=null),"aria-"===m.substring(0,5)?u.push({name:m,value:p}):d.push({name:m,value:p})}var h=[],_=function(e){var t=n.AriaUtil.getConflictOrOverlappingHtmlAttribute(u[e],d,"overlapping");if(null===t)return"continue";t.forEach((function(t){"Pass"===t.result?h.push((0,a.RulePass)("pass")):"Failed"===t.result&&h.push((0,a.RuleFail)("fail_redundant",[u[e].name,t.attr]))}))};for(c=0;c<u.length;c++)_(c);return h.length>0?h:null}}},9695:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_attribute_required=void 0;var a=i(8235),l=i(490),n=i(8137),r=i(4377),o=i(4377);t.aria_attribute_required={id:"aria_attribute_required",context:"dom:*[role]",dependencies:["aria_role_allowed"],refactor:{Rpt_Aria_RequiredProperties:{Pass_0:"pass",Fail_1:"fail_missing"}},help:{"en-US":{group:"aria_attribute_required.html",pass:"aria_attribute_required.html",fail_missing:"aria_attribute_required.html"}},messages:{"en-US":{group:"The required attributes for the element with a role must be defined",pass:"The required attributes for the element with the role are defined",fail_missing:"Element with '{0}' role does not have the required ARIA attribute(s): '{1}'"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"4.1.2",level:o.eRulePolicy.VIOLATION,toolkitLevel:o.eToolkitLevel.LEVEL_ONE}],act:"4e8ab6",run:function(e,t,i){var o=e.dom.node,s=new Array,u=new Array,d=a.ARIADefinitions.designPatterns,c=n.CommonUtil.hasAttribute,m=l.AriaUtil.getElementAriaProperty(o),p=l.AriaUtil.getResolvedRole(o);if(p){var h=l.AriaUtil.getRoleRequiredProperties(p,o);if(d[p]&&null!==h){for(var _=l.AriaUtil.getAllowedAriaAttributes(o,p,m),b=!1,g=0,f=h.length;g<f;g++)_.includes(h[g])&&(c(o,h[g])||("aria-labelledby"==h[g]?c(o,"aria-label")&&"radiogroup"==p||(s.push(h[g]),b=!0):"aria-valuenow"==h[g]?c(o,"aria-valuetext")&&"progressbar"==p||(s.push(h[g]),b=!0):"aria-controls"==h[g]&&"combobox"==p||(s.push(h[g]),b=!0)));1==b&&u.push(p)}if(0==u.length||0==s.length)return(0,r.RulePass)("pass");var v=new Array;return v.push(u.join(", ")),v.push(s.join(", ")),(0,r.RuleFail)("fail_missing",v)}}}},1699:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_attribute_value_valid=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(8235);t.aria_attribute_value_valid={id:"aria_attribute_value_valid",context:"dom:*",dependencies:["aria_attribute_allowed"],refactor:{Rpt_Aria_ValidPropertyValue:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{group:"aria_attribute_value_valid.html",Pass_0:"aria_attribute_value_valid.html",Fail_1:"aria_attribute_value_valid.html"}},messages:{"en-US":{group:"ARIA property values must be valid",Pass_0:"Rule Passed",Fail_1:"The value \"{0}\" specified for attribute '{1}' on element <{2}> is not valid"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:"6a7281",run:function(e,t,i){var l=e.dom.node,s=new Array,u=new Array,d=new Array,c=o.ARIADefinitions.propertyDataTypes,m=l.attributes,p=0;if(m)for(var h=0,_=m.length;h<_;h++){var b=m[h].name;if(n.AriaUtil.isDefinedAriaAttribute(l,b)){var g=c[b],f=r.CommonUtil.normalizeSpacing(m[h].nodeValue);if(p++,g&&g.values){if(-1==g.values.indexOf(f))if(-1!=g.values.indexOf("undefined")&&0==f.length);else if("http://www.w3.org/2001/XMLSchema#nmtokens"===g.type){var v=m[h].nodeValue.trim().split(" ");if(v.length>1&&v.includes("all"))s.push(m[h].nodeValue.split(" ")),u.push(b),d.push(g.values.toString());else for(var A={},y=0;y<v.length;y++)""==v[y]||g.values.includes(v[y])||(A.hasOwnProperty(b)||(A[b]=!0,u.push(b)),s.push(v[y]),d.push(g.values.toString()))}else s.push(m[h].nodeValue.split(" ")),u.push(b),d.push(g.values.toString())}else if(g&&g.type&&"http://www.w3.org/2001/XMLSchema#int"===g.type){var w=parseInt(f);(isNaN(w)||""+w!==f)&&(s.push(f),u.push(b))}else if(g&&g.type&&"http://www.w3.org/2001/XMLSchema#decimal"==g.type){var k=parseFloat(f);isNaN(k)&&(s.push(f),u.push(b))}else if(g&&g.type&&"http://www.w3.org/2001/XMLSchema#boolean"==g.type){var C=f.trim().toLowerCase();"true"!==C&&"false"!==C&&(s.push(f),u.push(b))}else g&&g.type&&"http://www.w3.org/2001/XMLSchema#string"==g.type||p--}}var x=new Array,P=0==u.length;return x.push(s.join(", ")),x.push(u.join(", ")),x.push(l.nodeName.toLowerCase()),0==p?null:P?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",x)}}},4974:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_banner_label_unique=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(7788);t.aria_banner_label_unique={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:"aria_banner_label_unique.html",Fail_1:"aria_banner_label_unique.html",group:"aria_banner_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "banner" role do not have unique labels',group:'Each element with "banner" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"banner",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_banner_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_banner_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""!==d&&(!(d in u)||u[d]<=1)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}}},3054:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_banner_single=void 0;var a=i(4377),l=i(4377),n=i(490);t.aria_banner_single={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:"aria_banner_single.html",Fail_1:"aria_banner_single.html",group:"aria_banner_single.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "banner" role found on the page',group:'A page, document, or application should only have one element with "banner" role'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;return n.AriaUtil.hasRoleInSemantics(l,"banner")?null===n.AriaUtil.getSiblingWithRoleHidden(l,"banner",!0,!0)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1"):null}}},4649:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_child_tabbable=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(8235),s=i(8656);t.aria_child_tabbable={id:"aria_child_tabbable",context:"dom:*[role]",dependencies:["aria_role_allowed"],refactor:{Rpt_Aria_MissingFocusableChild:{pass:"pass",fail_missing_child:"fail_missing_child"}},help:{"en-US":{pass:"aria_child_tabbable.html",fail_missing_child:"aria_child_tabbable.html",group:"aria_child_tabbable.html"}},messages:{"en-US":{pass:"Rule Passed",fail_missing_child:'None of the descendent elements with "{1}" role is tabbable',group:"UI component must have at least one tabbable descendant for keyboard access"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(!(s.VisUtil.isNodeHiddenFromAT(l)||r.CommonUtil.isNodeDisabled(l)||n.AriaUtil.containsPresentationalChildrenOnly(l)||n.AriaUtil.shouldBePresentationalChild(l))){if(n.AriaUtil.hasRole(l,{list:!0,row:!0,rowgroup:!0,table:!0,grid:!0}))return null;if(l.hasAttribute("class")&&"mbl"==l.getAttribute("class").substring(0,3))return null;if("datalist"===l.nodeName.toLowerCase())return null;var u=l.getAttribute("role").trim().toLowerCase().split(/\s+/),d=l.getAttribute("id");if(d&&d.trim().length>0){var c=l.ownerDocument.querySelector("*[aria-controls='".concat(d,"'][aria-haspopup='true'], *[aria-controls='").concat(d,"'][aria-expanded='true']")),m=["combobox","listbox","menu","menubar","radiogroup","tree","treegrid"];if(c&&r.CommonUtil.isTabbable(c)&&u&&u.length>0&&u.some((function(e){return m.includes(e)})))return null}for(var p=!0,h=l.ownerDocument,_=r.CommonUtil.hasAttribute,b=new Array,g="",f=!1,v=0;v<u.length;++v)if(o.ARIADefinitions.containers.includes(u[v])&&"true"!=(_(l,"aria-disabled")?l.getAttribute("aria-disabled"):"")&&!_(l,"aria-activedescendant")&&!r.CommonUtil.isTabbable(l)){var A=o.ARIADefinitions.designPatterns[u[v]].reqChildren;if(A){f=!0,p=!1;for(var y="descendant::*[",w=0;w<A.length;w++)y+="@role='"+A[w]+"' or ";y=y.substring(0,y.length-4)+"]";for(var k=h.evaluate(y,l,r.CommonUtil.defaultNSResolver,0,null),C=k.iterateNext();C&&!p;)if(r.CommonUtil.shouldNodeBeSkippedHidden(C))C=k.iterateNext();else{if(!(p=r.CommonUtil.isTabbable(C)))for(var x=h.evaluate("descendant::*",C,r.CommonUtil.defaultNSResolver,0,null),P=x.iterateNext();P&&!p;)r.CommonUtil.shouldNodeBeSkippedHidden(P)||(p=r.CommonUtil.isTabbable(C)),P=x.iterateNext();p||(b=C.getAttribute("role").trim().split(" "),g=C.nodeName.toLowerCase()),C=k.iterateNext()}}}var R=new Array,T=new Array;return g.length>0&&b.length>0?(R.push(g),T.push(b.join(", "))):p=!0,f?p?(0,a.RulePass)("pass"):(0,a.RuleFail)("fail_missing_child",[R.toString(),T.toString()]):null}}}},4193:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_child_valid=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(8656);t.aria_child_valid={id:"aria_child_valid",context:"dom:*",dependencies:["aria_role_valid","aria_descendant_valid"],help:{"en-US":{group:"aria_child_valid.html",Pass:"aria_child_valid.html",Fail_no_child:"aria_child_valid.html",Fail_invalid_child:"aria_child_valid.html"}},messages:{"en-US":{group:"An element with an ARIA role must own a required child",Pass:"An element with an ARIA role owns a required child",Fail_no_child:'The element with role "{0}" does not own any child element with any of the following role(s): "{1}"',Fail_invalid_child:'The element with role "{0}" owns the child element with the role "{1}" that is not one of the allowed role(s): "{2}"'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:["bc4a75"],run:function(e,t,i){var l=e.dom.node;if(!o.VisUtil.isNodeHiddenFromAT(l)&&!r.CommonUtil.isNodeDisabled(l)&&!n.AriaUtil.containsPresentationalChildrenOnly(l)){var s=n.AriaUtil.getRoles(l,!1);if(s&&0!==s.length||(s=n.AriaUtil.getImplicitRole(l)),!s||0===s.length)return null;var u=["none","presentation"];if(s.some((function(e){return u.includes(e)})))return null;if(s.includes("combobox"))return null;var d=n.AriaUtil.getRequiredChildRoles(l,!0);if(d.includes("group")){var c=d.indexOf("group");c>-1&&d.splice(c,1)}if(0==d.length)return null;var m=n.AriaUtil.getDirectATChildren(l);if(!m||0==m.length){var p=l.getAttribute("aria-busy");return p&&"true"===p?null:((v=new Array).push(s.join(", ")),v.push(d.join(", ")),(0,a.RuleFail)("Fail_no_child",v))}for(var h=new Array,_=0;_<m.length;_++){var b=n.AriaUtil.getRoles(m[_],!1);b&&0!=b.length||(b=n.AriaUtil.getImplicitRole(m[_])),b&&b.length>0&&(b.some((function(e){return d.includes(e)}))||h.push(b.join(", ")))}if(h.length>0){for(var g=[],f=0;f<h.length;f++){var v;(v=new Array).push(s.join(", ")),v.push(h[f]),v.push(d.join(", ")),g.push((0,a.RuleFail)("Fail_invalid_child",v))}return g}return(0,a.RulePass)("Pass")}}}},3188:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_complementary_label_unique=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(7788);t.aria_complementary_label_unique={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:"aria_complementary_label_unique.html",Fail_1:"aria_complementary_label_unique.html",group:"aria_complementary_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "complementary" role do not have unique labels',group:'Each element with "complementary" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"complementary",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_complementary_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_complementary_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""!==d&&(!(d in u)||u[d]<=1)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}}},4176:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_complementary_label_visible=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137);t.aria_complementary_label_visible={id:"aria_complementary_label_visible",context:"dom:*[role], dom:aside",dependencies:["aria_complementary_labelled"],refactor:{Rpt_Aria_ComplementaryLandmarkLabel_Implicit:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"aria_complementary_label_visible.html",Fail_1:"aria_complementary_label_visible.html",group:"aria_complementary_label_visible.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Element with "complementary" role does not have a visible label',group:'Each element with "complementary" role should have a visible label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;return n.AriaUtil.hasRoleInSemantics(l,"complementary")?r.CommonUtil.attributeNonEmpty(l,"aria-labelledby")?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1"):null}}},7964:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_complementary_labelled=void 0;var a=i(4377),l=i(4377),n=i(1421),r=i(8656);t.aria_complementary_labelled={id:"aria_complementary_labelled",context:"aria:complementary",refactor:{Rpt_Aria_ComplementaryRequiredLabel_Implicit:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"aria_complementary_labelled.html",Fail_1:"aria_complementary_labelled.html",group:"aria_complementary_labelled.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Element with "complementary" role does not have a label',group:'Each element with "complementary" role must have a label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;return r.VisUtil.isNodeHiddenFromAT(l)?null:n.AccNameUtil.computeAccessibleName(l)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},2554:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_content_in_landmark=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(7788),s=i(7440),u=i(8656),d=i(5755);t.aria_content_in_landmark={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:"aria_content_in_landmark.html",Fail_1:"aria_content_in_landmark.html",group:"aria_content_in_landmark.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Content is not within a landmark element",group:"All content must reside within an element with a landmark role"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE},{id:["WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=o.CacheUtil.getCache(e.dom.node.ownerDocument,"aria_content_in_landmark",null);if(!l){(l={landmarks:{value:["banner","complementary","contentinfo","form","main","navigation","region","search"],type:"array"},possibleOrphanedWidgets:{value:["button","combobox","checkbox","grid","heading","link","list","listbox","menu","menubar","progressbar","radio","tablist","textbox","toolbar","tree","treegrid"],type:"array"},possibleOrphanedElements:{value:["p","table","input","textarea","select","button","a","ol","ul","dl","h1","h2","h3","h4","h5","h6","embed","object","area"],type:"array"},noLandmarkedRoles:{value:["alert","alertdialog","dialog","tooltip"],type:"array"},mapLandmarks:{},mapPossibleOrphanedWidgets:{},mapPossibleOrphanedElements:{},mapNoLandmarkedRoles:{}}).mapLandmarks={};for(var c=0;c<l.landmarks.value.length;++c)l.mapLandmarks[l.landmarks.value[c]]=!0;for(l.mapPossibleOrphanedWidgets={},c=0;c<l.possibleOrphanedWidgets.value.length;++c)l.mapPossibleOrphanedWidgets[l.possibleOrphanedWidgets.value[c]]=!0;for(l.mapPossibleOrphanedElements={},c=0;c<l.possibleOrphanedElements.value.length;++c)l.mapPossibleOrphanedElements[l.possibleOrphanedElements.value[c]]=!0;for(l.mapNoLandmarkedRoles={},c=0;c<l.noLandmarkedRoles.value.length;++c)l.mapNoLandmarkedRoles[l.noLandmarkedRoles.value[c]]=!0;o.CacheUtil.setCache(e.dom.node.ownerDocument,"aria_content_in_landmark",l)}var m=e.dom.node,p=m.nodeName.toLowerCase();if(!u.VisUtil.isNodeVisible(m)||null!=u.VisUtil.hiddenByDefaultElements&&null!=u.VisUtil.hiddenByDefaultElements&&u.VisUtil.hiddenByDefaultElements.indexOf(p)>-1)return(0,a.RulePass)("Pass_0");if(!r.CommonUtil.hasInnerContentHidden(m)&&-1===["area","input","embed","button","textarea","select"].indexOf(p))return(0,a.RulePass)("Pass_0");if("table"==p&&d.TableUtil.isLayoutTable(m))return null;var h=!0,_=n.AriaUtil.hasRole(m,l.mapPossibleOrphanedWidgets,!0);"link"===p&&(_=!1);var b=p in l.mapPossibleOrphanedElements;if(!_&&!b)return null;if(!(h=i.aria.map((function(e){return e.role})).filter((function(e){return e in l.mapLandmarks})).length>0)){for(var g=s.DOMWalker.parentElement(m);!h&&null!=g;)h=o.CacheUtil.getCache(g,"Rpt_Aria_OrphanedContent",!1),g=s.DOMWalker.parentElement(g);for(g=m.nextElementSibling;!h&&null!=g;)h=o.CacheUtil.getCache(g,"Rpt_Aria_OrphanedContent",!1),g=g.nextElementSibling;for(g=m.previousElementSibling;!h&&null!=g;)h=o.CacheUtil.getCache(g,"Rpt_Aria_OrphanedContent",!1),g=g.previousElementSibling;if(h)return null;if(o.CacheUtil.setCache(m,"Rpt_Aria_OrphanedContent",!0),h=o.CacheUtil.getCache(m,"Rpt_Aria_OrphanedContent_NoTrigger",!1)||n.AriaUtil.hasRole(m,l.mapNoLandmarkedRoles,!0)||n.AriaUtil.getAncestorWithRole(m,l.mapNoLandmarkedRoles,!0))return o.CacheUtil.setCache(m,"Rpt_Aria_OrphanedContent_NoTrigger",!0),null}return h?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},1229:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_contentinfo_label_unique=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(7788);t.aria_contentinfo_label_unique={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:"aria_contentinfo_label_unique.html",Fail_1:"aria_contentinfo_label_unique.html",group:"aria_contentinfo_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "contentinfo" role do not have unique labels',group:'Each element with "contentinfo" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"contentinfo",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_contentinfo_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_contentinfo_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""!==d&&(!(d in u)||u[d]<=1)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}}},8523:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_contentinfo_misuse=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137);t.aria_contentinfo_misuse={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:"aria_contentinfo_misuse.html",Fail_1:"aria_contentinfo_misuse.html",group:"aria_contentinfo_misuse.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Element with "contentinfo" role is present without an element with "main" role',group:'Each element with "contentinfo" role is only permitted with an element with "main" role'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;return n.AriaUtil.hasRoleInSemantics(l,"contentinfo")?r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"main",!0,!0).length>0?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1"):null}}},3781:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_contentinfo_single=void 0;var a=i(4377),l=i(4377),n=i(490);t.aria_contentinfo_single={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:"aria_contentinfo_single.html",Fail_1:"aria_contentinfo_single.html",group:"aria_contentinfo_single.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "contentinfo" role found on the page',group:'A page, document, or application should only have one element with "contentinfo" role'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;return n.AriaUtil.hasRoleInSemantics(l,"contentinfo")?n.AriaUtil.getSiblingWithRoleHidden(l,"contentinfo",!0,!0)?(0,a.RuleFail)("Fail_1"):(0,a.RulePass)("Pass_0"):null}}},8509:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_descendant_valid=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(8656);t.aria_descendant_valid={id:"aria_descendant_valid",context:"dom:*",dependencies:["aria_role_valid"],help:{"en-US":{group:"aria_descendant_valid.html",pass:"aria_descendant_valid.html",potential_child_implicit_role:"aria_descendant_valid.html",fail_child_explicit_role:"aria_descendant_valid.html"}},messages:{"en-US":{group:"Browsers ignore the explicit and implicit ARIA roles of the descendants of certain elements",pass:"The element contains valid descendants",potential_child_implicit_role:'The element with role "{0}" contains descendants with implicit roles "{1}" which are ignored by browsers',fail_child_explicit_role:'The element with role "{0}" contains descendants with roles "{1}" which are ignored by browsers'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:["307n5z"],run:function(e,t,i){var l=e.dom.node;if(!o.VisUtil.isNodeHiddenFromAT(l)&&!r.CommonUtil.isNodeDisabled(l)&&n.AriaUtil.containsPresentationalChildrenOnly(l)){var s=n.AriaUtil.getRoles(l,!1);if(s&&0!==s.length||(s=n.AriaUtil.getImplicitRole(l)),!s||0===s.length)return null;l.tagName.toLowerCase();var u=n.AriaUtil.getDirectATChildren(l);if(!(u&&u.length>0))return(0,a.RulePass)("pass");for(var d=new Array,c=new Array,m=0;m<u.length;m++){var p=u[m].nodeName.toLowerCase();if("img"!==p&&"svg"!==p){var h=n.AriaUtil.getRoles(u[m],!1);h&&h.length>0?d.push(h.join(", ")):(h=n.AriaUtil.getImplicitRole(u[m]))&&h.length>0&&c.push(h.join(", "))}}if(d.length>0){for(var _=[],b=0;b<d.length;b++)(g=new Array).push(s.join(", ")),g.push(d[b]),_.push((0,a.RuleFail)("fail_child_explicit_role",g));return _}if(c.length>0){for(_=[],b=0;b<c.length;b++){var g;(g=new Array).push(s.join(", ")),g.push(c[b]),_.push((0,a.RulePotential)("potential_child_implicit_role",g))}return _}}}}},3234:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_document_label_unique=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(7788);t.aria_document_label_unique={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:"aria_document_label_unique.html",Fail_1:"aria_document_label_unique.html",group:"aria_document_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "document" roles do not have unique labels',group:'Each element with "document" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"document",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_document_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_document_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""===d||!(d in u)||u[d]<=1?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}}},5217:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_eventhandler_role_valid=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137);t.aria_eventhandler_role_valid={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:"aria_eventhandler_role_valid.html",Fail_1:"aria_eventhandler_role_valid.html",group:"aria_eventhandler_role_valid.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"The <{0}> element with '{1}' does not have a valid ARIA role specified",group:"Elements with event handlers must have a valid ARIA role"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.CommonUtil.getAncestor(l,"svg"))return null;if(n.AriaUtil.hasAnyRole(l,!0))return(0,a.RulePass)("Pass_0");if(r.CommonUtil.isfocusableByDefault(l))return(0,a.RulePass)("Pass_0");var o=new Array;o.push(l.nodeName.toLowerCase());for(var s=new Array,u=["onblur","onfocus","onchange","onclick","ondblclick","onkeydown","onkeypress","onkeyup","onmousedown","onmouseup","onmousemove","onmouseout","onmouseover","onresize"],d=0;d<u.length;++d)l.hasAttribute(u[d])&&s.push(u[d]);var c=new Array;return c.push(s.join(", ")),(0,a.RuleFail)("Fail_1",[o.toString(),c.toString()])}}},4050:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_form_label_unique=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(7788);t.aria_form_label_unique={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:"aria_form_label_unique.html",Fail_1:"aria_form_label_unique.html",group:"aria_form_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "form" role do not have unique labels',group:'Each element with "form" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;if("form"===l.getAttribute("role")||l.hasAttribute("aria-label")||l.hasAttribute("aria-labelledby")||l.hasAttribute("title")){var s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"form",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_form_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_form_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""!==d&&(!(d in u)||u[d]<=1)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}return null}}},4275:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_graphic_labelled=void 0;var a=i(4377),l=i(490),n=i(8137),r=i(8656);t.aria_graphic_labelled={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:"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:{"en-US":{group:"An element with a graphics role must have a non-empty label",Pass_0:"Rule Passed",Fail_1:'Element with "{0}" graphics role has no label',Fail_2:'Element with "{0}" graphics role has no label or an empty label',Fail_3:"Element with \"{0}\" graphics role missing non-empty 'aria-label' or 'aria-labelledby'"}},rulesets:[],act:[{"7d6734":{Pass_0:"pass",Fail_1:"inapplicable",Fail_2:"fail",Fail_3:"inapplicable"}}],run:function(e,t,i){var o=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(o))return null;if(!o.hasAttribute("role")||!o.getAttribute("role").includes("graphics-"))return null;var s=l.AriaUtil.getAriaLabel(o).length>0;if(!s&&"svg"===o.nodeName.toLowerCase()){var u=o.querySelector("title");s=u&&n.CommonUtil.hasInnerContent(u)}return s||(s=n.CommonUtil.attributeNonEmpty(o,"title")),s?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_2",[o.getAttribute("role")])}}},1465:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_hidden_nontabbable=void 0;var a=i(8137),l=i(4377),n=i(4377);t.aria_hidden_nontabbable={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_nontabbable.html",Pass_0:"aria_hidden_nontabbable.html",Fail_1:"aria_hidden_nontabbable.html"}},messages:{"en-US":{group:"A hidden element should not contain any tabbable elements",Pass_0:"Rule Passed",Fail_1:"Element \"{0}\" should not be focusable within the subtree of an element with an 'aria-hidden' attribute with value 'true'"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:["1.3.1","4.1.2"],level:n.eRulePolicy.VIOLATION,toolkitLevel:n.eToolkitLevel.LEVEL_TWO}],act:"6cfa84",run:function(e,t,i){var n=e.dom.node,r=n.nodeName.toLowerCase();return a.CommonUtil.isTabbable(n)?(0,l.RuleFail)("Fail_1",[r]):(0,l.RulePass)("Pass_0")}}},405:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_id_unique=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(482),s=i(8235),u=i(8656);t.aria_id_unique={id:"aria_id_unique",context:"dom:*",refactor:{Rpt_Aria_ValidIdRef:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"aria_id_unique.html",Fail_1:"aria_id_unique.html",group:"aria_id_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"The 'id' \"{0}\" specified for the ARIA property '{1}' value is not valid",group:"The ARIA property must reference a non-empty unique id of an existing element that is visible"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:["59796f","6a7281"],run:function(e,t,i){var l=e.dom.node,d=!0,c=new Array,m=(new Array,o.FragmentUtil.getOwnerFragment(l)),p=l.attributes,h=new Array,_=0;if(p)for(var b=0,g=p.length;b<g;b++){d=!0;var f=p[b].name;if(n.AriaUtil.isDefinedAriaAttribute(l,f)){var v=s.ARIADefinitions.propertyDataTypes[f];if(v&&v.type){var A="http://www.w3.org/2001/XMLSchema#idref"==v.type;if(A||"http://www.w3.org/2001/XMLSchema#idrefs"==v.type){_++;var y=r.CommonUtil.normalizeSpacing(p[b].nodeValue).length,w=p[b].nodeValue.split(" ");if(y<1)d=!1,h.push('"'+p[b].nodeValue+'"');else if(A&&y>=1&&w.length>1){d=!1;for(var k=0,C=w.length;k<C;++k)""!=w[k]&&h.push(w[k])}if(d&&y>=1)for(var x=0,P=w.length;x<P;++x)if(w[x].length>0){var R=m.getElementById(w[x]);if((d=null!=R)&&!v.hiddenIDRefSupported&&(d=u.VisUtil.isNodeVisible(R)),d)break;""!=w[x]&&h.push(w[x])}}}d||c.push(f)}}var T=0==c.length,U=new Array,I=new Array,L=new Array;return T||(I.push(c.join(", ")),L.push(l.nodeName.toLowerCase()),h.length>0&&U.push(h.join(", "))),0==_?null:T?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[U.toString(),I.toString(),L.toString()])}}},9136:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_img_labelled=void 0;var a=i(4377),l=i(490),n=i(8137),r=i(8656);t.aria_img_labelled={id:"aria_img_labelled",context:"aria:img, aria:image",refactor:{HAAC_Aria_ImgAlt:{Pass_0:"Pass_0",Fail_1:"Fail_1",Fail_2:"Fail_2",Fail_3:"Fail_3"}},help:{"en-US":{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:{"en-US":{group:'An element with "img" role must have a non-empty label',Pass_0:"Rule Passed",Fail_1:'Element with "img" role has no label',Fail_2:'Element with "img" role has no label or an empty label',Fail_3:"Element with \"img\" role missing non-empty 'aria-label' or 'aria-labelledby'"}},rulesets:[],act:["23a2a8",{"7d6734":{Pass_0:"pass",Fail_1:"inapplicable",Fail_2:"fail",Fail_3:"inapplicable"}}],run:function(e,t,i){var o=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(o))return null;if(!o.hasAttribute("role"))return null;var s=o.nodeName.toLocaleLowerCase();if("svg"!==s&&"img"!==s){var u=l.AriaUtil.getAriaLabel(o).length>0;if(!u&&"svg"===o.nodeName.toLowerCase()){var d=o.querySelector("title");u=d&&n.CommonUtil.hasInnerContent(d)}return u||(u=n.CommonUtil.attributeNonEmpty(o,"title")),u?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_2")}}}},5117:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_keyboard_handler_exists=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(8235),s=i(8656);t.aria_keyboard_handler_exists={id:"aria_keyboard_handler_exists",context:"dom:*[role]",dependencies:["aria_role_allowed"],refactor:{Rpt_Aria_MissingKeyboardHandler:{pass:"pass",potential_no_keyboard_access:"potential_no_keyboard_access"}},help:{"en-US":{pass:"aria_keyboard_handler_exists.html",potential_no_keyboard_access:"aria_keyboard_handler_exists.html",group:"aria_keyboard_handler_exists.html"}},messages:{"en-US":{pass:"Rule Passed",potential_no_keyboard_access:'Verify the <{0}> element with "{1}" role has keyboard access',group:"Interactive WAI_ARIA UI components must provide keyboard access"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(!s.VisUtil.isNodeHiddenFromAT(l)&&!r.CommonUtil.isNodeDisabled(l)){var u=!0,d=u,c=l.ownerDocument,m=o.ARIADefinitions.designPatterns,p=n.AriaUtil.getRoles(l,!1);if("datalist"===l.nodeName.toLowerCase()&&p&&p.includes("listbox"))return null;for(var h=["combobox","grid","listbox","menu","menubar","radiogroup","tablist","tree","treegrid"],_=0,b=h;_<b.length;_++){var g=b[_];if(null!=n.AriaUtil.getAncestorWithRole(l,g,!0))return null}for(var f=r.CommonUtil.hasAttribute,v=new Array,A=0;A<p.length;++A){if(m[p[A]],h.indexOf(p[A])>=0&&!(f(l,"aria-disabled")&&l.getAttribute("aria-disabled")||(u=l.hasAttribute("onkeydown")||l.hasAttribute("onkeypress")||l.hasAttribute("onkeyup"))))if(f(l,"aria-activedescendant"))u=!0;else{var y,w=o.ARIADefinitions.designPatterns[p[A]].reqChildren;if(w)for(var k=0,C=w.length;k<C;k++)for(var x="*[contains(@role,'"+w[k]+"')]",P=c.evaluate(x,l,r.CommonUtil.defaultNSResolver,0,null),R=P.iterateNext();R;){if(!(u=R.hasAttribute("onkeydown")||R.hasAttribute("onkeypress")))for(var T="descendant::*",U=(y=c.evaluate(T,R,r.CommonUtil.defaultNSResolver,0,null)).iterateNext();U&&!u;)r.CommonUtil.shouldNodeBeSkippedHidden(U)||(u=r.CommonUtil.isTabbable(U)&&(U.hasAttribute("onkeydown")||U.hasAttribute("onkeypress")))||"a"==U.nodeName.toLowerCase()&&U.hasAttribute("href")&&(u=(I=U.getAttribute("href")).startsWith("javascript:")&&-1==I.indexOf("void")&&I.length>11),U=y.iterateNext();if(!u)break;R=P.iterateNext()}else for(T="descendant::*",U=(y=c.evaluate(T,l,r.CommonUtil.defaultNSResolver,0,null)).iterateNext();U&&!u;)if(r.CommonUtil.shouldNodeBeSkippedHidden(U))U=y.iterateNext();else{var I;(u=r.CommonUtil.isTabbable(U)&&(U.hasAttribute("onkeydown")||U.hasAttribute("onkeypress")))||"a"==U.nodeName.toLowerCase()&&U.hasAttribute("href")&&(u=(I=U.getAttribute("href")).startsWith("javascript:")&&-1==I.indexOf("void")&&I.length>11),U=y.iterateNext()}}u||v.push(p[A]),!u&&d&&(d=u)}var L=new Array;L.push(l.nodeName.toLowerCase());var E=new Array;E.push(v.join(", "));var W=l.getAttribute("id");return W&&W.trim().length>0&&l.ownerDocument.querySelector("*[aria-controls='".concat(W,"'][role='combobox']"))?null:d?(0,a.RulePass)("pass"):(0,a.RulePotential)("potential_no_keyboard_access",[L.toString(),E.toString()])}}}},9062:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_landmark_name_unique=void 0;var a=i(4377),l=i(4377),n=i(4944),r=i(295),o=i(482),s=i(7788),u=i(1421);t.aria_landmark_name_unique={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:"aria_landmark_name_unique.html",Fail_0:"aria_landmark_name_unique.html",group:"aria_landmark_name_unique.html"}},messages:{"en-US":{Pass_0:"Multiple elements with \"{0}\" landmarks within the same parent region are distinguished by unique 'aria-label' or 'aria-labelledby'",Fail_0:'Multiple elements with "{0}" landmarks within the same parent region are not distinguished from one another because they have the same "{1}" label',group:"Each landmark should have a unique 'aria-labelledby' or 'aria-label' or be nested in a different parent region"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE},{id:["WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){for(var l=e.dom.node,d=l,c=[];d;)c.unshift(d),d=d.parentElement;c.forEach((function(e){if(null!==e&&("DIALOG"==e.tagName||"dialog"==e.getAttribute("role")))return null}));var m=o.FragmentUtil.getOwnerFragment(l),p=s.CacheUtil.getCache(l.ownerDocument,"aria_landmark_name_unique",null);if(!p){p={navigationNodes:[],navigationNodesComputedLabels:[],navigationNodesParents:[],navigationNodesMatchFound:[]};for(var h=m.querySelectorAll('aside,[role="complementary"], footer,[role="contentinfo"], header,[role="banner"], main,[role="main"], nav,[role="navigation"], form,[role="form"], section,[role="region"],[role="search"]'),_=Array.from(h),b=[],g=[],f=[],v=0;v<_.length;v++){for(var A=_[v],y=!1;A;)null!==(A=A.parentElement)&&("DIALOG"!=A.tagName&&"dialog"!=A.getAttribute("role")||(y=!0));y||f.push(_[v])}for(_=f,v=0;v<_.length;v++){var w=[];for(A=_[v].parentElement;A;)w.push(A),A=A.parentElement;for(var k=0;k<w.length;k++){var C=["ASIDE","FOOTER","FORM","HEADER","MAIN","NAV","SECTION"].includes(w[k].tagName),x=!1;if(w[k].hasAttribute("role")&&(x=["complementary","contentinfo","form","banner","main","navigation","region","search"].includes(w[k].getAttribute("role"))),C||x){b.push(w[k]);break}if(k===w.length-1){b.push(null);break}}}var P=[];for(v=0;v<_.length;v++){var R=u.AccNameUtil.computeAccessibleName(_[v]);P.push(R&&R.name&&R.name.trim().length>0?R.name.trim():"")}for(v=0;v<b.length;v++){var T=!1,U=!1;for(k=0;k<b.length;k++)if(k!==v){if(null===b[v]&&null===b[k]){if(n.ARIAMapper.nodeToRole(_[v])===n.ARIAMapper.nodeToRole(_[k])){if(P[v]===P[k]){g.push("Fail_0"),T=!0;break}U=!0}}else if(null===b[v]||null===b[k])continue;if(r.DOMUtil.sameNode(b[v],b[k])&&n.ARIAMapper.nodeToRole(_[v])===n.ARIAMapper.nodeToRole(_[k])){if(P[v]===P[k]){g.push("Fail_0"),T=!0;break}U=!0}}T||(U?g.push("Pass_0"):g.push("null"))}p.navigationNodesComputedLabels=P,p.navigationNodes=_,p.navigationNodesParents=b,p.navigationNodesMatchFound=g,s.CacheUtil.setCache(l.ownerDocument,"aria_landmark_name_unique",p)}var I=-1;for(v=0;v<p.navigationNodes.length;v++)l.isSameNode(p.navigationNodes[v])&&(I=v);return-1===I?null:"Pass_0"===p.navigationNodesMatchFound[I]?(0,a.RulePass)("Pass_0",[n.ARIAMapper.nodeToRole(p.navigationNodes[I])]):"Fail_0"===p.navigationNodesMatchFound[I]?(0,a.RuleFail)("Fail_0",[n.ARIAMapper.nodeToRole(p.navigationNodes[I]),p.navigationNodesComputedLabels[I]]):null}}},5746:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_main_label_unique=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137);t.aria_main_label_unique={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:"aria_main_label_unique.html",Fail_1:"aria_main_label_unique.html",group:"aria_main_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "main" role do not have unique labels',group:'Each element with "main" role must have unique label that describes its purposes'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){for(var l=e.dom.node,o=n.AriaUtil.getAriaLabel(l),s=n.AriaUtil.getAncestorWithRole(l,"document",!0),u=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"main",!0,!0),d=null,c=0;c<u.length;++c)if(u[c]!==l&&(d=(0,a.RulePass)("Pass_0"),n.AriaUtil.getAncestorWithRole(u[c],"document",!0)===s&&n.AriaUtil.getAriaLabel(u[c])===o)){d=(0,a.RuleFail)("Fail_1");break}return d}}},8685:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_main_label_visible=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137);t.aria_main_label_visible={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:"aria_main_label_visible.html",Fail_1:"aria_main_label_visible.html",group:"aria_main_label_visible.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "main" role do not have unique visible labels',group:'Each element with "main" role should have a unique visible label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,o=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"main",!0,!0);return 0===o.length||1===o.length?null:n.AriaUtil.hasUniqueAriaLabelledby(o)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},2678:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_navigation_label_unique=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(7788);t.aria_navigation_label_unique={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:"aria_navigation_label_unique.html",Fail_1:"aria_navigation_label_unique.html",group:"aria_navigation_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "navigation" role do not have unique labels',group:'Each element with "navigation" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"navigation",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_navigation_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_navigation_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""!==d&&(!(d in u)||u[d]<=1)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}}},971:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_parent_required=void 0;var a=i(4377),l=i(4377),n=i(8235),r=i(490),o=i(8137),s=i(8656);t.aria_parent_required={id:"aria_parent_required",context:"dom:*[role]",dependencies:["aria_role_allowed"],refactor:{Rpt_Aria_RequiredParent_Native_Host_Sematics:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{group:"aria_parent_required.html",Pass_0:"aria_parent_required.html",Fail_1:"aria_parent_required.html"}},messages:{"en-US":{group:"Each element with an implicit or explicit role must be contained within a valid element",Pass_0:"Rule Passed",Fail_1:'Element with "{0}" role is not contained in or owned by an element with one of the following roles: "{1}"'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:"ff89c9",run:function(e,t,i){var l=e.dom.node;if(!(s.VisUtil.isNodeHiddenFromAT(l)||o.CommonUtil.isNodeDisabled(l)||r.AriaUtil.shouldBePresentationalChild(l)||s.VisUtil.isNodePresentational(l))){for(var u=!0,d=n.ARIADefinitions.designPatterns,c=new Array,m=new Array,p=0,h=i.aria.map((function(e){return e.role})),_=h[h.length-2],b=2;"none"===_;)b++,_=h[h.length-b];var g=r.AriaUtil.getResolvedRole(l);if(d[g]&&null!=d[g].container){p++,u=!1;for(var f=0,v=(m=d[g].container).length;!u&&f<v&&!(u=_===m[f]);f++);0==u&&c.push(g)}var A=new Array;A.push(c.join(", "));var y=new Array;return y.push(m.join(", ")),0==p?null:u?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[A.toString(),y.toString()])}}}},3709:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_region_label_unique=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(7788);t.aria_region_label_unique={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:"aria_region_label_unique.html",Fail_1:"aria_region_label_unique.html",group:"aria_region_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "region" role do not have unique labels',group:'Each element with "region" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;if("region"===l.getAttribute("role")||l.hasAttribute("aria-label")||l.hasAttribute("aria-labelledby")&&!r.CommonUtil.isIdReferToSelf(l,l.getAttribute("aria-labelledby"))||l.hasAttribute("title")){var s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"region",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_region_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_region_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""!==d&&(!(d in u)||u[d]<=1)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}return null}}},6486:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_region_labelled=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(8656);t.aria_region_labelled={id:"aria_region_labelled",context:"aria:region",refactor:{Rpt_Aria_RegionLabel_Implicit:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"aria_region_labelled.html",Fail_1:"aria_region_labelled.html",group:"aria_region_labelled.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Element with "region" role does not have a label',group:'Each element with "region" role must have a label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;return o.VisUtil.isNodeHiddenFromAT(l)?null:n.AriaUtil.hasAriaLabel(l)||r.CommonUtil.attributeNonEmpty(l,"title")?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},4151:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_role_allowed=void 0;var a=i(4377),l=i(4377),n=i(490);t.aria_role_allowed={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:"aria_role_allowed.html",Pass_0:"aria_role_allowed.html",Fail_2:"aria_role_allowed.html",Potential_1:"aria_role_allowed.html"}},messages:{"en-US":{group:"Elements must have a valid 'role' per ARIA specification",Pass_0:"Rule Passed",Fail_2:"The role '{0}' defined on the element is not valid per ARIA specification",Potential_1:"Some of the roles, '{0}', defined on the element are not valid per ARIA specification"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"4.1.2",level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:"674b10",run:function(e,t,i){var l=e.dom.node,r=l.getAttribute("role").trim().toLowerCase();if(0===r.length)return null;if(l.hasAttribute("aria-hidden")&&"true"===l.getAttribute("aria-hidden").toLowerCase())return null;var o=n.AriaUtil.getRolesUndefinedByAria(l);if(!o||0===o.length)return(0,a.RulePass)("Pass_0");var s=r.split(/\s+/);return o.length===s.length?(0,a.RuleFail)("Fail_2",[o.join(",")]):o.length>0?(0,a.RulePotential)("Potential_1",[o.join(",")]):void 0}}},8545:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_role_redundant=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(5755);t.aria_role_redundant={id:"aria_role_redundant",context:"dom:*[role]",help:{"en-US":{pass:"aria_role_redundant.html",fail_redundant:"aria_role_redundant.html",group:"aria_role_redundant.html"}},messages:{"en-US":{pass:"An explicitly-assigned ARIA role is not redundant with the implicit role of the element",fail_redundant:'The explicitly-assigned ARIA role "{0}" is redundant with the implicit role of the element <{1}>',group:"An explicitly-assigned ARIA role should not be redundant with the implicit role of the element"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next"],num:["ARIA"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,o=l.tagName.toLowerCase(),s=n.AriaUtil.getRoles(l,!1);if(s&&0!==s.length){if(!n.AriaUtil.areRolesDefined(s))return null;if(["td","th","tr"].includes(o)){var u=r.TableUtil.isTableDescendant(i);if(null!==u&&u.length>0)return null}var d=n.AriaUtil.getImplicitRole(l);if(!d||0===d.length)return(0,a.RulePass)("pass");for(var c=[],m=0;m<s.length;m++)d.includes(s[m])?c.push((0,a.RuleFail)("fail_redundant",[s[m],o])):c.push((0,a.RulePass)("pass"));return c.length>0?c:null}}}},8538:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_search_label_unique=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(7788);t.aria_search_label_unique={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:"aria_search_label_unique.html",Fail_1:"aria_search_label_unique.html",group:"aria_search_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "search" role do not have unique labels',group:'Each element with "search" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"search",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_search_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_search_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""!==d&&(!(d in u)||u[d]<=1)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}}},1908:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_attribute_valid=t.aria_role_valid=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137);t.aria_role_valid={id:"aria_role_valid",context:"dom:*",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_role_valid.html",Fail_1:"aria_role_valid.html",Fail_2:"aria_role_valid.html",group:"aria_role_valid.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"The ARIA role '{0}' is not valid for the element <{1}>",Fail_2:"The ARIA role '{0}' is not valid for the element <{1}> and may be ignored by the browser since the element is focusable",group:"ARIA roles must be valid for the element to which they are assigned"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,o=l.tagName.toLowerCase();if(1!==l.nodeType)return null;var s=n.AriaUtil.getRolesUndefinedByAria(l);if(s&&s.length>0)return null;var u=n.AriaUtil.getDeprecatedAriaRoles(l);if(u&&u.length>0)return null;var d=n.AriaUtil.getDeprecatedAriaAttributes(l);if(d&&d.length>0)return null;if(["td","th","tr"].includes(o)){var c=r.CommonUtil.isTableDescendant(i);if(null!==c&&c.length>0)return null}var m=n.AriaUtil.getUserDefinedRoles(l);if(!m||0===m.length)return null;if(m.includes("generic"))return(0,a.RuleFail)("Fail_1",["generic",o]);var p=n.AriaUtil.getInvalidRoles(l);return null===p||0===p.length?(0,a.RulePass)("Pass_0",[m.join(", "),o]):p.includes("presentation")||p.includes("none")&&r.CommonUtil.isTabbable(l)?(0,a.RuleFail)("Fail_2",[p.join(", "),o]):p.length>0?(0,a.RuleFail)("Fail_1",[p.join(", "),o]):m.length>0?(0,a.RulePass)("Pass_0",[m.join(", "),o]):null}},t.aria_attribute_valid={id:"aria_attribute_valid",context:"dom:*",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_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:{"en-US":{group:"ARIA attributes should be valid for the element and ARIA role to which they are assigned",Pass:"ARIA attributes are valid for the element and ARIA role",Fail_invalid_role_attr:'The ARIA attributes "{0}" are not valid for the element <{1}> with ARIA role "{2}"',Fail_invalid_implicit_role_attr:'The ARIA attributes "{0}" are not valid for the element <{1}> with implicit ARIA role "{2}"'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["ARIA"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:["5c01ea",{"46ca7f":{Pass:"pass",Fail_invalid_role_attr:"fail",Fail_invalid_implicit_role_attr:"fail"}}],run:function(e,t,i){var l=e.dom.node;if(1!==l.nodeType)return null;var r=n.AriaUtil.getUserDefinedAriaAttributes(l);if(null===r||0===r.length)return null;var o=n.AriaUtil.getUserDefinedRoles(l),s=!0;if(o&&o.length>0){if(!n.AriaUtil.areRolesDefined(o))return null}else o=n.AriaUtil.getImplicitRole(l),s=!1;var u=l.tagName.toLowerCase(),d=n.AriaUtil.getInvalidAriaAttributes(l);return d&&0!==d.length?o.length>0?s?(0,a.RuleFail)("Fail_invalid_role_attr",[d.join(", "),u,o.join(", ")]):(0,a.RuleFail)("Fail_invalid_implicit_role_attr",[d.join(", "),u,o.join(", ")]):(0,a.RuleFail)("Fail_invalid_role_attr",[d.join(", "),u,"none"]):(0,a.RulePass)("Pass",[r.join(", "),u,o.join(", ")])}}},6360:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_toolbar_label_unique=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(7788);t.aria_toolbar_label_unique={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:"aria_toolbar_label_unique.html",Fail_1:"aria_toolbar_label_unique.html",group:"aria_toolbar_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "toolbar" roles do not have unique labels',group:'Each element with "toolbar" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"toolbar",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_toolbar_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_toolbar_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""!==d&&(!(d in u)||u[d]<=1)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}}},5386:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_widget_labelled=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(4944),s=i(482),u=i(8235),d=i(295);t.aria_widget_labelled={id:"aria_widget_labelled",context:"dom:*",refactor:{Rpt_Aria_WidgetLabels_Implicit:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{group:"aria_widget_labelled.html",Pass_0:"aria_widget_labelled.html",Fail_1:"aria_widget_labelled.html"}},messages:{"en-US":{group:"Interactive component must have a programmatically associated name",Pass_0:"Rule Passed",Fail_1:"Interactive component with ARIA role '{0}' does not have a programmatically associated name"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:"m6b1q3",run:function(e,t,i){var l=e.dom.node;if(l.hasAttribute("type")&&"hidden"===l.getAttribute("type")||n.AriaUtil.getAncestorWithRole(l,"combobox")&&!n.AriaUtil.hasRoleInSemantics(l,"textbox")&&!n.AriaUtil.hasRoleInSemantics(l,"searchbox"))return null;var c=o.ARIAMapper.nodeToRole(l),m=l.nodeName.toLowerCase();if(["button","checkbox","combobox","listbox","menuitemcheckbox","menuitemradio","radio","searchbox","slider","spinbutton","switch","textbox","progressbar","link"].includes(c))return null;if("output"===m||"input"===m&&l.getAttribute("type"),!l.hasAttribute("role")&&-1!=["input","textarea","select","button","datalist","optgroup","option","keygen","output","progress","meter"].indexOf(l.nodeName.toLowerCase()))return null;for(var p=["listbox","tree","grid","dialog"],h=0;h<p.length;h++)if(n.AriaUtil.hasRoleInSemantics(l,p[h]))for(var _=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"combobox",!0,!0),b=0;b<_.length;b++){var g=_[b],f=r.CommonUtil.getElementAttribute(g,"aria-owns");if(f)for(var v=r.CommonUtil.normalizeSpacing(f.trim()).split(" "),A=0;A<v.length;A++)if(s.FragmentUtil.getById(l,v[A])===l)return null}for(var y=!0,w=u.ARIADefinitions.designPatterns,k=n.AriaUtil.getRoles(l,!0),C=0,x=["widget","liveRegion","window"],P=(A=0,k.length);y&&A<P;++A){var R=w[k[A]];R&&R.nameRequired&&R.roleType&&x.includes(R.roleType)&&(++C,!(y=n.AriaUtil.hasAriaLabel(l)||r.CommonUtil.attributeNonEmpty(l,"title")||r.CommonUtil.getLabelForElementHidden(l,!0))&&R.nameFrom&&R.nameFrom.indexOf("contents")>=0&&(y=r.CommonUtil.hasInnerContentOrAlt(l)),y||(y=r.CommonUtil.hasImplicitLabel(l)),y||"img"!==l.tagName.toLowerCase()||l.hasAttribute("role")||!l.hasAttribute("alt")||(y=d.DOMUtil.cleanWhitespace(l.getAttribute("alt")).trim().length>0),R.nameFrom.indexOf("prohibited"))}return 0===C?null:y?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[c])}}},8752:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.asciiart_alt_exists=void 0;var a=i(4377),l=i(8137);t.asciiart_alt_exists={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:"asciiart_alt_exists.html",Potential_1:"asciiart_alt_exists.html",group:"asciiart_alt_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that ASCII art has a text alternative",group:"ASCII art must have a text alternative"}},rulesets:[],act:[],run:function(e,t,i){var n=e.dom.node;if("pre"==n.nodeName.toLowerCase()&&(n.previousSibling&&"code"==n.previousSibling.nodeName.toLowerCase()||n.getElementsByTagName("code").length>0||l.CommonUtil.getAncestor(n,"code")))return(0,a.RulePass)("Pass_0");for(var r=!0,o=l.CommonUtil.getInnerText(n),s=0,u=0,d="",c=0;r&&c<o.length;++c){var m=o.substr(c,1);/[\w!@#$%&\*().,?\[\]{}<>=":\/\\-]/.test(m)?d==m?u+=1:u=0:(/\s/.test(m)||(s+=1),u=0),d=m,(s>=5||u>=4)&&(r=!1)}return r?(0,a.RulePass)("Pass_0"):r?void 0:(0,a.RulePotential)("Potential_1")}}},4392:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.blink_css_review=void 0;var a=i(4377),l=i(4377),n=i(8137);t.blink_css_review={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:"blink_css_review.html",Pass_0:"blink_css_review.html",Potential_1:"blink_css_review.html"}},messages:{"en-US":{group:"Do not use the \"blink\" value of the 'text-decoration' property for longer than five seconds",Pass_0:"Rule Passed",Potential_1:"Check the \"blink\" value of the CSS 'text-decoration' property is not used for more than than five seconds"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"2.2.2",level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node,r=n.CommonUtil.getInnerText(l);l.hasAttribute("style")&&(r=l.getAttribute("style"));var o=-1==r.toLowerCase().indexOf("text-decoration:blink");return o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RulePotential)("Potential_1")}}},932:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.blink_elem_deprecated=void 0;var a=i(4377),l=i(4377);t.blink_elem_deprecated={id:"blink_elem_deprecated",context:"dom:blink",refactor:{WCAG20_Blink_AlwaysTrigger:{Fail_1:"Fail_1"}},help:{"en-US":{group:"blink_elem_deprecated.html",Fail_1:"blink_elem_deprecated.html"}},messages:{"en-US":{group:"Content that blinks persistently must not be used",Fail_1:"Content found that blinks persistently"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"2.2.2",level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){return(0,a.RuleFail)("Fail_1")}}},6255:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.blockquote_cite_exists=void 0;var a=i(4377),l=i(4377),n=i(8137);t.blockquote_cite_exists={id:"blockquote_cite_exists",context:"dom:blockquote",refactor:{RPT_Blockquote_HasCite:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"blockquote_cite_exists.html",Potential_1:"blockquote_cite_exists.html",group:"blockquote_cite_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that <blockquote> should have a 'cite' attribute and not be used for indentation only",group:"Use <blockquote> only for quotations, not indentation"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,r=n.CommonUtil.attributeNonEmpty(l,"cite");if(!r){var o=n.CommonUtil.getDocElementsByTag(l,"cite");r=null!=o&&o.length>0}return r?(0,a.RulePass)("Pass_0"):r?void 0:(0,a.RulePotential)("Potential_1")}}},5743:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.canvas_content_described=void 0;var a=i(4377),l=i(4377),n=i(8656);t.canvas_content_described={id:"canvas_content_described",context:"dom:canvas",refactor:{HAAC_Canvas:{Pass_0:"Pass_0",Manual_1:"Manual_1"}},help:{"en-US":{Pass_0:"canvas_content_described.html",Manual_1:"canvas_content_described.html",group:"canvas_content_described.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Manual_1:"Verify accessibility of the <canvas> element",group:"The <canvas> element may not be accessible"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1","2.1.1","4.1.2"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;if(n.VisUtil.isNodeHiddenFromAT(l))return null;var r=l.innerHTML.trim().length>0;return r?(0,a.RulePass)("Pass_0"):r?void 0:(0,a.RuleManual)("Manual_1")}}},2671:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.caption_track_exists=void 0;var a=i(4377),l=i(4377);t.caption_track_exists={id:"caption_track_exists",context:"dom:video",refactor:{HAAC_Video_HasNoTrack:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"caption_track_exists.html",Potential_1:"caption_track_exists.html",group:"caption_track_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that captions are available for any meaningful audio or provide a caption track for the <video> element",group:"A <video> element must have a text alternative for any meaningful audio content"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.2.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,n=!1;if("true"===l.getAttribute("aria-hidden"))return null;for(var r=l.getElementsByTagName("track"),o=0;o<r.length;++o)n=n||"captions"===r[o].getAttribute("kind");if(l.textTracks&&l.textTracks.length>0)for(o=0;o<l.textTracks.length;o++)n=n||"captions"===l.textTracks[o].kind;return n?(0,a.RulePass)("Pass_0"):(0,a.RulePotential)("Potential_1")}}},3974:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.combobox_active_descendant=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(482),o=i(7440),s=i(7788),u=i(8656);t.combobox_active_descendant={id:"combobox_active_descendant",context:"aria:combobox",dependencies:["combobox_popup_reference"],help:{"en-US":{Pass:"combobox_active_descendant.html",Fail_missing:"combobox_active_descendant.html",Fail_not_in_popup:"combobox_active_descendant.html",Fail_active_role_invalid:"combobox_active_descendant.html",Fail_active_not_selected:"combobox_active_descendant.html",group:"combobox_active_descendant.html"}},messages:{"en-US":{Pass:"'aria-activedescendant' is used appropriately for this combobox",Fail_missing:"The element referenced by 'aria-activedescendant' \"{0}\" does not exist",Fail_not_in_popup:"The element referenced by 'aria-activedescendant' \"{0}\" does not exist within the popup referenced by 'id' \"{1}\"",Fail_active_role_invalid:"The 'aria-activedescendant' \"{0}\" references an element with the roles \"{1}\", which does not have a valid ARIA role of 'option', 'gridcell', 'row', or 'treeitem'",Fail_active_not_selected:"The 'aria-activedescendant' \"{0}\" references an element that does not have 'aria-selected' set to true",group:"'aria-activedescendant' must be used to define focus within the combobox popup, except when using a dialog popup"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,d=s.CacheUtil.getCache(l.ownerDocument,"combobox",{});if(!d)return null;var c=d[e.dom.rolePath];if(!c)return null;var m=c.popupElement,p=c.popupId;if(!m)return null;var h=l.getAttribute("aria-activedescendant");if(!h||0===h.trim().length)return null;var _=r.FragmentUtil.getById(l,h);if(!_)return(0,a.RuleFail)("Fail_missing",[h]);var b=!1;if(m)for(var g=new o.DOMWalker(m);!b&&g.nextNode()&&g.node!=m&&g.node!=m.nextSibling;)1===g.node.nodeType&&u.VisUtil.isNodeVisible(g.node)&&(b=g.elem().getAttribute("id")===h);var f=[];b||f.push((0,a.RulePass)("Fail_not_in_popup",[h,p]));var v=n.AriaUtil.getRoles(_,!0);return 0===["option","gridcell","row","treeitem"].filter((function(e){return v.includes(e)})).length&&f.push((0,a.RuleFail)("Fail_active_role_invalid",[h,v.join(",")])),"true"!==_.getAttribute("aria-selected")&&f.push((0,a.RuleFail)("Fail_active_not_selected",[h])),0===f.length?(0,a.RulePass)("Pass"):f}}},9881:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.combobox_autocomplete_valid=void 0;var a=i(4377),l=i(4377),n=i(7440),r=i(7788),o=i(8656);t.combobox_autocomplete_valid={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_valid.html",Fail_1:"combobox_autocomplete_valid.html",Fail_inline:"combobox_autocomplete_valid.html",group:"combobox_autocomplete_valid.html"}},messages:{"en-US":{Pass:"The combobox does not use 'aria-autocomplete' value '\"inline\"' nor does it have 'aria-autocomplete' defined within the popup",Fail_1:"The combobox has the 'aria-autocomplete' attribute incorrectly set on an element within the popup referenced by \"{0}\"",Fail_inline:"The combobox does not support an 'aria-autocomplete' attribute value set to '\"inline\"' ",group:"A combobox that supports autocompletion behavior must have the 'aria-autocomplete' attribute only on its text input element with a valid value; a value of '\"inline\"' is not supported"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,s=r.CacheUtil.getCache(l.ownerDocument,"combobox",{});if(!s)return null;var u=s[e.dom.rolePath];if(!u)return null;var d=u.popupId,c=u.popupElement,m=[];"inline"===l.getAttribute("aria-autocomplete")&&m.push((0,a.RuleFail)("Fail_inline"));var p=!0;if(c&&o.VisUtil.isNodeVisible(c)&&(p=!c.hasAttribute("aria-autocomplete"))&&c.children&&c.children.length>0)for(var h=new n.DOMWalker(c);p&&h.nextNode()&&(1!==h.node.nodeType||!o.VisUtil.isNodeVisible(h.node)||(p=!h.elem().hasAttribute("aria-autocomplete"),!h.bEndTag||h.node!==c.lastElementChild)););return p||m.push((0,a.RuleFail)("Fail_1",[d])),m.length>0?m:(0,a.RulePass)("Pass")}}},1226:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.combobox_design_valid=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(8656),s=i(7788);t.combobox_design_valid={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_design_valid.html","Fail_1.1":"combobox_design_valid.html","Pass_1.2":"combobox_design_valid.html",group:"combobox_design_valid.html"}},messages:{"en-US":{"Pass_1.0":"The combobox design pattern is detected as ARIA 1.0, which is allowed by ARIA 1.2","Fail_1.1":"The combobox design pattern is detected as ARIA 1.1, which is not allowed by ARIA 1.2","Pass_1.2":"The combobox design pattern is detected as ARIA 1.2",group:"The combobox design pattern must be valid for ARIA 1.2"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(!o.VisUtil.isNodeVisible(l)||r.CommonUtil.isNodeDisabled(l))return null;var u,d="select"===(u=l).tagName.toLowerCase()&&"combobox"!==u.getAttribute("role")?"implicit":"input"!==u.nodeName.toLowerCase()||u.hasAttribute("type")&&"text"!==u.getAttribute("type")||!u.hasAttribute("aria-owns")||u.hasAttribute("aria-controls")?"input"!==u.nodeName.toLowerCase()&&u.hasAttribute("aria-owns")&&!u.hasAttribute("aria-controls")?"1.1":"1.2":"1.0";if("implicit"===d)return null;var c=l.tagName.toLowerCase(),m="true"===(n.AriaUtil.getAriaAttribute(l,"aria-expanded")||"").trim().toLowerCase(),p="input"===c&&(!l.hasAttribute("type")||"text"===l.getAttribute("type").toLowerCase()),h=e.dom.rolePath;if(!h)return null;var _=s.CacheUtil.getCache(l.ownerDocument,"combobox",{});return _?(_[h]={inputElement:p?l:null,pattern:d,expanded:m},s.CacheUtil.setCache(l.ownerDocument,"combobox",_),"1.0"===d?(0,a.RulePass)("Pass_1.0"):"1.1"===d?(0,a.RuleFail)("Fail_1.1"):"1.2"===d?(0,a.RulePass)("Pass_1.2"):void 0):null}}},7369:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.combobox_focusable_elements=void 0;var a=i(4377),l=i(4377),n=i(7440),r=i(490),o=i(8137),s=i(7788),u=i(8656);t.combobox_focusable_elements={id:"combobox_focusable_elements",context:"aria:combobox",dependencies:["combobox_popup_reference"],help:{"en-US":{Pass:"combobox_focusable_elements.html",Fail_not_tabbable:"combobox_focusable_elements.html",Fail_tabbable_child:"combobox_focusable_elements.html",group:"combobox_focusable_elements.html"}},messages:{"en-US":{Pass:"DOM focus is allowed only on the combobox element as required",Fail_not_tabbable:"The combobox element does not allow DOM focus as required",Fail_tabbable_child:"The popup of the combobox has DOM focus or has 'aria-activedescendant' defined, which is not allowed",group:"Tabbable focus for the combobox must be allowed only on the text input, except when using a dialog popup"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,d=s.CacheUtil.getCache(l.ownerDocument,"combobox",{});if(!d)return null;var c=d[e.dom.rolePath];if(!c)return null;var m=c.popupElement,p=c.expanded;if(!m)return null;var h=r.AriaUtil.getRoles(m,!0)[0],_=[];if(o.CommonUtil.isTabbable(l)||_.push((0,a.RuleFail)("Fail_not_tabbable")),!1===p||"dialog"===h)return(0,a.RulePass)("Pass");var b=!0;if(m&&u.VisUtil.isNodeVisible(m)&&(b=!o.CommonUtil.isTabbable(m)&&!r.AriaUtil.getAriaAttribute(m,"aria-activedescendant"))&&m.children&&m.children.length>0)for(var g=new n.DOMWalker(m);b&&g.nextNode()&&(1!==g.node.nodeType||!u.VisUtil.isNodeVisible(g.node)||(b=!o.CommonUtil.isTabbable(g.node)&&!r.AriaUtil.getAriaAttribute(g.node,"aria-activedescendant"),!g.bEndTag||g.node!==m.lastElementChild)););return b||_.push((0,a.RuleFail)("Fail_tabbable_child")),0===_.length?(0,a.RulePass)("Pass"):_}}},2633:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.combobox_haspopup_valid=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(7788);t.combobox_haspopup_valid={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_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:{"en-US":{Pass:"The 'aria-controls' (ARIA 1.2) or 'aria-owns' (ARIA 1.0) appropriately references a valid popup 'id' value",Fail_popup_role_invalid:'The \'role\' value "{0}" of the popup element "{1}" should be one of "listbox", "grid", "tree" or "dialog"',Fail_combobox_popup_role_mismatch:"The value of the combobox 'aria-haspopup' attribute \"{0}\" does not match the 'role' value of the popup element \"{1}\"",group:"The combobox attribute 'aria-haspopup' value must be appropriate for the role of the element referenced by 'aria-controls' (ARIA 1.2) or 'aria-owns' (ARIA 1.0)"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,o=r.CacheUtil.getCache(l.ownerDocument,"combobox",{});if(!o)return null;var s=o[e.dom.rolePath];if(!s)return null;var u=s.popupElement,d=s.popupId;if(!u)return null;var c=n.AriaUtil.getRoles(u,!0),m=["listbox","grid","tree","dialog"].filter((function(e){return c.includes(e)}));if(0===m.length)return(0,a.RuleFail)("Fail_popup_role_invalid",[c.join(","),d]);var p=m[0],h=l.getAttribute("aria-haspopup")||"listbox";return h===p||"listbox"===p&&!l.hasAttribute("aria-haspopup")?(0,a.RulePass)("Pass"):(0,a.RuleFail)("Fail_combobox_popup_role_mismatch",[h,p])}}},2429:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.combobox_popup_reference=void 0;var a=i(4377),l=i(4377),n=i(482),r=i(7788),o=i(8656);t.combobox_popup_reference={id:"combobox_popup_reference",context:"aria:combobox",dependencies:["combobox_design_valid"],help:{"en-US":{group:"combobox_popup_reference.html","Pass_1.0_expanded":"combobox_popup_reference.html","Pass_1.0_collapsed":"combobox_popup_reference.html","Pass_1.2_expanded":"combobox_popup_reference.html","Pass_1.2_collapsed":"combobox_popup_reference.html","Fail_1.0_missing_owns":"combobox_popup_reference.html","Fail_1.2_missing_controls":"combobox_popup_reference.html","Fail_1.0_popup_reference_missing":"combobox_popup_reference.html","Fail_1.2_popup_reference_missing":"combobox_popup_reference.html",Fail_combobox_expanded_hidden:"combobox_popup_reference.html",Fail_combobox_collapsed_visible:"combobox_popup_reference.html"}},messages:{"en-US":{group:"The 'aria-controls' (for ARIA 1.2) or the 'aria-owns' (for ARIA 1.0) attribute of the expanded combobox must reference a valid popup 'id' value","Pass_1.0_expanded":"The combobox popup referenced by 'aria-owns' (ARIA 1.0) exists and is visible","Pass_1.0_collapsed":"The combobox popup in its collapsed state does not reference any visible popup as required","Pass_1.2_expanded":"The combobox popup referenced by 'aria-controls' (ARIA 1.2) exists and is visible","Pass_1.2_collapsed":"The combobox popup in its collapsed state does not reference any visible popup as required","Fail_1.0_missing_owns":"The 'aria-owns' attribute of the expanded combobox is missing","Fail_1.2_missing_controls":"The 'aria-controls' attribute of the expanded combobox is missing","Fail_1.0_popup_reference_missing":"The 'aria-owns' attribute \"{0}\" of the expanded combobox does not reference a valid popup 'id' value","Fail_1.2_popup_reference_missing":"The 'aria-controls' attribute \"{0}\" of the expanded combobox does not reference a valid popup 'id' value",Fail_combobox_expanded_hidden:"The combobox 'aria-expanded' attribute is true, but the combobox popup is not visible",Fail_combobox_collapsed_visible:"The combobox 'aria-expanded' attribute is false, but the combobox popup is visible"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[{"4e8ab6":{"Pass_1.0_expanded":"fail","Pass_1.0_collapsed":"fail","Pass_1.2_expanded":"pass","Pass_1.2_collapsed":"pass","Fail_1.0_missing_owns":"inapplicable","Fail_1.2_missing_controls":"fail","Fail_1.0_popup_reference_missing":"inapplicable","Fail_1.2_popup_reference_missing":"fail",Fail_combobox_expanded_hidden:"inapplicable",Fail_combobox_collapsed_visible:"inapplicable"}}],run:function(e,t,i){var l=e.dom.node,s=r.CacheUtil.getCache(l.ownerDocument,"combobox",{});if(!s)return null;var u=s[e.dom.rolePath];if(!u)return null;var d,c,m=u.pattern,p=u.expanded;if("1.0"===m){if(!l.hasAttribute("aria-owns"))return p?(0,a.RuleFail)("Fail_1.0_missing_owns"):null;if(d=l.getAttribute("aria-owns"),!(c=n.FragmentUtil.getById(l,d)))return p?(0,a.RuleFail)("Fail_1.0_popup_reference_missing",[d]):null}else{if("1.2"!==m)return null;if(!l.hasAttribute("aria-controls"))return p?(0,a.RuleFail)("Fail_1.2_missing_controls"):null;if(d=l.getAttribute("aria-controls"),!(c=n.FragmentUtil.getById(l,d)))return p?(0,a.RuleFail)("Fail_1.2_popup_reference_missing",[d]):null}return u.popupId=d,u.popupElement=c,p&&!o.VisUtil.isNodeVisible(c)?(0,a.RuleFail)("Fail_combobox_expanded_hidden"):!p&&o.VisUtil.isNodeVisible(c)?(0,a.RuleFail)("Fail_combobox_collapsed_visible"):"1.0"===m?p?(0,a.RulePass)("Pass_1.0_expanded"):(0,a.RulePass)("Pass_1.0_collapsed"):p?(0,a.RulePass)("Pass_1.2_expanded"):(0,a.RulePass)("Pass_1.2_collapsed")}}},7874:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.debug_paths=void 0;var a=i(4377);t.debug_paths={id:"debug_paths",context:"dom:*",help:{"en-US":{group:"",Pass_0:""}},messages:{"en-US":{group:"",Pass_0:""}},rulesets:[{id:["DEBUG"],num:"1",level:a.eRulePolicy.INFORMATION,toolkitLevel:a.eToolkitLevel.LEVEL_FOUR}],act:[],run:function(e,t,i){var a=e.dom.node;return a.setAttribute("domPath",e.dom.rolePath),a.setAttribute("ariaPath",e.aria.rolePath),null}}},3334:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.detector_tabbable=void 0;var a=i(8137),l=i(4377),n=i(4377);t.detector_tabbable={id:"detector_tabbable",context:"dom:*",help:{"en-US":{group:"",Pass_0:""}},messages:{"en-US":{group:"",Pass_0:""}},rulesets:[{id:["EXTENSIONS"],num:"1",level:n.eRulePolicy.INFORMATION,toolkitLevel:n.eToolkitLevel.LEVEL_FOUR}],act:[],run:function(e,t,i){var n=e.dom.node;if(!a.CommonUtil.isTabbable(n))return null;var r=i.aria[i.aria.length-1];return(0,l.RulePass)("Pass_0",[],[{name:r.attributes.name,role:r.role,tabindex:parseInt(n.getAttribute("tabindex")||"0")}])}}},4298:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.dir_attribute_valid=void 0;var a=i(4377),l=i(4377);t.dir_attribute_valid={id:"dir_attribute_valid",context:"dom:*[dir]",refactor:{Valerie_Elem_DirValid:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"dir_attribute_valid.html",Fail_1:"dir_attribute_valid.html",group:"dir_attribute_valid.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Invalid value used for the 'dir' attribute",group:'\'dir\' attribute value must be "ltr", "rtl", or "auto"'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node.getAttribute("dir").toLowerCase();return"ltr"==l||"rtl"==l||"auto"==l?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},4435:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.download_keyboard_controllable=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(8656);t.download_keyboard_controllable={id:"download_keyboard_controllable",context:"dom:a[href],dom:area[href]",refactor:{HAAC_Media_DocumentTrigger2:{Manual_1:"Manual_1"}},help:{"en-US":{Manual_1:"download_keyboard_controllable.html",group:"download_keyboard_controllable.html"}},messages:{"en-US":{Manual_1:"Verify that the file download mechanism does not cause a keyboard trap",group:"File download mechanisms should be keyboard-operable and preserve page focus location"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.2"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;var o=l.getAttribute("href"),s=n.CommonUtil.getFileExt(o),u=![".docx",".doc",".pdf",".odt"].includes(s);return u?null:u?void 0:(0,a.RuleManual)("Manual_1")}}},1685:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.draggable_alternative_exists=void 0;var a=i(8137),l=i(4377),n=i(4377),r=i(8656);t.draggable_alternative_exists={id:"draggable_alternative_exists",context:"dom:*[draggable]",dependencies:[],help:{"en-US":{group:"draggable_alternative_exists.html",pass_undraggable:"draggable_alternative_exists.html",potential_alternative:"draggable_alternative_exists.html"}},messages:{"en-US":{group:'A draggable element must have a "single pointer" alternative',pass_undraggable:'The element "{0}" is not draggable',potential_alternative:'Ensure the draggable element "{0}" has a "single pointer" alternative'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_2"],num:["2.5.7"],level:n.eRulePolicy.VIOLATION,toolkitLevel:n.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var n=e.dom.node;if(!r.VisUtil.isNodeVisible(n))return null;var o=n.nodeName.toLocaleLowerCase();return null!==a.CommonUtil.getAncestor(n,["pre","code","script","meta"])||"body"===o||"html"===o?null:"true"===n.getAttribute("draggable")?(0,l.RulePotential)("potential_alternative",[o]):"false"===n.getAttribute("draggable")?(0,l.RulePass)("pass_undraggable",[o]):null}}},6313:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_accesskey_labelled=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(8656),s=i(8235),u=i(1421);t.element_accesskey_labelled={id:"element_accesskey_labelled",context:"dom:*[accesskey]",refactor:{HAAC_Accesskey_NeedLabel:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"element_accesskey_labelled.html",Potential_1:"element_accesskey_labelled.html",group:"element_accesskey_labelled.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"The element with an assigned 'accesskey' attribute does not have an associated label",group:"An element with an assigned 'accesskey' attribute must have an associated label"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["3.3.2"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(o.VisUtil.isNodeVisible(l)&&!r.CommonUtil.isNodeDisabled(l)&&!r.CommonUtil.isTabbable(l)){var d=n.AriaUtil.getRoles(l,!0);if(d&&0!==d.length){var c=s.ARIADefinitions.designPatterns[d[0]];if(c&&c.nameFrom&&!c.nameRequired&&c.nameFrom&&!c.nameFrom.includes("prohibited")&&(!l.parentElement||"fieldset"!==l.parentElement.nodeName.toLowerCase())){var m=u.AccNameUtil.computeAccessibleName(l);return m&&m.name&&m.name.trim().length>0?(0,a.RulePass)("Pass_0"):(0,a.RulePotential)("Potential_1")}}}}}},9109:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_accesskey_unique=void 0;var a=i(4377),l=i(4377),n=i(7788);t.element_accesskey_unique={id:"element_accesskey_unique",context:"dom:*[accesskey]",refactor:{WCAG20_Elem_UniqueAccessKey:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"element_accesskey_unique.html",Fail_1:"element_accesskey_unique.html",group:"element_accesskey_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"'accesskey' attribute value on the element is not unique",group:"'accesskey' attribute values on each element must be unique for the page"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next"],num:["HTML"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,r=n.CacheUtil.getCache(l.ownerDocument,"element_accesskey_unique",{}),o=l.getAttribute("accesskey"),s=!(o in r);return r[o]=!0,s?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},9918:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_attribute_deprecated=void 0;var a=i(4377),l=i(4377),n=["applet","basefont","center","dir","font","isindex","listing","plaintext","spacer","s","strike","u","xmp","acronym","frame","frameset","noframes","noembed","big","blink","marquee","tt"],r=["align","link","archive","background","bgcolor","clear","code","color","compact","face","hspace","language","link","noshade","nowrap","object","prompt","start","text","version","vlink","vspace"],o={td:["height","width","abbr","axis","char","charoff","height","nowrap","valign","width","align","bgcolor"],th:["height","width","abbr","axis","charoff","height","bgcolor","align","nowrap","char","valign","width"],li:["type","value","type"],ul:["type","compact"],pre:["width"],meta:["http-equiv"],a:["charset","coords","shape","rev","scheme"],link:["rev","charset","target"],img:["name","longdesc","align","hspace","vspace","border"],area:["nohref"],head:["profile"],html:["version"],iframe:["longdesc","align","frameborder","marginheight","marginwidth","scrolling"],object:["archive","code","codebase","codetype","declare","standby","align","hspace","vspace","border"],param:["type","valuetype"],script:["language"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],caption:["align"],col:["align","char","charoff","valign","width"],div:["align"],dl:["compact"],hr:["align","noshade","size","width","align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],input:["align","usemap"],legend:["align"],menu:["compact"],ol:["compact","type","type"],p:["align"],table:["bgcolor","cellpadding","cellspacing","frame","rules","width","align"],tbody:["align","char","valign","charoff"],tfoot:["align","charoff","char","valign"],thead:["char","charoff","valign","align"],tr:["align","bgcolor","char","charoff","valign"]};t.element_attribute_deprecated={id:"element_attribute_deprecated",context:"dom:applet, dom:basefont, dom:center, dom:dir, dom:font, dom:isindex, dom:listing, dom:menu, dom:plaintext, dom:spacer, dom:s, dom:strike, dom:u, dom:xmp, dom:acronym, dom:frame, dom:frameset, dom:noframes, dom:noembed, dom:big, dom:blink, dom:marquee, dom:ttNaNdom:*[align], dom:*[link], dom:*[archive], dom:*[background], dom:*[bgcolor], dom:*[clear], dom:*[code], dom:*[color], dom:*[compact], dom:*[face], dom:*[hspace], dom:*[language], dom:*[link], dom:*[noshade], dom:*[nowrap], dom:*[object], dom:*[prompt], dom:*[start], dom:*[text], dom:*[version], dom:*[vlink], dom:*[vspace]NaNdom:td[height], dom:td[width], dom:td[abbr], dom:td[axis], dom:td[char], dom:td[charoff], dom:td[height], dom:td[nowrap], dom:td[valign], dom:td[width], dom:td[align], dom:td[bgcolor], dom:th[height], dom:th[width], dom:th[abbr], dom:th[axis], dom:th[charoff], dom:th[height], dom:th[bgcolor], dom:th[align], dom:th[nowrap], dom:th[char], dom:th[valign], dom:th[width], dom:li[type], dom:li[value], dom:li[type], dom:ul[type], dom:ul[compact], dom:pre[width], dom:meta[http-equiv], dom:a[charset], dom:a[coords], dom:a[shape], dom:a[rev], dom:a[scheme], dom:link[rev], dom:link[charset], dom:link[target], dom:img[name], dom:img[longdesc], dom:img[align], dom:img[hspace], dom:img[vspace], dom:img[border], dom:area[nohref], dom:head[profile], dom:html[version], dom:iframe[longdesc], dom:iframe[align], dom:iframe[frameborder], dom:iframe[marginheight], dom:iframe[marginwidth], dom:iframe[scrolling], dom:object[archive], dom:object[code], dom:object[codebase], dom:object[codetype], dom:object[declare], dom:object[standby], dom:object[align], dom:object[hspace], dom:object[vspace], dom:object[border], dom:param[type], dom:param[valuetype], dom:script[language], dom:body[alink], dom:body[background], dom:body[bgcolor], dom:body[link], dom:body[text], dom:body[vlink], dom:br[clear], dom:caption[align], dom:col[align], dom:col[char], dom:col[charoff], dom:col[valign], dom:col[width], dom:div[align], dom:dl[compact], dom:hr[align], dom:hr[noshade], dom:hr[size], dom:hr[width], dom:hr[align], dom:h2[align], dom:h3[align], dom:h4[align], dom:h5[align], dom:h6[align], dom:input[align], dom:input[usemap], dom:legend[align], dom:menu[compact], dom:ol[compact], dom:ol[type], dom:ol[type], dom:p[align], dom:table[bgcolor], dom:table[cellpadding], dom:table[cellspacing], dom:table[frame], dom:table[rules], dom:table[width], dom:table[align], dom:tbody[align], dom:tbody[char], dom:tbody[valign], dom:tbody[charoff], dom:tfoot[align], dom:tfoot[charoff], dom:tfoot[char], dom:tfoot[valign], dom:thead[char], dom:thead[charoff], dom:thead[valign], dom:thead[align], dom:tr[align], dom:tr[bgcolor], dom:tr[char], dom:tr[charoff], dom:tr[valign]",help:{"en-US":{pass:"element_attribute_deprecated.html",fail_elem:"element_attribute_deprecated.html",fail_attr:"element_attribute_deprecated.html",fail_elem_attr:"element_attribute_deprecated.html",group:"element_attribute_deprecated.html"}},messages:{"en-US":{pass:"Rule Passed",fail_elem:"The <{0}> element is deprecated in HTML 5",fail_attr:'The HTML attribute(s) "{0}" is deprecated in HTML 5',fail_elem_attr:'The HTML attribute(s) "{0}" is deprecated for the <{1}> element in HTML 5',group:"Avoid use of obsolete features if possible"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next"],num:["HTML"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;if("tbody"===l.nodeName.toLowerCase()&&l.hasAttribute("align"))return(0,a.RulePass)("pass");if(l.nodeName.includes("-"))return null;var s=l.nodeName.toLowerCase();if(n.includes(s))return(0,a.RuleFail)("fail_elem",[s]);for(var u=l.getAttributeNames(),d="",c=0,m=u;c<m.length;c++){var p=m[c];r.includes(p)&&(""!==d&&(d+=", "),d+=p)}if(""!==d)return(0,a.RuleFail)("fail_attr",[d]);if(d="",s in o){for(var h=0,_=u;h<_.length;h++)p=_[h],o[s]&&o[s].includes(p)&&(""!==d&&(d+=", "),d+=p);if(""!==d)return(0,a.RuleFail)("fail_elem_attr",[d,s])}return(0,a.RulePass)("pass")}}},8105:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_id_unique=void 0;var a=i(4377),l=i(4377),n=i(482);t.element_id_unique={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:"element_id_unique.html",Pass_0:"element_id_unique.html",Fail_1:"element_id_unique.html",Fail_2:"element_id_unique.html"}},messages:{"en-US":{group:"Element 'id' attribute values must be unique within a document",Pass_0:"Rule Passed",Fail_1:'The <{0}> element has the id "{1}" that is empty',Fail_2:'The <{0}> element has the id "{1}" that is already in use'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next"],num:["HTML"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[{"3ea0c8":{Pass_0:"pass",Fail_1:"pass",Fail_2:"fail"}}],run:function(e,t,i){var l=e.dom.node,r=l.getAttribute("id");return""===r?(0,a.RuleFail)("Fail_1",[l.nodeName.toLowerCase(),r]):n.FragmentUtil.getById(l,r)===l?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_2",[l.nodeName.toLowerCase(),r])}}},8687:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_lang_valid=t.html_lang_valid=void 0;var a=i(4377),l=i(4377),n=i(2527),r=i(8656),o=i(7440),s=i(1421),u=function(e){var t=e.dom.node,i=t.nodeName.toLowerCase();if(t.hasAttribute("lang"))if("html"!==i&&""===t.getAttribute("lang"));else{var a=t.getAttribute("lang");if(!n.LangUtil.validPrimaryLang(a))return 1;if(!n.LangUtil.isBcp47(a))return 2}if(t.hasAttribute("xml:lang"))if("html"!==i&&""===t.getAttribute("xml:lang"));else{if(a=t.getAttribute("xml:lang"),!n.LangUtil.validPrimaryLang(a))return 3;if(!n.LangUtil.isBcp47(a))return 4}return 0};t.html_lang_valid={id:"html_lang_valid",context:"dom:html[lang], dom:html[xml:lang]",help:{"en-US":{Pass_0:"html_lang_valid.html",Fail_1:"html_lang_valid.html",Fail_2:"html_lang_valid.html",Fail_3:"html_lang_valid.html",Fail_4:"html_lang_valid.html",group:"html_lang_valid.html"}},messages:{"en-US":{Pass_0:"Lang has a valid primary lang and conforms to BCP 47",Fail_1:"Specified 'lang' attribute does not include a valid primary language",Fail_2:"Specified 'lang' attribute does not conform to BCP 47",Fail_3:"Specified 'xml:lang' attribute does not include a valid primary language",Fail_4:"Specified 'xml:lang' attribute does not conform to BCP 47",group:"The default human language of the page must be valid and specified in accordance with BCP 47"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["3.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[{b5c3f8:{Pass_0:"pass",Fail_1:"fail",Fail_2:"inapplicable",Fail_3:"inapplicable",Fail_4:"inapplicable"},bf051a:{Pass_0:"pass",Fail_1:"fail",Fail_2:"pass",Fail_3:"fail",Fail_4:"inapplicable"}}],run:function(e,t,i){var l=u(e);return[(0,a.RulePass)("Pass_0"),(0,a.RuleFail)("Fail_1"),(0,a.RuleFail)("Fail_2"),(0,a.RuleFail)("Fail_3"),(0,a.RuleFail)("Fail_4")][l]}},t.element_lang_valid={id:"element_lang_valid",context:"dom:*[lang], dom:*[xml:lang]",help:{"en-US":{Pass_0:"element_lang_valid.html",Fail_1:"element_lang_valid.html",Fail_2:"element_lang_valid.html",Fail_3:"element_lang_valid.html",Fail_4:"element_lang_valid.html",group:"element_lang_valid.html"}},messages:{"en-US":{Pass_0:"Lang has a valid primary lang and conforms to BCP 47",Fail_1:"Specified 'lang' attribute does not include a valid primary language",Fail_2:"Specified 'lang' attribute does not conform to BCP 47",Fail_3:"Specified 'xml:lang' attribute does not include a valid primary language",Fail_4:"Specified 'xml:lang' attribute does not conform to BCP 47",group:"The change in language of specific content must be valid and specified in accordance with BCP 47"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["3.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[{de46e4:{Pass_0:"pass",Fail_1:"fail",Fail_2:"pass",Fail_3:"inapplicable",Fail_4:"inapplicable"}}],run:function(e,t,i){var l=e.dom.node;if("html"===l.nodeName.toLowerCase())return null;var n=u(e),d=[(0,a.RulePass)("Pass_0"),(0,a.RuleFail)("Fail_1"),(0,a.RuleFail)("Fail_2"),(0,a.RuleFail)("Fail_3"),(0,a.RuleFail)("Fail_4")][n];if(d.value[1]!==a.eRuleConfidence.PASS){var c=!1;if(null!==l.firstChild)for(var m=new o.DOMWalker(l,!1,l,!0);!c&&m.nextNode();)if(1===m.node.nodeType){var p=m.node;if(!r.VisUtil.isNodeVisible(p)||p.hasAttribute("lang"))m.bEndTag=!0;else{var h=s.AccNameUtil.computeAccessibleName(p);c=c||"img"===p.nodeName.toLowerCase()&&h&&h.name&&h.name.trim().length>0}}else c=c||3===m.node.nodeType&&m.node.nodeValue.trim().length>0;if(!c)return null}return d}}},2150:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_mouseevent_keyboard=void 0;var a=i(4377),l=i(4377);t.element_mouseevent_keyboard={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:"element_mouseevent_keyboard.html",Manual_1:"element_mouseevent_keyboard.html",group:"element_mouseevent_keyboard.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Manual_1:"Confirm the <{0}> element with mouse event handler(s) '{1}' has a corresponding keyboard handler(s)",group:"All interactive content with mouse event handlers must have equivalent keyboard access"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,n=l.nodeName.toLowerCase(),r=l.hasAttribute("href")||!l.hasAttribute("ondblclick")&&!l.hasAttribute("onmousemove")&&(!l.hasAttribute("onmousedown")||l.hasAttribute("onkeydown"))&&(!l.hasAttribute("onmouseup")||l.hasAttribute("onkeyup"))&&(!l.hasAttribute("onmouseover")||l.hasAttribute("onfocus"))&&(!l.hasAttribute("onmouseout")||l.hasAttribute("onblur"))&&(!l.hasAttribute("onclick")||l.hasAttribute("onkeypress")||"a"==n||"button"==n),o=new Array;return r||(l.hasAttribute("ondblclick")&&o.push("ondblclick"),l.hasAttribute("onmousemove")&&o.push("onmousemove"),l.hasAttribute("onmousedown")&&!l.hasAttribute("onkeydown")&&o.push("onmousedown"),l.hasAttribute("onmouseup")&&!l.hasAttribute("onkeyup")&&o.push("onmouseup"),l.hasAttribute("onmouseover")&&!l.hasAttribute("onfocus")&&o.push("onmouseover"),l.hasAttribute("onmouseout")&&!l.hasAttribute("onblur")&&o.push("onmouseout"),l.hasAttribute("onclick")&&!l.hasAttribute("onkeypress")&&"a"!=n&&"button"!=n&&o.push("onclick")),r?(0,a.RulePass)("Pass_0"):(0,a.RuleManual)("Manual_1",[n,o.join(", ")])}}},4557:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_orientation_unlocked=void 0;var a=i(4377),l=i(4377),n=i(1775),r=i(8656),o=i(7788),s=i(482),u=i(8137);t.element_orientation_unlocked={id:"element_orientation_unlocked",context:"dom:*",help:{"en-US":{pass:"element_orientation_unlocked.html",fail_locked:"element_orientation_unlocked.html",group:"element_orientation_unlocked.html"}},messages:{"en-US":{pass:"The element is not restricted to either landscape or portrait orientation using CSS transform property",fail_locked:"The element <{0}> is restricted to either landscape or portrait orientation using CSS transform property",group:"Elements should not be restricted to either landscape or portrait orientation using CSS transform property"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.4"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:["b33eff"],run:function(e,t,i){var l=e.dom.node;if(!r.VisUtil.isNodeVisible(l))return null;if(u.CommonUtil.getAncestor(l,["script","meta","title"]))return null;var d=l.nodeName.toLowerCase(),c=s.FragmentUtil.getOwnerFragment(l),m=o.CacheUtil.getCache(c,"RPTUtil_MEDIA_ORIENTATION_TRANSFROM",null);m||(m=n.CSSUtil.getMediaOrientationTransform(c),o.CacheUtil.setCache(c,"RPTUtil_MEDIA_ORIENTATION_TRANSFROM",m));var p=[];if(Object.keys(m).forEach((function(e){Object.keys(m[e]).forEach((function(t){Object.keys(m[e][t]).length>0&&n.CSSUtil.selectorMatchesElem(l,t)&&(m[e][t].transform?p.push(m[e][t].transform):p.push(m[e][t]))}))})),0===p.length)return null;for(var h=[],_=function(e){var t=p[e];if("object"==typeof t)for(var i in t)t=i+"("+t[i]+")";var r=!1;if(["rotate","rotate3d","rotateZ","matrix","matrix3d"].forEach((function(e){t.includes(e)&&(r=!0)})),!r)return"continue";var o=n.CSSUtil.getRotationDegree(t);if(0===o)return h.push((0,a.RulePass)("pass")),"continue";var s=n.CSSUtil.getDefinedStyles(l);s.transform&&(o+=n.CSSUtil.getRotationDegree(s.transform)),Math.abs(o-360)%360>1?h.push((0,a.RuleFail)("fail_locked",[d])):h.push((0,a.RulePass)("pass"))},b=0;b<p.length;b++)_(b);return h.length>0?h:null}}},4721:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_scrollable_tabbable=void 0;var a=i(8137),l=i(4377),n=i(4377),r=i(8656),o=i(1775);t.element_scrollable_tabbable={id:"element_scrollable_tabbable",context:"dom:*",dependencies:[],help:{"en-US":{group:"element_scrollable_tabbable.html",pass_tabbable:"element_scrollable_tabbable.html",pass_interactive:"element_scrollable_tabbable.html",fail_scrollable:"element_scrollable_tabbable.html"}},messages:{"en-US":{group:"Scrollable elements should be tabbable or contain tabbable content",pass_tabbable:"The scrollable element is tabbable",pass_interactive:"The scrollable element has tabbable content",fail_scrollable:"The scrollable element <{0}> with non-interactive content is not tabbable"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1"],level:n.eRulePolicy.VIOLATION,toolkitLevel:n.eToolkitLevel.LEVEL_ONE}],act:["0ssw9k"],run:function(e,t,i){var n=e.dom.node;if(r.VisUtil.isNodeVisible(n)&&!a.CommonUtil.isNodeDisabled(n)){if(a.CommonUtil.getAncestor(n,["iframe","svg","script","meta"]))return null;if(!a.CommonUtil.hasInnerContent(n))return null;var s=n.nodeName.toLowerCase(),u=getComputedStyle(n);if(!("visible"!==u.overflowX&&"hidden"!==u.overflowX||"visible"!==u.overflowY&&"hidden"!==u.overflowY))return null;if(Math.max(n.offsetWidth,n.offsetHeight)<30||Math.min(n.offsetWidth,n.offsetHeight)<15)return null;var d=o.CSSUtil.getPixelsFromStyle(u.paddingLeft,n)+o.CSSUtil.getPixelsFromStyle(u.paddingRight,n),c=o.CSSUtil.getPixelsFromStyle(u.paddingTop,n)+o.CSSUtil.getPixelsFromStyle(u.paddingBottom,n);return n.scrollWidth-n.clientWidth<1+d&&n.scrollHeight-n.clientHeight<1+c?null:a.CommonUtil.isTabbable(n)?(0,l.RulePass)("pass_tabbable"):a.CommonUtil.getTabbableChildren(n)>0?(0,l.RulePass)("pass_interactive"):!n.hasAttribute("tabindex")&&navigator.userAgent.indexOf("Firefox")>-1?null:(0,l.RuleFail)("fail_scrollable",[s])}}}},2814:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_tabbable_role_valid=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(8235),s=i(1775),u=i(7440),d=i(8656);t.element_tabbable_role_valid={id:"element_tabbable_role_valid",context:"dom:*",help:{"en-US":{pass:"element_tabbable_role_valid.html",fail_invalid_role:"element_tabbable_role_valid.html",fail_no_valid_role:"element_tabbable_role_valid.html",group:"element_tabbable_role_valid.html"}},messages:{"en-US":{pass:"The tabbable element has a widget role",fail_invalid_role:"The tabbable element's role '{0}' is not a widget role",fail_no_valid_role:"The tabbable element does not have a valid widget role",group:"A tabbable element must have a valid widget role"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE},{id:["WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.CommonUtil.isNodeDisabled(l)||d.VisUtil.isNodeHiddenFromAT(l))return null;var c=l.nodeName.toLowerCase();if(c in r.CommonUtil.tabTagMap){var m=r.CommonUtil.tabTagMap[c];if("function"==typeof m&&(m=m(l)),m)return null}if(!l.hasAttribute("tabindex")||parseInt(l.getAttribute("tabindex"))<0)return null;var p=s.CSSUtil.getDefinedStyles(l);if("scroll"===p["overflow-x"]||"scroll"===p["overflow-y"]||"auto"===p["overflow-x"]||"auto"===p["overflow-y"])return null;var h=u.DOMWalker.parentNode(l),_=n.AriaUtil.getResolvedRole(h);if(["button","checkbox","img","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"].includes(_))return null;var b=n.AriaUtil.getResolvedRole(l);return b?"application"===b?null:"row"===b||"separator"===b||"widget"===o.ARIADefinitions.designPatterns[b].roleType?(0,a.RulePass)("pass"):(0,a.RuleFail)("fail_invalid_role",[b]):(0,a.RuleFail)("fail_no_valid_role")}}},9188:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_tabbable_unobscured=void 0;var a=i(8137),l=i(4377),n=i(4377),r=i(8656),o=i(5697);t.element_tabbable_unobscured={id:"element_tabbable_unobscured",context:"dom:*",dependencies:[],help:{"en-US":{group:"element_tabbable_unobscured.html",pass:"element_tabbable_unobscured.html",potential_obscured:"element_tabbable_unobscured.html"}},messages:{"en-US":{group:"When an element receives focus, it is not entirely covered by other content",pass:"The element is not entirely covered by other content",potential_obscured:"Confirm that when the element receives focus, it is not covered or, if covered by user action, can be uncovered without moving focus"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_2"],num:["2.4.11"],level:n.eRulePolicy.VIOLATION,toolkitLevel:n.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var n=e.dom.node;if(!r.VisUtil.isNodeVisible(n)||!a.CommonUtil.isTabbable(n))return null;var s=n.nodeName.toLocaleLowerCase();if(null!==a.CommonUtil.getAncestor(n,["pre","code","script","meta"])||"body"===s||"html"===s)return null;var u=new o.DOMMapper,d=u.getUnadjustedBounds(n);if(!d)return null;if(0===d.height||0===d.width)return null;var c=n.ownerDocument;if(!c)return null;var m=c.defaultView;if(!m)return null;var p=m.getComputedStyle(n);if(null===p)return null;var h=p.zIndex;h&&"auto"!==h||(h="0");var _=c.querySelectorAll("body *:not(script)");if(_&&0!=_.length){var b=[],g=!0;return _.forEach((function(e){if(n.contains(e))g=!1;else if(r.VisUtil.isNodeVisible(e)&&!e.contains(n)){var t=u.getUnadjustedBounds(e),i=m.getComputedStyle(e),a="0";i&&((a=i.zIndex)&&!isNaN(Number(a))||(a="0")),0!==t.height&&0!==t.width&&t.top<=d.top&&t.left<=d.left&&t.top+t.height>=d.top+d.height&&t.left+t.height>=d.left+d.width&&(g?parseInt(h)<parseInt(a):parseInt(h)<=parseInt(a))&&b.push(e)}})),b.length>0?(0,l.RulePotential)("potential_obscured",[]):(0,l.RulePass)("pass")}}}},7601:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_tabbable_visible=void 0;var a=i(8137),l=i(1775),n=i(4377),r=i(4377),o=i(5697);t.element_tabbable_visible={id:"element_tabbable_visible",context:"dom:*",dependencies:[],help:{"en-US":{group:"element_tabbable_visible.html",pass:"element_tabbable_visible.html",potential_visible:"element_tabbable_visible.html"}},messages:{"en-US":{group:"A tabbable element should be visible on the screen when it has keyboard focus",pass:"The tabbable element is visible on the screen",potential_visible:"Confirm the element should be tabbable and if so, it becomes visible when it has keyboard focus"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.7"],level:r.eRulePolicy.VIOLATION,toolkitLevel:r.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var r=e.dom.node;if(!a.CommonUtil.isTabbable(r))return null;var s=r.nodeName.toLocaleLowerCase(),u=(new o.DOMMapper).getUnadjustedBounds(r);if(!u)return null;var d=l.CSSUtil.getDefinedStyles(r),c=l.CSSUtil.getDefinedStyles(r,":focus");if(0===u.height||0===u.width)return(0,n.RulePotential)("potential_visible",[]);if("absolute"===d.position&&d.clip&&"rect(0px,0px,0px,0px)"===d.clip.replaceAll(" ","")&&!c.clip){if("input"===s&&("checkbox"===r.getAttribute("type")||"radio"===r.getAttribute("type"))){var m=a.CommonUtil.getLabelForElement(r);if(m&&!a.CommonUtil.isInnerTextEmpty(m)){var p=l.CSSUtil.getDefinedStyles(r,":focus"),h=l.CSSUtil.getDefinedStyles(r,":focus-visible"),_=l.CSSUtil.getDefinedStyles(r,":focus-within"),b=l.CSSUtil.getDefinedStyles(r,":checked");if(p||h||_||b)return(0,n.RulePass)("pass")}}return(0,n.RulePotential)("potential_visible",[])}if(u.top>=0&&u.left>=0)return(0,n.RulePass)("pass");var g=getComputedStyle(r),f=u.top,v=u.left;if(0===Object.keys(c).length)return(0,n.RulePotential)("potential_visible",[]);var A=["absolute","fixed"];return void 0!==c.top&&(f=A.includes(c.position)||void 0===c.position&&A.includes(g.position)?c.top.replace(/\D/g,""):Number.MIN_VALUE),void 0!==c.left&&(v=A.includes(c.position)||void 0===c.position&&A.includes(g.position)?c.left.replace(/\D/g,""):Number.MIN_VALUE),f>=0&&v>=0?(0,n.RulePass)("pass"):(0,n.RulePotential)("potential_visible",[])}}},4497:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.embed_alt_exists=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(8656);t.embed_alt_exists={id:"embed_alt_exists",context:"dom:embed",refactor:{RPT_Embed_HasAlt:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"embed_alt_exists.html",Potential_1:"embed_alt_exists.html",group:"embed_alt_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that the <embed> element has alternative content",group:"Provide alternative content for <embed> elements"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_FOUR}],act:[],run:function(e,t,i){var l=e.dom.node;return r.VisUtil.isNodeHiddenFromAT(l)?null:n.CommonUtil.attributeNonEmpty(l,"alt")?(0,a.RulePass)("Pass_0"):(0,a.RulePotential)("Potential_1")}}},152:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.embed_noembed_exists=void 0;var a=i(4377),l=i(4377);t.embed_noembed_exists={id:"embed_noembed_exists",context:"dom:embed",refactor:{WCAG20_Embed_HasNoEmbed:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"embed_noembed_exists.html",Potential_1:"embed_noembed_exists.html",group:"embed_noembed_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that the <embed> element is immediately followed by a non-embedded element",group:"<embed> elements should be immediately followed by a non-embedded element"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_FOUR}],act:[],run:function(e,t,i){var l=e.dom.node,n=l.getElementsByTagName("noembed").length>0;if(!n)for(var r=l.nextSibling;!n&&null!==r;){if("noembed"==r.nodeName.toLowerCase())n=!0;else{if("#text"==r.nodeName.toLowerCase()&&r.nodeValue.trim().length>0)break;if(1==r.nodeType)break}r=r.nextSibling}return n?(0,a.RulePass)("Pass_0"):n?void 0:(0,a.RulePotential)("Potential_1")}}},935:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.emoticons_alt_exists=void 0;var a=i(4377),l=i(8137);t.emoticons_alt_exists={id:"emoticons_alt_exists",context:"dom:*",refactor:{WCAG20_Text_Emoticons:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"emoticons_alt_exists.html",Potential_1:"emoticons_alt_exists.html",group:"emoticons_alt_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that emoticons have a text alternative",group:"Emoticons must have a short text alternative that describes their purpose"}},rulesets:[],act:[],run:function(e,t,i){for(var n=e.dom.node,r=[":-)",":)",":o)",":]",":3",":c)",":>","=]","8)","=)",":D","C:",":-D",":D","8D","XD","=D","=3","<=3","<=8","--!--",":-(",":(",":c",":<",":[","D:","D8","D;","D=","DX","v.v",":-9",";-)",";)","*)",";]",";D",":-P",":P",":-p",":p","=p",":-Þ",":Þ",":-b",":b",":-O",":O","O_O","o_o","8O","OwO","O-O","0_o","O_o","O3O","o0o ;o_o;","o...o","0w0",":-/",":/",":\\","=/","=\\",":S",":|","d:-)","qB-)",":)~",":-)>....",":-X",":X",":-#",":#","O:-)","0:3","O:)",":'(",";*(","T_T","TT_TT","T.T",":-*",":*","^o)",">:)",">;)",">:-)","B)","B-)","8)","8-)","^>.>^","^<.<^","^>_>^","^<_<^","D:<",">:(","D-:<",">:-(",":-@[1]",";(","`_´","D<","<3","<333","=^_^=","=>.>=","=<_<=","=>.<=","\\,,/","\\m/","\\m/\\>.</\\m/","\\o/","\\o o/","o/\\o",":&",":u"],o=!0,s="",u=n.firstChild;u;)"#text"==u.nodeName&&(s+=" "+u.nodeValue),u=u.nextSibling;if(s.trim().length>0)for(var d=0;o&&d<r.length;++d)for(var c=s.indexOf(r[d]),m=r[d].length;o&&-1!=c;)o=(o=(o=c>0&&!/\s/.test(s.substring(c-1,c))||c<s.length-m&&!/\s/.test(s.substring(c+m,c+m+1))&&!/[.,!'"?]/.test(s.substring(c+m,c+m+1)))||(":)"==r[d]||"(:"==r[d])&&/\(\:.*\:\)/.test(s))||(";)"==r[d]||"(;"==r[d])&&/\(\;.*\;\)/.test(s),c=s.indexOf(r[d],c+1);if(!o){var p=l.CommonUtil.getAncestor(n,["pre","code","script","body"]);o=null==p||"body"!=p.nodeName.toLowerCase()}return o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RulePotential)("Potential_1")}}},9719:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.error_message_exists=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(482),o=i(8656);t.error_message_exists={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:"error_message_exists.html",Fail_1:"error_message_exists.html",Fail_2:"error_message_exists.html",group:"error_message_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Custom error message has invalid reference 'id' value",Fail_2:"Custom error message is not visible",group:"A custom error message must reference a valid 'id' value and when triggered the message must be appropriately exposed"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["3.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,s=n.AriaUtil.getAriaAttribute(l,"aria-errormessage");if(!s)return null;var u=r.FragmentUtil.getById(l,s);return u?o.VisUtil.isNodeVisible(u)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_2"):(0,a.RuleFail)("Fail_1")}}},5625:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fieldset_label_valid=void 0;var a=i(4377),l=i(4377),n=i(482),r=i(7788),o=i(8137),s=i(8656),u=i(1421);t.fieldset_label_valid={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:"fieldset_label_valid.html",Fail_1:"fieldset_label_valid.html",Fail_2:"fieldset_label_valid.html",group:"fieldset_label_valid.html"}},messages:{"en-US":{Pass_1:'Group/Fieldset "{0}" with an input has a unique name',Fail_1:"Group/Fieldset does not have an accessible name",Fail_2:'Group/Fieldset "{0}" has a duplicate name to another group',group:"Groups with nested inputs must have unique accessible name"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1","3.3.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;if(!s.VisUtil.isNodeHiddenFromAT(l)&&!o.CommonUtil.isNodeDisabled(l)){var d=n.FragmentUtil.getOwnerFragment(l),c=r.CacheUtil.getCache(l.ownerDocument,"landmark_group_input",null);if(!c){c={groupsWithInputs:[],groupsWithInputsComputedLabels:[]};for(var m=d.querySelectorAll('fieldset,[role="group"]'),p=Array.from(m),h=[],_=0;_<p.length;_++)p[_].querySelector("input")&&h.push(p[_]);var b=[];for(_=0;_<h.length;_++){var g=u.AccNameUtil.computeAccessibleName(h[_]);b.push(g&&g.name&&g.name.trim().length>0?g.name.trim():"")}c.groupsWithInputs=h,c.groupsWithInputsComputedLabels=b,r.CacheUtil.setCache(l.ownerDocument,"landmark_group_input",c)}var f=!1,v="";if(!c.groupsWithInputs)return null;for(_=0;_<c.groupsWithInputs.length;_++)if(l.isSameNode(c.groupsWithInputs[_])){if(f=!0,""===c.groupsWithInputsComputedLabels[_]||null===c.groupsWithInputsComputedLabels[_])return(0,a.RuleFail)("Fail_1");for(var A=!1,y=0;y<c.groupsWithInputsComputedLabels.length;y++)_!=y&&c.groupsWithInputsComputedLabels[_]===c.groupsWithInputsComputedLabels[y]&&(A=!0);if(A)return(0,a.RuleFail)("Fail_2",[c.groupsWithInputsComputedLabels[_]]);v=c.groupsWithInputsComputedLabels[_]}return f?(0,a.RulePass)("Pass_1",[v]):null}}}},9115:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fieldset_legend_valid=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(8656);t.fieldset_legend_valid={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:"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:{"en-US":{Pass_0:"Rule Passed",Fail_1:"<fieldset> element does not have a <legend>",Fail_2:"<fieldset> element has more than one <legend>",Fail_3:"<fieldset> element <legend> is empty",group:" <fieldset> elements should have a single, non-empty <legend> as a label"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l)||n.CommonUtil.isNodeDisabled(l))return null;var o=n.CommonUtil.getChildByTagHidden(l,"legend",!0,!1);return 0===o.length?(0,a.RuleFail)("Fail_1"):o.length>1?(0,a.RuleFail)("Fail_2"):0===n.CommonUtil.getInnerText(o[0]).trim().length?(0,a.RuleFail)("Fail_3"):(0,a.RulePass)("Pass_0")}}},6072:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.figure_label_exists=void 0;var a=i(4377),l=i(4377),n=i(8656),r=i(1421);t.figure_label_exists={id:"figure_label_exists",context:"dom:figure",refactor:{HAAC_Figure_label:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"figure_label_exists.html",Fail_1:"figure_label_exists.html",group:"figure_label_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"The <figure> element does not have an associated label",group:"A <figure> element must have an associated label"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;if(n.VisUtil.isNodeHiddenFromAT(l))return null;if(l.getAttribute("role"))return null;var o=r.AccNameUtil.computeAccessibleName(l);return o&&o.name&&o.name.trim().length>0?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[])}}},6923:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.form_font_color=void 0;var a=i(4377),l=i(4377);t.form_font_color={id:"form_font_color",context:"dom:form",refactor:{RPT_Font_ColorInForm:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"form_font_color.html",Potential_1:"form_font_color.html",group:"form_font_color.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Check color is not used as the only visual means to convey which fields are required",group:"Combine color and descriptive markup to indicate required form fields"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=!0,n=e.dom.node.getElementsByTagName("font");if(null!=n)for(var r=0;r<n.length;++r)l=!n[r].hasAttribute("color");return l?(0,a.RulePass)("Pass_0"):l?void 0:(0,a.RulePotential)("Potential_1")}}},9015:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.form_interaction_review=void 0;var a=i(4377),l=i(4377),n=i(8137);t.form_interaction_review={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:"form_interaction_review.html",Potential_1:"form_interaction_review.html",group:"form_interaction_review.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that interacting with content will not open pop-up windows or change the active window without informing the user",group:"User should be informed in advance when interacting with content causes a change of context"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["3.2.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l={paramWinText:{value:["new window"],type:"array"}},r=e.dom.node,o=r.getAttribute("target"),s="_parent"===o||"_self"===o||"_top"===o||null!=n.CommonUtil.getFrameByName(r,o);if(!s){var u=n.CommonUtil.getInnerText(r);r.hasAttribute("title")&&(u+=" "+r.getAttribute("title"));for(var d=0;!s&&d<l.paramWinText.value.length;++d)-1!=u.indexOf(l.paramWinText.value[d])&&(s=!0)}return s?(0,a.RulePass)("Pass_0"):s?void 0:(0,a.RulePotential)("Potential_1")}}},3611:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.form_label_unique=void 0;var a=i(4377),l=i(4377),n=i(482),r=i(7788);t.form_label_unique={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:"form_label_unique.html",Fail_1:"form_label_unique.html",group:"form_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Form control has more than one label",group:"Form controls should have exactly one label"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,o=r.CacheUtil.getCache(n.FragmentUtil.getOwnerFragment(l),"RPT_Label_Single",{}),s=l.getAttribute("for"),u=!(s in o);return o[s]=!0,u?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},4846:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.form_submit_button_exists=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(7440);t.form_submit_button_exists={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:"form_submit_button_exists.html",Potential_1:"form_submit_button_exists.html",group:"form_submit_button_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify the <form> element has a submit button or an image button",group:"A <form> element should have a submit button or an image button"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["3.2.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,o=!1;if(l.firstChild)for(var s=new r.DOMWalker(l,!0);!o&&s.prevNode()&&s.node!=l;)if(!s.bEndTag){var u=s.node.nodeName.toLowerCase();if("input"===u){var d=s.elem().getAttribute("type");d&&(d=d.toLowerCase()),o="submit"===d||"image"===d}else"button"===u?o=s.elem().hasAttribute("type")&&"submit"===s.elem().getAttribute("type").toLowerCase():1===s.node.nodeType&&(o=n.AriaUtil.hasRole(s.node,"button"))}return o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RulePotential)("Potential_1")}}},3277:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.form_submit_review=void 0;var a=i(4377);t.form_submit_review={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:"form_submit_review.html",Potential_1:"form_submit_review.html",group:"form_submit_review.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Confirm the form does not submit automatically without warning",group:"A form should not be submitted automatically without warning the user"}},rulesets:[],act:[],run:function(e,t,i){var l=0===e.dom.node.getAttribute("onchange").trim().length;return l?null:l?void 0:(0,a.RulePotential)("Potential_1")}}},4525:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.frame_src_valid=void 0;var a=i(4377),l=i(4377),n=i(8137);t.frame_src_valid={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:"frame_src_valid.html",Potential_1:"frame_src_valid.html",group:"frame_src_valid.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify <frame> content is accessible",group:"A <frame> containing non-HTML content must be made accessible"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,r=n.CommonUtil.attributeNonEmpty(l,"src")&&n.CommonUtil.isHtmlExt(n.CommonUtil.getFileExt(l.getAttribute("src")));return r?(0,a.RulePass)("Pass_0"):r?void 0:(0,a.RulePotential)("Potential_1")}}},7114:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.frame_title_exists=void 0;var a=i(4377),l=i(4377),n=i(1421),r=i(8656);t.frame_title_exists={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:"frame_title_exists.html",Pass_0:"frame_title_exists.html",Fail_1:"frame_title_exists.html"}},messages:{"en-US":{group:"Inline frames must have a unique, non-empty 'title' attribute",Pass_0:"Rule Passed",Fail_1:"Inline frame does not have a 'title' attribute"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:"cae760",run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;if(l.getAttribute("role"))return null;var o=n.AccNameUtil.computeAccessibleName(l);return o&&o.name&&o.name.trim().length>0?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},3751:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.heading_content_exists=void 0;var a=i(4377),l=i(4377),n=i(8137);t.heading_content_exists={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:"heading_content_exists.html",Fail_1:"heading_content_exists.html",group:"heading_content_exists.html"}},messages:{"en-US":{Pass_0:"Heading element has descriptive text",Fail_1:"Heading element has no descriptive content",group:"Heading elements must provide descriptive text"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.6"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;return n.CommonUtil.hasInnerContentHidden(l)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},7084:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.heading_markup_misuse=void 0;var a=i(4377),l=i(4377),n=i(8137);t.heading_markup_misuse={id:"heading_markup_misuse",context:"dom:h1, dom:h2, dom:h3, dom:h4, dom:h5, dom:h6",dependencies:["heading_content_exists"],refactor:{RPT_Headers_FewWords:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"heading_markup_misuse.html",Potential_1:"heading_markup_misuse.html",group:"heading_markup_misuse.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that the heading element is a genuine heading",group:"Heading elements must not be used for presentation"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node,r=n.CommonUtil.wordCount(n.CommonUtil.getInnerText(l))<=20;return r?(0,a.RulePass)("Pass_0"):r?void 0:(0,a.RulePotential)("Potential_1")}}},3981:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.html_lang_exists=void 0;var a=i(4377),l=i(4377),n=i(9193),r=i(2527);t.html_lang_exists={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:"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:{"en-US":{group:"Page must identify the default language of the document with a 'lang' attribute",Pass_0:'Page language detected as "{0}"',Fail_1:"Page detected as XHTML 1.0, but has neither 'lang' nor 'xml:lang' attributes",Fail_2:"Page detected as XHTML, but does not have an 'xml:lang' attribute",Fail_3:"Page detected as HTML, but does not have a 'lang' attribute",Fail_4:"Page detected with 'lang' and 'xml:lang' attributes and primary languages do not match: \"{0}\", \"{1}\"",Fail_5:"Page detected with 'lang' and 'xml:lang' attributes that do not match: \"{0}\", \"{1}\"",Potential_5:"Page detected as XHTML 1.0 with only a 'lang' attribute. Confirm that page is only delivered via text/html mime type",Potential_6:"Page detected as XHTML 1.0 with only an 'xml:lang' attribute. Confirm that page is only delivered via xml mime type"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"3.1.1",level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[{b5c3f8:{Pass_0:"pass",Fail_1:"inapplicable",Fail_2:"inapplicable",Fail_3:"fail",Fail_4:"inapplicable",Fail_5:"inapplicable",Potential_5:"inapplicable",Potential_6:"inapplicable"},"5b7ae0":{Pass_0:"pass",Fail_1:"inapplicable",Fail_2:"inapplicable",Fail_3:"inapplicable",Fail_4:"fail",Fail_5:"pass",Potential_5:"inapplicable",Potential_6:"inapplicable"}}],run:function(e,t,i){if(n.AncestorUtil.isPresentationFrame(i))return null;var l=e.dom.node,o=l.ownerDocument.doctype?l.ownerDocument.doctype.publicId:"";o||(o="");var s=l.getAttribute("lang"),u=l.getAttribute("xml:lang");return o.includes("XHTML")&&!o.includes("1.0")?u?(0,a.RulePass)("Pass_0",[u]):(0,a.RuleFail)("Fail_2"):o.includes("XHTML")&&o.includes("1.0")?s||u?s&&u?s!==u?r.LangUtil.validPrimaryLang(s)&&r.LangUtil.validPrimaryLang(u)?r.LangUtil.matchPrimaryLang(s,u)?(0,a.RuleFail)("Fail_5",[s,u],[]):(0,a.RuleFail)("Fail_4",[s,u],[]):null:(0,a.RulePass)("Pass_0",[s]):s?(0,a.RulePotential)("Potential_5"):(0,a.RulePotential)("Potential_6"):(0,a.RuleFail)("Fail_1"):s?s&&u&&s!==u?r.LangUtil.validPrimaryLang(s)&&r.LangUtil.validPrimaryLang(u)?r.LangUtil.matchPrimaryLang(s,u)?(0,a.RuleFail)("Fail_5",[s,u],[]):(0,a.RuleFail)("Fail_4",[s,u],[]):null:(0,a.RulePass)("Pass_0",[s]):(0,a.RuleFail)("Fail_3")}}},9788:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.html_skipnav_exists=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(482);t.html_skipnav_exists={id:"html_skipnav_exists",context:"dom:html",refactor:{RPT_Html_SkipNav:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{group:"html_skipnav_exists.html",Pass_0:"html_skipnav_exists.html",Potential_1:"html_skipnav_exists.html"}},messages:{"en-US":{group:"Provide a way to bypass blocks of content that are repeated on multiple Web pages",Pass_0:"Rule Passed",Potential_1:"Verify there is a way to bypass blocks of content that are repeated on multiple Web pages"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"2.4.1",level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,o=!1,s=n.CommonUtil.getDocElementsByTag(l,"frame"),u=n.CommonUtil.getDocElementsByTag(l,"h1");if(null!=s&&s.length>0||null!=u&&u.length>0)o=!0;else for(var d=n.CommonUtil.getDocElementsByTag(l,"a"),c={},m=0;!o&&m<d.length;++m)if(d[m].hasAttribute("href")){var p=d[m].href;"string"!=typeof p&&(p=p.baseVal?p.baseVal:"");var h,_="";if((h=void 0!==l.ownerDocument.locationFromDAP&&null!=l.ownerDocument.locationFromDAP?l.ownerDocument.locationFromDAP:l.ownerDocument.location)&&(_=h.href),p.startsWith("file:///")&&(p="file:/"+p.substring(8)),_.startsWith("file:///")&&(_="file:/"+_.substring(8)),"#"==p.charAt(0)||p.startsWith(_+"#")){var b=n.CommonUtil.getFileAnchor(p);null!=r.FragmentUtil.getById(l,b)?o=!0:c[b]=!0}}else if(d[m].hasAttribute("name")){var g=d[m].getAttribute("name");-1!=g.indexOf("#")&&(g=n.CommonUtil.getFileAnchor(g)),o=g in c}return o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RulePotential)("Potential_1")}}},4419:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.iframe_interactive_tabbable=void 0;var a=i(8137),l=i(4377),n=i(4377),r=i(8656),o=i(5697);t.iframe_interactive_tabbable={id:"iframe_interactive_tabbable",context:"dom:iframe",dependencies:[],help:{"en-US":{group:"iframe_interactive_tabbable.html",pass:"iframe_interactive_tabbable.html",fail_invalid:"iframe_interactive_tabbable.html"}},messages:{"en-US":{group:"Iframe with interactive content should not be excluded from tab order using tabindex",pass:"The iframe with interactive content is not excluded from the tab order using tabindex",fail_invalid:"The <iframe> with interactive content is excluded from tab order using tabindex"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1"],level:n.eRulePolicy.VIOLATION,toolkitLevel:n.eToolkitLevel.LEVEL_ONE}],act:["akn7bn"],run:function(e,t,i){var n=e.dom.node;if(!r.VisUtil.isNodeHiddenFromAT(n)&&!a.CommonUtil.isNodeDisabled(n)){var s=(new o.DOMMapper).getUnadjustedBounds(n);if(!s)return null;if(Math.max(s.height,s.width)<30||Math.min(s.height,s.width)<15)return null;if(!n.hasAttribute("tabindex")||parseInt(n.getAttribute("tabindex"))>=0)return(0,l.RulePass)("pass");var u=n;return u&&u.contentDocument&&u.contentDocument.documentElement&&a.CommonUtil.getTabbableChildren(n)>0?(0,l.RuleFail)("fail_invalid"):null}}}},2575:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.imagebutton_alt_exists=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137);t.imagebutton_alt_exists={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:"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:{"en-US":{Pass_0:"Image button provides alternative text using the 'alt' attribute",Pass_1:"Image button provides alternative text using an ARIA label",Pass_2:"Image button provides alternative text using the 'title' attribute",Fail:'The <input> element of type "image" has no text alternative',group:'The <input> element of type "image" should have a text alternative'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:"59796f",run:function(e,t,i){var l=e.dom.node;return l.hasAttribute("type")&&"image"==l.getAttribute("type").toLowerCase()?r.CommonUtil.attributeNonEmpty(l,"alt")?(0,a.RulePass)("Pass_0"):n.AriaUtil.hasAriaLabel(l)?(0,a.RulePass)("Pass_1"):l.hasAttribute("title")&&l.getAttribute("title").length>0?(0,a.RulePass)("Pass_2"):(0,a.RuleFail)("Fail"):null}}},8124:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.imagemap_alt_exists=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(8656);t.imagemap_alt_exists={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:"imagemap_alt_exists.html",Fail_1:"imagemap_alt_exists.html",group:"imagemap_alt_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Image map or child <area> has no text alternative",group:"An image map and each <area> element in an image map must have text alternative(s)"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;return r.VisUtil.isNodeHiddenFromAT(l)?null:n.CommonUtil.attributeNonEmpty(l,"alt")||!l.hasAttribute("ismap")&&!n.CommonUtil.attributeNonEmpty(l,"usemap")?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},3440:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.img_alt_background=void 0;var a=i(4377),l=i(4377),n=i(8656);t.img_alt_background={id:"img_alt_background",context:"dom:*",refactor:{HAAC_BackgroundImg_HasTextOrTitle:{Pass_0:"Pass_0",Manual_1:"Manual_1"}},help:{"en-US":{Pass_0:"img_alt_background.html",Manual_1:"img_alt_background.html",group:"img_alt_background.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Manual_1:"Verify important background image information has a text alternative in system high contrast mode",group:"Background images that convey important information must have a text alternative that describes the image"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node;if(n.VisUtil.isNodeHiddenFromAT(l))return null;var r=l.ownerDocument.defaultView.getComputedStyle(l);if(null==r)return(0,a.RulePass)("Pass_0");var o=r.backgroundImage,s=!0;if(null!=o&&""!=o&&"none"!=o&&"inherit"!=o)if(null!=l.innerHTML&&0!=l.innerHTML.trim().length)s=!1;else{var u=l.getAttribute("title");null!=u&&0!=u.length&&(s=!1)}return s?(0,a.RulePass)("Pass_0"):s?void 0:(0,a.RuleManual)("Manual_1")}}},2193:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.img_alt_decorative=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8656);t.img_alt_decorative={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:"img_alt_decorative.html",Fail_1:"img_alt_decorative.html",group:"img_alt_decorative.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Image designated as decorative has non-null 'alt' attribute",group:'Image designated as decorative must have \'alt=""'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;var o=!0;return(n.AriaUtil.hasRole(l,"presentation")||n.AriaUtil.hasRole(l,"none"))&&(o=0==l.getAttribute("alt").length),o?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},309:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.img_alt_misuse=void 0;var a=i(4377),l=i(4377),n=i(8656);t.img_alt_misuse={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:"img_alt_misuse.html",Potential_1:"img_alt_misuse.html",group:"img_alt_misuse.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that the file name serves as a good inline replacement for the image",group:"'alt' attribute value must be a good inline replacement for the image"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(n.VisUtil.isNodeHiddenFromAT(l))return null;var r=l.nodeName.toLowerCase(),o=!0;if(l.hasAttribute("alt")){var s=l.getAttribute("alt").trim();if(s.length>0){for(var u=["short description"],d=0;o&&d<u.length;++d)o=-1==s.indexOf(u[d]);if(o){var c=l.getAttribute("area"==r?"href":"src");null!=c&&(o=c.trim()!=s&&(-1==s.indexOf(".")||-1==s.indexOf(c)&&-1==c.indexOf(s)))}}}return o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RulePotential)("Potential_1")}}},6281:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.img_alt_null=void 0;var a=i(4377),l=i(4377),n=i(8656),r=i(490),o=i(8137);t.img_alt_null={id:"img_alt_null",context:"dom:img[alt]",refactor:{WCAG20_Img_TitleEmptyWhenAltNull:{Pass_0:"pass",Fail_1:"fail_decorative"}},help:{"en-US":{pass:"img_alt_null.html",fail_decorative:"img_alt_null.html",potential_aria_override:"img_alt_null.html",group:"img_alt_null.html"}},messages:{"en-US":{pass:"Neither 'aria' nor 'title' attributes are used for the decorative image",fail_decorative:"The image 'alt' attribute is empty, but the 'title' attribute is not empty",potential_aria_override:"The image 'alt' attribute is empty, but the 'aria' label is not empty and overrides the 'alt' attribute",group:"When the intent is to mark an image as decorative with an empty 'alt' attribute, the 'aria' or 'title' attributes should not be used"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE,reasonCodes:["fail_decorative"]},{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["ARIA"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE,reasonCodes:["potential_aria_override"]}],act:[{"46ca7f":{potential_aria_override:"fail"}}],run:function(e,t,i){var l=e.dom.node;return n.VisUtil.isNodeHiddenFromAT(l)||l.getAttribute("alt").trim().length>0?null:r.AriaUtil.getAriaLabel(l).length>0?(0,a.RulePotential)("potential_aria_override"):o.CommonUtil.attributeNonEmpty(l,"title")?(0,a.RuleFail)("fail_decorative"):(0,a.RulePass)("pass")}}},7748:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.img_alt_redundant=void 0;var a=i(4377),l=i(4377),n=i(7440),r=i(8137);t.img_alt_redundant={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:"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:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Link text is repeated in an image 'alt' value within the same link",Fail_2:"Link text of previous link is repeated in image 'alt' value of a link",Fail_3:"Image 'alt' value within a link is repeated in link text of the link after",group:"The text alternative for an image within a link should not repeat the link text or adjacent link text"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1","2.4.4"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node,o=r.CommonUtil.getAncestor(l,"a");if(null==o)return null;var s=l.getAttribute("alt").trim().toLowerCase();if(0==s.length)return null;var u=o.innerText,d="";if(null!=u&&(d=u.trim().toLowerCase()),!(d.length>0)){for(var c=!0,m=new n.DOMWalker(o);c&&m.prevNode()&&!("#text"==(h=(p=m.node).nodeName.toLowerCase())&&p.nodeValue.length>0||"img"==h&&r.CommonUtil.attributeNonEmpty(p,"alt"));)"a"!==h||r.CommonUtil.shouldNodeBeSkippedHidden(p)||(c=(p.innerText||p.textContent||"").trim().toLowerCase()!=s);if(!c)return(0,a.RuleFail)("Fail_2");for(m=new n.DOMWalker(o,!0);c&&m.nextNode();){var p,h;if("#text"==(h=(p=m.node).nodeName.toLowerCase())&&p.nodeValue.length>0||"img"==h&&r.CommonUtil.attributeNonEmpty(p,"alt"))break;"a"!=h||r.CommonUtil.shouldNodeBeSkippedHidden(p)||(c=p.innerText.trim().toLowerCase()!=s)}return c?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_3")}return s==d?(0,a.RuleFail)("Fail_1"):void 0}}},8856:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.img_alt_valid=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8656);t.img_alt_valid={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:"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:{"en-US":{pass:"The image has an accessible name or is correctly marked as decorative or redundant",fail_blank_alt:"Image 'alt' attribute value consists only of blank space(s)",fail_no_alt:"The image has neither an accessible name nor is marked as decorative or redundant",fail_blank_title:"The image does not have an 'alt' attribute or ARIA label, and the 'title' attribute value consists only of blank space(s)",group:"Images must have accessible names unless they are decorative or redundant"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:"23a2a8",run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;if(0!==n.AriaUtil.getAriaLabel(l).trim().length)return(0,a.RulePass)("pass");var o=l.hasAttribute("alt")?l.getAttribute("alt"):null;if(null!==o)return 0===o.length||o.trim().length>0?(0,a.RulePass)("pass"):(0,a.RuleFail)("fail_blank_alt");var s=l.hasAttribute("title")?l.getAttribute("title"):null;if(null!==s&&0!==s.length)return 0===s.trim().length?(0,a.RuleFail)("fail_blank_title"):(0,a.RulePass)("pass");if(null===o){var u=n.AriaUtil.getResolvedRole(l,!1);return"presentation"===u||"none"===u?(0,a.RulePass)("pass"):(0,a.RuleFail)("fail_no_alt")}return 0===o.length?(0,a.RulePass)("pass"):void 0}}},7393:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.img_ismap_misuse=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(8656);t.img_ismap_misuse={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:"img_ismap_misuse.html",Potential_1:"img_ismap_misuse.html",group:"img_ismap_misuse.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Server-side image map hot-spots do not have duplicate text links",group:"Server-side image map hot-spots must have duplicate text links"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;var o=!1;if(l.hasAttribute("usemap")){var s=l.getAttribute("usemap"),u=(s=s.trim().toLowerCase()).indexOf("#");if(-1!=u&&(s=s.substr(u+1)),s.length>0)for(var d=n.CommonUtil.getDocElementsByTag(l,"map"),c=0;!o&&c<d.length;++c)o=d[c].hasAttribute("name")&&d[c].getAttribute("name").toLowerCase()==s}return o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RulePotential)("Potential_1")}}},9410:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.img_longdesc_misuse=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(8656);t.img_longdesc_misuse={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:"img_longdesc_misuse.html",Potential_1:"img_longdesc_misuse.html",group:"img_longdesc_misuse.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that the file designated by the 'longdesc' attribute contains valid HTML content (file extension not recognized)",group:" The 'longdesc' attribute must reference HTML content"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;var o=l.getAttribute("longdesc"),s=n.CommonUtil.getFileExt(o),u=0!=s.length&&n.CommonUtil.isHtmlExt(s)||o.startsWith("#")||o.startsWith("http://")||o.startsWith("https://")||o.startsWith("data:");return u?(0,a.RulePass)("Pass_0"):u?void 0:(0,a.RulePotential)("Potential_1")}}},8081:function(e,t,i){var a=this&&this.__createBinding||(Object.create?function(e,t,i,a){void 0===a&&(a=i);var l=Object.getOwnPropertyDescriptor(t,i);l&&!("get"in l?!t.__esModule:l.writable||l.configurable)||(l={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,a,l)}:function(e,t,i,a){void 0===a&&(a=i),e[a]=t[i]}),l=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||a(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),l(i(8980),t),l(i(3961),t),l(i(1445),t),l(i(876),t),l(i(2768),t),l(i(2533),t),l(i(7178),t),l(i(9745),t),l(i(8019),t),l(i(6505),t),l(i(8910),t),l(i(3492),t),l(i(5316),t),l(i(8412),t),l(i(172),t),l(i(9844),t),l(i(9695),t),l(i(1699),t),l(i(4974),t),l(i(3054),t),l(i(4649),t),l(i(4193),t),l(i(3188),t),l(i(4176),t),l(i(7964),t),l(i(2554),t),l(i(1229),t),l(i(8523),t),l(i(3781),t),l(i(8509),t),l(i(3234),t),l(i(5217),t),l(i(4050),t),l(i(4275),t),l(i(1465),t),l(i(405),t),l(i(9136),t),l(i(5117),t),l(i(9062),t),l(i(5746),t),l(i(8685),t),l(i(2678),t),l(i(971),t),l(i(3709),t),l(i(6486),t),l(i(4151),t),l(i(8545),t),l(i(8538),t),l(i(1908),t),l(i(6360),t),l(i(5386),t),l(i(8752),t),l(i(4392),t),l(i(932),t),l(i(6255),t),l(i(5743),t),l(i(2671),t),l(i(3974),t),l(i(9881),t),l(i(1226),t),l(i(7369),t),l(i(2633),t),l(i(2429),t),l(i(7874),t),l(i(3334),t),l(i(4298),t),l(i(4435),t),l(i(1685),t),l(i(6313),t),l(i(9109),t),l(i(9918),t),l(i(8105),t),l(i(8687),t),l(i(2150),t),l(i(4557),t),l(i(4721),t),l(i(2814),t),l(i(9188),t),l(i(7601),t),l(i(4497),t),l(i(152),t),l(i(935),t),l(i(9719),t),l(i(5625),t),l(i(9115),t),l(i(6072),t),l(i(6923),t),l(i(9015),t),l(i(3611),t),l(i(4846),t),l(i(3277),t),l(i(4525),t),l(i(7114),t),l(i(3751),t),l(i(7084),t),l(i(3981),t),l(i(9788),t),l(i(4419),t),l(i(2575),t),l(i(8124),t),l(i(3440),t),l(i(2193),t),l(i(309),t),l(i(6281),t),l(i(7748),t),l(i(8856),t),l(i(7393),t),l(i(9410),t),l(i(8589),t),l(i(3366),t),l(i(8929),t),l(i(5403),t),l(i(5937),t),l(i(4452),t),l(i(7209),t),l(i(8262),t),l(i(7017),t),l(i(9980),t),l(i(7733),t),l(i(1256),t),l(i(9532),t),l(i(6698),t),l(i(9632),t),l(i(3692),t),l(i(5430),t),l(i(1018),t),l(i(3433),t),l(i(8012),t),l(i(3881),t),l(i(3106),t),l(i(1276),t),l(i(5424),t),l(i(4248),t),l(i(9526),t),l(i(9379),t),l(i(5495),t),l(i(7753),t),l(i(1252),t),l(i(3576),t),l(i(3617),t),l(i(6110),t),l(i(5681),t),l(i(1922),t),l(i(7906),t),l(i(5451),t),l(i(6349),t),l(i(5393),t),l(i(9887),t),l(i(5102),t),l(i(9977),t),l(i(8454),t),l(i(25),t),l(i(2884),t),l(i(5390),t),l(i(7196),t),l(i(9965),t),l(i(4468),t),l(i(4451),t),l(i(6087),t),l(i(5864),t),l(i(4066),t),l(i(2841),t),l(i(272),t),l(i(1348),t),l(i(6215),t),l(i(5275),t),l(i(7900),t),l(i(5027),t),l(i(3496),t),l(i(1131),t),l(i(8681),t),l(i(4577),t),l(i(8051),t)},8589:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.input_autocomplete_valid=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(8656);t.input_autocomplete_valid={id:"input_autocomplete_valid",context:"dom:input[autocomplete], dom:textarea[autocomplete], dom:select[autocomplete]",refactor:{WCAG21_Input_Autocomplete:{Pass_0:"pass",Fail_1:"fail_inappropriate",Fail_2:"fail_invalid",Fail_attribute_incorrect:"fail_incorrect"}},help:{"en-US":{group:"input_autocomplete_valid.html",pass:"input_autocomplete_valid.html",fail_inappropriate:"input_autocomplete_valid.html",fail_invalid:"input_autocomplete_valid.html",fail_incorrect:"input_autocomplete_valid.html"}},messages:{"en-US":{group:"The 'autocomplete' attribute's token(s) must be appropriate for the input form field",pass:"The 'autocomplete' attribute's token(s) is appropriate for the input form field",fail_inappropriate:"The 'autocomplete' attribute's token(s) are not appropriate for the input form field",fail_invalid:"The 'autocomplete' attribute's token(s) are not appropriate for an input form field of any type",fail_incorrect:"The 'autocomplete' attribute has an incorrect value"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.5"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[{"73f2c2":{pass:"pass",fail_inappropriate:"fail",fail_invalid:"pass",fail_incorrect:"fail"}}],run:function(e,t,i){var l=e.dom.node;if(!r.VisUtil.isNodeVisible(l)||n.CommonUtil.isNodeDisabled(l))return null;var o=l.getAttribute("autocomplete").trim().toLowerCase(),s=o.split(/\s+/);if(0===s.length||0===o.length)return null;var u={tokensOnOff:["on","off"],tokenOptionalSection:"section-",tokensOptionalPurpose:["shipping","billing"],tokensMandatoryGroup1_password:["new-password","current-password","one-time-code"],tokensMandatoryGroup1_multiline:["street-address"],tokensMandatoryGroup1_month:["cc-exp"],tokensMandatoryGroup1_numeric:["cc-exp-month","cc-exp-year","transaction-amount","bday-day","bday-month","bday-year"],tokensMandatoryGroup1_date:["bday"],tokensMandatoryGroup1_url:["url","photo"],tokensMandatoryGroup1_text:["name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","username","organization-title","organization","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-csc","cc-type","transaction-currency","language","sex"],tokensMandatoryGroup1_all:["name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","username","new-password","current-password","organization-title","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","url","photo"],tokensOptionalGroup2:["home","work","mobile","fax","pager"],tokensMandatoryGroup2_tel:["tel"],tokensMandatoryGroup2_email:["email"],tokensMandatoryGroup2_url:["impp"],tokensMandatoryGroup2_text:["tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension"],tokensMandatoryGroup2_all:["tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"],tokensOptionGroup1_webauthn:["webauthn"]},d=[];for(var c in u)d=d.concat(u[c]);var m=!1,p=!0,h=l.nodeName.toLowerCase();if(!s.every((function(e){return d.includes(e)||e.startsWith(u.tokenOptionalSection)})))return(0,a.RuleFail)("fail_incorrect");var _=l.hasAttribute("type")?l.getAttribute("type").trim().toLowerCase():"text",b=[],g=[],f=[];if("textarea"===h||"select"===h)b=u.tokensMandatoryGroup1_all,g=u.tokensMandatoryGroup2_all,"textarea"===h&&(f=u.tokensOptionGroup1_webauthn);else{if("input"!==h)return null;switch(f=u.tokensOptionGroup1_webauthn,_){case"text":case"search":b=u.tokensMandatoryGroup1_text.concat(u.tokensMandatoryGroup1_password,u.tokensMandatoryGroup1_url,u.tokensMandatoryGroup1_numeric,u.tokensMandatoryGroup1_month,u.tokensMandatoryGroup1_date),g=u.tokensMandatoryGroup2_all;break;case"password":b=u.tokensMandatoryGroup1_password;break;case"url":b=u.tokensMandatoryGroup1_url,g=u.tokensMandatoryGroup2_url;break;case"email":g=u.tokensMandatoryGroup2_email;break;case"tel":g=u.tokensMandatoryGroup2_tel;break;case"number":b=u.tokensMandatoryGroup1_numeric;break;case"month":b=u.tokensMandatoryGroup1_month;break;case"date":b=u.tokensMandatoryGroup1_date;break;default:return null}}if(s.includes("on")||s.includes("off"))return 1===s.length?(0,a.RulePass)("pass"):(0,a.RuleFail)("fail_invalid");var v=0,A=0;return s[v].startsWith(u.tokenOptionalSection)&&s[v].length>8&&(v++,A++),s.length>v&&u.tokensOptionalPurpose.includes(s[v])&&(v++,A++),s.length>v&&(b.includes(s[v])?(m=!0,v++):(u.tokensOptionalGroup2.includes(s[v])&&v++,g.includes(s[v])&&(m=!0,v++))),s.length>A&&(u.tokensMandatoryGroup1_all.includes(s[A])?(p=!0,A++):(u.tokensOptionalGroup2.includes(s[A])&&A++,u.tokensMandatoryGroup2_all.includes(s[A])&&(p=!0,A++))),s.length>v+A&&f.includes(s[v+A])&&v++,(s.length>v&&f.includes(s[v])||s.length>A&&f.includes(s[A]))&&(v++,A++),m&&s.length===v?(0,a.RulePass)("pass"):p&&s.length===A?(0,a.RuleFail)("fail_incorrect"):(0,a.RuleFail)("fail_inappropriate")}}},3366:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.input_checkboxes_grouped=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(7440),s=i(7788),u=i(8656),d=i(5755);t.input_checkboxes_grouped={id:"input_checkboxes_grouped",context:"dom:input[type=radio], dom:input[type=checkbox]",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:"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:{"en-US":{group:"Related sets of radio buttons or checkboxes should be programmatically grouped",pass_lonenogroup:"{0} grouping not required for a control of this type",pass_grouped:"{0} input is grouped with other related controls with the same name",pass_radiononame:"Radio input is not grouped, but passes because it has no name to group with other radio inputs",fail_controlnamemismatch:'{0} input found that has the same name, "{2}" as a {1} input',fail_notgroupedothergrouped:'{0} input is not in the group with another {0} with the name "{1}"',fail_notgroupedothernotgrouped:'{0} input and others with the name "{1}" are not grouped together',fail_notsamegroup:'{0} input is in a different group than another {0} with the name "{1}"',potential_lonecheckbox:"Verify that this ungrouped checkbox input is not related to other checkboxes",potential_unnamedcheckbox:"Verify that this un-named, ungrouped checkbox input is not related to other checkboxes"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node;if(u.VisUtil.isNodeHiddenFromAT(l))return null;var c=function(e){var t=r.CommonUtil.getAncestor(e,"fieldset")||n.AriaUtil.getAncestorWithRole(e,"radiogroup")||n.AriaUtil.getAncestorWithRole(e,"group")||n.AriaUtil.getAncestorWithRole(e,"grid")||n.AriaUtil.getAncestorWithRole(e,"table");return t||(t=r.CommonUtil.getAncestor(e,"table"))&&!d.TableUtil.isDataTable(t)&&(t=null),t},m=l.getAttribute("type").toLowerCase(),p=n.AriaUtil.getAncestorWithRole(l,"form")||r.CommonUtil.getAncestor(l,"html")||l.ownerDocument.documentElement,h=s.CacheUtil.getCache(p,"input_checkboxes_grouped",null);if(!h){h={checkboxByName:{},radiosByName:{},nameToGroup:{},numCheckboxes:0,numRadios:0};for(var _=new o.DOMWalker(p,!1,p,!0),b=[],g=[];_.nextNode();)if(!_.bEndTag&&1===_.node.nodeType&&"input"===_.node.nodeName.toLowerCase()&&u.VisUtil.isNodeVisible(_.node)){var f=_.node.getAttribute("type");"checkbox"===f?b.push(_.node):"radio"===f&&g.push(_.node)}for(var v=0;v<b.length;++v){var A=b[v];if((n.AriaUtil.getAncestorWithRole(A,"form")||r.CommonUtil.getAncestor(l,"html")||l.ownerDocument.documentElement)===p&&!r.CommonUtil.shouldNodeBeSkippedHidden(A)){var y=A.getAttribute("name")||"";(h.checkboxByName[y]=h.checkboxByName[y]||[]).push(A),h.nameToGroup[y]=h.nameToGroup[y]||c(A),++h.numCheckboxes}}for(v=0;v<g.length;++v){var w=g[v];if((n.AriaUtil.getAncestorWithRole(w,"form")||r.CommonUtil.getAncestor(l,"html")||l.ownerDocument.documentElement)===p&&!r.CommonUtil.shouldNodeBeSkippedHidden(w)){var k=w.getAttribute("name")||"";(h.radiosByName[k]=h.radiosByName[k]||[]).push(w),h.nameToGroup[k]=h.nameToGroup[k]||c(w),++h.numRadios}}s.CacheUtil.setCache(p,"input_checkboxes_grouped",h)}var C=l.getAttribute("name"),x=c(l);if(m="radio"===m?"Radio":"Checkbox",C&&""!==C){var P=(h.radiosByName[C]||[]).length,R=(h.checkboxByName[C]||[]).length;return P>0&&R>0?(0,a.RuleFail)("fail_controlnamemismatch",[m,"checkbox"===m?"radio":"checkbox",C]):"Radio"===m&&(1===h.numRadios||1===P)||"Checkbox"===m&&1===h.numCheckboxes?null===x?(0,a.RulePass)("pass_lonenogroup",[m]):(0,a.RulePass)("pass_grouped",[m]):"Checkbox"===m&&h.numCheckboxes>1&&1===R?null===x?(0,a.RulePotential)("potential_lonecheckbox",[m]):(0,a.RulePass)("pass_grouped",[m]):null===x?null!==h.nameToGroup[C]?(0,a.RuleFail)("fail_notgroupedothergrouped",[m,C]):(0,a.RuleFail)("fail_notgroupedothernotgrouped",[m,C]):h.nameToGroup[C]!==x?(0,a.RuleFail)("fail_notsamegroup",[m,C]):(0,a.RulePass)("pass_grouped",[m])}return"Radio"===m?null===x?(0,a.RulePass)("pass_radiononame",[m]):(0,a.RulePass)("pass_grouped",[m]):null===x?(h.checkboxByName[""]||[]).length>1?(0,a.RulePotential)("potential_unnamedcheckbox",[m]):(0,a.RulePass)("pass_lonenogroup",[m]):(0,a.RulePass)("pass_grouped",[m])}}},8929:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.input_fields_grouped=void 0;var a=i(4377),l=i(4377),n=i(8137);t.input_fields_grouped={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:"input_fields_grouped.html",Potential_1:"input_fields_grouped.html",group:"input_fields_grouped.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Use the <fieldset> element to group logically related input elements",group:"Groups of logically related input elements should be contained within a <fieldset> element"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node;if("input"==l.nodeName.toLowerCase()&&l.hasAttribute("type")&&"text"!=(m=l.getAttribute("type").toLowerCase())&&"file"!=m&&"password"!=m)return(0,a.RulePass)("Pass_0");if(null!=n.CommonUtil.getAncestor(l,"fieldset"))return(0,a.RulePass)("Pass_0");for(var r=n.CommonUtil.getAncestor(l,["form","body"]),o=["input","textarea","select"],s=!0,u=0;s&&u<o.length;++u)for(var d=r.getElementsByTagName(o[u]),c=0;s&&c<d.length;++c)if(!n.CommonUtil.shouldNodeBeSkippedHidden(d[c])){var m=d[c].hasAttribute("type")?d[c].getAttribute("type").toLowerCase():"text";s=d[c]==l||"text"!=m&&"password"!=m&&"file"!=m}return s?(0,a.RulePass)("Pass_0"):s?void 0:(0,a.RulePotential)("Potential_1")}}},5403:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.input_haspopup_conflict=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(8656);t.input_haspopup_conflict={id:"input_haspopup_conflict",context:"dom:input[list][aria-haspopup]",refactor:{input_haspopup_invalid:{Potential_1:"potential_type_misuse",Potential_2:"potential_misuse"}},help:{"en-US":{group:"input_haspopup_conflict.html",potential_type_misuse:"input_haspopup_conflict.html",potential_misuse:"input_haspopup_conflict.html",potential_list_notexist:"input_haspopup_conflict.html",fail_invalid_list_type:"input_haspopup_conflict.html",fail_invalid_list_elem:"input_haspopup_conflict.html"}},messages:{"en-US":{group:"<input> element with a 'list' attribute should not use an explicit 'aria-haspopup' attribute",potential_type_misuse:"The <input> element with type \"{0}\" and 'list' attribute uses an explicit 'aria-haspopup' attribute",potential_misuse:"The <input> element with a missing or invalid type and 'list' attribute uses an explicit 'aria-haspopup' attribute",potential_list_notexist:"The list attribute for the <input> element is invalid",fail_invalid_list_type:'The list attribute for the <input> element with the type "{0}" is invalid',fail_invalid_list_elem:"The list attribute for the <input> element does not reference a datalist element"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(o.VisUtil.isNodeHiddenFromAT(l)||r.CommonUtil.isNodeDisabled(l))return null;var s=n.AriaUtil.getUserDefinedRoles(l);if(s&&s.length>0&&!s.includes("combobox"))return null;var u=["text","search","tel","url","email","date","month","week","time","datetime-local","number","range","color"],d=["file","password","checkbox","radio","submit","reset","image","hidden","button"],c=l.getAttribute("type");if(!c||0===c.trim().length)return(0,a.RulePotential)("potential_misuse");if(c=c.trim().toLowerCase(),!u.includes(c)&&!d.includes(c))return(0,a.RulePotential)("potential_misuse");if(c&&d.includes(c))return(0,a.RuleFail)("fail_invalid_list_type");var m=l.getAttribute("list");if(!m||0===m.trim().length)return(0,a.RulePotential)("potential_list_notexist");var p=l.ownerDocument.getElementById(m);return p?"datalist"!==p.nodeName.toLowerCase()?(0,a.RuleFail)("fail_invalid_list_elem"):u.includes(c)?(0,a.RulePotential)("potential_type_misuse",[c]):void 0:(0,a.RuleFail)("potential_list_notexist")}}},5937:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.input_label_after=void 0;var a=i(4377),l=i(4377),n=i(7440),r=i(8137);t.input_label_after={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:"input_label_after.html",Fail_1:"input_label_after.html",Fail_2:"input_label_after.html",group:"input_label_after.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Checkbox or radio button is nested in label, so label is not after the input control",Fail_2:"Label text is located before its associated checkbox or radio button element",group:"Checkboxes and radio buttons must have a label after the input control"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["3.3.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,o="";if(l.hasAttribute("type")&&(o=l.getAttribute("type").toLowerCase()),"checkbox"!=o&&"radio"!=o)return null;var s=r.CommonUtil.getLabelForElementHidden(l,!0);if(null===s||!r.CommonUtil.hasInnerContentHidden(s))return null;var u,d=r.CommonUtil.compareNodeOrder(s,l);if(-2===d){u=!1;var c=new n.DOMWalker(s);for(c.node=l;!u&&c.nextNode();)u="#text"===c.node.nodeName.toLowerCase()&&c.node.nodeValue.trim().length>0||"span"===c.node.nodeName.toLowerCase()&&c.node.textContent.trim().length>0;if(!u)return(0,a.RuleFail)("Fail_1")}else if(1!=d)return(0,a.RuleFail)("Fail_2");return(0,a.RulePass)("Pass_0")}}},4452:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.input_label_before=void 0;var a=i(4377),l=i(4377),n=i(8137);t.input_label_before={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:"input_label_before.html",Fail_1:"input_label_before.html",Fail_2:"input_label_before.html",group:"input_label_before.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Text input is nested in label such that input precedes the label text",Fail_2:"Label text is located after its associated text input or <select> element",group:"Text inputs and <select> elements must have a label before the input control"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["3.3.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if("input"==l.nodeName.toLowerCase()&&l.hasAttribute("type")){var r=l.getAttribute("type").toLowerCase();if("text"!=r&&"file"!=r&&"password"!=r)return null}var o=n.CommonUtil.getLabelForElementHidden(l,!0);if(null==o||!n.CommonUtil.hasInnerContentHidden(o))return null;var s=n.CommonUtil.compareNodeOrder(o,l);if(-2===s){var u=n.CommonUtil.getInnerText(l);if(u&&u.trim().length>0&&n.CommonUtil.getInnerText(l).trim()===u.trim())return null;for(var d=!1,c=l.previousSibling;!d&&null!==c;)d="#text"==c.nodeName.toLowerCase()&&c.nodeValue.trim().length>0||"span"==c.nodeName.toLowerCase()&&c.textContent.trim().length>0,c=c.previousSibling;if(!d)return(0,a.RuleFail)("Fail_1")}else if(-1!=s)return(0,a.RuleFail)("Fail_2");return(0,a.RulePass)("Pass_0")}}},7209:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.input_label_exists=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8656),o=i(1421);t.input_label_exists={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:"input_label_exists.html",Fail_1:"input_label_exists.html",Fail_2:"input_label_exists.html",group:"input_label_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Form control element <{0}> has no associated label",Fail_2:'Form control with "{0}" role has no associated label',group:"Each form control must have an associated label"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:["97a4e1","e086e5"],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;var s=l.nodeName.toLowerCase();if("datalist"===s)return null;var u="text";if("input"==s&&l.hasAttribute("type")?u=l.getAttribute("type").toLowerCase():("button"===s||n.AriaUtil.hasRoleInSemantics(l,"button"))&&(u="buttonelem"),"input"==s&&""==u&&(u="text"),"image"===u)return null;var d=o.AccNameUtil.computeAccessibleName(l);return d&&d.name&&d.name.trim().length>0?(0,a.RulePass)("Pass_0"):l.hasAttribute("role")&&l.getAttribute("role").trim().length>0?(0,a.RuleFail)("Fail_2",l.getAttribute("role").split(" ")):(0,a.RuleFail)("Fail_1",[s])}}},8262:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.input_label_visible=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(482),s=i(8656),u=i(295),d=i(1421);t.input_label_visible={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",dependencies:["input_label_exists"],refactor:{WCAG20_Input_VisibleLabel:{Pass_0:"pass",Potential_1:"potential_no_label",potential_placeholder_only:"potential_placeholder_only"}},help:{"en-US":{pass:"input_label_visible.html",potential_placeholder_only:"input_label_visible.html",potential_no_label:"input_label_visible.html",group:"input_label_visible.html"}},messages:{"en-US":{pass:"The input element has an associated visible label",potential_placeholder_only:"The ‘placeholder’ is the only visible label",potential_no_label:"The input element does not have an associated visible label",group:"An input element must have an associated visible label"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.5.3","3.3.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,c=l.nodeName.toLowerCase();if("datalist"===c)return null;if(!s.VisUtil.isNodeVisible(l)||r.CommonUtil.isNodeDisabled(l))return null;if(r.CommonUtil.getAncestor(l,"table"))return null;if(n.AriaUtil.getAncestorWithRole(l,"combobox")&&!(n.AriaUtil.hasRoleInSemantics(l,"textbox")||n.AriaUtil.hasRoleInSemantics(l,"searchbox")||"input"===c||"select"===c&&n.AriaUtil.hasRoleInSemantics(l,"combobox")))return null;for(var m=["listbox","tree","grid","dialog"],p=0;p<m.length;p++)if(n.AriaUtil.hasRoleInSemantics(l,m[p]))for(var h=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"combobox",!0,!0),_=0;_<h.length;_++){var b=h[_],g=r.CommonUtil.getElementAttribute(b,"aria-owns");if(g)for(var f=r.CommonUtil.normalizeSpacing(g.trim()).split(" "),v=0;v<f.length;v++)if(o.FragmentUtil.getById(l,f[v])===l)return null}var A=d.AccNameUtil.computeAccessibleName(l);if(("input"===c||"button"===c)&&A&&A.name&&A.name.trim().length>0&&("label"===A.nameFrom||"internal"===A.nameFrom||"alt"===A.nameFrom))return(0,a.RulePass)("pass");var y=n.AriaUtil.getResolvedRole(l);if(y&&"button"===y&&"input"!==c&&"button"!==c&&!r.CommonUtil.getAncestor(l,"form"))return null;if(A&&A.name&&A.name.trim().length>0&&("text"===A.nameFrom||"title"===A.nameFrom))return(0,a.RulePass)("pass");var w=n.AriaUtil.getAllDescendantsWithRoles(l,["img","graphics-document","graphics-object","graphics-symbol"],!1,!0);if(w&&w.length>0)for(var k=0;k<w.length;k++)if(r.CommonUtil.attributeNonEmpty(w[k],"title")||r.CommonUtil.attributeNonEmpty(w[k],"alt"))return(0,a.RulePass)("pass");if(r.CommonUtil.attributeNonEmpty(l,"aria-labelledby")){var C=l.getAttribute("aria-labelledby").split(/\s+/);for(p=0;p<C.length;++p){var x=o.FragmentUtil.getById(l,C[p]);if(x&&!u.DOMUtil.sameNode(x,l)&&s.VisUtil.isNodeVisible(x)&&r.CommonUtil.hasInnerContentHidden(x))return(0,a.RulePass)("pass")}}if(("optgroup"===c||"option"==c)&&A&&A.name&&A.name.trim().length>0&&("label"===A.nameFrom||"content"===A.nameFrom))return(0,a.RulePass)("pass");var P=l.getAttribute("id");return P&&P.trim().length>0&&l.ownerDocument.querySelector("*[aria-controls='".concat(P,"'][role='combobox']"))?null:r.CommonUtil.attributeNonEmpty(l,"placeholder")?(0,a.RulePotential)("potential_placeholder_only"):(0,a.RulePotential)("potential_no_label")}}},7017:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.input_onchange_review=void 0;var a=i(4377),l=i(4377);t.input_onchange_review={id:"input_onchange_review",context:"dom:input[onchange], dom:textarea[onchange], dom:select[onchange]",refactor:{WCAG20_Input_HasOnchange:{Potential_1:"potential_warning"}},help:{"en-US":{potential_warning:"input_onchange_review.html",group:"input_onchange_review.html"}},messages:{"en-US":{group:"Users must be advised if, due to a change of element value, a form automatically submits, a new window opens, or a change in focus occurs",potential_warning:"Confirm that the user is advised if, due to a change of element value, a form automatically submits, a new window opens, or a change in focus occurs"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["3.2.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;if("input"==l.nodeName.toLowerCase()&&l.hasAttribute("type")){var n=l.getAttribute("type").toLowerCase();if("hidden"===n||"submit"===n||"image"===n||"button"===n||"reset"===n)return null}return(0,a.RulePotential)("potential_warning")}}},9980:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.input_placeholder_label_visible=void 0;var a=i(4377);t.input_placeholder_label_visible={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:"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:{"en-US":{Pass_0:"Rule Passed",Potential_1:"HTML5 placeholder is the only visible label",Potential_2:"Additional visible label referenced by 'aria-labelledby' is not valid",group:"HTML5 'placeholder' attribute must not be used as a visible label replacement"}},rulesets:[],act:[],run:function(e,t,i){var l=e.dom.node;if(l.hasAttribute("type")){var n=l.getAttribute("type").toLowerCase();if("hidden"==n||"button"==n)return(0,a.RulePass)("Pass_0")}if(l.hasAttribute("hidden")){var r=l.getAttribute("hidden");if(""==r||"hidden"==r.toLowerCase())return(0,a.RulePass)("Pass_0")}if(l.hasAttribute("aria-label"))return(0,a.RulePotential)("Potential_1");if(l.hasAttribute("aria-labelledby")&&l.hasAttribute("id")){var o=l.getAttribute("id").trim();return l.getAttribute("aria-labelledby").trim().split(/\s+/).includes(o)?(0,a.RulePotential)("Potential_2"):(0,a.RulePass)("Pass_0")}return(0,a.RulePass)("Pass_0")}}},7733:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.label_content_exists=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(482),o=i(295);t.label_content_exists={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:"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:{"en-US":{Pass_Regular:"<label> element has accessible name with inner content",Pass_AriaLabel:"<label> element has accessible name via 'aria-label'",Pass_LabelledBy:"<label> element has accessible name via 'aria-labelledby'",Fail_1:"The <label> element does not have descriptive text that identifies the expected input",group:"A <label> element must have non-empty descriptive text that identifies the purpose of the interactive component"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(n.CommonUtil.hasInnerContentHidden(l))return(0,a.RulePass)("Pass_Regular");if((l.getAttribute("aria-label")||"").trim().length>0)return(0,a.RulePass)("Pass_AriaLabel");if(l.hasAttribute("aria-labelledby")){var s=r.FragmentUtil.getById(l,l.getAttribute("aria-labelledby"));if(s&&!o.DOMUtil.sameNode(s,l)&&n.CommonUtil.hasInnerContent(s))return(0,a.RulePass)("Pass_LabelledBy")}return(0,a.RuleFail)("Fail_1")}}},1256:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.label_name_visible=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(482),s=i(8656),u=i(1775),d=i(7440);t.label_name_visible={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:"label_name_visible.html",Fail_1:"label_name_visible.html",group:"label_name_visible.html"}},messages:{"en-US":{Pass_0:"Accessible name matches or contains the visible label text",Fail_1:"Accessible name does not match or contain the visible label text",group:"Accessible name must match or contain the visible label text"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_2"],num:["2.5.3"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:"2ee8b8",run:function(e,t,i){var l=e.dom.node;if(!s.VisUtil.isNodeVisible(l)||r.CommonUtil.isNodeDisabled(l))return null;if(u.CSSUtil.isMaterialIconFont(l))return(0,a.RulePass)("Pass_0");var c=!0,m=l.nodeName.toLowerCase(),p=!1,h=null;"input"===m&&l.hasAttribute("type")&&(h=l.getAttribute("type").toLowerCase(),-1!==r.CommonUtil.form_button_types.indexOf(h)&&(p=!0));var _=n.AriaUtil.getAriaAttribute(l,"aria-labelledby");if(!_||r.CommonUtil.isIdReferToSelf(l,_)||p){var b=null;if(_&&!r.CommonUtil.isIdReferToSelf(l,_))for(var g=_.split(/\s+/),f=0;f<g.length;++f){var v=o.FragmentUtil.getById(l,g[f]);if(v){b=r.CommonUtil.getInnerText(v);break}}else b=n.AriaUtil.getAriaAttribute(l,"aria-label");if(!b)return null;var A=null;if(p&&(l.hasAttribute("value")?A=l.getAttribute("value"):"submit"===h?A="submit":"reset"===h&&(A="reset")),!A){var y=r.CommonUtil.getLabelForElementHidden(l,!0);if(!y){var w=d.DOMWalker.parentNode(l);if("label"===w.nodeName.toLowerCase()){var k=w.cloneNode(!0);y=r.CommonUtil.removeAllFormElementsFromLabel(k)}}var C=y||l;A=y||-1===["meter","output","progress","select","textarea"].indexOf(m)?r.CommonUtil.getOnScreenInnerText(C):""}var x=/[^a-zA-Z0-9]/g;A=A.replace(x," ");var P=r.CommonUtil.normalizeSpacing(A).toLowerCase();b=b.replace(x," ");var R=r.CommonUtil.normalizeSpacing(b).toLowerCase();if(P.length>1){var T=R.indexOf(P);if(T>=0&&R.length>P.length){var U=/^[0-9a-zA-Z]+$/;T+P.length<R.length&&R.charAt(T+P.length).match(U)&&(c=!1),c&&T>0&&R.charAt(T-1).match(U)&&(c=!1)}-1===T&&(c=!1)}}return c?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},9532:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.label_ref_valid=void 0;var a=i(4377),l=i(4377),n=i(482),r=i(8656);t.label_ref_valid={id:"label_ref_valid",context:"dom:label[for]",refactor:{WCAG20_Label_RefValid:{Pass_0:"pass",Fail_1:"fail_invalid"}},help:{"en-US":{pass:"label_ref_valid.html",fail_invalid:"label_ref_valid.html",group:"label_ref_valid.html"}},messages:{"en-US":{pass:"The 'for' attribute for a label referencea a unique non-empty 'id' attribute of a valid element",fail_invalid:"The value \"{0}\" of the 'for' attribute is not the 'id' of a valid element",group:"The 'for' attribute for a label should reference a non-empty, unique 'id' attribute of a valid element"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,o=l.getAttribute("for"),s=!1,u=n.FragmentUtil.getById(l,o);if(u){if(!r.VisUtil.isNodeVisible(u)&&!r.VisUtil.isNodeVisible(l))return null;if(s=!0,!u.hasAttribute("role")){var d=u.nodeName.toLowerCase();if(s="input"==d||"select"==d||"textarea"==d||"button"==d||"datalist"==d||"optgroup"==d||"option"==d||"keygen"==d||"output"==d||"progress"==d||"meter"==d||"fieldset"==d||"legend"==d,"input"==u.nodeName.toLowerCase()&&u.hasAttribute("type")){var c=u.getAttribute("type").toLowerCase();s="text"==c||"password"==c||"file"==c||"checkbox"==c||"radio"==c||"hidden"==c||"search"==c||"tel"==c||"url"==c||"email"==c||"date"==c||"number"==c||"range"==c||"image"==c||"time"==c||"color"==c||"datetime-local"==c||"month"==c||"week"==c}}s&&!r.VisUtil.isNodeVisible(u)&&(s=!1)}var m=[];return s||m.push(o),s?(0,a.RulePass)("pass"):(0,a.RuleFail)("fail_invalid",m)}}},6698:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.list_children_valid=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(7440);t.list_children_valid={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:"list_children_valid.html",Fail_1:"list_children_valid.html",group:"list_children_valid.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'List component with "group" role has children that are not <listitem> elements',group:'List component with "group" role must limit children to <listitem> elements'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,o=r.DOMWalker.parentElement(l);if(!n.AriaUtil.hasRoleInSemantics(o,"list"))return null;for(var s=!0,u=l.children,d=0;s&&d<u.length;d++)s=n.AriaUtil.hasRoleInSemantics(u[d],"listitem");return s?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},9632:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.list_markup_review=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(7440),s=i(8656);t.list_markup_review={id:"list_markup_review",context:"dom:*",refactor:{RPT_List_UseMarkup:{Potential_1:"Potential_1"}},help:{"en-US":{potential_list:"list_markup_review.html",group:"list_markup_review.html"}},messages:{"en-US":{potential_list:"Verify this is a list and if so, modify to use proper HTML elements for the list",group:"Proper HTML elements should be used to create a list"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,u=l.nodeName.toLowerCase();if(r.CommonUtil.isNodeDisabled(l)||s.VisUtil.hiddenByDefaultElements.includes(u))return null;if(null===r.CommonUtil.getAncestor(l,["body"]))return null;if(null!==r.CommonUtil.getAncestor(l,["script","label"]))return null;var d=n.AriaUtil.getRolesWithTypes(l,["widget"]);if(r.CommonUtil.concatUniqueArrayItemList(["caption","code","columnheader","figure","list","listitem","math","meter","columnheader","rowheader"],d),null!==n.AriaUtil.getAncestorWithRoles(l,d))return null;for(var c=!0,m=l.firstChild;c&&m;){if("#text"==m.nodeName){var p=m.nodeValue;if(!(c=!/^[ \t\r\n]*[( ]*[1-9]*[\*\-).][ \t][A-Z,a-z]+/.test(p)))for(var h=new o.DOMWalker(m);!c&&h.prevNode();){var _=h.node.nodeName.toLowerCase();if(["blockquote","center","dir","div","form","h1","h2","h3","h4","h5","h6","hr","br","menu","p","pre"].includes(_))break;if("#text"==_){var b=h.node.nodeValue;c=b.length>0&&![" ","\t","\n"].includes(b.charAt(b.length-1))}}}m=m.nextSibling}return c?null:c?void 0:(0,a.RulePotential)("potential_list")}}},3692:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.list_structure_proper=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137);t.list_structure_proper={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:"list_structure_proper.html",Potential_1:"list_structure_proper.html",group:"list_structure_proper.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"List element is missing or improperly structured",group:"List elements should only be used for lists of related items"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l,o=e.dom.node,s=o.nodeName.toLowerCase();if(o.children,"dl"==s){var u="",d="",c=o.firstChild;l=!0;var m=!1;if(o.children&&0!=o.children.length){for(;l&&null!=c;){if(1==c.nodeType){var p=c.nodeName.toLowerCase();if(n.AriaUtil.isPresentationalElement(c)){m=!0,c=c.nextSibling;continue}l="dd"==p||"dt"==p,""==u&&(u=p),d=p}c=c.nextSibling}l=l&&"dt"==u&&"dd"==d||l&&m}else l=!0}else if("li"==s)l=null!=r.CommonUtil.getAncestor(o,["ul","ol","dir","menu"]);else if("dd"==s||"dt"==s)l=null!=r.CommonUtil.getAncestor(o,"dl");else if(c=o.firstChild,"ul"!=s&&"ol"!=s&&"menu"!=s||o.children&&0!=o.children.length){var h=!1;for(m=!1,l=!0;l&&null!=c;)n.AriaUtil.isPresentationalElement(c)?(m=!0,c=c.nextSibling):(l=1!=c.nodeType||"li"==c.nodeName.toLowerCase()||"template"==c.nodeName.toLowerCase()&&("ul"==s||"ol"==s),h=h||1==c.nodeType&&"li"==c.nodeName.toLowerCase(),c=c.nextSibling);l=l&&h||l&&m}else l=!0;return l?(0,a.RulePass)("Pass_0"):l?void 0:(0,a.RulePotential)("Potential_1")}}},5430:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.marquee_elem_avoid=void 0;var a=i(4377),l=i(4377);t.marquee_elem_avoid={id:"marquee_elem_avoid",context:"dom:marquee",refactor:{RPT_Marquee_Trigger:{Fail_1:"Fail_1"}},help:{"en-US":{Fail_1:"marquee_elem_avoid.html",group:"marquee_elem_avoid.html"}},messages:{"en-US":{Fail_1:"Scrolling content found that uses the obsolete <marquee> element",group:"The <marquee> element is obsolete and should not be used"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.2.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){return e.dom.node,(0,a.RuleFail)("Fail_1")}}},1018:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.media_alt_brief=void 0;var a=i(4377),l=i(4377),n=i(8656);t.media_alt_brief={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:"media_alt_brief.html",Potential_1:"media_alt_brief.html",group:"media_alt_brief.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Text alternative is more than 150 characters",group:"Alternative text in 'alt' attribute should be brief (<150 characters)"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node;if(n.VisUtil.isNodeHiddenFromAT(l))return null;var r=l.getAttribute("alt").trim().length<=150;return r?(0,a.RulePass)("Pass_0"):r?void 0:(0,a.RulePotential)("Potential_1")}}},3433:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.media_alt_exists=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(8656);t.media_alt_exists={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:"media_alt_exists.html",Potential_1:"media_alt_exists.html",group:"media_alt_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Filename used as label for embedded audio or video",group:"Audio or video on the page must have a short text alternative that describes the media content"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;var o="";null==(o="area"==l.nodeName.toLowerCase()?l.getAttribute("href"):l.getAttribute("src"))&&(o="");var s=n.CommonUtil.getFileExt(o),u=0!=s.length&&(n.CommonUtil.isAudioExt(s)||n.CommonUtil.isVideoExt(s)),d=l.getAttribute("alt"),c=!u||d.length>0&&-1==d.indexOf(s);return c?(0,a.RulePass)("Pass_0"):c?void 0:(0,a.RulePotential)("Potential_1")}}},8012:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.media_audio_transcribed=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(8656);t.media_audio_transcribed={id:"media_audio_transcribed",context:"dom:bgsound, dom:a[href], dom:area[href], dom:embed, dom:object",refactor:{RPT_Media_AudioTrigger:{Manual_1:"Manual_1"}},help:{"en-US":{Manual_1:"media_audio_transcribed.html",group:"media_audio_transcribed.html"}},messages:{"en-US":{Manual_1:"Provide transcripts for audio files",group:"Audio information should also be available in text form"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.2.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l,o=e.dom.node;return r.VisUtil.isNodeHiddenFromAT(o)||(l="bgsound"!=o.nodeName.toLowerCase()&&!n.CommonUtil.isAudioObjEmbedLink(o))?null:l?void 0:(0,a.RuleManual)("Manual_1")}}},3881:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.media_autostart_controllable=void 0;var a=i(4377),l=i(4377);t.media_autostart_controllable={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:"media_autostart_controllable.html",Potential_1:"media_autostart_controllable.html",group:"media_autostart_controllable.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify there is a mechanism to pause or stop and control the volume for the audio that plays automatically",group:"Mechanism must be available to pause or stop and control the volume of the audio that plays automatically"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.4.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l,n=e.dom.node,r=n.nodeName.toLowerCase();if("bgsound"==r)l=!1;else if("param"==r){var o="";n.hasAttribute("value")&&(o=n.getAttribute("value").toLowerCase()),l=0==o.indexOf("0;")||!(-1!=o.indexOf("true")||-1!=o.indexOf("1"))}else if("embed"==r){var s;l=!0,n.hasAttribute("flashvars")&&(l=-1==(s=n.getAttribute("flashvars")).indexOf("autostart=true")&&-1==s.indexOf("autostart=1")),l&&n.hasAttribute("src")&&(l=-1==(s=n.getAttribute("src")).indexOf("autostart=true")&&-1==s.indexOf("autostart=1"))}if(l&&n.hasAttribute("autostart")){var u=n.getAttribute("autostart").toLowerCase();l="true"!=u&&"1"!=u}return l?(0,a.RulePass)("Pass_0"):(0,a.RulePotential)("Potential_1")}}},3106:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.media_keyboard_controllable=void 0;var a=i(4377),l=i(4377),n=i(8656);t.media_keyboard_controllable={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:"media_keyboard_controllable.html",Manual_1:"media_keyboard_controllable.html",group:"media_keyboard_controllable.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Manual_1:"Verify media using <audio> and/or <video> elements have keyboard accessible controls",group:"Media using <audio> and/or <video> elements must have keyboard accessible controls"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node;if(n.VisUtil.isNodeHiddenFromAT(l))return null;var r=!0,o=l.nodeName.toLowerCase();return"audio"!=o&&"video"!==o||(r=!1),r?(0,a.RulePass)("Pass_0"):(0,a.RuleManual)("Manual_1")}}},1276:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.media_live_captioned=void 0;var a=i(4377),l=i(4377),n=i(8137);t.media_live_captioned={id:"media_live_captioned",context:"dom:embed, dom:object",refactor:{RPT_Media_VideoObjectTrigger:{Manual_1:"Manual_1"}},help:{"en-US":{Manual_1:"media_live_captioned.html",group:"media_live_captioned.html"}},messages:{"en-US":{Manual_1:"Verify captions are provided for live media (streaming video with audio)",group:"Live media (streaming video with audio) should have captions for audio content"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.2.4"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,r=!n.CommonUtil.isVideoObjEmbedLink(l);return r?null:r?void 0:(0,a.RuleManual)("Manual_1")}}},5424:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.media_track_available=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(8656);t.media_track_available={id:"media_track_available",context:"dom:a[href], dom:area[href], dom:applet, dom:embed, dom:object",refactor:{RPT_Media_VideoReferenceTrigger:{Manual_1:"Manual_1"}},help:{"en-US":{Manual_1:"media_track_available.html",group:"media_track_available.html"}},messages:{"en-US":{Manual_1:"Verify availability of a user-selectable audio track with description of visual content",group:"Pre-recorded media should have an audio track that describes visual information"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.2.3","1.2.5"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;var o;return(o="applet"!=l.nodeName.toLowerCase()&&!n.CommonUtil.isVideoObjEmbedLink(l))?null:o?void 0:(0,a.RuleManual)("Manual_1")}}},4248:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.meta_redirect_optional=void 0;var a=i(482),l=i(8137),n=i(4377),r=i(4377);t.meta_redirect_optional={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:"meta_redirect_optional.html",pass:"meta_redirect_optional.html",fail:"meta_redirect_optional.html",fail_longrefresh:"meta_redirect_optional.html"}},messages:{"en-US":{group:"Page should not automatically refresh without warning or option to turn it off or adjust the time limit",pass:"Rule Passed",fail:"Check page does not automatically refresh without warning or options",fail_longrefresh:"Check page does not automatically refresh without warning or options"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.2.1"],level:r.eRulePolicy.VIOLATION,toolkitLevel:r.eToolkitLevel.LEVEL_THREE}],act:[{bc659a:{pass:"pass",fail:"fail",fail_longrefresh:"pass"}}],run:function(e,t,i){var r=e.dom.node;if("refresh"!==r.getAttribute("http-equiv").toLowerCase())return null;var o=r.getAttribute("content").toLowerCase();if(!o.match(/^\d+$/)&&!o.match(/^\d+;/))return null;if(l.CommonUtil.triggerOnce(a.FragmentUtil.getOwnerFragment(r),"meta_redirect_optional",!1))return null;var s=o.match(/^(\d+); +[^ ]/);return s&&0!==parseInt(s[1])?parseInt(s[1])<72001?(0,n.RuleFail)("fail"):(0,n.RuleFail)("fail_longrefresh"):(0,n.RulePass)("pass")}}},9526:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.meta_refresh_delay=void 0;var a=i(4377),l=i(4377);t.meta_refresh_delay={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:"meta_refresh_delay.html",Pass_0:"meta_refresh_delay.html",Potential_1:"meta_refresh_delay.html"}},messages:{"en-US":{group:"Pages should not refresh automatically",Pass_0:"Rule Passed",Potential_1:"Verify page is not being caused to refresh automatically"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.2.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:["bisz58","bc659a"],run:function(e,t,i){var l=e.dom.node;if("refresh"!==l.getAttribute("http-equiv").toLowerCase())return null;var n=l.getAttribute("content").toLowerCase();return n.match(/^\d+$/)||n.match(/^\d+;/)?n.match(/^\d+; +[^ ]/)?(0,a.RulePass)("Pass_0"):(0,a.RulePotential)("Potential_1"):null}}},9379:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.meta_viewport_zoomable=void 0;var a=i(4377),l=i(4377);t.meta_viewport_zoomable={id:"meta_viewport_zoomable",context:"dom:meta[name][content]",refactor:{meta_viewport_zoom:{Pass_0:"pass",Potential_1:"potential_zoomable"}},help:{"en-US":{group:"meta_viewport_zoomable.html",pass:"meta_viewport_zoomable.html",potential_zoomable:"meta_viewport_zoomable.html"}},messages:{"en-US":{group:"The 'meta[name=viewport]' should not prevent the browser zooming the content",pass:"The 'meta[name=viewport]' does not prevent the browser zooming the content",potential_zoomable:"Confirm the 'meta[name=viewport]' with \"{0}\" can be zoomed by user"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.4.4"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[{b4f0c3:{Pass_0:"pass",Potential_1:"fail"}}],run:function(e,t,i){var l=e.dom.node;if("viewport"!==l.getAttribute("name").toLowerCase())return null;var n=l.getAttribute("content").toLowerCase();if(!n||""===n.trim()||!n.includes("maximum-scale")&&!n.includes("user-scalable"))return null;for(var r=null,o=null,s="yes",u="2.0",d=0,c=n.split(",");d<c.length;d++){var m=c[d],p=m.trim().split("=");p.length<2||(m.includes("user-scalable")?(r=m,((s=p[1].trim()).startsWith("'")||s.startsWith('"'))&&(s=s.substring(1,s.length-1))):m.includes("maximum-scale")&&(o=m,((u=p[1].trim()).startsWith("'")||u.startsWith('"'))&&(u=u.substring(1,u.length-1).trim())))}var h=Number(s);isNaN(h)||(h>=1||h<=-1)&&(s="yes");var _;return h=Number(u),_=isNaN(h)?"yes"===u?1:.1:h<0?2:h,"yes"!==s?(0,a.RulePotential)("potential_zoomable",[r]):_<2?(0,a.RulePotential)("potential_zoomable",[o]):(0,a.RulePass)("pass")}}},5495:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.noembed_content_exists=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(8656);t.noembed_content_exists={id:"noembed_content_exists",context:"dom:noembed",refactor:{Valerie_Noembed_HasContent:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"noembed_content_exists.html",Potential_1:"noembed_content_exists.html",group:"noembed_content_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Add descriptive text to the <noembed> element",group:"<noembed> elements should contain descriptive text"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_FOUR}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;var o=n.CommonUtil.hasInnerContentHidden(l);return o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RulePotential)("Potential_1")}}},7753:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.object_text_exists=void 0;var a=i(4377),l=i(4377),n=i(8656),r=i(1421);t.object_text_exists={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:"object_text_exists.html",pass:"object_text_exists.html",fail_no_text_alternative:"object_text_exists.html"}},messages:{"en-US":{group:"<object> element must have a text alternative for the content rendered by the object",pass:"<object> element has a text alternative",fail_no_text_alternative:"An <object> element does not have a text alternative"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:"8fc3b6",run:function(e,t,i){var l=e.dom.node;if(n.VisUtil.isNodeHiddenFromAT(l))return null;if(l.hasAttribute("type")&&-1!==l.getAttribute("type").indexOf("text"))return null;if(l.getAttribute("role"))return null;var o=l.getAttribute("data"),s=o&&"string"==typeof o?o.substring(o.lastIndexOf(".")):"";if(".html"===s||".htm"===s)return null;var u=r.AccNameUtil.computeAccessibleName(l);return u&&u.name&&u.name.trim().length>0?(0,a.RulePass)("pass"):(0,a.RuleFail)("fail_no_text_alternative")}}},1252:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.page_title_exists=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(9193);t.page_title_exists={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:"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:{"en-US":{group:"The page should have a title that correctly identifies the subject of the page",Pass_0:"Rule Passed",Fail_1:"Missing <head> element so there can be no <title> element present",Fail_2:"Missing <title> element in <head> element",Fail_3:"The <title> element is empty (no innerHTML)"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[{"2779a5":{Pass_0:"pass",Fail_1:"pass",Fail_2:"fail",Fail_3:"fail"}}],run:function(e,t,i){if(r.AncestorUtil.isFrame(i))return null;for(var l=e.dom.node,o=l.firstChild,s=null;null!=o&&"head"!=o.nodeName.toLowerCase();)o=o.nextSibling;for(var u=l.querySelectorAll("title"),d=0;d<u.length;++d)if(!n.CommonUtil.getAncestor(u[d],["svg"])){s=u[d];break}return null!==o||s?null===s?(0,a.RuleFail)("Fail_2"):null!=s&&n.CommonUtil.getInnerText(s).trim().length>0?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_3"):(0,a.RuleFail)("Fail_1")}}},3576:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.page_title_valid=void 0;var a=i(4377),l=i(4377),n=i(8137);t.page_title_valid={id:"page_title_valid",context:"dom:head dom:title",refactor:{RPT_Title_Valid:{Pass_0:"Pass_0",Potential_2:"Potential_2"}},help:{"en-US":{Pass_0:"page_title_valid.html",Potential_2:"page_title_valid.html",group:"page_title_valid.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_2:"Verify that using the filename as the page <title> value is descriptive",group:"Page <title> should be a descriptive title, rather than a filename"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,r=n.CommonUtil.getInnerText(l).trim(),o=r.toLowerCase();return o.includes(".com")||o.includes(".net")||o.includes(".org")?(0,a.RulePass)("Pass_0",[r]):0===r.length?null:/^\S*\.[a-zA-Z]{1,4}(?!.)|^https?:\/\/\S*/i.test(r)?(0,a.RulePotential)("Potential_2"):(0,a.RulePass)("Pass_0",[r])}}},3617:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.script_focus_blur_review=void 0;var a=i(4377),l=i(4377);t.script_focus_blur_review={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:"script_focus_blur_review.html",Potential_1:"script_focus_blur_review.html",group:"script_focus_blur_review.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify script does not remove focus from content that normally receives focus",group:"Scripting must not remove focus from content that normally receives focus"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1","2.4.7","3.2.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=-1==e.dom.node.getAttribute("onfocus").indexOf(".blur(");return l?(0,a.RulePass)("Pass_0"):l?void 0:(0,a.RulePotential)("Potential_1")}}},6110:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.script_onclick_avoid=void 0;var a=i(4377),l=i(4377),n=i(8137);t.script_onclick_avoid={id:"script_onclick_avoid",context:"dom:*[onclick]",dependencies:["script_onclick_misuse"],refactor:{RPT_Script_OnclickHTML2:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"script_onclick_avoid.html",Potential_1:"script_onclick_avoid.html",group:"script_onclick_avoid.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that 'onclick' events are not used in script to emulate a link",group:"Scripts should not be used to emulate links"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_FOUR}],act:[],run:function(e,t,i){var l=e.dom.node;if(n.CommonUtil.getAncestor(l,"svg"))return(0,a.RulePass)("Pass_0");if(n.CommonUtil.attributeNonEmpty(l,"role"))return(0,a.RulePass)("Pass_0");var r=l.nodeName.toLowerCase(),o="a"==r||"area"==r||"input"==r;return o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RulePotential)("Potential_1")}}},5681:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.script_onclick_misuse=void 0;var a=i(4377),l=i(4377),n=i(8137);t.script_onclick_misuse={id:"script_onclick_misuse",context:"dom:*[onclick]",refactor:{RPT_Script_OnclickHTML1:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"script_onclick_misuse.html",Potential_1:"script_onclick_misuse.html",group:"script_onclick_misuse.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Possible use of a script to emulate a link",group:"Scripts should not be used to emulate links"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,r=n.CommonUtil.attributeNonEmpty(l,"role"),o=l.nodeName.toLowerCase();if(!(r=r||("a"==o||"area"==o)&&n.CommonUtil.attributeNonEmpty(l,"href"))){var s=[".asp",".aspx",".cfm",".cfml",".cgi",".htm",".html",".shtm",".shtml",".php",".pl",".py",".shtm",".shtml",".xhtml","location.href"],u=l.getAttribute("onclick").toLowerCase();r=!0;for(var d=0;r&&d<s.length;++d)r=-1==u.indexOf(s[d])}return r?(0,a.RulePass)("Pass_0"):r?void 0:(0,a.RulePotential)("Potential_1")}}},1922:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.script_select_review=void 0;var a=i(4377),l=i(4377);t.script_select_review={id:"script_select_review",context:"dom:select",refactor:{WCAG20_Select_NoChangeAction:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"script_select_review.html",Potential_1:"script_select_review.html",group:"script_select_review.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that no change of context or action occurs when selection options in this component receive focus",group:"No changes of context should occur when a selection value receives focus"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["3.2.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,n=!l.hasAttribute("onchange")&&!l.hasAttribute("onfocus");return n?(0,a.RulePass)("Pass_0"):n?void 0:(0,a.RulePotential)("Potential_1")}}},7906:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.select_options_grouped=void 0;var a=i(4377),l=i(4377),n=i(8137);t.select_options_grouped={id:"select_options_grouped",context:"dom:select",refactor:{WCAG20_Select_HasOptGroup:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"select_options_grouped.html",Potential_1:"select_options_grouped.html",group:"select_options_grouped.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Group of related options may need <optgroup>",group:"Groups of related options within a selection list should be grouped with <optgroup>"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,r=n.CommonUtil.getChildByTagHidden(l,"optgroup",!1,!0).length>0||n.CommonUtil.getChildByTagHidden(l,"option",!1,!0).length<=10;return r?(0,a.RulePass)("Pass_0"):r?void 0:(0,a.RulePotential)("Potential_1")}}},5451:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.skip_main_described=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(7788),o=i(8656);t.skip_main_described={id:"skip_main_described",context:"dom:body",dependencies:["skip_main_exists"],refactor:{WCAG20_Body_FirstAContainsSkipText_Native_Host_Sematics:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"skip_main_described.html",Potential_1:"skip_main_described.html",group:"skip_main_described.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that if this hyperlink skips content, the description communicates where it links to",group:"The description of a hyperlink used to skip content must communicate where it links to"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l,s={paramSkipText:{value:["skip","jump"],type:"[string]"}},u=e.dom.node,d=u.ownerDocument;if(null===r.CacheUtil.getCache(u,"IBM_hasLandmarks_Implicit",null)&&r.CacheUtil.setCache(u,"IBM_hasLandmarks_Implicit",n.CommonUtil.getElementsByRoleHidden(u.ownerDocument,["application","banner","complementary","contentinfo","form","main","navigation","search"],!0,!0).length>0),!(l=r.CacheUtil.getCache(u,"IBM_hasLandmarks_Implicit",!1))){var c=d.links;if(c&&c.length>0&&o.VisUtil.isNodeVisible(c[0]))for(var m=n.CommonUtil.getInnerText(d.links[0]).toLowerCase(),p=0;!l&&p<s.paramSkipText.value.length;++p)l=-1!=m.indexOf(s.paramSkipText.value[p]);else l=!1}return l?(0,a.RulePass)("Pass_0"):l?void 0:(0,a.RulePotential)("Potential_1")}}},6349:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.skip_main_exists=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(9193),o=i(7788),s=i(8656);t.skip_main_exists={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:"skip_main_exists.html",Fail_1:"skip_main_exists.html",group:"skip_main_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'The page does not provide a way to quickly navigate to the main content (ARIA "main" landmark or a skip link)',group:"Pages must provide a way to skip directly to the main content"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){if(r.AncestorUtil.isPresentationFrame(i))return null;var l,u=e.dom.node,d=u.ownerDocument;if(null===o.CacheUtil.getCache(u,"IBM_hasLandmarks_Implicit",null)&&o.CacheUtil.setCache(u,"IBM_hasLandmarks_Implicit",n.CommonUtil.getElementsByRoleHidden(u.ownerDocument,["application","banner","complementary","contentinfo","form","main","navigation","search"],!0,!0).length>0),!(l=o.CacheUtil.getCache(u,"IBM_hasLandmarks_Implicit",!1))){for(var c=n.CommonUtil.getDocElementsByTag(u,"a"),m=null,p=0;p<c.length;++p)if(c[p].hasAttribute("href")&&s.VisUtil.isNodeVisible(c[p])){m=c[p];break}var h=null;if(null!=m){var _=m.getAttribute("href"),b=_.indexOf("#");-1!=b&&(h=_.substring(b+1))}if(null!=h)for(l=null!=d.getElementById(h),p=0;!l&&p<c.length;++p)!c[p].hasAttribute("href")&&c[p].hasAttribute("name")&&c[p].getAttribute("name")==h&&(l=!0)}return l?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},5393:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.style_background_decorative=void 0;var a=i(4377),l=i(4377),n=i(8137);t.style_background_decorative={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:"style_background_decorative.html",Potential_1:"style_background_decorative.html",group:"style_background_decorative.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify the CSS background image does not convey important information",group:"Images included by using CSS alone must not convey important information"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,r=l.nodeName.toLowerCase(),o=!0;if("link"===r&&l.hasAttribute("rel")&&"stylesheet"===l.getAttribute("rel").toLowerCase()&&(o=n.CommonUtil.triggerOnce(l,"style_background_decorative",!1)),o&&"style"===r||l.hasAttribute("style")){var s=("style"===r?n.CommonUtil.getInnerText(l):l.getAttribute("style")).match(/background:[^;]*/g);if(null!==s)for(var u=0;o&&u<s.length;++u)o=-1===s[u].indexOf("url(")}return o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RulePotential)("Potential_1")}}},9887:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.style_before_after_review=void 0;var a=i(4377),l=i(4377),n=i(1775);t.style_before_after_review={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:"style_before_after_review.html",Pass_0:"style_before_after_review.html",Potential_1:"style_before_after_review.html"}},messages:{"en-US":{group:"Do not use CSS '::before' and '::after' pseudo-elements to insert non-decorative content",Pass_0:"Rule Passed",Potential_1:"Verify the '::before' and '::after' pseudo-elements do not insert non-decorative content"}},rulesets:[{id:[],num:"1.3.1",level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,r=!0;if("style"===l.nodeName.toLowerCase()){for(var o=n.CSSUtil.getCSSStyle(l),s=0;r&&s<o.length;++s)o[s].selector&&(r=-1===o[s].selector.indexOf(":before")&&-1===o[s].selector.indexOf(":after")||!("content"in o[s].values)||0===o[s].values.content.trim().length||'""'===o[s].values.content.trim()||"''"===o[s].values.content.trim()||"none"===o[s].values.content.trim()||"attr(x)"===o[s].values.content.trim()||"attr(y)"===o[s].values.content.trim());if(r)for(var u=0;u<l.ownerDocument.styleSheets.length;u++)if((g=l.ownerDocument.styleSheets[u]).ownerNode===l)try{var d=g.cssRules?g.cssRules:g.rules;if(d)for(var c=0;r&&c<d.length;c++){var m=d[c],p=void 0;if(m.type&&4===m.type){if(v=m.cssRules)for(var h=0;r&&h<v.length;h++)null!==(y=v[h]).selectorText&&void 0!==y.selectorText&&(-1===(k=y.selectorText.toLowerCase()).indexOf(":before")&&-1===k.indexOf(":after")||(C=y.style.content)&&C.trim().length&&'""'!==C.trim()&&"''"!==C.trim()&&"none"!==C.trim()&&"attr(x)"!==C.trim()&&"attr(y)"!==C.trim()&&(r=!1))}else if(m.type&&3===m.type&&(p=m).styleSheet&&(f=p.styleSheet.cssRules?p.styleSheet.cssRules:p.styleSheet.rules))for(h=0;r&&h<f.length;h++){var _=f[h];if(_.type&&4===_.type){if(v=_.cssRules)for(var b=0;b<v.length;b++)null!==(y=v[b]).selectorText&&void 0!==y.selectorText&&(-1===(k=y.selectorText.toLowerCase()).indexOf(":before")&&-1===k.indexOf(":after")||(C=y.style.content)&&C.trim().length&&'""'!==C.trim()&&"''"!==C.trim()&&"none"!==C.trim()&&"attr(x)"!==C.trim()&&"attr(y)"!==C.trim()&&(r=!1))}else null!==_.selectorText&&void 0!==_.selectorText&&(-1===(k=_.selectorText.toLowerCase()).indexOf(":before")&&-1===k.indexOf(":after")||(C=_.style.content)&&C.trim().length&&'""'!==C.trim()&&"''"!==C.trim()&&"none"!==C.trim()&&"attr(x)"!==C.trim()&&"attr(y)"!==C.trim()&&(r=!1))}}}catch(e){}}if("link"===l.nodeName.toLowerCase()&&l.hasAttribute("rel")&&"stylesheet"===l.getAttribute("rel").toLowerCase()&&l.hasAttribute("href")&&0!==l.getAttribute("href").trim().length)for(u=0;u<l.ownerDocument.styleSheets.length;u++){var g;if((g=l.ownerDocument.styleSheets[u])&&g.ownerNode===l)try{var f;if(f=g.cssRules?g.cssRules:g.rules)for(h=0;r&&h<f.length;h++){var v,A=f[h];if(A.type&&4===A.type){if(v=A.cssRules)for(b=0;r&&b<v.length;b++){var y;if(null!==(y=v[b]).selectorText&&void 0!==y.selectorText){var w=y.selectorText.toLowerCase();-1===w.indexOf(":before")&&-1===w.indexOf(":after")||(C=y.style.content)&&C.trim().length&&'""'!==C.trim()&&"''"!==C.trim()&&"none"!==C.trim()&&"attr(x)"!==C.trim()&&"attr(y)"!==C.trim()&&(r=!1)}}}else if(null!==f[h].selectorText&&void 0!==f[h].selectorText){var k,C;-1===(k=f[h].selectorText.toLowerCase()).indexOf(":before")&&-1===k.indexOf(":after")||(C=f[h].style.content)&&C.trim().length&&'""'!==C.trim()&&"''"!==C.trim()&&"none"!==C.trim()&&"attr(x)"!==C.trim()&&"attr(y)"!==C.trim()&&(r=!1)}}}catch(e){}}return r?(0,a.RulePass)("Pass_0"):r?void 0:(0,a.RulePotential)("Potential_1")}}},5102:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.style_color_misuse=void 0;var a=i(8137),l=i(4377),n=i(4377),r=i(7440),o=i(7788);t.style_color_misuse={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:"style_color_misuse.html",Pass_0:"style_color_misuse.html",Potential_1:"style_color_misuse.html"}},messages:{"en-US":{group:"Combine color and descriptive markup to convey information",Pass_0:"Rule Passed",Potential_1:"Verify color is not used as the only visual means of conveying information"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"1.4.1",level:n.eRulePolicy.VIOLATION,toolkitLevel:n.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var n=e.dom.node,s=n.nodeName.toLowerCase(),u="";if("style"===s){u=a.CommonUtil.getInnerText(n).toLowerCase();for(var d=0;d<n.ownerDocument.styleSheets.length;d++)if((g=n.ownerDocument.styleSheets[d])&&g.ownerNode===n)try{for(var c=g.cssRules?g.cssRules:g.rules,m=0;m<c.length;m++){var p=c[m],h=void 0;if(p.type&&3===p.type&&(h=p).styleSheet)for(var _=h.styleSheet.cssRules?h.styleSheet.cssRules:h.styleSheet.rules,b=0;b<_.length;b++)u+=_[b].cssText}}catch(e){}}else if(n.hasAttribute("style"))u=n.getAttribute("style").toLowerCase();else if("link"===s&&n.hasAttribute("rel")&&"stylesheet"===n.getAttribute("rel").toLowerCase()&&n.hasAttribute("href")&&0!==n.getAttribute("href").trim().length)for(d=0;d<n.ownerDocument.styleSheets.length;d++){var g;if((g=n.ownerDocument.styleSheets[d])&&g.ownerNode===n)try{var f=g.cssRules?g.cssRules:g.rules;for(b=0;b<f.length;b++)u+=f[b].cssText}catch(e){}}var v=!0,A=u.match(/\bbackground\b/i),y=u.replace(/-color/g,"").match(/\bcolor\b/i);if(n.hasAttribute("color")||y||A){var w={em:"",strong:"",cite:"",dfn:"",code:"",samp:"",kbd:"",var:"",abbr:"",acronym:""};if(!(v=s in w||null!==a.CommonUtil.getAncestor(n,w))&&n.hasChildNodes())for(var k=new r.DOMWalker(n);!v&&k.nextNode()&&k.node!==n;)v=k.node.nodeName.toLowerCase()in w}return v||(v=o.CacheUtil.getCache(n.ownerDocument,"style_color_misuse",!1),o.CacheUtil.setCache(n.ownerDocument,"style_color_misuse",!0)),v?(0,l.RulePass)("Pass_0"):v?void 0:(0,l.RulePotential)("Potential_1")}}},9977:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.style_focus_visible=void 0;var a=i(8137),l=i(4377),n=i(4377),r=i(1775),o=i(8680);t.style_focus_visible={id:"style_focus_visible",context:"dom:*",refactor:{RPT_Style_HinderFocus1:{Potential_1:"potential_focus_not_visible"}},help:{"en-US":{group:"style_focus_visible.html",potential_focus_not_visible:"style_focus_visible.html",pass_focus_visible:"style_focus_visible.html"}},messages:{"en-US":{group:"The keyboard focus indicator should be visible when default border or outline is modified by CSS",potential_focus_not_visible:"Check the keyboard focus indicator is visible when using CSS declaration for 'border' or 'outline'",pass_focus_visible:"The keyboard focus indicator is visible or is not changed from the browser default"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"2.4.7",level:n.eRulePolicy.VIOLATION,toolkitLevel:n.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var n={skipNodes:{value:["table"],type:"[string]"},checkParams:{value:["border","border-width","border-style","border-top-width","border-right-width","border-bottom-width","border-left-width","border-top-color","border-right-color","border-bottom-color","border-left-color","border-top-style","border-right-style","border-bottom-style","border-left-style","outline","outline-width","outline-color","outline-style"],type:"[string]"}},s=e.dom.node;if(!a.CommonUtil.isTabbable(s)||n.skipNodes.value.includes(s.nodeName.toLowerCase()))return null;var u=r.CSSUtil.getDefinedStyles(s),d=[];d.push(r.CSSUtil.getDefinedStyles(s,":focus")),d.push(r.CSSUtil.getDefinedStyles(s,":focus-visible")),d.push(r.CSSUtil.getDefinedStyles(s,":focus-within"));var c=d[0];if(Object.keys(c).length>0){if(!((u["outline-width"]||u["outline-style"])&&"0px"!==u["outline-width"]&&"none"!==u["outline-style"]||c["outline-style"]&&"none"===c["outline-style"]))return(0,l.RulePass)("pass_focus_visible");var m=!1,p=0;for(var h in c)if(n.checkParams.value.includes(h)){var _=c[h],b=u[h];if(h.includes("style")){if(m="none"===_,b&&"none"!==_&&_===b)return(0,l.RulePotential)("potential_focus_not_visible")}else if(h.includes("width")){if(p++,"initial"===_?_="2px":"thin"===_?_="1px":"medium"===_?_="2px":"thick"===_&&(_="3px"),b&&("initial"===b?b="2px":"thin"===b?b="1px":"medium"===b?b="2px":"thick"===b&&(b="3px")),_=r.CSSUtil.getPixelsFromStyle(_,s),b=r.CSSUtil.getPixelsFromStyle(b,s),0==_||_<=b)return(0,l.RulePotential)("potential_focus_not_visible")}else if(h.includes("color")){p++;var g=o.ColorUtil.ColorCombo(s);if(null===g)continue;var f=g.bg;if(!f)continue;if("initial"===_&&(_="black"),b&&"initial"===b&&(b="black"),_=o.ColorUtil.Color(_),b=o.ColorUtil.Color(b),null===_||null===b)continue;var v=_.contrastRatio(f),A=b.contrastRatio(f);if(v<3||v<=A)return(0,l.RulePotential)("potential_focus_not_visible")}else if(p++,null!=b&&_===b)return(0,l.RulePotential)("potential_focus_not_visible")}if(m&&0===p)return(0,l.RulePotential)("potential_focus_not_visible")}else for(var y in u)if(n.checkParams.value.includes(y)&&"none"!==(b=u[y]))return(0,l.RulePotential)("potential_focus_not_visible");return(0,l.RulePass)("pass_focus_visible")}}},8454:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.style_highcontrast_visible=void 0;var a=i(4377),l=i(4377),n=i(7788);t.style_highcontrast_visible={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:"style_highcontrast_visible.html",Manual_1:"style_highcontrast_visible.html",group:"style_highcontrast_visible.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Manual_1:"Confirm Windows high contrast mode is supported when using CSS to include, position or alter non-decorative content",group:"Windows high contrast mode must be supported when using CSS to include, position or alter non-decorative content"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next"],num:["1.1.1","1.3.2","1.4.11"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE},{id:["WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1","1.3.2","1.4.11"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,r=l.nodeName.toLowerCase();if("link"===r&&(!l.hasAttribute("rel")||"stylesheet"!==l.getAttribute("rel").toLowerCase()))return(0,a.RulePass)("Pass_0");if("style"!==r&&"link"!==r&&l.hasAttribute("style")&&0===l.getAttribute("style").trim().length)return(0,a.RulePass)("Pass_0");var o=n.CacheUtil.getCache(l.ownerDocument,"style_highcontrast_visible",!1);return n.CacheUtil.setCache(l.ownerDocument,"style_highcontrast_visible",!0),o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RuleManual)("Manual_1")}}},25:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.style_hover_persistent=void 0;var a=i(4377),l=i(4377),n=i(8137);t.style_hover_persistent={id:"style_hover_persistent",context:"dom:style, dom:*[style], dom:*",help:{"en-US":{Pass_0:"style_hover_persistent.html",Pass_2:"style_hover_persistent.html",Potential_1:"style_hover_persistent.html",Potential_2:"style_hover_persistent.html",Potential_3:"style_hover_persistent.html",group:"style_hover_persistent.html"}},messages:{"en-US":{Pass_0:"the hover: pseudo-class is not used to display content",Pass_2:"content displayed via the :hover pseudo-class is the adjacent sibling of the trigger element",Potential_1:"Confirm the pointer can be positioned over the displayed element, not just the trigger",Potential_2:"Confirm the pointer can be positioned over all the information displayed on hover",Potential_3:"Confirm the margin style attribute has not prevented the pointer from hovering over the displayed element, not just the trigger",group:"The pointer should be able to move over content displayed on hover"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_2"],num:["1.4.13"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=!1,r=!1,o=!1,s=e.dom.node;if("style"===s.nodeName.toLowerCase()){n.CommonUtil.getInnerText(s).toLowerCase();for(var u=0;u<s.ownerDocument.styleSheets.length;++u){var d=s.ownerDocument.styleSheets[u];if(d&&d.ownerNode===s)try{for(var c=d.cssRules?d.cssRules:d.rules,m=0;m<c.length;m++){var p="",h=!1,_=!1,b="",g=!1,f=!1,v=!1,A=(c[m],c[m].cssText);if(A.match(/:hover/g)){p=A.split(":")[0];var y=A.substring(A.indexOf("+")+1);if(y=y.trim(),(A.match(/:hover \+/g)||A.match(/:hover\+/g))&&(h=!0,b=y.split(" ")[0]),A.match(/:hover \~/g)||A.match(/:hover\~/g)){_=!0;var w=A.substring(A.indexOf("~")+1);b=(w=w.trim()).split(" ")[0]}if(!h&&!_)return(0,a.RulePass)("Pass_0");if(b&&(I=y.indexOf("display:"))&&"none;"!==y.slice(I+8).trim().split(" ")[0]&&d&&d.ownerNode===s)try{for(var k=d.cssRules?d.cssRules:d.rules,C=0;C<k.length;C++){var x=c[C].cssText,P=b+" {",R=x.trim(),T=R.indexOf(P);if(R.slice(T).trim(),R.match(/margin/g)){if(!o)return o=!0,(0,a.RulePotential)("Potential_3")}else{var U=x.split(":")[0];if((U=U.split(" ")[0])===b&&x.match(/:hover/g)){var I;if(g=!0,I=x.indexOf("display:"))if(f=!0,"none;"!==y.slice(I+8).trim().split(" ")[0]){if(v=!0,""!==p&&h){var L=s.ownerDocument.getElementsByTagName(p.toUpperCase());if(b.toUpperCase()===L[0].nextElementSibling.tagName){l=!0;continue}}else if(h){if(!r){r=!0;break}continue}if(""!==p&&_){L=s.ownerDocument.getElementsByTagName(p.toUpperCase());var E=[],W=L[0].nextElementSibling;do{if(W.tagName!==b.toUpperCase())break;E.push(W)}while(W=W.nextElementSibling);var q=E.length;if(1===q)return(0,a.RulePass)("Pass_2");if(q>1)return(0,a.RulePotential)("Potential_2")}}else{if(h){if(C===k.length-1&&!1===v)return(0,a.RulePotential)("Potential_1");continue}if(_){if(C===k.length-1&&!1===v)return(0,a.RulePotential)("Potential_1");continue}}else{if(h){if(C===k.length-1&&!1===f)return(0,a.RulePotential)("Potential_1");continue}if(_){if(C===k.length-1&&!1===f)return(0,a.RulePotential)("Potential_1");continue}}}else{if(h){if(C===k.length-1&&!1===g)return(0,a.RulePotential)("Potential_1");continue}if(_){if(C===k.length-1&&!1===g)return(0,a.RulePotential)("Potential_2");continue}}}}}catch(e){}}}}catch(e){}}}return l?(0,a.RulePass)("Pass_0"):r?(0,a.RulePotential)("Potential_1"):o?(0,a.RulePotential)("Potential_3"):void 0}}},2884:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.style_viewport_resizable=void 0;var a=i(4377),l=i(4377);t.style_viewport_resizable={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:"style_viewport_resizable.html",Pass_0:"style_viewport_resizable.html",Potential_1:"style_viewport_resizable.html"}},messages:{"en-US":{group:"Text must scale up to 200% without loss of content or functionality",Pass_0:"Rule Passed",Potential_1:"Verify that text sized using viewport units can be resized up to 200%"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:["1.4.4","1.4.10"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,n=!0,r=/\d+(vw|vh|vmin|vmax)/gi,o=l.nodeName.toLowerCase();if("style"===o){for(var s=0;s<l.ownerDocument.styleSheets.length;s++)if((g=l.ownerDocument.styleSheets[s]).ownerNode===l)try{var u=g.cssRules?g.cssRules:g.rules;if(u)for(var d=0;n&&d<u.length;d++){var c=u[d];if(c.type&&1===c.type){var m=c;if(m.style.fontSize){var p=(v=m.style.fontSize.trim()).match(r);v.length&&p&&(n=!1)}}else if(c.type&&3===c.type&&c.styleSheet){var h=c;if(f=h.styleSheet.cssRules?h.styleSheet.cssRules:h.styleSheet.rules)for(var _=0;n&&_<f.length;_++){var b=f[_];b.type&&1===b.type&&b.style.fontSize&&(p=(v=b.style.fontSize.trim()).match(r),v.length&&p&&(n=!1))}}}}catch(e){}}else if("link"===o)for(s=0;s<l.ownerDocument.styleSheets.length;s++){var g;if((g=l.ownerDocument.styleSheets[s])&&g.ownerNode===l)try{var f;if(f=g.cssRules?g.cssRules:g.rules)for(_=0;n&&_<f.length;_++){var v,A=f[_];if(A.type&&1===A.type&&A.style.fontSize)p=(v=A.style.fontSize.trim()).match(r),v.length&&p&&(n=!1)}}catch(e){}}else{var y=l.getAttribute("style");y&&(p=y.match(/font-size:\s*\d+(vw|vh|vmin|vmax)/gi))&&(n=!1)}return n?(0,a.RulePass)("Pass_0"):(0,a.RulePotential)("Potential_1")}}},5390:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.svg_graphics_labelled=void 0;var a=i(4377),l=i(4377),n=i(1421),r=i(8656);t.svg_graphics_labelled={id:"svg_graphics_labelled",context:"dom:svg",help:{"en-US":{group:"svg_graphics_labelled.html",pass:"svg_graphics_labelled.html",fail_acc_name:"svg_graphics_labelled.html"}},messages:{"en-US":{group:"A non-decorative SVG element must have an accessible name",pass:"The SVG element has an accessible name",fail_acc_name:"The SVG element has no accessible name"}},rulesets:[{id:["IBM_Accessibility","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[{"7d6734":{pass:"pass",fail_acc_name:"fail"}}],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l)||r.VisUtil.isNodePresentational(l))return null;var o=n.AccNameUtil.computeAccessibleName(l);return o&&o.name&&o.name.trim().length>0?(0,a.RulePass)("pass"):(0,a.RuleFail)("fail_acc_name")}}},7196:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.table_aria_descendants=void 0;var a=i(4377),l=i(4377),n=i(8137);t.table_aria_descendants={id:"table_aria_descendants",context:"aria:table dom:tr[role], aria:table dom:th[role], aria:table dom:td[role], aria:grid dom:tr[role], aria:grid dom:th[role], aria:grid dom:td[role], aria:treegrid dom:tr[role], aria:treegrid dom:th[role], aria:treegrid dom:td[role]",help:{"en-US":{group:"table_aria_descendants.html",explicit_role:"table_aria_descendants.html"}},messages:{"en-US":{group:"Table structure elements cannot specify an explicit 'role' within table containers",explicit_role:"An explicit ARIA 'role' is not valid for <{0}> element within an ARIA role '{1}' per the ARIA in HTML specification"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){e.dom.node;var l=n.CommonUtil.isTableDescendant(i);if(null!==l&&0!==l.length)return(0,a.RuleFail)("explicit_role",[e.dom.node.nodeName.toLowerCase(),l[0].role])}}},9965:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.table_caption_empty=void 0;var a=i(4377),l=i(4377),n=i(8137);t.table_caption_empty={id:"table_caption_empty",context:"dom:caption",refactor:{Valerie_Caption_HasContent:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"table_caption_empty.html",Fail_1:"table_caption_empty.html",group:"table_caption_empty.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"The <table> element has an empty <caption> element",group:"A <caption> element for a <table> element must contain descriptive text"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;return n.CommonUtil.hasInnerContentHidden(l)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},4468:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.table_caption_nested=void 0;var a=i(4377),l=i(4377),n=i(8137);t.table_caption_nested={id:"table_caption_nested",context:"dom:caption",refactor:{Valerie_Caption_InTable:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"table_caption_nested.html",Fail_1:"table_caption_nested.html",group:"table_caption_nested.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"<caption> element is not nested inside a <table> element",group:"The <caption> element must be nested inside the associated <table> element"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;return null!=n.CommonUtil.getAncestor(l,"table")?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},4451:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.table_headers_exists=void 0;var a=i(4377),l=i(4377),n=i(5755);t.table_headers_exists={id:"table_headers_exists",context:"dom:table",refactor:{RPT_Table_DataHeadingsAria:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"table_headers_exists.html",Fail_1:"table_headers_exists.html",group:"table_headers_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Table has no headers identified",group:"Data table must identify headers"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,r=l.rows;if(!n.TableUtil.isDataTable(l)||null===r||0===r.length)return null;var o=n.TableUtil.tableHeaderExists(l);return null!==o?o?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1"):void 0}}},6087:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.table_headers_ref_valid=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(295),s=i(8656),u=i(4944);t.table_headers_ref_valid={id:"table_headers_ref_valid",context:"dom:td[headers], dom:th[headers]",help:{"en-US":{Pass_0:"table_headers_ref_valid.html",Fail_1:"table_headers_ref_valid.html",Fail_2:"table_headers_ref_valid.html",Fail_3:"table_headers_ref_valid.html",Fail_4:"table_headers_ref_valid.html",group:"table_headers_ref_valid.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"The 'headers' attribute value \"{0}\" does not reference a valid 'id' in this document",Fail_2:"The 'headers' attribute value \"{0}\" refers to itself",Fail_3:"The 'headers' attribute value \"{0}\" does not refer to a cell in the same table",Fail_4:'The \'headers\' attribute value "{0}" does not refer to a cell indicated with <th> or a role of "columnheader" or "rowheader"',group:"The 'headers' attribute should refer to a valid cell in the same table"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:["a25f45"],run:function(e,t,i){var l=e.dom.node,d=r.CommonUtil.getAncestor(l,"table"),c=u.ARIAMapper.nodeToRole(d);if(null==d||!s.VisUtil.isNodeVisible(d)||!["table","grid"].includes(c))return null;l.nodeName.toLowerCase();var m=l.ownerDocument,p=l.getAttribute("headers");if(!p)return null;for(var h=p.split(" "),_=[],b=[],g=[],f=[],v=0;v<h.length;v++){var A=h[v];if(""!==A.trim()){var y=m.getElementById(A);if(y)if(o.DOMUtil.sameNode(y,l))b.push(A);else if(o.DOMUtil.isInSameTable(y,l)){if("th"!==y.nodeName.toLowerCase()){var w=n.AriaUtil.getRoles(y,!0);w.includes("columnheader")||w.includes("rowheader")||f.push(A)}}else g.push(A);else _.push(A)}}var k=[];return 0!=_.length&&k.push((0,a.RuleFail)("Fail_1",[_.toString()])),0!=b.length&&k.push((0,a.RuleFail)("Fail_2",[b.toString()])),0!=g.length&&k.push((0,a.RuleFail)("Fail_3",[g.toString()])),0!=f.length&&k.push((0,a.RuleFail)("Fail_4",[f.toString()])),0==k.length?(0,a.RulePass)("Pass_0"):k}}},5864:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.table_headers_related=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(7788),o=i(5755);t.table_headers_related={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:"table_headers_related.html",Fail_1:"table_headers_related.html",group:"table_headers_related.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Complex table does not have headers for each cell properly defined with 'header' or 'scope'",group:"For a complex data table, all <th> and <td> elements must be related via 'header' or 'scope' attributes"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node,s=n.CommonUtil.getAncestor(l,"table");if(null==s||!o.TableUtil.isComplexDataTable(s))return null;if(null===r.CacheUtil.getCache(l,"table_headers_related",null)){for(var u=[],d=0;d<s.rows.length;++d){var c=s.rows[d];u[d]||(u[d]=[]);for(var m=0;m<c.cells.length;++m){var p=c.cells[m];r.CacheUtil.setCache(p,"table_headers_related",d+":"+m);var h=parseInt(p.getAttribute("colspan"));h||(h=1);var _=parseInt(p.getAttribute("rowspan"));_||(_=1);for(var b=0;u[d][b];)b+=1;for(var g=0;g<_;++g){u[d+g]||(u[d+g]=[]);for(var f=0;f<h;++f)u[d+g][b+f]=p}}}var v=l.ownerDocument,A={},y={};for(d=0;d<u.length;++d){var w=!1;for(m=0;m<u[d].length;++m){var k=u[d][m],C=k.nodeName.toLowerCase();if("th"==C){if("row"==k.getAttribute("scope")?(w=!0,n.CommonUtil.attributeNonEmpty(k,"axis")||(A[r.CacheUtil.getCache(k,"table_headers_related",null)]=!0)):"col"==k.getAttribute("scope")&&(y[m]=!0,n.CommonUtil.attributeNonEmpty(k,"axis")||(A[r.CacheUtil.getCache(k,"table_headers_related",null)]=!0)),n.CommonUtil.attributeNonEmpty(k,"headers")){var x=k.getAttribute("headers").split(" ");for(g=0;g<x.length;++g)(P=v.getElementById(x[g].trim()))&&n.CommonUtil.getAncestor(P,"table")==s&&(A[r.CacheUtil.getCache(P,"table_headers_related",null)]=!0)}}else if("td"==C)if(w||y[m])A[r.CacheUtil.getCache(k,"table_headers_related",null)]=!0;else if(n.CommonUtil.attributeNonEmpty(k,"headers"))for(x=k.getAttribute("headers").split(" "),g=0;g<x.length;++g){var P;(P=v.getElementById(x[g].trim()))&&n.CommonUtil.getAncestor(P,"table")==s&&(A[r.CacheUtil.getCache(k,"table_headers_related",null)]=!0,A[r.CacheUtil.getCache(P,"table_headers_related",null)]=!0)}}}r.CacheUtil.setCache(s,"table_headers_related",A)}var R=r.CacheUtil.getCache(l,"table_headers_related",null),T=r.CacheUtil.getCache(s,"table_headers_related",null),U=R&&T&&R in T;return U||"0:0"!==R||0!=n.CommonUtil.getInnerText(l).trim().length?(U||0!=s.getElementsByTagName("th").length||(!0===r.CacheUtil.getCache(s,"table_headers_related_TrigOnce",!1)?U=!0:r.CacheUtil.setCache(s,"table_headers_related_TrigOnce",!0)),U?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")):null}}},4066:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.table_layout_linearized=void 0;var a=i(4377),l=i(4377),n=i(8656),r=i(5755);t.table_layout_linearized={id:"table_layout_linearized",context:"dom:table",refactor:{RPT_Table_LayoutTrigger:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"table_layout_linearized.html",Potential_1:"table_layout_linearized.html",group:"table_layout_linearized.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify table is not being used to format text content in columns unless the table can be linearized",group:"Avoid using tables to format text documents in columns unless the table can be linearized"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_FOUR}],act:[],run:function(e,t,i){var l=e.dom.node;if(n.VisUtil.isNodeHiddenFromAT(l))return null;var o=!r.TableUtil.isLayoutTable(l);return o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RulePotential)("Potential_1")}}},2841:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.table_scope_valid=void 0;var a=i(4377),l=i(4377);t.table_scope_valid={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:"table_scope_valid.html",Fail_1:"table_scope_valid.html",Fail_2:"table_scope_valid.html",group:"table_scope_valid.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Value provided is invalid for the 'scope' attribute",Fail_2:"The 'scope' attribute should only be used on a <th> element",group:'Value for \'scope\' attribute must be "row", "col", "rowgroup", or "colgroup"'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node;if("td"===l.nodeName.toLowerCase())return(0,a.RuleFail)("Fail_2");var n=l.getAttribute("scope").trim().toLowerCase();return/^(row|col|rowgroup|colgroup)$/.test(n)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},272:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.table_structure_misuse=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(8656),s=i(5755);t.table_structure_misuse={id:"table_structure_misuse",context:"dom:table",refactor:{WCAG20_Table_Structure:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"table_structure_misuse.html",Fail_1:"table_structure_misuse.html",group:"table_structure_misuse.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'The <{0}> element with "presentation" role or "none" role has structural element(s) and/or attribute(s) \'{1}\'',group:'Table elements with \'role="presentation" or \'role="none" should not have structural elements or attributes'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node;if(o.VisUtil.isNodeHiddenFromAT(l))return null;if(s.TableUtil.isDataTable(l))return null;if(n.AriaUtil.isNodeInGrid(l))return null;var u=[];r.CommonUtil.attributeNonEmpty(l,"summary")&&u.push(l);for(var d=l.getElementsByTagName("caption"),c=0;c<d.length;++c)if(r.CommonUtil.getAncestor(d[c],"table")==l){if(r.CommonUtil.shouldNodeBeSkippedHidden(d[c]))continue;u.push(d[c]);break}var m=l.getElementsByTagName("th");for(c=0;c<m.length;++c)if(r.CommonUtil.getAncestor(m[c],"table")==l){if(r.CommonUtil.shouldNodeBeSkippedHidden(m[c]))continue;u.push(m[c]);break}var p=l.getElementsByTagName("td");for(c=0;c<p.length;++c)if((p[c].hasAttribute("scope")||p[c].hasAttribute("headers"))&&r.CommonUtil.getAncestor(p[c],"table")==l){if(r.CommonUtil.shouldNodeBeSkippedHidden(p[c]))continue;u.push(p[c]);break}var h=l.nodeName.toLowerCase(),_=new Array,b={};for(c=0;c<u.length;c++){var g=u[c].nodeName.toLowerCase();b.hasOwnProperty(g)||("table"!=g||b.hasOwnProperty.summary?(b[g]=!0,_.push(g)):(b.summary=!0,_.push("summary")))}var f=_.join(", ");return 0==u.length?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[h,f])}}},1348:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.table_summary_redundant=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(482),o=i(295);t.table_summary_redundant={id:"table_summary_redundant",context:"dom:table",refactor:{WCAG20_Table_CapSummRedundant:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"table_summary_redundant.html",Fail_1:"table_summary_redundant.html",group:"table_summary_redundant.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"The table summary duplicates the caption",group:"The table summary must not duplicate the caption"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l,s=e.dom.node;if(s.hasAttribute("summary"))l=s.getAttribute("summary").trim().toLowerCase();else if(s.hasAttribute("aria-describedby")){for(var u=s.getAttribute("aria-describedby").split(" "),d="",c=0;c<u.length;c++){var m=u[c];if(m){var p=r.FragmentUtil.getById(s,m);p&&!o.DOMUtil.sameNode(p,s)&&(d+=" "+n.CommonUtil.getInnerText(p).trim().toLowerCase())}}l=d}if(!l)return null;var h=s.getElementsByTagName("caption");if(0===h.length)return null;if(l.length>0){var _=n.CommonUtil.getInnerText(h[0]).trim().toLowerCase();return l.includes(_)?(0,a.RuleFail)("Fail_1"):(0,a.RulePass)("Pass_0")}}}},6215:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.target_spacing_sufficient=void 0;var a=i(8137),l=i(4377),n=i(4377),r=i(5697),o=i(1775);t.target_spacing_sufficient={id:"target_spacing_sufficient",context:"dom:*",dependencies:[],help:{"en-US":{group:"target_spacing_sufficient.html",pass_spacing:"target_spacing_sufficient.html",pass_sized:"target_spacing_sufficient.html",pass_inline:"target_spacing_sufficient.html",pass_default:"target_spacing_sufficient.html",violation_spacing:"target_spacing_sufficient.html",recommendation_inline:"target_spacing_sufficient.html",potential_overlap:"target_spacing_sufficient.html"}},messages:{"en-US":{group:"The target must be sufficiently sized or spaced from other targets",pass_spacing:"The target's spacing from other targets is sufficient",pass_sized:"The target’s size is more than 24 CSS pixels",pass_inline:"The target is in a sentence or its size is otherwise constrained by the line-height of non-target text",pass_default:"The target's size is determined by the user agent and is not modified by the author",violation_spacing:'Undersized target "{0}" does not have sufficient spacing of 12 CSS pixels from another target "{1}"',recommendation_inline:'Confirm the inline target "{0}" is sufficiently spaced from another inline target "{1}"',potential_overlap:'Ensure the overlapped target "{0}" meets a minimum target size or has sufficient spacing from the overlapping target "{1}"'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_2"],num:["2.5.8"],level:n.eRulePolicy.VIOLATION,toolkitLevel:n.eToolkitLevel.LEVEL_THREE,reasonCodes:["pass_spacing","pass_sized","pass_inline","pass_default","violation_spacing","potential_overlap"]},{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_2"],num:["2.5.8"],level:n.eRulePolicy.RECOMMENDATION,toolkitLevel:n.eToolkitLevel.LEVEL_THREE,reasonCodes:["recommendation_inline"]}],act:[],run:function(e,t,i){var n=e.dom.node,s=n.nodeName.toLocaleLowerCase(),u=new r.DOMMapper,d=u.getUnadjustedBounds(n);if(!d)return null;if(!a.CommonUtil.isTarget(n))return null;if(d.height>=24&&d.width>=24)return(0,l.RulePass)("pass_sized");var c=o.CSSUtil.getInlineStatus(n);if(null===c)return null;if(c.inline)return c.text?null===c.violation?(0,l.RulePass)("pass_inline"):(0,l.RulePotential)("recommendation_inline",[s,c.violation]):null===c.violation?(0,l.RulePass)("pass_default"):(0,l.RulePotential)("recommendation_inline",[s,c.violation]);if(o.CSSUtil.isTargetBrowserDefault(n))return(0,l.RulePass)("pass_default");var m=n.ownerDocument;if(!m)return null;var p=getComputedStyle(n);if(null===p)return null;var h=p.zIndex;h&&!isNaN(Number(h))||(h="0");var _=m.querySelectorAll("body *:not(script):not(style)");if(_&&0!==_.length){for(var b,g=!0,f=24,v=24,A=null,y=null,w=[],k=function(e){var t=_[e];if(n.contains(t))return g=!1,"continue";if(t.contains(n)||!a.CommonUtil.isTarget(t)||w.some((function(e){return e.contains(t)})))return"continue";var i=u.getUnadjustedBounds(t);if(!i)return"continue";var r="0";if((b=getComputedStyle(t))&&((r=b.zIndex)&&!isNaN(Number(r))||(r="0")),i.top<=d.top&&i.left<=d.left&&i.top+i.height>=d.top+d.height&&i.left+i.width>=d.left+d.width)return(g?parseInt(h)<parseInt(r):parseInt(h)<=parseInt(r))?{value:null}:{value:(0,l.RulePotential)("potential_overlap",[s,t.nodeName.toLowerCase()])};if(d.top<=i.top&&d.left<=i.left&&d.top+d.height>=i.top+i.height&&d.left+d.width>=i.left+i.width)return(g?parseInt(h)<parseInt(r):parseInt(h)<=parseInt(r))?{value:(0,l.RulePotential)("potential_overlap",[s,t.nodeName.toLowerCase()])}:{value:(0,l.RuleFail)("violation_spacing",[s,t.nodeName.toLowerCase()])};if((d.top>=i.top&&d.top<=i.top+i.height||d.top+d.height<=i.top&&d.top+d.height>=i.top+i.height)&&(d.left>i.left&&d.left<i.left+i.width||i.left>d.left&&i.left<d.left+d.width)||(d.top>i.top&&d.top<i.top+i.height||i.top>d.top&&i.top<d.top+d.height)&&(d.left>=i.left&&d.left<=i.left+i.width||d.left+d.width>=i.left&&d.left+d.width<=i.left+i.width))return{value:(0,l.RulePotential)("potential_overlap",[s,t.nodeName.toLowerCase()])};var o=24,c=24;d.width<24&&(d.top>=i.top&&d.top<=i.top+i.height||d.top<=i.top&&d.top+d.height>i.top)&&(o=Math.min(Math.abs(d.left-i.left),Math.abs(d.left-(i.left+i.width)),Math.abs(d.left+d.width-(i.left+i.width)),Math.abs(d.left+d.width-i.left))),d.height<24&&(d.left>=i.left&&d.left<=i.left+i.width||d.left<=i.left&&d.left+d.width>i.left)&&(c=Math.min(Math.abs(d.top-i.top),Math.abs(d.top-(i.top+i.height)),Math.abs(d.top+d.height-(i.top+i.height)),Math.abs(d.top+d.height-i.top))),o<f&&(f=o,A=t),c<v&&(v=c,y=t),w.push(t)},C=0;C<_.length;C++){var x=k(C);if("object"==typeof x)return x.value}return Math.round(d.width/2)+f<12||Math.round(d.height/2)+v<12?Math.round(d.width/2)+f<Math.round(d.height/2)+v?(0,l.RuleFail)("violation_spacing",[s,A.nodeName.toLowerCase()]):(0,l.RuleFail)("violation_spacing",[s,y.nodeName.toLowerCase()]):(0,l.RulePass)("pass_spacing")}}}},5275:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.text_block_heading=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(7440),s=i(1775),u=i(8656);t.text_block_heading={id:"text_block_heading",context:"dom:p, dom:div, dom:br",refactor:{RPT_Block_ShouldBeHeading:{Potential_1:"potential_heading"}},help:{"en-US":{potential_heading:"text_block_heading.html",group:"text_block_heading.html"}},messages:{"en-US":{potential_heading:"Confirm this text '{0}' is used as a heading and if so, modify to use a heading element or role",group:"Heading text should use a heading element or role"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.CommonUtil.isNodeDisabled(l)||!u.VisUtil.isNodeVisible(l))return null;if(null===r.CommonUtil.getAncestor(l,["body"])||null!==r.CommonUtil.getAncestor(l,["script"]))return null;var d=0,c=l.ownerDocument.getElementsByTagName("body");if(null!=c){var m=getComputedStyle(c[0]);m&&(d=s.CSSUtil.getPixelsFromStyle(m["font-size"],c))}var p=0,h=[],_=new o.DOMWalker(l);_.nextNode();for(var b=!1;!b&&_.nextNode()&&_.node!==l&&_.node!==o.DOMWalker.parentNode(l)&&!["br","div","p"].includes(_.node.nodeName.toLowerCase());)if(_.node!==l&&!r.CommonUtil.shouldNodeBeSkippedHidden(_.node)){var g=_.node.nodeName.toLowerCase();if(3===_.node.nodeType){if(_.node.nodeValue.trim().length>0&&_.node.parentElement){var f=getComputedStyle(_.node.parentElement);if(f&&("bold"===f["font-weight"]||f["font-weight"]>=700||f["font-size"]&&f["font-size"].includes("large")||f["font-size"]&&0!==d&&s.CSSUtil.getPixelsFromStyle(f["font-size"],_.node.parentElement)>d)){var v=_.node.nodeValue.trim();(A=r.CommonUtil.wordCount(v))>0&&(h.push(v),p+=A),b=p>10,_.bEndTag=!0}else b=!0}}else if(1===_.node.nodeType)if("b"===g||"strong"===g||"u"===g||"font"===g){var A;v=r.CommonUtil.getInnerText(_.node),(A=r.CommonUtil.wordCount(v))>0&&(h.push(v),p+=A),b=p>10,_.bEndTag=!0}else{var y=n.AriaUtil.getResolvedRole(_.node);b=null!==y&&"generic"!==y&&"paragraph"!==y&&"strong"!==y||"applet"===g}}return 0==p&&(b=!0),b||(b=/[:,;\-\.]$/.test(h.join(" ").trim())),b?null:(0,a.RulePotential)("potential_heading",[h.join(" ")])}}},7900:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.text_contrast_sufficient=void 0;var a=i(8137),l=i(8656),n=i(8680),r=i(4377),o=i(4377),s=i(1775);t.text_contrast_sufficient={id:"text_contrast_sufficient",context:"dom:*",refactor:{IBMA_Color_Contrast_WCAG2AA:{Pass_0:"pass",Fail_1:"fail_contrast",Potential_1:"potential_same_color"},IBMA_Color_Contrast_WCAG2AA_PV:{pass_0:"pass",potential_1:"potential_graphic_background"}},help:{"en-US":{group:"text_contrast_sufficient.html",pass:"text_contrast_sufficient.html",fail_contrast:"text_contrast_sufficient.html",potential_same_color:"text_contrast_sufficient.html",potential_graphic_background:"text_contrast_sufficient.html",potential_text_shadow:"text_contrast_sufficient.html"}},messages:{"en-US":{group:"The contrast ratio of text with its background must meet WCAG AA requirements",pass:"The contrast ratio of text with its background meets WCAG AA requirements",fail_contrast:"Text contrast of {0} with its background is less than the WCAG AA minimum requirements for text of size {1}px and weight of {2}",potential_same_color:"The foreground text and its background color are both detected as {3}. Verify the text meets the WCAG AA requirements for minimum contrast",potential_graphic_background:"Verify the contrast ratio of the text against the lightest and the darkest colors of the background meets the WCAG AA minimum requirements for text of size {1}px and weight of {2}",potential_text_shadow:"Verify the contrast ratio of the text with shadow meets the WCAG AA minimum requirements for text of size {1}px and weight of {2}"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"1.4.3",level:o.eRulePolicy.VIOLATION,toolkitLevel:o.eToolkitLevel.LEVEL_ONE}],act:["afw4f7"],run:function(e,t,i){var o=e.dom.node,u=o.nodeName.toLowerCase();if(!l.VisUtil.isNodeVisible(o)||null!=l.VisUtil.hiddenByDefaultElements&&null!=l.VisUtil.hiddenByDefaultElements&&l.VisUtil.hiddenByDefaultElements.indexOf(u)>-1)return null;if(a.CommonUtil.isNodeDisabled(o))return null;if(a.CommonUtil.getAncestor(o,["svg","script","meta"]))return null;var d=o.ownerDocument;if(!d)return null;var c=d.defaultView;if(!c)return null;var m=a.CommonUtil.getNodeText(o);if(!a.CommonUtil.isShadowHostElement(o)||a.CommonUtil.isShadowHostElement(o)&&""===a.CommonUtil.getNodeText(o.shadowRoot)){if(0==m.trim().length)return null;if(0===(m=m.trim().replace(/[^(a-zA-Z\d\s)\^(\u4e00-\u9fff\u3400-\u4dbf)\u0000-\u0008\u000B-\u001F\u007F-\u009F\u2000-\u200F\u2028-\u202F\u205F-\u206F\u3000\uFEFF]+/g,"")).trim().length)return null}var p=o;if(a.CommonUtil.isShadowHostElement(o)){if(o.shadowRoot)for(var h=o.firstChild;h;h=h.nextSibling)if(3==h.nodeType){p=h.assignedSlot;break}if(null===p)return}var _=c.getComputedStyle(p);if(!1==("0"!==_.width&&"0"!==_.height&&"0"!==_.opacity&&"none"!==_.display&&"hidden"!==_.visibility&&"hidden"!==_.overflow&&("auto"===_.left||"absolute"===_.position&&parseInt(_.left.replace(/[^0-9.+-]/,""))>0)&&("auto"===_.left||"absolute"===_.position&&parseInt(_.top.replace(/[^0-9.+-]/,""))>0)))return null;var b=-1;if("auto"!==_.clip){var g=_.clip.toString();if(g.includes("rect"))for(var f=[],v=/\((.*)\)/g.exec(g)[1].split(", "),A=0;A<v.length;A++)f.push(v[A]);b=parseInt(f[0].replace(/px/g,""))-parseInt(f[2].replace(/px/g,"")),b=Math.abs(b)}if("absolute"===_.position&&b<7&&-1!==b)return null;var y=n.ColorUtil.ColorCombo(p);if(null!==y){var w=y.fg,k=y.bg,C=w.contrastRatio(k),x=s.CSSUtil.getWeightNumber(_.fontWeight),P=s.CSSUtil.getFontInPixels(_.fontSize,p),R=P>=24||P>=18.6&&x>=700;s.CSSUtil.containsCKJ(m)&&(R=P>=29.3||P>=24&&x>=700);var T=C>=4.5||C>=3&&R,U=y.hasBGImage||y.hasGradient,I=y.textShadow,L=a.CommonUtil.isNodeDisabled(p);if(!L){var E=a.CommonUtil.getControlOfLabel(p);E&&(L=a.CommonUtil.isNodeDisabled(E))}return!L&&"label"===u&&a.CommonUtil.isDisabledByFirstChildFormElement(p)&&(L=!0),!L&&o.hasAttribute("id")&&a.CommonUtil.isDisabledByReferringElement(p)&&(L=!0),!T&&L&&(T=!0),T?(0,r.RulePass)("pass",[C.toFixed(2),P,x,w.toHex(),k.toHex(),y.hasBGImage,y.hasGradient]):U?(0,r.RulePotential)("potential_graphic_background",[C.toFixed(2),P,x]):I?(0,r.RulePotential)("potential_text_shadow",[C.toFixed(2),P,x]):w.toHex()===k.toHex()?(0,r.RulePotential)("potential_same_color",[C.toFixed(2),P,x,w.toHex(),k.toHex(),y.hasBGImage,y.hasGradient]):(0,r.RuleFail)("fail_contrast",[C.toFixed(2),P,x,w.toHex(),k.toHex(),y.hasBGImage,y.hasGradient])}console.log("unable to get color combo for element: "+p.nodeName)}}},5027:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.text_quoted_correctly=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(8656);t.text_quoted_correctly={id:"text_quoted_correctly",context:"dom:*",help:{"en-US":{Pass_0:"text_quoted_correctly.html",Potential_1:"text_quoted_correctly.html",group:"text_quoted_correctly.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"If the following text is a quotation, mark it as a <q> or <blockquote> element: {0}",group:"Quotations should be marked with <q> or <blockquote> elements"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;if(!r.VisUtil.isNodeVisible(l))return null;if(null===n.CommonUtil.getAncestor(l,["body"]))return null;for(var o=!0,s=l.firstChild,u=null,d=["blockquote","q","script","style","pre","code","ruby","samp"];o&&s;){if("#text"===s.nodeName){var c=s.nodeValue,m=(c=c.replace(/(\S)'(\S)/g,"$1$2")).match(/("[^"]+")/g),p=c.match(/('[^']+')/g);if((null!==m||null!==p)&&null===n.CommonUtil.getAncestor(s,d)){if(null!=m)for(var h=0;o&&h<m.length;++h)o=n.CommonUtil.wordCount(m[h])<3;if(null!=p)for(h=0;o&&h<p.length;++h)o=n.CommonUtil.wordCount(p[h])<3;u=null===m?p.join(", ").replace(new RegExp("\\r?\\n|\\r","g"),""):null===p?m.join(", ").replace(new RegExp("\\r?\\n|\\r","g"),""):m.concat(p).join(", ").replace(new RegExp("\\r?\\n|\\r","g"),"")}}s=s.nextSibling}return!o&&u.length&&u.length>69&&(u=u.substring(0,32)+" ... "+u.substring(u.length-32)),o?(0,a.RulePass)("Pass_0"):(0,a.RulePotential)("Potential_1",[u])}}},3496:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.text_sensory_misuse=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(7788),s=i(8656);t.text_sensory_misuse={id:"text_sensory_misuse",context:"dom:body, dom:body dom:*",refactor:{RPT_Text_SensoryReference:{Potential_1:"potential_position, potential_other"}},help:{"en-US":{potential_position:"text_sensory_misuse.html",potential_other:"text_sensory_misuse.html",group:"text_sensory_misuse.html"}},messages:{"en-US":{potential_position:"Confirm the word(s) '{0}' of the user instruction is used to indicate a logical rather than visual position",potential_other:"Confirm the user instruction is still understandable without the word(s) '{0}'",group:"Instructions should be meaningful without relying solely on shape, size, or location words"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.3"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node,c=l.nodeName.toLowerCase();if(!s.VisUtil.isNodeVisible(l)||r.CommonUtil.isNodeDisabled(l)||s.VisUtil.hiddenByDefaultElements.includes(c))return null;if(null===r.CommonUtil.getAncestor(l,["body"]))return null;if(null!==r.CommonUtil.getAncestor(l,["script","a","label"]))return null;var m=n.AriaUtil.getResolvedRole(l);if(m){var p=n.AriaUtil.getRolesWithTypes(l,["landmark"]);if(p&&p.includes(m))return null}var h=n.AriaUtil.getRolesWithTypes(l,["widget","heading"]);if(r.CommonUtil.concatUniqueArrayItemList(["caption","cell","code","columnheader","definition","figure","list","listitem","math","meter","row","rowgroup","rowheader","term"],h),null!==n.AriaUtil.getAncestorWithRoles(l,h))return null;for(var _="",b="",g=l.firstChild,f="";g;){if("#text"===g.nodeName){var v=g.nodeValue.trim();v.length>0&&(f+=f.length>0?", "+v:v)}g=g.nextSibling}if(f.length>0){var A=function(e,t){if(!u[t])return"";var i=o.CacheUtil.getCache(e,t+"_sensory_misuse",null);if(null==i){for(var a=u[t].value,l="(ss+|"+a[0],n=1;n<a.length;++n){var r=a[n].trim().split(" ");if(l+="|"+r[0],r.length>1)for(var s=1;s<r.length;++s)l+=" +"+r[s]}l+=")",i=new RegExp(l,"gi"),o.CacheUtil.setCache(e,t+"_sensory_misuse",i)}return i}(l.ownerDocument,"exemptText");f=f.replace(A," "),_=d(l.ownerDocument,"positionText",f),b=d(l.ownerDocument,"otherText",f)}var y=[];return _&&y.push((0,a.RulePotential)("potential_position",[_])),b&&y.push((0,a.RulePotential)("potential_other",[b])),0==y.length?null:y}};var u={positionText:{value:["top-left","top-right","bottom-right","bottom-left","top-to-bottom","left-to-right","bottom-to-top","right-to-left","right","left","above","below","top","bottom","upper","lower","corner","beside"],type:"[string]"},otherText:{value:["round","square","shape","rectangle","triangle","size","large","small","medium","big","huge","tiny","extra","larger","smaller","bigger","little","largest","smallest","biggest"],type:"[string]"},exemptText:{value:["right-click","left-click","right-clicking","right-clicks","left-clicking","left-clicks","square root","right now","off the top"],type:"[string]"}};function d(e,t,i){if(!i)return"";var a=u[t].value,l={},n=[];return i.split(/\s+/).reduce((function(e,t){for(var i=t.replace(/[.?!:;()'",`\]]+$/,""),r=t.toLowerCase().replace(/[.?!:;()'",`\]]/g,""),o=0;o<a.length;o++){var s=r.indexOf(a[o]),u=a[o].length,d=r.charAt(u+s);if(!(s<0)){var c="."==d||"?"==d||"!"==d||":"==d||";"==d||"("==d||")"==d||"'"==d||'"'==d||","==d||".`"==d||"\\"==d||"]"==d,m=!1;if(s>0){var p=r.charAt(s-1);m="-"==p||"."==p||"?"==p||"!"==p||":"==p||";"==p||"("==p||")"==p||"'"==p||'"'==p||","==p||".`"==p||"\\"==p||"]"==p}r.length!=u&&1!=c&&1!=m||(l.hasOwnProperty(i)||(l[i]=!0,n.push(i)),o=a.length)}}return e[i]=(e[i]||0)+1,e}),Object.create(null)),n.join(", ")}},1131:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.text_spacing_valid=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(8656),o=i(1775),s=i(5697);t.text_spacing_valid={id:"text_spacing_valid",context:"dom:*",help:{"en-US":{pass:"text_spacing_valid.html",group:"text_spacing_valid.html",fail_letter_spacing_style:"text_spacing_valid.html",fail_word_spacing_style:"text_spacing_valid.html",fail_line_height_style:"text_spacing_valid.html"}},messages:{"en-US":{pass:"CSS !important is not used in inline style to control letter or word spacing or line height",group:"CSS !important should not be used in inline style to control letter or word spacing or line height",fail_letter_spacing_style:"CSS !important should not be used in inline ‘letter-spacing’ style",fail_word_spacing_style:"CSS !important should not be used in inline ‘word-spacing’ style",fail_line_height_style:"CSS !important should not be used in inline ‘line-height’ style"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.4.12"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:["9e45ec","24afc2","78fd32"],run:function(e,t,i){var l=e.dom.node;if(l.nodeName.toLowerCase(),r.VisUtil.isNodeHiddenFromAT(l)||n.CommonUtil.isNodeDisabled(l))return null;var u=(new s.DOMMapper).getUnadjustedBounds(l);if(!u)return null;if(u.top<0||u.left<0)return null;if(n.CommonUtil.getAncestor(l,"svg"))return null;for(var d="",c=l.childNodes,m=0;m<c.length;++m)3==c[m].nodeType&&(d+=c[m].nodeValue);if(0==d.trim().length)return null;var p=getComputedStyle(l).getPropertyValue("font-size"),h=parseFloat(p),_=o.CSSUtil.getDefinedStyles(l);if(0===Object.keys(_).length)return null;var b=[],g=/(-?[\d.]+)([a-z%]*)/,f=_["word-spacing"];if(f)if((f.startsWith("inherit")||f.startsWith("unset"))&&(null!==(w=o.CSSUtil.getAncestorWithStyles(l.parentElement,{"word-spacing":["*"]},["inherit","unset"]))?f=o.CSSUtil.getDefinedStyles(w)["word-spacing"]:f.startsWith("unset")&&(f="initial")),"important"===l.style.getPropertyPriority("word-spacing"))if("initial"===(f=f.substring(0,f.length-10-1))||"normal"===f)b.push((0,a.RuleFail)("fail_word_spacing_style"));else{var v=parseFloat(f);isNaN(v)?b.push((0,a.RulePass)("pass")):""!==(C=f.trim().match(g))[2]&&0!==C[1]&&(null!==(x=o.CSSUtil.convertValue2Pixels(C[2],C[1],l))&&x/h<.16?b.push((0,a.RuleFail)("fail_word_spacing_style")):b.push((0,a.RulePass)("pass")))}else b.push((0,a.RulePass)("pass"));var A=_["letter-spacing"];if(A)if((A.startsWith("inherit")||A.startsWith("unset"))&&(null!==(w=o.CSSUtil.getAncestorWithStyles(l.parentElement,{"letter-spacing":["*"]},["inherit","unset"]))?A=o.CSSUtil.getDefinedStyles(w)["letter-spacing"]:A.startsWith("unset")&&(A="initial")),"important"===l.style.getPropertyPriority("letter-spacing"))if("initial"===(A=A.substring(0,A.length-10-1))||"normal"===A)b.push((0,a.RuleFail)("fail_letter_spacing_style"));else{var y=parseFloat(A);isNaN(y)?b.push((0,a.RulePass)("pass")):""!==(C=A.trim().match(g))[2]&&0!==C[1]&&(null!==(x=o.CSSUtil.convertValue2Pixels(C[2],C[1],l))&&x/h<.12?b.push((0,a.RuleFail)("fail_letter_spacing_style")):b.push((0,a.RulePass)("pass")))}else b.push((0,a.RulePass)("pass"));var w,k=_["line-height"];if(k&&null===o.CSSUtil.getAncestorWithStyles(l,{overflow:["auto","scroll"],"overflow-x":["auto","scroll"],"overflow-y":["auto","scroll"]}))if((k.startsWith("inherit")||k.startsWith("unset"))&&(null!==(w=o.CSSUtil.getAncestorWithStyles(l.parentElement,{"line-height":["*"]},["inherit","unset"]))?k=o.CSSUtil.getDefinedStyles(w)["line-height"]:k.startsWith("unset")&&(k="initial")),"important"===l.style.getPropertyPriority("line-height"))if("initial"===(k=k.substring(0,k.length-10-1))||"normal"===k)b.push((0,a.RuleFail)("fail_line_height_style"));else{var C,x,P=parseFloat(k);isNaN(P)?b.push((0,a.RulePass)("pass")):""===(C=k.trim().match(g))[2]?C[1]<1.5?b.push((0,a.RuleFail)("fail_line_height_style")):b.push((0,a.RulePass)("pass")):null!==(x=o.CSSUtil.convertValue2Pixels(C[2],C[1],l))&&x/h<1.5?b.push((0,a.RuleFail)("fail_line_height_style")):b.push((0,a.RulePass)("pass"))}else b.push((0,a.RulePass)("pass"));return b.length>0?b:null}}},8681:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.text_whitespace_valid=void 0;var a=i(4377),l=i(4377),n=i(8137);t.text_whitespace_valid={id:"text_whitespace_valid",context:"dom:*",help:{"en-US":{pass:"text_whitespace_valid.html",potential_text:"text_whitespace_valid.html",group:"text_whitespace_valid.html"}},messages:{"en-US":{pass:"Rule Passed",potential_text:"Space characters should not be used to create space between the letters of a word",group:"Space characters should not be used to control spacing within a word"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,r=n.CommonUtil.getAncestor(l,["body","script","code"]);if(null==r||"body"!=r.nodeName.toLowerCase())return null;for(var o=!0,s=l.firstChild;o&&s;){if("#text"==s.nodeName){var u=s.nodeValue;o=!/(^|\s)[a-zA-Z] [a-zA-Z] [a-zA-Z]($|\s)/.test(u)}s=s.nextSibling}return o?(0,a.RulePass)("pass"):(0,a.RulePotential)("potential_text")}}},4577:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.widget_tabbable_exists=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(4944),s=i(7440),u=i(8656);t.widget_tabbable_exists={id:"widget_tabbable_exists",context:"aria:button,aria:link,aria:spinbutton,aria:tablist,aria:combobox,aria:listbox,aria:menu,aria:radiogroup,aria:tree,aria:menubar, aria:grid, aria:treegrid, 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:"widget_tabbable_exists.html",fail_no_tabbable:"widget_tabbable_exists.html",group:"widget_tabbable_exists.html"}},messages:{"en-US":{pass:"Rule Passed",fail_no_tabbable:'Component with "{0}" role does not have a tabbable element',group:"Component must have at least one tabbable element"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(!u.VisUtil.isNodeHiddenFromAT(l)&&!r.CommonUtil.isNodeDisabled(l)&&!n.AriaUtil.shouldBePresentationalChild(l)){if("datalist"===l.nodeName.toLowerCase())return null;for(var d=0,c=["combobox","grid","listbox","menu","menubar","radiogroup","tablist","tree","treegrid"];d<c.length;d++){var m=c[d];if(null!=n.AriaUtil.getAncestorWithRole(l,m,!0))return null}var p=o.ARIAMapper.nodeToRole(l),h=0;if(r.CommonUtil.isTabbable(l)&&++h,h<1&&!n.AriaUtil.containsPresentationalChildrenOnly(l)&&l.firstChild)for(var _=new s.DOMWalker(l);h<1&&_.nextNode()&&_.node!=l;)1==_.node.nodeType&&!_.bEndTag&&r.CommonUtil.isTabbable(_.node)&&++h;return h>=1?(0,a.RulePass)("pass"):(0,a.RulePotential)("fail_no_tabbable",[p])}}}},8051:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.widget_tabbable_single=void 0;var a=i(4377),l=i(4377),n=i(7440),r=i(490),o=i(8137),s=i(4944),u=i(7788),d=i(8656);t.widget_tabbable_single={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",potential_multiple_tabbable:"potential_multiple_tabbable"}},help:{"en-US":{pass:"widget_tabbable_single.html",potential_multiple_tabbable:"widget_tabbable_single.html",group:"widget_tabbable_single.html"}},messages:{"en-US":{pass:"Components with a widget role should have no more than one tabbable element",potential_multiple_tabbable:'Component with "{0}" role has more than one tabbable element',group:"Components with a widget role must have no more than one tabbable element"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1","2.4.3"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(!d.VisUtil.isNodeHiddenFromAT(l)&&!o.CommonUtil.isNodeDisabled(l)&&!r.AriaUtil.shouldBePresentationalChild(l)){var c=s.ARIAMapper.nodeToRole(l),m=0;o.CommonUtil.isTabbable(l)&&++m;var p=[];if(m<2&&!r.AriaUtil.containsPresentationalChildrenOnly(l)&&l.firstChild)for(var h=new n.DOMWalker(l);m<2&&h.nextNode()&&h.node!=l;)if(1==h.node.nodeType&&!h.bEndTag&&o.CommonUtil.isTabbable(h.node)){if("input"===h.node.nodeName.toLowerCase()&&"radio"===h.node.getAttribute("type")){var _=h.node.getAttribute("name");if(p.includes(_))continue;p.push(_)}++m}var b=m<2;return b||u.CacheUtil.setCache(l,"widget_tabbable_single","potential_multiple_tabbable"),b?(0,a.RulePass)("pass"):(0,a.RulePotential)("potential_multiple_tabbable",[c])}}}},1070:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.a11yRulesets=void 0;var a=i(4976),l=i(3005),n=[];for(var r in a)n.push(a[r]);var o={"1.1.1":"All non-text content that is presented to the user has a text alternative that serves the equivalent purpose.","1.2.1":"For prerecorded audio-only or video-only media, an alternative provides equivalent information.","1.2.2":"Captions are provided for all prerecorded audio content in synchronized media.","1.2.3":"An alternative for time-based media or audio description of the prerecorded video content is provided for synchronized media.","1.2.4":"Captions are provided for all live audio content in synchronized media.","1.2.5":"Audio description is provided for all prerecorded video content in synchronized media.","1.3.1":"Information, structure, and relationships conveyed through presentation can be programmatically determined or are available in text.","1.3.2":"When the sequence in which content is presented affects its meaning, a correct reading sequence can be programmatically determined.","1.3.3":"Instructions provided for understanding and operating content do not rely solely on sensory characteristics of components such as shape, size, visual location, orientation, or sound.","1.3.4":"Content does not restrict its view and operation to a single display orientation, such as portrait or landscape.","1.3.5":"The purpose of each input field that collects information about the user can be programmatically determined when the field serves a common purpose.","1.4.1":"Color is not used as the only visual means of conveying information, indicating an action, prompting a response, or distinguishing a visual element.","1.4.2":"If any audio plays automatically for more than 3 seconds, either a mechanism is available to pause or stop the audio, or a mechanism is available to control audio volume independently from the overall system volume level.","1.4.3":"The visual presentation of text and images of text has a contrast ratio of at least 4.5:1, with a 3:1 ratio for large-scale text.","1.4.4":"Text can be resized without assistive technology up to 200 percent without loss of content or functionality.","1.4.5":"If the technologies being used can achieve the visual presentation, text should not be used to convey information rather than images of text.","1.4.10":"Content can reflow without loss of information or functionality, and without requiring scrolling in two dimensions.","1.4.11":"The parts of graphical objects required to understand the content, and the visual information required to identify UI components and states, have a contrast ratio of at least 3:1 against adjacent colors.","1.4.12":"No loss of content or functionality occurs when users change letter, word and paragraph spacing, as well as line height.","1.4.13":"Where hover or focus actions cause additional content to become visible and hidden, the additional content is dismissable, hoverable and persistent.","2.1.1":"All functionality of the content is operable through a keyboard interface without requiring specific timings for individual keystrokes.","2.1.2":"If keyboard focus can be moved to a component using a keyboard interface, then focus can be moved away from that component using only a keyboard interface, and, if it requires more than unmodified arrow or tab keys or other standard exit methods, the user is advised of the method for moving focus away.","2.1.4":"If a keyboard shortcut is implemented using only letter, punctuation, number or symbol characters, then the shortcut can be turned off, remapped or activated only on focus.","2.2.1":"For each time limit that is set by the content, the user can turn off, adjust, or extend the limit.","2.2.2":"For moving, blinking, scrolling, or auto-updating information, the user can pause, stop, hide or adjust the information.","2.3.1":"Content does not contain anything that flashes more than three times in any one second period, or the flash is below the general flash and red flash thresholds.","2.4.1":"A mechanism is available to bypass blocks of content that are repeated on multiple Web pages.","2.4.2":"Web pages, non-web documents, and software have titles that describe topic or purpose.","2.4.3":"If content can be navigated sequentially and the navigation sequences affect meaning or operation, focusable components receive focus in an order that preserves meaning and operability.","2.4.4":"The purpose of each link can be determined from the link text alone or from the link text together with its programmatically determined link content.","2.4.5":"More than one way is available to locate a Web page within a set of Web pages, except where the Web Page is the result of, or a step in, a process.","2.4.6":"Headings and labels describe topic or purpose.","2.4.7":"Any keyboard operable user interface has a mode of operation where the keyboard focus indicator is visible.","2.4.11":"When an element receives focus, it is not entirely covered by other content.","2.5.1":"All functionality that uses multipoint or path-based gestures for operation can be operated with a single pointer without a path-based gesture.","2.5.2":"For functionality that can be operated using a single pointer, completion of the function is on the up-event with an ability to abort, undo or reverse the outcome.","2.5.3":"For user interface components with labels that include text or images of text, the accessible name contains the text that is presented visually.","2.5.4":"Functionality that can be operated by motion can also be operated by user interface components, and the motion trigger can be disabled.","2.5.8":"The size of the target for pointer inputs is at least 24 by 24 CSS pixels.","2.5.7":"All functionality that uses a dragging movement for operation can be achieved by a single pointer without dragging.","3.1.1":"The default human language of Web pages, non-Web documents, or software can be programmatically determined.","3.1.2":"The human language of each passage or phrase in the content can be programmatically determined.","3.2.1":"When any component receives focus, it does not initiate a change of context.","3.2.2":"Changing the setting of any user interface component does not automatically cause a change of context unless the user has been advised of the behavior before using the component.","3.2.3":"Navigational mechanisms that are repeated on multiple Web pages within a set of Web pages occur in the same relative order each time they are repeated, unless a change is initiated by the user.","3.2.4":"Components that have the same functionality within a set of Web pages are identified consistently.","3.2.6":"Make it easier to find help and support. If a Web page contains help mechanisms they occur in the same order relative to other page content, unless a change is initiated by the user.","3.3.1":"If an input error is automatically detected, the item that is in error is identified and the error is described to the user in text.","3.3.2":"Labels or instructions are provided when content requires user input.","3.3.3":"If an input error is automatically detected and suggestions for correction are known, then the suggestions are provided to the user, unless it would jeopardize the security or purpose of the content.","3.3.4":"For content that cause legal commitments or financial transactions for the user to occur, that modify or delete user-controllable data in data storage systems, or that submit user test responses, the user can reverse, correct, or confirm the action.","3.3.7":"Make it easier for users to complete multi-step processes. Don't ask for the same information twice in the same session.","3.3.8":"Make logins possible with less mental effort. Don't make people solve, recall, or transcribe something to log in.","4.1.1":"(Obsolete and removed) This requirement was originally adopted to address problems that assistive technology (AT) had directly parsing HTML. AT no longer has any need to directly parse HTML. Consequently, these problems either no longer exist or are addressed by other requirements.","4.1.2":"For all user interface components (including, but not limited to: form elements, links and components generated by scripts), the name and role can be programmatically determined; states, properties, and values that can be set by the user can be programmatically set; and notification of changes to these items is available to user agents, including assistive technologies.","4.1.3":"In content implemented using markup languages, status messages can be programmatically determined through role or properties such that they can be presented to the user by assistive technologies without receiving focus.",HTML:"The HTML specification issues that cause accessibility issues may be covered by other rules and will be reported under those accessibility requirements. However, some non-conforming HTML specification issues are still reported.",ARIA:"The ARIA specification issues that cause accessibility issues may be covered by other rules and will be reported under those accessibility requirements. However, some non-conforming ARIA specification issues are still reported."};t.a11yRulesets=[{id:"EXTENSIONS",name:"Extension Rules",category:l.eGuidelineCategory.ACCESSIBILITY,description:"Rules for enabling the browser extensions",type:l.eGuidelineType.EXTENSION,checkpoints:[{num:"1",name:"Extension CP 1",wcagLevel:"A",summary:"Rules for Extension"}]},{id:"IBM_Accessibility",name:"IBM Accessibility 7.3",category:l.eGuidelineCategory.ACCESSIBILITY,description:"Rules for WCAG 2.0, 2.1, 2.2 A and AA plus additional IBM supplemental requirements.",checkpoints:n.filter((function(e){return!("A"!==e.level&&"AA"!==e.level&&"NA"!==e.level||"2.0"!==e.wcagType&&"2.1"!==e.wcagType&&"2.2"!==e.wcagType&&"NA"!==e.wcagType)})).map((function(e){return{num:e.num,scId:e.scId,name:e.handle,wcagLevel:e.level,summary:o[e.num]}}))},{id:"IBM_Accessibility_next",name:"IBM Accessibility next",category:l.eGuidelineCategory.ACCESSIBILITY,description:"Rules for WCAG 2.0, 2.1, 2.2 A and AA plus additional IBM supplemental requirements.",checkpoints:n.filter((function(e){return!("A"!==e.level&&"AA"!==e.level&&"NA"!==e.level||"2.0"!==e.wcagType&&"2.1"!==e.wcagType&&"2.2"!==e.wcagType&&"NA"!==e.wcagType)})).map((function(e){return{num:e.num,scId:e.scId,name:e.handle,wcagLevel:e.level,summary:o[e.num]}}))},{id:"WCAG_2_2",name:"WCAG 2.2 (A, AA)",category:l.eGuidelineCategory.ACCESSIBILITY,description:"Rules for WCAG 2.2 A & AA. This is the current W3C recommendation (specification). Content that conforms to WCAG 2.2 also conforms to WCAG 2.1.",checkpoints:n.filter((function(e){return!("A"!==e.level&&"AA"!==e.level||"2.0"!==e.wcagType&&"2.1"!==e.wcagType&&"2.2"!==e.wcagType)})).map((function(e){return{num:e.num,scId:e.scId,name:e.handle,wcagLevel:e.level,summary:o[e.num]}}))},{id:"WCAG_2_1",name:"WCAG 2.1 (A, AA)",category:l.eGuidelineCategory.ACCESSIBILITY,description:"Rules for WCAG 2.1 A & AA. Content that conforms to WCAG 2.1 also conforms to WCAG 2.0.",checkpoints:n.filter((function(e){return!("A"!==e.level&&"AA"!==e.level||"2.0"!==e.wcagType&&"2.1"!==e.wcagType)})).map((function(e){return{num:e.num,scId:e.scId,name:e.handle,wcagLevel:e.level,summary:o[e.num]}}))},{id:"WCAG_2_0",name:"WCAG 2.0 (A, AA)",category:l.eGuidelineCategory.ACCESSIBILITY,description:"Rules for WCAG 2.0 A & AA. Referenced by US Section 508, but not the latest W3C recommendation.",checkpoints:n.filter((function(e){return("A"===e.level||"AA"===e.level)&&"2.0"===e.wcagType})).map((function(e){return{num:e.num,scId:e.scId,name:e.handle,wcagLevel:e.level,summary:o[e.num]}}))}]},1421:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AccNameUtil=void 0;var a=i(8235),l=i(8137),n=i(490),r=i(8656),o=i(7788),s=i(7440),u=i(295),d=function(){function e(){}return e.computeAccessibleName=function(t){if(!t)return null;var i=t.nodeName.toLowerCase(),r=o.CacheUtil.getCache(t,"ELEMENT_ACCESSBLE_NAME",void 0);if(void 0!==r)return r;var s=n.AriaUtil.getAriaLabel(t);if(s&&""!==s.trim())return o.CacheUtil.setCache(t,"ELEMENT_ACCESSBLE_NAME",{name:l.CommonUtil.truncateText(s),nameFrom:"ariaLabel"}),{name:l.CommonUtil.truncateText(s),nameFrom:"ariaLabel"};if(r=e.computeAccessibleNameForNativeElement(t))return o.CacheUtil.setCache(t,"ELEMENT_ACCESSBLE_NAME",r),r;var u=n.AriaUtil.getResolvedRole(t);if(a.ARIADefinitions.designPatterns[u]&&a.ARIADefinitions.designPatterns[u].nameFrom.includes("contents")&&(r=e.computeAccessibleNameFromContent(t)))return o.CacheUtil.setCache(t,"ELEMENT_ACCESSBLE_NAME",r),r;if(t.hasAttribute("title")){var d=t.getAttribute("title").trim();if(d&&d.trim().length>0)return d=l.CommonUtil.truncateText(d),o.CacheUtil.setCache(t,"ELEMENT_ACCESSBLE_NAME",{name:d,nameFrom:"title"}),{name:d,nameFrom:"title"}}if("textarea"===i||"input"===i&&(!t.hasAttribute("type")||l.CommonUtil.input_type_with_placeholder.includes(t.getAttribute("type")))){var c=t.getAttribute("placeholder");if(c&&c.trim().length>0)return c=l.CommonUtil.truncateText(c),o.CacheUtil.setCache(t,"ELEMENT_ACCESSBLE_NAME",{name:c,nameFrom:"placeholder"}),{name:c,nameFrom:"placeholder"}}return o.CacheUtil.setCache(t,"ELEMENT_ACCESSBLE_NAME",null),null},e.computeAccessibleNameForNativeElement=function(t){var i,a,n=t.nodeName.toLowerCase();if(l.CommonUtil.form_labelable_elements.includes(n)&&(m=l.CommonUtil.getFormFieldLabel(t))&&""!==m.trim())return{name:l.CommonUtil.truncateText(m),nameFrom:"label"};if("input"===n&&t.hasAttribute("type"))if(l.CommonUtil.form_button_types.includes(t.getAttribute("type"))){var o=l.CommonUtil.getElementAttribute(t,"value");if(o&&""!==o.trim())return{name:l.CommonUtil.truncateText(o),nameFrom:"value"};var s=t.getAttribute("type");if("submit"===s||"reset"===s)return{name:s,nameFrom:"internal"}}else if("image"===t.getAttribute("type")&&(_=l.CommonUtil.getElementAttribute(t,"alt"))&&""!==_.trim())return{name:l.CommonUtil.truncateText(_),nameFrom:"alt"};if("button"===n){if((f=t.innerText)&&""!==f.trim())return{name:l.CommonUtil.truncateText(f),nameFrom:"text"};var d=t.querySelector("img");if(d&&!r.VisUtil.isNodeHiddenFromAT(d)&&!r.VisUtil.isNodePresentational(d)&&(a=e.computeAccessibleName(d))&&a.name&&a.name.trim().length>0)return a}if("fieldset"===n&&(i=t.firstElementChild)&&"legend"===i.nodeName.toLowerCase()&&(f=i.innerText)&&f.trim().length>0)return{name:l.CommonUtil.truncateText(f),nameFrom:"legend"};if("output"===n&&t.hasAttribute("for")){var c=t.getAttribute("for").trim().split(" ");if(c&&c.length>0){for(var m="",p=0;p<c.length;p++){var h=t.ownerDocument.getElementById(c[p]);!h||u.DOMUtil.sameNode(h,t)||r.VisUtil.isNodeHiddenFromAT(h)||r.VisUtil.isNodePresentational(h)||(a=e.computeAccessibleName(h))&&a.name&&a.name.trim().length>0&&(m+=" "+l.CommonUtil.normalizeSpacing(a.name))}if(m.trim().length>0)return{name:l.CommonUtil.truncateText(m),nameFrom:"label"}}}if("summary"===n&&(f=t.innerText)&&f.trim().length>0)return{name:l.CommonUtil.truncateText(f),nameFrom:"legend"};if("details"===n)return(i=t.firstElementChild)&&"summary"===i.nodeName.toLowerCase()&&(a=e.computeAccessibleName(i))&&a.name&&a.name.trim().length>0?{name:l.CommonUtil.truncateText(a.name.trim()),nameFrom:"summary"}:{name:"details",nameFrom:"internal"};if("figure"===n&&!(b=t.firstElementChild)&&(b=t.lastElementChild)&&"figcaption"===b.nodeName.toLowerCase()&&(f=b.innerText)&&f.trim().length>0)return{name:l.CommonUtil.truncateText(f),nameFrom:"figcaption"};if("img"===n&&t.hasAttribute("alt")){var _=t.getAttribute("alt");return{name:l.CommonUtil.truncateText(_),nameFrom:"alt"}}if("area"===n&&t.hasAttribute("alt")&&(_=t.getAttribute("alt"))&&_.trim().length>0)return{name:l.CommonUtil.truncateText(_),nameFrom:"alt"};if("table"===n){var b,g=t.firstElementChild;if(g&&"caption"===g.nodeName.toLowerCase()&&(b=g.innerText)&&b.trim().length>0)return{name:l.CommonUtil.truncateText(b),nameFrom:"caption"}}if("a"===n){var f;if((f=t.innerText)&&""!==f.trim())return{name:l.CommonUtil.truncateText(f),nameFrom:"text"};var v=t.querySelectorAll(":scope > img, :scope > svg");if(v&&v.length>0){var A="";if(v.forEach((function(t){if(!r.VisUtil.isNodeHiddenFromAT(t)&&!r.VisUtil.isNodePresentational(t)){var i=e.computeAccessibleName(t);i&&i.name&&i.name.trim().length>0&&(A+=" "+i.name.trim())}})),""!==A.trim())return{name:A.trim(),nameFrom:"alt"}}}return("optgroup"===n||"option"===n||"track"===n)&&(m=t.getAttribute("label"))&&m.trim().length>0?{name:l.CommonUtil.truncateText(m),nameFrom:"label"}:"svg"===n&&(a=e.computeAccessibleNameForSVGElement(t))&&a.name&&a.name.trim().length>0?a:null},e.computeAccessibleNameForSVGElement=function(e){var t=e.querySelectorAll(":scope > title");if(t&&t.length>0){var i="";if(t.forEach((function(e){if(e&&!r.VisUtil.isNodeHiddenFromAT(e)&&!r.VisUtil.isNodePresentational(e)){var t=e.textContent;t&&""!==t.trim()&&(i+=t.trim())}})),i&&""!==i.trim())return{name:i.trim(),nameFrom:"svgTitle"}}var a=e.querySelector("a");if(a&&!r.VisUtil.isNodeHiddenFromAT(a)&&!r.VisUtil.isNodePresentational(a)){var o=a.getAttribute("xlink:title");if(o&&""!==o.trim())return{name:l.CommonUtil.truncateText(o),nameFrom:"svglinkTitle"}}var s="";if(e.querySelectorAll(":scope > *").forEach((function(e){if("svg"!==e.nodeName.toLowerCase()&&!r.VisUtil.isNodeHiddenFromAT(e)&&!r.VisUtil.isNodePresentational(e)){var t=e.textContent;t&&t.trim().length>0&&(s+=t)}})),""!==s.trim())return{name:l.CommonUtil.truncateText(s),nameFrom:"svgText"};var u=n.AriaUtil.getAriaDescription(e);if(u&&u.trim().length>0)return{name:l.CommonUtil.truncateText(u),nameFrom:"aria-description"};var d=e.querySelectorAll(":scope > desc");if(d&&d.length>0){var c="";if(d.forEach((function(e){if(e&&!r.VisUtil.isNodeHiddenFromAT(e)&&!r.VisUtil.isNodePresentational(e)){var t=e.textContent;t&&""!==t.trim()&&(c+=t.trim())}})),c&&""!==c.trim())return{name:c.trim(),nameFrom:"svgDesc"}}},e.computeAccessibleNameFromContent=function(t){var i=t.nodeName.toLowerCase(),a=(n.AriaUtil.getResolvedRole(t),e.computeAccessibleNameForCSSPseudoElement(t,"before"));return null!==a&&a.name&&a.name.trim().length>0||(a=e.computeAccessibleNameForCSSPseudoElement(t,"after"))&&a.name&&a.name.trim().length>0?a:t.shadowRoot&&(a=e.computeAccessibleNameForShadowHost(t))&&a.name&&a.name.trim().length>0?{name:a.name,nameFrom:"shadow"}:"slot"===i&&(a=e.computeAccessibleNameForSlostElement(t))&&a.name&&a.name.trim().length>0?{name:a.name,nameFrom:"slot"}:(a=e.computeAccessibleNameFromChildren(t))&&a.name&&a.name.trim().length>0?{name:a.name,nameFrom:"content"}:null},e.computeAccessibleNameForCSSPseudoElement=function(e,t){var i=e.ownerDocument.defaultView.getComputedStyle(e,t);if(i){var a=i.content;if(a&&"none"!==a&&(a=a.replace(/^"/,"").replace(/"$/,"")).trim().length>0)return{name:l.CommonUtil.truncateText(a),nameFrom:"css-"+t}}return null},e.computeAccessibleNameForShadowHost=function(t){var i="",a=t.shadowRoot;return a&&a.querySelectorAll("*").forEach((function(t){var a=e.computeAccessibleName(t);a&&a.name&&a.name.trim().length>0&&(i+=" "+a.name.trim())})),i.trim().length>0?{name:l.CommonUtil.truncateText(i),nameFrom:"shadow-host"}:null},e.computeAccessibleNameForSlostElement=function(t){var i="";if(t.assignedNodes()&&0!==t.assignedNodes().length)for(var a=0,n=t.assignedNodes();a<n.length;a++){var r,o=n[a];(r=e.computeAccessibleName(o))&&r.name&&r.name.length>0&&(i+=" "+r.name.trim())}else(r=e.computeAccessibleName(t))&&r.name&&r.name.trim().length>0&&(i+=" "+r.name.trim());return i.trim().length>0?{name:l.CommonUtil.truncateText(i),nameFrom:"content-slot"}:null},e.computeAccessibleNameFromChildren=function(t){for(var i="",a=new s.DOMWalker(t);a.nextNode()&&a.node!==t&&a.node!==t.parentNode;){var n=a.node;if(3===n.nodeType){var o=n.parentElement;!r.VisUtil.isNodeHiddenFromAT(o)&&!r.VisUtil.isNodePresentational(o)&&n.nodeValue&&n.nodeValue.trim().length>0&&(i+=" "+n.nodeValue.trim())}else if(1===n.nodeType&&!r.VisUtil.isNodeHiddenFromAT(n)&&!r.VisUtil.isNodePresentational(n)){var u=e.computeAccessibleName(n);u&&u.name&&u.name.length>0&&(i+=" "+u.name.trim())}}return i.trim().length>0?{name:l.CommonUtil.truncateText(i),nameFrom:"content"}:null},e}();t.AccNameUtil=d},490:function(e,t,i){var a=this&&this.__spreadArray||function(e,t,i){if(i||2===arguments.length)for(var a,l=0,n=t.length;l<n;l++)!a&&l in t||(a||(a=Array.prototype.slice.call(t,0,l)),a[l]=t[l]);return e.concat(a||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.AriaUtil=void 0;var l=i(7788),n=i(8235),r=i(4944),o=i(7440),s=i(8656),u=i(8137),d=i(482),c=i(295),m=function(){function e(){}return e.isDefinedAriaAttributeAtIndex=function(t,i){var a=t.attributes[i].name;return e.isDefinedAriaAttribute(t,a)},e.getUserDefinedAriaAttributes=function(e){var t=[],i=e.attributes;if(i)for(var a=0;a<i.length;a++){var l=i[a].name.trim().toLowerCase();"aria-"===l.substring(0,5)&&t.push(l)}return t},e.getUserDefinedHtmlAttributes=function(e){var t=[],i=e.attributes;if(i)for(var a=0;a<i.length;a++){var l=i[a].name.trim().toLowerCase();"aria-"===l.substring(0,5)||t.push(l)}return t},e.getUserDefinedAriaAttributeNameValuePairs=function(e){var t=[],i=e.attributes;if(i)for(var a=0;a<i.length;a++){var l=i[a].name.trim().toLowerCase(),n=e.getAttribute(l);""===n&&(n=null),"aria-"===l.substring(0,5)&&t.push({name:l,value:n})}return t},e.getUserDefinedHtmlAttributeNameValuePairs=function(e){var t=[],i=e.attributes;if(i)for(var a=0;a<i.length;a++){var l=i[a].name.trim().toLowerCase(),n=e.getAttribute(l);""===n&&(n=null),"aria-"===l.substring(0,5)||t.push({name:l,value:n})}return t},e.getAriaAttribute=function(t,i){var a=t.getAttribute(i);if(t.hasAttribute(i)&&""===a.trim())return a;if(!a){var l=t.nodeName.toLowerCase();i in e.ariaAttributeImplicitMappings&&(l in e.ariaAttributeImplicitMappings[i]?"function"==typeof(a=e.ariaAttributeImplicitMappings[i][l])&&(a=a(t)):"*"in e.ariaAttributeImplicitMappings[i]&&"function"==typeof(a=e.ariaAttributeImplicitMappings[i]["*"])&&(a=a(t)))}if(!a){var n=r.ARIAMapper.nodeToRole(t);n in e.ariaAttributeRoleDefaults&&i in e.ariaAttributeRoleDefaults[n]&&"function"==typeof(a=e.ariaAttributeRoleDefaults[n][i])&&(a=a(t))}return!a&&i in e.ariaAttributeGlobalDefaults&&(a=e.ariaAttributeGlobalDefaults[i]),a},e.isDefinedAriaAttribute=function(e,t){var i=!1;return"aria-"===t.substring(0,5)&&(i=e.hasAttribute&&e.hasAttribute(t)&&e.getAttribute(t).length>0),i},e.getResolvedRole=function(t,i){if(void 0===i&&(i=!0),!t)return null;var a=l.CacheUtil.getCache(t,"RPTUTIL_ELEMENT_RESOLVED_ROLE",null);if(null===a){var n=e.getUserDefinedRoles(t),r=e.getElementAriaProperty(t),o=e.getAllowedAriaRoles(t,r),s=!1;if(n&&n.length>0&&o&&o.length>0){for(var d=0;d<n.length;d++)if(o.includes("any")||o.includes(n[d])){if(o.includes("any")&&"generic"===n[d]){s=!0;continue}if(("presentation"===(a=n[d])||"none"===a)&&u.CommonUtil.isFocusable(t)){a=null;continue}break}s&&(a="generic")}if(null===a&&i){var c=e.getImplicitRole(t);a=c&&c.length>0?c[0]:void 0}l.CacheUtil.setCache(t,"RPTUTIL_ELEMENT_RESOLVED_ROLE",a)}return void 0!==a?a:null},e.getUserDefinedRoles=function(t){return e.getRoles(t,!1)},e.getRoles=function(t,i){var a=[];if(t&&t.hasAttribute&&t.hasAttribute("role"))for(var l=u.CommonUtil.normalizeSpacing(t.getAttribute("role").trim()).split(" "),n=0;n<l.length;++n)a.push(l[n]);if(i){var r=e.getImplicitRole(t);null!==r&&r.length>0&&u.CommonUtil.concatUniqueArrayItemList(r,a)}return a},e.getImplicitRole=function(t){if(!t||1!==t.nodeType)return null;var i=l.CacheUtil.getCache(t,"AriaUtil_ImplicitRole",null);if(!i){var a=e.getElementAriaProperty(t);if(a&&a.implicitRole){if(a.implicitRole.includes("generic")){var r=e.getUserDefinedAriaAttributes(t);if(0===r.length)return l.CacheUtil.setCache(t,"AriaUtil_ImplicitRole",[]),[];var o=[],s=n.ARIADefinitions.designPatterns.generic;if(s.reqProps&&s.reqProps.length>0&&u.CommonUtil.concatUniqueArrayItemList(s.reqProps,o),a.globalAriaAttributesValid&&u.CommonUtil.concatUniqueArrayItemList(n.ARIADefinitions.globalProperties,o),s.deprecatedProps&&s.deprecatedProps.length>0&&u.CommonUtil.reduceArrayItemList(s.deprecatedProps,o),o.length>0&&!o.some((function(e){return r.includes(e)}))){var d=u.CommonUtil.reduceArrayItemList(["generic"],a.implicitRole);return l.CacheUtil.setCache(t,"AriaUtil_ImplicitRole",d),d}}return l.CacheUtil.setCache(t,"AriaUtil_ImplicitRole",a.implicitRole),a.implicitRole}return l.CacheUtil.setCache(t,"AriaUtil_ImplicitRole",[]),[]}return i},e.getRoleRequiredProperties=function(e,t){if(null===e)return null;if(n.ARIADefinitions.designPatterns[e]){var i=n.ARIADefinitions.designPatterns[e].reqProps;return"separator"===e.toLowerCase()&&t&&u.CommonUtil.isFocusable(t)&&(i=u.CommonUtil.concatUniqueArrayItemList(["aria-valuenow"],i||[])),i}return null},e.hasRole=function(t,i,a){var l=!1;if(t&&t.hasAttribute&&t.hasAttribute("role"))if("string"!=typeof i)for(var n=t.getAttribute("role").trim().split(" "),r=0;!l&&r<n.length;++r)l=n[r]in i;else for(n=t.getAttribute("role").trim().split(" "),r=0;!l&&r<n.length;++r)l=n[r]===i;if(!l&&a){var o=[],s=e.getImplicitRole(t);if(null!==s&&s.length>0)if(u.CommonUtil.concatUniqueArrayItemList(s,o),"string"!=typeof i)for(r=0;!l&&r<o.length;++r)l=o[r]in i;else for(r=0;!l&&r<o.length;++r)l=o[r]===i}return l},e.hasRoleInSemantics=function(t,i){var a=!1,l=!1;if(t&&t.hasAttribute&&t.hasAttribute("role"))if("string"!=typeof i)for(var n=t.getAttribute("role").trim().toLowerCase().split(/\s+/),r=0;!a&&r<n.length;++r)l=!0,a=n[r]in i;else for(n=t.getAttribute("role").trim().toLowerCase().split(/\s+/),r=0;!a&&r<n.length;++r)l=!0,a=n[r]===i;if(l)return a;var o=e.getImplicitRole(t);if(null!==o&&o.length>0)if("string"!=typeof i)for(r=0;!a&&r<o.length;++r)a=o[r]in i;else for(r=0;!a&&r<o.length;++r)a=o[r]===i;return a},e.hasAnyRole=function(t,i){var a=!1;if(t&&t.hasAttribute&&t.hasAttribute("role")&&(a=!0),!a&&i){var l=e.getImplicitRole(t);null!==l&&l.length>0&&(a=!0)}return a},e.isPresentationalElement=function(e){return u.CommonUtil.valInArray(e.nodeName.toLowerCase(),["abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","a","progress","meter","basefont","big","center","strike","tt","font","blink","h1","h2","h3","h4","h5","h6","hr","blockquote","p"])},e.getAncestorWithRole=function(t,i,a){for(var l=o.DOMWalker.parentNode(t);null!==l;){if(a){if(e.hasRoleInSemantics(l,i))break}else if(e.hasRole(l,i,!1))break;l=o.DOMWalker.parentNode(l)}return l},e.getAncestorWithRoles=function(t,i){if(!t||!i||!i.length||0===i.length)return null;for(var a=t;null!==a;){var l=e.getResolvedRole(a);if(null!==l&&i.includes(l))return a;a=o.DOMWalker.parentNode(a)}return null},e.getRolesWithTypes=function(e,t){if(!e||!t||!t.length||0===t.length)return null;var i=l.CacheUtil.getCache(e.ownerDocument,"roles_with_given_types",null);return i&&0!==i.length||(i=[],Object.entries(n.ARIADefinitions.designPatterns).forEach((function(e){var a=e[0],l=e[1];t.includes(l.roleType)&&i.push(a)})),l.CacheUtil.setCache(e.ownerDocument,"roles_with_given_types",i)),i},e.isWidget=function(t){if(!t)return!1;var i=l.CacheUtil.getCache(t.ownerDocument,"is_element_widget",null);if(null===i){var a=!1,r=e.getResolvedRole(t);return r&&n.ARIADefinitions.designPatterns[r]&&"widget"===n.ARIADefinitions.designPatterns[r].roleType&&(a=!0),l.CacheUtil.setCache(t.ownerDocument,"is_element_widget",a),a}return i},e.getSiblingWithRole=function(t,i){return e.getSiblingWithRoleHidden(t,i,!1)},e.getSiblingWithRoleHidden=function(t,i,a,l){var n=null,r=!1;if(t&&i){for(n=t.nextSibling;null!==n&&!r;)a&&u.CommonUtil.shouldNodeBeSkippedHidden(n)||(r=l?e.hasRoleInSemantics(n,i):e.hasRole(n,i,!1)),n=n.nextSibling;if(!n)for(n=t.previousSibling;null!==n&&!r;)a&&u.CommonUtil.shouldNodeBeSkippedHidden(n)||(r=e.hasRole(n,i,l)),n=n.previousSibling}return n},e.getDescendantWithRole=function(t,i){return e.getDescendantWithRoleHidden(t,i,!1)},e.getDescendantWithRoleHidden=function(t,i,a,l){for(var n=null,r=new o.DOMWalker(t);r.nextNode()&&r.node!=t&&r.node!=t.nextSibling;)if((!a||!u.CommonUtil.shouldNodeBeSkippedHidden(r.node))&&(l?e.hasRoleInSemantics(r.node,i):e.hasRole(r.node,i,!1))){n=r.node;break}return n},e.getAllDescendantsWithRoles=function(t,i,a,l){if(i&&0!==i.length){var n=[];return i.forEach((function(i){var r=e.getAllDescendantsWithRoleHidden(t,i,a,l);r&&r.length>0&&(n=n.concat(r))})),n}},e.getAllDescendantsWithRoleHidden=function(t,i,a,l){for(var n=[],r=new o.DOMWalker(t);r.nextNode()&&r.node!=t&&r.node!=t.nextSibling;)r.bEndTag||a&&u.CommonUtil.shouldNodeBeSkippedHidden(r.node)||e.hasRole(r.node,i,l)&&n.push(r.node);return n},e.getDirectATChildren=function(t){var i=e.getRequiredChildRoles(t,!0),a=[];return e.retrieveDirectATChildren(t,i,a),a},e.retrieveDirectATChildren=function(t,i,a){var l=[];if(null!==t.children&&t.children.length>0)for(var n=0;n<t.children.length;n++)l.push(t.children[n]);var r=t.getAttribute("aria-owns");if(r){var o=t.ownerDocument;if(o){var u=r.split(" ");for(n=0;n<u.length;n++){var d=o.getElementById(u[n]);d&&l.push(d)}}}if(l.length>0){for(n=0;n<l.length;n++)if(!s.VisUtil.isNodeHiddenFromAT(l[n])&&s.VisUtil.isNodeVisible(l[n])){var c=e.getRoles(l[n],!1);null!==c&&0!==c.length||(c=e.getImplicitRole(l[n])),c&&null!==c&&c.length>0&&(c=c.filter((function(e){return"none"!==e&&"presentation"!==e}))).includes("group")&&i&&i.includes("group")&&(c=c.filter((function(e){return"group"!==e}))),c&&null!==c&&c.length>0?a.push(l[n]):e.retrieveDirectATChildren(l[n],i,a)}return null}return null},e.getRequiredChildRoles=function(t,i){var a=e.getRoles(t,!1);if(a&&0!==a.length||!i||(a=e.getImplicitRole(t)),!a||0===a.length)return null;var l=["none","presentation"];if(a.some((function(e){return l.includes(e)})))return null;for(var r=n.ARIADefinitions.designPatterns,o=new Array,s=0;s<a.length;++s)r[a[s]]&&null!==r[a[s]].reqChildren&&(o=u.CommonUtil.concatUniqueArrayItemList(r[a[s]].reqChildren,o));return o},e.getAriaOwnsWithRole=function(t,i){return e.getAriaOwnsWithRoleHidden(t,i,!1)},e.getAriaOwnsWithRoleHidden=function(t,i,a,l){var n=null,r=!1;if(u.CommonUtil.attributeNonEmpty(t,"aria-owns")){var o=t.getAttribute("aria-owns");if(n=d.FragmentUtil.getById(t,o),c.DOMUtil.sameNode(t,n))return null;r=a&&null!=n&&u.CommonUtil.shouldNodeBeSkippedHidden(n)?null:e.hasRole(n,i,l)}return r?n:null},e.hasAriaLabel=function(e){return u.CommonUtil.attributeNonEmpty(e,"aria-label")||u.CommonUtil.attributeNonEmpty(e,"aria-labelledby")},e.hasUniqueAriaLabelsLocally=function(e,t){if(0===e.length)return!1;var i=e[0].ownerDocument,a=!1,n=null;t&&(n=l.CacheUtil.getCache(i,"AriaUtil_HAS_UNIQUE_ARIA_LABELS",null)),null===n&&(n={});for(var r=0;!a&&r<e.length;++r)if(e[r].hasAttribute)if(e[r].hasAttribute("aria-label")){var o=u.CommonUtil.normalizeSpacing(e[r].getAttribute("aria-label")).toLowerCase();a=o in n,n[o]=!0}else if(e[r].hasAttribute("aria-labelledby")){var s=e[r].getAttribute("aria-labelledby"),m=d.FragmentUtil.getById(e[r],s),p=m&&!c.DOMUtil.sameNode(m,e[r])?u.CommonUtil.getInnerText(m):"",h=u.CommonUtil.normalizeSpacing(p).toLowerCase();a=h in n,n[h]=!0}else a=!0;return t&&l.CacheUtil.setCache(i,"AriaUtil_HAS_UNIQUE_ARIA_LABELS",n),!a},e.getAriaLabel=function(e){if(e.hasAttribute){if(e.hasAttribute("aria-labelledby")){for(var t=e.getAttribute("aria-labelledby").trim().split(" "),i="",a=0,l=t.length;a<l;++a){var n=t[a],r=d.FragmentUtil.getById(e,n),o=r&&!c.DOMUtil.sameNode(r,e)?u.CommonUtil.getInnerText(r):"";i+=u.CommonUtil.normalizeSpacing(o).toLowerCase()}return i.trim()}if(e.hasAttribute("aria-label"))return u.CommonUtil.normalizeSpacing(e.getAttribute("aria-label")).toLowerCase().trim()}return""},e.getAriaDescription=function(e){if(!e)return"";var t="",i=e.getAttribute("aria-labelledby");if(i&&i.trim().length>0){for(var a=i.trim().split(" "),l=0,n=a.length;l<n;++l){var r=a[l],o=d.FragmentUtil.getById(e,r),s=o&&!c.DOMUtil.sameNode(o,e)?u.CommonUtil.getInnerText(o):"";s&&s.trim().length>0&&(t+=u.CommonUtil.normalizeSpacing(s).toLowerCase())}if(t.trim().length>0)return t.trim()}return(i=e.getAttribute("aria-description"))&&i.trim().length>0?i.trim().toLowerCase():""},e.findAriaLabelDupes=function(t){var i={};return t.forEach((function(t){i[e.getAriaLabel(t)]=(i[e.getAriaLabel(t)]||0)+1})),i},e.hasUniqueAriaLabels=function(t){return e.hasUniqueAriaLabelsLocally(t,!0)},e.hasDuplicateAriaLabelsLocally=function(e,t){if(0===e.length)return!1;var i=e[0].ownerDocument,a=null,n=new Array;t&&(a=l.CacheUtil.getCache(i,"AriaUtil_HAS_UNIQUE_ARIA_LABELS",null)),null===a&&(a={});for(var r=0;r<e.length;++r)if(e[r].hasAttribute)if(e[r].hasAttribute("aria-label")){var o=u.CommonUtil.normalizeSpacing(e[r].getAttribute("aria-label")).toLowerCase();a[o]=!0,o in n||(n[o]=new Array),n[o].push(e[r].nodeName.toLowerCase())}else if(e[r].hasAttribute("aria-labelledby")){for(var s=e[r].getAttribute("aria-labelledby").trim().split(" "),m="",p=0,h=s.length;p<h;++p){var _=s[p],b=d.FragmentUtil.getById(e[r],_),g=b&&!c.DOMUtil.sameNode(b,e[r])?u.CommonUtil.getInnerText(b):"";m+=u.CommonUtil.normalizeSpacing(g).toLowerCase()}a[m]=!0,m in n||(n[m]=new Array),n[m].push(e[r].nodeName.toLowerCase())}return t&&l.CacheUtil.setCache(i,"AriaUtil_HAS_UNIQUE_ARIA_LABELS",a),n},e.hasDuplicateAriaLabels=function(t){return e.hasDuplicateAriaLabelsLocally(t,!0)},e.hasUniqueAriaLabelledby=function(e){for(var t=!1,i={},a=0;!t&&a<e.length;++a)if(e[a].hasAttribute&&e[a].hasAttribute("aria-labelledby")&&!u.CommonUtil.isIdReferToSelf(e[a],e[a].getAttribute("aria-labelledby"))){var l=u.CommonUtil.normalizeSpacing(e[a].getAttribute("aria-labelledby"));t=l in i,i[l]=!0}else t=!0;return!t},e.getElementAriaProperty=function(t){var i=l.CacheUtil.getCache(t,"AriaUtil_ElementAriaProperty",null);if(!i){var r=null;if(t.tagName?r=t.tagName.toLowerCase():t.nodeName&&(r=t.nodeName.toLowerCase()),null==(i=n.ARIADefinitions.documentConformanceRequirement[r])){var o=n.ARIADefinitions.documentConformanceRequirementSpecialTags[r];switch(r){case"a":case"area":i=u.CommonUtil.attributeNonEmpty(t,"href")?o["with-href"]:o["without-href"];break;case"figure":var s=u.CommonUtil.getChildByTag(t,"figcaption");i=null!==s&&s.length>0?o["child-figcaption"]:o["no-child-figcaption"];break;case"footer":case"header":i=null!==e.getAncestorWithRole(t,"article",!0)||null!==e.getAncestorWithRole(t,"complementary",!0)||null!==e.getAncestorWithRole(t,"navigation",!0)||null!==e.getAncestorWithRole(t,"region",!0)||null!==u.CommonUtil.getAncestor(t,["article","aside","main","nav","section"])?o["des-section-article-aside-main-nav"]:o.other;break;case"img":var d=t.hasAttribute("alt")?t.getAttribute("alt"):null,m=t.hasAttribute("title")?t.getAttribute("title"):null;i=0!==e.getAriaLabel(t).trim().length||null!==d&&d.length>0||null!==m&&m.length>0?o["img-with-accname"]:null!==d?o["img-without-accname-empty-alt"]:o["img-without-accname-no-alt"];break;case"input":if(u.CommonUtil.attributeNonEmpty(t,"type")){var p=t.getAttribute("type").trim().toLowerCase();if(null==(i=o[p]))switch(p){case"checkbox":i=u.CommonUtil.attributeNonEmpty(t,"aria-pressed")?o["checkbox-with-aria-pressed"]:o["checkbox-without-aria-pressed"];break;case"email":i=u.CommonUtil.attributeNonEmpty(t,"list")?o["email-with-list"]:o["email-no-list"];break;case"search":i=u.CommonUtil.attributeNonEmpty(t,"list")?o["search-with-list"]:o["search-no-list"];break;case"tel":i=u.CommonUtil.attributeNonEmpty(t,"list")?o["tel-with-list"]:o["tel-no-list"];break;case"text":i=u.CommonUtil.attributeNonEmpty(t,"list")?o["text-with-list"]:o["text-no-list"];break;case"url":i=u.CommonUtil.attributeNonEmpty(t,"list")?o["url-with-list"]:o["url-no-list"];break;default:i=u.CommonUtil.attributeNonEmpty(t,"list")?o["default-with-list"]:o["default-no-list"]}}else i=u.CommonUtil.attributeNonEmpty(t,"list")?o["text-with-list"]:o["text-no-list"];break;case"li":o=n.ARIADefinitions.documentConformanceRequirementSpecialTags.li,i=t.parentElement&&e.hasRoleInSemantics(t.parentElement,"list")?o["child-of-list-role"]:o["no-child-of-list-role"];break;case"section":var h=e.getAriaLabel(t);i=h&&h.trim().length>0||u.CommonUtil.attributeNonEmpty(t,"title")?o["with-name"]:o["without-name"];break;case"select":o=n.ARIADefinitions.documentConformanceRequirementSpecialTags.select,i=t.hasAttribute("multiple")||u.CommonUtil.attributeNonEmpty(t,"size")&&t.getAttribute("size")>1?o["multiple-attr-size-gt1"]:o["no-multiple-attr-size-gt1"];break;case"summary":o=n.ARIADefinitions.documentConformanceRequirementSpecialTags.summary,i=t.parentElement&&"details"===t.parentElement.nodeName.toLowerCase()&&c.DOMUtil.sameNode(a([],t.parentElement.children,!0).filter((function(e){return"summary"===e.nodeName.toLowerCase()}))[0],t)?o["first-summary-of-detail"]:o["no-first-summary-of-detail"];break;case"tbody":case"td":case"tr":i=null!==e.getAncestorWithRole(t,"table",!0)?o["des-table"]:e.getAncestorWithRole(t,"grid",!0)||e.getAncestorWithRole(t,"treegrid",!0)?o["des-grid"]:o["des-other"];break;case"th":i=null!==e.getAncestorWithRole(t,"table",!0)||null!==e.getAncestorWithRole(t,"grid",!0)||null!==e.getAncestorWithRole(t,"treegrid",!0)?"column"===u.CommonUtil.getScopeForTh(t)?o["des-table-grid-treegrid-column-scope"]:o["des-table-grid-treegrid-row-scope"]:o["des-other"];break;case"div":var _=t.parentElement;i=null!==_&&"dl"===_.nodeName.toLowerCase()?o["child-dl"]:o["no-child-dl"];break;default:i=n.ARIADefinitions.documentConformanceRequirementSpecialTags.default}}}return l.CacheUtil.setCache(t,"AriaUtil_ElementAriaProperty",i),i||null},e.getAllowedAriaRoles=function(t,i){var a=l.CacheUtil.getCache(t,"AriaUtil_AllowedAriaRoles",null);if(!a){a=[];var n;if(null!=(n=null!=i?i:e.getElementAriaProperty(t))){null!==n.implicitRole&&u.CommonUtil.concatUniqueArrayItemList(n.implicitRole,a),null!==n.validRoles&&u.CommonUtil.concatUniqueArrayItemList(n.validRoles,a);var r=e.getImplicitRole(t);r&&r.length>0&&u.CommonUtil.concatUniqueArrayItemList(n.validRoles,a)}l.CacheUtil.setCache(t,"AriaUtil_AllowedAriaRoles",a)}return a},e.getAllowedAriaAttributes=function(t,i,r){var o=l.CacheUtil.getCache(t,"AriaUtil_AllowedAriaAttributes",null);if(!o){o=[];var s=a([],i,!0),d=t.tagName.toLowerCase(),c=[];n.ARIADefinitions.elementsAllowedDisabled.indexOf(d)>-1&&(o=u.CommonUtil.concatUniqueArrayItem("aria-disabled",o)),n.ARIADefinitions.elementsAllowedRequired.indexOf(d)>-1&&(o=u.CommonUtil.concatUniqueArrayItem("aria-required",o)),n.ARIADefinitions.elementsAllowedReadOnly.indexOf(d)>-1&&(o=u.CommonUtil.concatUniqueArrayItem("aria-readonly",o));var m=null;if(null!=(m=null!=r&&void 0!==r?r:e.getElementAriaProperty(t))){if(null!==m.implicitRole&&(null==s||0===s.length)&&void 0===m.allowAttributesFromImplicitRole)for(var p=0;p<m.implicitRole.length;p++){var h=n.ARIADefinitions.designPatterns[m.implicitRole[p]];if(null!=h){var _=h.props;u.CommonUtil.concatUniqueArrayItemList(_,o),_=e.getRoleRequiredProperties(m.implicitRole[p],t),u.CommonUtil.concatUniqueArrayItemList(_,o),(v=h.prohibitedProps)&&v.length>0&&u.CommonUtil.concatUniqueArrayItemList(v,c),"separator"===m.implicitRole[p]&&u.CommonUtil.isFocusable(t)&&u.CommonUtil.concatUniqueArrayItemList(["aria-disabled","aria-valuenow","aria-valuemax","aria-valuemin","aria-valuetext"],o)}}if(m.globalAriaAttributesValid){var b=n.ARIADefinitions.globalProperties;u.CommonUtil.concatUniqueArrayItemList(b,o)}}for(m&&m.otherRolesForAttributes&&m.otherRolesForAttributes.length>0&&u.CommonUtil.concatUniqueArrayItemList(m.otherRolesForAttributes,s),p=0;null!==s&&p<s.length;p++){var g=n.ARIADefinitions.designPatterns[s[p]];if(null!=g){if(!m||null===m.implicitRole||!m.implicitRole.includes(s[p])||m.implicitRole.includes(s[p])&&void 0===m.allowAttributesFromImplicitRole){var f=g.props;u.CommonUtil.concatUniqueArrayItemList(f,o),f=e.getRoleRequiredProperties(s[p],t),u.CommonUtil.concatUniqueArrayItemList(f,o)}var v;(v=g.prohibitedProps)&&v.length>0&&u.CommonUtil.concatUniqueArrayItemList(v,c),"separator"===s[p]&&u.CommonUtil.isFocusable(t)&&u.CommonUtil.concatUniqueArrayItemList(["aria-disabled","aria-valuemax","aria-valuemin","aria-valuetext"],o)}}if(s.includes("row")&&null==e.getAncestorWithRole(t,"treegrid",!0)){var A=-1;(A=o.indexOf("aria-level"))>-1&&o.splice(A,1),(A=o.indexOf("aria-setsize"))>-1&&o.splice(A,1),(A=o.indexOf("aria-posinset"))>-1&&o.splice(A,1)}if(m&&m.otherAllowedAriaAttributes&&m.otherAllowedAriaAttributes.length>0){for(var y=[],w=0;w<m.otherAllowedAriaAttributes.length;w++)if((x=m.otherAllowedAriaAttributes[w]).includes("=")){var k=x.split("=");t.getAttribute(k[0])===k[1]&&y.push(k[0])}else y.push(x);y.length>0&&u.CommonUtil.concatUniqueArrayItemList(y,o)}if(m&&m.otherDisallowedAriaAttributes&&m.otherDisallowedAriaAttributes.length>0){var C=[];for(w=0;w<m.otherDisallowedAriaAttributes.length;w++){var x;(x=m.otherDisallowedAriaAttributes[w]).includes("=")?(k=x.split("="),t.getAttribute(k[0])===k[1]&&C.push(k[0])):C.push(x)}C.length>0&&u.CommonUtil.concatUniqueArrayItemList(C,c)}o=u.CommonUtil.reduceArrayItemList(c,o),i&&0!==i.length||null!==m.implicitRole||!m.prohibitedAriaAttributesWhenNoImplicitRole||(o=u.CommonUtil.reduceArrayItemList(m.prohibitedAriaAttributesWhenNoImplicitRole,o)),l.CacheUtil.setCache(t,"AriaUtil_AllowedAriaAttributes",o)}return o},e.getConflictOrOverlappingHtmlAttribute=function(e,t,i){var a=n.ARIADefinitions.relatedAriaHtmlAttributes[e.name];if(a){if(!e||0==e.length||!t||0==t.length)return[];var l=[],r=null;if("conflict"===i){if(!a.conflict||0===Object.keys(a.conflict).length)return null;r=a.conflict}else{if("overlapping"!==i)return null;if(!a.overlapping||0===Object.keys(a.overlapping).length)return null;r=a.overlapping}for(var o=!1,s=!1,u=0;u<r.length;u++)for(var d=r[u].ariaAttributeValue,c=r[u].htmlAttributeNames,m=r[u].htmlAttributeValues,p=0;p<t.length;p++){var h=c.indexOf(t[p].name);if(-1!==h){o=!0;var _=null===m||null===m[h]?null:m[h].split(",");null===d?(null===_||_.includes(t[p].value))&&(l.push({result:"Failed",attr:t[p].name}),s=!0):null===_?d===e.value&&(l.push({result:"Failed",attr:t[p].name}),s=!0):("VALUE"===d&&_.includes("VALUE")&&_[0]!==e.value||d===e.value&&_.includes(t[p].value))&&(l.push({result:"Failed",attr:t[p].name}),s=!0)}}return o&&!s&&l.push({result:"Pass",attr:""}),l}return null},e.containsPresentationalChildrenOnly=function(t){var i=e.getRoles(t,!1);if(i&&0!==i.length||(i=e.getImplicitRole(t)),!i||0===i.length)return!1;for(var a=0;null!==i&&a<i.length;a++){var l=n.ARIADefinitions.designPatterns[i[a]];if(null!=l&&!0===l.presentationalChildren)return!0}return!1},e.shouldBePresentationalChild=function(t){for(var i=o.DOMWalker.parentElement(t);i;){if(e.containsPresentationalChildrenOnly(i))return!0;i=r.ARIAMapper.getAriaOwnedBy(i)||o.DOMWalker.parentElement(i)}return!1},e.areRolesDefined=function(e){if(!e||0===e.length)return null;for(var t=n.ARIADefinitions.designPatterns,i=0,a=e;i<a.length;i++)if(!(a[i].toLowerCase()in t))return!1;return!0},e.getInvalidRoles=function(t){var i=e.getUserDefinedRoles(t);if(!i||0===i.length)return null;if(i&&i.includes("generic"))return["generic"];var a=e.getElementAriaProperty(t),l=e.getAllowedAriaRoles(t,a);if(!l||0===l.length)return i;var n=[];if(l.includes("any"))return[];for(var r=0;r<i.length;r++)l.includes(i[r])||n.includes(i[r])||n.push(i[r]);return n},e.getRolesUndefinedByAria=function(t){if(!t)return null;var i=e.getRoles(t,!1),a=[];if(i&&i.length>0)for(var l=n.ARIADefinitions.designPatterns,r=0;r<i.length;r++)i[r]in l||a.push(i[r]);return a},e.getInvalidAriaAttributes=function(t){var i=e.getUserDefinedRoles(t),a=e.areRolesDefined(i);if(null!==a&&!a)return null;var l=[];i&&0!=i.length||(i=e.getImplicitRole(t));var n=e.getUserDefinedAriaAttributes(t),r=e.getElementAriaProperty(t),o=e.getAllowedAriaAttributes(t,i,r);if(n)for(var s=0;s<n.length;s++){var u=n[s].trim().toLowerCase();o.includes(u)||l.includes(u)||l.push(u)}return l},e.getConflictAriaAndHtmlAttributes=function(t){var i=e.getUserDefinedAriaAttributeNameValuePairs(t),a=e.getUserDefinedHtmlAttributeNameValuePairs(t),l=[];if(i&&i.length>0&&a&&a.length>0)for(var n=function(t){var n=e.getConflictOrOverlappingHtmlAttribute(i[t],a,"conflict");if(null===n)return"continue";n.forEach((function(e){"Failed"===e.result&&l.push({ariaAttr:i[t].name,htmlAttr:e.attr})}))},r=0;r<i.length;r++)n(r);return l},e.getDeprecatedAriaRoles=function(t){if(!t)return null;var i=e.getRoles(t,!1),a=[];if(i&&i.length>0)for(var l=n.ARIADefinitions.globalDeprecatedRoles,r=0;r<i.length;r++)l.includes(i[r])&&a.push(i[r]);return a},e.getDeprecatedAriaAttributes=function(t){if(!t)return null;var i=t.attributes,a=[];if(i)for(var l=0;l<i.length;l++){var r=i[l].name;"aria-"===r.substring(0,5)&&a.push(r)}if(0===a.length)return[];var o=[],s=n.ARIADefinitions.globalDeprecatedProperties;for(l=0;l<a.length;l++)s.includes(a[l])&&o.push({role:"any",attribute:a[l]});var u=e.getRoles(t,!1);if(u&&u.length>0)for(l=0;l<u.length;l++){var d=n.ARIADefinitions.designPatterns[u[l]];if(d){var c=d.deprecatedProps;if(c&&c.length>0)for(var m=0;m<a.length;m++)c.includes(a[m])&&o.push({role:u[l],attribute:a[m]})}}return o},e.isNodeInGrid=function(t){return null!=e.getAncestorWithRole(t,"grid")},e.navLinkKeywords=["start","next","prev","previous","contents","index"],e.rulesThatHaveToCheckHidden=["RPT_Elem_UniqueId"],e.ariaAttributeRoleDefaults={alert:{"aria-live":"assertive","aria-atomic":"true"},combobox:{"aria-haspopup":"listbox"},listbox:{"aria-orientation":"vertical"},log:{"aria-live":"polite"},menu:{"aria-orientation":"vertical"},menubar:{"aria-orientation":"horizontal"},meter:{"aria-valuemin":"0","aria-valuemax":"100"},option:{"aria-selected":"false"},progressbar:{"aria-valuemin":"0","aria-valuemax":"100"},scrollbar:{"aria-orientation":"vertical","aria-valuemin":"0","aria-valuemax":"100"},separator:{"aria-orientation":"horizontal","aria-valuemin":"0","aria-valuemax":"100"},slider:{"aria-orientation":"horizontal","aria-valuemin":"0","aria-valuemax":"100"},spinbutton:{},status:{"aria-live":"polite","aria-atomic":"true"},tab:{"aria-selected":"false"},tablist:{"aria-orientation":"horizontal"},toolbar:{"aria-orientation":"horizontal"},tree:{"aria-orientation":"vertical"}},e.ariaAttributeGlobalDefaults={"aria-atomic":"false","aria-autocomplete":"none","aria-busy":"false","aria-checked":void 0,"aria-current":"false","aria-disabled":"false","aria-dropeffect":"none","aria-expanded":void 0,"aria-grabbed":void 0,"aria-haspopup":"false","aria-hidden":void 0,"aria-invalid":"false","aria-live":"off","aria-modal":"false","aria-multiline":"false","aria-multiselectable":"false","aria-orientation":void 0,"aria-pressed":void 0,"aria-readonly":"false","aria-required":"false","aria-selected":void 0,"aria-sort":"none"},e.ariaAttributeImplicitMappings={"aria-autocomplete":{form:function(e){return"off"===e.getAttribute("autocomplete")?"none":"both"},input:function(e){return"off"===e.getAttribute("autocomplete")?"none":"both"},select:function(e){return"off"===e.getAttribute("autocomplete")?"none":"both"},textarea:function(e){return"off"===e.getAttribute("autocomplete")?"none":"both"}},"aria-checked":{input:function(e){return e.hasAttribute("indeterminate")?"mixed":""+e.hasAttribute("checked")},menuitem:function(e){return e.hasAttribute("indeterminate")?"mixed":""+e.hasAttribute("checked")},"*":function(e){if(e.hasAttribute("indeterminate"))return"mixed"}},"aria-disabled":{button:function(e){return e.hasAttribute("disabled")?"true":"false"},fieldset:function(e){return e.hasAttribute("disabled")?"true":"false"},input:function(e){return e.hasAttribute("disabled")?"true":"false"},optgroup:function(e){return e.hasAttribute("disabled")?"true":"false"},option:function(e){return e.hasAttribute("disabled")?"true":"false"},select:function(e){return e.hasAttribute("disabled")?"true":"false"},textarea:function(e){return e.hasAttribute("disabled")?"true":"false"}},"aria-expanded":{details:function(e){return e.getAttribute("open")},dialog:function(e){return e.getAttribute("open")}},"aria-multiselectable":{select:function(e){if(e.hasAttribute("multiple"))return"true"}},"aria-placeholder":{input:function(e){return e.getAttribute("placeholder")},textarea:function(e){return e.getAttribute("placeholder")}},"aria-required":{input:function(e){return e.getAttribute("required")},select:function(e){return e.getAttribute("required")},textarea:function(e){return e.getAttribute("required")}}},e}();t.AriaUtil=m},1775:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CSSUtil=void 0;var a=i(7788),l=i(8137),n=i(490),r=i(5697),o=i(7440),s=function(){function e(){}return e.selectorMatchesElem=function(e,t){try{if(""===t.trim())return!1;if("function"==typeof e.matches)return e.matches(t);if("function"==typeof e.matchesSelector)return e.matchesSelector(t);for(var i=(e.document||e.ownerDocument).querySelectorAll(t),a=0;a<i.length&&i[a]!==e;)++a;return a<i.length}catch(e){return!1}},e.getComputedStyle=function(e,t){return e?e.ownerDocument.defaultView.getComputedStyle(e,t):null},e.getDefinedStyles=function(t,i){if(!t)return null;var l={},n={};function r(e,t){for(var i=0;i<t.length;++i){if("all"===t[i]&&t[t[i]]){for(var a=0,l=e;a<l.length;a++){var n=l[a];for(var r in n)delete n[r]}break}r=t[i];for(var o=0,s=e;o<s.length;o++){n=s[o];var u=t.getPropertyPriority(r);if(r in n&&n[r].endsWith("!important")){if("important"!==u||n[r].startsWith("inherit")||n[r].startsWith("unset"))continue;n[r]=t[r]+" !important"}else n[r]=t[r]+("important"===u?" !important":"")}}}var o=a.CacheUtil.getCache(t,"RPTUtil_DefinedStyles",null);if(!i&&o)l=o.definedStyles,n=o.definedStylePseudo;else{for(var s=0;s<t.ownerDocument.styleSheets.length;++s){var u=t.ownerDocument.styleSheets[s];try{if(u&&u.cssRules)for(var d=0;d<u.cssRules.length;++d){var c=u.cssRules[d],m=c.selectorText;if(m){var p=m.match(/^(.*)(:[a-zA-Z-]*)$/),h=!!p,_=h?p[1]:m,b=(h?p[2]:"")===i;i&&":focus"===i&&(_=_.replace(/([ >][^+~ >]+):focus-within/g,"$1")),!h&&e.selectorMatchesElem(t,_)&&r([l,n],c.style),b&&e.selectorMatchesElem(t,_)&&r([n],c.style)}}}catch(e){if(!e.toString().includes("Cannot access rules")&&!e.toString().includes("SecurityError:"))throw e}}r([l,n],t.style),a.CacheUtil.setCache(t,"RPTUtil_DefinedStyles",{definedStyles:l,definedStylePseudo:n})}if(i){for(var g in n)n[g]===l[g]&&delete n[g];return n}return l},e.getMediaOrientationTransform=function(e){for(var t={},i=0;i<e.styleSheets.length;++i){var a=e.styleSheets[i];try{if(a&&a.cssRules)for(var l=0;l<a.cssRules.length;++l){var n=a.cssRules[l];if(4===n.MEDIA_RULE){var r=n;if(r&&r.media)for(var o=r.media,s=0;s<o.length;s++)if(o.item(s)){var u=t[o.item(s).toLocaleLowerCase()];u||(u={});for(var d=r.cssRules,c=0;c<d.length;++c){if(1===d[c].STYLE_RULE){var m=d[c],p=m.selectorText;if(p)for(var h={},_=m.style,b=0;b<_.length;++b){var g=_[b];if("transform"===g.toLocaleLowerCase()){if("all"===g&&_[g]){delete h[g];break}h[g]=_[g]}else"rotate"===g.toLocaleLowerCase()&&(h[g]=_[g]);u[p]=h}}o.item(c)&&(t[o.item(c).toLocaleLowerCase()]=u)}}}}}catch(e){if(!e.toString().includes("Cannot access rules")&&!e.toString().includes("SecurityError:"))throw e}}return t},e.getRotationDegree=function(e){var t=0;try{if(!e)return t;for(var i=(e=e.replaceAll(", ",",")).split(" "),a=0;a<i.length;a++){var l=i[a].trim();if(""!==l)if(l.startsWith("rotate3d")){var n=l.indexOf("("),r=l.indexOf(")");if(-1!==n&&-1!==r){var o=l.substring(n+1,r),s=void 0;if(o&&(s=o.split(",")),s&&4===s.length){if(!(d=s[3]))continue;if((d=d.trim()).endsWith("turn")){var u=d.substring(0,d.length-4);u=parseFloat(u),isNaN(u)||(t=360*u)}else d.endsWith("rad")?(u=d.substring(0,d.length-3),u=parseFloat(u),isNaN(u)||(t=180*u/Math.PI)):d.endsWith("deg")&&(u=d.substring(0,d.length-3),u=parseFloat(u),isNaN(u)||(t+=u))}}}else if(l.startsWith("rotate")||l.startsWith("rotateZ")){if(n=l.indexOf("("),r=l.indexOf(")"),-1!==n&&-1!==r){var d;if(!(d=l.substring(n+1,r)))continue;(d=d.trim()).endsWith("turn")?(u=d.substring(0,d.length-4),u=parseFloat(u),isNaN(u)||(t=360*u)):d.endsWith("rad")?(u=d.substring(0,d.length-3),u=parseFloat(u),isNaN(u)||(t=180*u/Math.PI)):d.endsWith("deg")&&(u=d.substring(0,d.length-3),u=parseFloat(u),isNaN(u)||(t+=u))}}else if(l.startsWith("matrix3d")){if(n=l.indexOf("("),r=l.indexOf(")"),-1!==n&&-1!==r&&(o=l.substring(n+1,r),s=null,o&&(s=o.split(",")),null!==s)){var c=Math.atan2(s[4],s[5]);t+=Math.round(Math.round(180*c/Math.PI))}}else l.startsWith("matrix")&&(n=l.indexOf("("),r=l.indexOf(")"),-1!==n&&-1!==r&&(o=l.substring(n+1,r),s=null,o&&(s=o.split(",")),null!==s&&(c=Math.atan2(s[1],s[0]),t+=Math.round(Math.round(180*c/Math.PI)))))}for(;t>=360;)t-=360}catch(e){throw console.log("Cannot retrieve rotation degree: "+e),e}return t},e.getPixelsFromStyle=function(t,i){if(!t)return 0;var a=t.trim().match(/(-?[\d.]+)([a-z%]*)/);if(null===a)return 0;if(""===a[2]||0===a[1])return 0;var l=e.convertValue2Pixels(a[2],a[1],i);return null===l?l:parseFloat(l)},e.convertValue2Pixels=function(e,t,i){if(0==t)return 0;var a={px:function(e){return e},cm:function(e){return 37.8*e},mm:function(e){return 3.78*e},q:function(e){return.95*e},in:function(e){return 96*e},pc:function(e){return 16*e},pt:function(e){return 1.33*e},rem:function(e){return e*parseFloat(getComputedStyle(i.ownerDocument.documentElement).getPropertyValue("font-size"))},em:function(e){return e*parseFloat(getComputedStyle(i).getPropertyValue("font-size"))},vw:function(e){return e/100*i.ownerDocument.defaultView.innerWidth},vh:function(e){return e/100*i.ownerDocument.defaultView.innerHeight},"%":function(e){return e/100*parseFloat(getComputedStyle(i).getPropertyValue("font-size"))}};return e in a?a[e](t):null},e.isMaterialIconFont=function(t){var i={"Material Icons":"https://fonts.googleapis.com/icon?family=Material+Icons"},a=e.getDefinedStyles(t)["font-family"],l=!1;if(a&&a.split(",")[0].replace(/['"]+/g,"").trim()in i&&(l=!0),!l){var n=t.classList;for(var r in{"material-icons":"https://fonts.googleapis.com/icon?family=Material+Icons"})if(n.contains(r)){l=!0;break}}if(!l)return!1;for(var o=!1,s=t.ownerDocument.styleSheets,u=0;u<s.length;u++)if(s&&s.length>0&&Object.values(i).indexOf(s[u].href)>-1){o=!0;break}return o},e.getWeightNumber=function(e){var t={light:100,bold:700};return parseInt(e)||(e in t?t[e]:400)},e.getFontInPixels=function(t,i){var a=parseFloat(t);if(!a)return{"xx-small":16,"x-small":10,small:13,medium:16,large:18,"x-large":24,"xx-large":32}[t];var l=t.substring((""+a).length);return e.convertValue2Pixels(l,a,i)},e.getCSSStyle=function(e){var t="";if(null===e)return[];if(e.IBM_CSS_THB)return e.IBM_CSS_THB;if("style"===e.nodeName.toLowerCase())void 0!==(t=e.innerText)&&""!==t.trim()||(t=e.textContent);else{if(!e.hasAttribute("style"))return[];t=e.getAttribute("style")}if(null===t||0===t.trim().length)return[];var i=/\s*([^:\s]+)\s*:\s*([^;$}]+)\s*(;|$)/g,a=/\s*([^{]*){([^}]*)}/g;if(-1===(t=t.replace(/(\/\*+(?:(?:(?:[^\*])+)|(?:[\*]+(?!\/)))[*]+\/)|\/\/.*/g," ")).indexOf("{")){for(var l={},n=void 0;null!=(n=i.exec(t));)l[n[1]]=n[2].trim().toLowerCase();var r=[{selector:null,values:l}];return e.IBM_CSS_THB=r,r}r=[],n=void 0;for(var o=void 0;null!=(n=a.exec(t));){l={};for(var s=n[1],u=n[2];null!=(o=i.exec(u));)l[o[1]]=o[2].trim().toLowerCase();r.push({selector:s,values:l})}return e.IBM_CSS_THB=r,r},e.getInlineStatus=function(e){if(!e)return null;var t=getComputedStyle(e);if(!t)return null;var i={inline:!1,text:!1,violation:null};if("inline"!==t.getPropertyValue("display"))return i;i.inline=!0;var a=e.parentElement;if(!a)return i;var n=new r.DOMMapper,o=n.getUnadjustedBounds(e),s=getComputedStyle(a).getPropertyValue("display");if("block"!==s&&"inline-block"!==s)return l.CommonUtil.isInnerTextOnlyEmpty(a)||(i.text=!0),i;function u(e,t){if(e.nodeType===Node.TEXT_NODE)return e.nodeValue&&e.nodeValue.trim().length>0?"yes":"no";if(e.nodeType===Node.ELEMENT_NODE){if("br"===e.nodeName.toLowerCase())return"block";if("inline"===getComputedStyle(e).getPropertyValue("display")){if(l.CommonUtil.isTarget(e)&&o.width<24){var a=n.getUnadjustedBounds(e);return t&&Math.round(o.width/2)+o.left-a.left<24||!t&&Math.round(o.width/2)+o.left-(a.left+a.width)<24?(i.violation=e.nodeName.toLowerCase(),"violation"):"no"}return l.CommonUtil.isInnerTextOnlyEmpty(e)?"no":"yes"}return"block"}return"block"}for(var d=e.nextSibling;d;){if("yes"===(c=u(d,!0))){i.text=!0;break}if("block"===c)break;d=d.nextSibling}for(d=e.previousSibling;d;){var c;if("yes"===(c=u(d,!1))){i.text=!0;break}if("block"===c)break;d=d.previousSibling}return i},e.isTargetBrowserDefault=function(t){if(!t)return!1;var i=n.AriaUtil.getRoles(t,!1);if(i&&i.length>0)return!1;var a=e.getDefinedStyles(t);return!(a["line-height"]||a.height||a.width||a["min-height"]||a["min-width"]||a["font-size"]||a["margin-top"]||a["margin-bottom"]||a["margin-left"]||a["margin-right"])},e.containsCKJ=function(e){return!!e&&e.trim().replace(/(?:[\u4e00-\u9fff\u3400-\u4dbf])+/g,"").length!==e.trim().length},e.getAncestorWithStyles=function(t,i,l){void 0===l&&(l=[]);for(var n=t;null!==n;){var r=a.CacheUtil.getCache(n,"AriaUtil_AncestorWithStyles",null);if(r)return r;var s=e.getDefinedStyles(n);for(var u in i){var d=s[u];if(d&&(d=d.split(" ")[0],!l.includes(d))){if(i[u].includes("*"))return a.CacheUtil.setCache(n,"AriaUtil_AncestorWithStyles",n),n;if(i[u].includes(d))return a.CacheUtil.setCache(n,"AriaUtil_AncestorWithStyles",n),n}}n=o.DOMWalker.parentElement(n)}return a.CacheUtil.setCache(t,"AriaUtil_AncestorWithStyles",void 0),null},e}();t.CSSUtil=s},7788:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CacheUtil=void 0;var a=i(7440),l=function(){function e(){}return e.getCache=function(e,t,i){if(e){var a=(9===e.nodeType||e.nodeType,e);return void 0===a.aceCache&&(a.aceCache={}),void 0===a.aceCache[t]&&(a.aceCache[t]=i),a.aceCache[t]}},e.setCache=function(e,t,i){if(e){var a=(9===e.nodeType||e.nodeType,e);return void 0===a.aceCache&&(a.aceCache={}),a.aceCache[t]=i,i}},e.clearCaches=function(e){delete e.ownerDocument.aceCache;var t=new a.DOMWalker(e,!1,e,!0);do{delete t.node.aceCache,t.node.ownerDocument&&delete t.node.ownerDocument.aceCache}while(t.nextNode())},e}();t.CacheUtil=l},8680:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ColorObj=t.ColorUtil=void 0;var a=i(7440),l=function(){function e(){}return e.Color=function(t){if(!t)return null;if("transparent"===(t=t.toLowerCase()))return new n(255,255,255,0);if(t in e.CSSColorLookup&&(t=e.CSSColorLookup[t]),t.startsWith("rgb(")){var i=/\s*rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/;return null===(a=t.match(i))?null:new n(a[1],a[2],a[3])}var a;if(t.startsWith("rgba("))return i=/\s*rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(.+)\s*\)/,null===(a=t.match(i))?null:new n(a[1],a[2],a[3],a[4]);if("#"!=t.charAt(0))return null;4===t.length&&(t="#"+t.charAt(1).repeat(2)+t.charAt(2).repeat(2)+t.charAt(3).repeat(2));var l=parseInt(t.substring(1,3),16),r=parseInt(t.substring(3,5),16),o=parseInt(t.substring(5,7),16);return new n(l,r,o)},e.ColorCombo=function(t){try{var i=t.ownerDocument;if(!i)return null;var l=i.defaultView;if(!l)return null;for(var n=[],r=t;r;)1===r.nodeType&&n.push(r),r=a.DOMWalker.parentElement(r);var o={hasGradient:!1,hasBGImage:!1,textShadow:!1,fg:null,bg:null},s=(b=l.getComputedStyle(t)).color;s||(s="black");for(var u=e.Color(s),d=/transparent|rgba?\([^)]+\)/gi,c=function(e,t,i){try{if(void 0===e.length)return e;for(var a=null,l=null,n=1;n<e.length;++n){for(var r=e[n-1],o=i.contrastRatio(e[n-1]),s=.1,u=0;s>1e-4;){for(;u+s<=1&&o>i.contrastRatio(e[n].mix(e[n-1],u+s).getOverlayColor(t));)r=e[n].mix(e[n-1],u+s).getOverlayColor(t),o=i.contrastRatio(r),u+=s;for(;u-s>=0&&o>i.contrastRatio(e[n].mix(e[n-1],u-s).getOverlayColor(t));)r=e[n].mix(e[n-1],u-s).getOverlayColor(t),o=i.contrastRatio(r),u-=s;s/=10}(null===l||l>o)&&(l=o,a=r)}return a}catch(e){console.log(e)}return t},m=e.Color("white"),p=null,h=null,_=null;n.length>0;){var b,g=n.pop();if(null!==(b=l.getComputedStyle(g))){var f=null;if(b.backgroundColor&&"transparent"!=b.backgroundColor&&"rgba(0, 0, 0, 0)"!=b.backgroundColor&&(f=e.Color(b.backgroundColor)),b.backgroundImage&&b.backgroundImage.indexOf&&-1!=b.backgroundImage.indexOf("gradient")){var v=b.backgroundImage.match(d);if(v){for(var A=[],y=0;y<v.length;++y)if(v[y].length){var w=e.Color(v[y]);if(void 0!==w.alpha&&w.alpha<1){var k=_||m;w=w.getOverlayColor(k)}A.push(w)}else v.splice(y--,1);f=c(A,_||m,u)}}null===p||b.opacity&&b.opacity.length>0&&parseFloat(b.opacity)<1?(null!=_&&(_.alpha=p*h,m=_.getOverlayColor(m)),p=1,h=null,_=null,b.opacity&&b.opacity.length>0&&(p=parseFloat(b.opacity)),null!=f&&(h=(_=f).alpha||1,delete _.alpha,1===p&&1===h&&(o.hasBGImage=!1,o.hasGradient=!1))):null!=f&&(null===_?(h=(_=f).alpha||1,delete _.alpha):h=(_=f.getOverlayColor(_)).alpha||1,1===p&&1===h&&1===(_.alpha||1)&&f.alpha),b.backgroundImage&&"none"!=b.backgroundImage&&(b.backgroundImage.indexOf&&-1!=b.backgroundImage.indexOf("gradient")?o.hasGradient=!0:o.hasBGImage=!0)}}return null!=_&&delete(u=u.getOverlayColor(_)).alpha,u.alpha=(u.alpha||1)*p,u=u.getOverlayColor(m),null!=_&&(_.alpha=p*h,m=_.getOverlayColor(m)),o.fg=u,o.bg=m,b.textShadow&&"none"!==b.textShadow&&(o.textShadow=!0),o}catch(e){return null}},e.CSSColorLookup={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32",buttontext:"rgba(0, 0, 0, 0.847)",buttonface:"#ffffff",graytext:"rgba(0, 0, 0, 0.247)"},e}();t.ColorUtil=l;var n=function(){function e(e,t,i,a){function l(e){if("string"!=typeof e)return e;var t=e;return"%"!=(t=t.trim())[t.length-1]?parseInt(t):Math.round(2.55*parseFloat(t.substring(0,t.length-1)))}this.red=l(e),this.green=l(t),this.blue=l(i),void 0!==a&&(this.alpha="string"==typeof a?parseFloat(a):a)}return e.prototype.toHexHelp=function(e){var t=Math.round(e).toString(16);return 1===t.length?"0"+t:t},e.prototype.toHex=function(){return"#"+this.toHexHelp(this.red)+this.toHexHelp(this.green)+this.toHexHelp(this.blue)},e.prototype.contrastRatio=function(e){var t=this;void 0!==this.alpha&&(t=this.getOverlayColor(e));var i=t.relativeLuminance();if(!e.relativeLuminance){var a="";for(var l in e)a+=l+"\n";alert(e),alert(a)}var n=e.relativeLuminance();return i>n?(i+.05)/(n+.05):(n+.05)/(i+.05)},e.prototype.relativeLuminance=function(){var e=this.red/255,t=this.green/255,i=this.blue/255;return.2126*(e=e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t=t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(i<=.04045?i/12.92:Math.pow((i+.055)/1.055,2.4))},e.prototype.mix=function(t,i){if(void 0===this.alpha&&void 0===t.alpha)return new e(i*this.red+(1-i)*t.red,i*this.green+(1-i)*t.green,i*this.blue+(1-i)*t.blue);var a=this.alpha?this.alpha:1,l=t.alpha?t.alpha:1;return new e(i*this.red+(1-i)*t.red,i*this.green+(1-i)*t.green,i*this.blue+(1-i)*t.blue,i*a+(1-i)*l)},e.prototype.getOverlayColor=function(e){if(void 0===this.alpha||this.alpha>=1)return this;if(this.alpha<0)return null;if(void 0!==e.alpha&&e.alpha<1)return null;var t=this.mix(e,this.alpha);return delete t.alpha,t},e.fromCSSColor=function(t){var i=-1,a=-1,n=-1;if((t=t.toLowerCase()).startsWith("rgb(")){var r=/\s*rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/;if(null===(o=t.match(r)))return null;i=o[1],a=o[2],n=o[3]}else if(t.startsWith("rgba(")){var o;if(r=/\s*rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(.+)\s*\)/,null===(o=t.match(r)))return null;i=o[1],a=o[2],n=o[3]}else{if("#"!=t.charAt(0)){if(!(t in l.CSSColorLookup))return null;t=l.CSSColorLookup[t]}var s=function(e){for(var t={a:10,b:11,c:12,d:13,e:14,f:15},i=0,a=0;a<e.length;++a)i=16*i+parseInt(e.charAt(a)in t?t[e.charAt(a)]:e.charAt(a));return i};4===t.length&&(t="#"+t.charAt(1).repeat(2)+t.charAt(2).repeat(2)+t.charAt(3).repeat(2)),i=s(t.substring(1,3)),a=s(t.substring(3,5)),n=s(t.substring(5,7))}return new e(i,a,n)},e}();t.ColorObj=n},8137:function(e,t,i){var a=this&&this.__spreadArray||function(e,t,i){if(i||2===arguments.length)for(var a,l=0,n=t.length;l<n;l++)!a&&l in t||(a||(a=Array.prototype.slice.call(t,0,l)),a[l]=t[l]);return e.concat(a||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.CommonUtil=void 0;var l=i(8235),n=i(7788),r=i(490),o=i(1421),s=i(8656),u=i(295),d=i(7440),c=i(482),m=function(){function e(){}return e.wordCount=function(e){return 0===(e=e.trim()).length?0:e.split(/\s+/g).length},e.isTabbable=function(t){if(!s.VisUtil.isNodeVisible(t))return!1;if(t.hasAttribute("tabindex"))return parseInt(t.getAttribute("tabindex"))>=0;var i=t.nodeName.toLowerCase();if(i in e.tabTagMap){var a=e.tabTagMap[i];return"function"==typeof a&&(a=a(t)),a}return!!t.hasAttribute("contenteditable")},e.isFocusable=function(t){return"undefined"!==t&&null!==t&&e.isTabbable(t)},e.isClickable=function(t){if(!s.VisUtil.isNodeVisible(t))return!1;var i=t.nodeName.toLowerCase();if(i in e.tabTagMap){var a=e.tabTagMap[i];return"function"==typeof a&&(a=a(t)),a}return!(!r.AriaUtil.isWidget(t)||!t.hasAttribute("tabindex"))},e.isTableDescendant=function(e){return e?e.aria.filter((function(e){return["table","grid","treegrid"].includes(e.role)})):null},e.tabIndexLEZero=function(t){if(e.hasAttribute(t,"tabindex")&&t.getAttribute("tabindex").match(/^-?\d+$/)){var i=parseInt(t.getAttribute("tabindex"));return 0===i||-1===i}return!1},e.getTabbableChildren=function(t){var i=0;if(t.firstChild||"IFRAME"===t.nodeName.toUpperCase())for(var a=new d.DOMWalker(t);a.nextNode()&&a.node!=t;)1==a.node.nodeType&&!a.bEndTag&&e.isTabbable(a.node)&&++i;return i},e.normalizeSpacing=function(e){return e?e.trim().replace(/\s+/g," "):""},e.isHtmlEquiv=function(e,t){var i=!1;if(e&&"input"===e.nodeName.toLowerCase()){var a=e.getAttribute("type").toLowerCase();a&&(-1!=t.indexOf("checkbox")?i="checkbox"===a:-1!=t.indexOf("radio")&&(i="radio"===a))}return i},e.nonExistantIDs=function(t,i){var a="";if(e.normalizeSpacing(i).length<1)return a;for(var l=i.split(" "),n=t.ownerDocument,r=0;r<l.length;r++){var o="//*[@id='"+l[r]+"']";n.evaluate(o,t,n.defaultNSResolver,0,null).iterateNext()||(a+=l[r]+", ")}return e.normalizeSpacing(a).length>=2?a.substring(0,a.length-2):""},e.getDocElementsByTag=function(e,t){var i=c.FragmentUtil.getOwnerFragment(e);t=t.toLowerCase();var a=n.CacheUtil.getCache(i,"RPT_DOCELEMSBYTAG",{});return t in a||(a[t]=i.querySelectorAll(t),n.CacheUtil.setCache(i,"RPT_DOCELEMSBYTAG",a)),a[t]},e.getChildByTag=function(t,i){return e.getChildByTagHidden(t,i,!1,!1)},e.getChildByTagHidden=function(t,i,a,l){for(var n=[],r=t.firstChild;null!=r;){if(r.nodeName.toLowerCase()===i){if((a||l&&!e.shouldCheckHiddenContent(r))&&!s.VisUtil.isNodeVisible(r)){r=r.nextSibling;continue}n.push(r)}r=r.nextSibling}return n},e.getElementsByRole=function(t,i){return e.getElementsByRoleHidden(t,i,!1,!1)},e.getElementsByRoleHidden=function(t,i,a,l){var o=null;if(null===(o=l?n.CacheUtil.getCache(t,"AriaUtil_GETELEMENTSBY_ROLE_IMPLICIT",null):n.CacheUtil.getCache(t,"AriaUtil_GETELEMENTSBY_ROLE",null))){o={};for(var s=t.body;null!==d.DOMWalker.parentNode(s);)s=d.DOMWalker.parentNode(s);for(var u=new d.DOMWalker(s);u.nextNode();)if(u.elem()&&!u.bEndTag){var c=[];if(u.elem()&&u.elem().hasAttribute("role")&&(c=u.elem().getAttribute("role").split(" ")),u.elem()&&0===c.length&&l){var m=r.AriaUtil.getImplicitRole(u.node);null!==m&&m.length>0&&(c=m)}if(0===c.length)continue;if(a&&e.shouldNodeBeSkippedHidden(u.node))continue;for(var p=0;p<c.length;++p)c[p]in o||(o[c[p]]=[]),o[c[p]].push(u.node)}l?n.CacheUtil.setCache(t,"AriaUtil_GETELEMENTSBY_ROLE_IMPLICIT",o):n.CacheUtil.setCache(t,"AriaUtil_GETELEMENTSBY_ROLE",o)}var h=[];if("string"==typeof i){var _=i;(i=[]).push(_)}if(i.length)for(p=0;p<i.length;++p){var b=o[i[p]];if(b)for(var g=0;g<b.length;++g)h.push(b[g])}return h},e.isTarget=function(t){if(!t||1!==t.nodeType||["html","body"].includes(t.nodeName.toLowerCase())||null!==e.getAncestor(t,["svg","pre","code","script","meta","head"])||!s.VisUtil.isNodeVisible(t)||s.VisUtil.isNodeVisuallyHidden(t)||e.isNodeDisabled(t)||s.VisUtil.isElementOffscreen(t))return!1;if(e.isClickable(t))return!0;var i=r.AriaUtil.getResolvedRole(t);if(!i)return!1;if(["listitem","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","treeitem"].includes(i)){var a=t.parentElement;if(a&&"group"===r.AriaUtil.getResolvedRole(a)&&(a=a.parentElement),a&&e.isTarget(a))return!0}return!1},e.getFileExt=function(e){var t=e.match(/\.(([^;?#\.]|^$)+)([;?#]|$)/);return null!=t&&t.length>=2?"."+t[1]:""},e.getFileAnchor=function(e){var t=e.match(/#(([^;?\.]|^$)+)([;?]|$)/);return null!=t&&t.length>=2?t[1]:""},e.checkObjEmbed=function(t,i,a){var l=t.nodeName.toLowerCase();if("object"!=l&&"embed"!=l&&"a"!=l&&"area"!=l)return!1;var n=!1;if(!n&&t.hasAttribute("type")&&(n=a(t.getAttribute("type").toLowerCase())),!n&&t.hasAttribute("codetype")&&(n=a(t.getAttribute("codetype"))),!n){var r="";"embed"===l?r=t.getAttribute("src"):"a"===l||"area"===l?r=t.getAttribute("href"):t.hasAttribute("data")&&(r=t.getAttribute("data")),null===r&&(r=""),n=i(e.getFileExt(r))}if(!n&&"object"===l)for(var o=e.getChildByTagHidden(t,"param",!1,!0),s=0;!n&&null!=o&&s<o.length;++s)n=o[s].hasAttribute("value")&&i(e.getFileExt(o[s].getAttribute("value")));return n},e.isAudioObjEmbedLink=function(t){return e.checkObjEmbed(t,e.isAudioExt,(function(e){return e.startsWith("audio")}))},e.isAudioExt=function(t){return e.valInArray(t.toLowerCase(),[".aif",".aifc",".aiff",".air",".asf",".au",".cda",".dsm",".dss",".dwd",".iff",".kar",".m1a",".med",".mp2",".mp3",".mpa",".pcm",".ra",".ram",".rm",".sam",".sf",".sf2",".smp",".snd",".svx",".ul",".voc",".wav",".wma",".wve"])},e.isVideoObjEmbedLink=function(t){return e.checkObjEmbed(t,e.isVideoExt,(function(e){return e.startsWith("video")||e.startsWith("application/x-shockwave-flash")}))},e.isVideoExt=function(t){return e.valInArray(t.toLowerCase(),[".asf",".avi",".divx",".dv",".m1v",".m2p",".m2v",".moov",".mov",".mp4",".mpeg",".mpg",".mpv",".ogm",".omf",".qt",".rm",".rv",".smi",".smil",".swf",".vob",".wmv",".rmvb",".mvb"])},e.isImageObjEmbedLink=function(t){return e.checkObjEmbed(t,e.isImgExt,(function(e){return e.startsWith("image")}))},e.isImgExt=function(t){return e.valInArray(t.toLowerCase(),e.image_extensions)},e.isHtmlExt=function(t){return e.valInArray(t.toLowerCase(),[".asp",".aspx",".cfm",".cfml",".cgi",".htm",".html",".shtm",".shtml",".php",".pl",".py",".shtm",".shtml",".xhtml"])},e.hasTriggered=function(e,t){return n.CacheUtil.getCache(e,t,!1)},e.triggerOnce=function(e,t,i){if(i)return!0;var a=n.CacheUtil.getCache(e,t,!1);return n.CacheUtil.setCache(e,t,!0),a},e.valInArray=function(e,t){for(var i in t)if(t[i]===e)return!0;return!1},e.getAncestor=function(e,t){for(var i=e;null!==i;){var a=i.nodeName.toLowerCase();if("string"==typeof t){if(a===t.toLowerCase())break}else if(t.length){for(var l in t)if(t[l]===a)return i}else if(a in t)break;i=d.DOMWalker.parentNode(i)}return i},e.isSibling=function(e,t){if(e&&t){var i=null;for(d.DOMWalker.parentNode(e)&&d.DOMWalker.parentNode(e).firstChild&&(i=d.DOMWalker.parentNode(e).firstChild);i;){if(i===t)return!0;i=i.nextSibling}}return!1},e.isDescendant=function(e,t){for(var i=d.DOMWalker.parentNode(t);null!=i;){if(i===e)return!0;i=d.DOMWalker.parentNode(i)}return!1},e.isDisabledByFirstChildFormElement=function(t){var i=["input","textarea","select","keygen","progress","meter","output"];if(null!=t.firstChild)for(var a=new d.DOMWalker(t);a.nextNode();)if(i.includes(a.node.nodeName.toLowerCase()))return!!e.isNodeDisabled(a.node);return!1},e.isDisabledByReferringElement=function(t){for(var i=t.getAttribute("id"),a=t.ownerDocument.body;null!==d.DOMWalker.parentNode(a);)a=d.DOMWalker.parentNode(a);for(var l=new d.DOMWalker(a);l.nextNode();)if(l.node&&1===l.node.nodeType&&l.elem()&&(l.elem().getAttribute("aria-describedby")||"").split(" ").includes(i)&&e.isNodeDisabled(l.node))return!0},e.getInputLabel=function(t){return e.getLabelForElement(t)},e.getLabelForElement=function(t){return e.getLabelForElementHidden(t,!1)},e.getLabelForElementHidden=function(t,i){var a=t.getRootNode();if(!n.CacheUtil.getCache((a.nodeType,a),"AriaUtil_LABELS",null)){for(var l={},r=e.getDocElementsByTag(t,"label"),o=0;o<r.length;++o)if(r[o].hasAttribute("for")){if(i&&!s.VisUtil.isNodeVisible(r[o]))continue;l[r[o].getAttribute("for")]=r[o]}n.CacheUtil.setCache((a.nodeType,a),"AriaUtil_LABELS",l)}if(t.hasAttribute("id")){var u=t.getAttribute("id");if(u.trim().length>0)return n.CacheUtil.getCache((a.nodeType,a),"AriaUtil_LABELS",{})[u]}return null},e.getElementAttribute=function(e,t){if(!(t&&e&&e.hasAttribute&&e.hasAttribute(t)))return null;var i=e.getAttribute(t);if(!l.ARIADefinitions.referenceProperties.includes(t))return i;for(var a=i.split(/ +/g),n=!1,r=0;a<a.length;++r){var o=document.getElementById(a[r]);if(o&&!u.DOMUtil.sameNode(o,e)){n=!0;break}}return n?i:null},e.hasImplicitLabel=function(t){var i=e.getAncestor(t,"label");if(i&&"label"===i.tagName.toLowerCase()&&e.isFirstFormElement(i,t)){var a=i.cloneNode(!0);return a=e.removeAllFormElementsFromLabel(a),e.hasInnerContentHidden(a)}return!1},e.getImplicitLabel=function(t){var i=e.getAncestor(t,"label");if(i&&"label"===i.tagName.toLowerCase()&&e.isFirstFormElement(i,t)){var a=i.cloneNode(!0);a=e.removeAllFormElementsFromLabel(a);var l=e.getInnerText(a);return l&&""!==l.trim()?l.trim():null}return null},e.getFormFieldLabel=function(t){var i="",a=null,l=e.getLabelForElementHidden(t,!0);if(l)a=l.innerText;else{if(!(l=e.getAncestor(t,"label"))||"label"!==l.tagName.toLowerCase()||!e.isFirstFormElement(l,t))return null;var n=l.cloneNode(!0);n=e.removeAllFormElementsFromLabel(n),a=e.getInnerText(n)}return a&&""!==a.trim()&&(i+=a.trim()),(a=e.getLabelTextFromAttribute(l,!0))&&""!==a.trim()&&(i+=a.trim()),(a=r.AriaUtil.getAriaLabel(l))&&""!==a.trim()&&(i+=a.trim()),i.trim()},e.getLabelTextFromAttribute=function(t,i){for(var a=null,l=0;l<t.children.length;l++){var n=t.children.item(l);if(e.form_labelable_elements.includes(n.nodeName.toLowerCase())){a=n;break}}for(var c=new d.DOMWalker(t),m="";c.nextNode()&&c.node!==t;)if(c.node&&1===c.node.nodeType&&c.elem()){var p=c.elem();if(i&&(s.VisUtil.isNodeHiddenFromAT(p)||s.VisUtil.isNodePresentational(p))||a&&a.contains(p))continue;var h=r.AriaUtil.getResolvedRole(p);if("textbox"===h){var _=p.getAttribute("value");_&&_.trim().length>0&&(m+=" "+_.trim())}else if("combobox"===h||"listbox"===h){var b=p.getAttribute("aria-activedescendant")||p.getAttribute("aria-selected")||p.getAttribute("aria-checked");if(b){var g=p.ownerDocument.getElementById(b);if(g&&!u.DOMUtil.sameNode(p,g)){var f=o.AccNameUtil.computeAccessibleName(g);f&&f.name&&(m+=" "+f.name.trim())}}}else if(["progressbar","scrollbar","slider","spinbutton","meter"].includes(h)){var v=p.getAttribute("aria-valuetext");v&&v.trim().length>0&&(m+=" "+v.trim()),(v=p.getAttribute("aria-valuenow"))&&v.trim().length>0&&(m+=" "+v.trim()),(v=p.getAttribute("value"))&&v.trim().length>0&&(m+=" "+v.trim())}var A=r.AriaUtil.getAriaLabel(p);A&&""!==A.trim()&&(m+=" "+A.trim())}return m.trim()},e.isFirstFormElement=function(t,i){if(null!=t.firstChild)for(var a=new d.DOMWalker(t);a.nextNode();)if(-1!==e.form_labelable_elements.indexOf(a.node.nodeName.toLowerCase()))return a.node===i;return!1},e.isShadowHostElement=function(t){if(e.isShadowElement(t))return!1;for(var i=t;i;){if(i.shadowRoot)return!0;i=d.DOMWalker.parentElement(i)}return!1},e.isShadowElement=function(e){return"[object ShadowRoot]"===e.getRootNode().toString()},e.removeAllFormElementsFromLabel=function(e){for(var t=["input","textarea","select","button","datalist","optgroup","option","keygen","output","progress","meter"],i=e.childNodes,a=0;a<i.length;a++)t.indexOf(i[a].nodeName.toLowerCase())>-1&&e.removeChild(i[a]);return e},e.isIdReferToSelf=function(e,t){if(!t||""===t.trim())return!1;for(var i=t.trim().split(" "),a=0,l=i.length;a<l;++a){var n=c.FragmentUtil.getById(e,i[a]);if(n&&u.DOMUtil.sameNode(n,e))return!0}return!1},e.nodeDepth=function(e){for(var t=0,i=e;null!==i;)i=d.DOMWalker.parentNode(i),t+=1;return t},e.compareNodeOrder=function(t,i){if(t===i)return 0;var a=e.nodeDepth(t),l=e.nodeDepth(i);if(l>a){for(var n=0;n<l-a;++n)i=d.DOMWalker.parentNode(i);if(t===i)return-2}else if(a>l){for(n=0;n<a-l;++n)t=d.DOMWalker.parentNode(t);if(t===i)return 2}for(;null!=t&&null!=i&&d.DOMWalker.parentNode(t)!=d.DOMWalker.parentNode(i);)t=d.DOMWalker.parentNode(t),i=d.DOMWalker.parentNode(i);if(null===t||null===i||d.DOMWalker.parentNode(t)!=d.DOMWalker.parentNode(i))return null;for(;null!=i&&i!=t;)i=i.previousSibling;return null===i?1:-1},e.attributeNonEmpty=function(e,t){return e.hasAttribute(t)&&e.getAttribute(t).trim().length>0},e.getFrameByName=function(e,t){for(var i=[e.ownerDocument.defaultView],a=0;a<i.length;){try{if(i[a].name===t)return i[a];for(var l=0;l<i[a].frames.length;++l)try{i[a].frames[l]&&!i.includes(i[a].frames[l])&&i.push(i[a].frames[l])}catch(e){}}catch(e){}++a}return null},e.defaultNSResolver=function(e){var t;switch(e){case"html":t="http://www.w3.org/1999/xhtml";case"x2":t="http://www.w3.org/TR/xhtml2";case"x":t="http://www.w3.org/1999/xhtml";case"xhtml":t="http://www.w3.org/1999/xhtml";default:t=null}return t},e.isInnerTextOnlyEmpty=function(t){var i=t.innerText;null!=i&&0!==i.trim().length||"slot"===t.nodeName.toLowerCase()||void 0===t.textContent||(i=t.textContent);var a=!(null!==i&&i.trim().length>0);if(1===t.nodeType&&"slot"===t.nodeName.toLowerCase())for(var l=0,n=t.assignedNodes();l<n.length;l++){var r=n[l];a=a&&e.isInnerTextEmpty(r)}return a},e.getInnerText=function(e){var t=e.innerText;return null!=t&&""!==t.trim()||(t=e.textContent),t},e.getOnScreenInnerText=function(e){if(!e)return null;if(3===e.nodeType)return e.nodeValue();for(var t="",i=new d.DOMWalker(e);i.nextNode()&&i.node!==e&&i.node!==e.parentNode;)if(!i.bEndTag){if(1===i.node.nodeType&&s.VisUtil.hiddenByDefaultElements.includes(i.node.nodeName.toLowerCase())||!s.VisUtil.isNodeVisible(i.node)||s.VisUtil.isElementOffscreen(i.node)){if(i.node.nextSibling){3===i.node.nextSibling.nodeType&&null!==i.node.nextSibling.nodeValue&&(t+=i.node.nextSibling.nodeValue),i.node=i.node.nextSibling;continue}break}3===i.node.nodeType&&null!==i.node.nodeValue&&(t+=i.node.nodeValue.trim())}return t.trim()},e.getNodeText=function(e){if(!e)return"";for(var t="",i=e.childNodes,a=0;a<i.length;++a)3==i[a].nodeType&&(t+=i[a].nodeValue);return t},e.isInnerTextEmpty=function(t){var i=e.getInnerText(t);return!(null!=i&&i.trim().length>0)},e.hasInnerContent=function(t){var i=e.getInnerText(t),a=null!==i&&i.trim().length>0;if(null!==t.firstChild)for(var l=new d.DOMWalker(t);!a&&l.nextNode();)a="img"===l.node.nodeName.toLowerCase()&&e.attributeNonEmpty(l.node,"alt");return a},e.hasInnerContentHidden=function(t){return e.hasInnerContentHiddenHyperLink(t,!1)},e.svgHasName=function(t){return e.attributeNonEmpty(t,"aria-label")||e.attributeNonEmpty(t,"aria-labelledby")||!!t.querySelector(":scope > title")},e.hasInnerContentHiddenHyperLink=function(t,i){if(!t)return!1;var a=!1;if(null!=t.firstElementChild)for(var l=new d.DOMWalker(t);!a&&l.nextNode()&&l.node!=t;){var n=l.node;if(!((a="img"===n.nodeName.toLowerCase()&&(e.attributeNonEmpty(n,"alt")||e.attributeNonEmpty(n,"title"))&&!s.VisUtil.isNodeHiddenFromAT(n)&&!s.VisUtil.isNodePresentational(n)||"svg"===n.nodeName.toLowerCase()&&e.svgHasName(n))||1!==n.nodeType||s.VisUtil.isNodeHiddenFromAT(n)||s.VisUtil.isNodePresentational(n)||(a=!e.isInnerTextOnlyEmpty(n))||!0!==i)){a=e.attributeNonEmpty(n,"aria-label")||e.attributeNonEmpty(n,"aria-labelledby");var r=n.ownerDocument;if(r){var o=r.defaultView;if(o){var u=o.getComputedStyle(n);a||null==u||(a=(u.backgroundImage&&u.backgroundImage.indexOf||u.content)&&e.attributeNonEmpty(n,"alt"))}}}3===n.nodeType&&d.DOMWalker.parentElement(n)===t&&(a=!e.isInnerTextEmpty(n))}else a=!e.isInnerTextEmpty(t);return a},e.hasInnerContentOrAlt=function(t){var i=e.getInnerText(t),a=null!=i&&i.trim().length>0||e.attributeNonEmpty(t,"alt");if(null!=t.firstChild)for(var l=new d.DOMWalker(t);!a&&l.nextNode()&&l.node!=t;)!(a="img"===l.node.nodeName.toLowerCase()&&e.attributeNonEmpty(l.node,"alt"))&&(r.AriaUtil.hasRole(l.node,"button",!0)||r.AriaUtil.hasRole(l.node,"textbox"))&&(r.AriaUtil.hasAriaLabel(l.node)||e.attributeNonEmpty(l.node,"title")||e.getLabelForElementHidden(l.elem(),!0))&&(a=!0);return a},e.concatUniqueArrayItem=function(e,t){return-1===t.indexOf(e)&&null!==e&&t.push(e),t},e.concatUniqueArrayItemList=function(t,i){for(var a=0;null!==t&&a<t.length;a++)i=e.concatUniqueArrayItem(t[a],i);return i},e.reduceArrayItemList=function(e,t){return t&&t.length>0&&e&&e.length>0?t.filter((function(t){return!e.includes(t)})):t},e.getScopeForTh=function(e){if(e.hasAttribute("scope")){var t=e.getAttribute("scope").toLowerCase();if("row"===t||"rowgroup"===t)return"row";if("col"===t||"colgroup"===t)return"column"}var i=function(e){return a([],e.parentElement.children,!0).filter((function(e){return 1===e.nodeType&&"TH"!=e.tagName}))};return null===i||0===i.length?"column":"row"},e.getControlOfLabel=function(t){var i=e.getAncestor(t,"label");if(i&&i.hasAttribute("for"))return c.FragmentUtil.getById(t,i.getAttribute("for"));for(var a={},l=t;l;){if(1===l.nodeType){var n=l;n.hasAttribute("id")&&(a[n.getAttribute("id")]=!0)}l=d.DOMWalker.parentNode(l)}for(var r=t.ownerDocument.querySelectorAll("*[aria-labelledby]"),o=0;o<r.length;++o)for(var s=r[o],u=0,m=s.getAttribute("aria-labelledby").split(" ");u<m.length;u++)if(m[u]in a&&!e.isIdReferToSelf(t,t.getAttribute("aria-labelledby")))return s;return null},e.isNodeDisabled=function(t){var i=n.CacheUtil.getCache(t,"PT_NODE_DISABLED",!1);3===t.nodeType&&(t=d.DOMWalker.parentNode(t));var a=t.nodeName.toLowerCase(),r=t.hasAttribute("disabled"),o=i,s=t.hasAttribute("aria-disabled")&&"true"===t.getAttribute("aria-disabled");if(o||r&&l.ARIADefinitions.elementsAllowedDisabled.indexOf(a)>-1||s)return i=!0,n.CacheUtil.setCache(t,"PT_NODE_DISABLED",i),!0;var u=d.DOMWalker.parentNode(t);if(null!=u&&1===u.nodeType){var c=e.isNodeDisabled(u);return c&&(i=!0),n.CacheUtil.setCache(t,"PT_NODE_DISABLED",i),c}return!1},e.shouldCheckHiddenContent=function(e){return!1},e.shouldNodeBeSkippedHidden=function(t){return!e.shouldCheckHiddenContent(t)&&!s.VisUtil.isNodeVisible(t)},e.isfocusableByDefault=function(t){return!("a"!==t.nodeName.toLowerCase()||!e.hasAttribute(t,"href"))||!("area"!==t.nodeName.toLowerCase()||!e.hasAttribute(t,"href"))||-1!==["input","select","button","textarea","option","area"].indexOf(t.nodeName.toLowerCase())},e.nonTabableChildCheck=function(t){if(!t.hasAttribute("tabindex")||-1!=parseInt(t.getAttribute("tabindex")))return!1;for(var i=new d.DOMWalker(t);i.nextNode();){var a=i.elem();if(null!==a&&a.hasAttribute("tabindex")&&-1!=parseInt(a.getAttribute("tabindex"))&&!e.hasInnerContent(a))return!1}return!0},e.hasAttribute=function(e,t){var i=!1;if(e.hasAttribute)i=e.hasAttribute(t);else if(e.attributes&&e.attributes.getNamedItem){var a=e.attributes.getNamedItem(t);i=a&&a.specified}return i},e.truncateText=function(e,t){return void 0===t&&(t=150),e&&(e=e.trim()).length>t?e.substring(0,t-1)+"...":e},e.input_type_with_placeholder=["text","search","tel","url","email","password","number"],e.input_text_types=["text","file","password","checkbox","radio","search","tel","url","email","date","number","range","time","color"],e.input_time_types=["date","month","week","time","datetime-local"],e.input_other_types=["range","color","checkbox","radio","file","image"],e.form_button_types=["button","reset","submit"],e.form_labelable_elements=["input","textarea","select","keygen","progress","meter","output","button"],e.tabTagMap={button:function(e){return!e.hasAttribute("disabled")},iframe:!0,input:function(e){return"hidden"!==e.getAttribute("type")&&!e.hasAttribute("disabled")},select:function(e){return!e.hasAttribute("disabled")},textarea:!0,a:function(e){return e.hasAttribute("href")},area:function(e){return e.hasAttribute("href")},audio:function(e){return e.hasAttribute("controls")},video:function(e){return e.hasAttribute("controls")},summary:function(e){return e.parentElement&&"details"===e.parentElement.nodeName.toLowerCase()&&u.DOMUtil.sameNode(a([],e.parentElement.children,!0).filter((function(e){return"summary"===e.nodeName.toLowerCase()}))[0],e)},details:function(e){return e.children&&0===a([],e.children,!0).filter((function(e){return"summary"===e.nodeName.toLowerCase()})).length}},e.image_extensions=[".bmp",".gif",".jpg",".jpeg",".pcx",".png"],e}();t.CommonUtil=m},5755:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TableUtil=void 0;var a=i(8656),l=i(490),n=i(8137),r=function(){function e(){}return e.isDataTable=function(e){return!(l.AriaUtil.hasRole(e,"none")||l.AriaUtil.hasRole(e,"presentation"))},e.isComplexDataTable=function(t){if("AriaUtil_isComplexDataTable"in t)return!!t.AriaUtil_isComplexDataTable;var i=!1;if(t&&e.isDataTable(t)){for(var a=null,l=null,r=t.getElementsByTagName("tr"),o=r.length,s=0,u=0,d=0,c=0;!i&&c<o;++c)if(a=r[c].getElementsByTagName("th"),l=r[c].getElementsByTagName("td"),u=a.length,0!==(s=l.length)){i=u>1;for(var m=0;!i&&m<u;++m)i=(a[m].hasAttribute("rowspan")||a[m].hasAttribute("colspan"))&&n.CommonUtil.getAncestor(a[m],"table")===t;for(var p=0;!i&&p<s;++p)i=(l[p].hasAttribute("rowspan")||l[p].hasAttribute("colspan")||l[p].hasAttribute("headers")&&n.CommonUtil.normalizeSpacing(l[p].getAttribute("headers")).split(" ").length>2)&&n.CommonUtil.getAncestor(l[p],"table")===t}else u>0&&++d,i=2===d;if(!i){var h=t.getElementsByTagName("thead"),_=h.length;_>0&&((i=_>1)||(i=h[0].getElementsByTagName("tr").length>1))}i||0===o||(i=u>0&&!e.tableHeaderExists(t))}return t.AriaUtil_isComplexDataTable=i,i},e.isTableCellEmpty=function(e){return!e||!a.VisUtil.isNodeVisible(e)||0===e.innerHTML.replace(/&nbsp;/g," ").trim().length},e.isTableRowEmpty=function(t){if(!t||!t.cells||0===t.cells.length||!a.VisUtil.isNodeVisible(t))return!0;for(var i=!0,l=0;i&&l<t.cells.length;l++){var n=t.cells[l];i=e.isTableCellEmpty(n)}return i},e.tableHeaderExists=function(t){var i=t.rows;if(!i||0===i.length)return null;for(var a=!0,l=i[0],r=0;a&&r<i.length;r++)(l=i[r]).parentNode&&"tfoot"===l.parentNode.nodeName.toLowerCase()||(a=e.isTableRowEmpty(l));if(a)return null;for(a=!0,r=0;a&&r<l.cells.length;r++){var o=l.cells[r];a=e.isTableCellEmpty(o)||"th"===o.nodeName.toLowerCase()}if(a)return!0;a=!0;for(var s=0;a&&s<i.length;++s)i[s].parentNode&&"tfoot"===i[s].parentNode.nodeName.toLowerCase()||(a=!i[s].cells||0===i[s].cells.length||0===i[s].cells[0].innerHTML.trim().length||"td"!=i[s].cells[0].nodeName.toLowerCase());if(a)return!0;a=!0;var u=[],d=[];for(r=0;a&&r<i.length;r++)for(var c=i[r],m=0;m<c.cells.length;m++)o=c.cells[m],e.isTableCellEmpty(o)||("td"===o.nodeName.toLowerCase()?o.getAttribute("headers")&&0!==o.getAttribute("headers").trim().length?n.CommonUtil.concatUniqueArrayItemList(o.getAttribute("headers").trim().split(" "),d):a=!1:"th"===o.nodeName.toLowerCase()&&o.getAttribute("id")&&o.getAttribute("id").trim().length>0&&n.CommonUtil.concatUniqueArrayItem(o.getAttribute("id").trim(),u));return!!(a&&u.length>0&&d.every((function(e){return u.includes(e)})))},e.isLayoutTable=function(e){return l.AriaUtil.hasRole(e,"presentation")||l.AriaUtil.hasRole(e,"none")},e.isTableDescendant=function(e){return e?e.aria.filter((function(e){return["table","grid","treegrid"].includes(e.role)})):null},e}();t.TableUtil=r},8656:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VisUtil=void 0;var a=i(7788),l=i(295),n=i(7440),r=i(5697),o=i(490),s=i(1775),u=function(){function e(){}return e.isNodeVisible=function(t){3===t.nodeType&&(t=n.DOMWalker.parentNode(t));var i,l=t;if(1!==l.nodeType)return!0;if(!l.ownerDocument)return!0;var r=l.nodeName.toLowerCase();if(null!=e.hiddenByDefaultElements&&null!=e.hiddenByDefaultElements&&e.hiddenByDefaultElements.indexOf(r)>-1)return!1;if(void 0!==a.CacheUtil.getCache(l,"PT_NODE_HIDDEN",void 0))return a.CacheUtil.getCache(l,"PT_NODE_HIDDEN",void 0);if(a.CacheUtil.setCache(l,"PT_NODE_HIDDEN",a.CacheUtil.getCache(l,"PT_NODE_HIDDEN",!1)),null===e.unhideableElements||void 0===e.unhideableElements||-1===e.unhideableElements.indexOf(r)){if(!l.ownerDocument.defaultView)return a.CacheUtil.setCache(l,"PT_NODE_HIDDEN",!0),!0;i=l.ownerDocument.defaultView.getComputedStyle(l,null);var o=l.getAttribute("hidden"),s=a.CacheUtil.getCache(l,"PT_NODE_HIDDEN",void 0),u="boolean"==typeof l.hidden&&l.hidden;if(!i&&!u&&null==o&&!s)return a.CacheUtil.setCache(l,"PT_NODE_HIDDEN",!0),!0;if(null!==i&&("none"===i.getPropertyValue("display")||!a.CacheUtil.getCache(l,"Visibility_Check_Parent",null)&&"hidden"===i.getPropertyValue("visibility"))||"block"!==i.getPropertyValue("display")&&(u||null!=o||s))return a.CacheUtil.setCache(l,"PT_NODE_HIDDEN",!1),!1;if(e.isContentHidden(l))return a.CacheUtil.setCache(l,"PT_NODE_HIDDEN",!1),!1}var d=n.DOMWalker.parentNode(l);if(null!=d&&1===d.nodeType){a.CacheUtil.setCache(d,"Visibility_Check_Parent",!0);var c=e.isNodeVisible(d);return a.CacheUtil.setCache(l,"PT_NODE_HIDDEN",c),c}return a.CacheUtil.setCache(l,"PT_NODE_HIDDEN",!0),!0},e.isNodeVisuallyHidden=function(t){if(!t||1!==t.nodeType)return!1;var i=t,l=a.CacheUtil.getCache(i,"PT_NODE_VISUALLY_HIDDEN",void 0);if(void 0===l){var r=s.CSSUtil.getDefinedStyles(i);if("absolute"===r.position&&r.clip&&"rect(0px,0px,0px,0px)"===r.clip.replaceAll(" ","")||r.opacity&&parseFloat(r.opacity)<.1)return a.CacheUtil.setCache(i,"PT_NODE_VISUALLY_HIDDEN",!0),!0;var o=n.DOMWalker.parentElement(i);if(!o)return!1;var u=e.isNodeVisuallyHidden(o);return a.CacheUtil.setCache(i,"PT_NODE_VISUALLY_HIDDEN",u),u}return l},e.isContentHidden=function(e){if(!e)return!1;var t=a.CacheUtil.getCache(e,"PT_NODE_ContentHidden",void 0);if(void 0!==t)return t;var i=getComputedStyle(e);return i?"hidden"!==i.getPropertyValue("content-visibility")||"inline"===i.getPropertyValue("display")?(a.CacheUtil.setCache(e,"PT_NODE_ContentHidden",!1),!1):(a.CacheUtil.setCache(e,"PT_NODE_ContentHidden",!0),!0):(a.CacheUtil.setCache(e,"PT_NODE_ContentHidden",!1),!1)},e.isElementOffscreen=function(e){if(!e)return!0;if(1!==e.nodeType)return!1;var t=a.CacheUtil.getCache(e,"PT_NODE_Offscreen",void 0);if(void 0!==t)return t;var i=(new r.DOMMapper).getUnadjustedBounds(e);return i?0===i.height||0===i.width||i.top+i.height<=0||i.left+i.width<=0?(a.CacheUtil.setCache(e,"PT_NODE_Offscreen",!0),!0):(a.CacheUtil.setCache(e,"PT_NODE_Offscreen",!1),!1):(a.CacheUtil.setCache(e,"PT_NODE_Offscreen",!0),!0)},e.isNodeHiddenFromAT=function(t){if(!t)return!1;var i=a.CacheUtil.getCache(t,"PT_NODE_HiddenFromAT",void 0);return void 0!==i?i:e.isNodeVisible(t)&&"true"!==t.getAttribute("aria-hidden")?l.DOMUtil.getAncestorWithAttribute(t,"aria-hidden","true")?(a.CacheUtil.setCache(t,"PT_NODE_HiddenFromAT",!0),!0):(a.CacheUtil.setCache(t,"PT_NODE_HiddenFromAT",!1),!1):(a.CacheUtil.setCache(t,"PT_NODE_HiddenFromAT",!0),!0)},e.isNodePresentational=function(e){var t=o.AriaUtil.getResolvedRole(e);return!(!t||"none"!==t&&"presentation"!==t)},e.unhideableElements=["area","param","audio"],e.hiddenByDefaultElements=["script","link","style","head","meta","base","noscript","template","datalist"],e}();t.VisUtil=u},4976:e=>{e.exports=JSON.parse('{"1.1.1":{"num":"1.1.1","url":"https://www.w3.org/TR/WCAG22/#non-text-content","scId":"WCAG2:non-text-content","scAltId":["text-equiv-all"],"test":"WCAG2:text-equiv-all","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#non-text-content","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/non-text-content.html","handle":"Non-text Content","level":"A","wcagType":"2.0"},"1.2.1":{"num":"1.2.1","url":"https://www.w3.org/TR/WCAG22/#audio-only-and-video-only-prerecorded","scId":"WCAG2:audio-only-and-video-only-prerecorded","scAltId":["media-equiv-av-only-alt"],"test":"WCAG2:media-equiv-av-only-alt","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#audio-only-and-video-only-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/audio-only-and-video-only-prerecorded.html","handle":"Audio-only and Video-only (Prerecorded)","level":"A","wcagType":"2.0"},"1.2.2":{"num":"1.2.2","url":"https://www.w3.org/TR/WCAG22/#captions-prerecorded","scId":"WCAG2:captions-prerecorded","scAltId":["media-equiv-captions"],"test":"WCAG2:media-equiv-captions","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#captions-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/captions-prerecorded.html","handle":"Captions (Prerecorded)","level":"A","wcagType":"2.0"},"1.2.3":{"num":"1.2.3","url":"https://www.w3.org/TR/WCAG22/#audio-description-or-media-alternative-prerecorded","scId":"WCAG2:audio-description-or-media-alternative-prerecorded","scAltId":["media-equiv-audio-desc"],"test":"WCAG2:media-equiv-audio-desc","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#audio-description-or-media-alternative-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/audio-description-or-media-alternative-prerecorded.html","handle":"Audio Description or Media Alternative (Prerecorded)","level":"A","wcagType":"2.0"},"1.2.4":{"num":"1.2.4","url":"https://www.w3.org/TR/WCAG22/#captions-live","scId":"WCAG2:captions-live","scAltId":["media-equiv-real-time-captions"],"test":"WCAG2:media-equiv-real-time-captions","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#captions-live","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/captions-live.html","handle":"Captions (Live)","level":"AA","wcagType":"2.0"},"1.2.5":{"num":"1.2.5","url":"https://www.w3.org/TR/WCAG22/#audio-description-prerecorded","scId":"WCAG2:audio-description-prerecorded","scAltId":["media-equiv-audio-desc-only"],"test":"WCAG2:media-equiv-audio-desc-only","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#audio-description-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/audio-description-prerecorded.html","handle":"Audio Description (Prerecorded)","level":"AA","wcagType":"2.0"},"1.2.6":{"num":"1.2.6","url":"https://www.w3.org/TR/WCAG22/#sign-language-prerecorded","scId":"WCAG2:sign-language-prerecorded","scAltId":["media-equiv-sign"],"test":"WCAG2:media-equiv-sign","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#sign-language-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/sign-language-prerecorded.html","handle":"Sign Language (Prerecorded)","level":"AAA","wcagType":"2.0"},"1.2.7":{"num":"1.2.7","url":"https://www.w3.org/TR/WCAG22/#extended-audio-description-prerecorded","scId":"WCAG2:extended-audio-description-prerecorded","scAltId":["media-equiv-extended-ad"],"test":"WCAG2:media-equiv-extended-ad","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#extended-audio-description-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/extended-audio-description-prerecorded.html","handle":"Extended Audio Description (Prerecorded)","level":"AAA","wcagType":"2.0"},"1.2.8":{"num":"1.2.8","url":"https://www.w3.org/TR/WCAG22/#media-alternative-prerecorded","scId":"WCAG2:media-alternative-prerecorded","scAltId":["media-equiv-text-doc"],"test":"WCAG2:media-equiv-text-doc","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#media-alternative-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/media-alternative-prerecorded.html","handle":"Media Alternative (Prerecorded)","level":"AAA","wcagType":"2.0"},"1.2.9":{"num":"1.2.9","url":"https://www.w3.org/TR/WCAG22/#audio-only-live","scId":"WCAG2:audio-only-live","scAltId":["media-equiv-live-audio-only"],"test":"WCAG2:media-equiv-live-audio-only","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#audio-only-live","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/audio-only-live.html","handle":"Audio-only (Live)","level":"AAA","wcagType":"2.0"},"1.3.1":{"num":"1.3.1","url":"https://www.w3.org/TR/WCAG22/#info-and-relationships","scId":"WCAG2:info-and-relationships","scAltId":["content-structure-separation-programmatic"],"test":"WCAG2:content-structure-separation-programmatic","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#info-and-relationships","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/info-and-relationships.html","handle":"Info and Relationships","level":"A","wcagType":"2.0"},"1.3.2":{"num":"1.3.2","url":"https://www.w3.org/TR/WCAG22/#meaningful-sequence","scId":"WCAG2:meaningful-sequence","scAltId":["content-structure-separation-sequence"],"test":"WCAG2:content-structure-separation-sequence","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#meaningful-sequence","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/meaningful-sequence.html","handle":"Meaningful Sequence","level":"A","wcagType":"2.0"},"1.3.3":{"num":"1.3.3","url":"https://www.w3.org/TR/WCAG22/#sensory-characteristics","scId":"WCAG2:sensory-characteristics","scAltId":["content-structure-separation-understanding"],"test":"WCAG2:content-structure-separation-understanding","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#sensory-characteristics","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/sensory-characteristics.html","handle":"Sensory Characteristics","level":"A","wcagType":"2.0"},"1.3.4":{"num":"1.3.4","url":"https://www.w3.org/TR/WCAG22/#orientation","scId":"WCAG2:orientation","scAltId":[],"test":"WCAG2:orientation","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#orientation","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/orientation.html","handle":"Orientation","level":"AA","wcagType":"2.1"},"1.3.5":{"num":"1.3.5","url":"https://www.w3.org/TR/WCAG22/#identify-input-purpose","scId":"WCAG2:identify-input-purpose","scAltId":[],"test":"WCAG2:identify-input-purpose","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#identify-input-purpose","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/identify-input-purpose.html","handle":"Identify Input Purpose","level":"AA","wcagType":"2.1"},"1.3.6":{"num":"1.3.6","url":"https://www.w3.org/TR/WCAG22/#identify-purpose","scId":"WCAG2:identify-purpose","scAltId":[],"test":"WCAG2:identify-purpose","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#identify-purpose","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/identify-purpose.html","handle":"Identify Purpose","level":"AAA","wcagType":"2.1"},"1.4.1":{"num":"1.4.1","url":"https://www.w3.org/TR/WCAG22/#use-of-color","scId":"WCAG2:use-of-color","scAltId":["visual-audio-contrast-without-color"],"test":"WCAG2:visual-audio-contrast-without-color","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#use-of-color","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/use-of-color.html","handle":"Use of Color","level":"A","wcagType":"2.0"},"1.4.2":{"num":"1.4.2","url":"https://www.w3.org/TR/WCAG22/#audio-control","scId":"WCAG2:audio-control","scAltId":["visual-audio-contrast-dis-audio"],"test":"WCAG2:visual-audio-contrast-dis-audio","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#audio-control","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/audio-control.html","handle":"Audio Control","level":"A","wcagType":"2.0"},"1.4.3":{"num":"1.4.3","url":"https://www.w3.org/TR/WCAG22/#contrast-minimum","scId":"WCAG2:contrast-minimum","scAltId":["visual-audio-contrast-contrast"],"test":"WCAG2:visual-audio-contrast-contrast","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#contrast-minimum","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/contrast-minimum.html","handle":"Contrast (Minimum)","level":"AA","wcagType":"2.0"},"1.4.4":{"num":"1.4.4","url":"https://www.w3.org/TR/WCAG22/#resize-text","scId":"WCAG2:resize-text","scAltId":["visual-audio-contrast-scale"],"test":"WCAG2:visual-audio-contrast-scale","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#resize-text","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/resize-text.html","handle":"Resize text","level":"AA","wcagType":"2.0"},"1.4.5":{"num":"1.4.5","url":"https://www.w3.org/TR/WCAG22/#images-of-text","scId":"WCAG2:images-of-text","scAltId":["visual-audio-contrast-text-presentation"],"test":"WCAG2:visual-audio-contrast-text-presentation","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#images-of-text","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/images-of-text.html","handle":"Images of Text","level":"AA","wcagType":"2.0"},"1.4.6":{"num":"1.4.6","url":"https://www.w3.org/TR/WCAG22/#contrast-enhanced","scId":"WCAG2:contrast-enhanced","scAltId":["visual-audio-contrast7"],"test":"WCAG2:visual-audio-contrast7","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#contrast-enhanced","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/contrast-enhanced.html","handle":"Contrast (Enhanced)","level":"AAA","wcagType":"2.0"},"1.4.7":{"num":"1.4.7","url":"https://www.w3.org/TR/WCAG22/#low-or-no-background-audio","scId":"WCAG2:low-or-no-background-audio","scAltId":["visual-audio-contrast-noaudio"],"test":"WCAG2:visual-audio-contrast-noaudio","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#low-or-no-background-audio","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/low-or-no-background-audio.html","handle":"Low or No Background Audio","level":"AAA","wcagType":"2.0"},"1.4.8":{"num":"1.4.8","url":"https://www.w3.org/TR/WCAG22/#visual-presentation","scId":"WCAG2:visual-presentation","scAltId":["visual-audio-contrast-visual-presentation"],"test":"WCAG2:visual-audio-contrast-visual-presentation","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#visual-presentation","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/visual-presentation.html","handle":"Visual Presentation","level":"AAA","wcagType":"2.0"},"1.4.9":{"num":"1.4.9","url":"https://www.w3.org/TR/WCAG22/#images-of-text-no-exception","scId":"WCAG2:images-of-text-no-exception","scAltId":["visual-audio-contrast-text-images"],"test":"WCAG2:visual-audio-contrast-text-images","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#images-of-text-no-exception","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/images-of-text-no-exception.html","handle":"Images of Text (No Exception)","level":"AAA","wcagType":"2.0"},"1.4.10":{"num":"1.4.10","url":"https://www.w3.org/TR/WCAG22/#reflow","scId":"WCAG2:reflow","scAltId":[],"test":"WCAG2:reflow","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#reflow","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/reflow.html","handle":"Reflow","level":"AA","wcagType":"2.1"},"1.4.11":{"num":"1.4.11","url":"https://www.w3.org/TR/WCAG22/#non-text-contrast","scId":"WCAG2:non-text-contrast","scAltId":[],"test":"WCAG2:non-text-contrast","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#non-text-contrast","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/non-text-contrast.html","handle":"Non-text Contrast","level":"AA","wcagType":"2.1"},"1.4.12":{"num":"1.4.12","url":"https://www.w3.org/TR/WCAG22/#text-spacing","scId":"WCAG2:text-spacing","scAltId":[],"test":"WCAG2:text-spacing","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#text-spacing","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/text-spacing.html","handle":"Text Spacing","level":"AA","wcagType":"2.1"},"1.4.13":{"num":"1.4.13","url":"https://www.w3.org/TR/WCAG22/#content-on-hover-or-focus","scId":"WCAG2:content-on-hover-or-focus","scAltId":[],"test":"WCAG2:content-on-hover-or-focus","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#content-on-hover-or-focus","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/content-on-hover-or-focus.html","handle":"Content on Hover or Focus","level":"AA","wcagType":"2.1"},"2.1.1":{"num":"2.1.1","url":"https://www.w3.org/TR/WCAG22/#keyboard","scId":"WCAG2:keyboard","scAltId":["keyboard-operation-keyboard-operable"],"test":"WCAG2:keyboard-operation-keyboard-operable","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#keyboard","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/keyboard.html","handle":"Keyboard","level":"A","wcagType":"2.0"},"2.1.2":{"num":"2.1.2","url":"https://www.w3.org/TR/WCAG22/#no-keyboard-trap","scId":"WCAG2:no-keyboard-trap","scAltId":["keyboard-operation-trapping"],"test":"WCAG2:keyboard-operation-trapping","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#no-keyboard-trap","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/no-keyboard-trap.html","handle":"No Keyboard Trap","level":"A","wcagType":"2.0"},"2.1.3":{"num":"2.1.3","url":"https://www.w3.org/TR/WCAG22/#keyboard-no-exception","scId":"WCAG2:keyboard-no-exception","scAltId":["keyboard-operation-all-funcs"],"test":"WCAG2:keyboard-operation-all-funcs","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#keyboard-no-exception","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/keyboard-no-exception.html","handle":"Keyboard (No Exception)","level":"AAA","wcagType":"2.0"},"2.1.4":{"num":"2.1.4","url":"https://www.w3.org/TR/WCAG22/#character-key-shortcuts","scId":"WCAG2:character-key-shortcuts","scAltId":[],"test":"WCAG2:WCAG2:character-key-shortcuts","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#character-key-shortcuts","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/character-key-shortcuts.html","handle":"Character Key Shortcuts","level":"A","wcagType":"2.1"},"2.2.1":{"num":"2.2.1","url":"https://www.w3.org/TR/WCAG22/#timing-adjustable","scId":"WCAG2:timing-adjustable","scAltId":["time-limits-required-behaviors"],"test":"WCAG2:time-limits-required-behaviors","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#timing-adjustable","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/timing-adjustable.html","handle":"Timing Adjustable","level":"A","wcagType":"2.0"},"2.2.2":{"num":"2.2.2","url":"https://www.w3.org/TR/WCAG22/#pause-stop-hide","scId":"WCAG2:pause-stop-hide","scAltId":["time-limits-pause"],"test":"WCAG2:time-limits-pause","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#pause-stop-hide","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/pause-stop-hide.html","handle":"Pause, Stop, Hide","level":"A","wcagType":"2.0"},"2.2.3":{"num":"2.2.3","url":"https://www.w3.org/TR/WCAG22/#no-timing","scId":"WCAG2:no-timing","scAltId":["time-limits-no-exceptions"],"test":"WCAG2:time-limits-no-exceptions","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#no-timing","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/no-timing.html","handle":"No Timing","level":"AAA","wcagType":"2.0"},"2.2.4":{"num":"2.2.4","url":"https://www.w3.org/TR/WCAG22/#interruptions","scId":"WCAG2:interruptions","scAltId":["time-limits-postponed"],"test":"WCAG2:time-limits-postponed","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#interruptions","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/interruptions.html","handle":"Interruptions","level":"AAA","wcagType":"2.0"},"2.2.5":{"num":"2.2.5","url":"https://www.w3.org/TR/WCAG22/#re-authenticating","scId":"WCAG2:re-authenticating","scAltId":["time-limits-server-timeout"],"test":"WCAG2:time-limits-server-timeout","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#re-authenticating","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/re-authenticating.html","handle":"Re-authenticating","level":"AAA","wcagType":"2.0"},"2.2.6":{"num":"2.2.6","url":"https://www.w3.org/TR/WCAG22/#timeouts","scId":"WCAG2:timeouts","scAltId":[],"test":"WCAG2:WCAG2:timeouts","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#timeouts","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/timeouts.html","handle":"Timeouts","level":"AAA","wcagType":"2.1"},"2.3.1":{"num":"2.3.1","url":"https://www.w3.org/TR/WCAG22/#three-flashes-or-below-threshold","scId":"WCAG2:three-flashes-or-below-threshold","scAltId":["seizure-does-not-violate"],"test":"WCAG2:seizure-does-not-violate","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#three-flashes-or-below-threshold","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/three-flashes-or-below-threshold.html","handle":"Three Flashes or Below Threshold","level":"A","wcagType":"2.0"},"2.3.2":{"num":"2.3.2","url":"https://www.w3.org/TR/WCAG22/#three-flashes","scId":"WCAG2:three-flashes","scAltId":["seizure-three-times"],"test":"WCAG2:seizure-three-times","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#three-flashes","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/three-flashes.html","handle":"Three Flashes","level":"AAA","wcagType":"2.0"},"2.3.3":{"num":"2.3.3","url":"https://www.w3.org/TR/WCAG22/#animation-from-interactions","scId":"WCAG2:animation-from-interactions","scAltId":[],"test":"WCAG2:WCAG2:animation-from-interactions","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#animation-from-interactions","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/animation-from-interactions.html","handle":"Animation from Interactions","level":"AAA","wcagType":"2.1"},"2.4.1":{"num":"2.4.1","url":"https://www.w3.org/TR/WCAG22/#bypass-blocks","scId":"WCAG2:bypass-blocks","scAltId":["navigation-mechanisms-skip"],"test":"WCAG2:navigation-mechanisms-skip","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#bypass-blocks","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/bypass-blocks.html","handle":"Bypass Blocks","level":"A","wcagType":"2.0"},"2.4.2":{"num":"2.4.2","url":"https://www.w3.org/TR/WCAG22/#page-titled","scId":"WCAG2:page-titled","scAltId":["navigation-mechanisms-title"],"test":"WCAG2:navigation-mechanisms-title","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#page-titled","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/page-titled.html","handle":"Page Titled","level":"A","wcagType":"2.0"},"2.4.3":{"num":"2.4.3","url":"https://www.w3.org/TR/WCAG22/#focus-order","scId":"WCAG2:focus-order","scAltId":["navigation-mechanisms-focus-order"],"test":"WCAG2:navigation-mechanisms-focus-order","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#focus-order","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/focus-order.html","handle":"Focus Order","level":"A","wcagType":"2.0"},"2.4.4":{"num":"2.4.4","url":"https://www.w3.org/TR/WCAG22/#link-purpose-in-context","scId":"WCAG2:link-purpose-in-context","scAltId":["navigation-mechanisms-refs"],"test":"WCAG2:navigation-mechanisms-refs","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#link-purpose-in-context","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/link-purpose-in-context.html","handle":"Link Purpose (In Context)","level":"A","wcagType":"2.0"},"2.4.5":{"num":"2.4.5","url":"https://www.w3.org/TR/WCAG22/#multiple-ways","scId":"WCAG2:multiple-ways","scAltId":["navigation-mechanisms-mult-loc"],"test":"WCAG2:navigation-mechanisms-mult-loc","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#multiple-ways","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/multiple-ways.html","handle":"Multiple Ways","level":"AA","wcagType":"2.0"},"2.4.6":{"num":"2.4.6","url":"https://www.w3.org/TR/WCAG22/#headings-and-labels","scId":"WCAG2:headings-and-labels","scAltId":["navigation-mechanisms-descriptive"],"test":"WCAG2:navigation-mechanisms-descriptive","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#headings-and-labels","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/headings-and-labels.html","handle":"Headings and Labels","level":"AA","wcagType":"2.0"},"2.4.7":{"num":"2.4.7","url":"https://www.w3.org/TR/WCAG22/#focus-visible","scId":"WCAG2:focus-visible","scAltId":["navigation-mechanisms-focus-visible"],"test":"WCAG2:navigation-mechanisms-focus-visible","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#focus-visible","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/focus-visible.html","handle":"Focus Visible","level":"AA","wcagType":"2.0"},"2.4.8":{"num":"2.4.8","url":"https://www.w3.org/TR/WCAG22/#location","scId":"WCAG2:location","scAltId":["navigation-mechanisms-location"],"test":"WCAG2:navigation-mechanisms-location","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#location","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/location.html","handle":"Location","level":"AAA","wcagType":"2.0"},"2.4.9":{"num":"2.4.9","url":"https://www.w3.org/TR/WCAG22/#link-purpose-link-only","scId":"WCAG2:link-purpose-link-only","scAltId":["navigation-mechanisms-link"],"test":"WCAG2:navigation-mechanisms-link","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#link-purpose-link-only","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/link-purpose-link-only.html","handle":"Link Purpose (Link Only)","level":"AAA","wcagType":"2.0"},"2.4.10":{"num":"2.4.10","url":"https://www.w3.org/TR/WCAG22/#section-headings","scId":"WCAG2:section-headings","scAltId":["navigation-mechanisms-headings"],"test":"WCAG2:navigation-mechanisms-headings","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#section-headings","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/section-headings.html","handle":"Section Headings","level":"AAA","wcagType":"2.0"},"2.4.11":{"num":"2.4.11","url":"https://www.w3.org/TR/WCAG22/#focus-not-obscured-minimum","scId":"WCAG2:focus-not-obscured-minimum","scAltId":["focus-not-obscured-minimum-alt"],"test":"WCAG2:focus-not-obscured-minimum-test","howToMeetUrl":"https://www.w3.org/TR/WCAG22/#focus-not-obscured-minimum","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/focus-not-obscured-minimum.html","handle":"Focus Not Obscured (Minimum)","level":"AA","wcagType":"2.2"},"2.4.12":{"num":"2.4.12","url":"https://www.w3.org/TR/WCAG22/#focus-not-obscured-enhanced","scId":"WCAG2:focus-not-obscured-enhanced","scAltId":[],"test":"WCAG2:focus-not-obscured-enhanced-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#focus-not-obscured-enhanced","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/focus-not-obscured-enhanced.html","handle":"Focus Not Obscured (Enhanced)","level":"AAA","wcagType":"2.2"},"2.4.13":{"num":"2.4.13","url":"https://www.w3.org/TR/WCAG22/#focus-appearance","scId":"WCAG2:focus-appearance","scAltId":[],"test":"WCAG2:focus-appearance","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#focus-appearance","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/focus-appearance.html","handle":"Focus Appearance","level":"AAA","wcagType":"2.2"},"2.5.1":{"num":"2.5.1","url":"https://www.w3.org/TR/WCAG22/#pointer-gestures","scId":"WCAG2:pointer-gestures","scAltId":[],"test":"WCAG2:pointer-gestures-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#pointer-gestures","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/pointer-gestures.html","handle":"Pointer Gestures","level":"A","wcagType":"2.1"},"2.5.2":{"num":"2.5.2","url":"https://www.w3.org/TR/WCAG22/#pointer-cancellation","scId":"WCAG2:pointer-cancellation","scAltId":[],"test":"WCAG2:WCAG2:pointer-cancellation","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#pointer-cancellation","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/pointer-cancellation.html","handle":"Pointer Cancellation","level":"A","wcagType":"2.1"},"2.5.3":{"num":"2.5.3","url":"https://www.w3.org/TR/WCAG22/#label-in-name","scId":"WCAG2:label-in-name","scAltId":[],"test":"WCAG2:WCAG2:label-in-name","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#label-in-name","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/label-in-name.html","handle":"Label in Name","level":"A","wcagType":"2.1"},"2.5.4":{"num":"2.5.4","url":"https://www.w3.org/TR/WCAG22/#motion-actuation","scId":"WCAG2:motion-actuation","scAltId":[],"test":"WCAG2:WCAG2:motion-actuation","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#motion-actuation","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/motion-actuation.html","handle":"Motion Actuation","level":"A","wcagType":"2.1"},"2.5.5":{"num":"2.5.5","url":"https://www.w3.org/TR/WCAG22/#target-size","scId":"WCAG2:target-size","scAltId":[],"test":"WCAG2:WCAG2:target-size","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#target-size","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/target-size.html","handle":"Target Size","level":"AAA","wcagType":"2.1"},"2.5.6":{"num":"2.5.6","url":"https://www.w3.org/TR/WCAG22/#concurrent-input-mechanisms","scId":"WCAG2:concurrent-input-mechanisms","scAltId":[],"test":"WCAG2:WCAG2:concurrent-input-mechanisms","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#concurrent-input-mechanisms","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/concurrent-input-mechanisms.html","handle":"Concurrent Input Mechanisms","level":"AAA","wcagType":"2.1"},"2.5.7":{"num":"2.5.7","url":"https://www.w3.org/TR/WCAG22/#dragging-movements","scId":"WCAG2:dragging-movement","scAltId":["dragging-movement-alt"],"test":"WCAG2:dragging-movement-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/Understanding/dragging-movements.html","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/dragging-movements.html","handle":"Dragging Movement","level":"AA","wcagType":"2.2"},"2.5.8":{"num":"2.5.8","url":"https://www.w3.org/TR/WCAG22/#target-size-minimum","scId":"WCAG2:minimum-target-size","scAltId":["minimum-target-size-alt"],"test":"WCAG2:minimum-target-size-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#target-size-minimum","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/target-size-minimum.html","handle":"Minimum Target Size","level":"AA","wcagType":"2.2"},"3.1.1":{"num":"3.1.1","url":"https://www.w3.org/TR/WCAG22/#language-of-page","scId":"WCAG2:language-of-page","scAltId":["meaning-doc-lang-id"],"test":"WCAG2:meaning-doc-lang-id","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#language-of-page","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/language-of-page.html","handle":"Language of Page","level":"A","wcagType":"2.0"},"3.1.2":{"num":"3.1.2","url":"https://www.w3.org/TR/WCAG22/#language-of-parts","scId":"WCAG2:language-of-parts","scAltId":["meaning-other-lang-id"],"test":"WCAG2:meaning-other-lang-id","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#language-of-parts","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/language-of-parts.html","handle":"Language of Parts","level":"AA","wcagType":"2.0"},"3.1.3":{"num":"3.1.3","url":"https://www.w3.org/TR/WCAG22/#unusual-words","scId":"WCAG2:unusual-words","scAltId":["meaning-idioms"],"test":"WCAG2:meaning-idioms","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#unusual-words","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/unusual-words.html","handle":"Unusual Words","level":"AAA","wcagType":"2.0"},"3.1.4":{"num":"3.1.4","url":"https://www.w3.org/TR/WCAG22/#abbreviations","scId":"WCAG2:abbreviations","scAltId":["meaning-located"],"test":"WCAG2:meaning-located","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#abbreviations","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/abbreviations.html","handle":"Abbreviations","level":"AAA","wcagType":"2.0"},"3.1.5":{"num":"3.1.5","url":"https://www.w3.org/TR/WCAG22/#reading-level","scId":"WCAG2:reading-level","scAltId":["meaning-supplements"],"test":"WCAG2:meaning-supplements","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#reading-level","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/reading-level.html","handle":"Reading Level","level":"AAA","wcagType":"2.0"},"3.1.6":{"num":"3.1.6","url":"https://www.w3.org/TR/WCAG22/#pronunciation","scId":"WCAG2:pronunciation","scAltId":["meaning-pronunciation"],"test":"WCAG2:meaning-pronunciation","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#pronunciation","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/pronunciation.html","handle":"Pronunciation","level":"AAA","wcagType":"2.0"},"3.2.1":{"num":"3.2.1","url":"https://www.w3.org/TR/WCAG22/#on-focus","scId":"WCAG2:on-focus","scAltId":["consistent-behavior-receive-focus"],"test":"WCAG2:consistent-behavior-receive-focus","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#on-focus","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/on-focus.html","handle":"On Focus","level":"A","wcagType":"2.0"},"3.2.2":{"num":"3.2.2","url":"https://www.w3.org/TR/WCAG22/#on-input","scId":"WCAG2:on-input","scAltId":["consistent-behavior-unpredictable-change"],"test":"WCAG2:consistent-behavior-unpredictable-change","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#on-input","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/on-input.html","handle":"On Input","level":"A","wcagType":"2.0"},"3.2.3":{"num":"3.2.3","url":"https://www.w3.org/TR/WCAG22/#consistent-navigation","scId":"WCAG2:consistent-navigation","scAltId":["consistent-behavior-consistent-locations"],"test":"WCAG2:consistent-behavior-consistent-locations","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#consistent-navigation","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/consistent-navigation.html","handle":"Consistent Navigation","level":"AA","wcagType":"2.0"},"3.2.4":{"num":"3.2.4","url":"https://www.w3.org/TR/WCAG22/#consistent-identification","scId":"WCAG2:consistent-identification","scAltId":["consistent-behavior-consistent-functionality"],"test":"WCAG2:consistent-behavior-consistent-functionality","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#consistent-identification","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/consistent-identification.html","handle":"Consistent Identification","level":"AA","wcagType":"2.0"},"3.2.5":{"num":"3.2.5","url":"https://www.w3.org/TR/WCAG22/#change-on-request","scId":"WCAG2:change-on-request","scAltId":["consistent-behavior-no-extreme-changes-context"],"test":"WCAG2:consistent-behavior-no-extreme-changes-context","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#change-on-request","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/change-on-request.html","handle":"Change on Request","level":"AAA","wcagType":"2.0"},"3.2.6":{"num":"3.2.6","url":"https://www.w3.org/TR/WCAG22/#consistent-help","scId":"WCAG2:consistent-help","scAltId":["consistent-help-alt"],"test":"WCAG2:consistent-help-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#consistent-help","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/consistent-help.html","handle":"Consistent Help","level":"AA","wcagType":"2.2"},"3.3.1":{"num":"3.3.1","url":"https://www.w3.org/TR/WCAG22/#error-identification","scId":"WCAG2:error-identification","scAltId":["minimize-error-identified"],"test":"WCAG2:minimize-error-identified","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#error-identification","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/error-identification.html","handle":"Error Identification","level":"A","wcagType":"2.0"},"3.3.2":{"num":"3.3.2","url":"https://www.w3.org/TR/WCAG22/#labels-or-instructions","scId":"WCAG2:labels-or-instructions","scAltId":["minimize-error-cues"],"test":"WCAG2:minimize-error-cues","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#labels-or-instructions","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/labels-or-instructions.html","handle":"Labels or Instructions","level":"A","wcagType":"2.0"},"3.3.3":{"num":"3.3.3","url":"https://www.w3.org/TR/WCAG22/#error-suggestion","scId":"WCAG2:error-suggestion","scAltId":["minimize-error-suggestions"],"test":"WCAG2:minimize-error-suggestions","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#error-suggestion","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/error-suggestion.html","handle":"Error Suggestion","level":"AA","wcagType":"2.0"},"3.3.4":{"num":"3.3.4","url":"https://www.w3.org/TR/WCAG22/#error-prevention-legal-financial-data","scId":"WCAG2:error-prevention-legal-financial-data","scAltId":["minimize-error-reversible"],"test":"WCAG2:minimize-error-reversible","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#error-prevention-legal-financial-data","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/error-prevention-legal-financial-data.html","handle":"Error Prevention (Legal, Financial, Data)","level":"AA","wcagType":"2.0"},"3.3.5":{"num":"3.3.5","url":"https://www.w3.org/TR/WCAG22/#help","scId":"WCAG2:help","scAltId":["minimize-error-context-help"],"test":"WCAG2:minimize-error-context-help","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#help","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/help.html","handle":"Help","level":"AAA","wcagType":"2.0"},"3.3.6":{"num":"3.3.6","url":"https://www.w3.org/TR/WCAG22/#error-prevention-all","scId":"WCAG2:error-prevention-all","scAltId":["minimize-error-reversible-all"],"test":"WCAG2:minimize-error-reversible-all","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#error-prevention-all","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/error-prevention-all.html","handle":"Error Prevention (All)","level":"AAA","wcagType":"2.0"},"3.3.7":{"num":"3.3.7","url":"https://www.w3.org/TR/WCAG22/#redundant-entry","scId":"WCAG2:redundant-entry","scAltId":["redundant-entry-alt"],"test":"WCAG2:redundant-entry-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#redundant-entry","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/redundant-entry.html","handle":"Redundant Entry","level":"AA","wcagType":"2.2"},"3.3.8":{"num":"3.3.8","url":"https://www.w3.org/TR/WCAG22/#accessible-authentication-minimum","scId":"WCAG2:accessible-authentication-minimum","scAltId":["accessible-authentication-minimum-alt"],"test":"WCAG2:accessible-authentication-minimum-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#accessible-authentication-minimum","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/accessible-authentication-minimum.html","handle":"Accessible Authentication (Minimum)","level":"AA","wcagType":"2.2"},"3.3.9":{"num":"3.3.9","url":"https://www.w3.org/TR/WCAG22/#accessible-authentication-enhanced","scId":"WCAG2:accessible-authentication-enhanced","scAltId":[],"test":"WCAG2:accessible-authentication-enhanced","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#accessible-authentication-enhanced","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/accessible-authentication-enhanced.html","handle":"Accessible Authentication (Enhanced)","level":"AAA","wcagType":"2.2"},"4.1.1":{"num":"4.1.1","url":"https://www.w3.org/TR/WCAG22/#parsing","scId":"WCAG2:parsing","scAltId":["ensure-compat-parses"],"test":"WCAG2:ensure-compat-parses","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/?versions=2.1#parsing","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/parsing.html","handle":"Parsing","level":"A","wcagType":"2.0"},"4.1.2":{"num":"4.1.2","url":"https://www.w3.org/TR/WCAG22/#name-role-value","scId":"WCAG2:name-role-value","scAltId":["ensure-compat-rsv"],"test":"WCAG2:ensure-compat-rsv","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#name-role-value","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/name-role-value.html","handle":"Name, Role, Value","level":"A","wcagType":"2.0"},"4.1.3":{"num":"4.1.3","url":"https://www.w3.org/TR/WCAG22/#status-messages","scId":"WCAG2:status-messages","scAltId":[],"test":"WCAG2:status-messages","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#status-messages","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/status-messages.html","handle":"Status Messages","level":"AA","wcagType":"2.1"},"HTML":{"num":"HTML","url":"https://html.spec.whatwg.org/multipage/","scId":[],"scAltId":[],"test":"","howToMeetUrl":"https://html.spec.whatwg.org/multipage/","understandingUrl":"https://html.spec.whatwg.org/multipage/","handle":"specification","level":"NA","wcagType":"NA"},"ARIA":{"num":"ARIA","url":"https://www.w3.org/TR/wai-aria-1.2/","scId":[],"scAltId":[],"test":"","howToMeetUrl":"https://www.w3.org/TR/wai-aria-1.2/","understandingUrl":"https://www.w3.org/TR/wai-aria-1.2/","handle":"specification","level":"NA","wcagType":"NA"}}')}},t={};function i(a){var l=t[a];if(void 0!==l)return l.exports;var n=t[a]={exports:{}};return e[a].call(n.exports,n,n.exports,i),n.exports}var a={};(()=>{var e=a;Object.defineProperty(e,"__esModule",{value:!0}),e.checkDemo=e.DOMWalker=e.Config=e.ARIAMapper=e.Checker=e.Context=void 0;var t=i(2306);Object.defineProperty(e,"Context",{enumerable:!0,get:function(){return t.Context}});var l=i(7884);Object.defineProperty(e,"Checker",{enumerable:!0,get:function(){return l.Checker}});var n=i(4944);Object.defineProperty(e,"ARIAMapper",{enumerable:!0,get:function(){return n.ARIAMapper}});var r=i(3962);Object.defineProperty(e,"Config",{enumerable:!0,get:function(){return r.Config}});var o=i(7440);Object.defineProperty(e,"DOMWalker",{enumerable:!0,get:function(){return o.DOMWalker}}),String.prototype.startsWith=String.prototype.startsWith||function(e){return 0===this.indexOf(e)},String.prototype.includes=String.prototype.includes||function(e){return-1!==this.indexOf(e)},Array.prototype.includes=Array.prototype.includes||function(e){return-1!==this.indexOf(e)},e.checkDemo=function(e){e||(e=0);var t=new l.Checker;setTimeout((function(){t.check(document.documentElement,["IBM_Accessibility","IBM_Design"]).then((function(e){console.log(e);for(var t={FAIL:0,POTENTIAL:1,MANUAL:2,PASS:3},i=0;i<e.results.length;++i)"PASS"===e.results[i].value[1]&&e.results.splice(i--,1);e.results.sort((function(e,i){return e.category!=i.category?e.category.localeCompare(i.category):e.path.aria===i.path.aria?t[e.value[1]]-t[i.value[1]]:e.path.aria.localeCompare(i.path.aria)}));for(var a=null,l=null,n=0,r=e.results;n<r.length;n++){var o=r[n];l!==o.category&&(null!==l&&(console.groupEnd(),console.groupEnd(),a=null),l=o.category,console.group(o.category)),o.path.aria!=a&&(null!==a&&console.groupEnd(),""===(a=o.path.aria)?console.group("page"):console.group(a)),console.log(o.value,o.message)}console.groupEnd(),console.groupEnd()}))}),e)}})(),module.exports=a})(); \ No newline at end of file diff --git a/rule-server/src/static/archives/2024.12.12/js/ace-node.js.LICENSE.txt b/rule-server/src/static/archives/2024.12.12/js/ace-node.js.LICENSE.txt new file mode 100644 index 000000000..614ccacb5 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/js/ace-node.js.LICENSE.txt @@ -0,0 +1,15 @@ +/*! + * Copyright:: 2016,2017,2019,2020- IBM, Inc + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ diff --git a/rule-server/src/static/archives/2024.12.12/js/ace.js b/rule-server/src/static/archives/2024.12.12/js/ace.js new file mode 100644 index 000000000..2f1b6f53b --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/js/ace.js @@ -0,0 +1,2 @@ +/*! For license information please see ace.js.LICENSE.txt */ +var ace;(()=>{"use strict";var e={8235:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ARIADefinitions=void 0;var i=function(){function e(){}return e.nameFromContent=function(t){return t in e.designPatterns&&e.designPatterns[t].nameFrom&&e.designPatterns[t].nameFrom.includes("contents")},e.globalProperties=["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-flowto","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription","aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"],e.referenceProperties=["aria-owns","aria-controls","aria-describedby","aria-labelledby","aria-flowto","aria-activedescendant"],e.globalDeprecatedRoles=["directory","doc-biblioentry","doc-endnote"],e.globalDeprecatedProperties=["aria-grabbed","aria-dropeffect"],e.propertyDataTypes={"aria-activedescendant":{type:"http://www.w3.org/2001/XMLSchema#idref",hiddenIDRefSupported:!0},"aria-atomic":{type:"http://www.w3.org/2001/XMLSchema#boolean"},"aria-autocomplete":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["inline","list","both","none","undefined"]},"aria-busy":{type:"http://www.w3.org/2001/XMLSchema#boolean"},"aria-checked":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["true","false","mixed","undefined"]},"aria-colcount":{type:"http://www.w3.org/2001/XMLSchema#int"},"aria-colindex":{type:"http://www.w3.org/2001/XMLSchema#int"},"aria-colspan":{type:"http://www.w3.org/2001/XMLSchema#int"},"aria-controls":{type:"http://www.w3.org/2001/XMLSchema#idrefs",hiddenIDRefSupported:!0},"aria-current":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["page","step","location","date","time","true","false","undefined"]},"aria-describedby":{type:"http://www.w3.org/2001/XMLSchema#idrefs",hiddenIDRefSupported:!0},"aria-details":{type:"http://www.w3.org/2001/XMLSchema#idrefs"},"aria-disabled":{type:"http://www.w3.org/2001/XMLSchema#boolean"},"aria-dropeffect":{type:"http://www.w3.org/2001/XMLSchema#nmtokens",values:["copy","move","link","execute","popup","none"]},"aria-errormessage":{type:"http://www.w3.org/2001/XMLSchema#idref",hiddenIDRefSupported:!0},"aria-expanded":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["true","false","undefined"]},"aria-flowto":{type:"http://www.w3.org/2001/XMLSchema#idrefs",hiddenIDRefSupported:!1},"aria-grabbed":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["true","false","undefined"]},"aria-haspopup":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["true","false","menu","listbox","tree","grid","dialog"]},"aria-hidden":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["true","false","undefined"]},"aria-invalid":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["true","false","spelling","grammar","undefined"]},"aria-keyshortcuts":{type:"http://www.w3.org/2001/XMLSchema#string"},"aria-label":{type:"http://www.w3.org/2001/XMLSchema#string"},"aria-labelledby":{type:"http://www.w3.org/2001/XMLSchema#idrefs",hiddenIDRefSupported:!0},"aria-level":{type:"http://www.w3.org/2001/XMLSchema#int"},"aria-live":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["off","polite","assertive"]},"aria-modal":{type:"http://www.w3.org/2001/XMLSchema#boolean"},"aria-multiline":{type:"http://www.w3.org/2001/XMLSchema#boolean"},"aria-multiselectable":{type:"http://www.w3.org/2001/XMLSchema#boolean"},"aria-orientation":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["horizontal","vertical","undefined"]},"aria-owns":{type:"http://www.w3.org/2001/XMLSchema#idrefs",hiddenIDRefSupported:!0},"aria-placeholder":{type:"http://www.w3.org/2001/XMLSchema#string"},"aria-posinset":{type:"http://www.w3.org/2001/XMLSchema#int"},"aria-pressed":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["true","false","mixed","undefined"]},"aria-readonly":{type:"http://www.w3.org/2001/XMLSchema#boolean"},"aria-relevant":{type:"http://www.w3.org/2001/XMLSchema#nmtokens",values:["additions","removals","text","all"]},"aria-required":{type:"http://www.w3.org/2001/XMLSchema#boolean"},"aria-roledescription":{type:"http://www.w3.org/2001/XMLSchema#string"},"aria-rowcount":{type:"http://www.w3.org/2001/XMLSchema#int"},"aria-rowindex":{type:"http://www.w3.org/2001/XMLSchema#int"},"aria-rowspan":{type:"http://www.w3.org/2001/XMLSchema#int"},"aria-selected":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["true","false","undefined"]},"aria-setsize":{type:"http://www.w3.org/2001/XMLSchema#int"},"aria-sort":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["ascending","descending","other","none"]},"aria-valuemax":{type:"http://www.w3.org/2001/XMLSchema#decimal"},"aria-valuemin":{type:"http://www.w3.org/2001/XMLSchema#decimal"},"aria-valuenow":{type:"http://www.w3.org/2001/XMLSchema#decimal"},"aria-valuetext":{type:"http://www.w3.org/2001/XMLSchema#string"}},e.designPatterns={alert:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"liveRegion",nameRequired:!1,nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},alertdialog:{container:null,props:["aria-modal"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"window",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},application:{container:null,props:["aria-activedescendant","aria-expanded"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameRequired:!0,nameFrom:["author"]},article:{container:null,props:["aria-posinset","aria-setsize"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},banner:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},blockquote:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},button:{container:null,props:["aria-expanded","aria-pressed"],reqProps:null,reqChildren:null,htmlEquiv:"button | input[@type='button']",roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],presentationalChildren:!0,deprecatedProps:["aria-errormessage","aria-invalid"]},caption:{container:["figure","grid","table","treegrid"],props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},cell:{container:["row"],props:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan"],reqProps:null,reqChildren:null,htmlEquiv:"td",roleType:"structure",nameFrom:["author","contents"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},checkbox:{container:null,props:["aria-expanded","aria-readonly","aria-required"],reqProps:["aria-checked"],reqChildren:null,htmlEquiv:"input[@type='checkbox']",roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],presentationalChildren:!0,deprecatedProps:["aria-haspopup"]},code:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},columnheader:{container:["row"],props:["aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected","aria-sort"],reqProps:null,reqChildren:null,htmlEquiv:"th[@scope='col']",roleType:"structure",nameRequired:!0,nameFrom:["author","contents"]},combobox:{container:null,props:["aria-controls","aria-activedescendant","aria-autocomplete","aria-readonly","aria-required"],reqProps:["aria-expanded"],reqChildren:[],htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author"]},complementary:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},comment:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameRequired:!1,nameFrom:["author","contents"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},contentinfo:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},definition:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},deletion:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},dialog:{container:null,props:["aria-modal"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"window",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},directory:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["author"],deprecated:!0,deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},"doc-abstract":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-acknowledgments":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-afterword":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-appendix":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-backlink":{container:null,props:["aria-disabled","aria-expanded","aria-haspopup"],reqProps:null,reqChildren:null,htmlEquiv:"a | link",roleType:"widget",nameRequired:!0,nameFrom:["author","contents"]},"doc-biblioentry":{container:["list"],props:["aria-level","aria-posinset","aria-setsize"],reqProps:null,reqChildren:null,htmlEquiv:"li",roleType:"structure",nameRequired:!0,nameFrom:["author"]},"doc-bibliography":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-biblioref":{container:null,props:["aria-disabled","aria-expanded","aria-haspopup"],reqProps:null,reqChildren:null,htmlEquiv:"a | link",roleType:"widget",nameRequired:!0,nameFrom:["author","contents"]},"doc-chapter":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-colophon":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!0,nameFrom:["author"]},"doc-conclusion":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-cover":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:"img",roleType:"structure",nameRequired:!1,nameFrom:["author"],presentationalChildren:!0},"doc-credit":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-credits":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-dedication":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-endnote":{container:["list"],props:["aria-level","aria-posinset","aria-setsize"],reqProps:null,reqChildren:null,htmlEquiv:"li",roleType:"structure",nameRequired:!1,nameFrom:["author"]},"doc-endnotes":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!0,nameFrom:["author"]},"doc-epigraph":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-epilogue":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-errata":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-example":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-footnote":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-foreword":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-glossary":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-glossref":{container:null,props:["aria-disabled","aria-expanded","aria-haspopup"],reqProps:null,reqChildren:null,htmlEquiv:"a | link",roleType:"widget",nameRequired:!0,nameFrom:["author","contents"]},"doc-index":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-introduction":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-noteref":{container:null,props:["aria-disabled","aria-expanded","aria-haspopup"],reqProps:null,reqChildren:null,htmlEquiv:"a | link",roleType:"widget",nameRequired:!0,nameFrom:["author","contents"]},"doc-notice":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameRequired:!1,nameFrom:["author"]},"doc-pagebreak":{container:null,props:["aria-orientation"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameRequired:!0,nameFrom:["author","contents"],presentationalChildren:!0},"doc-pagelist":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-pagefooter":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"]},"doc-pageheader":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"]},"doc-part":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-preface":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-prologue":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-pullquote":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameRequired:!1,nameFrom:["author"]},"doc-qna":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-subtitle":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameRequired:!1,nameFrom:["author","contents"]},"doc-tip":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameRequired:!1,nameFrom:["author"]},"doc-toc":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},document:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameRequired:!1,nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},emphasis:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},feed:{container:null,props:null,reqProps:null,reqChildren:["article"],htmlEquiv:null,roleType:"structure",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},figure:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},form:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:"form",roleType:"landmark",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},generic:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:"div | span",roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby","aria-roledescription"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},"graphics-document":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,nameRequired:!0,nameFrom:["author"]},"graphics-object":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,nameRequired:!1,nameFrom:["author"]},"graphics-symbol":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,nameRequired:!0,nameFrom:["author"],presentationalChildren:!0},grid:{container:null,props:["aria-activedescendant","aria-colcount","aria-multiselectable","aria-readonly","aria-rowcount"],reqProps:null,reqChildren:["row","rowgroup"],htmlEquiv:"table",roleType:"widget",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},gridcell:{container:["row"],props:["aria-colindex","aria-colspan","aria-disabled","aria-errormessage","aria-expanded","aria-haspopup","aria-invalid","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],reqProps:null,reqChildren:null,htmlEquiv:"td",roleType:"widget",nameFrom:["author","contents"]},group:{container:null,props:["aria-activedescendant"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["author"],deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},heading:{container:null,props:null,reqProps:["aria-level"],reqChildren:null,htmlEquiv:"h1 | h2 | h3 | h4 | h5 | h6",roleType:"structure",nameRequired:!0,nameFrom:["author","contents"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},img:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:"img",roleType:"structure",nameRequired:!0,nameFrom:["author"],presentationalChildren:!0,deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},image:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:"img",roleType:"structure",nameRequired:!0,nameFrom:["author"],presentationalChildren:!0,deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},insertion:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},link:{container:null,props:["aria-expanded"],reqProps:null,reqChildren:null,htmlEquiv:"a | link",roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],deprecatedProps:["aria-errormessage","aria-invalid"]},list:{container:null,props:null,reqProps:null,reqChildren:["listitem"],htmlEquiv:"ol | ul",roleType:"structure",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},listbox:{container:null,props:["aria-activedescendant","aria-expanded","aria-multiselectable","aria-orientation","aria-readonly","aria-required"],reqProps:null,reqChildren:["group","option"],htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-haspopup"]},listitem:{container:["list"],props:["aria-level","aria-posinset","aria-setsize"],reqProps:null,reqChildren:null,htmlEquiv:"li",roleType:"structure",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},log:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"liveRegion",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},main:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},mark:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:"mark",roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},marquee:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"liveRegion",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},math:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["author"],presentationalChildren:!1,deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},menu:{container:null,props:["aria-activedescendant","aria-orientation"],reqProps:null,reqChildren:["group","menuitem","menuitemcheckbox","menuitemradio"],htmlEquiv:null,roleType:"widget",nameRequired:!1,nameFrom:["author"],deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},menubar:{container:null,props:["aria-activedescendant","aria-orientation"],reqProps:null,reqChildren:["group","menuitem","menuitemcheckbox","menuitemradio"],htmlEquiv:null,roleType:"widget",nameRequired:!1,nameFrom:["author"],deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},menuitem:{container:["group","menu","menubar"],props:["aria-expanded","aria-posinset","aria-setsize"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],deprecatedProps:["aria-errormessage","aria-invalid"]},menuitemcheckbox:{container:["group","menu","menubar"],props:["aria-expanded","aria-posinset","aria-setsize"],reqProps:["aria-checked"],reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],presentationalChildren:!0,deprecatedProps:["aria-errormessage","aria-invalid"]},menuitemradio:{container:["group","menu","menubar"],props:["aria-expanded","aria-posinset","aria-setsize"],reqProps:["aria-checked"],reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],presentationalChildren:!0,deprecatedProps:["aria-errormessage","aria-invalid"]},meter:{container:null,props:["aria-valuemax","aria-valuemin","aria-valuetext"],reqProps:["aria-valuenow"],reqChildren:null,htmlEquiv:null,roleType:"structure",nameRequired:!0,nameFrom:["author"],presentationalChildren:!0,deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},navigation:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},none:{container:null,props:[],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},note:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},option:{container:["group","listbox"],props:["aria-selected","aria-checked","aria-posinset","aria-setsize"],reqProps:null,reqChildren:null,htmlEquiv:"option",roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],presentationalChildren:!0,deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},paragraph:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},presentation:{container:null,props:[],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},progressbar:{container:null,props:["aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author"],presentationalChildren:!0,deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},radio:{container:null,props:["aria-posinset","aria-setsize"],reqProps:["aria-checked"],reqChildren:null,htmlEquiv:"input[@type='radio']",roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],presentationalChildren:!0,deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},radiogroup:{container:null,props:["aria-activedescendant","aria-orientation","aria-readonly","aria-required"],reqProps:null,reqChildren:["radio"],htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-haspopup"]},region:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},row:{container:["grid","rowgroup","table","treegrid"],props:["aria-activedescendant","aria-colindex","aria-expanded","aria-level","aria-posinset","aria-rowindex","aria-selected","aria-setsize"],reqProps:null,reqChildren:["cell","columnheader","gridcell","rowheader"],htmlEquiv:"tr",roleType:"structure",nameFrom:["author","contents"],deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},rowgroup:{container:["grid","table","treegrid"],props:[],reqProps:null,reqChildren:["row"],htmlEquiv:"tbody | tfoot | thead",roleType:"structure",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},rowheader:{container:["row"],props:["aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected","aria-sort"],reqProps:null,reqChildren:null,htmlEquiv:"th[@scope='row']",roleType:"structure",nameRequired:!0,nameFrom:["author","contents"]},scrollbar:{container:null,props:["aria-orientation","aria-valuemax","aria-valuemin","aria-valuetext"],reqProps:["aria-controls","aria-valuenow"],reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!1,nameFrom:["author"],presentationalChildren:!0,deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},search:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},searchbox:{container:null,props:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],reqProps:null,reqChildren:null,htmlEquiv:"input[@type='search']",roleType:"widget",nameRequired:!0,nameFrom:["author"]},separator:{container:null,props:["aria-orientation"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["author"],presentationalChildren:!0,deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},slider:{container:null,props:["aria-orientation","aria-readonly","aria-valuemax","aria-valuemin","aria-valuetext"],reqProps:["aria-valuenow"],reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author"],presentationalChildren:!0},spinbutton:{container:null,props:["aria-activedescendant","aria-readonly","aria-required","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-haspopup"]},status:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"liveRegion",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},strong:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},subscript:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},suggestion:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},superscript:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},switch:{container:null,props:["aria-expanded","aria-readonly","aria-required"],reqProps:["aria-checked"],reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],presentationalChildren:!0,deprecatedProps:["aria-haspopup"]},tab:{container:["tablist"],props:["aria-expanded","aria-posinset","aria-selected","aria-setsize"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],presentationalChildren:!0,deprecatedProps:["aria-errormessage","aria-invalid"]},table:{container:null,props:["aria-colcount","aria-rowcount"],reqProps:null,reqChildren:["row","rowgroup","caption"],htmlEquiv:"table",roleType:"structure",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},tablist:{container:null,props:["aria-activedescendant","aria-multiselectable","aria-orientation"],reqProps:null,reqChildren:["tab"],htmlEquiv:null,roleType:"widget",nameRequired:!1,nameFrom:["author"],deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},tabpanel:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},term:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:"dfn",roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},textbox:{container:null,props:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],reqProps:null,reqChildren:null,htmlEquiv:"input[@type='text']",roleType:"widget",nameRequired:!0,nameFrom:["author"]},time:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},timer:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"liveRegion",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},toolbar:{container:null,props:["aria-activedescendant","aria-orientation"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["author"],deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},tooltip:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameRequired:!1,nameFrom:["author","contents"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},tree:{container:null,props:["aria-activedescendant","aria-multiselectable","aria-orientation","aria-required"],reqProps:null,reqChildren:["group","treeitem"],htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-haspopup"]},treegrid:{container:null,props:["aria-activedescendant","aria-colcount","aria-multiselectable","aria-orientation","aria-readonly","aria-required","aria-rowcount"],reqProps:null,reqChildren:["row","rowgroup"],htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-haspopup"]},treeitem:{container:["group","tree"],props:["aria-checked","aria-expanded","aria-level","aria-posinset","aria-selected","aria-setsize"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],deprecatedProps:["aria-errormessage","aria-invalid"]}},e.elementsAllowedDisabled=["button","input","select","textarea","optgroup","option","fieldset"],e.elementsAllowedRequired=["select","textarea"],e.elementsAllowedReadOnly=["textarea"],e.documentConformanceRequirement={abbr:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0,prohibitedAriaAttributesWhenNoImplicitRole:["aria-label","aria-labelledby"]},address:{implicitRole:["group"],validRoles:["any"],globalAriaAttributesValid:!0},article:{implicitRole:["article"],validRoles:["application","document","feed","main","none","presentation","region"],globalAriaAttributesValid:!0},aside:{implicitRole:["complementary"],validRoles:["doc-dedication","doc-example","doc-footnote","doc-glossary","doc-pullquote","doc-tip","feed","none","note","presentation","region","search"],globalAriaAttributesValid:!0},audio:{implicitRole:null,validRoles:["application"],globalAriaAttributesValid:!0},b:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},base:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},bdi:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},bdo:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},blockquote:{implicitRole:["blockquote"],validRoles:["any"],globalAriaAttributesValid:!0},body:{implicitRole:["generic"],validRoles:null,otherDisallowedAriaAttributes:["aria-hidden"],globalAriaAttributesValid:!0},br:{implicitRole:null,validRoles:["none","presentation"],globalAriaAttributesValid:!1,otherAllowedAriaAttributes:["aria-hidden"]},button:{implicitRole:["button"],validRoles:["checkbox","combobox","gridcell","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","separator","slider","switch","tab","treeitem"],globalAriaAttributesValid:!0},canvas:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0},caption:{implicitRole:["caption"],validRoles:null,globalAriaAttributesValid:!0,allowAttributesFromImplicitRole:!1},cite:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0,prohibitedAriaAttributesWhenNoImplicitRole:["aria-label","aria-labelledby"]},code:{implicitRole:["code"],validRoles:["any"],globalAriaAttributesValid:!0},col:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},colgroup:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},data:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},datalist:{implicitRole:["listbox"],validRoles:null,globalAriaAttributesValid:!1,allowAttributesFromImplicitRole:!1},dd:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0},del:{implicitRole:["deletion"],validRoles:["any"],globalAriaAttributesValid:!0},details:{implicitRole:["group"],validRoles:null,globalAriaAttributesValid:!0},dfn:{implicitRole:["term"],validRoles:["any"],globalAriaAttributesValid:!0},dialog:{implicitRole:["dialog"],validRoles:["alertdialog"],globalAriaAttributesValid:!0},dl:{implicitRole:null,validRoles:["group","list","none","presentation"],globalAriaAttributesValid:!0},dt:{implicitRole:["term"],validRoles:["listitem"],globalAriaAttributesValid:!0},em:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0},embed:{implicitRole:null,validRoles:["application","document","img","none","presentation"],globalAriaAttributesValid:!0},fieldset:{implicitRole:["group"],validRoles:["none","presentation","radiogroup"],globalAriaAttributesValid:!0},figcaption:{implicitRole:null,validRoles:["group","none","presentation"],globalAriaAttributesValid:!0,prohibitedAriaAttributesWhenNoImplicitRole:["aria-label","aria-labelledby"]},form:{implicitRole:["form"],validRoles:["none","presentation","search"],globalAriaAttributesValid:!0},head:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},hgroup:{implicitRole:["group"],validRoles:["any"],globalAriaAttributesValid:!0},h1:{implicitRole:["heading"],validRoles:["doc-subtitle","none","presentation","tab"],globalAriaAttributesValid:!0},h2:{implicitRole:["heading"],validRoles:["doc-subtitle","none","presentation","tab"],globalAriaAttributesValid:!0},h3:{implicitRole:["heading"],validRoles:["doc-subtitle","none","presentation","tab"],globalAriaAttributesValid:!0},h4:{implicitRole:["heading"],validRoles:["doc-subtitle","none","presentation","tab"],globalAriaAttributesValid:!0},h5:{implicitRole:["heading"],validRoles:["doc-subtitle","none","presentation","tab"],globalAriaAttributesValid:!0},h6:{implicitRole:["heading"],validRoles:["doc-subtitle","none","presentation","tab"],globalAriaAttributesValid:!0},hr:{implicitRole:["separator"],validRoles:["doc-pagebreak","none","presentation"],globalAriaAttributesValid:!0},html:{implicitRole:["document"],validRoles:null,globalAriaAttributesValid:!1,allowAttributesFromImplicitRole:!1},i:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},iframe:{implicitRole:null,validRoles:["application","document","img","none","presentation"],globalAriaAttributesValid:!0},ins:{implicitRole:["insertion"],validRoles:["any"],globalAriaAttributesValid:!0},kbd:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0,prohibitedAriaAttributesWhenNoImplicitRole:["aria-label","aria-labelledby"]},label:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0,prohibitedAriaAttributesWhenNoImplicitRole:["aria-label","aria-labelledby"]},legend:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0,prohibitedAriaAttributesWhenNoImplicitRole:["aria-label","aria-labelledby"]},link:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},main:{implicitRole:["main"],validRoles:null,globalAriaAttributesValid:!0},map:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},mark:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0,prohibitedAriaAttributesWhenNoImplicitRole:["aria-label","aria-labelledby"]},math:{implicitRole:["math"],validRoles:null,globalAriaAttributesValid:!0},menu:{implicitRole:["list"],validRoles:["group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"],globalAriaAttributesValid:!0},meta:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},meter:{implicitRole:["meter"],validRoles:null,globalAriaAttributesValid:!0,otherDisallowedAriaAttributes:["aria-valuemax","aria-valuemin"],allowAttributesFromImplicitRole:!1},nav:{implicitRole:["navigation"],validRoles:["doc-index","doc-pagelist","doc-toc","menu","menubar","tablist","none","presentation"],globalAriaAttributesValid:!0},noscript:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},object:{implicitRole:null,validRoles:["application","document","img"],globalAriaAttributesValid:!0},ol:{implicitRole:["list"],validRoles:["group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"],globalAriaAttributesValid:!0},optgroup:{implicitRole:["group"],validRoles:null,globalAriaAttributesValid:!0},option:{implicitRole:["option"],validRoles:null,globalAriaAttributesValid:!0,otherDisallowedAriaAttributes:["aria-selected"]},output:{implicitRole:["status"],validRoles:["any"],globalAriaAttributesValid:!0},p:{implicitRole:["paragraph"],validRoles:["any"],globalAriaAttributesValid:!0},param:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},picture:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1,otherAllowedAriaAttributes:["aria-hidden"]},pre:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},progress:{implicitRole:["progressbar"],validRoles:null,globalAriaAttributesValid:!0,otherDisallowedAriaAttributes:["aria-valuemax"]},q:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},rp:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0},rt:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0,prohibitedAriaAttributesWhenNoImplicitRole:["aria-label","aria-labelledby"]},ruby:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0},s:{implicitRole:["deletion"],validRoles:["any"],globalAriaAttributesValid:!0,otherDisallowedAriaAttributes:["aria-label","aria-labelledby"]},samp:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},script:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},search:{implicitRole:["search"],validRoles:["search","form","group","none","presentation","region"],globalAriaAttributesValid:!0},slot:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},small:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},source:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},span:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},strong:{implicitRole:["strong"],validRoles:["any"],globalAriaAttributesValid:!0},style:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},sub:{implicitRole:["subscript"],validRoles:["any"],globalAriaAttributesValid:!0},sup:{implicitRole:["superscript"],validRoles:["any"],globalAriaAttributesValid:!0},svg:{implicitRole:["graphics-document"],validRoles:["any"],globalAriaAttributesValid:!0},table:{implicitRole:["table"],validRoles:["any"],globalAriaAttributesValid:!0},template:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},textarea:{implicitRole:["textbox"],validRoles:null,globalAriaAttributesValid:!0},tfoot:{implicitRole:["rowgroup"],validRoles:["any"],globalAriaAttributesValid:!0},thead:{implicitRole:["rowgroup"],validRoles:["any"],globalAriaAttributesValid:!0},time:{implicitRole:["time"],validRoles:["any"],globalAriaAttributesValid:!0},title:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},track:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},u:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},ul:{implicitRole:["list"],validRoles:["group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"],globalAriaAttributesValid:!0},var:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0,prohibitedAriaAttributesWhenNoImplicitRole:["aria-label","aria-labelledby"]},video:{implicitRole:null,validRoles:["application"],globalAriaAttributesValid:!0},wbr:{implicitRole:null,validRoles:["none","presentation"],globalAriaAttributesValid:!1,otherAllowedAriaAttributes:["aria-hidden"]}},e.documentConformanceRequirementSpecialTags={a:{"with-href":{implicitRole:["link"],validRoles:["button","checkbox","doc-backlink","doc-biblioref","doc-glossref","doc-noteref","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab","treeitem"],globalAriaAttributesValid:!0,otherDisallowedAriaAttributes:["aria-disabled=true"]},"without-href":{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0}},area:{"with-href":{implicitRole:["link"],validRoles:null,globalAriaAttributesValid:!0},"without-href":{implicitRole:["generic"],validRoles:["button","link"],globalAriaAttributesValid:!0}},div:{"child-dl":{implicitRole:["generic"],validRoles:["presentation","none"],globalAriaAttributesValid:!0},"no-child-dl":{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0}},figure:{"child-figcaption":{implicitRole:["figure"],validRoles:["doc-example"],globalAriaAttributesValid:!0},"no-child-figcaption":{implicitRole:["figure"],validRoles:["any"],globalAriaAttributesValid:!0}},footer:{"des-section-article-aside-main-nav":{implicitRole:["generic"],validRoles:["doc-footnote","group","none","presentation"],globalAriaAttributesValid:!0},other:{implicitRole:["contentinfo"],validRoles:["doc-footnote","group","none","presentation"],globalAriaAttributesValid:!0}},header:{"des-section-article-aside-main-nav":{implicitRole:["generic"],validRoles:["group","none","presentation"],globalAriaAttributesValid:!0},other:{implicitRole:["banner"],validRoles:["group","none","presentation"],globalAriaAttributesValid:!0}},img:{"img-with-accname":{implicitRole:["img"],validRoles:["button","checkbox","doc-cover","link","menuitem","menuitemcheckbox","menuitemradio","meter","option","progressbar","radio","scrollbar","separator","slider","switch","tab","treeitem"],globalAriaAttributesValid:!0},"img-without-accname-empty-alt":{implicitRole:["presentation","none"],validRoles:null,globalAriaAttributesValid:!1,otherAllowedAriaAttributes:["aria-hidden=true"]},"img-without-accname-no-alt":{implicitRole:["img"],validRoles:["presentation","none"],globalAriaAttributesValid:!1,otherAllowedAriaAttributes:["aria-hidden=true"]}},input:{button:{implicitRole:["button"],validRoles:["checkbox","combobox","gridcell","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","slider","switch","tab","treeitem"],globalAriaAttributesValid:!0},"checkbox-with-aria-pressed":{implicitRole:["checkbox"],validRoles:["menuitemcheckbox","option","switch","button"],globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-required"],otherDisallowedAriaAttributes:["aria-checked"]},"checkbox-without-aria-pressed":{implicitRole:["checkbox"],validRoles:["menuitemcheckbox","option","switch"],globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-required"],otherDisallowedAriaAttributes:["aria-checked"]},color:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0},date:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-required","aria-readonly"],otherRolesForAttributes:["textbox"]},"datetime-local":{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-required","aria-readonly"],otherRolesForAttributes:["textbox"]},"email-no-list":{implicitRole:["textbox"],validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-placeholder","aria-required","aria-readonly"],otherRolesForAttributes:["textbox"]},"email-with-list":{implicitRole:["combobox"],validRoles:null,globalAriaAttributesValid:!0},file:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-required"]},hidden:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},image:{implicitRole:["button"],validRoles:["checkbox","gridcell","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","slider","switch","tab","treeitem"],globalAriaAttributesValid:!0},month:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-readonly"],otherRolesForAttributes:["textbox"]},number:{implicitRole:["spinbutton"],validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-placeholder","aria-required","aria-readonly"]},password:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-placeholder","aria-required","aria-readonly"],otherRolesForAttributes:["textbox"]},radio:{implicitRole:["radio"],validRoles:["menuitemradio"],globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-required"],otherDisallowedAriaAttributes:["aria-checked"]},range:{implicitRole:["slider"],validRoles:null,globalAriaAttributesValid:!0,otherDisallowedAriaAttributes:["aria-valuemax","aria-valuemin"]},reset:{implicitRole:["button"],validRoles:["checkbox","combobox","gridcell","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","slider","switch","tab","treeitem"],globalAriaAttributesValid:!0},"search-no-list":{implicitRole:["searchbox"],validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-placeholder","aria-required","aria-readonly"]},"search-with-list":{implicitRole:["combobox"],validRoles:null,globalAriaAttributesValid:!0},submit:{implicitRole:["button"],validRoles:["checkbox","combobox","gridcell","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","slider","switch","tab","treeitem"],globalAriaAttributesValid:!0},"tel-no-list":{implicitRole:["textbox"],validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-placeholder","aria-required","aria-readonly"]},"tel-with-list":{implicitRole:["combobox"],validRoles:null,globalAriaAttributesValid:!0},"text-no-list":{implicitRole:["textbox"],validRoles:["combobox","searchbox","spinbutton"],globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-placeholder","aria-required","aria-readonly"]},"text-with-list":{implicitRole:["combobox"],validRoles:null,globalAriaAttributesValid:!0},time:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-readonly"],otherRolesForAttributes:["textbox"]},"url-no-list":{implicitRole:["textbox"],validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-placeholder","aria-required","aria-readonly"]},"url-with-list":{implicitRole:["combobox"],validRoles:null,globalAriaAttributesValid:!0},week:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-readonly"],otherRolesForAttributes:["textbox"]},"default-with-list":{implicitRole:["combobox"],validRoles:null,globalAriaAttributesValid:!0},"default-no-list":{implicitRole:["textbox"],validRoles:null,globalAriaAttributesValid:!0}},li:{"child-of-list-role":{implicitRole:["listitem"],validRoles:null,globalAriaAttributesValid:!0},"no-child-of-list-role":{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0}},section:{"with-name":{implicitRole:["region"],validRoles:["alert","alertdialog","application","banner","complementary","contentinfo","dialog","doc-abstract","doc-acknowledgments","doc-afterword","doc-appendix","doc-bibliography","doc-chapter","doc-colophon","doc-conclusion","doc-credit","doc-credits","doc-dedication","doc-endnotes","doc-epigraph","doc-epilogue","doc-errata","doc-example","doc-foreword","doc-glossary","doc-index","doc-introduction","doc-notice","doc-pagelist","doc-part","doc-preface","doc-prologue","doc-pullquote","doc-qna","doc-toc","document","feed","group","log","main","marquee","navigation","none","note","presentation","search","status","tabpanel"],globalAriaAttributesValid:!0},"without-name":{implicitRole:null,validRoles:["alert","alertdialog","application","banner","complementary","contentinfo","dialog","doc-abstract","doc-acknowledgments","doc-afterword","doc-appendix","doc-bibliography","doc-chapter","doc-colophon","doc-conclusion","doc-credit","doc-credits","doc-dedication","doc-endnotes","doc-epigraph","doc-epilogue","doc-errata","doc-example","doc-foreword","doc-glossary","doc-index","doc-introduction","doc-notice","doc-pagelist","doc-part","doc-preface","doc-prologue","doc-pullquote","doc-qna","doc-toc","document","feed","group","log","main","marquee","navigation","none","note","presentation","search","status","tabpanel"],globalAriaAttributesValid:!0}},select:{"no-multiple-attr-size-gt1":{implicitRole:["combobox"],validRoles:["menu"],globalAriaAttributesValid:!0,otherDisallowedAriaAttributes:["aria-multiselectable"]},"multiple-attr-size-gt1":{implicitRole:["listbox"],validRoles:null,globalAriaAttributesValid:!0,otherDisallowedAriaAttributes:["aria-multiselectable"]}},summary:{"first-summary-of-detail":{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-disabled","aria-haspopup"]},"no-first-summary-of-detail":{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0}},tbody:{"des-table":{implicitRole:["rowgroup"],validRoles:["any"],globalAriaAttributesValid:!0},"des-grid":{implicitRole:["rowgroup"],validRoles:["any"],globalAriaAttributesValid:!0},"des-treegrid":{implicitRole:["rowgroup"],validRoles:["any"],globalAriaAttributesValid:!0},"des-other":{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0}},td:{"des-table":{implicitRole:["cell"],validRoles:null,globalAriaAttributesValid:!0},"des-grid":{implicitRole:["gridcell"],validRoles:null,globalAriaAttributesValid:!0},"des-treegrid":{implicitRole:["gridcell"],validRoles:null,globalAriaAttributesValid:!0},"des-other":{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0}},th:{"des-table-grid-treegrid-row-scope":{implicitRole:["rowheader","cell"],validRoles:null,globalAriaAttributesValid:!0},"des-table-grid-treegrid-column-scope":{implicitRole:["columnheader","cell"],validRoles:null,globalAriaAttributesValid:!0},"des-other":{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0}},tr:{"des-table":{implicitRole:["row"],validRoles:null,globalAriaAttributesValid:!0},"des-grid":{implicitRole:["row"],validRoles:null,globalAriaAttributesValid:!0},"des-treegrid":{implicitRole:["row"],validRoles:null,globalAriaAttributesValid:!0},"des-other":{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0}},default:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0}},e.relatedAriaHtmlAttributes={"aria-checked":{conflict:[{ariaAttributeValue:"false",htmlAttributeNames:["checked"],htmlAttributeValues:null}],overlapping:[{ariaAttributeValue:"true",htmlAttributeNames:["checked"],htmlAttributeValues:null}]},"aria-disabled":{conflict:[{ariaAttributeValue:"false",htmlAttributeNames:["disabled"],htmlAttributeValues:null}],overlapping:[{ariaAttributeValue:"true",htmlAttributeNames:["disabled"],htmlAttributeValues:null}]},"aria-hidden":{conflict:[{ariaAttributeValue:"false",htmlAttributeNames:["hidden"],htmlAttributeValues:["hidden,null"]},{ariaAttributeValue:"true",htmlAttributeNames:["hidden"],htmlAttributeValues:["until-found"]}],overlapping:[{ariaAttributeValue:"true",htmlAttributeNames:["hidden"],htmlAttributeValues:["hidden,null"]}]},"aria-placeholder":{conflict:[{ariaAttributeValue:null,htmlAttributeNames:["placeholder"],htmlAttributeValues:null}]},"aria-valuemax":{conflict:[{ariaAttributeValue:null,htmlAttributeNames:["max"],htmlAttributeValues:null}]},"aria-valuemin":{conflict:[{ariaAttributeValue:null,htmlAttributeNames:["min"],htmlAttributeValues:null}]},"aria-readonly":{conflict:[{ariaAttributeValue:"false",htmlAttributeNames:["readonly","contenteditable","iscontenteditable"],htmlAttributeValues:[null,"false","false"]}],overlapping:[{ariaAttributeValue:"true",htmlAttributeNames:["readonly","contenteditable","iscontenteditable"],htmlAttributeValues:[null,"true","true"]}]},"aria-required":{conflict:[{ariaAttributeValue:"false",htmlAttributeNames:["required"],htmlAttributeValues:null}],overlapping:[{ariaAttributeValue:"true",htmlAttributeNames:["required"],htmlAttributeValues:null}]},"aria-colspan":{conflict:[{ariaAttributeValue:"VALUE",htmlAttributeNames:["colspan"],htmlAttributeValues:["VALUE"]}],overlapping:[{ariaAttributeValue:null,htmlAttributeNames:["colspan"],htmlAttributeValues:null}]},"aria-rowspan":{conflict:[{ariaAttributeValue:"VALUE",htmlAttributeNames:["rowspan"],htmlAttributeValues:["VALUE"]}],overlapping:[{ariaAttributeValue:null,htmlAttributeNames:["rowspan"],htmlAttributeValues:null}]}},e.containers=[],e}();t.ARIADefinitions=i;var a=[];for(var l in i.designPatterns){var n=i.designPatterns[l].container;if(null!==n)for(var r=0,o=n;r<o.length;r++){var s=o[r];-1==a.indexOf(s)&&a.push(s)}}i.containers=a},4944:function(e,t,i){var a,l=this&&this.__extends||(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},a(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.ARIAMapper=void 0;var n=i(8235),r=i(1794),o=i(295),s=i(8137),u=i(490),d=i(482),c=i(8015),m=i(7788),p=i(7440),h=i(1421),_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.childrenCanHaveRole=function(e,t){return!(t in n.ARIADefinitions.designPatterns&&n.ARIADefinitions.designPatterns[t].presentationalChildren)},t.prototype.getRole=function(e){return t.nodeToRole(e)},t.prototype.getNamespace=function(){return"aria"},t.prototype.getAttributes=function(e){var i={};if(1===e.nodeType){for(var a=e,l=0;l<a.attributes.length;++l){var n=a.attributes[l],r=n.name.toLowerCase();r.startsWith("aria-")&&(i[r.substring(5)]=n.nodeValue)}var o=function(e){if(e in t.elemAttrValueCalculators)for(var l in t.elemAttrValueCalculators[e])if(!(l in i)){var n=t.elemAttrValueCalculators[e][l];null!=n&&("string"!=typeof n&&(n=n(a)),i[l]=n)}};o("global"),o(e.nodeName.toLowerCase())}else if(3===e.nodeType)for(var s in t.textAttrValueCalculators){var u=t.textAttrValueCalculators[s](e);null!=u&&(i[s]=u)}return i},t.getAriaOwnedBy=function(e){var t=d.FragmentUtil.getOwnerFragment(e);if(!m.CacheUtil.getCache(t,"ARIAMapper::precalcOwned",!1)){for(var i=t.querySelectorAll("[aria-owns]"),a=0;a<i.length;++a)for(var l=i[a],n=l.getAttribute("aria-owns").split(/ +/g),r=0;r<n.length;++r){var s=t.getElementById(n[r]);s&&!o.DOMUtil.sameNode(l,s)&&m.CacheUtil.setCache(s,"aria-owned",l)}m.CacheUtil.setCache(t,"ARIAMapper::precalcOwned",!0)}return m.CacheUtil.getCache(e,"aria-owned",null)},t.prototype.getNodeHierarchy=function(e){if(!e)return[];if(1!==e.nodeType){for(var i=(s=this.getNodeHierarchy(p.DOMWalker.parentElement(e))).length>0?s[s.length-1]:{role:"",rolePath:"",roleCount:{},childrenCanHaveRole:!0},a=[],l=0,n=s;l<n.length;l++){var r=n[l];a.push(r)}return a.push({attributes:{},bounds:this.getBounds(e),namespace:this.getNamespace(),node:e,role:this.getRole(e)||"none",rolePath:i.rolePath+"/"+(this.getRole(e)||"none"),roleCount:{},childrenCanHaveRole:i.childrenCanHaveRole}),a}var o=e;if(!(a=m.CacheUtil.getCache(o,"ARIAMapper::getNodeHierarchy",null))){var s,u=t.getAriaOwnedBy(o);for(u||(u=p.DOMWalker.parentElement(o));u&&1!==u.nodeType;)u=p.DOMWalker.parentElement(o);for(i=(s=u?this.getNodeHierarchy(u):[]).length>0?s[s.length-1]:{role:"",rolePath:"",roleCount:{},childrenCanHaveRole:!0};"none"===i.role||"/none"===i.role;)i=(s=(u=t.getAriaOwnedBy(u)||p.DOMWalker.parentElement(u))?this.getNodeHierarchy(u):[])[s.length-1];var d={attributes:1===o.nodeType?this.getAttributes(o):{},bounds:this.getBounds(o),namespace:this.getNamespace(),node:o,role:this.getRole(o)||"none",rolePath:"",roleCount:{},childrenCanHaveRole:!0};i.childrenCanHaveRole?d.childrenCanHaveRole=i.childrenCanHaveRole&&this.childrenCanHaveRole(o,d.role):d.role="none","none"!==d.role?(i.roleCount[d.role]=(i.roleCount[d.role]||0)+1,d.rolePath=i.rolePath+"/"+d.role+"["+i.roleCount[d.role]+"]"):d.rolePath=i.rolePath,a=[];for(var c=0,h=s;c<h.length;c++)r=h[c],a.push(r);a.push(d),m.CacheUtil.setCache(o,"ARIAMapper::getNodeHierarchy",a)}return a},t.prototype.reset=function(e){t.nameComputationId=0,this.hierarchyRole=[],this.hierarchyResults=[],this.hierarchyPath=[{rolePath:"",roleCount:{}}];for(var i,a=e;i=p.DOMWalker.parentNode(a);)a=i;var l=new c.ARIAWalker(a,!1,a);do{1===l.node.nodeType&&this.getNodeHierarchy(l.node)}while(l.nextNode())},t.prototype.openScope=function(e){null===this.hierarchyRole&&this.reset(e),this.pushHierarchy(e);for(var t=0;t<this.hierarchyResults.length;++t)"/"===this.hierarchyResults[t].role[0]&&(this.hierarchyResults[t].role=this.hierarchyResults[t].role.substring(1));return this.hierarchyResults},t.prototype.pushHierarchy=function(e){var t,i=(t=this.getNodeHierarchy(e))[t.length-1];this.hierarchyRole.push(i.role),"none"!==i.role&&this.hierarchyPath.push(i),this.hierarchyResults=t},t.prototype.closeScope=function(e){for(var t=[],i=0,a=this.hierarchyResults;i<a.length;i++){var l=a[i];t.push(l)}if(t.length>0){t[t.length-1].role="/"+t[t.length-1].role;var n=p.DOMWalker.parentElement(e);this.hierarchyResults=n?m.CacheUtil.getCache(n,"ARIAMapper::getNodeInfo",[]):[]}return t},t.nodeToRole=function(e){if(3===e.nodeType)return"text";if(1!==e.nodeType)return null;var t=e;if(!t||1!==t.nodeType)return null;if(t.hasAttribute("role")&&t.getAttribute("role").trim().length>0)for(var i=0,a=t.getAttribute("role").trim().split(" ");i<a.length;i++){var l=a[i];if("presentation"===l||"none"===l){if(!s.CommonUtil.isFocusable(t))return null}else if(l in n.ARIADefinitions.designPatterns)return l}var r=u.AriaUtil.getImplicitRole(t),o=r&&0!==r.length?r[0]:null;return"presentation"===o||"none"===o?null:o},t.elemAttrValueCalculators={global:{name:h.AccNameUtil.computeAccessibleName},datalist:{multiselectable:function(e){var t=e.getAttribute("id");return t&&t.length>0?(e.ownerDocument.querySelector("input[list='"+t+"']"),""+(e.getAttribute("multiple")&&("true"==e.getAttribute("multiple")||""==e.getAttribute("multiple")))):null}},h1:{level:"1"},h2:{level:"2"},h3:{level:"3"},h4:{level:"4"},h5:{level:"5"},h6:{level:"6"},input:{checked:function(e){return"checkbox"===e.getAttribute("type")||"radio"===e.getAttribute("type")?""+e.checked:null},setsize:function(e){return null},posinset:function(e){return null},owns:function(e){return null}},keygen:{multiselectable:"false"},li:{setsize:function(e){var t=o.DOMUtil.getAncestor(e,["ol","ul","menu"]);if(!t)return null;var i=t.querySelectorAll("li"),a=t.querySelectorAll("ol li, ul li, menu li");return""+(i.length-a.length)},posinset:function(e){var t=o.DOMUtil.getAncestor(e,["ol","ul","menu"]);if(!t)return null;for(var i=t.querySelectorAll("li"),a=0,l=0;l<i.length;++l){var n=i[l];if(o.DOMUtil.sameNode(t,o.DOMUtil.getAncestor(n,["ol","ul","menu"])))return""+a;++a}return null}},menuitem:{checked:function(e){return""+!(!e.getAttribute("checked")||"true"!=e.getAttribute("checked")&&""!=e.getAttribute("checked"))}},option:{selected:function(e){return""+!(!e.getAttribute("selected")||"true"!=e.getAttribute("selected")&&""!=e.getAttribute("selected"))}},progress:{valuemax:function(e){return e.getAttribute("max")||"1"},valuemin:function(e){return"0"},valuenow:function(e){return e.getAttribute("value")}}},t.textAttrValueCalculators={name:function(e){return e.nodeValue}},t.nameComputationId=0,t}(r.CommonMapper);t.ARIAMapper=_},8015:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ARIAWalker=void 0;var a=i(482),l=i(4944),n=i(8656),r=i(7440),o=function(){function e(e,t,i){this.root=i||e,9===this.root.nodeType&&(this.root=this.root.documentElement),this.node=e,this.bEndTag=null!=t&&1==t}return e.prototype.atRoot=function(){return!this.ownerElement&&(this.root===this.node||(this.root.isSameNode?this.root.isSameNode(this.node):this.root.compareDocumentPosition?0===this.root.compareDocumentPosition(this.node):null===this.node.parentNode))},e.prototype.nextNode=function(){var e=!1;do{if(e=!1,this.bEndTag){if(this.atRoot())return!1;if(this.node.slotOwner){var t=this.node.slotOwner,i=this.node.slotIndex+1;i<t.assignedNodes().length?(this.node=t.assignedNodes()[i],this.bEndTag=!1):(this.node=t,this.bEndTag=!0)}else if(this.node.ownerElement)this.node=this.node.ownerElement,this.bEndTag=!0;else if(r.DOMWalker.nextSiblingNotOwnedBySlot(this.node))this.node=r.DOMWalker.nextSiblingNotOwnedBySlot(this.node),this.bEndTag=!1,e=!0;else{if(!this.node.parentNode)return!1;if(1===this.node.parentNode.nodeType&&this.node.parentNode.hasAttribute("aria-owns")){var o=this.node.parentNode.getAttribute("aria-owns").split(/ +/g);if(1===this.node.nodeType&&this.node.hasAttribute("id")){var s=o.indexOf(this.node.getAttribute("id"));s===o.length-1?(this.node=this.node.parentNode,this.bEndTag=!0):(this.node=a.FragmentUtil.getOwnerFragment(this.node).getElementById(o[s+1]),this.bEndTag=!1)}else this.node=a.FragmentUtil.getOwnerFragment(this.node).getElementById(o[0]),this.bEndTag=!1}this.node=this.node.parentNode,this.bEndTag=!0}}else{var u=this.node,d=this.node,c=this.node;if(1===this.node.nodeType&&"IFRAME"===this.node.nodeName.toUpperCase()&&n.VisUtil.isNodeVisible(u)&&u.contentDocument&&u.contentDocument.documentElement){var m=this.node;this.node=u.contentDocument.documentElement,this.node.ownerElement=m}else 1===this.node.nodeType&&n.VisUtil.isNodeVisible(d)&&d.shadowRoot&&d.shadowRoot.firstChild?(m=this.node,this.node=d.shadowRoot,this.node.ownerElement=m,r.DOMWalker.assignSlots(this.node)):1===this.node.nodeType&&"slot"===d.nodeName.toLowerCase()&&c.assignedNodes().length>0?this.node=c.assignedNodes()[0]:1!==this.node.nodeType&&11!==this.node.nodeType||!r.DOMWalker.firstChildNotOwnedBySlot(this.node)?this.bEndTag=!0:this.node=r.DOMWalker.firstChildNotOwnedBySlot(this.node)}}while(1!==this.node.nodeType&&11!==this.node.nodeType&&3!==this.node.nodeType||1===this.node.nodeType&&"ACE"===this.node.getAttribute("aChecker")||e&&1===this.node.nodeType&&l.ARIAMapper.getAriaOwnedBy(this.node));return!0},e.prototype.prevNode=function(){var e=!1;do{if(e=!1,this.bEndTag){var t=this.node,i=this.node;if(1===this.node.nodeType&&"IFRAME"===this.node.nodeName.toUpperCase()&&n.VisUtil.isNodeVisible(t)&&t.contentDocument&&t.contentDocument.documentElement){var o=this.node;this.node=t.contentDocument.documentElement,this.node.ownerElement=o}else 1===this.node.nodeType&&n.VisUtil.isNodeVisible(i)&&i.shadowRoot&&i.shadowRoot.lastChild?(o=this.node,this.node=i.shadowRoot,this.node.ownerElement=o,r.DOMWalker.assignSlots(this.node)):1!==this.node.nodeType&&11!==this.node.nodeType||!r.DOMWalker.lastChildNotOwnedBySlot(this.node)?this.bEndTag=!1:this.node=r.DOMWalker.lastChildNotOwnedBySlot(this.node)}else{if(this.atRoot())return!1;if(r.DOMWalker.previousSiblingNotOwnedBySlot(this.node))this.node=r.DOMWalker.previousSiblingNotOwnedBySlot(this.node),this.bEndTag=!0;else if(this.node.ownerElement)this.node=this.node.ownerElement,this.bEndTag=!1,e=!0;else{if(!this.node.parentNode)return!1;if(1===this.node.parentNode.nodeType&&this.node.parentNode.hasAttribute("aria-owns")){var s=this.node.parentNode.getAttribute("aria-owns").split(/ +/g);if(1===this.node.nodeType&&this.node.hasAttribute("id")){var u=s.indexOf(this.node.getAttribute("id"));u===s.length-1?(this.node=this.node.parentNode,this.bEndTag=!0):(this.node=a.FragmentUtil.getOwnerFragment(this.node).getElementById(s[u+1]),this.bEndTag=!1)}else this.node=a.FragmentUtil.getOwnerFragment(this.node).getElementById(s[0]),this.bEndTag=!1}this.node=this.node.parentNode,this.bEndTag=!1}}}while(1!==this.node.nodeType&&11!==this.node.nodeType||1===this.node.nodeType&&"ACE"===this.node.getAttribute("aChecker")||e&&1===this.node.nodeType&&l.ARIAMapper.getAriaOwnedBy(this.node));return!0},e}();t.ARIAWalker=o},9193:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AncestorUtil=void 0;var i=function(){function e(){}return e.isPresentationFrame=function(e){if(e&&e.dom)for(var t=e.dom.length-2;t>=0;--t){var i=e.dom[t].node;if(1===i.nodeType&&"iframe"===i.nodeName.toLowerCase()&&("presentation"===i.getAttribute("role")||"true"===i.getAttribute("aria-hidden")))return!0}return!1},e.isFrame=function(e){if(e&&e.dom)for(var t=e.dom.length-2;t>=0;--t){var i=e.dom[t].node;if(1===i.nodeType&&"iframe"===i.nodeName.toLowerCase())return!0}return!1},e}();t.AncestorUtil=i},482:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FragmentUtil=void 0;var i=function(){function e(){}return e.getOwnerFragment=function(e){for(var t=e;t.parentNode&&(t=t.parentNode);)if(11===t.nodeType)return t;return e.ownerDocument},e.getById=function(e,t){return this.getOwnerFragment(e).getElementById(t)},e.getAncestor=function(e,t){var i=e.dom.filter((function(e){return e.role===t}));return i.length>0&&i[0].node||null},e.getAncestorWithRole=function(e,t){var i=e.aria.filter((function(e){return e.role===t}));return i.length>0&&i[0].node||null},e}();t.FragmentUtil=i},2527:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LangUtil=void 0;var i=[["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","aaa","aab","aac","aad","aae","aaf","aag","aah","aai","aak","aal","aam","aan","aao","aap","aaq","aas","aat","aau","aav","aaw","aax","aaz","aba","abb","abc","abd","abe","abf","abg","abh","abi","abj","abl","abm","abn","abo","abp","abq","abr","abs","abt","abu","abv","abw","abx","aby","abz","aca","acb","acd","ace","acf","ach","aci","ack","acl","acm","acn","acp","acq","acr","acs","act","acu","acv","acw","acx","acy","acz","ada","adb","add","ade","adf","adg","adh","adi","adj","adl","adn","ado","adp","adq","adr","ads","adt","adu","adw","adx","ady","adz","aea","aeb","aec","aed","aee","aek","ael","aem","aen","aeq","aer","aes","aeu","aew","aey","aez","afa","afb","afd","afe","afg","afh","afi","afk","afn","afo","afp","afs","aft","afu","afz","aga","agb","agc","agd","age","agf","agg","agh","agi","agj","agk","agl","agm","agn","ago","agp","agq","agr","ags","agt","agu","agv","agw","agx","agy","agz","aha","ahb","ahg","ahh","ahi","ahk","ahl","ahm","ahn","aho","ahp","ahr","ahs","aht","aia","aib","aic","aid","aie","aif","aig","aih","aii","aij","aik","ail","aim","ain","aio","aip","aiq","air","ais","ait","aiw","aix","aiy","aja","ajg","aji","ajn","ajp","ajt","aju","ajw","ajz","akb","akc","akd","ake","akf","akg","akh","aki","akj","akk","akl","akm","ako","akp","akq","akr","aks","akt","aku","akv","akw","akx","aky","akz","ala","alc","ald","ale","alf","alg","alh","ali","alj","alk","all","alm","aln","alo","alp","alq","alr","als","alt","alu","alv","alw","alx","aly","alz","ama","amb","amc","ame","amf","amg","ami","amj","amk","aml","amm","amn","amo","amp","amq","amr","ams","amt","amu","amv","amw","amx","amy","amz","ana","anb","anc","and","ane","anf","ang","anh","ani","anj","ank","anl","anm","ann","ano","anp","anq","anr","ans","ant","anu","anv","anw","anx","any","anz","aoa","aob","aoc","aod","aoe","aof","aog","aoh","aoi","aoj","aok","aol","aom","aon","aor","aos","aot","aou","aox","aoz","apa","apb","apc","apd","ape","apf","apg","aph","api","apj","apk","apl","apm","apn","apo","app","apq","apr","aps","apt","apu","apv","apw","apx","apy","apz","aqa","aqc","aqd","aqg","aqk","aql","aqm","aqn","aqp","aqr","aqt","aqz","arb","arc","ard","are","arh","ari","arj","ark","arl","arn","aro","arp","arq","arr","ars","art","aru","arv","arw","arx","ary","arz","asa","asb","asc","asd","ase","asf","asg","ash","asi","asj","ask","asl","asn","aso","asp","asq","asr","ass","ast","asu","asv","asw","asx","asy","asz","ata","atb","atc","atd","ate","atg","ath","ati","atj","atk","atl","atm","atn","ato","atp","atq","atr","ats","att","atu","atv","atw","atx","aty","atz","aua","aub","auc","aud","aue","auf","aug","auh","aui","auj","auk","aul","aum","aun","auo","aup","auq","aur","aus","aut","auu","auw","aux","auy","auz","avb","avd","avi","avk","avl","avm","avn","avo","avs","avt","avu","avv","awa","awb","awc","awd","awe","awg","awh","awi","awk","awm","awn","awo","awr","aws","awt","awu","awv","aww","awx","awy","axb","axe","axg","axk","axl","axm","axx","aya","ayb","ayc","ayd","aye","ayg","ayh","ayi","ayk","ayl","ayn","ayo","ayp","ayq","ayr","ays","ayt","ayu","ayx","ayy","ayz","aza","azb","azc","azd","azg","azj","azm","azn","azo","azt","azz"],["ba","be","bg","bh","bi","bm","bn","bo","br","bs","baa","bab","bac","bad","bae","baf","bag","bah","bai","baj","bal","ban","bao","bap","bar","bas","bat","bau","bav","baw","bax","bay","baz","bba","bbb","bbc","bbd","bbe","bbf","bbg","bbh","bbi","bbj","bbk","bbl","bbm","bbn","bbo","bbp","bbq","bbr","bbs","bbt","bbu","bbv","bbw","bbx","bby","bbz","bca","bcb","bcc","bcd","bce","bcf","bcg","bch","bci","bcj","bck","bcl","bcm","bcn","bco","bcp","bcq","bcr","bcs","bct","bcu","bcv","bcw","bcy","bcz","bda","bdb","bdc","bdd","bde","bdf","bdg","bdh","bdi","bdj","bdk","bdl","bdm","bdn","bdo","bdp","bdq","bdr","bds","bdt","bdu","bdv","bdw","bdx","bdy","bdz","bea","beb","bec","bed","bee","bef","beg","beh","bei","bej","bek","bem","beo","bep","beq","ber","bes","bet","beu","bev","bew","bex","bey","bez","bfa","bfb","bfc","bfd","bfe","bff","bfg","bfh","bfi","bfj","bfk","bfl","bfm","bfn","bfo","bfp","bfq","bfr","bfs","bft","bfu","bfw","bfx","bfy","bfz","bga","bgb","bgc","bgd","bge","bgf","bgg","bgi","bgj","bgk","bgl","bgm","bgn","bgo","bgp","bgq","bgr","bgs","bgt","bgu","bgv","bgw","bgx","bgy","bgz","bha","bhb","bhc","bhd","bhe","bhf","bhg","bhh","bhi","bhj","bhk","bhl","bhm","bhn","bho","bhp","bhq","bhr","bhs","bht","bhu","bhv","bhw","bhx","bhy","bhz","bia","bib","bic","bid","bie","bif","big","bij","bik","bil","bim","bin","bio","bip","biq","bir","bit","biu","biv","biw","bix","biy","biz","bja","bjb","bjc","bjd","bje","bjf","bjg","bjh","bji","bjj","bjk","bjl","bjm","bjn","bjo","bjp","bjq","bjr","bjs","bjt","bju","bjv","bjw","bjx","bjy","bjz","bka","bkb","bkc","bkd","bkf","bkg","bkh","bki","bkj","bkk","bkl","bkm","bkn","bko","bkp","bkq","bkr","bks","bkt","bku","bkv","bkw","bkx","bky","bkz","bla","blb","blc","bld","ble","blf","blg","blh","bli","blj","blk","bll","blm","bln","blo","blp","blq","blr","bls","blt","blv","blw","blx","bly","blz","bma","bmb","bmc","bmd","bme","bmf","bmg","bmh","bmi","bmj","bmk","bml","bmm","bmn","bmo","bmp","bmq","bmr","bms","bmt","bmu","bmv","bmw","bmx","bmy","bmz","bna","bnb","bnc","bnd","bne","bnf","bng","bni","bnj","bnk","bnl","bnm","bnn","bno","bnp","bnq","bnr","bns","bnt","bnu","bnv","bnw","bnx","bny","bnz","boa","bob","boe","bof","bog","boh","boi","boj","bok","bol","bom","bon","boo","bop","boq","bor","bot","bou","bov","bow","box","boy","boz","bpa","bpb","bpd","bpe","bpg","bph","bpi","bpj","bpk","bpl","bpm","bpn","bpo","bpp","bpq","bpr","bps","bpt","bpu","bpv","bpw","bpx","bpy","bpz","bqa","bqb","bqc","bqd","bqf","bqg","bqh","bqi","bqj","bqk","bql","bqm","bqn","bqo","bqp","bqq","bqr","bqs","bqt","bqu","bqv","bqw","bqx","bqy","bqz","bra","brb","brc","brd","brf","brg","brh","bri","brj","brk","brl","brm","brn","bro","brp","brq","brr","brs","brt","bru","brv","brw","brx","bry","brz","bsa","bsb","bsc","bse","bsf","bsg","bsh","bsi","bsj","bsk","bsl","bsm","bsn","bso","bsp","bsq","bsr","bss","bst","bsu","bsv","bsw","bsx","bsy","bta","btb","btc","btd","bte","btf","btg","bth","bti","btj","btk","btl","btm","btn","bto","btp","btq","btr","bts","btt","btu","btv","btw","btx","bty","btz","bua","bub","buc","bud","bue","buf","bug","buh","bui","buj","buk","bum","bun","buo","bup","buq","bus","but","buu","buv","buw","bux","buy","buz","bva","bvb","bvc","bvd","bve","bvf","bvg","bvh","bvi","bvj","bvk","bvl","bvm","bvn","bvo","bvp","bvq","bvr","bvt","bvu","bvv","bvw","bvx","bvy","bvz","bwa","bwb","bwc","bwd","bwe","bwf","bwg","bwh","bwi","bwj","bwk","bwl","bwm","bwn","bwo","bwp","bwq","bwr","bws","bwt","bwu","bww","bwx","bwy","bwz","bxa","bxb","bxc","bxd","bxe","bxf","bxg","bxh","bxi","bxj","bxk","bxl","bxm","bxn","bxo","bxp","bxq","bxr","bxs","bxu","bxv","bxw","bxx","bxz","bya","byb","byc","byd","bye","byf","byg","byh","byi","byj","byk","byl","bym","byn","byo","byp","byq","byr","bys","byt","byv","byw","byx","byy","byz","bza","bzb","bzc","bzd","bze","bzf","bzg","bzh","bzi","bzj","bzk","bzl","bzm","bzn","bzo","bzp","bzq","bzr","bzs","bzt","bzu","bzv","bzw","bzx","bzy","bzz"],["ca","ce","ch","co","cr","cs","cu","cv","cy","caa","cab","cac","cad","cae","caf","cag","cah","cai","caj","cak","cal","cam","can","cao","cap","caq","car","cas","cau","cav","caw","cax","cay","caz","cba","cbb","cbc","cbd","cbe","cbg","cbh","cbi","cbj","cbk","cbl","cbn","cbo","cbq","cbr","cbs","cbt","cbu","cbv","cbw","cby","cca","ccc","ccd","cce","ccg","cch","ccj","ccl","ccm","ccn","cco","ccp","ccq","ccr","ccs","cda","cdc","cdd","cde","cdf","cdg","cdh","cdi","cdj","cdm","cdn","cdo","cdr","cds","cdy","cdz","cea","ceb","ceg","cek","cel","cen","cet","cey","cfa","cfd","cfg","cfm","cga","cgc","cgg","cgk","chb","chc","chd","chf","chg","chh","chj","chk","chl","chm","chn","cho","chp","chq","chr","cht","chw","chx","chy","chz","cia","cib","cic","cid","cie","cih","cik","cim","cin","cip","cir","ciw","ciy","cja","cje","cjh","cji","cjk","cjm","cjn","cjo","cjp","cjr","cjs","cjv","cjy","cka","ckb","ckh","ckl","ckm","ckn","cko","ckq","ckr","cks","ckt","cku","ckv","ckx","cky","ckz","cla","clc","cld","cle","clh","cli","clj","clk","cll","clm","clo","clt","clu","clw","cly","cma","cmc","cme","cmg","cmi","cmk","cml","cmm","cmn","cmo","cmr","cms","cmt","cna","cnb","cnc","cng","cnh","cni","cnk","cnl","cno","cnp","cnr","cns","cnt","cnu","cnw","cnx","coa","cob","coc","cod","coe","cof","cog","coh","coj","cok","col","com","con","coo","cop","coq","cot","cou","cov","cow","cox","coy","coz","cpa","cpb","cpc","cpe","cpf","cpg","cpi","cpn","cpo","cpp","cps","cpu","cpx","cpy","cqd","cqu","cra","crb","crc","crd","crf","crg","crh","cri","crj","crk","crl","crm","crn","cro","crp","crq","crr","crs","crt","crv","crw","crx","cry","crz","csa","csb","csc","csd","cse","csf","csg","csh","csi","csj","csk","csl","csm","csn","cso","csp","csq","csr","css","cst","csu","csv","csw","csx","csy","csz","cta","ctc","ctd","cte","ctg","cth","ctl","ctm","ctn","cto","ctp","cts","ctt","ctu","cty","ctz","cua","cub","cuc","cug","cuh","cui","cuj","cuk","cul","cum","cuo","cup","cuq","cur","cus","cut","cuu","cuv","cuw","cux","cuy","cvg","cvn","cwa","cwb","cwd","cwe","cwg","cwt","cya","cyb","cyo","czh","czk","czn","czo","czt"],["da","de","dv","dz","daa","dac","dad","dae","daf","dag","dah","dai","daj","dak","dal","dam","dao","dap","daq","dar","das","dau","dav","daw","dax","day","daz","dba","dbb","dbd","dbe","dbf","dbg","dbi","dbj","dbl","dbm","dbn","dbo","dbp","dbq","dbr","dbt","dbu","dbv","dbw","dby","dcc","dcr","dda","ddd","dde","ddg","ddi","ddj","ddn","ddo","ddr","dds","ddw","dec","ded","dee","def","deg","deh","dei","dek","del","dem","den","dep","deq","der","des","dev","dez","dga","dgb","dgc","dgd","dge","dgg","dgh","dgi","dgk","dgl","dgn","dgo","dgr","dgs","dgt","dgu","dgw","dgx","dgz","dha","dhd","dhg","dhi","dhl","dhm","dhn","dho","dhr","dhs","dhu","dhv","dhw","dhx","dia","dib","dic","did","dif","dig","dih","dii","dij","dik","dil","dim","din","dio","dip","diq","dir","dis","dit","diu","diw","dix","diy","diz","dja","djb","djc","djd","dje","djf","dji","djj","djk","djl","djm","djn","djo","djr","dju","djw","dka","dkg","dkk","dkl","dkr","dks","dkx","dlg","dlk","dlm","dln","dma","dmb","dmc","dmd","dme","dmf","dmg","dmk","dml","dmm","dmn","dmo","dmr","dms","dmu","dmv","dmw","dmx","dmy","dna","dnd","dne","dng","dni","dnj","dnk","dnn","dno","dnr","dnt","dnu","dnv","dnw","dny","doa","dob","doc","doe","dof","doh","doi","dok","dol","don","doo","dop","doq","dor","dos","dot","dov","dow","dox","doy","doz","dpp","dra","drb","drc","drd","dre","drg","drh","dri","drl","drn","dro","drq","drr","drs","drt","dru","drw","dry","dsb","dse","dsh","dsi","dsl","dsn","dso","dsq","dta","dtb","dtd","dth","dti","dtk","dtm","dtn","dto","dtp","dtr","dts","dtt","dtu","dty","dua","dub","duc","dud","due","duf","dug","duh","dui","duj","duk","dul","dum","dun","duo","dup","duq","dur","dus","duu","duv","duw","dux","duy","duz","dva","dwa","dwk","dwl","dwr","dws","dwu","dww","dwy","dwz","dya","dyb","dyd","dyg","dyi","dym","dyn","dyo","dyu","dyy","dza","dzd","dze","dzg","dzl","dzn"],["ee","el","en","eo","es","et","eu","eaa","ebc","ebg","ebk","ebo","ebr","ebu","ecr","ecs","ecy","eee","efa","efe","efi","ega","egl","ego","egx","egy","ehs","ehu","eip","eit","eiv","eja","eka","ekc","eke","ekg","eki","ekk","ekl","ekm","eko","ekp","ekr","eky","ele","elh","eli","elk","elm","elo","elp","elu","elx","ema","emb","eme","emg","emi","emk","emm","emn","emo","emp","emq","ems","emu","emw","emx","emy","emz","ena","enb","enc","end","enf","enh","enl","enm","enn","eno","enq","enr","enu","env","enw","enx","eot","epi","era","erg","erh","eri","erk","ero","err","ers","ert","erw","ese","esg","esh","esi","esk","esl","esm","esn","eso","esq","ess","esu","esx","esy","etb","etc","eth","etn","eto","etr","ets","ett","etu","etx","etz","euq","eve","evh","evn","ewo","ext","eya","eyo","eza","eze"],["fa","ff","fi","fj","fo","fr","fy","faa","fab","fad","faf","fag","fah","fai","faj","fak","fal","fam","fan","fap","far","fat","fau","fax","fay","faz","fbl","fcs","fer","ffi","ffm","fgr","fia","fie","fif","fil","fip","fir","fit","fiu","fiw","fkk","fkv","fla","flh","fli","fll","fln","flr","fly","fmp","fmu","fnb","fng","fni","fod","foi","fom","fon","for","fos","fox","fpe","fqs","frc","frd","frk","frm","fro","frp","frq","frr","frs","frt","fse","fsl","fss","fub","fuc","fud","fue","fuf","fuh","fui","fuj","fum","fun","fuq","fur","fut","fuu","fuv","fuy","fvr","fwa","fwe"],["ga","gd","gl","gn","gu","gv","gaa","gab","gac","gad","gae","gaf","gag","gah","gai","gaj","gak","gal","gam","gan","gao","gap","gaq","gar","gas","gat","gau","gav","gaw","gax","gay","gaz","gba","gbb","gbc","gbd","gbe","gbf","gbg","gbh","gbi","gbj","gbk","gbl","gbm","gbn","gbo","gbp","gbq","gbr","gbs","gbu","gbv","gbw","gbx","gby","gbz","gcc","gcd","gce","gcf","gcl","gcn","gcr","gct","gda","gdb","gdc","gdd","gde","gdf","gdg","gdh","gdi","gdj","gdk","gdl","gdm","gdn","gdo","gdq","gdr","gds","gdt","gdu","gdx","gea","geb","gec","ged","gef","geg","geh","gei","gej","gek","gel","gem","geq","ges","gev","gew","gex","gey","gez","gfk","gft","gfx","gga","ggb","ggd","gge","ggg","ggk","ggl","ggn","ggo","ggr","ggt","ggu","ggw","gha","ghc","ghe","ghh","ghk","ghl","ghn","gho","ghr","ghs","ght","gia","gib","gic","gid","gie","gig","gih","gii","gil","gim","gin","gio","gip","giq","gir","gis","git","giu","giw","gix","giy","giz","gji","gjk","gjm","gjn","gjr","gju","gka","gkd","gke","gkn","gko","gkp","gku","glb","glc","gld","glh","gli","glj","glk","gll","glo","glr","glu","glw","gly","gma","gmb","gmd","gme","gmg","gmh","gml","gmm","gmn","gmq","gmr","gmu","gmv","gmw","gmx","gmy","gmz","gna","gnb","gnc","gnd","gne","gng","gnh","gni","gnj","gnk","gnl","gnm","gnn","gno","gnq","gnr","gnt","gnu","gnw","gnz","goa","gob","goc","god","goe","gof","gog","goh","goi","goj","gok","gol","gom","gon","goo","gop","goq","gor","gos","got","gou","gow","gox","goy","goz","gpa","gpe","gpn","gqa","gqi","gqn","gqr","gqu","gra","grb","grc","grd","grg","grh","gri","grj","grk","grm","gro","grq","grr","grs","grt","gru","grv","grw","grx","gry","grz","gse","gsg","gsl","gsm","gsn","gso","gsp","gss","gsw","gta","gti","gtu","gua","gub","guc","gud","gue","guf","gug","guh","gui","guk","gul","gum","gun","guo","gup","guq","gur","gus","gut","guu","guv","guw","gux","guz","gva","gvc","gve","gvf","gvj","gvl","gvm","gvn","gvo","gvp","gvr","gvs","gvy","gwa","gwb","gwc","gwd","gwe","gwf","gwg","gwi","gwj","gwm","gwn","gwr","gwt","gwu","gww","gwx","gxx","gya","gyb","gyd","gye","gyf","gyg","gyi","gyl","gym","gyn","gyo","gyr","gyy","gyz","gza","gzi","gzn"],["ha","he","hi","ho","hr","ht","hu","hy","hz","haa","hab","hac","had","hae","haf","hag","hah","hai","haj","hak","hal","ham","han","hao","hap","haq","har","has","hav","haw","hax","hay","haz","hba","hbb","hbn","hbo","hbu","hca","hch","hdn","hds","hdy","hea","hed","heg","heh","hei","hem","hgm","hgw","hhi","hhr","hhy","hia","hib","hid","hif","hig","hih","hii","hij","hik","hil","him","hio","hir","hit","hiw","hix","hji","hka","hke","hkh","hkk","hkn","hks","hla","hlb","hld","hle","hlt","hlu","hma","hmb","hmc","hmd","hme","hmf","hmg","hmh","hmi","hmj","hmk","hml","hmm","hmn","hmp","hmq","hmr","hms","hmt","hmu","hmv","hmw","hmx","hmy","hmz","hna","hnd","hne","hng","hnh","hni","hnj","hnn","hno","hns","hnu","hoa","hob","hoc","hod","hoe","hoh","hoi","hoj","hok","hol","hom","hoo","hop","hor","hos","hot","hov","how","hoy","hoz","hpo","hps","hra","hrc","hre","hrk","hrm","hro","hrp","hrr","hrt","hru","hrw","hrx","hrz","hsb","hsh","hsl","hsn","hss","hti","hto","hts","htu","htx","hub","huc","hud","hue","huf","hug","huh","hui","huj","huk","hul","hum","huo","hup","huq","hur","hus","hut","huu","huv","huw","hux","huy","huz","hvc","hve","hvk","hvn","hvv","hwa","hwc","hwo","hya","hyw","hyx"],["ia","id","ie","ig","ii","ik","in","io","is","it","iu","iw","iai","ian","iap","iar","iba","ibb","ibd","ibe","ibg","ibh","ibi","ibl","ibm","ibn","ibr","ibu","iby","ica","ich","icl","icr","ida","idb","idc","idd","ide","idi","idr","ids","idt","idu","ifa","ifb","ife","iff","ifk","ifm","ifu","ify","igb","ige","igg","igl","igm","ign","igo","igs","igw","ihb","ihi","ihp","ihw","iin","iir","ijc","ije","ijj","ijn","ijo","ijs","ike","iki","ikk","ikl","iko","ikp","ikr","iks","ikt","ikv","ikw","ikx","ikz","ila","ilb","ilg","ili","ilk","ill","ilm","ilo","ilp","ils","ilu","ilv","ilw","ima","ime","imi","iml","imn","imo","imr","ims","imy","inb","inc","ine","ing","inh","inj","inl","inm","inn","ino","inp","ins","int","inz","ior","iou","iow","ipi","ipo","iqu","iqw","ira","ire","irh","iri","irk","irn","iro","irr","iru","irx","iry","isa","isc","isd","ise","isg","ish","isi","isk","ism","isn","iso","isr","ist","isu","itb","itc","itd","ite","iti","itk","itl","itm","ito","itr","its","itt","itv","itw","itx","ity","itz","ium","ivb","ivv","iwk","iwm","iwo","iws","ixc","ixl","iya","iyo","iyx","izh","izi","izr","izz"],["ja","ji","jv","jw","jaa","jab","jac","jad","jae","jaf","jah","jaj","jak","jal","jam","jan","jao","jaq","jar","jas","jat","jau","jax","jay","jaz","jbe","jbi","jbj","jbk","jbm","jbn","jbo","jbr","jbt","jbu","jbw","jcs","jct","jda","jdg","jdt","jeb","jee","jeg","jeh","jei","jek","jel","jen","jer","jet","jeu","jgb","jge","jgk","jgo","jhi","jhs","jia","jib","jic","jid","jie","jig","jih","jii","jil","jim","jio","jiq","jit","jiu","jiv","jiy","jje","jjr","jka","jkm","jko","jkp","jkr","jks","jku","jle","jls","jma","jmb","jmc","jmd","jmi","jml","jmn","jmr","jms","jmw","jmx","jna","jnd","jng","jni","jnj","jnl","jns","job","jod","jog","jor","jos","jow","jpa","jpr","jpx","jqr","jra","jrb","jrr","jrt","jru","jsl","jua","jub","juc","jud","juh","jui","juk","jul","jum","jun","juo","jup","jur","jus","jut","juu","juw","juy","jvd","jvn","jwi","jya","jye","jyy"],["ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","kaa","kab","kac","kad","kae","kaf","kag","kah","kai","kaj","kak","kam","kao","kap","kaq","kar","kav","kaw","kax","kay","kba","kbb","kbc","kbd","kbe","kbf","kbg","kbh","kbi","kbj","kbk","kbl","kbm","kbn","kbo","kbp","kbq","kbr","kbs","kbt","kbu","kbv","kbw","kbx","kby","kbz","kca","kcb","kcc","kcd","kce","kcf","kcg","kch","kci","kcj","kck","kcl","kcm","kcn","kco","kcp","kcq","kcr","kcs","kct","kcu","kcv","kcw","kcx","kcy","kcz","kda","kdc","kdd","kde","kdf","kdg","kdh","kdi","kdj","kdk","kdl","kdm","kdn","kdo","kdp","kdq","kdr","kdt","kdu","kdv","kdw","kdx","kdy","kdz","kea","keb","kec","ked","kee","kef","keg","keh","kei","kej","kek","kel","kem","ken","keo","kep","keq","ker","kes","ket","keu","kev","kew","kex","key","kez","kfa","kfb","kfc","kfd","kfe","kff","kfg","kfh","kfi","kfj","kfk","kfl","kfm","kfn","kfo","kfp","kfq","kfr","kfs","kft","kfu","kfv","kfw","kfx","kfy","kfz","kga","kgb","kgc","kgd","kge","kgf","kgg","kgh","kgi","kgj","kgk","kgl","kgm","kgn","kgo","kgp","kgq","kgr","kgs","kgt","kgu","kgv","kgw","kgx","kgy","kha","lyg","khb","khc","khd","khe","khf","khg","khh","khi","khj","khk","khl","khn","kho","khp","khq","khr","khs","kht","khu","khv","khw","khx","khy","khz","kia","kib","kic","kid","kie","kif","kig","kih","kii","kij","kil","kim","kio","kip","kiq","kis","kit","kiu","kiv","kiw","kix","kiy","kiz","kja","kjb","kjc","kjd","kje","kjf","kjg","kjh","kji","kjj","kjk","kjl","kjm","kjn","kjo","kjp","kjq","kjr","kjs","kjt","kju","kjv","kjx","kjy","kjz","kka","kkb","kkc","kkd","kke","kkf","kkg","kkh","kki","kkj","kkk","kkl","kkm","kkn","kko","kkp","kkq","kkr","kks","kkt","kku","kkv","kkw","kkx","kky","kkz","kla","klb","klc","kld","kle","klf","klg","klh","kli","klj","klk","kll","klm","kln","klo","klp","klq","klr","kls","klt","klu","klv","klw","klx","kly","klz","kma","kmb","kmc","kmd","kme","kmf","kmg","kmh","kmi","kmj","kmk","kml","kmm","kmn","kmo","kmp","kmq","kmr","kms","kmt","kmu","kmv","kmw","kmx","kmy","kmz","kna","knb","knc","knd","kne","knf","kng","kni","knj","knk","knl","knm","knn","kno","knp","knq","knr","kns","knt","knu","knv","knw","knx","kny","knz","koa","koc","kod","koe","kof","kog","koh","koi","koj","kok","kol","koo","kop","koq","kos","kot","kou","kov","kow","kox","koy","koz","kpa","kpb","kpc","kpd","kpe","kpf","kpg","kph","kpi","kpj","kpk","kpl","kpm","kpn","kpo","kpp","kpq","kpr","kps","kpt","kpu","kpv","kpw","kpx","kpy","kpz","kqa","kqb","kqc","kqd","kqe","kqf","kqg","kqh","kqi","kqj","kqk","kql","kqm","kqn","kqo","kqp","kqq","kqr","kqs","kqt","kqu","kqv","kqw","kqx","kqy","kqz","kra","krb","krc","krd","kre","krf","krh","kri","krj","krk","krl","krm","krn","kro","krp","krr","krs","krt","kru","krv","krw","krx","kry","krz","ksa","ksb","ksc","ksd","kse","ksf","ksg","ksh","ksi","ksj","ksk","ksl","ksm","ksn","kso","ksp","ksq","ksr","kss","kst","ksu","ksv","ksw","ksx","ksy","ksz","kta","ktb","ktc","ktd","kte","ktf","ktg","kth","kti","ktj","ktk","ktl","ktm","ktn","kto","ktp","ktq","ktr","kts","ktt","ktu","ktv","ktw","ktx","kty","ktz","kub","kuc","kud","kue","kuf","kug","kuh","kui","kuj","kuk","kul","kum","kun","kuo","kup","kuq","kus","kut","kuu","kuv","kuw","kux","kuy","kuz","kva","kvb","kvc","kvd","kve","kvf","kvg","kvh","kvi","kvj","kvk","kvl","kvm","kvn","kvo","kvp","kvq","kvr","kvs","kvt","kvu","kvv","kvw","kvx","kvy","kvz","kwa","kwb","kwc","kwd","kwe","kwf","kwg","kwh","kwi","kwj","kwk","kwl","kwm","kwn","kwo","kwp","kwq","kwr","kws","kwt","kwu","kwv","kww","kwx","kwy","kwz","kxa","kxb","kxc","kxd","kxe","kxf","kxh","kxi","kxj","kxk","kxl","kxm","kxn","kxo","kxp","kxq","kxr","kxs","kxt","kxu","kxv","kxw","kxx","kxy","kxz","kya","kyb","kyc","kyd","kye","kyf","kyg","kyh","kyi","kyj","kyk","kyl","kym","kyn","kyo","kyp","kyq","kyr","kys","kyt","kyu","kyv","kyw","kyx","kyy","kyz","kza","kzb","kzc","kzd","kze","kzf","kzg","kzh","kzi","kzj","kzk","kzl","kzm","kzn","kzo","kzp","kzq","kzr","kzs","kzt","kzu","kzv","kzw","kzx","kzy","kzz"],["la","lb","lg","li","ln","lo","lt","lu","lv","laa","lab","lac","lad","lae","laf","lag","lah","lai","laj","lak","lal","lam","lan","lap","laq","lar","las","lau","law","lax","lay","laz","lba","lbb","lbc","lbe","lbf","lbg","lbi","lbj","lbk","lbl","lbm","lbn","lbo","lbq","lbr","lbs","lbt","lbu","lbv","lbw","lbx","lby","lbz","lcc","lcd","lce","lcf","lch","lcl","lcm","lcp","lcq","lcs","lda","ldb","ldd","ldg","ldh","ldi","ldj","ldk","ldl","ldm","ldn","ldo","ldp","ldq","lea","leb","lec","led","lee","lef","leg","leh","lei","lej","lek","lel","lem","len","leo","lep","leq","ler","les","let","leu","lev","lew","lex","ley","lez","lfa","lfn","lga","lgb","lgg","lgh","lgi","lgk","lgl","lgm","lgn","lgq","lgr","lgt","lgu","lgz","lha","lhh","lhi","lhl","lhm","lhn","lhp","lhs","lht","lhu","lia","lib","lic","lid","lie","lif","lig","lih","lii","lij","lik","lil","lio","lip","liq","lir","lis","liu","liv","liw","lix","liy","liz","lja","lje","lji","ljl","ljp","ljw","ljx","lka","lkb","lkc","lkd","lke","lkh","lki","lkj","lkl","lkm","lkn","lko","lkr","lks","lkt","lku","lky","lla","llb","llc","lld","lle","llf","llg","llh","lli","llj","llk","lll","llm","lln","llo","llp","llq","lls","llu","llx","lma","lmb","lmc","lmd","lme","lmf","lmg","lmh","lmi","lmj","lmk","lml","lmm","lmn","lmo","lmp","lmq","lmr","lmu","lmv","lmw","lmx","lmy","lmz","lna","lnb","lnd","lng","lnh","lni","lnj","lnl","lnm","lnn","lno","lns","lnu","lnw","lnz","loa","lob","loc","loe","lof","log","loh","loi","loj","lok","lol","lom","lon","loo","lop","loq","lor","los","lot","lou","lov","low","lox","loy","loz","lpa","lpe","lpn","lpo","lpx","lra","lrc","lre","lrg","lri","lrk","lrl","lrm","lrn","lro","lrr","lrt","lrv","lrz","lsa","lsb","lsd","lse","lsg","lsh","lsi","lsl","lsm","lsn","lso","lsp","lsr","lss","lst","lsv","lsy","ltc","ltg","lth","lti","ltn","lto","lts","ltu","lua","luc","lud","lue","luf","lui","luj","luk","lul","lum","lun","luo","lup","luq","lur","lus","lut","luu","luv","luw","luy","luz","lva","lvi","lvk","lvs","lvu","lwa","lwe","lwg","lwh","lwl","lwm","lwo","lws","lwt","lwu","lww","lxm","lya","lyg","lyn","lzh","lzl","lzn","lzz"],["mg","mh","mi","mk","ml","mn","mo","mr","ms","mt","my","maa","mab","mad","mae","maf","mag","mai","maj","mak","mam","man","map","maq","mas","mat","mau","mav","maw","max","maz","mba","mbb","mbc","mbd","mbe","mbf","mbh","mbi","mbj","mbk","mbl","mbm","mbn","mbo","mbp","mbq","mbr","mbs","mbt","mbu","mbv","mbw","mbx","mby","mbz","mca","mcb","mcc","mcd","mce","mcf","mcg","mch","mci","mcj","mck","mcl","mcm","mcn","mco","mcp","mcq","mcr","mcs","mct","mcu","mcv","mcw","mcx","mcy","mcz","mda","mdb","mdc","mdd","mde","mdf","mdg","mdh","mdi","mdj","mdk","mdl","mdm","mdn","mdp","mdq","mdr","mds","mdt","mdu","mdv","mdw","mdx","mdy","mdz","mea","meb","mec","med","mee","mef","meg","meh","mei","mej","mek","mel","mem","men","meo","mep","meq","mer","mes","met","meu","mev","mew","mey","mez","mfa","mfb","mfc","mfd","mfe","mff","mfg","mfh","mfi","mfj","mfk","mfl","mfm","mfn","mfo","mfp","mfq","mfr","mfs","mft","mfu","mfv","mfw","mfx","mfy","mfz","mga","mgb","mgc","mgd","mge","mgf","mgg","mgh","mgi","mgj","mgk","mgl","mgm","mgn","mgo","mgp","mgq","mgr","mgs","mgt","mgu","mgv","mgw","mgx","mgy","mgz","mha","mhb","mhc","mhd","mhe","mhf","mhg","mhh","mhi","mhj","mhk","mhl","mhm","mhn","mho","mhp","mhq","mhr","mhs","mht","mhu","mhw","mhx","mhy","mhz","mia","mib","mic","mid","mie","mif","mig","mih","mii","mij","mik","mil","mim","min","mio","mip","miq","mir","mis","mit","miu","miw","mix","miy","miz","mja","mjb","mjc","mjd","mje","mjg","mjh","mji","mjj","mjk","mjl","mjm","mjn","mjo","mjp","mjq","mjr","mjs","mjt","mju","mjv","mjw","mjx","mjy","mjz","mka","mkb","mkc","mke","mkf","mkg","mkh","mki","mkj","mkk","mkl","mkm","mkn","mko","mkp","mkq","mkr","mks","mkt","mku","mkv","mkw","mkx","mky","mkz","mla","mlb","mlc","mld","mle","mlf","mlh","mli","mlj","mlk","mll","mlm","mln","mlo","mlp","mlq","mlr","mls","mlu","mlv","mlw","mlx","mlz","mma","mmb","mmc","mmd","mme","mmf","mmg","mmh","mmi","mmj","mmk","mml","mmm","mmn","mmo","mmp","mmq","mmr","mmt","mmu","mmv","mmw","mmx","mmy","mmz","mna","mnb","mnc","mnd","mne","mnf","mng","mnh","mni","mnj","mnk","mnl","mnm","mnn","mno","mnp","mnq","mnr","mns","mnt","mnu","mnv","mnw","mnx","mny","mnz","moa","moc","mod","moe","mof","mog","moh","moi","moj","mok","mom","moo","mop","moq","mor","mos","mot","mou","mov","mow","mox","moy","moz","mpa","mpb","mpc","mpd","mpe","mpg","mph","mpi","mpj","mpk","mpl","mpm","mpn","mpo","mpp","mpq","mpr","mps","mpt","mpu","mpv","mpw","mpx","mpy","mpz","mqa","mqb","mqc","mqe","mqf","mqg","mqh","mqi","mqj","mqk","mql","mqm","mqn","mqo","mqp","mqq","mqr","mqs","mqt","mqu","mqv","mqw","mqx","mqy","mqz","mra","mrb","mrc","mrd","mre","mrf","mrg","mrh","mrj","mrk","mrl","mrm","mrn","mro","mrp","mrq","mrr","mrs","mrt","mru","mrv","mrw","mrx","mry","mrz","msb","msc","msd","mse","msf","msg","msh","msi","msj","msk","msl","msm","msn","mso","msp","msq","msr","mss","mst","msu","msv","msw","msx","msy","msz","mta","mtb","mtc","mtd","mte","mtf","mtg","mth","mti","mtj","mtk","mtl","mtm","mtn","mto","mtp","mtq","mtr","mts","mtt","mtu","mtv","mtw","mtx","mty","mua","mub","muc","mud","mue","mug","muh","mui","muj","muk","mul","mum","mun","muo","mup","muq","mur","mus","mut","muu","muv","mux","muy","muz","mva","mvb","mvd","mve","mvf","mvg","mvh","mvi","mvk","mvl","mvm","mvn","mvo","mvp","mvq","mvr","mvs","mvt","mvu","mvv","mvw","mvx","mvy","mvz","mwa","mwb","mwc","mwd","mwe","mwf","mwg","mwh","mwi","mwj","mwk","mwl","mwm","mwn","mwo","mwp","mwq","mwr","mws","mwt","mwu","mwv","mww","mwx","mwy","mwz","mxa","mxb","mxc","mxd","mxe","mxf","mxg","mxh","mxi","mxj","mxk","mxl","mxm","mxn","mxo","mxp","mxq","mxr","mxs","mxt","mxu","mxv","mxw","mxx","mxy","mxz","myb","myc","myd","mye","myf","myg","myh","myi","myj","myk","myl","mym","myn","myo","myp","myq","myr","mys","myt","myu","myv","myw","myx","myy","myz","mza","mzb","mzc","mzd","mze","mzg","mzh","mzi","mzj","mzk","mzl","mzm","mzn","mzo","mzp","mzq","mzr","mzs","mzt","mzu","mzv","mzw","mzx","mzy","mzz"],["na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","naa","nab","nac","nad","nae","naf","nag","nah","nai","naj","nak","nal","nam","nan","nao","nap","naq","nar","nas","nat","naw","nax","nay","naz","nba","nbb","nbc","nbd","nbe","nbf","nbg","nbh","nbi","nbj","nbk","nbm","nbn","nbo","nbp","nbq","nbr","nbs","nbt","nbu","nbv","nbw","nbx","nby","nca","ncb","ncc","ncd","nce","ncf","ncg","nch","nci","ncj","nck","ncl","ncm","ncn","nco","ncp","ncq","ncr","ncs","nct","ncu","ncx","ncz","nda","ndb","ndc","ndd","ndf","ndg","ndh","ndi","ndj","ndk","ndl","ndm","ndn","ndp","ndq","ndr","nds","ndt","ndu","ndv","ndw","ndx","ndy","ndz","nea","neb","nec","ned","nee","nef","neg","neh","nei","nej","nek","nem","nen","neo","neq","ner","nes","net","neu","nev","new","nex","ney","nez","nfa","nfd","nfl","nfr","nfu","nga","ngb","ngc","ngd","nge","ngf","ngg","ngh","ngi","ngj","ngk","ngl","ngm","ngn","ngo","ngp","ngq","ngr","ngs","ngt","ngu","ngv","ngw","ngx","ngy","ngz","nha","nhb","nhc","nhd","nhe","nhf","nhg","nhh","nhi","nhk","nhm","nhn","nho","nhp","nhq","nhr","nht","nhu","nhv","nhw","nhx","nhy","nhz","nia","nib","nic","nid","nie","nif","nig","nih","nii","nij","nik","nil","nim","nin","nio","niq","nir","nis","nit","niu","niv","niw","nix","niy","niz","nja","njb","njd","njh","nji","njj","njl","njm","njn","njo","njr","njs","njt","nju","njx","njy","njz","nka","nkb","nkc","nkd","nke","nkf","nkg","nkh","nki","nkj","nkk","nkm","nkn","nko","nkp","nkq","nkr","nks","nkt","nku","nkv","nkw","nkx","nkz","nla","nlc","nle","nlg","nli","nlj","nlk","nll","nlm","nln","nlo","nlq","nlr","nlu","nlv","nlw","nlx","nly","nlz","nma","nmb","nmc","nmd","nme","nmf","nmg","nmh","nmi","nmj","nmk","nml","nmm","nmn","nmo","nmp","nmq","nmr","nms","nmt","nmu","nmv","nmw","nmx","nmy","nmz","nna","nnb","nnc","nnd","nne","nnf","nng","nnh","nni","nnj","nnk","nnl","nnm","nnn","nnp","nnq","nnr","nns","nnt","nnu","nnv","nnw","nnx","nny","nnz","noa","noc","nod","noe","nof","nog","noh","noi","noj","nok","nol","nom","non","noo","nop","noq","nos","not","nou","nov","now","noy","noz","npa","npb","npg","nph","npi","npl","npn","npo","nps","npu","npx","npy","nqg","nqk","nql","nqm","nqn","nqo","nqq","nqt","nqy","nra","nrb","nrc","nre","nrf","nrg","nri","nrk","nrl","nrm","nrn","nrp","nrr","nrt","nru","nrx","nrz","nsa","nsb","nsc","nsd","nse","nsf","nsg","nsh","nsi","nsk","nsl","nsm","nsn","nso","nsp","nsq","nsr","nss","nst","nsu","nsv","nsw","nsx","nsy","nsz","ntd","nte","ntg","nti","ntj","ntk","ntm","nto","ntp","ntr","nts","ntu","ntw","ntx","nty","ntz","nua","nub","nuc","nud","nue","nuf","nug","nuh","nui","nuj","nuk","nul","num","nun","nuo","nup","nuq","nur","nus","nut","nuu","nuv","nuw","nux","nuy","nuz","nvh","nvm","nvo","nwa","nwb","nwc","nwe","nwg","nwi","nwm","nwo","nwr","nwx","nwy","nxa","nxd","nxe","nxg","nxi","nxk","nxl","nxm","nxn","nxo","nxq","nxr","nxu","nxx","nyb","nyc","nyd","nye","nyf","nyg","nyh","nyi","nyj","nyk","nyl","nym","nyn","nyo","nyp","nyq","nyr","nys","nyt","nyu","nyv","nyw","nyx","nyy","nza","nzb","nzd","nzi","nzk","nzm","nzs","nzu","nzy","nzz"],["oc","oj","om","or","os","oaa","oac","oar","oav","obi","obk","obl","obm","obo","obr","obt","obu","oca","och","ocm","oco","ocu","oda","odk","odt","odu","ofo","ofs","ofu","ogb","ogc","oge","ogg","ogo","ogu","oht","ohu","oia","oin","ojb","ojc","ojg","ojp","ojs","ojv","ojw","oka","okb","okc","okd","oke","okg","okh","oki","okj","okk","okl","okm","okn","oko","okr","oks","oku","okv","okx","okz","ola","old","ole","olk","olm","olo","olr","olt","olu","oma","omb","omc","ome","omg","omi","omk","oml","omn","omo","omp","omq","omr","omt","omu","omv","omw","omx","omy","ona","onb","one","ong","oni","onj","onk","onn","ono","onp","onr","ons","ont","onu","onw","onx","ood","oog","oon","oor","oos","opa","opk","opm","opo","opt","opy","ora","orc","ore","org","orh","orn","oro","orr","ors","ort","oru","orv","orw","orx","ory","orz","osa","osc","osi","osn","oso","osp","ost","osu","osx","ota","otb","otd","ote","oti","otk","otl","otm","otn","oto","otq","otr","ots","ott","otu","otw","otx","oty","otz","oua","oub","oue","oui","oum","oun","ovd","owi","owl","oyb","oyd","oym","oyy","ozm"],["pa","pi","pl","ps","pt","paa","pab","pac","pad","pae","paf","pag","pah","pai","pak","pal","pam","pao","pap","paq","par","pas","pat","pau","pav","paw","pax","pay","paz","pbb","pbc","pbe","pbf","pbg","pbh","pbi","pbl","pbm","pbn","pbo","pbp","pbr","pbs","pbt","pbu","pbv","pby","pbz","pca","pcb","pcc","pcd","pce","pcf","pcg","pch","pci","pcj","pck","pcl","pcm","pcn","pcp","pcr","pcw","pda","pdc","pdi","pdn","pdo","pdt","pdu","pea","peb","ped","pee","pef","peg","peh","pei","pej","pek","pel","pem","peo","pep","peq","pes","pev","pex","pey","pez","pfa","pfe","pfl","pga","pgd","pgg","pgi","pgk","pgl","pgn","pgs","pgu","pgy","pgz","pha","phd","phg","phh","phi","phk","phl","phm","phn","pho","phq","phr","pht","phu","phv","phw","pia","pib","pic","pid","pie","pif","pig","pih","pii","pij","pil","pim","pin","pio","pip","pir","pis","pit","piu","piv","piw","pix","piy","piz","pjt","pka","pkb","pkc","pkg","pkh","pkn","pko","pkp","pkr","pks","pkt","pku","pla","plb","plc","pld","ple","plf","plg","plh","plj","plk","pll","pln","plo","plp","plq","plr","pls","plt","plu","plv","plw","ply","plz","pma","pmb","pmc","pmd","pme","pmf","pmh","pmi","pmj","pmk","pml","pmm","pmn","pmo","pmq","pmr","pms","pmt","pmu","pmw","pmx","pmy","pmz","pna","pnb","pnc","pnd","pne","png","pnh","pni","pnj","pnk","pnl","pnm","pnn","pno","pnp","pnq","pnr","pns","pnt","pnu","pnv","pnw","pnx","pny","pnz","poc","pod","poe","pof","pog","poh","poi","pok","pom","pon","poo","pop","poq","pos","pot","pov","pow","pox","poy","poz","ppa","ppe","ppi","ppk","ppl","ppm","ppn","ppo","ppp","ppq","ppr","pps","ppt","ppu","pqa","pqe","pqm","pqw","pra","prb","prc","prd","pre","prf","prg","prh","pri","prk","prl","prm","prn","pro","prp","prq","prr","prs","prt","pru","prw","prx","pry","prz","psa","psc","psd","pse","psg","psh","psi","psl","psm","psn","pso","psp","psq","psr","pss","pst","psu","psw","psy","pta","pth","pti","ptn","pto","ptp","ptq","ptr","ptt","ptu","ptv","ptw","pty","pua","pub","puc","pud","pue","puf","pug","pui","puj","puk","pum","puo","pup","puq","pur","put","puu","puw","pux","puy","puz","pwa","pwb","pwg","pwi","pwm","pwn","pwo","pwr","pww","pxm","pye","pym","pyn","pys","pyu","pyx","pyy","pzn"],["qu","qua","qub","quc","qud","quf","qug","quh","qui","quk","qul","qum","qun","qup","quq","qur","qus","quv","quw","qux","quy","quz","qva","qvc","qve","qvh","qvi","qvj","qvl","qvm","qvn","qvo","qvp","qvs","qvw","qvy","qvz","qwa","qwc","qwe","qwh","qwm","qws","qwt","qxa","qxc","qxh","qxl","qxn","qxo","qxp","qxq","qxr","qxs","qxt","qxu","qxw","qya","qyp"],["rm","rn","ro","ru","rw","raa","rab","rac","rad","raf","rag","rah","rai","raj","rak","ral","ram","ran","rao","rap","raq","rar","ras","rat","rau","rav","raw","rax","ray","raz","rbb","rbk","rbl","rbp","rcf","rdb","rea","reb","ree","reg","rei","rej","rel","rem","ren","rer","res","ret","rey","rga","rge","rgk","rgn","rgr","rgs","rgu","rhg","rhp","ria","rie","rif","ril","rim","rin","rir","rit","riu","rjg","rji","rjs","rka","rkb","rkh","rki","rkm","rkt","rkw","rma","rmb","rmc","rmd","rme","rmf","rmg","rmh","rmi","rmk","rml","rmm","rmn","rmo","rmp","rmq","rmr","rms","rmt","rmu","rmv","rmw","rmx","rmy","rmz","rna","rnd","rng","rnl","rnn","rnp","rnr","rnw","roa","rob","roc","rod","roe","rof","rog","rol","rom","roo","rop","ror","rou","row","rpn","rpt","rri","rro","rrt","rsb","rsi","rsl","rsm","rtc","rth","rtm","rts","rtw","rub","ruc","rue","ruf","rug","ruh","rui","ruk","ruo","rup","ruq","rut","ruu","ruy","ruz","rwa","rwk","rwl","rwm","rwo","rwr","rxd","rxw","ryn","rys","ryu","rzh"],["sa","sc","sd","se","sg","sh","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","saa","sab","sac","sad","sae","saf","sah","sai","saj","sak","sal","sam","sao","sap","saq","sar","sas","sat","sau","sav","saw","sax","say","saz","sba","sbb","sbc","sbd","sbe","sbf","sbg","sbh","sbi","sbj","sbk","sbl","sbm","sbn","sbo","sbp","sbq","sbr","sbs","sbt","sbu","sbv","sbw","sbx","sby","sbz","sca","scb","sce","scf","scg","sch","sci","sck","scl","scn","sco","scp","scq","scs","sct","scu","scv","scw","scx","sda","sdb","sdc","sde","sdf","sdg","sdh","sdj","sdk","sdl","sdm","sdn","sdo","sdp","sdq","sdr","sds","sdt","sdu","sdv","sdx","sdz","sea","seb","sec","sed","see","sef","seg","seh","sei","sej","sek","sel","sem","sen","seo","sep","seq","ser","ses","set","seu","sev","sew","sey","sez","sfb","sfe","sfm","sfs","sfw","sga","sgb","sgc","sgd","sge","sgg","sgh","sgi","sgj","sgk","sgl","sgm","sgn","sgo","sgp","sgr","sgs","sgt","sgu","sgw","sgx","sgy","sgz","sha","shb","shc","shd","she","shg","shh","shi","shj","shk","shl","shm","shn","sho","shp","shq","shr","shs","sht","shu","shv","shw","shx","shy","shz","sia","sib","sid","sie","sif","sig","sih","sii","sij","sik","sil","sim","sio","sip","siq","sir","sis","sit","siu","siv","siw","six","siy","siz","sja","sjb","sjd","sje","sjg","sjk","sjl","sjm","sjn","sjo","sjp","sjr","sjs","sjt","sju","sjw","ska","skb","skc","skd","ske","skf","skg","skh","ski","skj","skk","skm","skn","sko","skp","skq","skr","sks","skt","sku","skv","skw","skx","sky","skz","sla","slc","sld","sle","slf","slg","slh","sli","slj","sll","slm","sln","slp","slq","slr","sls","slt","slu","slw","slx","sly","slz","sma","smb","smc","smd","smf","smg","smh","smi","smj","smk","sml","smm","smn","smp","smq","smr","sms","smt","smu","smv","smw","smx","smy","smz","snb","snc","sne","snf","sng","snh","sni","snj","snk","snl","snm","snn","sno","snp","snq","snr","sns","snu","snv","snw","snx","sny","snz","soa","sob","soc","sod","soe","sog","soh","soi","soj","sok","sol","son","soo","sop","soq","sor","sos","sou","sov","sow","sox","soy","soz","spb","spc","spd","spe","spg","spi","spk","spl","spm","spn","spo","spp","spq","spr","sps","spt","spu","spv","spx","spy","sqa","sqh","sqj","sqk","sqm","sqn","sqo","sqq","sqr","sqs","sqt","squ","sqx","sra","srb","src","sre","srf","srg","srh","sri","srk","srl","srm","srn","sro","srq","srr","srs","srt","sru","srv","srw","srx","sry","srz","ssa","ssb","ssc","ssd","sse","ssf","ssg","ssh","ssi","ssj","ssk","ssl","ssm","ssn","sso","ssp","ssq","ssr","sss","sst","ssu","ssv","ssx","ssy","ssz","sta","stb","std","ste","stf","stg","sth","sti","stj","stk","stl","stm","stn","sto","stp","stq","str","sts","stt","stu","stv","stw","sty","sua","sub","suc","sue","sug","sui","suj","suk","sul","sum","suo","suq","sur","sus","sut","suv","suw","sux","suy","suz","sva","svb","svc","sve","svk","svm","svr","svs","svx","swb","swc","swf","swg","swh","swi","swj","swk","swl","swm","swn","swo","swp","swq","swr","sws","swt","swu","swv","sww","swx","swy","sxb","sxc","sxe","sxg","sxk","sxl","sxm","sxn","sxo","sxr","sxs","sxu","sxw","sya","syb","syc","syd","syi","syk","syl","sym","syn","syo","syr","sys","syw","syx","syy","sza","szb","szc","szd","sze","szg","szl","szn","szp","szs","szv","szw","szy"],["ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","taa","tab","tac","tad","tae","taf","tag","tai","taj","tak","tal","tan","tao","tap","taq","tar","tas","tau","tav","taw","tax","tay","taz","tba","tbb","tbc","tbd","tbe","tbf","tbg","tbh","tbi","tbj","tbk","tbl","tbm","tbn","tbo","tbp","tbq","tbr","tbs","tbt","tbu","tbv","tbw","tbx","tby","tbz","tca","tcb","tcc","tcd","tce","tcf","tcg","tch","tci","tck","tcl","tcm","tcn","tco","tcp","tcq","tcs","tct","tcu","tcw","tcx","tcy","tcz","tda","tdb","tdc","tdd","tde","tdf","tdg","tdh","tdi","tdj","tdk","tdl","tdm","tdn","tdo","tdq","tdr","tds","tdt","tdu","tdv","tdx","tdy","tea","teb","tec","ted","tee","tef","teg","teh","tei","tek","tem","ten","teo","tep","teq","ter","tes","tet","teu","tev","tew","tex","tey","tez","tfi","tfn","tfo","tfr","tft","tga","tgb","tgc","tgd","tge","tgf","tgg","tgh","tgi","tgj","tgn","tgo","tgp","tgq","tgr","tgs","tgt","tgu","tgv","tgw","tgx","tgy","tgz","thc","thd","the","thf","thh","thi","thk","thl","thm","thn","thp","thq","thr","ths","tht","thu","thv","thw","thx","thy","thz","tia","tic","tid","tie","tif","tig","tih","tii","tij","tik","til","tim","tin","tio","tip","tiq","tis","tit","tiu","tiv","tiw","tix","tiy","tiz","tja","tjg","tji","tjj","tjl","tjm","tjn","tjo","tjp","tjs","tju","tjw","tka","tkb","tkd","tke","tkf","tkg","tkk","tkl","tkm","tkn","tkp","tkq","tkr","tks","tkt","tku","tkv","tkw","tkx","tkz","tla","tlb","tlc","tld","tlf","tlg","tlh","tli","tlj","tlk","tll","tlm","tln","tlo","tlp","tlq","tlr","tls","tlt","tlu","tlv","tlw","tlx","tly","tma","tmb","tmc","tmd","tme","tmf","tmg","tmh","tmi","tmj","tmk","tml","tmm","tmn","tmo","tmp","tmq","tmr","tms","tmt","tmu","tmv","tmw","tmy","tmz","tna","tnb","tnc","tnd","tne","tnf","tng","tnh","tni","tnk","tnl","tnm","tnn","tno","tnp","tnq","tnr","tns","tnt","tnu","tnv","tnw","tnx","tny","tnz","tob","toc","tod","toe","tof","tog","toh","toi","toj","tol","tom","too","top","toq","tor","tos","tou","tov","tow","tox","toy","toz","tpa","tpc","tpe","tpf","tpg","tpi","tpj","tpk","tpl","tpm","tpn","tpo","tpp","tpq","tpr","tpt","tpu","tpv","tpw","tpx","tpy","tpz","tqb","tql","tqm","tqn","tqo","tqp","tqq","tqr","tqt","tqu","tqw","tra","trb","trc","trd","tre","trf","trg","trh","tri","trj","trk","trl","trm","trn","tro","trp","trq","trr","trs","trt","tru","trv","trw","trx","try","trz","tsa","tsb","tsc","tsd","tse","tsf","tsg","tsh","tsi","tsj","tsk","tsl","tsm","tsp","tsq","tsr","tss","tst","tsu","tsv","tsw","tsx","tsy","tsz","tta","ttb","ttc","ttd","tte","ttf","ttg","tth","tti","ttj","ttk","ttl","ttm","ttn","tto","ttp","ttq","ttr","tts","ttt","ttu","ttv","ttw","tty","ttz","tua","tub","tuc","tud","tue","tuf","tug","tuh","tui","tuj","tul","tum","tun","tuo","tup","tuq","tus","tut","tuu","tuv","tuw","tux","tuy","tuz","tva","tvd","tve","tvk","tvl","tvm","tvn","tvo","tvs","tvt","tvu","tvw","tvx","tvy","twa","twb","twc","twd","twe","twf","twg","twh","twl","twm","twn","two","twp","twq","twr","twt","twu","tww","twx","twy","txa","txb","txc","txe","txg","txh","txi","txj","txm","txn","txo","txq","txr","txs","txt","txu","txx","txy","tya","tye","tyh","tyi","tyj","tyl","tyn","typ","tyr","tys","tyt","tyu","tyv","tyx","tyy","tyz","tza","tzh","tzj","tzl","tzm","tzn","tzo","tzx"],["ug","uk","ur","uz","uam","uan","uar","uba","ubi","ubl","ubr","ubu","uby","uda","ude","udg","udi","udj","udl","udm","udu","ues","ufi","uga","ugb","uge","ugn","ugo","ugy","uha","uhn","uis","uiv","uji","uka","ukg","ukh","uki","ukk","ukl","ukp","ukq","uks","uku","ukv","ukw","uky","ula","ulb","ulc","ule","ulf","uli","ulk","ull","ulm","uln","ulu","ulw","uma","umb","umc","umd","umg","umi","umm","umn","umo","ump","umr","ums","umu","una","und","une","ung","uni","unk","unm","unn","unp","unr","unu","unx","unz","uok","upi","upv","ura","urb","urc","ure","urf","urg","urh","uri","urj","urk","url","urm","urn","uro","urp","urr","urt","uru","urv","urw","urx","ury","urz","usa","ush","usi","usk","usp","uss","usu","uta","ute","uth","utp","utr","utu","uum","uun","uur","uuu","uve","uvh","uvl","uwa","uya","uzn","uzs"],["ve","vi","vo","vaa","vae","vaf","vag","vah","vai","vaj","val","vam","van","vao","vap","var","vas","vau","vav","vay","vbb","vbk","vec","ved","vel","vem","veo","vep","ver","vgr","vgt","vic","vid","vif","vig","vil","vin","vis","vit","viv","vka","vki","vkj","vkk","vkl","vkm","vkn","vko","vkp","vkt","vku","vkz","vlp","vls","vma","vmb","vmc","vmd","vme","vmf","vmg","vmh","vmi","vmj","vmk","vml","vmm","vmp","vmq","vmr","vms","vmu","vmv","vmw","vmx","vmy","vmz","vnk","vnm","vnp","vor","vot","vra","vro","vrs","vrt","vsi","vsl","vsv","vto","vum","vun","vut","vwa"],["wa","wo","waa","wab","wac","wad","wae","waf","wag","wah","wai","waj","wak","wal","wam","wan","wao","wap","waq","war","was","wat","wau","wav","waw","wax","way","waz","wba","wbb","wbe","wbf","wbh","wbi","wbj","wbk","wbl","wbm","wbp","wbq","wbr","wbs","wbt","wbv","wbw","wca","wci","wdd","wdg","wdj","wdk","wdu","wdy","wea","wec","wed","weg","weh","wei","wem","wen","weo","wep","wer","wes","wet","weu","wew","wfg","wga","wgb","wgg","wgi","wgo","wgu","wgw","wgy","wha","whg","whk","whu","wib","wic","wie","wif","wig","wih","wii","wij","wik","wil","wim","win","wir","wit","wiu","wiv","wiw","wiy","wja","wji","wka","wkb","wkd","wkl","wkr","wku","wkw","wky","wla","wlc","wle","wlg","wlh","wli","wlk","wll","wlm","wlo","wlr","wls","wlu","wlv","wlw","wlx","wly","wma","wmb","wmc","wmd","wme","wmg","wmh","wmi","wmm","wmn","wmo","wms","wmt","wmw","wmx","wnb","wnc","wnd","wne","wng","wni","wnk","wnm","wnn","wno","wnp","wnu","wnw","wny","woa","wob","woc","wod","woe","wof","wog","woi","wok","wom","won","woo","wor","wos","wow","woy","wpc","wra","wrb","wrd","wrg","wrh","wri","wrk","wrl","wrm","wrn","wro","wrp","wrr","wrs","wru","wrv","wrw","wrx","wry","wrz","wsa","wsg","wsi","wsk","wsr","wss","wsu","wsv","wtf","wth","wti","wtk","wtm","wtw","wua","wub","wud","wuh","wul","wum","wun","wur","wut","wuu","wuv","wux","wuy","wwa","wwb","wwo","wwr","www","wxa","wxw","wya","wyb","wyi","wym","wyr","wyy"],["xh","xaa","xab","xac","xad","xae","xag","xai","xaj","xak","xal","xam","xan","xao","xap","xaq","xar","xas","xat","xau","xav","xaw","xay","xba","xbb","xbc","xbd","xbe","xbg","xbi","xbj","xbm","xbn","xbo","xbp","xbr","xbw","xbx","xby","xcb","xcc","xce","xcg","xch","xcl","xcm","xcn","xco","xcr","xct","xcu","xcv","xcw","xcy","xda","xdc","xdk","xdm","xdo","xdy","xeb","xed","xeg","xel","xem","xep","xer","xes","xet","xeu","xfa","xga","xgb","xgd","xgf","xgg","xgi","xgl","xgm","xgn","xgr","xgu","xgw","xha","xhc","xhd","xhe","xhr","xht","xhu","xhv","xia","xib","xii","xil","xin","xip","xir","xis","xiv","xiy","xjb","xjt","xka","xkb","xkc","xkd","xke","xkf","xkg","xkh","xki","xkj","xkk","xkl","xkn","xko","xkp","xkq","xkr","xks","xkt","xku","xkv","xkw","xkx","xky","xkz","xla","xlb","xlc","xld","xle","xlg","xli","xln","xlo","xlp","xls","xlu","xly","xma","xmb","xmc","xmd","xme","xmf","xmg","xmh","xmj","xmk","xml","xmm","xmn","xmo","xmp","xmq","xmr","xms","xmt","xmu","xmv","xmw","xmx","xmy","xmz","xna","xnb","xnd","xng","xnh","xni","xnj","xnk","xnm","xnn","xno","xnq","xnr","xns","xnt","xnu","xny","xnz","xoc","xod","xog","xoi","xok","xom","xon","xoo","xop","xor","xow","xpa","xpb","xpc","xpd","xpe","xpf","xpg","xph","xpi","xpj","xpk","xpl","xpm","xpn","xpo","xpp","xpq","xpr","xps","xpt","xpu","xpv","xpw","xpx","xpy","xpz","xqa","xqt","xra","xrb","xrd","xre","xrg","xri","xrm","xrn","xrq","xrr","xrt","xru","xrw","xsa","xsb","xsc","xsd","xse","xsh","xsi","xsj","xsl","xsm","xsn","xso","xsp","xsq","xsr","xss","xsu","xsv","xsy","xta","xtb","xtc","xtd","xte","xtg","xth","xti","xtj","xtl","xtm","xtn","xto","xtp","xtq","xtr","xts","xtt","xtu","xtv","xtw","xty","xtz","xua","xub","xud","xug","xuj","xul","xum","xun","xuo","xup","xur","xut","xuu","xve","xvi","xvn","xvo","xvs","xwa","xwc","xwd","xwe","xwg","xwj","xwk","xwl","xwo","xwr","xwt","xww","xxb","xxk","xxm","xxr","xxt","xya","xyb","xyj","xyk","xyl","xyt","xyy","xzh","xzm","xzp"],["yi","yo","yaa","yab","yac","yad","yae","yaf","yag","yah","yai","yaj","yak","yal","yam","yan","yao","yap","yaq","yar","yas","yat","yau","yav","yaw","yax","yay","yaz","yba","ybb","ybd","ybe","ybh","ybi","ybj","ybk","ybl","ybm","ybn","ybo","ybx","yby","ych","ycl","ycn","ycp","yda","ydd","yde","ydg","ydk","yds","yea","yec","yee","yei","yej","yel","yen","yer","yes","yet","yeu","yev","yey","yga","ygi","ygl","ygm","ygp","ygr","ygs","ygu","ygw","yha","yhd","yhl","yhs","yia","yif","yig","yih","yii","yij","yik","yil","yim","yin","yip","yiq","yir","yis","yit","yiu","yiv","yix","yiy","yiz","yka","ykg","yki","ykk","ykl","ykm","ykn","yko","ykr","ykt","yku","yky","yla","ylb","yle","ylg","yli","yll","ylm","yln","ylo","ylr","ylu","yly","yma","ymb","ymc","ymd","yme","ymg","ymh","ymi","ymk","yml","ymm","ymn","ymo","ymp","ymq","ymr","yms","ymt","ymx","ymz","yna","ynd","yne","yng","ynh","ynk","ynl","ynn","yno","ynq","yns","ynu","yob","yog","yoi","yok","yol","yom","yon","yos","yot","yox","yoy","ypa","ypb","ypg","yph","ypk","ypm","ypn","ypo","ypp","ypz","yra","yrb","yre","yri","yrk","yrl","yrm","yrn","yro","yrs","yrw","yry","ysc","ysd","ysg","ysl","ysm","ysn","yso","ysp","ysr","yss","ysy","yta","ytl","ytp","ytw","yty","yua","yub","yuc","yud","yue","yuf","yug","yui","yuj","yuk","yul","yum","yun","yup","yuq","yur","yut","yuu","yuw","yux","yuy","yuz","yva","yvt","ywa","ywg","ywl","ywn","ywq","ywr","ywt","ywu","yww","yxa","yxg","yxl","yxm","yxu","yxy","yyr","yyu","yyz","yzg","yzk"],["za","zh","zu","zaa","zab","zac","zad","zae","zaf","zag","zah","zai","zaj","zak","zal","zam","zao","zap","zaq","zar","zas","zat","zau","zav","zaw","zax","zay","zaz","zba","zbc","zbe","zbl","zbt","zbu","zbw","zca","zch","zdj","zea","zeg","zeh","zen","zga","zgb","zgh","zgm","zgn","zgr","zhb","zhd","zhi","zhn","zhw","zhx","zia","zib","zik","zil","zim","zin","zir","ziw","ziz","zka","zkb","zkd","zkg","zkh","zkk","zkn","zko","zkp","zkr","zkt","zku","zkv","zkz","zla","zle","zlj","zlm","zln","zlq","zls","zlw","zma","zmb","zmc","zmd","zme","zmf","zmg","zmh","zmi","zmj","zmk","zml","zmm","zmn","zmo","zmp","zmq","zmr","zms","zmt","zmu","zmv","zmw","zmx","zmy","zmz","zna","znd","zne","zng","znk","zns","zoc","zoh","zom","zoo","zoq","zor","zos","zpa","zpb","zpc","zpd","zpe","zpf","zpg","zph","zpi","zpj","zpk","zpl","zpm","zpn","zpo","zpp","zpq","zpr","zps","zpt","zpu","zpv","zpw","zpx","zpy","zpz","zqe","zra","zrg","zrn","zro","zrp","zrs","zsa","zsk","zsl","zsm","zsr","zsu","zte","ztg","ztl","ztm","ztn","ztp","ztq","zts","ztt","ztu","ztx","zty","zua","zuh","zum","zun","zuy","zwa","zxx","zyb","zyg","zyj","zyn","zyp","zza","zzj"]],a=function(){function e(){}return e.isBcp47=function(e){return/^(([a-zA-Z]{2,3}(-[a-zA-Z](-[a-zA-Z]{3}){0,2})?|[a-zA-Z]{4}|[a-zA-Z]{5,8})(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-([0-9a-zA-Z]{5,8}|[0-9][a-zA-Z]{3}))*(-[0-9a-wy-zA-WY-Z](-[a-zA-Z0-9]{2,8})+)*(-x(-[a-zA-Z0-9]{1,8})+)?|x(-[a-zA-Z0-9]{1,8})+|(en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE|art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang))$/.test(e)},e.validPrimaryLang=function(e){var t=e.toLowerCase();return t.includes("-")&&(t=t.split("-")[0]),!!t.match(/[a-z]{2,3}/)&&(3===t.length&&"q"===t.charAt(0)&&t.charCodeAt(1)>=97&&t.charCodeAt(1)<=116&&t.charCodeAt(2)>=97&&t.charCodeAt(2),i[t.charCodeAt(0)-97].includes(t))},e.matchPrimaryLang=function(e,t){var i=e;i.includes("-")&&(i=i.split("-")[0]);var a=t;return a.includes("-")&&(a=a.split("-")[0]),i.toLowerCase()===a.toLowerCase()},e}();t.LangUtil=a},1794:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CommonMapper=void 0;var a=i(7440),l=function(){function e(){this.hierarchyRole=null,this.hierarchyPath=null,this.hierarchyResults=null}return e.prototype.getBounds=function(e){return null},e.prototype.reset=function(e){this.hierarchyRole=[],this.hierarchyResults=[],this.hierarchyPath=[{rolePath:"",roleCount:{}}];for(var t=[],i=a.DOMWalker.parentNode(e);i&&9!=i.nodeType;)t.push(i),i=a.DOMWalker.parentNode(i);for(var l=0,n=t=t.reverse();l<n.length;l++){for(var r=n[l],o=[],s=r.previousSibling;s;)o.push(s),s=s.previousSibling;for(var u=0,d=o=o.reverse();u<d.length;u++){var c=d[u];this.pushHierarchy(c),this.popHierarchy()}this.pushHierarchy(r)}},e.prototype.pushHierarchy=function(e){var t=this.getRole(e)||"none";if(this.hierarchyRole.push(t),"none"!==t){var i=this.hierarchyPath[this.hierarchyPath.length-1];i.roleCount[t]=(i.roleCount[t]||0)+1,this.hierarchyPath.push({rolePath:i.rolePath+"/"+t+"["+i.roleCount[t]+"]",roleCount:{}})}var a={};1===e.nodeType&&(a=this.getAttributes(e)),this.hierarchyResults.push({node:e,namespace:this.getNamespace(),role:t,attributes:a,rolePath:this.hierarchyPath[this.hierarchyPath.length-1].rolePath,bounds:this.getBounds(e)})},e.prototype.popHierarchy=function(){"none"!==this.hierarchyRole.pop()&&this.hierarchyPath.pop(),this.hierarchyResults.pop()},e.prototype.openScope=function(e){return null===this.hierarchyRole&&this.reset(e),this.pushHierarchy(e),this.hierarchyResults},e.prototype.closeScope=function(e){for(var t=[],i=0,a=this.hierarchyResults;i<a.length;i++){var l=a[i];t.push(l)}return t[t.length-1].role="/"+t[t.length-1].role,this.popHierarchy(),t},e}();t.CommonMapper=l},2306:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Context=t.PartInfo=t.AttrInfo=void 0;var i=function(){function e(e,t,i,a){if(this.inclusive=e,this.attr=t,this.eq=i,this.value=a,!e&&void 0!==i&&i.length>0)throw new Error("Cannot have !attr"+i+" context");if(e&&void 0!==i&&i.length>0&&(void 0===a||0===a.length))throw new Error("Cannot have equivalence check without a value")}return e.prototype.matches=function(e){var t=this,i=e.attributes;if(t.attr in i){if(t.inclusive){if(t.eq){var a=i[t.attr];if("="===t.eq)return t.value===a;if("!="===t.eq)return t.value!==a;if("~"===t.eq)return t.value===a;if("!~"===t.eq)return t.value!==a;throw new Error("Context equivalence operator not supported")}return!0}return!1}return!t.inclusive},e}();t.AttrInfo=i;var a=function(){function e(e,t,i,a,l){if(this.inclusive=e,this.namespace=t,this.role=i,this.attrs=a,this.connector=l,"*"===i&&!e)throw new Error("!* context not supported")}return e.prototype.matches=function(e,t){var i=this,a=i.namespace in e&&e[i.namespace][t]&&(e[i.namespace][t].role===i.role||"none"!==e[i.namespace][t].role&&"*"===i.role);if(!a||"*"!==i.role||"dom"!==i.namespace||"#text"!==e[i.namespace][t].role&&"/#text"!==e[i.namespace][t].role||(a=!1),i.inclusive&&!a)return!1;if(!i.inclusive&&!a)return!0;for(var l=i.attrs,n=e[i.namespace][t],r=!0,o=0,s=l;o<s.length;o++){var u=s[o];r=r&&u.matches(n)}return i.inclusive||(r=!r),r},e}();t.PartInfo=a;var l=function(){function e(e){this.contextInfo=[];for(var t=[],l=0,n=e.match(/!?[/a-zA-Z:0-9*\-_]+(\[[^\]]+\])*[ >+~]?/g);l<n.length;l++){for(var r=n[l].match(/(!?)([/a-zA-Z:0-9*\-_]+)((\[[^\]]+\])*)([ >+~]?)/),o=[],s=0,u=r[3].match(/\[([^\]]+)\]/g)||[];s<u.length;s++){var d=u[s].match(/\[(!?)([a-z:A-Z*\-_]+)(!?[=~])?([^\]]+)?\]/);o.push(new i("!"!==d[1],d[2].toLowerCase(),d[3],d[4]))}r[2]=r[2].toLowerCase();var c=r[2].split(":"),m="!"!==r[1],p=c.shift(),h=c.join(":"),_=new a(m,p,h,o,r[r.length-1]);t.push(_)}this.contextInfo=t}return e.cleanContext=function(e){return(e=(e=(e=(e=(e=e.toLowerCase().trim()).replace(/ +!/g," !")).replace(/ +([>+~,])/g,"$1")).replace(/([>+~,]) +/g,"$1")).replace(/ +/g," ")).trim()},e.parse=function(t){for(var i=e.splitMultiple(e.cleanContext(t)),a=[],l=0;l<i.length;++l){var n=new e(i[l]);a.push(n)}return a},e.splitMultiple=function(e){var t=[];if(e)if(-1===e.indexOf(","))t.push(e);else for(var i=0,a=e.split(",");i<a.length;i++){var l=a[i];t.push(l)}return t},e}();t.Context=l},9324:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Engine=void 0;var a=i(7440),l=i(2306),n=i(3962),r=i(5697),o=i(295),s=i(7788),u=i(4377),d=i(8656),c=function(){function e(e,t){this.rule=e,this.parsedInfo=t,this.ns=this.parsedInfo.contextInfo[this.parsedInfo.contextInfo.length-1].namespace,n.Config.DEBUG&&console.log("Added Rule:",e.id,JSON.stringify(this.parsedInfo))}return e.convertNodeToSnippet=function(e){var t="";t+="<"+e.nodeName.toLowerCase();var i=e.attributes;if(null!=i)for(var a=i.length-1;a>=0;a--)"data-namewalk"!==i[a].name&&(t+=" "+i[a].name+'="'+i[a].value+'"');return t+">"},e.prototype.run=function(t,i,a,l){var n,r=(new Date).getTime();try{n=this.rule.run(i,a,l)}catch(e){var o=e;throw console.error("RULE EXCEPTION:",this.rule.id,i.dom.rolePath,o.stack),e}var s=(new Date).getTime();n||(n=[]),n instanceof Array||(n=[n]);for(var u=[],d=0,c=n;d<c.length;d++){var m=c[d],p=t.getMessage(this.rule.id,m.reasonId,m.messageArgs),h={};for(var _ in i)h[_]=i[_].rolePath;var b=this.rule.id.replace(/^(.*)\$\$\d+$/,"$1");u.push({ruleId:b,value:m.value,node:i.dom.node,path:h,ruleTime:s-r,reasonId:m.reasonId,message:p,messageArgs:m.messageArgs,apiArgs:m.apiArgs,bounds:i.dom.bounds,snippet:e.convertNodeToSnippet(i.dom.node)})}return u},e}(),m=function(){function e(){this.mappers={},this.ruleMap={},this.wrappedRuleMap={},this.nlsMap={},this.helpMap={},this.inclRules={},this.exclRules={},this.addMapper(new r.DOMMapper)}return e.getLanguages=function(){var e="undefined"!=typeof process&&void 0===process.nodeType&&process.env,t="en-US";return e&&(t=(t=e.LANG||e.LANGUAGE||e.LC_ALL||e.LC_MESSAGES)&&t.length>0?t.split(".")[0].replace(/_/g,"-"):"en-US"),"undefined"!=typeof navigator&&navigator.languages||[t]},e.prototype.run=function(e,t){if(null===e)return Promise.reject("null document");9===e.nodeType&&(e=e.documentElement),e.ownerDocument&&(e.ownerDocument.PT_CHECK_HIDDEN_CONTENT=!1),s.CacheUtil.clearCaches(e);var i=new a.DOMWalker(e,!1,e,!0),l={results:[],numExecuted:0,ruleTime:0,totalTime:0},n=(new Date).getTime();for(var r in this.mappers)this.mappers[r].reset(e);do{var c={};for(var r in this.mappers)i.bEndTag?c[r]=this.mappers[r].closeScope(i.node):c[r]=this.mappers[r].openScope(i.node);if(11!==i.node.nodeType&&(d.VisUtil.isNodeVisible(i.node)||"meta"===i.node.nodeName.toLowerCase()||"style"===i.node.nodeName.toLowerCase()||"datalist"===i.node.nodeName.toLowerCase()||"param"===i.node.nodeName.toLowerCase()||!o.DOMUtil.getAncestor(i.node,["body"]))){var m={};for(var p in c){var h=c[p],_=h[h.length-1];m[p]=_}for(var b={},g=0,f=this.getMatchingRules(c);g<f.length;g++){for(var v=f[g],A=!0,y=0,w=v.rule.dependencies||[];y<w.length;y++)b[w[y]]||(A=!1);if(A){var k=[];try{k=v.run(this,m,t,c)}catch(e){}0===k.length&&(b[v.rule.id]=!0);for(var C=0,x=k;C<x.length;C++){var P=x[C];l.results.push(P),l.ruleTime+=P.ruleTime,l.numExecuted++,P.value[1]===u.eRuleConfidence.PASS&&(b[P.ruleId]=!0)}}}}}while(i.nextNode());return s.CacheUtil.clearCaches(e),l.totalTime=(new Date).getTime()-n,Promise.resolve(l)},e.prototype.enableRules=function(e){for(var t in this.ruleMap)this.ruleMap[t].enabled=!1;for(var i=0,a=e||[];i<a.length;i++)(t=a[i])in this.ruleMap?this.ruleMap[t].enabled=!0:console.warn("WARNING: Rule Id",t,"could not be enabled.")},e.prototype.getRule=function(e){return this.ruleMap[e]},e.prototype.getRulesIds=function(){var e=[];for(var t in this.ruleMap)e.push(t);return e},e.prototype.addRules=function(e){for(var t=0,i=e;t<i.length;t++){var a=i[t];this.addRule(a,!0)}this._sortRules()},e.prototype.addRule=function(e,t){var i=l.Context.parse(e.context),a=0,n=e.id;if(n in this.ruleMap)console.log("WARNING: Rule",n,"already added to engine. Ignoring...");else{this.ruleMap[n]=e;for(var r=0,o=i;r<o.length;r++){var s=o[r],u=n;a>=1&&(u=n+"$$"+a),++a;var d=new c(e,s);this.wrappedRuleMap[u]=d;var m=d.parsedInfo.contextInfo,p=m[m.length-1],h=p.namespace+":"+p.role;p.inclusive?(this.inclRules[h]=this.inclRules[h]||[],this.inclRules[h].push(d)):(this.exclRules[h]=this.exclRules[h]||[],this.exclRules[h].push(d))}t||this._sortRules()}},e.prototype._sortRules=function(){for(var e in this.inclRules)this.inclRules[e].sort((function(e,t){var i=e.rule.dependencies&&e.rule.dependencies.length>0;return t.rule.dependencies&&t.rule.dependencies.length>0&&t.rule.dependencies.includes(e.rule.id)?-1:i&&e.rule.dependencies.includes(t.rule.id)?1:0}));for(var e in this.exclRules)this.exclRules[e].sort((function(e,t){var i=e.rule.dependencies&&e.rule.dependencies.length>0;return t.rule.dependencies&&t.rule.dependencies.length>0&&t.rule.dependencies.includes(e.rule.id)?-1:i&&e.rule.dependencies.includes(t.rule.id)?1:0}))},e.prototype.addNlsMap=function(e){for(var t in e)this.nlsMap[t]=e[t]},e.prototype.addHelpMap=function(e){for(var t in e)this.helpMap[t]=e[t]},e.prototype.getMessage=function(e,t,i){var a=e.indexOf("$$");if(a>=0&&(e=e.substring(0,a)),!(e in this.nlsMap))return e;var l=this.nlsMap[e][t||0];return l?l.replace(/\{(\d+)\}/g,(function(e,t,a){return i[t]})):e+"_"+t},e.prototype.getHelp=function(e,t,i){return i||(i="latest"),"".concat(n.Config.helpRoot,"/").concat(i,"/doc").concat(this.getHelpRel(e,t))},e.prototype.getHelpRel=function(e,t){var i=e.indexOf("$$");return i>=0&&(e=e.substring(0,i)),e in this.helpMap?((t=t||0)in this.helpMap[e]?this.helpMap[e][t||0]:this.helpMap[e][0])||e+"_"+t:e},e.prototype.addMapper=function(e){this.mappers[e.getNamespace()]=e},e.match=function(e,t){var i=e.parsedInfo.contextInfo,a=i.length-1,l=i[a].namespace,n=t[l][t[l].length-1],r=n.node;if(!i[a].matches(t,t[l].length-1))return!1;if(1===i.length)return!0;if(n=t[l=i[0].namespace][t[l].length-1],--a,i.slice(0,i.length-1).some((function(e){return e.namespace!==l})))return console.error("[ERROR] Rule ".concat(e.rule.id," has inconsitent parent namespaces")),!1;for(var o=t[l].length-(n.node.isSameNode(r)?2:1);o>=0&&a>=0;){var s=i[a],u=i[a].matches(t,o);if(">"===s.connector){if(!u)return!1;--a,--o}else{if(" "!==s.connector)throw new Error("Context connector "+s.connector+" is not supported");if(s.inclusive)u&&--a,--o;else{if(!u)return!1;for(var d=!1,c=o-1;!d&&c>=0;--c)d=!i[a].matches(t,c);if(d)return!1;--a}}}return-1===a},e.prototype.getMatchingRules=function(t){var i=[];function a(a){for(var l=0,n=a;l<n.length;l++){var r=n[l];r.rule.enabled&&e.match(r,t)&&i.push(r)}}for(var l in t){var n=l+":"+(t[l].length>0?t[l][t[l].length-1].role:"none");for(var r in n in this.inclRules&&a(this.inclRules[n]),this.exclRules)r!==n&&a(this.exclRules[r]);n!==l+":none"&&(n.startsWith(l+":/")?l+":/*"in this.inclRules&&a(this.inclRules[l+":/*"]):l+":*"in this.inclRules&&a(this.inclRules[l+":*"]))}return this.sortDeps(i)},e.prototype.sortDeps=function(e){for(var t=[],i=0,a=e;i<a.length;i++){var l=a[i];t.push(l)}var n=[],r={},o=!1;do{o=!1;for(var s=0;s<t.length;++s){var u=t[s];if(!(u.rule.id in r)){var d=!0;if(u.rule.dependencies&&u.rule.dependencies.length>0)for(var c=0,m=u.rule.dependencies;c<m.length;c++)m[c]in r||(d=!1);d&&(o=!0,n.push(u),r[u.rule.id]=!0,t.splice(s--,1))}}}while(o);return n},e}();t.Engine=m},3962:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Config=void 0;var i=function(){function e(){}return e.DEBUG=!1,e.helpRoot="https://able.ibm.com/rules/archives",e}();t.Config=i},5697:function(e,t,i){var a,l=this&&this.__extends||(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},a(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.DOMMapper=void 0;var n=i(1794),r=i(7788),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.getRole=function(e){return e.nodeName.toLowerCase()},t.prototype.getNamespace=function(){return"dom"},t.prototype.getAttributes=function(e){var t={};if(1===e.nodeType)for(var i=e,a=0;a<i.attributes.length;++a){var l=i.attributes[a];t[l.name.toLowerCase()]=l.nodeValue}return t},t.prototype.getBounds=function(e){if(1!==e.nodeType)return null;var t=r.CacheUtil.getCache(e,"DOMMapper_Bounds",void 0);if(void 0===t){var i=1;e.ownerDocument&&e.ownerDocument.defaultView&&e.ownerDocument.defaultView.devicePixelRatio&&(i=e.ownerDocument.defaultView.devicePixelRatio);var a=e.getBoundingClientRect();if(a){var l=e&&e.ownerDocument&&e.ownerDocument.defaultView&&e.ownerDocument.defaultView.scrollX||0,n=e&&e.ownerDocument&&e.ownerDocument.defaultView&&e.ownerDocument.defaultView.scrollY||0,o={left:Math.ceil((a.left+l)*i),top:Math.ceil((a.top+n)*i),height:Math.ceil(a.height*i),width:Math.ceil(a.width*i)};return r.CacheUtil.setCache(e,"DOMMapper_Bounds",o),o}return null}return t},t.prototype.getUnadjustedBounds=function(e){if(1!==e.nodeType)return null;var t=r.CacheUtil.getCache(e,"DOMMapper_UnadjustedBounds",void 0);if(void 0===t){var i=e.getBoundingClientRect();if(i){var a=e&&e.ownerDocument&&e.ownerDocument.defaultView&&e.ownerDocument.defaultView.scrollX||0,l=e&&e.ownerDocument&&e.ownerDocument.defaultView&&e.ownerDocument.defaultView.scrollY||0,n={left:Math.ceil(i.left+a),top:Math.ceil(i.top+l),height:Math.ceil(i.height),width:Math.ceil(i.width)};return r.CacheUtil.setCache(e,"DOMMapper_UnadjustedBounds",n),n}return null}return t},t}(n.CommonMapper);t.DOMMapper=o},295:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DOMUtil=void 0;var a=i(7440),l=function(){function e(){}return e.hasParent=function(e,t){for(var i=a.DOMWalker.parentElement(e);i&&!t.includes(i.nodeName);)i=a.DOMWalker.parentElement(i);return!!i},e.getAncestor=function(e,t){for(var i=a.DOMWalker.parentElement(e);i&&!t.includes(i.nodeName.toLowerCase());)i=a.DOMWalker.parentElement(i);return i},e.sameNode=function(e,t){return e===t||(e.isSameNode?e.isSameNode(t):!e.compareDocumentPosition||0===e.compareDocumentPosition(t))},e.cleanWhitespace=function(e){return e.replace(/[ \t\r\n]/g," ").replace(/ +/g," ")},e.cleanSpace=function(e){return e.replace(/ +/g," ")},e.isInSameTable=function(t,i){if(t&&i){var a=["table"],l=e.getAncestor(t,a),n=e.getAncestor(i,a);if(null!==l&&null!=n&&e.sameNode(l,n))return!0}return!1},e.shadowRootNode=function(e){for(var t=e;null!=t&&11!==t.nodeType;)t=t.parentNode;return t},e.objectCopyWithNodeRefs=function(e){if(!e)return e;if("object"!=typeof e)return"function"==typeof e?e:JSON.parse(JSON.stringify(e));if(e instanceof Node||e.nodeType)return e;var t=void 0;if("Array"===e.constructor.name){t=[];for(var i=0,a=e;i<a.length;i++){var l=a[i];t.push(this.objectCopyWithNodeRefs(l))}}else for(var n in t={},e)t[n]=this.objectCopyWithNodeRefs(e[n]);return t},e.getAncestorWithAttribute=function(e,t,i){for(var l=a.DOMWalker.parentNode(e);null!==l;){if(1===l.nodeType&&l.getAttribute(t)===i)return l;l=a.DOMWalker.parentNode(l)}return null},e}();t.DOMUtil=l},7440:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DOMWalker=void 0;var a=i(8656),l=function(){function e(e,t,i,a,l){this.DEBUGIDX=0,this.indent=0,this.DEBUG=!!l,this.root=i||(e&&e.ownerDocument?e.ownerDocument.documentElement:e),9===this.root.nodeType&&(this.root=this.root.documentElement),this.node=e,9===this.node.nodeType&&(this.node=this.node.documentElement),this.bEndTag=null!=t&&1==t,this.considerHidden=a||!1}return e.prototype.elem=function(){return 1===this.node.nodeType&&this.node||null},e.parentNode=function(e){if(null===e)return null;var t=e.parentNode;return e.slotOwner?t=e.slotOwner:e.ownerElement?t=e.ownerElement:t&&11===t.nodeType&&(t=t.host?t.host:null),t},e.parentElement=function(t){var i=t;do{i=e.parentNode(i)}while(i&&1!==i.nodeType);return i},e.assignSlots=function(e){for(var t=e.querySelectorAll("slot"),i=0;i<t.length;++i)for(var a=t[i],l=a.assignedNodes(),n=0;n<l.length;++n)l[n].slotOwner=a,l[n].slotIndex=n},e.firstChildNotOwnedBySlot=function(e){for(var t=e.firstChild;t&&t.slotOwner;)t=t.nextSibling;return t},e.lastChildNotOwnedBySlot=function(e){for(var t=e.lastChild;t&&t.slotOwner;)t=t.previousSibling;return t},e.nextSiblingNotOwnedBySlot=function(e){for(var t=e.nextSibling;t&&t.slotOwner;)t=t.nextSibling;return t},e.previousSiblingNotOwnedBySlot=function(e){for(var t=e.previousSibling;t&&t.slotOwner;)t=t.previousSibling;return t},e.prototype.atRoot=function(){return!this.ownerElement&&(this.root===this.node||(this.root.isSameNode?this.root.isSameNode(this.node):this.root.compareDocumentPosition?0===this.root.compareDocumentPosition(this.node):null===this.node.parentNode))},e.prototype.nextNode=function(){var t=this,i=function(){for(var e="",i=0;i<t.indent;++i)e+=" ";return e},l=this.node.nodeName;if(!this.node)return this.bEndTag=!1,!1;do{if(this.bEndTag){if(this.atRoot())return!1;if(this.node.slotOwner){var n=this.node.slotOwner,r=this.node.slotIndex+1;r<n.assignedNodes().length?(this.node=n.assignedNodes()[r],this.bEndTag=!1):(this.node=n,this.bEndTag=!0)}else if(this.node.ownerElement)this.node=this.node.ownerElement,this.bEndTag=!0;else if(e.nextSiblingNotOwnedBySlot(this.node))this.node=e.nextSiblingNotOwnedBySlot(this.node),this.bEndTag=!1;else{if(!this.node.parentNode)return!1;this.node=this.node.parentNode,this.bEndTag=!0}}else{var o=this.node,s=this.node,u=this.node;if(1===this.node.nodeType&&"IFRAME"===this.node.nodeName.toUpperCase()&&(!this.considerHidden||a.VisUtil.isNodeVisible(o))&&o.contentDocument&&o.contentDocument.documentElement){var d=this.node;this.node=o.contentDocument.documentElement,this.node.ownerElement=d}else 1===this.node.nodeType&&(!this.considerHidden||a.VisUtil.isNodeVisible(s))&&s.shadowRoot&&s.shadowRoot.firstChild?(d=this.node,this.node=s.shadowRoot,this.node.ownerElement=d,e.assignSlots(this.node)):1===this.node.nodeType&&"slot"===s.nodeName.toLowerCase()&&u.assignedNodes().length>0?this.node=u.assignedNodes()[0]:1!==this.node.nodeType&&11!==this.node.nodeType||!e.firstChildNotOwnedBySlot(this.node)?this.bEndTag=!0:this.node=e.firstChildNotOwnedBySlot(this.node)}}while(1!==this.node.nodeType&&11!==this.node.nodeType&&3!==this.node.nodeType||1===this.node.nodeType&&"ACE"===this.node.getAttribute("aChecker"));return this.bEndTag&&(this.indent-=2),this.DEBUG&&console.log(i()+"<".concat(this.bEndTag?"/":"").concat(this.node.nodeName,"> (from ").concat(l,") ").concat(this.DEBUGIDX++)),this.DEBUG&&this.node.slotOwner&&console.log(i()+"slotOwner: ".concat(this.node.slotOwner.nodeName)),this.DEBUG&&this.node.slotIndex&&console.log(i()+"slotIndex: ".concat(this.node.slotIndex)),this.DEBUG&&this.node.ownerElement&&console.log(i()+"ownerElement: ".concat(this.node.ownerElement.nodeName)),this.bEndTag||(this.indent+=2),!0},e.prototype.prevNode=function(){do{if(this.bEndTag){var t=this.node,i=this.node;if(1===this.node.nodeType&&"IFRAME"===this.node.nodeName.toUpperCase()&&(!this.considerHidden||a.VisUtil.isNodeVisible(t))&&t.contentDocument&&t.contentDocument.documentElement){var l=this.node;this.node=t.contentDocument.documentElement,this.node.ownerElement=l}else 1===this.node.nodeType&&(!this.considerHidden||a.VisUtil.isNodeVisible(i))&&i.shadowRoot&&i.shadowRoot.lastChild?(l=this.node,this.node=i.shadowRoot,this.node.ownerElement=l,e.assignSlots(this.node)):1!==this.node.nodeType&&11!==this.node.nodeType||!e.lastChildNotOwnedBySlot(this.node)?this.bEndTag=!1:this.node=e.lastChildNotOwnedBySlot(this.node)}else{if(this.atRoot())return!1;if(e.previousSiblingNotOwnedBySlot(this.node))this.node=e.previousSiblingNotOwnedBySlot(this.node),this.bEndTag=!0;else if(this.node.ownerElement)this.node=this.node.ownerElement,this.bEndTag=!1;else{if(!this.node.parentNode)return!1;this.node=this.node.parentNode,this.bEndTag=!1}}}while(1!==this.node.nodeType&&11!==this.node.nodeType&&3!==this.node.nodeType||1===this.node.nodeType&&"ACE"===this.node.getAttribute("aChecker"));return!0},e}();t.DOMWalker=l},1970:function(e,t,i){var a,l=this&&this.__extends||(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},a(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.StyleMapper=void 0;var n=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.getRole=function(e){return"computed"},t.prototype.getNamespace=function(){return"css"},t.prototype.getAttributes=function(e){var t={};if(1===e.nodeType)for(var i=e,a=i.ownerDocument.defaultView.getComputedStyle(i),l=0;l<a.length;++l){var n=a[l].toLowerCase();t[n]=a[n]}return t},t}(i(1794).CommonMapper);t.StyleMapper=n},3005:(e,t)=>{var i,a,l;Object.defineProperty(t,"__esModule",{value:!0}),t.eGuidelineType=t.eGuidelineCategory=t.eToolkitLevel=void 0,(l=t.eToolkitLevel||(t.eToolkitLevel={})).LEVEL_ONE="1",l.LEVEL_TWO="2",l.LEVEL_THREE="3",l.LEVEL_FOUR="4",(a=t.eGuidelineCategory||(t.eGuidelineCategory={})).ACCESSIBILITY="Accessibility",a.DESIGN="Design",a.OTHER="Other",(i=t.eGuidelineType||(t.eGuidelineType={})).DEFAULT="default",i.EXTENSION="extension"},4377:(e,t,i)=>{var a,l;Object.defineProperty(t,"__esModule",{value:!0}),t.eRulesetType=t.eRuleCategory=t.eToolkitLevel=t.RuleManual=t.RulePotential=t.RuleFail=t.RuleRender=t.RulePass=t.eRulePolicy=t.eRuleConfidence=void 0,function(e){e.PASS="PASS",e.FAIL="FAIL",e.POTENTIAL="POTENTIAL",e.MANUAL="MANUAL"}(a=t.eRuleConfidence||(t.eRuleConfidence={})),function(e){e.VIOLATION="VIOLATION",e.RECOMMENDATION="RECOMMENDATION",e.INFORMATION="INFORMATION"}(l=t.eRulePolicy||(t.eRulePolicy={})),t.RulePass=function(e,t,i){if(null==e)throw new Error("Reason ID must be defined");return{value:[l.INFORMATION,a.PASS],reasonId:e,messageArgs:t||[],apiArgs:i||[]}},t.RuleRender=function(e,t,i){if(null==e)throw new Error("Reason ID must be defined");return{value:[l.INFORMATION,a.PASS],reasonId:0,messageArgs:t||[],apiArgs:i||[]}},t.RuleFail=function(e,t,i){if(null==e)throw new Error("Reason ID must be defined");return{value:[l.INFORMATION,a.FAIL],reasonId:e,messageArgs:t||[],apiArgs:i||[]}},t.RulePotential=function(e,t,i){if(null==e)throw new Error("Reason ID must be defined");return{value:[l.INFORMATION,a.POTENTIAL],reasonId:e,messageArgs:t||[],apiArgs:i||[]}},t.RuleManual=function(e,t,i){if(null==e)throw new Error("Reason ID must be defined");return{value:[l.INFORMATION,a.MANUAL],reasonId:e,messageArgs:t||[],apiArgs:i||[]}};var n=i(3005);Object.defineProperty(t,"eToolkitLevel",{enumerable:!0,get:function(){return n.eToolkitLevel}});var r=i(3005);Object.defineProperty(t,"eRuleCategory",{enumerable:!0,get:function(){return r.eGuidelineCategory}});var o=i(3005);Object.defineProperty(t,"eRulesetType",{enumerable:!0,get:function(){return o.eGuidelineType}})},7884:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Checker=void 0;var a=i(4377),l=i(9324),n=i(4944),r=i(1970),o=i(1070),s=i(8081),u=i(3005),d=[],c={},m={};!function(){var e=JSON.parse(JSON.stringify(l.Engine.getLanguages()));for(var t in e.push("en-US"),s){var i=s[t];d.push(i);for(var a=e.length-1;a>=0;--a){var n=e[a];if(n in i.messages&&(c[i.id]=i.messages[n],c[i.id][0]=c[i.id].group),n in i.help){for(var r in m[i.id]={},i.help[n])m[i.id][r]="/".concat(n,"/").concat(i.help[n][r]);c[i.id][0]=c[i.id].group}}for(var u=0,p=i.rulesets;u<p.length;u++)for(var h=p[u],_=0,b=o.a11yRulesets;_<b.length;_++){var g=b[_];if(("string"==typeof h.id?[h.id]:h.id).includes(g.id))for(var f=0,v=g.checkpoints;f<v.length;f++){var A=v[f];("string"==typeof h.num?[h.num]:h.num).includes(A.num)&&(A.rules=A.rules||[],A.rules.push({id:i.id,reasonCodes:h.reasonCodes,level:h.level,toolkitLevel:h.toolkitLevel}))}}}}();var p=function(){function e(){this.guidelines=[],this.rulesets=this.guidelines,this.rulesetIds=[],this.rulesetRules={},this.ruleLevels={},this.ruleReasonLevels={},this.ruleCategory={};var e=this.engine=new l.Engine;e.addMapper(new n.ARIAMapper),e.addMapper(new r.StyleMapper),e.addRules(d),e.addNlsMap(c),e.addHelpMap(m);for(var t=0,i=o.a11yRulesets;t<i.length;t++){var a=i[t];this.addRuleset(a)}}return e.prototype.addGuideline=function(e){e.id in this.rulesetRules&&this.removeGuideline(e.id),this.guidelines.push(e),this.rulesetIds.push(e.id);for(var t=[],i=0,a=e.checkpoints;i<a.length;i++){var l=a[i];l.rules=l.rules||[];for(var n=0,r=l.rules;n<r.length;n++){var o=r[n];if(!1!==o.enabled){t.push(o.id),this.ruleReasonLevels[o.id]=this.ruleReasonLevels[o.id]||{},this.ruleReasonLevels[o.id][e.id]=this.ruleReasonLevels[o.id][e.id]||{};var s=o.reasonCodes?o.reasonCodes.join("--"):"None";this.ruleReasonLevels[o.id][e.id][s]=o.level,this.ruleCategory[o.id]=this.ruleCategory[o.id]||{},this.ruleCategory[o.id][e.id]=e.category}}}this.rulesetRules[e.id]=t},e.prototype.enableRule=function(e){for(var t=0,i=this.getGuidelines();t<i.length;t++){for(var a=i[t],l=!1,n=0,r=a.checkpoints;n<r.length;n++)for(var o=0,s=r[n].rules;o<s.length;o++){var u=s[o];!1===u.enabled&&(l=!0,delete u.enabled)}l&&this.addGuideline(a)}},e.prototype.disableRule=function(e){for(var t=0,i=this.getGuidelines();t<i.length;t++){for(var a=i[t],l=!1,n=0,r=a.checkpoints;n<r.length;n++)for(var o=0,s=r[n].rules;o<s.length;o++){var u=s[o];!1!==u.enabled&&(l=!0,u.enabled=!1)}l&&this.addGuideline(a)}},e.prototype.removeGuideline=function(e){e in this.rulesetRules&&(delete this.rulesetRules[e],this.rulesets=this.guidelines=this.guidelines.filter((function(t){return t.id!==e})),this.rulesetIds=this.getGuidelineIds())},e.prototype.getGuidelines=function(){return JSON.parse(JSON.stringify(this.guidelines))},e.prototype.getGuidelineIds=function(){return this.guidelines.map((function(e){return e.id}))},e.prototype.addRuleset=function(e){this.addGuideline(e)},e.prototype.check=function(e,t){var i=[];if(t){"string"==typeof t&&(t=[t]);for(var a=0,l=t;a<l.length;a++){var n=l[a];n in this.rulesetRules&&(i=i.concat(this.rulesetRules[n]))}}else i=this.engine.getRulesIds();this.engine.enableRules(i);var r=this;return this.engine.run(e).then((function(e){e.nls={};for(var i=0,a=e.results;i<a.length;i++){var l=a[i];l.ruleId in c&&(e.nls[l.ruleId]=e.nls[l.ruleId]||{0:c[l.ruleId][0]},l.reasonId in c[l.ruleId]&&(e.nls[l.ruleId][l.reasonId]=c[l.ruleId][l.reasonId]));var n=l.reasonId?l.reasonId:"None";l.value[0]=r.getReasonLevel(t,l.ruleId,n),l.category=r.getCategory(t,l.ruleId),delete l.path.css}return e}))},e.prototype.getLevel=function(e,t){if(!e)return a.eRulePolicy.INFORMATION;var i=this.ruleLevels[t],l=null;if(e){if(!(t in this.ruleLevels))throw new Error("Rule triggered for which we have no rule level information: "+t);for(var n=0,r=e;n<r.length;n++){var o=r[n];o in i&&(i[o]===a.eRulePolicy.VIOLATION?l=a.eRulePolicy.VIOLATION:i[o]===a.eRulePolicy.RECOMMENDATION&&null===l?l=a.eRulePolicy.RECOMMENDATION:null===l&&(l=a.eRulePolicy.INFORMATION))}}if(null===l)throw new Error("Rule triggered for which we have no rule level information: "+t);return l},e.prototype.getReasonLevel=function(e,t,i){if(!e)return a.eRulePolicy.INFORMATION;var l=this.ruleReasonLevels[t],n=null;if(e){if(!(t in this.ruleReasonLevels))throw new Error("Rule triggered for which we have no rule level information "+t);for(var r=function(e){if(e in l){var t=new RegExp("(^|--)".concat(i,"($|--)"));Object.keys(l[e]).forEach((function(i){var r=null;"None"===i?r=l[e].None:t.test(i)&&(r=l[e][i]),null!==r&&(r===a.eRulePolicy.VIOLATION?n=a.eRulePolicy.VIOLATION:r===a.eRulePolicy.RECOMMENDATION&&null===n?n=a.eRulePolicy.RECOMMENDATION:null===n&&(n=a.eRulePolicy.INFORMATION))})),null===n&&(n=a.eRulePolicy.INFORMATION)}},o=0,s=e;o<s.length;o++)r(s[o])}if(null===n)throw new Error("Rule triggered for which we have no rule level information: "+t);return n},e.prototype.getCategory=function(e,t){var i=this.ruleCategory[t];if(!(t in this.ruleCategory))return u.eGuidelineCategory.OTHER;e||(e=this.getGuidelineIds());for(var a=0,l=e;a<l.length;a++){var n=l[a];if(n in i)return i[n]}return u.eGuidelineCategory.OTHER},e}();t.Checker=p},8980:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.a_target_warning=void 0;var a=i(8137),l=i(8656),n=i(4377),r=i(4377);t.a_target_warning={id:"a_target_warning",context:"dom:a[target],dom:area[target],dom:base[target]",refactor:{WCAG20_A_TargetAndText:{Pass_0:"pass",Potential_1:"potential_warn"}},help:{"en-US":{group:"a_target_warning.html",pass:"a_target_warning.html",potential_warn:"a_target_warning.html"}},messages:{"en-US":{group:"Users should be warned in advance if their input action will open a new window",pass:"The user is warned in advance that the input action opens a new window",potential_warn:"Inform the user when their input action will open a new window"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"3.2.2",level:r.eRulePolicy.RECOMMENDATION,toolkitLevel:r.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var r=e.dom.node;if(l.VisUtil.isNodeHiddenFromAT(r)&&!a.CommonUtil.isTabbable(r))return null;var o={paramWinText:{value:["new window","new tab"],type:"array"}},s=r.getAttribute("target"),u="_parent"==s||"_self"==s||"_top"==s||null!=a.CommonUtil.getFrameByName(r,s);if(!u){var d=a.CommonUtil.getInnerText(r);r.hasAttribute("title")&&(d+=" "+r.getAttribute("title"));for(var c=0;!u&&c<o.paramWinText.value.length;++c)-1!=d.indexOf(o.paramWinText.value[c])&&(u=!0)}return u?(0,n.RulePass)("pass"):(0,n.RulePotential)("potential_warn")}}},3961:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.a_text_purpose=void 0;var a=i(4377),l=i(8137),n=i(8656),r=i(4377),o=i(1421);t.a_text_purpose={id:"a_text_purpose",context:"aria:link,aria:doc-biblioref",refactor:{WCAG20_A_HasText:{Pass_0:"pass",Fail_1:"fail_acc_name"}},help:{"en-US":{group:"a_text_purpose.html",pass:"a_text_purpose.html",fail_acc_name:"a_text_purpose.html"}},messages:{"en-US":{group:"Hyperlinks must have an accessible name for their purpose",pass:"Hyperlink has a description of its purpose",fail_acc_name:"Hyperlink has no link text, label or image with a text alternative"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:["2.4.4","4.1.2"],level:r.eRulePolicy.VIOLATION,toolkitLevel:r.eToolkitLevel.LEVEL_TWO}],act:"c487ae",run:function(e,t){var i=e.dom.node;if(n.VisUtil.isNodeHiddenFromAT(i)||l.CommonUtil.isNodeDisabled(i))return null;var r=o.AccNameUtil.computeAccessibleName(i);return r&&r.name&&r.name.trim().length>0||l.CommonUtil.nonTabableChildCheck(i)?(0,a.RulePass)("pass"):(0,a.RuleFail)("fail_acc_name")}}},1445:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.applet_alt_exists=void 0;var a=i(8137),l=i(8656),n=i(4377),r=i(4377);t.applet_alt_exists={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:"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":{group:"<applet> elements must provide an 'alt' attribute and an alternative description",Pass_0:"Rule Passed",Fail_1:"An <applet> element does not have an 'alt' attribute that provides a short text alternative",Fail_2:"The 'alt' attribute value for an <applet> element duplicates the 'code' attribute",Fail_3:"An <applet> element provides alternative text, but does not provide inner content"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"1.1.1",level:r.eRulePolicy.VIOLATION,toolkitLevel:r.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var r=e.dom.node;if(l.VisUtil.isNodeHiddenFromAT(r))return null;if(a.CommonUtil.attributeNonEmpty(r,"alt")){var o=r.getAttribute("alt").trim();return r.hasAttribute("code")&&o==r.getAttribute("code").trim()?(0,n.RuleFail)("Fail_2"):a.CommonUtil.hasInnerContentHidden(r)?(0,n.RulePass)("Pass_0"):(0,n.RuleFail)("Fail_3")}return(0,n.RuleFail)("Fail_1")}}},876:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.application_content_accessible=void 0;var a=i(490),l=i(8656),n=i(4377),r=i(4377);t.application_content_accessible={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:"application_content_accessible.html",Pass_0:"application_content_accessible.html",Potential_1:"application_content_accessible.html"}},messages:{"en-US":{group:'Non-decorative static text and image content within an element with "application" role must be accessible',Pass_0:"Rule Passed",Potential_1:'Verify that the non-decorative static text and image content within an element with "application" role are accessible'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:["1.1.1","2.1.1"],level:r.eRulePolicy.VIOLATION,toolkitLevel:r.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){for(var r=!0,o=e.dom.node.childNodes,s=0;r&&s<o.length;s++)1===o[s].nodeType?l.VisUtil.isNodeVisible(o[s])&&(r=a.AriaUtil.hasRoleInSemantics(o[s],"document")||a.AriaUtil.hasRoleInSemantics(o[s],"article")):3===o[s].nodeType&&(r=0===o[s].nodeValue.trim().length);return r?(0,n.RulePass)("Pass_0"):(0,n.RulePotential)("Potential_1")}}},2768:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.area_alt_exists=void 0;var a=i(8137),l=i(8656),n=i(4377),r=i(4377);t.area_alt_exists={id:"area_alt_exists",context:"dom:area",refactor:{WCAG20_Area_HasAlt:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{group:"area_alt_exists.html",Pass_0:"area_alt_exists.html",Fail_1:"area_alt_exists.html"}},messages:{"en-US":{group:"<area> elements in an image map must have a text alternative",Pass_0:"Rule Passed",Fail_1:"<area> element in an image map has no text alternative"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"1.1.1",level:r.eRulePolicy.VIOLATION,toolkitLevel:r.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var r=e.dom.node;return l.VisUtil.isNodeHiddenFromAT(r)?null:a.CommonUtil.attributeNonEmpty(r,"alt")?(0,n.RulePass)("Pass_0"):(0,n.RuleFail)("Fail_1")}}},2533:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_accessiblename_exists=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8656),o=i(1421);t.aria_accessiblename_exists={id:"aria_accessiblename_exists",context:"aria:columnheader, aria:form, aria:heading, aria:rowheader, aria:table, aria:graphics-document,aria:graphics-symbol, aria:img,aria:image, doc-backlink, doc-biblioentry, doc-biblioref, doc-glossref, doc-noteref, doc-pagebreak, doc-example",help:{"en-US":{pass:"aria_accessiblename_exists.html",fail_no_accessible_name:"aria_accessiblename_exists.html",fail_no_accessible_name_image:"aria_accessiblename_exists.html",group:"aria_accessiblename_exists.html"}},messages:{"en-US":{pass:"An accessible name is provided for the element",fail_no_accessible_name:'Element <{0}> with "{1}" role has no accessible name',fail_no_accessible_name_image:'Element <{0}> with "{1}" role has no accessible name',group:"Elements with certain roles should have accessible names"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE,reasonCodes:["fail_no_accessible_name"]},{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["ARIA"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE,reasonCodes:["fail_no_accessible_name_image"]}],act:[{"23a2a8":{fail_no_accessible_name_image:"fail"}}],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;var s=l.nodeName.toLocaleLowerCase();if("svg"!==s&&"img"!==s){if("table"===s&&l.firstElementChild&&"caption"===l.firstElementChild.nodeName.toLowerCase()&&l.firstElementChild.textContent&&l.firstElementChild.textContent.trim().length>0)return(0,a.RulePass)("pass");var u=n.AriaUtil.getRolesUndefinedByAria(l);if(u&&u.length>0)return null;var d=n.AriaUtil.getDeprecatedAriaRoles(l);if(d&&d.length>0)return null;var c=n.AriaUtil.getDeprecatedAriaAttributes(l);if(c&&c.length>0)return null;var m=n.AriaUtil.getResolvedRole(l),p=o.AccNameUtil.computeAccessibleName(l);return p&&p.name&&0!==p.name.trim().length?(0,a.RulePass)("pass"):"img"===m||"image"===m?(0,a.RuleFail)("fail_no_accessible_name_image",[l.nodeName.toLowerCase(),m]):(0,a.RuleFail)("fail_no_accessible_name",[l.nodeName.toLowerCase(),m])}}}},7178:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_activedescendant_tabindex_valid=void 0;var a=i(4377),l=i(4377),n=i(8137);t.aria_activedescendant_tabindex_valid={id:"aria_activedescendant_tabindex_valid",context:"dom:*[aria-activedescendant]",refactor:{Rpt_Aria_InvalidTabindexForActivedescendant:{pass:"pass",Fail_1:"Fail_1"}},help:{"en-US":{pass:"aria_activedescendant_tabindex_valid.html",Fail_1:"aria_activedescendant_tabindex_valid.html",group:"aria_activedescendant_tabindex_valid.html"}},messages:{"en-US":{pass:"Rule Passed",Fail_1:"The <{0}> element using 'aria-activedescendant' set to \"{1}\" is not tabbable",group:"Element using 'aria-activedescendant' property should be tabbable"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,r=!1,o=l.nodeName.toLowerCase();if(l.hasAttribute("class")&&"mbl"==l.getAttribute("class").substring(0,3))return null;if(n.CommonUtil.isNodeDisabled(l))return null;if(0!==l.getAttribute("aria-activedescendant").trim().length){(r=n.CommonUtil.isTabbable(l))||(r=n.CommonUtil.getTabbableChildren(l)>0);var s=new Array;s.push(o);var u=new Array;return u.push(l.getAttribute("aria-activedescendant").split(" ").join(", ")),r?(0,a.RulePass)("pass"):(0,a.RuleFail)("Fail_1",[s.toString(),u.toString()])}}}},9745:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_activedescendant_valid=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(482),s=i(8656),u=i(295);t.aria_activedescendant_valid={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"}},help:{"en-US":{Pass_0:"aria_activedescendant_valid.html",Fail_1:"aria_activedescendant_valid.html",Fail_2:"aria_activedescendant_valid.html",Fail_3:"aria_activedescendant_valid.html",group:"aria_activedescendant_valid.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"The 'aria-activedescendant' property is empty",Fail_2:"The 'aria-activedescendant' property references a hidden node",Fail_3:"Element is not a combobox, and the referenced active-descendant element is not a valid descendant",group:"The 'aria-activedescendant' property must reference the 'id' of a non-empty, non-hidden active child element"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(n.AriaUtil.hasRoleInSemantics(l,"combobox"))return null;var d=n.AriaUtil.getAriaAttribute(l,"aria-activedescendant");if(!d||""===d.trim())return(0,a.RuleFail)("Fail_1");var c=o.FragmentUtil.getById(l,d.trim());if(!c||u.DOMUtil.sameNode(d,l))return null;if(!s.VisUtil.isNodeVisible(c))return(0,a.RuleFail)("Fail_2");if(l.contains(c))return(0,a.RulePass)("Pass_0");var m=2;if(l.hasAttribute("aria-owns"))for(var p=r.CommonUtil.normalizeSpacing(l.getAttribute("aria-owns").trim()).split(" "),h=0;h<p.length;h++)if((v=o.FragmentUtil.getById(l,p[h]))&&!u.DOMUtil.sameNode(v,l)&&v.contains(c))return(0,a.RulePass)("Pass_0");if(n.AriaUtil.hasRoleInSemantics(l,"textbox")&&l.hasAttribute("aria-controls")){m=3;var _=r.CommonUtil.normalizeSpacing(l.getAttribute("aria-controls").trim()).split(" ");for(h=0;h<_.length;h++){var b=o.FragmentUtil.getById(l,_[h]);if(b&&!u.DOMUtil.sameNode(b,l)&&b.contains(c))return(0,a.RulePass)("Pass_0");if(b.hasAttribute("aria-owns"))for(var g=r.CommonUtil.normalizeSpacing(b.getAttribute("aria-owns").trim()).split(" "),f=0;f<g.length;f++){var v;if((v=o.FragmentUtil.getById(l,g[f]))&&!u.DOMUtil.sameNode(v,l)&&v.contains(c))return(0,a.RulePass)("Pass_0")}}}return 3==m?(0,a.RuleFail)("Fail_3"):null}}},8019:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_application_label_unique=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(7788);t.aria_application_label_unique={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:"aria_application_label_unique.html",Fail_1:"aria_application_label_unique.html",group:"aria_application_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "application" role do not have unique labels',group:'Each element with "application" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"application",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_application_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_application_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""!==d&&(!(d in u)||u[d]<=1)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}}},6505:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_application_labelled=void 0;var a=i(4377),l=i(4377),n=i(1421),r=i(8656);t.aria_application_labelled={id:"aria_application_labelled",context:"aria:application",refactor:{Rpt_Aria_ApplicationLandmarkLabel:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"aria_application_labelled.html",Fail_1:"aria_application_labelled.html",group:"aria_application_labelled.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Element with "application" role does not have a label',group:'Each element with "application" role must have a label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;return r.VisUtil.isNodeHiddenFromAT(l)?null:n.AccNameUtil.computeAccessibleName(l)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},8910:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_article_label_unique=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(7788);t.aria_article_label_unique={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:"aria_article_label_unique.html",Fail_1:"aria_article_label_unique.html",group:"aria_article_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "article" role do not have unique labels',group:'Each element with "article" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"article",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_article_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_article_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""===d||!(d in u)||u[d]<=1?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}}},3492:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_attribute_allowed=void 0;var a=i(4377),l=i(4377),n=i(8235),r=i(490);t.aria_attribute_allowed={id:"aria_attribute_allowed",context:"dom:*",refactor:{Rpt_Aria_ValidProperty:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{group:"aria_attribute_allowed.html",Pass_0:"aria_attribute_allowed.html",Fail_1:"aria_attribute_allowed.html"}},messages:{"en-US":{group:"ARIA attributes must be valid for the element's role",Pass_0:"Rule Passed",Fail_1:"The attribute(s) '{0}' referenced by the element <{1}> is not a valid ARIA state or property"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"4.1.2",level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:"5f99a7",run:function(e,t,i){var l=e.dom.node,o=l.attributes;if(o){for(var s=n.ARIADefinitions.propertyDataTypes,u="",d=0,c=0,m=o.length;c<m;c++){var p=o[c].name;r.AriaUtil.isDefinedAriaAttribute(l,p)&&(d++,s[p]||(u=0==u.length?p:u+", "+p))}return 0==d?null:0!=u.length?(0,a.RuleFail)("Fail_1",[u,l.nodeName.toLowerCase()]):(0,a.RulePass)("Pass_0")}return null}}},5316:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_attribute_conflict=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137);t.aria_attribute_conflict={id:"aria_attribute_conflict",context:"dom:*[aria-required], dom:*[aria-autocomplete], dom:*[aria-readonly], dom:*[aria-disabled], dom:*[aria-placeholder], dom:*[aria-checked], dom:*[aria-hidden], dom:*[aria-valuemax], dom:*[aria-valuemin], dom:*[aria-colspan], dom:*[aria-rowspan]",help:{"en-US":{fail_conflict:"aria_attribute_conflict.html",group:"aria_attribute_conflict.html"}},messages:{"en-US":{fail_conflict:'The ARIA attribute "{0}" is in conflict with the corresponding HTML attribute "{1}"',group:"An ARIA attribute must not conflict with the corresponding HTML attribute"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,o=n.AriaUtil.getInvalidAriaAttributes(l);if(o&&o.length>0)return null;var s=[],u=n.AriaUtil.getUserDefinedAriaAttributes(l);if(!u||0===u.length)return null;for(var d=n.AriaUtil.getConflictAriaAndHtmlAttributes(l),c=0;c<d.length;c++)s.push((0,a.RuleFail)("fail_conflict",[d[c].ariaAttr,d[c].htmlAttr])),u.includes(d[c].ariaAttr)&&r.CommonUtil.reduceArrayItemList([d[c].ariaAttr],u);return s.length>0?s:null}}},8412:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_attribute_deprecated=void 0;var a=i(4377),l=i(4377),n=i(490);t.aria_attribute_deprecated={id:"aria_attribute_deprecated",context:"dom:*",help:{"en-US":{fail_aria_role:"aria_attribute_deprecated.html",fail_aria_attr:"aria_attribute_deprecated.html",fail_role_attr:"aria_attribute_deprecated.html",group:"aria_attribute_deprecated.html"}},messages:{"en-US":{fail_aria_role:'The ARIA role "{0}" is deprecated in the ARIA specification',fail_aria_attr:'The ARIA attributes "{0}" are deprecated in the ARIA specification',fail_role_attr:'The ARIA attributes "{0}" are deprecated for the role "{1}" in the ARIA specification',group:"No deprecated ARIA role or attribute should be used"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next"],num:["ARIA"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,r=[],o=n.AriaUtil.getDeprecatedAriaRoles(l);if(o&&o.length>0)for(var s=0;s<o.length;s++)r.push((0,a.RuleFail)("fail_aria_role",[o[s]]));var u=n.AriaUtil.getDeprecatedAriaAttributes(l);if(u&&u.length>0)for(s=0;s<u.length;s++)"any"===u[s].role?r.push((0,a.RuleFail)("fail_aria_attr",[u[s].attribute])):r.push((0,a.RuleFail)("fail_role_attr",[u[s].attribute,u[s].role]));return r.length>0?r:null}}},172:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_attribute_exists=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(8235),s=i(8656);t.aria_attribute_exists={id:"aria_attribute_exists",context:"dom:*[role]",dependencies:["aria_role_allowed"],refactor:{Rpt_Aria_EmptyPropertyValue:{pass:"pass",fail_empty_attribute:"fail_empty_attribute"}},help:{"en-US":{pass:"aria_attribute_exists.html",fail_empty_attribute:"aria_attribute_exists.html",group:"aria_attribute_exists.html"}},messages:{"en-US":{pass:"Rule Passed",fail_empty_attribute:"The element attribute(s): '{0}' value is empty",group:"When specifying a required ARIA attribute, the value must not be empty"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:["6a7281"],run:function(e,t,i){var l=e.dom.node;if(!s.VisUtil.isNodeHiddenFromAT(l)){var u=new Array,d=o.ARIADefinitions.designPatterns,c=r.CommonUtil.hasAttribute,m=0,p=n.AriaUtil.getResolvedRole(l);if(p){if(d[p]&&null!=n.AriaUtil.getRoleRequiredProperties(p,l))for(var h=n.AriaUtil.getRoleRequiredProperties(p,l),_=0,b=h.length;_<b;_++)c(l,y=h[_])?(m++,0==r.CommonUtil.normalizeSpacing(l.getAttribute(h[_])).length&&u.push(h[_])):"aria-labelledby"==h[_]?"radiogroup"==p&&c(l,"aria-label")&&(m++,0==r.CommonUtil.normalizeSpacing(l.getAttribute("aria-label")).length&&u.push("aria-label")):"aria-valuenow"==h[_]&&"progressbar"==p&&c(l,"aria-valuetext")&&(m++,0==r.CommonUtil.normalizeSpacing(l.getAttribute("aria-valuetext")).length&&u.push("aria-valuetext"));if(d[p]){var g=n.AriaUtil.getElementAriaProperty(l),f=[];f.push(p);for(var v=n.AriaUtil.getAllowedAriaAttributes(l,f,g),A=(_=0,v.length);_<A;_++){var y;"aria-checked"!=(y=v[_])&&"aria-selected"!=y&&"aria-expanded"!=y&&"aria-orientation"!=y&&"aria-level"!=y||c(l,y)&&(m++,0!=r.CommonUtil.normalizeSpacing(l.getAttribute(y)).length||u.includes(y)||u.push(y))}}var w=new Array,k=0==u.length;return w.push(u.join(", ")),0==m?null:k?(0,a.RulePass)("pass"):(0,a.RuleFail)("fail_empty_attribute",w)}}}}},9844:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_attribute_redundant=void 0;var a=i(4377),l=i(4377),n=i(490);t.aria_attribute_redundant={id:"aria_attribute_redundant",context:"dom:*[aria-required], dom:*[aria-autocomplete], dom:*[aria-readonly], dom:*[aria-disabled], dom:*[aria-placeholder], dom:*[aria-checked], dom:*[aria-hidden], dom:*[aria-valuemax], dom:*[aria-valuemin], dom:*[aria-colspan], dom:*[aria-rowspan]",help:{"en-US":{pass:"aria_attribute_redundant.html",fail_redundant:"aria_attribute_redundant.html",group:"aria_attribute_redundant.html"}},messages:{"en-US":{pass:"The ARIA attribute is not redundant with a corresponding HTML attribute",fail_redundant:'The ARIA attribute "{0}" is redundant with the HTML attribute "{1}"',group:"An ARIA attribute should not be redundant with a corresponding HTML attribute"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,r=n.AriaUtil.getInvalidAriaAttributes(l);if(r&&r.length>0)return null;var o=n.AriaUtil.getConflictAriaAndHtmlAttributes(l);if(o&&o.length>0)return null;var s=l.attributes,u=[],d=[];if(s)for(var c=0;c<s.length;c++){var m=s[c].name.trim().toLowerCase(),p=l.getAttribute(m);""===p&&(p=null),"aria-"===m.substring(0,5)?u.push({name:m,value:p}):d.push({name:m,value:p})}var h=[],_=function(e){var t=n.AriaUtil.getConflictOrOverlappingHtmlAttribute(u[e],d,"overlapping");if(null===t)return"continue";t.forEach((function(t){"Pass"===t.result?h.push((0,a.RulePass)("pass")):"Failed"===t.result&&h.push((0,a.RuleFail)("fail_redundant",[u[e].name,t.attr]))}))};for(c=0;c<u.length;c++)_(c);return h.length>0?h:null}}},9695:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_attribute_required=void 0;var a=i(8235),l=i(490),n=i(8137),r=i(4377),o=i(4377);t.aria_attribute_required={id:"aria_attribute_required",context:"dom:*[role]",dependencies:["aria_role_allowed"],refactor:{Rpt_Aria_RequiredProperties:{Pass_0:"pass",Fail_1:"fail_missing"}},help:{"en-US":{group:"aria_attribute_required.html",pass:"aria_attribute_required.html",fail_missing:"aria_attribute_required.html"}},messages:{"en-US":{group:"The required attributes for the element with a role must be defined",pass:"The required attributes for the element with the role are defined",fail_missing:"Element with '{0}' role does not have the required ARIA attribute(s): '{1}'"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"4.1.2",level:o.eRulePolicy.VIOLATION,toolkitLevel:o.eToolkitLevel.LEVEL_ONE}],act:"4e8ab6",run:function(e,t,i){var o=e.dom.node,s=new Array,u=new Array,d=a.ARIADefinitions.designPatterns,c=n.CommonUtil.hasAttribute,m=l.AriaUtil.getElementAriaProperty(o),p=l.AriaUtil.getResolvedRole(o);if(p){var h=l.AriaUtil.getRoleRequiredProperties(p,o);if(d[p]&&null!==h){for(var _=l.AriaUtil.getAllowedAriaAttributes(o,p,m),b=!1,g=0,f=h.length;g<f;g++)_.includes(h[g])&&(c(o,h[g])||("aria-labelledby"==h[g]?c(o,"aria-label")&&"radiogroup"==p||(s.push(h[g]),b=!0):"aria-valuenow"==h[g]?c(o,"aria-valuetext")&&"progressbar"==p||(s.push(h[g]),b=!0):"aria-controls"==h[g]&&"combobox"==p||(s.push(h[g]),b=!0)));1==b&&u.push(p)}if(0==u.length||0==s.length)return(0,r.RulePass)("pass");var v=new Array;return v.push(u.join(", ")),v.push(s.join(", ")),(0,r.RuleFail)("fail_missing",v)}}}},1699:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_attribute_value_valid=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(8235);t.aria_attribute_value_valid={id:"aria_attribute_value_valid",context:"dom:*",dependencies:["aria_attribute_allowed"],refactor:{Rpt_Aria_ValidPropertyValue:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{group:"aria_attribute_value_valid.html",Pass_0:"aria_attribute_value_valid.html",Fail_1:"aria_attribute_value_valid.html"}},messages:{"en-US":{group:"ARIA property values must be valid",Pass_0:"Rule Passed",Fail_1:"The value \"{0}\" specified for attribute '{1}' on element <{2}> is not valid"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:"6a7281",run:function(e,t,i){var l=e.dom.node,s=new Array,u=new Array,d=new Array,c=o.ARIADefinitions.propertyDataTypes,m=l.attributes,p=0;if(m)for(var h=0,_=m.length;h<_;h++){var b=m[h].name;if(n.AriaUtil.isDefinedAriaAttribute(l,b)){var g=c[b],f=r.CommonUtil.normalizeSpacing(m[h].nodeValue);if(p++,g&&g.values){if(-1==g.values.indexOf(f))if(-1!=g.values.indexOf("undefined")&&0==f.length);else if("http://www.w3.org/2001/XMLSchema#nmtokens"===g.type){var v=m[h].nodeValue.trim().split(" ");if(v.length>1&&v.includes("all"))s.push(m[h].nodeValue.split(" ")),u.push(b),d.push(g.values.toString());else for(var A={},y=0;y<v.length;y++)""==v[y]||g.values.includes(v[y])||(A.hasOwnProperty(b)||(A[b]=!0,u.push(b)),s.push(v[y]),d.push(g.values.toString()))}else s.push(m[h].nodeValue.split(" ")),u.push(b),d.push(g.values.toString())}else if(g&&g.type&&"http://www.w3.org/2001/XMLSchema#int"===g.type){var w=parseInt(f);(isNaN(w)||""+w!==f)&&(s.push(f),u.push(b))}else if(g&&g.type&&"http://www.w3.org/2001/XMLSchema#decimal"==g.type){var k=parseFloat(f);isNaN(k)&&(s.push(f),u.push(b))}else if(g&&g.type&&"http://www.w3.org/2001/XMLSchema#boolean"==g.type){var C=f.trim().toLowerCase();"true"!==C&&"false"!==C&&(s.push(f),u.push(b))}else g&&g.type&&"http://www.w3.org/2001/XMLSchema#string"==g.type||p--}}var x=new Array,P=0==u.length;return x.push(s.join(", ")),x.push(u.join(", ")),x.push(l.nodeName.toLowerCase()),0==p?null:P?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",x)}}},4974:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_banner_label_unique=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(7788);t.aria_banner_label_unique={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:"aria_banner_label_unique.html",Fail_1:"aria_banner_label_unique.html",group:"aria_banner_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "banner" role do not have unique labels',group:'Each element with "banner" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"banner",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_banner_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_banner_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""!==d&&(!(d in u)||u[d]<=1)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}}},3054:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_banner_single=void 0;var a=i(4377),l=i(4377),n=i(490);t.aria_banner_single={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:"aria_banner_single.html",Fail_1:"aria_banner_single.html",group:"aria_banner_single.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "banner" role found on the page',group:'A page, document, or application should only have one element with "banner" role'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;return n.AriaUtil.hasRoleInSemantics(l,"banner")?null===n.AriaUtil.getSiblingWithRoleHidden(l,"banner",!0,!0)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1"):null}}},4649:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_child_tabbable=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(8235),s=i(8656);t.aria_child_tabbable={id:"aria_child_tabbable",context:"dom:*[role]",dependencies:["aria_role_allowed"],refactor:{Rpt_Aria_MissingFocusableChild:{pass:"pass",fail_missing_child:"fail_missing_child"}},help:{"en-US":{pass:"aria_child_tabbable.html",fail_missing_child:"aria_child_tabbable.html",group:"aria_child_tabbable.html"}},messages:{"en-US":{pass:"Rule Passed",fail_missing_child:'None of the descendent elements with "{1}" role is tabbable',group:"UI component must have at least one tabbable descendant for keyboard access"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(!(s.VisUtil.isNodeHiddenFromAT(l)||r.CommonUtil.isNodeDisabled(l)||n.AriaUtil.containsPresentationalChildrenOnly(l)||n.AriaUtil.shouldBePresentationalChild(l))){if(n.AriaUtil.hasRole(l,{list:!0,row:!0,rowgroup:!0,table:!0,grid:!0}))return null;if(l.hasAttribute("class")&&"mbl"==l.getAttribute("class").substring(0,3))return null;if("datalist"===l.nodeName.toLowerCase())return null;var u=l.getAttribute("role").trim().toLowerCase().split(/\s+/),d=l.getAttribute("id");if(d&&d.trim().length>0){var c=l.ownerDocument.querySelector("*[aria-controls='".concat(d,"'][aria-haspopup='true'], *[aria-controls='").concat(d,"'][aria-expanded='true']")),m=["combobox","listbox","menu","menubar","radiogroup","tree","treegrid"];if(c&&r.CommonUtil.isTabbable(c)&&u&&u.length>0&&u.some((function(e){return m.includes(e)})))return null}for(var p=!0,h=l.ownerDocument,_=r.CommonUtil.hasAttribute,b=new Array,g="",f=!1,v=0;v<u.length;++v)if(o.ARIADefinitions.containers.includes(u[v])&&"true"!=(_(l,"aria-disabled")?l.getAttribute("aria-disabled"):"")&&!_(l,"aria-activedescendant")&&!r.CommonUtil.isTabbable(l)){var A=o.ARIADefinitions.designPatterns[u[v]].reqChildren;if(A){f=!0,p=!1;for(var y="descendant::*[",w=0;w<A.length;w++)y+="@role='"+A[w]+"' or ";y=y.substring(0,y.length-4)+"]";for(var k=h.evaluate(y,l,r.CommonUtil.defaultNSResolver,0,null),C=k.iterateNext();C&&!p;)if(r.CommonUtil.shouldNodeBeSkippedHidden(C))C=k.iterateNext();else{if(!(p=r.CommonUtil.isTabbable(C)))for(var x=h.evaluate("descendant::*",C,r.CommonUtil.defaultNSResolver,0,null),P=x.iterateNext();P&&!p;)r.CommonUtil.shouldNodeBeSkippedHidden(P)||(p=r.CommonUtil.isTabbable(C)),P=x.iterateNext();p||(b=C.getAttribute("role").trim().split(" "),g=C.nodeName.toLowerCase()),C=k.iterateNext()}}}var R=new Array,T=new Array;return g.length>0&&b.length>0?(R.push(g),T.push(b.join(", "))):p=!0,f?p?(0,a.RulePass)("pass"):(0,a.RuleFail)("fail_missing_child",[R.toString(),T.toString()]):null}}}},4193:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_child_valid=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(8656);t.aria_child_valid={id:"aria_child_valid",context:"dom:*",dependencies:["aria_role_valid","aria_descendant_valid"],help:{"en-US":{group:"aria_child_valid.html",Pass:"aria_child_valid.html",Fail_no_child:"aria_child_valid.html",Fail_invalid_child:"aria_child_valid.html"}},messages:{"en-US":{group:"An element with an ARIA role must own a required child",Pass:"An element with an ARIA role owns a required child",Fail_no_child:'The element with role "{0}" does not own any child element with any of the following role(s): "{1}"',Fail_invalid_child:'The element with role "{0}" owns the child element with the role "{1}" that is not one of the allowed role(s): "{2}"'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:["bc4a75"],run:function(e,t,i){var l=e.dom.node;if(!o.VisUtil.isNodeHiddenFromAT(l)&&!r.CommonUtil.isNodeDisabled(l)&&!n.AriaUtil.containsPresentationalChildrenOnly(l)){var s=n.AriaUtil.getRoles(l,!1);if(s&&0!==s.length||(s=n.AriaUtil.getImplicitRole(l)),!s||0===s.length)return null;var u=["none","presentation"];if(s.some((function(e){return u.includes(e)})))return null;if(s.includes("combobox"))return null;var d=n.AriaUtil.getRequiredChildRoles(l,!0);if(d.includes("group")){var c=d.indexOf("group");c>-1&&d.splice(c,1)}if(0==d.length)return null;var m=n.AriaUtil.getDirectATChildren(l);if(!m||0==m.length){var p=l.getAttribute("aria-busy");return p&&"true"===p?null:((v=new Array).push(s.join(", ")),v.push(d.join(", ")),(0,a.RuleFail)("Fail_no_child",v))}for(var h=new Array,_=0;_<m.length;_++){var b=n.AriaUtil.getRoles(m[_],!1);b&&0!=b.length||(b=n.AriaUtil.getImplicitRole(m[_])),b&&b.length>0&&(b.some((function(e){return d.includes(e)}))||h.push(b.join(", ")))}if(h.length>0){for(var g=[],f=0;f<h.length;f++){var v;(v=new Array).push(s.join(", ")),v.push(h[f]),v.push(d.join(", ")),g.push((0,a.RuleFail)("Fail_invalid_child",v))}return g}return(0,a.RulePass)("Pass")}}}},3188:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_complementary_label_unique=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(7788);t.aria_complementary_label_unique={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:"aria_complementary_label_unique.html",Fail_1:"aria_complementary_label_unique.html",group:"aria_complementary_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "complementary" role do not have unique labels',group:'Each element with "complementary" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"complementary",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_complementary_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_complementary_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""!==d&&(!(d in u)||u[d]<=1)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}}},4176:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_complementary_label_visible=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137);t.aria_complementary_label_visible={id:"aria_complementary_label_visible",context:"dom:*[role], dom:aside",dependencies:["aria_complementary_labelled"],refactor:{Rpt_Aria_ComplementaryLandmarkLabel_Implicit:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"aria_complementary_label_visible.html",Fail_1:"aria_complementary_label_visible.html",group:"aria_complementary_label_visible.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Element with "complementary" role does not have a visible label',group:'Each element with "complementary" role should have a visible label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;return n.AriaUtil.hasRoleInSemantics(l,"complementary")?r.CommonUtil.attributeNonEmpty(l,"aria-labelledby")?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1"):null}}},7964:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_complementary_labelled=void 0;var a=i(4377),l=i(4377),n=i(1421),r=i(8656);t.aria_complementary_labelled={id:"aria_complementary_labelled",context:"aria:complementary",refactor:{Rpt_Aria_ComplementaryRequiredLabel_Implicit:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"aria_complementary_labelled.html",Fail_1:"aria_complementary_labelled.html",group:"aria_complementary_labelled.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Element with "complementary" role does not have a label',group:'Each element with "complementary" role must have a label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;return r.VisUtil.isNodeHiddenFromAT(l)?null:n.AccNameUtil.computeAccessibleName(l)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},2554:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_content_in_landmark=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(7788),s=i(7440),u=i(8656),d=i(5755);t.aria_content_in_landmark={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:"aria_content_in_landmark.html",Fail_1:"aria_content_in_landmark.html",group:"aria_content_in_landmark.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Content is not within a landmark element",group:"All content must reside within an element with a landmark role"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE},{id:["WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=o.CacheUtil.getCache(e.dom.node.ownerDocument,"aria_content_in_landmark",null);if(!l){(l={landmarks:{value:["banner","complementary","contentinfo","form","main","navigation","region","search"],type:"array"},possibleOrphanedWidgets:{value:["button","combobox","checkbox","grid","heading","link","list","listbox","menu","menubar","progressbar","radio","tablist","textbox","toolbar","tree","treegrid"],type:"array"},possibleOrphanedElements:{value:["p","table","input","textarea","select","button","a","ol","ul","dl","h1","h2","h3","h4","h5","h6","embed","object","area"],type:"array"},noLandmarkedRoles:{value:["alert","alertdialog","dialog","tooltip"],type:"array"},mapLandmarks:{},mapPossibleOrphanedWidgets:{},mapPossibleOrphanedElements:{},mapNoLandmarkedRoles:{}}).mapLandmarks={};for(var c=0;c<l.landmarks.value.length;++c)l.mapLandmarks[l.landmarks.value[c]]=!0;for(l.mapPossibleOrphanedWidgets={},c=0;c<l.possibleOrphanedWidgets.value.length;++c)l.mapPossibleOrphanedWidgets[l.possibleOrphanedWidgets.value[c]]=!0;for(l.mapPossibleOrphanedElements={},c=0;c<l.possibleOrphanedElements.value.length;++c)l.mapPossibleOrphanedElements[l.possibleOrphanedElements.value[c]]=!0;for(l.mapNoLandmarkedRoles={},c=0;c<l.noLandmarkedRoles.value.length;++c)l.mapNoLandmarkedRoles[l.noLandmarkedRoles.value[c]]=!0;o.CacheUtil.setCache(e.dom.node.ownerDocument,"aria_content_in_landmark",l)}var m=e.dom.node,p=m.nodeName.toLowerCase();if(!u.VisUtil.isNodeVisible(m)||null!=u.VisUtil.hiddenByDefaultElements&&null!=u.VisUtil.hiddenByDefaultElements&&u.VisUtil.hiddenByDefaultElements.indexOf(p)>-1)return(0,a.RulePass)("Pass_0");if(!r.CommonUtil.hasInnerContentHidden(m)&&-1===["area","input","embed","button","textarea","select"].indexOf(p))return(0,a.RulePass)("Pass_0");if("table"==p&&d.TableUtil.isLayoutTable(m))return null;var h=!0,_=n.AriaUtil.hasRole(m,l.mapPossibleOrphanedWidgets,!0);"link"===p&&(_=!1);var b=p in l.mapPossibleOrphanedElements;if(!_&&!b)return null;if(!(h=i.aria.map((function(e){return e.role})).filter((function(e){return e in l.mapLandmarks})).length>0)){for(var g=s.DOMWalker.parentElement(m);!h&&null!=g;)h=o.CacheUtil.getCache(g,"Rpt_Aria_OrphanedContent",!1),g=s.DOMWalker.parentElement(g);for(g=m.nextElementSibling;!h&&null!=g;)h=o.CacheUtil.getCache(g,"Rpt_Aria_OrphanedContent",!1),g=g.nextElementSibling;for(g=m.previousElementSibling;!h&&null!=g;)h=o.CacheUtil.getCache(g,"Rpt_Aria_OrphanedContent",!1),g=g.previousElementSibling;if(h)return null;if(o.CacheUtil.setCache(m,"Rpt_Aria_OrphanedContent",!0),h=o.CacheUtil.getCache(m,"Rpt_Aria_OrphanedContent_NoTrigger",!1)||n.AriaUtil.hasRole(m,l.mapNoLandmarkedRoles,!0)||n.AriaUtil.getAncestorWithRole(m,l.mapNoLandmarkedRoles,!0))return o.CacheUtil.setCache(m,"Rpt_Aria_OrphanedContent_NoTrigger",!0),null}return h?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},1229:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_contentinfo_label_unique=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(7788);t.aria_contentinfo_label_unique={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:"aria_contentinfo_label_unique.html",Fail_1:"aria_contentinfo_label_unique.html",group:"aria_contentinfo_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "contentinfo" role do not have unique labels',group:'Each element with "contentinfo" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"contentinfo",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_contentinfo_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_contentinfo_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""!==d&&(!(d in u)||u[d]<=1)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}}},8523:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_contentinfo_misuse=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137);t.aria_contentinfo_misuse={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:"aria_contentinfo_misuse.html",Fail_1:"aria_contentinfo_misuse.html",group:"aria_contentinfo_misuse.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Element with "contentinfo" role is present without an element with "main" role',group:'Each element with "contentinfo" role is only permitted with an element with "main" role'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;return n.AriaUtil.hasRoleInSemantics(l,"contentinfo")?r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"main",!0,!0).length>0?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1"):null}}},3781:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_contentinfo_single=void 0;var a=i(4377),l=i(4377),n=i(490);t.aria_contentinfo_single={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:"aria_contentinfo_single.html",Fail_1:"aria_contentinfo_single.html",group:"aria_contentinfo_single.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "contentinfo" role found on the page',group:'A page, document, or application should only have one element with "contentinfo" role'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;return n.AriaUtil.hasRoleInSemantics(l,"contentinfo")?n.AriaUtil.getSiblingWithRoleHidden(l,"contentinfo",!0,!0)?(0,a.RuleFail)("Fail_1"):(0,a.RulePass)("Pass_0"):null}}},8509:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_descendant_valid=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(8656);t.aria_descendant_valid={id:"aria_descendant_valid",context:"dom:*",dependencies:["aria_role_valid"],help:{"en-US":{group:"aria_descendant_valid.html",pass:"aria_descendant_valid.html",potential_child_implicit_role:"aria_descendant_valid.html",fail_child_explicit_role:"aria_descendant_valid.html"}},messages:{"en-US":{group:"Browsers ignore the explicit and implicit ARIA roles of the descendants of certain elements",pass:"The element contains valid descendants",potential_child_implicit_role:'The element with role "{0}" contains descendants with implicit roles "{1}" which are ignored by browsers',fail_child_explicit_role:'The element with role "{0}" contains descendants with roles "{1}" which are ignored by browsers'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:["307n5z"],run:function(e,t,i){var l=e.dom.node;if(!o.VisUtil.isNodeHiddenFromAT(l)&&!r.CommonUtil.isNodeDisabled(l)&&n.AriaUtil.containsPresentationalChildrenOnly(l)){var s=n.AriaUtil.getRoles(l,!1);if(s&&0!==s.length||(s=n.AriaUtil.getImplicitRole(l)),!s||0===s.length)return null;l.tagName.toLowerCase();var u=n.AriaUtil.getDirectATChildren(l);if(!(u&&u.length>0))return(0,a.RulePass)("pass");for(var d=new Array,c=new Array,m=0;m<u.length;m++){var p=u[m].nodeName.toLowerCase();if("img"!==p&&"svg"!==p){var h=n.AriaUtil.getRoles(u[m],!1);h&&h.length>0?d.push(h.join(", ")):(h=n.AriaUtil.getImplicitRole(u[m]))&&h.length>0&&c.push(h.join(", "))}}if(d.length>0){for(var _=[],b=0;b<d.length;b++)(g=new Array).push(s.join(", ")),g.push(d[b]),_.push((0,a.RuleFail)("fail_child_explicit_role",g));return _}if(c.length>0){for(_=[],b=0;b<c.length;b++){var g;(g=new Array).push(s.join(", ")),g.push(c[b]),_.push((0,a.RulePotential)("potential_child_implicit_role",g))}return _}}}}},3234:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_document_label_unique=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(7788);t.aria_document_label_unique={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:"aria_document_label_unique.html",Fail_1:"aria_document_label_unique.html",group:"aria_document_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "document" roles do not have unique labels',group:'Each element with "document" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"document",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_document_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_document_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""===d||!(d in u)||u[d]<=1?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}}},5217:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_eventhandler_role_valid=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137);t.aria_eventhandler_role_valid={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:"aria_eventhandler_role_valid.html",Fail_1:"aria_eventhandler_role_valid.html",group:"aria_eventhandler_role_valid.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"The <{0}> element with '{1}' does not have a valid ARIA role specified",group:"Elements with event handlers must have a valid ARIA role"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.CommonUtil.getAncestor(l,"svg"))return null;if(n.AriaUtil.hasAnyRole(l,!0))return(0,a.RulePass)("Pass_0");if(r.CommonUtil.isfocusableByDefault(l))return(0,a.RulePass)("Pass_0");var o=new Array;o.push(l.nodeName.toLowerCase());for(var s=new Array,u=["onblur","onfocus","onchange","onclick","ondblclick","onkeydown","onkeypress","onkeyup","onmousedown","onmouseup","onmousemove","onmouseout","onmouseover","onresize"],d=0;d<u.length;++d)l.hasAttribute(u[d])&&s.push(u[d]);var c=new Array;return c.push(s.join(", ")),(0,a.RuleFail)("Fail_1",[o.toString(),c.toString()])}}},4050:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_form_label_unique=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(7788);t.aria_form_label_unique={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:"aria_form_label_unique.html",Fail_1:"aria_form_label_unique.html",group:"aria_form_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "form" role do not have unique labels',group:'Each element with "form" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;if("form"===l.getAttribute("role")||l.hasAttribute("aria-label")||l.hasAttribute("aria-labelledby")||l.hasAttribute("title")){var s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"form",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_form_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_form_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""!==d&&(!(d in u)||u[d]<=1)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}return null}}},4275:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_graphic_labelled=void 0;var a=i(4377),l=i(490),n=i(8137),r=i(8656);t.aria_graphic_labelled={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:"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:{"en-US":{group:"An element with a graphics role must have a non-empty label",Pass_0:"Rule Passed",Fail_1:'Element with "{0}" graphics role has no label',Fail_2:'Element with "{0}" graphics role has no label or an empty label',Fail_3:"Element with \"{0}\" graphics role missing non-empty 'aria-label' or 'aria-labelledby'"}},rulesets:[],act:[{"7d6734":{Pass_0:"pass",Fail_1:"inapplicable",Fail_2:"fail",Fail_3:"inapplicable"}}],run:function(e,t,i){var o=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(o))return null;if(!o.hasAttribute("role")||!o.getAttribute("role").includes("graphics-"))return null;var s=l.AriaUtil.getAriaLabel(o).length>0;if(!s&&"svg"===o.nodeName.toLowerCase()){var u=o.querySelector("title");s=u&&n.CommonUtil.hasInnerContent(u)}return s||(s=n.CommonUtil.attributeNonEmpty(o,"title")),s?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_2",[o.getAttribute("role")])}}},1465:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_hidden_nontabbable=void 0;var a=i(8137),l=i(4377),n=i(4377);t.aria_hidden_nontabbable={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_nontabbable.html",Pass_0:"aria_hidden_nontabbable.html",Fail_1:"aria_hidden_nontabbable.html"}},messages:{"en-US":{group:"A hidden element should not contain any tabbable elements",Pass_0:"Rule Passed",Fail_1:"Element \"{0}\" should not be focusable within the subtree of an element with an 'aria-hidden' attribute with value 'true'"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:["1.3.1","4.1.2"],level:n.eRulePolicy.VIOLATION,toolkitLevel:n.eToolkitLevel.LEVEL_TWO}],act:"6cfa84",run:function(e,t,i){var n=e.dom.node,r=n.nodeName.toLowerCase();return a.CommonUtil.isTabbable(n)?(0,l.RuleFail)("Fail_1",[r]):(0,l.RulePass)("Pass_0")}}},405:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_id_unique=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(482),s=i(8235),u=i(8656);t.aria_id_unique={id:"aria_id_unique",context:"dom:*",refactor:{Rpt_Aria_ValidIdRef:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"aria_id_unique.html",Fail_1:"aria_id_unique.html",group:"aria_id_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"The 'id' \"{0}\" specified for the ARIA property '{1}' value is not valid",group:"The ARIA property must reference a non-empty unique id of an existing element that is visible"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:["59796f","6a7281"],run:function(e,t,i){var l=e.dom.node,d=!0,c=new Array,m=(new Array,o.FragmentUtil.getOwnerFragment(l)),p=l.attributes,h=new Array,_=0;if(p)for(var b=0,g=p.length;b<g;b++){d=!0;var f=p[b].name;if(n.AriaUtil.isDefinedAriaAttribute(l,f)){var v=s.ARIADefinitions.propertyDataTypes[f];if(v&&v.type){var A="http://www.w3.org/2001/XMLSchema#idref"==v.type;if(A||"http://www.w3.org/2001/XMLSchema#idrefs"==v.type){_++;var y=r.CommonUtil.normalizeSpacing(p[b].nodeValue).length,w=p[b].nodeValue.split(" ");if(y<1)d=!1,h.push('"'+p[b].nodeValue+'"');else if(A&&y>=1&&w.length>1){d=!1;for(var k=0,C=w.length;k<C;++k)""!=w[k]&&h.push(w[k])}if(d&&y>=1)for(var x=0,P=w.length;x<P;++x)if(w[x].length>0){var R=m.getElementById(w[x]);if((d=null!=R)&&!v.hiddenIDRefSupported&&(d=u.VisUtil.isNodeVisible(R)),d)break;""!=w[x]&&h.push(w[x])}}}d||c.push(f)}}var T=0==c.length,U=new Array,I=new Array,L=new Array;return T||(I.push(c.join(", ")),L.push(l.nodeName.toLowerCase()),h.length>0&&U.push(h.join(", "))),0==_?null:T?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[U.toString(),I.toString(),L.toString()])}}},9136:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_img_labelled=void 0;var a=i(4377),l=i(490),n=i(8137),r=i(8656);t.aria_img_labelled={id:"aria_img_labelled",context:"aria:img, aria:image",refactor:{HAAC_Aria_ImgAlt:{Pass_0:"Pass_0",Fail_1:"Fail_1",Fail_2:"Fail_2",Fail_3:"Fail_3"}},help:{"en-US":{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:{"en-US":{group:'An element with "img" role must have a non-empty label',Pass_0:"Rule Passed",Fail_1:'Element with "img" role has no label',Fail_2:'Element with "img" role has no label or an empty label',Fail_3:"Element with \"img\" role missing non-empty 'aria-label' or 'aria-labelledby'"}},rulesets:[],act:["23a2a8",{"7d6734":{Pass_0:"pass",Fail_1:"inapplicable",Fail_2:"fail",Fail_3:"inapplicable"}}],run:function(e,t,i){var o=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(o))return null;if(!o.hasAttribute("role"))return null;var s=o.nodeName.toLocaleLowerCase();if("svg"!==s&&"img"!==s){var u=l.AriaUtil.getAriaLabel(o).length>0;if(!u&&"svg"===o.nodeName.toLowerCase()){var d=o.querySelector("title");u=d&&n.CommonUtil.hasInnerContent(d)}return u||(u=n.CommonUtil.attributeNonEmpty(o,"title")),u?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_2")}}}},5117:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_keyboard_handler_exists=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(8235),s=i(8656);t.aria_keyboard_handler_exists={id:"aria_keyboard_handler_exists",context:"dom:*[role]",dependencies:["aria_role_allowed"],refactor:{Rpt_Aria_MissingKeyboardHandler:{pass:"pass",potential_no_keyboard_access:"potential_no_keyboard_access"}},help:{"en-US":{pass:"aria_keyboard_handler_exists.html",potential_no_keyboard_access:"aria_keyboard_handler_exists.html",group:"aria_keyboard_handler_exists.html"}},messages:{"en-US":{pass:"Rule Passed",potential_no_keyboard_access:'Verify the <{0}> element with "{1}" role has keyboard access',group:"Interactive WAI_ARIA UI components must provide keyboard access"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(!s.VisUtil.isNodeHiddenFromAT(l)&&!r.CommonUtil.isNodeDisabled(l)){var u=!0,d=u,c=l.ownerDocument,m=o.ARIADefinitions.designPatterns,p=n.AriaUtil.getRoles(l,!1);if("datalist"===l.nodeName.toLowerCase()&&p&&p.includes("listbox"))return null;for(var h=["combobox","grid","listbox","menu","menubar","radiogroup","tablist","tree","treegrid"],_=0,b=h;_<b.length;_++){var g=b[_];if(null!=n.AriaUtil.getAncestorWithRole(l,g,!0))return null}for(var f=r.CommonUtil.hasAttribute,v=new Array,A=0;A<p.length;++A){if(m[p[A]],h.indexOf(p[A])>=0&&!(f(l,"aria-disabled")&&l.getAttribute("aria-disabled")||(u=l.hasAttribute("onkeydown")||l.hasAttribute("onkeypress")||l.hasAttribute("onkeyup"))))if(f(l,"aria-activedescendant"))u=!0;else{var y,w=o.ARIADefinitions.designPatterns[p[A]].reqChildren;if(w)for(var k=0,C=w.length;k<C;k++)for(var x="*[contains(@role,'"+w[k]+"')]",P=c.evaluate(x,l,r.CommonUtil.defaultNSResolver,0,null),R=P.iterateNext();R;){if(!(u=R.hasAttribute("onkeydown")||R.hasAttribute("onkeypress")))for(var T="descendant::*",U=(y=c.evaluate(T,R,r.CommonUtil.defaultNSResolver,0,null)).iterateNext();U&&!u;)r.CommonUtil.shouldNodeBeSkippedHidden(U)||(u=r.CommonUtil.isTabbable(U)&&(U.hasAttribute("onkeydown")||U.hasAttribute("onkeypress")))||"a"==U.nodeName.toLowerCase()&&U.hasAttribute("href")&&(u=(I=U.getAttribute("href")).startsWith("javascript:")&&-1==I.indexOf("void")&&I.length>11),U=y.iterateNext();if(!u)break;R=P.iterateNext()}else for(T="descendant::*",U=(y=c.evaluate(T,l,r.CommonUtil.defaultNSResolver,0,null)).iterateNext();U&&!u;)if(r.CommonUtil.shouldNodeBeSkippedHidden(U))U=y.iterateNext();else{var I;(u=r.CommonUtil.isTabbable(U)&&(U.hasAttribute("onkeydown")||U.hasAttribute("onkeypress")))||"a"==U.nodeName.toLowerCase()&&U.hasAttribute("href")&&(u=(I=U.getAttribute("href")).startsWith("javascript:")&&-1==I.indexOf("void")&&I.length>11),U=y.iterateNext()}}u||v.push(p[A]),!u&&d&&(d=u)}var L=new Array;L.push(l.nodeName.toLowerCase());var E=new Array;E.push(v.join(", "));var W=l.getAttribute("id");return W&&W.trim().length>0&&l.ownerDocument.querySelector("*[aria-controls='".concat(W,"'][role='combobox']"))?null:d?(0,a.RulePass)("pass"):(0,a.RulePotential)("potential_no_keyboard_access",[L.toString(),E.toString()])}}}},9062:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_landmark_name_unique=void 0;var a=i(4377),l=i(4377),n=i(4944),r=i(295),o=i(482),s=i(7788),u=i(1421);t.aria_landmark_name_unique={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:"aria_landmark_name_unique.html",Fail_0:"aria_landmark_name_unique.html",group:"aria_landmark_name_unique.html"}},messages:{"en-US":{Pass_0:"Multiple elements with \"{0}\" landmarks within the same parent region are distinguished by unique 'aria-label' or 'aria-labelledby'",Fail_0:'Multiple elements with "{0}" landmarks within the same parent region are not distinguished from one another because they have the same "{1}" label',group:"Each landmark should have a unique 'aria-labelledby' or 'aria-label' or be nested in a different parent region"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE},{id:["WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){for(var l=e.dom.node,d=l,c=[];d;)c.unshift(d),d=d.parentElement;c.forEach((function(e){if(null!==e&&("DIALOG"==e.tagName||"dialog"==e.getAttribute("role")))return null}));var m=o.FragmentUtil.getOwnerFragment(l),p=s.CacheUtil.getCache(l.ownerDocument,"aria_landmark_name_unique",null);if(!p){p={navigationNodes:[],navigationNodesComputedLabels:[],navigationNodesParents:[],navigationNodesMatchFound:[]};for(var h=m.querySelectorAll('aside,[role="complementary"], footer,[role="contentinfo"], header,[role="banner"], main,[role="main"], nav,[role="navigation"], form,[role="form"], section,[role="region"],[role="search"]'),_=Array.from(h),b=[],g=[],f=[],v=0;v<_.length;v++){for(var A=_[v],y=!1;A;)null!==(A=A.parentElement)&&("DIALOG"!=A.tagName&&"dialog"!=A.getAttribute("role")||(y=!0));y||f.push(_[v])}for(_=f,v=0;v<_.length;v++){var w=[];for(A=_[v].parentElement;A;)w.push(A),A=A.parentElement;for(var k=0;k<w.length;k++){var C=["ASIDE","FOOTER","FORM","HEADER","MAIN","NAV","SECTION"].includes(w[k].tagName),x=!1;if(w[k].hasAttribute("role")&&(x=["complementary","contentinfo","form","banner","main","navigation","region","search"].includes(w[k].getAttribute("role"))),C||x){b.push(w[k]);break}if(k===w.length-1){b.push(null);break}}}var P=[];for(v=0;v<_.length;v++){var R=u.AccNameUtil.computeAccessibleName(_[v]);P.push(R&&R.name&&R.name.trim().length>0?R.name.trim():"")}for(v=0;v<b.length;v++){var T=!1,U=!1;for(k=0;k<b.length;k++)if(k!==v){if(null===b[v]&&null===b[k]){if(n.ARIAMapper.nodeToRole(_[v])===n.ARIAMapper.nodeToRole(_[k])){if(P[v]===P[k]){g.push("Fail_0"),T=!0;break}U=!0}}else if(null===b[v]||null===b[k])continue;if(r.DOMUtil.sameNode(b[v],b[k])&&n.ARIAMapper.nodeToRole(_[v])===n.ARIAMapper.nodeToRole(_[k])){if(P[v]===P[k]){g.push("Fail_0"),T=!0;break}U=!0}}T||(U?g.push("Pass_0"):g.push("null"))}p.navigationNodesComputedLabels=P,p.navigationNodes=_,p.navigationNodesParents=b,p.navigationNodesMatchFound=g,s.CacheUtil.setCache(l.ownerDocument,"aria_landmark_name_unique",p)}var I=-1;for(v=0;v<p.navigationNodes.length;v++)l.isSameNode(p.navigationNodes[v])&&(I=v);return-1===I?null:"Pass_0"===p.navigationNodesMatchFound[I]?(0,a.RulePass)("Pass_0",[n.ARIAMapper.nodeToRole(p.navigationNodes[I])]):"Fail_0"===p.navigationNodesMatchFound[I]?(0,a.RuleFail)("Fail_0",[n.ARIAMapper.nodeToRole(p.navigationNodes[I]),p.navigationNodesComputedLabels[I]]):null}}},5746:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_main_label_unique=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137);t.aria_main_label_unique={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:"aria_main_label_unique.html",Fail_1:"aria_main_label_unique.html",group:"aria_main_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "main" role do not have unique labels',group:'Each element with "main" role must have unique label that describes its purposes'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){for(var l=e.dom.node,o=n.AriaUtil.getAriaLabel(l),s=n.AriaUtil.getAncestorWithRole(l,"document",!0),u=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"main",!0,!0),d=null,c=0;c<u.length;++c)if(u[c]!==l&&(d=(0,a.RulePass)("Pass_0"),n.AriaUtil.getAncestorWithRole(u[c],"document",!0)===s&&n.AriaUtil.getAriaLabel(u[c])===o)){d=(0,a.RuleFail)("Fail_1");break}return d}}},8685:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_main_label_visible=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137);t.aria_main_label_visible={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:"aria_main_label_visible.html",Fail_1:"aria_main_label_visible.html",group:"aria_main_label_visible.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "main" role do not have unique visible labels',group:'Each element with "main" role should have a unique visible label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,o=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"main",!0,!0);return 0===o.length||1===o.length?null:n.AriaUtil.hasUniqueAriaLabelledby(o)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},2678:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_navigation_label_unique=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(7788);t.aria_navigation_label_unique={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:"aria_navigation_label_unique.html",Fail_1:"aria_navigation_label_unique.html",group:"aria_navigation_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "navigation" role do not have unique labels',group:'Each element with "navigation" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"navigation",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_navigation_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_navigation_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""!==d&&(!(d in u)||u[d]<=1)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}}},971:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_parent_required=void 0;var a=i(4377),l=i(4377),n=i(8235),r=i(490),o=i(8137),s=i(8656);t.aria_parent_required={id:"aria_parent_required",context:"dom:*[role]",dependencies:["aria_role_allowed"],refactor:{Rpt_Aria_RequiredParent_Native_Host_Sematics:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{group:"aria_parent_required.html",Pass_0:"aria_parent_required.html",Fail_1:"aria_parent_required.html"}},messages:{"en-US":{group:"Each element with an implicit or explicit role must be contained within a valid element",Pass_0:"Rule Passed",Fail_1:'Element with "{0}" role is not contained in or owned by an element with one of the following roles: "{1}"'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:"ff89c9",run:function(e,t,i){var l=e.dom.node;if(!(s.VisUtil.isNodeHiddenFromAT(l)||o.CommonUtil.isNodeDisabled(l)||r.AriaUtil.shouldBePresentationalChild(l)||s.VisUtil.isNodePresentational(l))){for(var u=!0,d=n.ARIADefinitions.designPatterns,c=new Array,m=new Array,p=0,h=i.aria.map((function(e){return e.role})),_=h[h.length-2],b=2;"none"===_;)b++,_=h[h.length-b];var g=r.AriaUtil.getResolvedRole(l);if(d[g]&&null!=d[g].container){p++,u=!1;for(var f=0,v=(m=d[g].container).length;!u&&f<v&&!(u=_===m[f]);f++);0==u&&c.push(g)}var A=new Array;A.push(c.join(", "));var y=new Array;return y.push(m.join(", ")),0==p?null:u?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[A.toString(),y.toString()])}}}},3709:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_region_label_unique=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(7788);t.aria_region_label_unique={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:"aria_region_label_unique.html",Fail_1:"aria_region_label_unique.html",group:"aria_region_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "region" role do not have unique labels',group:'Each element with "region" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;if("region"===l.getAttribute("role")||l.hasAttribute("aria-label")||l.hasAttribute("aria-labelledby")&&!r.CommonUtil.isIdReferToSelf(l,l.getAttribute("aria-labelledby"))||l.hasAttribute("title")){var s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"region",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_region_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_region_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""!==d&&(!(d in u)||u[d]<=1)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}return null}}},6486:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_region_labelled=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(8656);t.aria_region_labelled={id:"aria_region_labelled",context:"aria:region",refactor:{Rpt_Aria_RegionLabel_Implicit:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"aria_region_labelled.html",Fail_1:"aria_region_labelled.html",group:"aria_region_labelled.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Element with "region" role does not have a label',group:'Each element with "region" role must have a label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;return o.VisUtil.isNodeHiddenFromAT(l)?null:n.AriaUtil.hasAriaLabel(l)||r.CommonUtil.attributeNonEmpty(l,"title")?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},4151:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_role_allowed=void 0;var a=i(4377),l=i(4377),n=i(490);t.aria_role_allowed={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:"aria_role_allowed.html",Pass_0:"aria_role_allowed.html",Fail_2:"aria_role_allowed.html",Potential_1:"aria_role_allowed.html"}},messages:{"en-US":{group:"Elements must have a valid 'role' per ARIA specification",Pass_0:"Rule Passed",Fail_2:"The role '{0}' defined on the element is not valid per ARIA specification",Potential_1:"Some of the roles, '{0}', defined on the element are not valid per ARIA specification"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"4.1.2",level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:"674b10",run:function(e,t,i){var l=e.dom.node,r=l.getAttribute("role").trim().toLowerCase();if(0===r.length)return null;if(l.hasAttribute("aria-hidden")&&"true"===l.getAttribute("aria-hidden").toLowerCase())return null;var o=n.AriaUtil.getRolesUndefinedByAria(l);if(!o||0===o.length)return(0,a.RulePass)("Pass_0");var s=r.split(/\s+/);return o.length===s.length?(0,a.RuleFail)("Fail_2",[o.join(",")]):o.length>0?(0,a.RulePotential)("Potential_1",[o.join(",")]):void 0}}},8545:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_role_redundant=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(5755);t.aria_role_redundant={id:"aria_role_redundant",context:"dom:*[role]",help:{"en-US":{pass:"aria_role_redundant.html",fail_redundant:"aria_role_redundant.html",group:"aria_role_redundant.html"}},messages:{"en-US":{pass:"An explicitly-assigned ARIA role is not redundant with the implicit role of the element",fail_redundant:'The explicitly-assigned ARIA role "{0}" is redundant with the implicit role of the element <{1}>',group:"An explicitly-assigned ARIA role should not be redundant with the implicit role of the element"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next"],num:["ARIA"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,o=l.tagName.toLowerCase(),s=n.AriaUtil.getRoles(l,!1);if(s&&0!==s.length){if(!n.AriaUtil.areRolesDefined(s))return null;if(["td","th","tr"].includes(o)){var u=r.TableUtil.isTableDescendant(i);if(null!==u&&u.length>0)return null}var d=n.AriaUtil.getImplicitRole(l);if(!d||0===d.length)return(0,a.RulePass)("pass");for(var c=[],m=0;m<s.length;m++)d.includes(s[m])?c.push((0,a.RuleFail)("fail_redundant",[s[m],o])):c.push((0,a.RulePass)("pass"));return c.length>0?c:null}}}},8538:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_search_label_unique=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(7788);t.aria_search_label_unique={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:"aria_search_label_unique.html",Fail_1:"aria_search_label_unique.html",group:"aria_search_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "search" role do not have unique labels',group:'Each element with "search" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"search",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_search_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_search_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""!==d&&(!(d in u)||u[d]<=1)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}}},1908:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_attribute_valid=t.aria_role_valid=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137);t.aria_role_valid={id:"aria_role_valid",context:"dom:*",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_role_valid.html",Fail_1:"aria_role_valid.html",Fail_2:"aria_role_valid.html",group:"aria_role_valid.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"The ARIA role '{0}' is not valid for the element <{1}>",Fail_2:"The ARIA role '{0}' is not valid for the element <{1}> and may be ignored by the browser since the element is focusable",group:"ARIA roles must be valid for the element to which they are assigned"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,o=l.tagName.toLowerCase();if(1!==l.nodeType)return null;var s=n.AriaUtil.getRolesUndefinedByAria(l);if(s&&s.length>0)return null;var u=n.AriaUtil.getDeprecatedAriaRoles(l);if(u&&u.length>0)return null;var d=n.AriaUtil.getDeprecatedAriaAttributes(l);if(d&&d.length>0)return null;if(["td","th","tr"].includes(o)){var c=r.CommonUtil.isTableDescendant(i);if(null!==c&&c.length>0)return null}var m=n.AriaUtil.getUserDefinedRoles(l);if(!m||0===m.length)return null;if(m.includes("generic"))return(0,a.RuleFail)("Fail_1",["generic",o]);var p=n.AriaUtil.getInvalidRoles(l);return null===p||0===p.length?(0,a.RulePass)("Pass_0",[m.join(", "),o]):p.includes("presentation")||p.includes("none")&&r.CommonUtil.isTabbable(l)?(0,a.RuleFail)("Fail_2",[p.join(", "),o]):p.length>0?(0,a.RuleFail)("Fail_1",[p.join(", "),o]):m.length>0?(0,a.RulePass)("Pass_0",[m.join(", "),o]):null}},t.aria_attribute_valid={id:"aria_attribute_valid",context:"dom:*",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_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:{"en-US":{group:"ARIA attributes should be valid for the element and ARIA role to which they are assigned",Pass:"ARIA attributes are valid for the element and ARIA role",Fail_invalid_role_attr:'The ARIA attributes "{0}" are not valid for the element <{1}> with ARIA role "{2}"',Fail_invalid_implicit_role_attr:'The ARIA attributes "{0}" are not valid for the element <{1}> with implicit ARIA role "{2}"'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["ARIA"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:["5c01ea",{"46ca7f":{Pass:"pass",Fail_invalid_role_attr:"fail",Fail_invalid_implicit_role_attr:"fail"}}],run:function(e,t,i){var l=e.dom.node;if(1!==l.nodeType)return null;var r=n.AriaUtil.getUserDefinedAriaAttributes(l);if(null===r||0===r.length)return null;var o=n.AriaUtil.getUserDefinedRoles(l),s=!0;if(o&&o.length>0){if(!n.AriaUtil.areRolesDefined(o))return null}else o=n.AriaUtil.getImplicitRole(l),s=!1;var u=l.tagName.toLowerCase(),d=n.AriaUtil.getInvalidAriaAttributes(l);return d&&0!==d.length?o.length>0?s?(0,a.RuleFail)("Fail_invalid_role_attr",[d.join(", "),u,o.join(", ")]):(0,a.RuleFail)("Fail_invalid_implicit_role_attr",[d.join(", "),u,o.join(", ")]):(0,a.RuleFail)("Fail_invalid_role_attr",[d.join(", "),u,"none"]):(0,a.RulePass)("Pass",[r.join(", "),u,o.join(", ")])}}},6360:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_toolbar_label_unique=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(7788);t.aria_toolbar_label_unique={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:"aria_toolbar_label_unique.html",Fail_1:"aria_toolbar_label_unique.html",group:"aria_toolbar_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "toolbar" roles do not have unique labels',group:'Each element with "toolbar" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"toolbar",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_toolbar_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_toolbar_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""!==d&&(!(d in u)||u[d]<=1)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}}},5386:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_widget_labelled=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(4944),s=i(482),u=i(8235),d=i(295);t.aria_widget_labelled={id:"aria_widget_labelled",context:"dom:*",refactor:{Rpt_Aria_WidgetLabels_Implicit:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{group:"aria_widget_labelled.html",Pass_0:"aria_widget_labelled.html",Fail_1:"aria_widget_labelled.html"}},messages:{"en-US":{group:"Interactive component must have a programmatically associated name",Pass_0:"Rule Passed",Fail_1:"Interactive component with ARIA role '{0}' does not have a programmatically associated name"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:"m6b1q3",run:function(e,t,i){var l=e.dom.node;if(l.hasAttribute("type")&&"hidden"===l.getAttribute("type")||n.AriaUtil.getAncestorWithRole(l,"combobox")&&!n.AriaUtil.hasRoleInSemantics(l,"textbox")&&!n.AriaUtil.hasRoleInSemantics(l,"searchbox"))return null;var c=o.ARIAMapper.nodeToRole(l),m=l.nodeName.toLowerCase();if(["button","checkbox","combobox","listbox","menuitemcheckbox","menuitemradio","radio","searchbox","slider","spinbutton","switch","textbox","progressbar","link"].includes(c))return null;if("output"===m||"input"===m&&l.getAttribute("type"),!l.hasAttribute("role")&&-1!=["input","textarea","select","button","datalist","optgroup","option","keygen","output","progress","meter"].indexOf(l.nodeName.toLowerCase()))return null;for(var p=["listbox","tree","grid","dialog"],h=0;h<p.length;h++)if(n.AriaUtil.hasRoleInSemantics(l,p[h]))for(var _=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"combobox",!0,!0),b=0;b<_.length;b++){var g=_[b],f=r.CommonUtil.getElementAttribute(g,"aria-owns");if(f)for(var v=r.CommonUtil.normalizeSpacing(f.trim()).split(" "),A=0;A<v.length;A++)if(s.FragmentUtil.getById(l,v[A])===l)return null}for(var y=!0,w=u.ARIADefinitions.designPatterns,k=n.AriaUtil.getRoles(l,!0),C=0,x=["widget","liveRegion","window"],P=(A=0,k.length);y&&A<P;++A){var R=w[k[A]];R&&R.nameRequired&&R.roleType&&x.includes(R.roleType)&&(++C,!(y=n.AriaUtil.hasAriaLabel(l)||r.CommonUtil.attributeNonEmpty(l,"title")||r.CommonUtil.getLabelForElementHidden(l,!0))&&R.nameFrom&&R.nameFrom.indexOf("contents")>=0&&(y=r.CommonUtil.hasInnerContentOrAlt(l)),y||(y=r.CommonUtil.hasImplicitLabel(l)),y||"img"!==l.tagName.toLowerCase()||l.hasAttribute("role")||!l.hasAttribute("alt")||(y=d.DOMUtil.cleanWhitespace(l.getAttribute("alt")).trim().length>0),R.nameFrom.indexOf("prohibited"))}return 0===C?null:y?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[c])}}},8752:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.asciiart_alt_exists=void 0;var a=i(4377),l=i(8137);t.asciiart_alt_exists={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:"asciiart_alt_exists.html",Potential_1:"asciiart_alt_exists.html",group:"asciiart_alt_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that ASCII art has a text alternative",group:"ASCII art must have a text alternative"}},rulesets:[],act:[],run:function(e,t,i){var n=e.dom.node;if("pre"==n.nodeName.toLowerCase()&&(n.previousSibling&&"code"==n.previousSibling.nodeName.toLowerCase()||n.getElementsByTagName("code").length>0||l.CommonUtil.getAncestor(n,"code")))return(0,a.RulePass)("Pass_0");for(var r=!0,o=l.CommonUtil.getInnerText(n),s=0,u=0,d="",c=0;r&&c<o.length;++c){var m=o.substr(c,1);/[\w!@#$%&\*().,?\[\]{}<>=":\/\\-]/.test(m)?d==m?u+=1:u=0:(/\s/.test(m)||(s+=1),u=0),d=m,(s>=5||u>=4)&&(r=!1)}return r?(0,a.RulePass)("Pass_0"):r?void 0:(0,a.RulePotential)("Potential_1")}}},4392:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.blink_css_review=void 0;var a=i(4377),l=i(4377),n=i(8137);t.blink_css_review={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:"blink_css_review.html",Pass_0:"blink_css_review.html",Potential_1:"blink_css_review.html"}},messages:{"en-US":{group:"Do not use the \"blink\" value of the 'text-decoration' property for longer than five seconds",Pass_0:"Rule Passed",Potential_1:"Check the \"blink\" value of the CSS 'text-decoration' property is not used for more than than five seconds"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"2.2.2",level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node,r=n.CommonUtil.getInnerText(l);l.hasAttribute("style")&&(r=l.getAttribute("style"));var o=-1==r.toLowerCase().indexOf("text-decoration:blink");return o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RulePotential)("Potential_1")}}},932:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.blink_elem_deprecated=void 0;var a=i(4377),l=i(4377);t.blink_elem_deprecated={id:"blink_elem_deprecated",context:"dom:blink",refactor:{WCAG20_Blink_AlwaysTrigger:{Fail_1:"Fail_1"}},help:{"en-US":{group:"blink_elem_deprecated.html",Fail_1:"blink_elem_deprecated.html"}},messages:{"en-US":{group:"Content that blinks persistently must not be used",Fail_1:"Content found that blinks persistently"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"2.2.2",level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){return(0,a.RuleFail)("Fail_1")}}},6255:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.blockquote_cite_exists=void 0;var a=i(4377),l=i(4377),n=i(8137);t.blockquote_cite_exists={id:"blockquote_cite_exists",context:"dom:blockquote",refactor:{RPT_Blockquote_HasCite:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"blockquote_cite_exists.html",Potential_1:"blockquote_cite_exists.html",group:"blockquote_cite_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that <blockquote> should have a 'cite' attribute and not be used for indentation only",group:"Use <blockquote> only for quotations, not indentation"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,r=n.CommonUtil.attributeNonEmpty(l,"cite");if(!r){var o=n.CommonUtil.getDocElementsByTag(l,"cite");r=null!=o&&o.length>0}return r?(0,a.RulePass)("Pass_0"):r?void 0:(0,a.RulePotential)("Potential_1")}}},5743:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.canvas_content_described=void 0;var a=i(4377),l=i(4377),n=i(8656);t.canvas_content_described={id:"canvas_content_described",context:"dom:canvas",refactor:{HAAC_Canvas:{Pass_0:"Pass_0",Manual_1:"Manual_1"}},help:{"en-US":{Pass_0:"canvas_content_described.html",Manual_1:"canvas_content_described.html",group:"canvas_content_described.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Manual_1:"Verify accessibility of the <canvas> element",group:"The <canvas> element may not be accessible"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1","2.1.1","4.1.2"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;if(n.VisUtil.isNodeHiddenFromAT(l))return null;var r=l.innerHTML.trim().length>0;return r?(0,a.RulePass)("Pass_0"):r?void 0:(0,a.RuleManual)("Manual_1")}}},2671:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.caption_track_exists=void 0;var a=i(4377),l=i(4377);t.caption_track_exists={id:"caption_track_exists",context:"dom:video",refactor:{HAAC_Video_HasNoTrack:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"caption_track_exists.html",Potential_1:"caption_track_exists.html",group:"caption_track_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that captions are available for any meaningful audio or provide a caption track for the <video> element",group:"A <video> element must have a text alternative for any meaningful audio content"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.2.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,n=!1;if("true"===l.getAttribute("aria-hidden"))return null;for(var r=l.getElementsByTagName("track"),o=0;o<r.length;++o)n=n||"captions"===r[o].getAttribute("kind");if(l.textTracks&&l.textTracks.length>0)for(o=0;o<l.textTracks.length;o++)n=n||"captions"===l.textTracks[o].kind;return n?(0,a.RulePass)("Pass_0"):(0,a.RulePotential)("Potential_1")}}},3974:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.combobox_active_descendant=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(482),o=i(7440),s=i(7788),u=i(8656);t.combobox_active_descendant={id:"combobox_active_descendant",context:"aria:combobox",dependencies:["combobox_popup_reference"],help:{"en-US":{Pass:"combobox_active_descendant.html",Fail_missing:"combobox_active_descendant.html",Fail_not_in_popup:"combobox_active_descendant.html",Fail_active_role_invalid:"combobox_active_descendant.html",Fail_active_not_selected:"combobox_active_descendant.html",group:"combobox_active_descendant.html"}},messages:{"en-US":{Pass:"'aria-activedescendant' is used appropriately for this combobox",Fail_missing:"The element referenced by 'aria-activedescendant' \"{0}\" does not exist",Fail_not_in_popup:"The element referenced by 'aria-activedescendant' \"{0}\" does not exist within the popup referenced by 'id' \"{1}\"",Fail_active_role_invalid:"The 'aria-activedescendant' \"{0}\" references an element with the roles \"{1}\", which does not have a valid ARIA role of 'option', 'gridcell', 'row', or 'treeitem'",Fail_active_not_selected:"The 'aria-activedescendant' \"{0}\" references an element that does not have 'aria-selected' set to true",group:"'aria-activedescendant' must be used to define focus within the combobox popup, except when using a dialog popup"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,d=s.CacheUtil.getCache(l.ownerDocument,"combobox",{});if(!d)return null;var c=d[e.dom.rolePath];if(!c)return null;var m=c.popupElement,p=c.popupId;if(!m)return null;var h=l.getAttribute("aria-activedescendant");if(!h||0===h.trim().length)return null;var _=r.FragmentUtil.getById(l,h);if(!_)return(0,a.RuleFail)("Fail_missing",[h]);var b=!1;if(m)for(var g=new o.DOMWalker(m);!b&&g.nextNode()&&g.node!=m&&g.node!=m.nextSibling;)1===g.node.nodeType&&u.VisUtil.isNodeVisible(g.node)&&(b=g.elem().getAttribute("id")===h);var f=[];b||f.push((0,a.RulePass)("Fail_not_in_popup",[h,p]));var v=n.AriaUtil.getRoles(_,!0);return 0===["option","gridcell","row","treeitem"].filter((function(e){return v.includes(e)})).length&&f.push((0,a.RuleFail)("Fail_active_role_invalid",[h,v.join(",")])),"true"!==_.getAttribute("aria-selected")&&f.push((0,a.RuleFail)("Fail_active_not_selected",[h])),0===f.length?(0,a.RulePass)("Pass"):f}}},9881:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.combobox_autocomplete_valid=void 0;var a=i(4377),l=i(4377),n=i(7440),r=i(7788),o=i(8656);t.combobox_autocomplete_valid={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_valid.html",Fail_1:"combobox_autocomplete_valid.html",Fail_inline:"combobox_autocomplete_valid.html",group:"combobox_autocomplete_valid.html"}},messages:{"en-US":{Pass:"The combobox does not use 'aria-autocomplete' value '\"inline\"' nor does it have 'aria-autocomplete' defined within the popup",Fail_1:"The combobox has the 'aria-autocomplete' attribute incorrectly set on an element within the popup referenced by \"{0}\"",Fail_inline:"The combobox does not support an 'aria-autocomplete' attribute value set to '\"inline\"' ",group:"A combobox that supports autocompletion behavior must have the 'aria-autocomplete' attribute only on its text input element with a valid value; a value of '\"inline\"' is not supported"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,s=r.CacheUtil.getCache(l.ownerDocument,"combobox",{});if(!s)return null;var u=s[e.dom.rolePath];if(!u)return null;var d=u.popupId,c=u.popupElement,m=[];"inline"===l.getAttribute("aria-autocomplete")&&m.push((0,a.RuleFail)("Fail_inline"));var p=!0;if(c&&o.VisUtil.isNodeVisible(c)&&(p=!c.hasAttribute("aria-autocomplete"))&&c.children&&c.children.length>0)for(var h=new n.DOMWalker(c);p&&h.nextNode()&&(1!==h.node.nodeType||!o.VisUtil.isNodeVisible(h.node)||(p=!h.elem().hasAttribute("aria-autocomplete"),!h.bEndTag||h.node!==c.lastElementChild)););return p||m.push((0,a.RuleFail)("Fail_1",[d])),m.length>0?m:(0,a.RulePass)("Pass")}}},1226:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.combobox_design_valid=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(8656),s=i(7788);t.combobox_design_valid={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_design_valid.html","Fail_1.1":"combobox_design_valid.html","Pass_1.2":"combobox_design_valid.html",group:"combobox_design_valid.html"}},messages:{"en-US":{"Pass_1.0":"The combobox design pattern is detected as ARIA 1.0, which is allowed by ARIA 1.2","Fail_1.1":"The combobox design pattern is detected as ARIA 1.1, which is not allowed by ARIA 1.2","Pass_1.2":"The combobox design pattern is detected as ARIA 1.2",group:"The combobox design pattern must be valid for ARIA 1.2"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(!o.VisUtil.isNodeVisible(l)||r.CommonUtil.isNodeDisabled(l))return null;var u,d="select"===(u=l).tagName.toLowerCase()&&"combobox"!==u.getAttribute("role")?"implicit":"input"!==u.nodeName.toLowerCase()||u.hasAttribute("type")&&"text"!==u.getAttribute("type")||!u.hasAttribute("aria-owns")||u.hasAttribute("aria-controls")?"input"!==u.nodeName.toLowerCase()&&u.hasAttribute("aria-owns")&&!u.hasAttribute("aria-controls")?"1.1":"1.2":"1.0";if("implicit"===d)return null;var c=l.tagName.toLowerCase(),m="true"===(n.AriaUtil.getAriaAttribute(l,"aria-expanded")||"").trim().toLowerCase(),p="input"===c&&(!l.hasAttribute("type")||"text"===l.getAttribute("type").toLowerCase()),h=e.dom.rolePath;if(!h)return null;var _=s.CacheUtil.getCache(l.ownerDocument,"combobox",{});return _?(_[h]={inputElement:p?l:null,pattern:d,expanded:m},s.CacheUtil.setCache(l.ownerDocument,"combobox",_),"1.0"===d?(0,a.RulePass)("Pass_1.0"):"1.1"===d?(0,a.RuleFail)("Fail_1.1"):"1.2"===d?(0,a.RulePass)("Pass_1.2"):void 0):null}}},7369:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.combobox_focusable_elements=void 0;var a=i(4377),l=i(4377),n=i(7440),r=i(490),o=i(8137),s=i(7788),u=i(8656);t.combobox_focusable_elements={id:"combobox_focusable_elements",context:"aria:combobox",dependencies:["combobox_popup_reference"],help:{"en-US":{Pass:"combobox_focusable_elements.html",Fail_not_tabbable:"combobox_focusable_elements.html",Fail_tabbable_child:"combobox_focusable_elements.html",group:"combobox_focusable_elements.html"}},messages:{"en-US":{Pass:"DOM focus is allowed only on the combobox element as required",Fail_not_tabbable:"The combobox element does not allow DOM focus as required",Fail_tabbable_child:"The popup of the combobox has DOM focus or has 'aria-activedescendant' defined, which is not allowed",group:"Tabbable focus for the combobox must be allowed only on the text input, except when using a dialog popup"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,d=s.CacheUtil.getCache(l.ownerDocument,"combobox",{});if(!d)return null;var c=d[e.dom.rolePath];if(!c)return null;var m=c.popupElement,p=c.expanded;if(!m)return null;var h=r.AriaUtil.getRoles(m,!0)[0],_=[];if(o.CommonUtil.isTabbable(l)||_.push((0,a.RuleFail)("Fail_not_tabbable")),!1===p||"dialog"===h)return(0,a.RulePass)("Pass");var b=!0;if(m&&u.VisUtil.isNodeVisible(m)&&(b=!o.CommonUtil.isTabbable(m)&&!r.AriaUtil.getAriaAttribute(m,"aria-activedescendant"))&&m.children&&m.children.length>0)for(var g=new n.DOMWalker(m);b&&g.nextNode()&&(1!==g.node.nodeType||!u.VisUtil.isNodeVisible(g.node)||(b=!o.CommonUtil.isTabbable(g.node)&&!r.AriaUtil.getAriaAttribute(g.node,"aria-activedescendant"),!g.bEndTag||g.node!==m.lastElementChild)););return b||_.push((0,a.RuleFail)("Fail_tabbable_child")),0===_.length?(0,a.RulePass)("Pass"):_}}},2633:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.combobox_haspopup_valid=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(7788);t.combobox_haspopup_valid={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_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:{"en-US":{Pass:"The 'aria-controls' (ARIA 1.2) or 'aria-owns' (ARIA 1.0) appropriately references a valid popup 'id' value",Fail_popup_role_invalid:'The \'role\' value "{0}" of the popup element "{1}" should be one of "listbox", "grid", "tree" or "dialog"',Fail_combobox_popup_role_mismatch:"The value of the combobox 'aria-haspopup' attribute \"{0}\" does not match the 'role' value of the popup element \"{1}\"",group:"The combobox attribute 'aria-haspopup' value must be appropriate for the role of the element referenced by 'aria-controls' (ARIA 1.2) or 'aria-owns' (ARIA 1.0)"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,o=r.CacheUtil.getCache(l.ownerDocument,"combobox",{});if(!o)return null;var s=o[e.dom.rolePath];if(!s)return null;var u=s.popupElement,d=s.popupId;if(!u)return null;var c=n.AriaUtil.getRoles(u,!0),m=["listbox","grid","tree","dialog"].filter((function(e){return c.includes(e)}));if(0===m.length)return(0,a.RuleFail)("Fail_popup_role_invalid",[c.join(","),d]);var p=m[0],h=l.getAttribute("aria-haspopup")||"listbox";return h===p||"listbox"===p&&!l.hasAttribute("aria-haspopup")?(0,a.RulePass)("Pass"):(0,a.RuleFail)("Fail_combobox_popup_role_mismatch",[h,p])}}},2429:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.combobox_popup_reference=void 0;var a=i(4377),l=i(4377),n=i(482),r=i(7788),o=i(8656);t.combobox_popup_reference={id:"combobox_popup_reference",context:"aria:combobox",dependencies:["combobox_design_valid"],help:{"en-US":{group:"combobox_popup_reference.html","Pass_1.0_expanded":"combobox_popup_reference.html","Pass_1.0_collapsed":"combobox_popup_reference.html","Pass_1.2_expanded":"combobox_popup_reference.html","Pass_1.2_collapsed":"combobox_popup_reference.html","Fail_1.0_missing_owns":"combobox_popup_reference.html","Fail_1.2_missing_controls":"combobox_popup_reference.html","Fail_1.0_popup_reference_missing":"combobox_popup_reference.html","Fail_1.2_popup_reference_missing":"combobox_popup_reference.html",Fail_combobox_expanded_hidden:"combobox_popup_reference.html",Fail_combobox_collapsed_visible:"combobox_popup_reference.html"}},messages:{"en-US":{group:"The 'aria-controls' (for ARIA 1.2) or the 'aria-owns' (for ARIA 1.0) attribute of the expanded combobox must reference a valid popup 'id' value","Pass_1.0_expanded":"The combobox popup referenced by 'aria-owns' (ARIA 1.0) exists and is visible","Pass_1.0_collapsed":"The combobox popup in its collapsed state does not reference any visible popup as required","Pass_1.2_expanded":"The combobox popup referenced by 'aria-controls' (ARIA 1.2) exists and is visible","Pass_1.2_collapsed":"The combobox popup in its collapsed state does not reference any visible popup as required","Fail_1.0_missing_owns":"The 'aria-owns' attribute of the expanded combobox is missing","Fail_1.2_missing_controls":"The 'aria-controls' attribute of the expanded combobox is missing","Fail_1.0_popup_reference_missing":"The 'aria-owns' attribute \"{0}\" of the expanded combobox does not reference a valid popup 'id' value","Fail_1.2_popup_reference_missing":"The 'aria-controls' attribute \"{0}\" of the expanded combobox does not reference a valid popup 'id' value",Fail_combobox_expanded_hidden:"The combobox 'aria-expanded' attribute is true, but the combobox popup is not visible",Fail_combobox_collapsed_visible:"The combobox 'aria-expanded' attribute is false, but the combobox popup is visible"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[{"4e8ab6":{"Pass_1.0_expanded":"fail","Pass_1.0_collapsed":"fail","Pass_1.2_expanded":"pass","Pass_1.2_collapsed":"pass","Fail_1.0_missing_owns":"inapplicable","Fail_1.2_missing_controls":"fail","Fail_1.0_popup_reference_missing":"inapplicable","Fail_1.2_popup_reference_missing":"fail",Fail_combobox_expanded_hidden:"inapplicable",Fail_combobox_collapsed_visible:"inapplicable"}}],run:function(e,t,i){var l=e.dom.node,s=r.CacheUtil.getCache(l.ownerDocument,"combobox",{});if(!s)return null;var u=s[e.dom.rolePath];if(!u)return null;var d,c,m=u.pattern,p=u.expanded;if("1.0"===m){if(!l.hasAttribute("aria-owns"))return p?(0,a.RuleFail)("Fail_1.0_missing_owns"):null;if(d=l.getAttribute("aria-owns"),!(c=n.FragmentUtil.getById(l,d)))return p?(0,a.RuleFail)("Fail_1.0_popup_reference_missing",[d]):null}else{if("1.2"!==m)return null;if(!l.hasAttribute("aria-controls"))return p?(0,a.RuleFail)("Fail_1.2_missing_controls"):null;if(d=l.getAttribute("aria-controls"),!(c=n.FragmentUtil.getById(l,d)))return p?(0,a.RuleFail)("Fail_1.2_popup_reference_missing",[d]):null}return u.popupId=d,u.popupElement=c,p&&!o.VisUtil.isNodeVisible(c)?(0,a.RuleFail)("Fail_combobox_expanded_hidden"):!p&&o.VisUtil.isNodeVisible(c)?(0,a.RuleFail)("Fail_combobox_collapsed_visible"):"1.0"===m?p?(0,a.RulePass)("Pass_1.0_expanded"):(0,a.RulePass)("Pass_1.0_collapsed"):p?(0,a.RulePass)("Pass_1.2_expanded"):(0,a.RulePass)("Pass_1.2_collapsed")}}},7874:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.debug_paths=void 0;var a=i(4377);t.debug_paths={id:"debug_paths",context:"dom:*",help:{"en-US":{group:"",Pass_0:""}},messages:{"en-US":{group:"",Pass_0:""}},rulesets:[{id:["DEBUG"],num:"1",level:a.eRulePolicy.INFORMATION,toolkitLevel:a.eToolkitLevel.LEVEL_FOUR}],act:[],run:function(e,t,i){var a=e.dom.node;return a.setAttribute("domPath",e.dom.rolePath),a.setAttribute("ariaPath",e.aria.rolePath),null}}},3334:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.detector_tabbable=void 0;var a=i(8137),l=i(4377),n=i(4377);t.detector_tabbable={id:"detector_tabbable",context:"dom:*",help:{"en-US":{group:"",Pass_0:""}},messages:{"en-US":{group:"",Pass_0:""}},rulesets:[{id:["EXTENSIONS"],num:"1",level:n.eRulePolicy.INFORMATION,toolkitLevel:n.eToolkitLevel.LEVEL_FOUR}],act:[],run:function(e,t,i){var n=e.dom.node;if(!a.CommonUtil.isTabbable(n))return null;var r=i.aria[i.aria.length-1];return(0,l.RulePass)("Pass_0",[],[{name:r.attributes.name,role:r.role,tabindex:parseInt(n.getAttribute("tabindex")||"0")}])}}},4298:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.dir_attribute_valid=void 0;var a=i(4377),l=i(4377);t.dir_attribute_valid={id:"dir_attribute_valid",context:"dom:*[dir]",refactor:{Valerie_Elem_DirValid:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"dir_attribute_valid.html",Fail_1:"dir_attribute_valid.html",group:"dir_attribute_valid.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Invalid value used for the 'dir' attribute",group:'\'dir\' attribute value must be "ltr", "rtl", or "auto"'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node.getAttribute("dir").toLowerCase();return"ltr"==l||"rtl"==l||"auto"==l?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},4435:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.download_keyboard_controllable=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(8656);t.download_keyboard_controllable={id:"download_keyboard_controllable",context:"dom:a[href],dom:area[href]",refactor:{HAAC_Media_DocumentTrigger2:{Manual_1:"Manual_1"}},help:{"en-US":{Manual_1:"download_keyboard_controllable.html",group:"download_keyboard_controllable.html"}},messages:{"en-US":{Manual_1:"Verify that the file download mechanism does not cause a keyboard trap",group:"File download mechanisms should be keyboard-operable and preserve page focus location"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.2"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;var o=l.getAttribute("href"),s=n.CommonUtil.getFileExt(o),u=![".docx",".doc",".pdf",".odt"].includes(s);return u?null:u?void 0:(0,a.RuleManual)("Manual_1")}}},1685:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.draggable_alternative_exists=void 0;var a=i(8137),l=i(4377),n=i(4377),r=i(8656);t.draggable_alternative_exists={id:"draggable_alternative_exists",context:"dom:*[draggable]",dependencies:[],help:{"en-US":{group:"draggable_alternative_exists.html",pass_undraggable:"draggable_alternative_exists.html",potential_alternative:"draggable_alternative_exists.html"}},messages:{"en-US":{group:'A draggable element must have a "single pointer" alternative',pass_undraggable:'The element "{0}" is not draggable',potential_alternative:'Ensure the draggable element "{0}" has a "single pointer" alternative'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_2"],num:["2.5.7"],level:n.eRulePolicy.VIOLATION,toolkitLevel:n.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var n=e.dom.node;if(!r.VisUtil.isNodeVisible(n))return null;var o=n.nodeName.toLocaleLowerCase();return null!==a.CommonUtil.getAncestor(n,["pre","code","script","meta"])||"body"===o||"html"===o?null:"true"===n.getAttribute("draggable")?(0,l.RulePotential)("potential_alternative",[o]):"false"===n.getAttribute("draggable")?(0,l.RulePass)("pass_undraggable",[o]):null}}},6313:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_accesskey_labelled=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(8656),s=i(8235),u=i(1421);t.element_accesskey_labelled={id:"element_accesskey_labelled",context:"dom:*[accesskey]",refactor:{HAAC_Accesskey_NeedLabel:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"element_accesskey_labelled.html",Potential_1:"element_accesskey_labelled.html",group:"element_accesskey_labelled.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"The element with an assigned 'accesskey' attribute does not have an associated label",group:"An element with an assigned 'accesskey' attribute must have an associated label"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["3.3.2"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(o.VisUtil.isNodeVisible(l)&&!r.CommonUtil.isNodeDisabled(l)&&!r.CommonUtil.isTabbable(l)){var d=n.AriaUtil.getRoles(l,!0);if(d&&0!==d.length){var c=s.ARIADefinitions.designPatterns[d[0]];if(c&&c.nameFrom&&!c.nameRequired&&c.nameFrom&&!c.nameFrom.includes("prohibited")&&(!l.parentElement||"fieldset"!==l.parentElement.nodeName.toLowerCase())){var m=u.AccNameUtil.computeAccessibleName(l);return m&&m.name&&m.name.trim().length>0?(0,a.RulePass)("Pass_0"):(0,a.RulePotential)("Potential_1")}}}}}},9109:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_accesskey_unique=void 0;var a=i(4377),l=i(4377),n=i(7788);t.element_accesskey_unique={id:"element_accesskey_unique",context:"dom:*[accesskey]",refactor:{WCAG20_Elem_UniqueAccessKey:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"element_accesskey_unique.html",Fail_1:"element_accesskey_unique.html",group:"element_accesskey_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"'accesskey' attribute value on the element is not unique",group:"'accesskey' attribute values on each element must be unique for the page"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next"],num:["HTML"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,r=n.CacheUtil.getCache(l.ownerDocument,"element_accesskey_unique",{}),o=l.getAttribute("accesskey"),s=!(o in r);return r[o]=!0,s?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},9918:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_attribute_deprecated=void 0;var a=i(4377),l=i(4377),n=["applet","basefont","center","dir","font","isindex","listing","plaintext","spacer","s","strike","u","xmp","acronym","frame","frameset","noframes","noembed","big","blink","marquee","tt"],r=["align","link","archive","background","bgcolor","clear","code","color","compact","face","hspace","language","link","noshade","nowrap","object","prompt","start","text","version","vlink","vspace"],o={td:["height","width","abbr","axis","char","charoff","height","nowrap","valign","width","align","bgcolor"],th:["height","width","abbr","axis","charoff","height","bgcolor","align","nowrap","char","valign","width"],li:["type","value","type"],ul:["type","compact"],pre:["width"],meta:["http-equiv"],a:["charset","coords","shape","rev","scheme"],link:["rev","charset","target"],img:["name","longdesc","align","hspace","vspace","border"],area:["nohref"],head:["profile"],html:["version"],iframe:["longdesc","align","frameborder","marginheight","marginwidth","scrolling"],object:["archive","code","codebase","codetype","declare","standby","align","hspace","vspace","border"],param:["type","valuetype"],script:["language"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],caption:["align"],col:["align","char","charoff","valign","width"],div:["align"],dl:["compact"],hr:["align","noshade","size","width","align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],input:["align","usemap"],legend:["align"],menu:["compact"],ol:["compact","type","type"],p:["align"],table:["bgcolor","cellpadding","cellspacing","frame","rules","width","align"],tbody:["align","char","valign","charoff"],tfoot:["align","charoff","char","valign"],thead:["char","charoff","valign","align"],tr:["align","bgcolor","char","charoff","valign"]};t.element_attribute_deprecated={id:"element_attribute_deprecated",context:"dom:applet, dom:basefont, dom:center, dom:dir, dom:font, dom:isindex, dom:listing, dom:menu, dom:plaintext, dom:spacer, dom:s, dom:strike, dom:u, dom:xmp, dom:acronym, dom:frame, dom:frameset, dom:noframes, dom:noembed, dom:big, dom:blink, dom:marquee, dom:ttNaNdom:*[align], dom:*[link], dom:*[archive], dom:*[background], dom:*[bgcolor], dom:*[clear], dom:*[code], dom:*[color], dom:*[compact], dom:*[face], dom:*[hspace], dom:*[language], dom:*[link], dom:*[noshade], dom:*[nowrap], dom:*[object], dom:*[prompt], dom:*[start], dom:*[text], dom:*[version], dom:*[vlink], dom:*[vspace]NaNdom:td[height], dom:td[width], dom:td[abbr], dom:td[axis], dom:td[char], dom:td[charoff], dom:td[height], dom:td[nowrap], dom:td[valign], dom:td[width], dom:td[align], dom:td[bgcolor], dom:th[height], dom:th[width], dom:th[abbr], dom:th[axis], dom:th[charoff], dom:th[height], dom:th[bgcolor], dom:th[align], dom:th[nowrap], dom:th[char], dom:th[valign], dom:th[width], dom:li[type], dom:li[value], dom:li[type], dom:ul[type], dom:ul[compact], dom:pre[width], dom:meta[http-equiv], dom:a[charset], dom:a[coords], dom:a[shape], dom:a[rev], dom:a[scheme], dom:link[rev], dom:link[charset], dom:link[target], dom:img[name], dom:img[longdesc], dom:img[align], dom:img[hspace], dom:img[vspace], dom:img[border], dom:area[nohref], dom:head[profile], dom:html[version], dom:iframe[longdesc], dom:iframe[align], dom:iframe[frameborder], dom:iframe[marginheight], dom:iframe[marginwidth], dom:iframe[scrolling], dom:object[archive], dom:object[code], dom:object[codebase], dom:object[codetype], dom:object[declare], dom:object[standby], dom:object[align], dom:object[hspace], dom:object[vspace], dom:object[border], dom:param[type], dom:param[valuetype], dom:script[language], dom:body[alink], dom:body[background], dom:body[bgcolor], dom:body[link], dom:body[text], dom:body[vlink], dom:br[clear], dom:caption[align], dom:col[align], dom:col[char], dom:col[charoff], dom:col[valign], dom:col[width], dom:div[align], dom:dl[compact], dom:hr[align], dom:hr[noshade], dom:hr[size], dom:hr[width], dom:hr[align], dom:h2[align], dom:h3[align], dom:h4[align], dom:h5[align], dom:h6[align], dom:input[align], dom:input[usemap], dom:legend[align], dom:menu[compact], dom:ol[compact], dom:ol[type], dom:ol[type], dom:p[align], dom:table[bgcolor], dom:table[cellpadding], dom:table[cellspacing], dom:table[frame], dom:table[rules], dom:table[width], dom:table[align], dom:tbody[align], dom:tbody[char], dom:tbody[valign], dom:tbody[charoff], dom:tfoot[align], dom:tfoot[charoff], dom:tfoot[char], dom:tfoot[valign], dom:thead[char], dom:thead[charoff], dom:thead[valign], dom:thead[align], dom:tr[align], dom:tr[bgcolor], dom:tr[char], dom:tr[charoff], dom:tr[valign]",help:{"en-US":{pass:"element_attribute_deprecated.html",fail_elem:"element_attribute_deprecated.html",fail_attr:"element_attribute_deprecated.html",fail_elem_attr:"element_attribute_deprecated.html",group:"element_attribute_deprecated.html"}},messages:{"en-US":{pass:"Rule Passed",fail_elem:"The <{0}> element is deprecated in HTML 5",fail_attr:'The HTML attribute(s) "{0}" is deprecated in HTML 5',fail_elem_attr:'The HTML attribute(s) "{0}" is deprecated for the <{1}> element in HTML 5',group:"Avoid use of obsolete features if possible"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next"],num:["HTML"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;if("tbody"===l.nodeName.toLowerCase()&&l.hasAttribute("align"))return(0,a.RulePass)("pass");if(l.nodeName.includes("-"))return null;var s=l.nodeName.toLowerCase();if(n.includes(s))return(0,a.RuleFail)("fail_elem",[s]);for(var u=l.getAttributeNames(),d="",c=0,m=u;c<m.length;c++){var p=m[c];r.includes(p)&&(""!==d&&(d+=", "),d+=p)}if(""!==d)return(0,a.RuleFail)("fail_attr",[d]);if(d="",s in o){for(var h=0,_=u;h<_.length;h++)p=_[h],o[s]&&o[s].includes(p)&&(""!==d&&(d+=", "),d+=p);if(""!==d)return(0,a.RuleFail)("fail_elem_attr",[d,s])}return(0,a.RulePass)("pass")}}},8105:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_id_unique=void 0;var a=i(4377),l=i(4377),n=i(482);t.element_id_unique={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:"element_id_unique.html",Pass_0:"element_id_unique.html",Fail_1:"element_id_unique.html",Fail_2:"element_id_unique.html"}},messages:{"en-US":{group:"Element 'id' attribute values must be unique within a document",Pass_0:"Rule Passed",Fail_1:'The <{0}> element has the id "{1}" that is empty',Fail_2:'The <{0}> element has the id "{1}" that is already in use'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next"],num:["HTML"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[{"3ea0c8":{Pass_0:"pass",Fail_1:"pass",Fail_2:"fail"}}],run:function(e,t,i){var l=e.dom.node,r=l.getAttribute("id");return""===r?(0,a.RuleFail)("Fail_1",[l.nodeName.toLowerCase(),r]):n.FragmentUtil.getById(l,r)===l?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_2",[l.nodeName.toLowerCase(),r])}}},8687:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_lang_valid=t.html_lang_valid=void 0;var a=i(4377),l=i(4377),n=i(2527),r=i(8656),o=i(7440),s=i(1421),u=function(e){var t=e.dom.node,i=t.nodeName.toLowerCase();if(t.hasAttribute("lang"))if("html"!==i&&""===t.getAttribute("lang"));else{var a=t.getAttribute("lang");if(!n.LangUtil.validPrimaryLang(a))return 1;if(!n.LangUtil.isBcp47(a))return 2}if(t.hasAttribute("xml:lang"))if("html"!==i&&""===t.getAttribute("xml:lang"));else{if(a=t.getAttribute("xml:lang"),!n.LangUtil.validPrimaryLang(a))return 3;if(!n.LangUtil.isBcp47(a))return 4}return 0};t.html_lang_valid={id:"html_lang_valid",context:"dom:html[lang], dom:html[xml:lang]",help:{"en-US":{Pass_0:"html_lang_valid.html",Fail_1:"html_lang_valid.html",Fail_2:"html_lang_valid.html",Fail_3:"html_lang_valid.html",Fail_4:"html_lang_valid.html",group:"html_lang_valid.html"}},messages:{"en-US":{Pass_0:"Lang has a valid primary lang and conforms to BCP 47",Fail_1:"Specified 'lang' attribute does not include a valid primary language",Fail_2:"Specified 'lang' attribute does not conform to BCP 47",Fail_3:"Specified 'xml:lang' attribute does not include a valid primary language",Fail_4:"Specified 'xml:lang' attribute does not conform to BCP 47",group:"The default human language of the page must be valid and specified in accordance with BCP 47"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["3.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[{b5c3f8:{Pass_0:"pass",Fail_1:"fail",Fail_2:"inapplicable",Fail_3:"inapplicable",Fail_4:"inapplicable"},bf051a:{Pass_0:"pass",Fail_1:"fail",Fail_2:"pass",Fail_3:"fail",Fail_4:"inapplicable"}}],run:function(e,t,i){var l=u(e);return[(0,a.RulePass)("Pass_0"),(0,a.RuleFail)("Fail_1"),(0,a.RuleFail)("Fail_2"),(0,a.RuleFail)("Fail_3"),(0,a.RuleFail)("Fail_4")][l]}},t.element_lang_valid={id:"element_lang_valid",context:"dom:*[lang], dom:*[xml:lang]",help:{"en-US":{Pass_0:"element_lang_valid.html",Fail_1:"element_lang_valid.html",Fail_2:"element_lang_valid.html",Fail_3:"element_lang_valid.html",Fail_4:"element_lang_valid.html",group:"element_lang_valid.html"}},messages:{"en-US":{Pass_0:"Lang has a valid primary lang and conforms to BCP 47",Fail_1:"Specified 'lang' attribute does not include a valid primary language",Fail_2:"Specified 'lang' attribute does not conform to BCP 47",Fail_3:"Specified 'xml:lang' attribute does not include a valid primary language",Fail_4:"Specified 'xml:lang' attribute does not conform to BCP 47",group:"The change in language of specific content must be valid and specified in accordance with BCP 47"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["3.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[{de46e4:{Pass_0:"pass",Fail_1:"fail",Fail_2:"pass",Fail_3:"inapplicable",Fail_4:"inapplicable"}}],run:function(e,t,i){var l=e.dom.node;if("html"===l.nodeName.toLowerCase())return null;var n=u(e),d=[(0,a.RulePass)("Pass_0"),(0,a.RuleFail)("Fail_1"),(0,a.RuleFail)("Fail_2"),(0,a.RuleFail)("Fail_3"),(0,a.RuleFail)("Fail_4")][n];if(d.value[1]!==a.eRuleConfidence.PASS){var c=!1;if(null!==l.firstChild)for(var m=new o.DOMWalker(l,!1,l,!0);!c&&m.nextNode();)if(1===m.node.nodeType){var p=m.node;if(!r.VisUtil.isNodeVisible(p)||p.hasAttribute("lang"))m.bEndTag=!0;else{var h=s.AccNameUtil.computeAccessibleName(p);c=c||"img"===p.nodeName.toLowerCase()&&h&&h.name&&h.name.trim().length>0}}else c=c||3===m.node.nodeType&&m.node.nodeValue.trim().length>0;if(!c)return null}return d}}},2150:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_mouseevent_keyboard=void 0;var a=i(4377),l=i(4377);t.element_mouseevent_keyboard={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:"element_mouseevent_keyboard.html",Manual_1:"element_mouseevent_keyboard.html",group:"element_mouseevent_keyboard.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Manual_1:"Confirm the <{0}> element with mouse event handler(s) '{1}' has a corresponding keyboard handler(s)",group:"All interactive content with mouse event handlers must have equivalent keyboard access"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,n=l.nodeName.toLowerCase(),r=l.hasAttribute("href")||!l.hasAttribute("ondblclick")&&!l.hasAttribute("onmousemove")&&(!l.hasAttribute("onmousedown")||l.hasAttribute("onkeydown"))&&(!l.hasAttribute("onmouseup")||l.hasAttribute("onkeyup"))&&(!l.hasAttribute("onmouseover")||l.hasAttribute("onfocus"))&&(!l.hasAttribute("onmouseout")||l.hasAttribute("onblur"))&&(!l.hasAttribute("onclick")||l.hasAttribute("onkeypress")||"a"==n||"button"==n),o=new Array;return r||(l.hasAttribute("ondblclick")&&o.push("ondblclick"),l.hasAttribute("onmousemove")&&o.push("onmousemove"),l.hasAttribute("onmousedown")&&!l.hasAttribute("onkeydown")&&o.push("onmousedown"),l.hasAttribute("onmouseup")&&!l.hasAttribute("onkeyup")&&o.push("onmouseup"),l.hasAttribute("onmouseover")&&!l.hasAttribute("onfocus")&&o.push("onmouseover"),l.hasAttribute("onmouseout")&&!l.hasAttribute("onblur")&&o.push("onmouseout"),l.hasAttribute("onclick")&&!l.hasAttribute("onkeypress")&&"a"!=n&&"button"!=n&&o.push("onclick")),r?(0,a.RulePass)("Pass_0"):(0,a.RuleManual)("Manual_1",[n,o.join(", ")])}}},4557:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_orientation_unlocked=void 0;var a=i(4377),l=i(4377),n=i(1775),r=i(8656),o=i(7788),s=i(482),u=i(8137);t.element_orientation_unlocked={id:"element_orientation_unlocked",context:"dom:*",help:{"en-US":{pass:"element_orientation_unlocked.html",fail_locked:"element_orientation_unlocked.html",group:"element_orientation_unlocked.html"}},messages:{"en-US":{pass:"The element is not restricted to either landscape or portrait orientation using CSS transform property",fail_locked:"The element <{0}> is restricted to either landscape or portrait orientation using CSS transform property",group:"Elements should not be restricted to either landscape or portrait orientation using CSS transform property"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.4"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:["b33eff"],run:function(e,t,i){var l=e.dom.node;if(!r.VisUtil.isNodeVisible(l))return null;if(u.CommonUtil.getAncestor(l,["script","meta","title"]))return null;var d=l.nodeName.toLowerCase(),c=s.FragmentUtil.getOwnerFragment(l),m=o.CacheUtil.getCache(c,"RPTUtil_MEDIA_ORIENTATION_TRANSFROM",null);m||(m=n.CSSUtil.getMediaOrientationTransform(c),o.CacheUtil.setCache(c,"RPTUtil_MEDIA_ORIENTATION_TRANSFROM",m));var p=[];if(Object.keys(m).forEach((function(e){Object.keys(m[e]).forEach((function(t){Object.keys(m[e][t]).length>0&&n.CSSUtil.selectorMatchesElem(l,t)&&(m[e][t].transform?p.push(m[e][t].transform):p.push(m[e][t]))}))})),0===p.length)return null;for(var h=[],_=function(e){var t=p[e];if("object"==typeof t)for(var i in t)t=i+"("+t[i]+")";var r=!1;if(["rotate","rotate3d","rotateZ","matrix","matrix3d"].forEach((function(e){t.includes(e)&&(r=!0)})),!r)return"continue";var o=n.CSSUtil.getRotationDegree(t);if(0===o)return h.push((0,a.RulePass)("pass")),"continue";var s=n.CSSUtil.getDefinedStyles(l);s.transform&&(o+=n.CSSUtil.getRotationDegree(s.transform)),Math.abs(o-360)%360>1?h.push((0,a.RuleFail)("fail_locked",[d])):h.push((0,a.RulePass)("pass"))},b=0;b<p.length;b++)_(b);return h.length>0?h:null}}},4721:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_scrollable_tabbable=void 0;var a=i(8137),l=i(4377),n=i(4377),r=i(8656),o=i(1775);t.element_scrollable_tabbable={id:"element_scrollable_tabbable",context:"dom:*",dependencies:[],help:{"en-US":{group:"element_scrollable_tabbable.html",pass_tabbable:"element_scrollable_tabbable.html",pass_interactive:"element_scrollable_tabbable.html",fail_scrollable:"element_scrollable_tabbable.html"}},messages:{"en-US":{group:"Scrollable elements should be tabbable or contain tabbable content",pass_tabbable:"The scrollable element is tabbable",pass_interactive:"The scrollable element has tabbable content",fail_scrollable:"The scrollable element <{0}> with non-interactive content is not tabbable"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1"],level:n.eRulePolicy.VIOLATION,toolkitLevel:n.eToolkitLevel.LEVEL_ONE}],act:["0ssw9k"],run:function(e,t,i){var n=e.dom.node;if(r.VisUtil.isNodeVisible(n)&&!a.CommonUtil.isNodeDisabled(n)){if(a.CommonUtil.getAncestor(n,["iframe","svg","script","meta"]))return null;if(!a.CommonUtil.hasInnerContent(n))return null;var s=n.nodeName.toLowerCase(),u=getComputedStyle(n);if(!("visible"!==u.overflowX&&"hidden"!==u.overflowX||"visible"!==u.overflowY&&"hidden"!==u.overflowY))return null;if(Math.max(n.offsetWidth,n.offsetHeight)<30||Math.min(n.offsetWidth,n.offsetHeight)<15)return null;var d=o.CSSUtil.getPixelsFromStyle(u.paddingLeft,n)+o.CSSUtil.getPixelsFromStyle(u.paddingRight,n),c=o.CSSUtil.getPixelsFromStyle(u.paddingTop,n)+o.CSSUtil.getPixelsFromStyle(u.paddingBottom,n);return n.scrollWidth-n.clientWidth<1+d&&n.scrollHeight-n.clientHeight<1+c?null:a.CommonUtil.isTabbable(n)?(0,l.RulePass)("pass_tabbable"):a.CommonUtil.getTabbableChildren(n)>0?(0,l.RulePass)("pass_interactive"):!n.hasAttribute("tabindex")&&navigator.userAgent.indexOf("Firefox")>-1?null:(0,l.RuleFail)("fail_scrollable",[s])}}}},2814:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_tabbable_role_valid=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(8235),s=i(1775),u=i(7440),d=i(8656);t.element_tabbable_role_valid={id:"element_tabbable_role_valid",context:"dom:*",help:{"en-US":{pass:"element_tabbable_role_valid.html",fail_invalid_role:"element_tabbable_role_valid.html",fail_no_valid_role:"element_tabbable_role_valid.html",group:"element_tabbable_role_valid.html"}},messages:{"en-US":{pass:"The tabbable element has a widget role",fail_invalid_role:"The tabbable element's role '{0}' is not a widget role",fail_no_valid_role:"The tabbable element does not have a valid widget role",group:"A tabbable element must have a valid widget role"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE},{id:["WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.CommonUtil.isNodeDisabled(l)||d.VisUtil.isNodeHiddenFromAT(l))return null;var c=l.nodeName.toLowerCase();if(c in r.CommonUtil.tabTagMap){var m=r.CommonUtil.tabTagMap[c];if("function"==typeof m&&(m=m(l)),m)return null}if(!l.hasAttribute("tabindex")||parseInt(l.getAttribute("tabindex"))<0)return null;var p=s.CSSUtil.getDefinedStyles(l);if("scroll"===p["overflow-x"]||"scroll"===p["overflow-y"]||"auto"===p["overflow-x"]||"auto"===p["overflow-y"])return null;var h=u.DOMWalker.parentNode(l),_=n.AriaUtil.getResolvedRole(h);if(["button","checkbox","img","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"].includes(_))return null;var b=n.AriaUtil.getResolvedRole(l);return b?"application"===b?null:"row"===b||"separator"===b||"widget"===o.ARIADefinitions.designPatterns[b].roleType?(0,a.RulePass)("pass"):(0,a.RuleFail)("fail_invalid_role",[b]):(0,a.RuleFail)("fail_no_valid_role")}}},9188:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_tabbable_unobscured=void 0;var a=i(8137),l=i(4377),n=i(4377),r=i(8656),o=i(5697);t.element_tabbable_unobscured={id:"element_tabbable_unobscured",context:"dom:*",dependencies:[],help:{"en-US":{group:"element_tabbable_unobscured.html",pass:"element_tabbable_unobscured.html",potential_obscured:"element_tabbable_unobscured.html"}},messages:{"en-US":{group:"When an element receives focus, it is not entirely covered by other content",pass:"The element is not entirely covered by other content",potential_obscured:"Confirm that when the element receives focus, it is not covered or, if covered by user action, can be uncovered without moving focus"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_2"],num:["2.4.11"],level:n.eRulePolicy.VIOLATION,toolkitLevel:n.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var n=e.dom.node;if(!r.VisUtil.isNodeVisible(n)||!a.CommonUtil.isTabbable(n))return null;var s=n.nodeName.toLocaleLowerCase();if(null!==a.CommonUtil.getAncestor(n,["pre","code","script","meta"])||"body"===s||"html"===s)return null;var u=new o.DOMMapper,d=u.getUnadjustedBounds(n);if(!d)return null;if(0===d.height||0===d.width)return null;var c=n.ownerDocument;if(!c)return null;var m=c.defaultView;if(!m)return null;var p=m.getComputedStyle(n);if(null===p)return null;var h=p.zIndex;h&&"auto"!==h||(h="0");var _=c.querySelectorAll("body *:not(script)");if(_&&0!=_.length){var b=[],g=!0;return _.forEach((function(e){if(n.contains(e))g=!1;else if(r.VisUtil.isNodeVisible(e)&&!e.contains(n)){var t=u.getUnadjustedBounds(e),i=m.getComputedStyle(e),a="0";i&&((a=i.zIndex)&&!isNaN(Number(a))||(a="0")),0!==t.height&&0!==t.width&&t.top<=d.top&&t.left<=d.left&&t.top+t.height>=d.top+d.height&&t.left+t.height>=d.left+d.width&&(g?parseInt(h)<parseInt(a):parseInt(h)<=parseInt(a))&&b.push(e)}})),b.length>0?(0,l.RulePotential)("potential_obscured",[]):(0,l.RulePass)("pass")}}}},7601:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_tabbable_visible=void 0;var a=i(8137),l=i(1775),n=i(4377),r=i(4377),o=i(5697);t.element_tabbable_visible={id:"element_tabbable_visible",context:"dom:*",dependencies:[],help:{"en-US":{group:"element_tabbable_visible.html",pass:"element_tabbable_visible.html",potential_visible:"element_tabbable_visible.html"}},messages:{"en-US":{group:"A tabbable element should be visible on the screen when it has keyboard focus",pass:"The tabbable element is visible on the screen",potential_visible:"Confirm the element should be tabbable and if so, it becomes visible when it has keyboard focus"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.7"],level:r.eRulePolicy.VIOLATION,toolkitLevel:r.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var r=e.dom.node;if(!a.CommonUtil.isTabbable(r))return null;var s=r.nodeName.toLocaleLowerCase(),u=(new o.DOMMapper).getUnadjustedBounds(r);if(!u)return null;var d=l.CSSUtil.getDefinedStyles(r),c=l.CSSUtil.getDefinedStyles(r,":focus");if(0===u.height||0===u.width)return(0,n.RulePotential)("potential_visible",[]);if("absolute"===d.position&&d.clip&&"rect(0px,0px,0px,0px)"===d.clip.replaceAll(" ","")&&!c.clip){if("input"===s&&("checkbox"===r.getAttribute("type")||"radio"===r.getAttribute("type"))){var m=a.CommonUtil.getLabelForElement(r);if(m&&!a.CommonUtil.isInnerTextEmpty(m)){var p=l.CSSUtil.getDefinedStyles(r,":focus"),h=l.CSSUtil.getDefinedStyles(r,":focus-visible"),_=l.CSSUtil.getDefinedStyles(r,":focus-within"),b=l.CSSUtil.getDefinedStyles(r,":checked");if(p||h||_||b)return(0,n.RulePass)("pass")}}return(0,n.RulePotential)("potential_visible",[])}if(u.top>=0&&u.left>=0)return(0,n.RulePass)("pass");var g=getComputedStyle(r),f=u.top,v=u.left;if(0===Object.keys(c).length)return(0,n.RulePotential)("potential_visible",[]);var A=["absolute","fixed"];return void 0!==c.top&&(f=A.includes(c.position)||void 0===c.position&&A.includes(g.position)?c.top.replace(/\D/g,""):Number.MIN_VALUE),void 0!==c.left&&(v=A.includes(c.position)||void 0===c.position&&A.includes(g.position)?c.left.replace(/\D/g,""):Number.MIN_VALUE),f>=0&&v>=0?(0,n.RulePass)("pass"):(0,n.RulePotential)("potential_visible",[])}}},4497:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.embed_alt_exists=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(8656);t.embed_alt_exists={id:"embed_alt_exists",context:"dom:embed",refactor:{RPT_Embed_HasAlt:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"embed_alt_exists.html",Potential_1:"embed_alt_exists.html",group:"embed_alt_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that the <embed> element has alternative content",group:"Provide alternative content for <embed> elements"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_FOUR}],act:[],run:function(e,t,i){var l=e.dom.node;return r.VisUtil.isNodeHiddenFromAT(l)?null:n.CommonUtil.attributeNonEmpty(l,"alt")?(0,a.RulePass)("Pass_0"):(0,a.RulePotential)("Potential_1")}}},152:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.embed_noembed_exists=void 0;var a=i(4377),l=i(4377);t.embed_noembed_exists={id:"embed_noembed_exists",context:"dom:embed",refactor:{WCAG20_Embed_HasNoEmbed:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"embed_noembed_exists.html",Potential_1:"embed_noembed_exists.html",group:"embed_noembed_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that the <embed> element is immediately followed by a non-embedded element",group:"<embed> elements should be immediately followed by a non-embedded element"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_FOUR}],act:[],run:function(e,t,i){var l=e.dom.node,n=l.getElementsByTagName("noembed").length>0;if(!n)for(var r=l.nextSibling;!n&&null!==r;){if("noembed"==r.nodeName.toLowerCase())n=!0;else{if("#text"==r.nodeName.toLowerCase()&&r.nodeValue.trim().length>0)break;if(1==r.nodeType)break}r=r.nextSibling}return n?(0,a.RulePass)("Pass_0"):n?void 0:(0,a.RulePotential)("Potential_1")}}},935:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.emoticons_alt_exists=void 0;var a=i(4377),l=i(8137);t.emoticons_alt_exists={id:"emoticons_alt_exists",context:"dom:*",refactor:{WCAG20_Text_Emoticons:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"emoticons_alt_exists.html",Potential_1:"emoticons_alt_exists.html",group:"emoticons_alt_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that emoticons have a text alternative",group:"Emoticons must have a short text alternative that describes their purpose"}},rulesets:[],act:[],run:function(e,t,i){for(var n=e.dom.node,r=[":-)",":)",":o)",":]",":3",":c)",":>","=]","8)","=)",":D","C:",":-D",":D","8D","XD","=D","=3","<=3","<=8","--!--",":-(",":(",":c",":<",":[","D:","D8","D;","D=","DX","v.v",":-9",";-)",";)","*)",";]",";D",":-P",":P",":-p",":p","=p",":-Þ",":Þ",":-b",":b",":-O",":O","O_O","o_o","8O","OwO","O-O","0_o","O_o","O3O","o0o ;o_o;","o...o","0w0",":-/",":/",":\\","=/","=\\",":S",":|","d:-)","qB-)",":)~",":-)>....",":-X",":X",":-#",":#","O:-)","0:3","O:)",":'(",";*(","T_T","TT_TT","T.T",":-*",":*","^o)",">:)",">;)",">:-)","B)","B-)","8)","8-)","^>.>^","^<.<^","^>_>^","^<_<^","D:<",">:(","D-:<",">:-(",":-@[1]",";(","`_´","D<","<3","<333","=^_^=","=>.>=","=<_<=","=>.<=","\\,,/","\\m/","\\m/\\>.</\\m/","\\o/","\\o o/","o/\\o",":&",":u"],o=!0,s="",u=n.firstChild;u;)"#text"==u.nodeName&&(s+=" "+u.nodeValue),u=u.nextSibling;if(s.trim().length>0)for(var d=0;o&&d<r.length;++d)for(var c=s.indexOf(r[d]),m=r[d].length;o&&-1!=c;)o=(o=(o=c>0&&!/\s/.test(s.substring(c-1,c))||c<s.length-m&&!/\s/.test(s.substring(c+m,c+m+1))&&!/[.,!'"?]/.test(s.substring(c+m,c+m+1)))||(":)"==r[d]||"(:"==r[d])&&/\(\:.*\:\)/.test(s))||(";)"==r[d]||"(;"==r[d])&&/\(\;.*\;\)/.test(s),c=s.indexOf(r[d],c+1);if(!o){var p=l.CommonUtil.getAncestor(n,["pre","code","script","body"]);o=null==p||"body"!=p.nodeName.toLowerCase()}return o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RulePotential)("Potential_1")}}},9719:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.error_message_exists=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(482),o=i(8656);t.error_message_exists={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:"error_message_exists.html",Fail_1:"error_message_exists.html",Fail_2:"error_message_exists.html",group:"error_message_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Custom error message has invalid reference 'id' value",Fail_2:"Custom error message is not visible",group:"A custom error message must reference a valid 'id' value and when triggered the message must be appropriately exposed"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["3.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,s=n.AriaUtil.getAriaAttribute(l,"aria-errormessage");if(!s)return null;var u=r.FragmentUtil.getById(l,s);return u?o.VisUtil.isNodeVisible(u)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_2"):(0,a.RuleFail)("Fail_1")}}},5625:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fieldset_label_valid=void 0;var a=i(4377),l=i(4377),n=i(482),r=i(7788),o=i(8137),s=i(8656),u=i(1421);t.fieldset_label_valid={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:"fieldset_label_valid.html",Fail_1:"fieldset_label_valid.html",Fail_2:"fieldset_label_valid.html",group:"fieldset_label_valid.html"}},messages:{"en-US":{Pass_1:'Group/Fieldset "{0}" with an input has a unique name',Fail_1:"Group/Fieldset does not have an accessible name",Fail_2:'Group/Fieldset "{0}" has a duplicate name to another group',group:"Groups with nested inputs must have unique accessible name"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1","3.3.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;if(!s.VisUtil.isNodeHiddenFromAT(l)&&!o.CommonUtil.isNodeDisabled(l)){var d=n.FragmentUtil.getOwnerFragment(l),c=r.CacheUtil.getCache(l.ownerDocument,"landmark_group_input",null);if(!c){c={groupsWithInputs:[],groupsWithInputsComputedLabels:[]};for(var m=d.querySelectorAll('fieldset,[role="group"]'),p=Array.from(m),h=[],_=0;_<p.length;_++)p[_].querySelector("input")&&h.push(p[_]);var b=[];for(_=0;_<h.length;_++){var g=u.AccNameUtil.computeAccessibleName(h[_]);b.push(g&&g.name&&g.name.trim().length>0?g.name.trim():"")}c.groupsWithInputs=h,c.groupsWithInputsComputedLabels=b,r.CacheUtil.setCache(l.ownerDocument,"landmark_group_input",c)}var f=!1,v="";if(!c.groupsWithInputs)return null;for(_=0;_<c.groupsWithInputs.length;_++)if(l.isSameNode(c.groupsWithInputs[_])){if(f=!0,""===c.groupsWithInputsComputedLabels[_]||null===c.groupsWithInputsComputedLabels[_])return(0,a.RuleFail)("Fail_1");for(var A=!1,y=0;y<c.groupsWithInputsComputedLabels.length;y++)_!=y&&c.groupsWithInputsComputedLabels[_]===c.groupsWithInputsComputedLabels[y]&&(A=!0);if(A)return(0,a.RuleFail)("Fail_2",[c.groupsWithInputsComputedLabels[_]]);v=c.groupsWithInputsComputedLabels[_]}return f?(0,a.RulePass)("Pass_1",[v]):null}}}},9115:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fieldset_legend_valid=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(8656);t.fieldset_legend_valid={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:"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:{"en-US":{Pass_0:"Rule Passed",Fail_1:"<fieldset> element does not have a <legend>",Fail_2:"<fieldset> element has more than one <legend>",Fail_3:"<fieldset> element <legend> is empty",group:" <fieldset> elements should have a single, non-empty <legend> as a label"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l)||n.CommonUtil.isNodeDisabled(l))return null;var o=n.CommonUtil.getChildByTagHidden(l,"legend",!0,!1);return 0===o.length?(0,a.RuleFail)("Fail_1"):o.length>1?(0,a.RuleFail)("Fail_2"):0===n.CommonUtil.getInnerText(o[0]).trim().length?(0,a.RuleFail)("Fail_3"):(0,a.RulePass)("Pass_0")}}},6072:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.figure_label_exists=void 0;var a=i(4377),l=i(4377),n=i(8656),r=i(1421);t.figure_label_exists={id:"figure_label_exists",context:"dom:figure",refactor:{HAAC_Figure_label:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"figure_label_exists.html",Fail_1:"figure_label_exists.html",group:"figure_label_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"The <figure> element does not have an associated label",group:"A <figure> element must have an associated label"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;if(n.VisUtil.isNodeHiddenFromAT(l))return null;if(l.getAttribute("role"))return null;var o=r.AccNameUtil.computeAccessibleName(l);return o&&o.name&&o.name.trim().length>0?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[])}}},6923:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.form_font_color=void 0;var a=i(4377),l=i(4377);t.form_font_color={id:"form_font_color",context:"dom:form",refactor:{RPT_Font_ColorInForm:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"form_font_color.html",Potential_1:"form_font_color.html",group:"form_font_color.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Check color is not used as the only visual means to convey which fields are required",group:"Combine color and descriptive markup to indicate required form fields"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=!0,n=e.dom.node.getElementsByTagName("font");if(null!=n)for(var r=0;r<n.length;++r)l=!n[r].hasAttribute("color");return l?(0,a.RulePass)("Pass_0"):l?void 0:(0,a.RulePotential)("Potential_1")}}},9015:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.form_interaction_review=void 0;var a=i(4377),l=i(4377),n=i(8137);t.form_interaction_review={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:"form_interaction_review.html",Potential_1:"form_interaction_review.html",group:"form_interaction_review.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that interacting with content will not open pop-up windows or change the active window without informing the user",group:"User should be informed in advance when interacting with content causes a change of context"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["3.2.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l={paramWinText:{value:["new window"],type:"array"}},r=e.dom.node,o=r.getAttribute("target"),s="_parent"===o||"_self"===o||"_top"===o||null!=n.CommonUtil.getFrameByName(r,o);if(!s){var u=n.CommonUtil.getInnerText(r);r.hasAttribute("title")&&(u+=" "+r.getAttribute("title"));for(var d=0;!s&&d<l.paramWinText.value.length;++d)-1!=u.indexOf(l.paramWinText.value[d])&&(s=!0)}return s?(0,a.RulePass)("Pass_0"):s?void 0:(0,a.RulePotential)("Potential_1")}}},3611:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.form_label_unique=void 0;var a=i(4377),l=i(4377),n=i(482),r=i(7788);t.form_label_unique={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:"form_label_unique.html",Fail_1:"form_label_unique.html",group:"form_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Form control has more than one label",group:"Form controls should have exactly one label"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,o=r.CacheUtil.getCache(n.FragmentUtil.getOwnerFragment(l),"RPT_Label_Single",{}),s=l.getAttribute("for"),u=!(s in o);return o[s]=!0,u?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},4846:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.form_submit_button_exists=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(7440);t.form_submit_button_exists={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:"form_submit_button_exists.html",Potential_1:"form_submit_button_exists.html",group:"form_submit_button_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify the <form> element has a submit button or an image button",group:"A <form> element should have a submit button or an image button"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["3.2.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,o=!1;if(l.firstChild)for(var s=new r.DOMWalker(l,!0);!o&&s.prevNode()&&s.node!=l;)if(!s.bEndTag){var u=s.node.nodeName.toLowerCase();if("input"===u){var d=s.elem().getAttribute("type");d&&(d=d.toLowerCase()),o="submit"===d||"image"===d}else"button"===u?o=s.elem().hasAttribute("type")&&"submit"===s.elem().getAttribute("type").toLowerCase():1===s.node.nodeType&&(o=n.AriaUtil.hasRole(s.node,"button"))}return o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RulePotential)("Potential_1")}}},3277:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.form_submit_review=void 0;var a=i(4377);t.form_submit_review={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:"form_submit_review.html",Potential_1:"form_submit_review.html",group:"form_submit_review.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Confirm the form does not submit automatically without warning",group:"A form should not be submitted automatically without warning the user"}},rulesets:[],act:[],run:function(e,t,i){var l=0===e.dom.node.getAttribute("onchange").trim().length;return l?null:l?void 0:(0,a.RulePotential)("Potential_1")}}},4525:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.frame_src_valid=void 0;var a=i(4377),l=i(4377),n=i(8137);t.frame_src_valid={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:"frame_src_valid.html",Potential_1:"frame_src_valid.html",group:"frame_src_valid.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify <frame> content is accessible",group:"A <frame> containing non-HTML content must be made accessible"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,r=n.CommonUtil.attributeNonEmpty(l,"src")&&n.CommonUtil.isHtmlExt(n.CommonUtil.getFileExt(l.getAttribute("src")));return r?(0,a.RulePass)("Pass_0"):r?void 0:(0,a.RulePotential)("Potential_1")}}},7114:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.frame_title_exists=void 0;var a=i(4377),l=i(4377),n=i(1421),r=i(8656);t.frame_title_exists={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:"frame_title_exists.html",Pass_0:"frame_title_exists.html",Fail_1:"frame_title_exists.html"}},messages:{"en-US":{group:"Inline frames must have a unique, non-empty 'title' attribute",Pass_0:"Rule Passed",Fail_1:"Inline frame does not have a 'title' attribute"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:"cae760",run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;if(l.getAttribute("role"))return null;var o=n.AccNameUtil.computeAccessibleName(l);return o&&o.name&&o.name.trim().length>0?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},3751:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.heading_content_exists=void 0;var a=i(4377),l=i(4377),n=i(8137);t.heading_content_exists={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:"heading_content_exists.html",Fail_1:"heading_content_exists.html",group:"heading_content_exists.html"}},messages:{"en-US":{Pass_0:"Heading element has descriptive text",Fail_1:"Heading element has no descriptive content",group:"Heading elements must provide descriptive text"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.6"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;return n.CommonUtil.hasInnerContentHidden(l)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},7084:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.heading_markup_misuse=void 0;var a=i(4377),l=i(4377),n=i(8137);t.heading_markup_misuse={id:"heading_markup_misuse",context:"dom:h1, dom:h2, dom:h3, dom:h4, dom:h5, dom:h6",dependencies:["heading_content_exists"],refactor:{RPT_Headers_FewWords:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"heading_markup_misuse.html",Potential_1:"heading_markup_misuse.html",group:"heading_markup_misuse.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that the heading element is a genuine heading",group:"Heading elements must not be used for presentation"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node,r=n.CommonUtil.wordCount(n.CommonUtil.getInnerText(l))<=20;return r?(0,a.RulePass)("Pass_0"):r?void 0:(0,a.RulePotential)("Potential_1")}}},3981:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.html_lang_exists=void 0;var a=i(4377),l=i(4377),n=i(9193),r=i(2527);t.html_lang_exists={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:"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:{"en-US":{group:"Page must identify the default language of the document with a 'lang' attribute",Pass_0:'Page language detected as "{0}"',Fail_1:"Page detected as XHTML 1.0, but has neither 'lang' nor 'xml:lang' attributes",Fail_2:"Page detected as XHTML, but does not have an 'xml:lang' attribute",Fail_3:"Page detected as HTML, but does not have a 'lang' attribute",Fail_4:"Page detected with 'lang' and 'xml:lang' attributes and primary languages do not match: \"{0}\", \"{1}\"",Fail_5:"Page detected with 'lang' and 'xml:lang' attributes that do not match: \"{0}\", \"{1}\"",Potential_5:"Page detected as XHTML 1.0 with only a 'lang' attribute. Confirm that page is only delivered via text/html mime type",Potential_6:"Page detected as XHTML 1.0 with only an 'xml:lang' attribute. Confirm that page is only delivered via xml mime type"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"3.1.1",level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[{b5c3f8:{Pass_0:"pass",Fail_1:"inapplicable",Fail_2:"inapplicable",Fail_3:"fail",Fail_4:"inapplicable",Fail_5:"inapplicable",Potential_5:"inapplicable",Potential_6:"inapplicable"},"5b7ae0":{Pass_0:"pass",Fail_1:"inapplicable",Fail_2:"inapplicable",Fail_3:"inapplicable",Fail_4:"fail",Fail_5:"pass",Potential_5:"inapplicable",Potential_6:"inapplicable"}}],run:function(e,t,i){if(n.AncestorUtil.isPresentationFrame(i))return null;var l=e.dom.node,o=l.ownerDocument.doctype?l.ownerDocument.doctype.publicId:"";o||(o="");var s=l.getAttribute("lang"),u=l.getAttribute("xml:lang");return o.includes("XHTML")&&!o.includes("1.0")?u?(0,a.RulePass)("Pass_0",[u]):(0,a.RuleFail)("Fail_2"):o.includes("XHTML")&&o.includes("1.0")?s||u?s&&u?s!==u?r.LangUtil.validPrimaryLang(s)&&r.LangUtil.validPrimaryLang(u)?r.LangUtil.matchPrimaryLang(s,u)?(0,a.RuleFail)("Fail_5",[s,u],[]):(0,a.RuleFail)("Fail_4",[s,u],[]):null:(0,a.RulePass)("Pass_0",[s]):s?(0,a.RulePotential)("Potential_5"):(0,a.RulePotential)("Potential_6"):(0,a.RuleFail)("Fail_1"):s?s&&u&&s!==u?r.LangUtil.validPrimaryLang(s)&&r.LangUtil.validPrimaryLang(u)?r.LangUtil.matchPrimaryLang(s,u)?(0,a.RuleFail)("Fail_5",[s,u],[]):(0,a.RuleFail)("Fail_4",[s,u],[]):null:(0,a.RulePass)("Pass_0",[s]):(0,a.RuleFail)("Fail_3")}}},9788:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.html_skipnav_exists=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(482);t.html_skipnav_exists={id:"html_skipnav_exists",context:"dom:html",refactor:{RPT_Html_SkipNav:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{group:"html_skipnav_exists.html",Pass_0:"html_skipnav_exists.html",Potential_1:"html_skipnav_exists.html"}},messages:{"en-US":{group:"Provide a way to bypass blocks of content that are repeated on multiple Web pages",Pass_0:"Rule Passed",Potential_1:"Verify there is a way to bypass blocks of content that are repeated on multiple Web pages"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"2.4.1",level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,o=!1,s=n.CommonUtil.getDocElementsByTag(l,"frame"),u=n.CommonUtil.getDocElementsByTag(l,"h1");if(null!=s&&s.length>0||null!=u&&u.length>0)o=!0;else for(var d=n.CommonUtil.getDocElementsByTag(l,"a"),c={},m=0;!o&&m<d.length;++m)if(d[m].hasAttribute("href")){var p=d[m].href;"string"!=typeof p&&(p=p.baseVal?p.baseVal:"");var h,_="";if((h=void 0!==l.ownerDocument.locationFromDAP&&null!=l.ownerDocument.locationFromDAP?l.ownerDocument.locationFromDAP:l.ownerDocument.location)&&(_=h.href),p.startsWith("file:///")&&(p="file:/"+p.substring(8)),_.startsWith("file:///")&&(_="file:/"+_.substring(8)),"#"==p.charAt(0)||p.startsWith(_+"#")){var b=n.CommonUtil.getFileAnchor(p);null!=r.FragmentUtil.getById(l,b)?o=!0:c[b]=!0}}else if(d[m].hasAttribute("name")){var g=d[m].getAttribute("name");-1!=g.indexOf("#")&&(g=n.CommonUtil.getFileAnchor(g)),o=g in c}return o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RulePotential)("Potential_1")}}},4419:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.iframe_interactive_tabbable=void 0;var a=i(8137),l=i(4377),n=i(4377),r=i(8656),o=i(5697);t.iframe_interactive_tabbable={id:"iframe_interactive_tabbable",context:"dom:iframe",dependencies:[],help:{"en-US":{group:"iframe_interactive_tabbable.html",pass:"iframe_interactive_tabbable.html",fail_invalid:"iframe_interactive_tabbable.html"}},messages:{"en-US":{group:"Iframe with interactive content should not be excluded from tab order using tabindex",pass:"The iframe with interactive content is not excluded from the tab order using tabindex",fail_invalid:"The <iframe> with interactive content is excluded from tab order using tabindex"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1"],level:n.eRulePolicy.VIOLATION,toolkitLevel:n.eToolkitLevel.LEVEL_ONE}],act:["akn7bn"],run:function(e,t,i){var n=e.dom.node;if(!r.VisUtil.isNodeHiddenFromAT(n)&&!a.CommonUtil.isNodeDisabled(n)){var s=(new o.DOMMapper).getUnadjustedBounds(n);if(!s)return null;if(Math.max(s.height,s.width)<30||Math.min(s.height,s.width)<15)return null;if(!n.hasAttribute("tabindex")||parseInt(n.getAttribute("tabindex"))>=0)return(0,l.RulePass)("pass");var u=n;return u&&u.contentDocument&&u.contentDocument.documentElement&&a.CommonUtil.getTabbableChildren(n)>0?(0,l.RuleFail)("fail_invalid"):null}}}},2575:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.imagebutton_alt_exists=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137);t.imagebutton_alt_exists={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:"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:{"en-US":{Pass_0:"Image button provides alternative text using the 'alt' attribute",Pass_1:"Image button provides alternative text using an ARIA label",Pass_2:"Image button provides alternative text using the 'title' attribute",Fail:'The <input> element of type "image" has no text alternative',group:'The <input> element of type "image" should have a text alternative'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:"59796f",run:function(e,t,i){var l=e.dom.node;return l.hasAttribute("type")&&"image"==l.getAttribute("type").toLowerCase()?r.CommonUtil.attributeNonEmpty(l,"alt")?(0,a.RulePass)("Pass_0"):n.AriaUtil.hasAriaLabel(l)?(0,a.RulePass)("Pass_1"):l.hasAttribute("title")&&l.getAttribute("title").length>0?(0,a.RulePass)("Pass_2"):(0,a.RuleFail)("Fail"):null}}},8124:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.imagemap_alt_exists=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(8656);t.imagemap_alt_exists={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:"imagemap_alt_exists.html",Fail_1:"imagemap_alt_exists.html",group:"imagemap_alt_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Image map or child <area> has no text alternative",group:"An image map and each <area> element in an image map must have text alternative(s)"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;return r.VisUtil.isNodeHiddenFromAT(l)?null:n.CommonUtil.attributeNonEmpty(l,"alt")||!l.hasAttribute("ismap")&&!n.CommonUtil.attributeNonEmpty(l,"usemap")?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},3440:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.img_alt_background=void 0;var a=i(4377),l=i(4377),n=i(8656);t.img_alt_background={id:"img_alt_background",context:"dom:*",refactor:{HAAC_BackgroundImg_HasTextOrTitle:{Pass_0:"Pass_0",Manual_1:"Manual_1"}},help:{"en-US":{Pass_0:"img_alt_background.html",Manual_1:"img_alt_background.html",group:"img_alt_background.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Manual_1:"Verify important background image information has a text alternative in system high contrast mode",group:"Background images that convey important information must have a text alternative that describes the image"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node;if(n.VisUtil.isNodeHiddenFromAT(l))return null;var r=l.ownerDocument.defaultView.getComputedStyle(l);if(null==r)return(0,a.RulePass)("Pass_0");var o=r.backgroundImage,s=!0;if(null!=o&&""!=o&&"none"!=o&&"inherit"!=o)if(null!=l.innerHTML&&0!=l.innerHTML.trim().length)s=!1;else{var u=l.getAttribute("title");null!=u&&0!=u.length&&(s=!1)}return s?(0,a.RulePass)("Pass_0"):s?void 0:(0,a.RuleManual)("Manual_1")}}},2193:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.img_alt_decorative=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8656);t.img_alt_decorative={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:"img_alt_decorative.html",Fail_1:"img_alt_decorative.html",group:"img_alt_decorative.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Image designated as decorative has non-null 'alt' attribute",group:'Image designated as decorative must have \'alt=""'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;var o=!0;return(n.AriaUtil.hasRole(l,"presentation")||n.AriaUtil.hasRole(l,"none"))&&(o=0==l.getAttribute("alt").length),o?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},309:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.img_alt_misuse=void 0;var a=i(4377),l=i(4377),n=i(8656);t.img_alt_misuse={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:"img_alt_misuse.html",Potential_1:"img_alt_misuse.html",group:"img_alt_misuse.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that the file name serves as a good inline replacement for the image",group:"'alt' attribute value must be a good inline replacement for the image"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(n.VisUtil.isNodeHiddenFromAT(l))return null;var r=l.nodeName.toLowerCase(),o=!0;if(l.hasAttribute("alt")){var s=l.getAttribute("alt").trim();if(s.length>0){for(var u=["short description"],d=0;o&&d<u.length;++d)o=-1==s.indexOf(u[d]);if(o){var c=l.getAttribute("area"==r?"href":"src");null!=c&&(o=c.trim()!=s&&(-1==s.indexOf(".")||-1==s.indexOf(c)&&-1==c.indexOf(s)))}}}return o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RulePotential)("Potential_1")}}},6281:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.img_alt_null=void 0;var a=i(4377),l=i(4377),n=i(8656),r=i(490),o=i(8137);t.img_alt_null={id:"img_alt_null",context:"dom:img[alt]",refactor:{WCAG20_Img_TitleEmptyWhenAltNull:{Pass_0:"pass",Fail_1:"fail_decorative"}},help:{"en-US":{pass:"img_alt_null.html",fail_decorative:"img_alt_null.html",potential_aria_override:"img_alt_null.html",group:"img_alt_null.html"}},messages:{"en-US":{pass:"Neither 'aria' nor 'title' attributes are used for the decorative image",fail_decorative:"The image 'alt' attribute is empty, but the 'title' attribute is not empty",potential_aria_override:"The image 'alt' attribute is empty, but the 'aria' label is not empty and overrides the 'alt' attribute",group:"When the intent is to mark an image as decorative with an empty 'alt' attribute, the 'aria' or 'title' attributes should not be used"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE,reasonCodes:["fail_decorative"]},{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["ARIA"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE,reasonCodes:["potential_aria_override"]}],act:[{"46ca7f":{potential_aria_override:"fail"}}],run:function(e,t,i){var l=e.dom.node;return n.VisUtil.isNodeHiddenFromAT(l)||l.getAttribute("alt").trim().length>0?null:r.AriaUtil.getAriaLabel(l).length>0?(0,a.RulePotential)("potential_aria_override"):o.CommonUtil.attributeNonEmpty(l,"title")?(0,a.RuleFail)("fail_decorative"):(0,a.RulePass)("pass")}}},7748:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.img_alt_redundant=void 0;var a=i(4377),l=i(4377),n=i(7440),r=i(8137);t.img_alt_redundant={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:"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:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Link text is repeated in an image 'alt' value within the same link",Fail_2:"Link text of previous link is repeated in image 'alt' value of a link",Fail_3:"Image 'alt' value within a link is repeated in link text of the link after",group:"The text alternative for an image within a link should not repeat the link text or adjacent link text"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1","2.4.4"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node,o=r.CommonUtil.getAncestor(l,"a");if(null==o)return null;var s=l.getAttribute("alt").trim().toLowerCase();if(0==s.length)return null;var u=o.innerText,d="";if(null!=u&&(d=u.trim().toLowerCase()),!(d.length>0)){for(var c=!0,m=new n.DOMWalker(o);c&&m.prevNode()&&!("#text"==(h=(p=m.node).nodeName.toLowerCase())&&p.nodeValue.length>0||"img"==h&&r.CommonUtil.attributeNonEmpty(p,"alt"));)"a"!==h||r.CommonUtil.shouldNodeBeSkippedHidden(p)||(c=(p.innerText||p.textContent||"").trim().toLowerCase()!=s);if(!c)return(0,a.RuleFail)("Fail_2");for(m=new n.DOMWalker(o,!0);c&&m.nextNode();){var p,h;if("#text"==(h=(p=m.node).nodeName.toLowerCase())&&p.nodeValue.length>0||"img"==h&&r.CommonUtil.attributeNonEmpty(p,"alt"))break;"a"!=h||r.CommonUtil.shouldNodeBeSkippedHidden(p)||(c=p.innerText.trim().toLowerCase()!=s)}return c?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_3")}return s==d?(0,a.RuleFail)("Fail_1"):void 0}}},8856:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.img_alt_valid=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8656);t.img_alt_valid={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:"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:{"en-US":{pass:"The image has an accessible name or is correctly marked as decorative or redundant",fail_blank_alt:"Image 'alt' attribute value consists only of blank space(s)",fail_no_alt:"The image has neither an accessible name nor is marked as decorative or redundant",fail_blank_title:"The image does not have an 'alt' attribute or ARIA label, and the 'title' attribute value consists only of blank space(s)",group:"Images must have accessible names unless they are decorative or redundant"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:"23a2a8",run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;if(0!==n.AriaUtil.getAriaLabel(l).trim().length)return(0,a.RulePass)("pass");var o=l.hasAttribute("alt")?l.getAttribute("alt"):null;if(null!==o)return 0===o.length||o.trim().length>0?(0,a.RulePass)("pass"):(0,a.RuleFail)("fail_blank_alt");var s=l.hasAttribute("title")?l.getAttribute("title"):null;if(null!==s&&0!==s.length)return 0===s.trim().length?(0,a.RuleFail)("fail_blank_title"):(0,a.RulePass)("pass");if(null===o){var u=n.AriaUtil.getResolvedRole(l,!1);return"presentation"===u||"none"===u?(0,a.RulePass)("pass"):(0,a.RuleFail)("fail_no_alt")}return 0===o.length?(0,a.RulePass)("pass"):void 0}}},7393:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.img_ismap_misuse=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(8656);t.img_ismap_misuse={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:"img_ismap_misuse.html",Potential_1:"img_ismap_misuse.html",group:"img_ismap_misuse.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Server-side image map hot-spots do not have duplicate text links",group:"Server-side image map hot-spots must have duplicate text links"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;var o=!1;if(l.hasAttribute("usemap")){var s=l.getAttribute("usemap"),u=(s=s.trim().toLowerCase()).indexOf("#");if(-1!=u&&(s=s.substr(u+1)),s.length>0)for(var d=n.CommonUtil.getDocElementsByTag(l,"map"),c=0;!o&&c<d.length;++c)o=d[c].hasAttribute("name")&&d[c].getAttribute("name").toLowerCase()==s}return o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RulePotential)("Potential_1")}}},9410:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.img_longdesc_misuse=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(8656);t.img_longdesc_misuse={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:"img_longdesc_misuse.html",Potential_1:"img_longdesc_misuse.html",group:"img_longdesc_misuse.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that the file designated by the 'longdesc' attribute contains valid HTML content (file extension not recognized)",group:" The 'longdesc' attribute must reference HTML content"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;var o=l.getAttribute("longdesc"),s=n.CommonUtil.getFileExt(o),u=0!=s.length&&n.CommonUtil.isHtmlExt(s)||o.startsWith("#")||o.startsWith("http://")||o.startsWith("https://")||o.startsWith("data:");return u?(0,a.RulePass)("Pass_0"):u?void 0:(0,a.RulePotential)("Potential_1")}}},8081:function(e,t,i){var a=this&&this.__createBinding||(Object.create?function(e,t,i,a){void 0===a&&(a=i);var l=Object.getOwnPropertyDescriptor(t,i);l&&!("get"in l?!t.__esModule:l.writable||l.configurable)||(l={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,a,l)}:function(e,t,i,a){void 0===a&&(a=i),e[a]=t[i]}),l=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||a(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),l(i(8980),t),l(i(3961),t),l(i(1445),t),l(i(876),t),l(i(2768),t),l(i(2533),t),l(i(7178),t),l(i(9745),t),l(i(8019),t),l(i(6505),t),l(i(8910),t),l(i(3492),t),l(i(5316),t),l(i(8412),t),l(i(172),t),l(i(9844),t),l(i(9695),t),l(i(1699),t),l(i(4974),t),l(i(3054),t),l(i(4649),t),l(i(4193),t),l(i(3188),t),l(i(4176),t),l(i(7964),t),l(i(2554),t),l(i(1229),t),l(i(8523),t),l(i(3781),t),l(i(8509),t),l(i(3234),t),l(i(5217),t),l(i(4050),t),l(i(4275),t),l(i(1465),t),l(i(405),t),l(i(9136),t),l(i(5117),t),l(i(9062),t),l(i(5746),t),l(i(8685),t),l(i(2678),t),l(i(971),t),l(i(3709),t),l(i(6486),t),l(i(4151),t),l(i(8545),t),l(i(8538),t),l(i(1908),t),l(i(6360),t),l(i(5386),t),l(i(8752),t),l(i(4392),t),l(i(932),t),l(i(6255),t),l(i(5743),t),l(i(2671),t),l(i(3974),t),l(i(9881),t),l(i(1226),t),l(i(7369),t),l(i(2633),t),l(i(2429),t),l(i(7874),t),l(i(3334),t),l(i(4298),t),l(i(4435),t),l(i(1685),t),l(i(6313),t),l(i(9109),t),l(i(9918),t),l(i(8105),t),l(i(8687),t),l(i(2150),t),l(i(4557),t),l(i(4721),t),l(i(2814),t),l(i(9188),t),l(i(7601),t),l(i(4497),t),l(i(152),t),l(i(935),t),l(i(9719),t),l(i(5625),t),l(i(9115),t),l(i(6072),t),l(i(6923),t),l(i(9015),t),l(i(3611),t),l(i(4846),t),l(i(3277),t),l(i(4525),t),l(i(7114),t),l(i(3751),t),l(i(7084),t),l(i(3981),t),l(i(9788),t),l(i(4419),t),l(i(2575),t),l(i(8124),t),l(i(3440),t),l(i(2193),t),l(i(309),t),l(i(6281),t),l(i(7748),t),l(i(8856),t),l(i(7393),t),l(i(9410),t),l(i(8589),t),l(i(3366),t),l(i(8929),t),l(i(5403),t),l(i(5937),t),l(i(4452),t),l(i(7209),t),l(i(8262),t),l(i(7017),t),l(i(9980),t),l(i(7733),t),l(i(1256),t),l(i(9532),t),l(i(6698),t),l(i(9632),t),l(i(3692),t),l(i(5430),t),l(i(1018),t),l(i(3433),t),l(i(8012),t),l(i(3881),t),l(i(3106),t),l(i(1276),t),l(i(5424),t),l(i(4248),t),l(i(9526),t),l(i(9379),t),l(i(5495),t),l(i(7753),t),l(i(1252),t),l(i(3576),t),l(i(3617),t),l(i(6110),t),l(i(5681),t),l(i(1922),t),l(i(7906),t),l(i(5451),t),l(i(6349),t),l(i(5393),t),l(i(9887),t),l(i(5102),t),l(i(9977),t),l(i(8454),t),l(i(25),t),l(i(2884),t),l(i(5390),t),l(i(7196),t),l(i(9965),t),l(i(4468),t),l(i(4451),t),l(i(6087),t),l(i(5864),t),l(i(4066),t),l(i(2841),t),l(i(272),t),l(i(1348),t),l(i(6215),t),l(i(5275),t),l(i(7900),t),l(i(5027),t),l(i(3496),t),l(i(1131),t),l(i(8681),t),l(i(4577),t),l(i(8051),t)},8589:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.input_autocomplete_valid=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(8656);t.input_autocomplete_valid={id:"input_autocomplete_valid",context:"dom:input[autocomplete], dom:textarea[autocomplete], dom:select[autocomplete]",refactor:{WCAG21_Input_Autocomplete:{Pass_0:"pass",Fail_1:"fail_inappropriate",Fail_2:"fail_invalid",Fail_attribute_incorrect:"fail_incorrect"}},help:{"en-US":{group:"input_autocomplete_valid.html",pass:"input_autocomplete_valid.html",fail_inappropriate:"input_autocomplete_valid.html",fail_invalid:"input_autocomplete_valid.html",fail_incorrect:"input_autocomplete_valid.html"}},messages:{"en-US":{group:"The 'autocomplete' attribute's token(s) must be appropriate for the input form field",pass:"The 'autocomplete' attribute's token(s) is appropriate for the input form field",fail_inappropriate:"The 'autocomplete' attribute's token(s) are not appropriate for the input form field",fail_invalid:"The 'autocomplete' attribute's token(s) are not appropriate for an input form field of any type",fail_incorrect:"The 'autocomplete' attribute has an incorrect value"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.5"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[{"73f2c2":{pass:"pass",fail_inappropriate:"fail",fail_invalid:"pass",fail_incorrect:"fail"}}],run:function(e,t,i){var l=e.dom.node;if(!r.VisUtil.isNodeVisible(l)||n.CommonUtil.isNodeDisabled(l))return null;var o=l.getAttribute("autocomplete").trim().toLowerCase(),s=o.split(/\s+/);if(0===s.length||0===o.length)return null;var u={tokensOnOff:["on","off"],tokenOptionalSection:"section-",tokensOptionalPurpose:["shipping","billing"],tokensMandatoryGroup1_password:["new-password","current-password","one-time-code"],tokensMandatoryGroup1_multiline:["street-address"],tokensMandatoryGroup1_month:["cc-exp"],tokensMandatoryGroup1_numeric:["cc-exp-month","cc-exp-year","transaction-amount","bday-day","bday-month","bday-year"],tokensMandatoryGroup1_date:["bday"],tokensMandatoryGroup1_url:["url","photo"],tokensMandatoryGroup1_text:["name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","username","organization-title","organization","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-csc","cc-type","transaction-currency","language","sex"],tokensMandatoryGroup1_all:["name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","username","new-password","current-password","organization-title","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","url","photo"],tokensOptionalGroup2:["home","work","mobile","fax","pager"],tokensMandatoryGroup2_tel:["tel"],tokensMandatoryGroup2_email:["email"],tokensMandatoryGroup2_url:["impp"],tokensMandatoryGroup2_text:["tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension"],tokensMandatoryGroup2_all:["tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"],tokensOptionGroup1_webauthn:["webauthn"]},d=[];for(var c in u)d=d.concat(u[c]);var m=!1,p=!0,h=l.nodeName.toLowerCase();if(!s.every((function(e){return d.includes(e)||e.startsWith(u.tokenOptionalSection)})))return(0,a.RuleFail)("fail_incorrect");var _=l.hasAttribute("type")?l.getAttribute("type").trim().toLowerCase():"text",b=[],g=[],f=[];if("textarea"===h||"select"===h)b=u.tokensMandatoryGroup1_all,g=u.tokensMandatoryGroup2_all,"textarea"===h&&(f=u.tokensOptionGroup1_webauthn);else{if("input"!==h)return null;switch(f=u.tokensOptionGroup1_webauthn,_){case"text":case"search":b=u.tokensMandatoryGroup1_text.concat(u.tokensMandatoryGroup1_password,u.tokensMandatoryGroup1_url,u.tokensMandatoryGroup1_numeric,u.tokensMandatoryGroup1_month,u.tokensMandatoryGroup1_date),g=u.tokensMandatoryGroup2_all;break;case"password":b=u.tokensMandatoryGroup1_password;break;case"url":b=u.tokensMandatoryGroup1_url,g=u.tokensMandatoryGroup2_url;break;case"email":g=u.tokensMandatoryGroup2_email;break;case"tel":g=u.tokensMandatoryGroup2_tel;break;case"number":b=u.tokensMandatoryGroup1_numeric;break;case"month":b=u.tokensMandatoryGroup1_month;break;case"date":b=u.tokensMandatoryGroup1_date;break;default:return null}}if(s.includes("on")||s.includes("off"))return 1===s.length?(0,a.RulePass)("pass"):(0,a.RuleFail)("fail_invalid");var v=0,A=0;return s[v].startsWith(u.tokenOptionalSection)&&s[v].length>8&&(v++,A++),s.length>v&&u.tokensOptionalPurpose.includes(s[v])&&(v++,A++),s.length>v&&(b.includes(s[v])?(m=!0,v++):(u.tokensOptionalGroup2.includes(s[v])&&v++,g.includes(s[v])&&(m=!0,v++))),s.length>A&&(u.tokensMandatoryGroup1_all.includes(s[A])?(p=!0,A++):(u.tokensOptionalGroup2.includes(s[A])&&A++,u.tokensMandatoryGroup2_all.includes(s[A])&&(p=!0,A++))),s.length>v+A&&f.includes(s[v+A])&&v++,(s.length>v&&f.includes(s[v])||s.length>A&&f.includes(s[A]))&&(v++,A++),m&&s.length===v?(0,a.RulePass)("pass"):p&&s.length===A?(0,a.RuleFail)("fail_incorrect"):(0,a.RuleFail)("fail_inappropriate")}}},3366:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.input_checkboxes_grouped=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(7440),s=i(7788),u=i(8656),d=i(5755);t.input_checkboxes_grouped={id:"input_checkboxes_grouped",context:"dom:input[type=radio], dom:input[type=checkbox]",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:"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:{"en-US":{group:"Related sets of radio buttons or checkboxes should be programmatically grouped",pass_lonenogroup:"{0} grouping not required for a control of this type",pass_grouped:"{0} input is grouped with other related controls with the same name",pass_radiononame:"Radio input is not grouped, but passes because it has no name to group with other radio inputs",fail_controlnamemismatch:'{0} input found that has the same name, "{2}" as a {1} input',fail_notgroupedothergrouped:'{0} input is not in the group with another {0} with the name "{1}"',fail_notgroupedothernotgrouped:'{0} input and others with the name "{1}" are not grouped together',fail_notsamegroup:'{0} input is in a different group than another {0} with the name "{1}"',potential_lonecheckbox:"Verify that this ungrouped checkbox input is not related to other checkboxes",potential_unnamedcheckbox:"Verify that this un-named, ungrouped checkbox input is not related to other checkboxes"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node;if(u.VisUtil.isNodeHiddenFromAT(l))return null;var c=function(e){var t=r.CommonUtil.getAncestor(e,"fieldset")||n.AriaUtil.getAncestorWithRole(e,"radiogroup")||n.AriaUtil.getAncestorWithRole(e,"group")||n.AriaUtil.getAncestorWithRole(e,"grid")||n.AriaUtil.getAncestorWithRole(e,"table");return t||(t=r.CommonUtil.getAncestor(e,"table"))&&!d.TableUtil.isDataTable(t)&&(t=null),t},m=l.getAttribute("type").toLowerCase(),p=n.AriaUtil.getAncestorWithRole(l,"form")||r.CommonUtil.getAncestor(l,"html")||l.ownerDocument.documentElement,h=s.CacheUtil.getCache(p,"input_checkboxes_grouped",null);if(!h){h={checkboxByName:{},radiosByName:{},nameToGroup:{},numCheckboxes:0,numRadios:0};for(var _=new o.DOMWalker(p,!1,p,!0),b=[],g=[];_.nextNode();)if(!_.bEndTag&&1===_.node.nodeType&&"input"===_.node.nodeName.toLowerCase()&&u.VisUtil.isNodeVisible(_.node)){var f=_.node.getAttribute("type");"checkbox"===f?b.push(_.node):"radio"===f&&g.push(_.node)}for(var v=0;v<b.length;++v){var A=b[v];if((n.AriaUtil.getAncestorWithRole(A,"form")||r.CommonUtil.getAncestor(l,"html")||l.ownerDocument.documentElement)===p&&!r.CommonUtil.shouldNodeBeSkippedHidden(A)){var y=A.getAttribute("name")||"";(h.checkboxByName[y]=h.checkboxByName[y]||[]).push(A),h.nameToGroup[y]=h.nameToGroup[y]||c(A),++h.numCheckboxes}}for(v=0;v<g.length;++v){var w=g[v];if((n.AriaUtil.getAncestorWithRole(w,"form")||r.CommonUtil.getAncestor(l,"html")||l.ownerDocument.documentElement)===p&&!r.CommonUtil.shouldNodeBeSkippedHidden(w)){var k=w.getAttribute("name")||"";(h.radiosByName[k]=h.radiosByName[k]||[]).push(w),h.nameToGroup[k]=h.nameToGroup[k]||c(w),++h.numRadios}}s.CacheUtil.setCache(p,"input_checkboxes_grouped",h)}var C=l.getAttribute("name"),x=c(l);if(m="radio"===m?"Radio":"Checkbox",C&&""!==C){var P=(h.radiosByName[C]||[]).length,R=(h.checkboxByName[C]||[]).length;return P>0&&R>0?(0,a.RuleFail)("fail_controlnamemismatch",[m,"checkbox"===m?"radio":"checkbox",C]):"Radio"===m&&(1===h.numRadios||1===P)||"Checkbox"===m&&1===h.numCheckboxes?null===x?(0,a.RulePass)("pass_lonenogroup",[m]):(0,a.RulePass)("pass_grouped",[m]):"Checkbox"===m&&h.numCheckboxes>1&&1===R?null===x?(0,a.RulePotential)("potential_lonecheckbox",[m]):(0,a.RulePass)("pass_grouped",[m]):null===x?null!==h.nameToGroup[C]?(0,a.RuleFail)("fail_notgroupedothergrouped",[m,C]):(0,a.RuleFail)("fail_notgroupedothernotgrouped",[m,C]):h.nameToGroup[C]!==x?(0,a.RuleFail)("fail_notsamegroup",[m,C]):(0,a.RulePass)("pass_grouped",[m])}return"Radio"===m?null===x?(0,a.RulePass)("pass_radiononame",[m]):(0,a.RulePass)("pass_grouped",[m]):null===x?(h.checkboxByName[""]||[]).length>1?(0,a.RulePotential)("potential_unnamedcheckbox",[m]):(0,a.RulePass)("pass_lonenogroup",[m]):(0,a.RulePass)("pass_grouped",[m])}}},8929:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.input_fields_grouped=void 0;var a=i(4377),l=i(4377),n=i(8137);t.input_fields_grouped={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:"input_fields_grouped.html",Potential_1:"input_fields_grouped.html",group:"input_fields_grouped.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Use the <fieldset> element to group logically related input elements",group:"Groups of logically related input elements should be contained within a <fieldset> element"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node;if("input"==l.nodeName.toLowerCase()&&l.hasAttribute("type")&&"text"!=(m=l.getAttribute("type").toLowerCase())&&"file"!=m&&"password"!=m)return(0,a.RulePass)("Pass_0");if(null!=n.CommonUtil.getAncestor(l,"fieldset"))return(0,a.RulePass)("Pass_0");for(var r=n.CommonUtil.getAncestor(l,["form","body"]),o=["input","textarea","select"],s=!0,u=0;s&&u<o.length;++u)for(var d=r.getElementsByTagName(o[u]),c=0;s&&c<d.length;++c)if(!n.CommonUtil.shouldNodeBeSkippedHidden(d[c])){var m=d[c].hasAttribute("type")?d[c].getAttribute("type").toLowerCase():"text";s=d[c]==l||"text"!=m&&"password"!=m&&"file"!=m}return s?(0,a.RulePass)("Pass_0"):s?void 0:(0,a.RulePotential)("Potential_1")}}},5403:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.input_haspopup_conflict=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(8656);t.input_haspopup_conflict={id:"input_haspopup_conflict",context:"dom:input[list][aria-haspopup]",refactor:{input_haspopup_invalid:{Potential_1:"potential_type_misuse",Potential_2:"potential_misuse"}},help:{"en-US":{group:"input_haspopup_conflict.html",potential_type_misuse:"input_haspopup_conflict.html",potential_misuse:"input_haspopup_conflict.html",potential_list_notexist:"input_haspopup_conflict.html",fail_invalid_list_type:"input_haspopup_conflict.html",fail_invalid_list_elem:"input_haspopup_conflict.html"}},messages:{"en-US":{group:"<input> element with a 'list' attribute should not use an explicit 'aria-haspopup' attribute",potential_type_misuse:"The <input> element with type \"{0}\" and 'list' attribute uses an explicit 'aria-haspopup' attribute",potential_misuse:"The <input> element with a missing or invalid type and 'list' attribute uses an explicit 'aria-haspopup' attribute",potential_list_notexist:"The list attribute for the <input> element is invalid",fail_invalid_list_type:'The list attribute for the <input> element with the type "{0}" is invalid',fail_invalid_list_elem:"The list attribute for the <input> element does not reference a datalist element"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(o.VisUtil.isNodeHiddenFromAT(l)||r.CommonUtil.isNodeDisabled(l))return null;var s=n.AriaUtil.getUserDefinedRoles(l);if(s&&s.length>0&&!s.includes("combobox"))return null;var u=["text","search","tel","url","email","date","month","week","time","datetime-local","number","range","color"],d=["file","password","checkbox","radio","submit","reset","image","hidden","button"],c=l.getAttribute("type");if(!c||0===c.trim().length)return(0,a.RulePotential)("potential_misuse");if(c=c.trim().toLowerCase(),!u.includes(c)&&!d.includes(c))return(0,a.RulePotential)("potential_misuse");if(c&&d.includes(c))return(0,a.RuleFail)("fail_invalid_list_type");var m=l.getAttribute("list");if(!m||0===m.trim().length)return(0,a.RulePotential)("potential_list_notexist");var p=l.ownerDocument.getElementById(m);return p?"datalist"!==p.nodeName.toLowerCase()?(0,a.RuleFail)("fail_invalid_list_elem"):u.includes(c)?(0,a.RulePotential)("potential_type_misuse",[c]):void 0:(0,a.RuleFail)("potential_list_notexist")}}},5937:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.input_label_after=void 0;var a=i(4377),l=i(4377),n=i(7440),r=i(8137);t.input_label_after={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:"input_label_after.html",Fail_1:"input_label_after.html",Fail_2:"input_label_after.html",group:"input_label_after.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Checkbox or radio button is nested in label, so label is not after the input control",Fail_2:"Label text is located before its associated checkbox or radio button element",group:"Checkboxes and radio buttons must have a label after the input control"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["3.3.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,o="";if(l.hasAttribute("type")&&(o=l.getAttribute("type").toLowerCase()),"checkbox"!=o&&"radio"!=o)return null;var s=r.CommonUtil.getLabelForElementHidden(l,!0);if(null===s||!r.CommonUtil.hasInnerContentHidden(s))return null;var u,d=r.CommonUtil.compareNodeOrder(s,l);if(-2===d){u=!1;var c=new n.DOMWalker(s);for(c.node=l;!u&&c.nextNode();)u="#text"===c.node.nodeName.toLowerCase()&&c.node.nodeValue.trim().length>0||"span"===c.node.nodeName.toLowerCase()&&c.node.textContent.trim().length>0;if(!u)return(0,a.RuleFail)("Fail_1")}else if(1!=d)return(0,a.RuleFail)("Fail_2");return(0,a.RulePass)("Pass_0")}}},4452:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.input_label_before=void 0;var a=i(4377),l=i(4377),n=i(8137);t.input_label_before={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:"input_label_before.html",Fail_1:"input_label_before.html",Fail_2:"input_label_before.html",group:"input_label_before.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Text input is nested in label such that input precedes the label text",Fail_2:"Label text is located after its associated text input or <select> element",group:"Text inputs and <select> elements must have a label before the input control"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["3.3.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if("input"==l.nodeName.toLowerCase()&&l.hasAttribute("type")){var r=l.getAttribute("type").toLowerCase();if("text"!=r&&"file"!=r&&"password"!=r)return null}var o=n.CommonUtil.getLabelForElementHidden(l,!0);if(null==o||!n.CommonUtil.hasInnerContentHidden(o))return null;var s=n.CommonUtil.compareNodeOrder(o,l);if(-2===s){var u=n.CommonUtil.getInnerText(l);if(u&&u.trim().length>0&&n.CommonUtil.getInnerText(l).trim()===u.trim())return null;for(var d=!1,c=l.previousSibling;!d&&null!==c;)d="#text"==c.nodeName.toLowerCase()&&c.nodeValue.trim().length>0||"span"==c.nodeName.toLowerCase()&&c.textContent.trim().length>0,c=c.previousSibling;if(!d)return(0,a.RuleFail)("Fail_1")}else if(-1!=s)return(0,a.RuleFail)("Fail_2");return(0,a.RulePass)("Pass_0")}}},7209:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.input_label_exists=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8656),o=i(1421);t.input_label_exists={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:"input_label_exists.html",Fail_1:"input_label_exists.html",Fail_2:"input_label_exists.html",group:"input_label_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Form control element <{0}> has no associated label",Fail_2:'Form control with "{0}" role has no associated label',group:"Each form control must have an associated label"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:["97a4e1","e086e5"],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;var s=l.nodeName.toLowerCase();if("datalist"===s)return null;var u="text";if("input"==s&&l.hasAttribute("type")?u=l.getAttribute("type").toLowerCase():("button"===s||n.AriaUtil.hasRoleInSemantics(l,"button"))&&(u="buttonelem"),"input"==s&&""==u&&(u="text"),"image"===u)return null;var d=o.AccNameUtil.computeAccessibleName(l);return d&&d.name&&d.name.trim().length>0?(0,a.RulePass)("Pass_0"):l.hasAttribute("role")&&l.getAttribute("role").trim().length>0?(0,a.RuleFail)("Fail_2",l.getAttribute("role").split(" ")):(0,a.RuleFail)("Fail_1",[s])}}},8262:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.input_label_visible=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(482),s=i(8656),u=i(295),d=i(1421);t.input_label_visible={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",dependencies:["input_label_exists"],refactor:{WCAG20_Input_VisibleLabel:{Pass_0:"pass",Potential_1:"potential_no_label",potential_placeholder_only:"potential_placeholder_only"}},help:{"en-US":{pass:"input_label_visible.html",potential_placeholder_only:"input_label_visible.html",potential_no_label:"input_label_visible.html",group:"input_label_visible.html"}},messages:{"en-US":{pass:"The input element has an associated visible label",potential_placeholder_only:"The ‘placeholder’ is the only visible label",potential_no_label:"The input element does not have an associated visible label",group:"An input element must have an associated visible label"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.5.3","3.3.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,c=l.nodeName.toLowerCase();if("datalist"===c)return null;if(!s.VisUtil.isNodeVisible(l)||r.CommonUtil.isNodeDisabled(l))return null;if(r.CommonUtil.getAncestor(l,"table"))return null;if(n.AriaUtil.getAncestorWithRole(l,"combobox")&&!(n.AriaUtil.hasRoleInSemantics(l,"textbox")||n.AriaUtil.hasRoleInSemantics(l,"searchbox")||"input"===c||"select"===c&&n.AriaUtil.hasRoleInSemantics(l,"combobox")))return null;for(var m=["listbox","tree","grid","dialog"],p=0;p<m.length;p++)if(n.AriaUtil.hasRoleInSemantics(l,m[p]))for(var h=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"combobox",!0,!0),_=0;_<h.length;_++){var b=h[_],g=r.CommonUtil.getElementAttribute(b,"aria-owns");if(g)for(var f=r.CommonUtil.normalizeSpacing(g.trim()).split(" "),v=0;v<f.length;v++)if(o.FragmentUtil.getById(l,f[v])===l)return null}var A=d.AccNameUtil.computeAccessibleName(l);if(("input"===c||"button"===c)&&A&&A.name&&A.name.trim().length>0&&("label"===A.nameFrom||"internal"===A.nameFrom||"alt"===A.nameFrom))return(0,a.RulePass)("pass");var y=n.AriaUtil.getResolvedRole(l);if(y&&"button"===y&&"input"!==c&&"button"!==c&&!r.CommonUtil.getAncestor(l,"form"))return null;if(A&&A.name&&A.name.trim().length>0&&("text"===A.nameFrom||"title"===A.nameFrom))return(0,a.RulePass)("pass");var w=n.AriaUtil.getAllDescendantsWithRoles(l,["img","graphics-document","graphics-object","graphics-symbol"],!1,!0);if(w&&w.length>0)for(var k=0;k<w.length;k++)if(r.CommonUtil.attributeNonEmpty(w[k],"title")||r.CommonUtil.attributeNonEmpty(w[k],"alt"))return(0,a.RulePass)("pass");if(r.CommonUtil.attributeNonEmpty(l,"aria-labelledby")){var C=l.getAttribute("aria-labelledby").split(/\s+/);for(p=0;p<C.length;++p){var x=o.FragmentUtil.getById(l,C[p]);if(x&&!u.DOMUtil.sameNode(x,l)&&s.VisUtil.isNodeVisible(x)&&r.CommonUtil.hasInnerContentHidden(x))return(0,a.RulePass)("pass")}}if(("optgroup"===c||"option"==c)&&A&&A.name&&A.name.trim().length>0&&("label"===A.nameFrom||"content"===A.nameFrom))return(0,a.RulePass)("pass");var P=l.getAttribute("id");return P&&P.trim().length>0&&l.ownerDocument.querySelector("*[aria-controls='".concat(P,"'][role='combobox']"))?null:r.CommonUtil.attributeNonEmpty(l,"placeholder")?(0,a.RulePotential)("potential_placeholder_only"):(0,a.RulePotential)("potential_no_label")}}},7017:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.input_onchange_review=void 0;var a=i(4377),l=i(4377);t.input_onchange_review={id:"input_onchange_review",context:"dom:input[onchange], dom:textarea[onchange], dom:select[onchange]",refactor:{WCAG20_Input_HasOnchange:{Potential_1:"potential_warning"}},help:{"en-US":{potential_warning:"input_onchange_review.html",group:"input_onchange_review.html"}},messages:{"en-US":{group:"Users must be advised if, due to a change of element value, a form automatically submits, a new window opens, or a change in focus occurs",potential_warning:"Confirm that the user is advised if, due to a change of element value, a form automatically submits, a new window opens, or a change in focus occurs"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["3.2.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;if("input"==l.nodeName.toLowerCase()&&l.hasAttribute("type")){var n=l.getAttribute("type").toLowerCase();if("hidden"===n||"submit"===n||"image"===n||"button"===n||"reset"===n)return null}return(0,a.RulePotential)("potential_warning")}}},9980:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.input_placeholder_label_visible=void 0;var a=i(4377);t.input_placeholder_label_visible={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:"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:{"en-US":{Pass_0:"Rule Passed",Potential_1:"HTML5 placeholder is the only visible label",Potential_2:"Additional visible label referenced by 'aria-labelledby' is not valid",group:"HTML5 'placeholder' attribute must not be used as a visible label replacement"}},rulesets:[],act:[],run:function(e,t,i){var l=e.dom.node;if(l.hasAttribute("type")){var n=l.getAttribute("type").toLowerCase();if("hidden"==n||"button"==n)return(0,a.RulePass)("Pass_0")}if(l.hasAttribute("hidden")){var r=l.getAttribute("hidden");if(""==r||"hidden"==r.toLowerCase())return(0,a.RulePass)("Pass_0")}if(l.hasAttribute("aria-label"))return(0,a.RulePotential)("Potential_1");if(l.hasAttribute("aria-labelledby")&&l.hasAttribute("id")){var o=l.getAttribute("id").trim();return l.getAttribute("aria-labelledby").trim().split(/\s+/).includes(o)?(0,a.RulePotential)("Potential_2"):(0,a.RulePass)("Pass_0")}return(0,a.RulePass)("Pass_0")}}},7733:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.label_content_exists=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(482),o=i(295);t.label_content_exists={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:"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:{"en-US":{Pass_Regular:"<label> element has accessible name with inner content",Pass_AriaLabel:"<label> element has accessible name via 'aria-label'",Pass_LabelledBy:"<label> element has accessible name via 'aria-labelledby'",Fail_1:"The <label> element does not have descriptive text that identifies the expected input",group:"A <label> element must have non-empty descriptive text that identifies the purpose of the interactive component"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(n.CommonUtil.hasInnerContentHidden(l))return(0,a.RulePass)("Pass_Regular");if((l.getAttribute("aria-label")||"").trim().length>0)return(0,a.RulePass)("Pass_AriaLabel");if(l.hasAttribute("aria-labelledby")){var s=r.FragmentUtil.getById(l,l.getAttribute("aria-labelledby"));if(s&&!o.DOMUtil.sameNode(s,l)&&n.CommonUtil.hasInnerContent(s))return(0,a.RulePass)("Pass_LabelledBy")}return(0,a.RuleFail)("Fail_1")}}},1256:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.label_name_visible=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(482),s=i(8656),u=i(1775),d=i(7440);t.label_name_visible={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:"label_name_visible.html",Fail_1:"label_name_visible.html",group:"label_name_visible.html"}},messages:{"en-US":{Pass_0:"Accessible name matches or contains the visible label text",Fail_1:"Accessible name does not match or contain the visible label text",group:"Accessible name must match or contain the visible label text"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_2"],num:["2.5.3"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:"2ee8b8",run:function(e,t,i){var l=e.dom.node;if(!s.VisUtil.isNodeVisible(l)||r.CommonUtil.isNodeDisabled(l))return null;if(u.CSSUtil.isMaterialIconFont(l))return(0,a.RulePass)("Pass_0");var c=!0,m=l.nodeName.toLowerCase(),p=!1,h=null;"input"===m&&l.hasAttribute("type")&&(h=l.getAttribute("type").toLowerCase(),-1!==r.CommonUtil.form_button_types.indexOf(h)&&(p=!0));var _=n.AriaUtil.getAriaAttribute(l,"aria-labelledby");if(!_||r.CommonUtil.isIdReferToSelf(l,_)||p){var b=null;if(_&&!r.CommonUtil.isIdReferToSelf(l,_))for(var g=_.split(/\s+/),f=0;f<g.length;++f){var v=o.FragmentUtil.getById(l,g[f]);if(v){b=r.CommonUtil.getInnerText(v);break}}else b=n.AriaUtil.getAriaAttribute(l,"aria-label");if(!b)return null;var A=null;if(p&&(l.hasAttribute("value")?A=l.getAttribute("value"):"submit"===h?A="submit":"reset"===h&&(A="reset")),!A){var y=r.CommonUtil.getLabelForElementHidden(l,!0);if(!y){var w=d.DOMWalker.parentNode(l);if("label"===w.nodeName.toLowerCase()){var k=w.cloneNode(!0);y=r.CommonUtil.removeAllFormElementsFromLabel(k)}}var C=y||l;A=y||-1===["meter","output","progress","select","textarea"].indexOf(m)?r.CommonUtil.getOnScreenInnerText(C):""}var x=/[^a-zA-Z0-9]/g;A=A.replace(x," ");var P=r.CommonUtil.normalizeSpacing(A).toLowerCase();b=b.replace(x," ");var R=r.CommonUtil.normalizeSpacing(b).toLowerCase();if(P.length>1){var T=R.indexOf(P);if(T>=0&&R.length>P.length){var U=/^[0-9a-zA-Z]+$/;T+P.length<R.length&&R.charAt(T+P.length).match(U)&&(c=!1),c&&T>0&&R.charAt(T-1).match(U)&&(c=!1)}-1===T&&(c=!1)}}return c?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},9532:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.label_ref_valid=void 0;var a=i(4377),l=i(4377),n=i(482),r=i(8656);t.label_ref_valid={id:"label_ref_valid",context:"dom:label[for]",refactor:{WCAG20_Label_RefValid:{Pass_0:"pass",Fail_1:"fail_invalid"}},help:{"en-US":{pass:"label_ref_valid.html",fail_invalid:"label_ref_valid.html",group:"label_ref_valid.html"}},messages:{"en-US":{pass:"The 'for' attribute for a label referencea a unique non-empty 'id' attribute of a valid element",fail_invalid:"The value \"{0}\" of the 'for' attribute is not the 'id' of a valid element",group:"The 'for' attribute for a label should reference a non-empty, unique 'id' attribute of a valid element"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,o=l.getAttribute("for"),s=!1,u=n.FragmentUtil.getById(l,o);if(u){if(!r.VisUtil.isNodeVisible(u)&&!r.VisUtil.isNodeVisible(l))return null;if(s=!0,!u.hasAttribute("role")){var d=u.nodeName.toLowerCase();if(s="input"==d||"select"==d||"textarea"==d||"button"==d||"datalist"==d||"optgroup"==d||"option"==d||"keygen"==d||"output"==d||"progress"==d||"meter"==d||"fieldset"==d||"legend"==d,"input"==u.nodeName.toLowerCase()&&u.hasAttribute("type")){var c=u.getAttribute("type").toLowerCase();s="text"==c||"password"==c||"file"==c||"checkbox"==c||"radio"==c||"hidden"==c||"search"==c||"tel"==c||"url"==c||"email"==c||"date"==c||"number"==c||"range"==c||"image"==c||"time"==c||"color"==c||"datetime-local"==c||"month"==c||"week"==c}}s&&!r.VisUtil.isNodeVisible(u)&&(s=!1)}var m=[];return s||m.push(o),s?(0,a.RulePass)("pass"):(0,a.RuleFail)("fail_invalid",m)}}},6698:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.list_children_valid=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(7440);t.list_children_valid={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:"list_children_valid.html",Fail_1:"list_children_valid.html",group:"list_children_valid.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'List component with "group" role has children that are not <listitem> elements',group:'List component with "group" role must limit children to <listitem> elements'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,o=r.DOMWalker.parentElement(l);if(!n.AriaUtil.hasRoleInSemantics(o,"list"))return null;for(var s=!0,u=l.children,d=0;s&&d<u.length;d++)s=n.AriaUtil.hasRoleInSemantics(u[d],"listitem");return s?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},9632:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.list_markup_review=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(7440),s=i(8656);t.list_markup_review={id:"list_markup_review",context:"dom:*",refactor:{RPT_List_UseMarkup:{Potential_1:"Potential_1"}},help:{"en-US":{potential_list:"list_markup_review.html",group:"list_markup_review.html"}},messages:{"en-US":{potential_list:"Verify this is a list and if so, modify to use proper HTML elements for the list",group:"Proper HTML elements should be used to create a list"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,u=l.nodeName.toLowerCase();if(r.CommonUtil.isNodeDisabled(l)||s.VisUtil.hiddenByDefaultElements.includes(u))return null;if(null===r.CommonUtil.getAncestor(l,["body"]))return null;if(null!==r.CommonUtil.getAncestor(l,["script","label"]))return null;var d=n.AriaUtil.getRolesWithTypes(l,["widget"]);if(r.CommonUtil.concatUniqueArrayItemList(["caption","code","columnheader","figure","list","listitem","math","meter","columnheader","rowheader"],d),null!==n.AriaUtil.getAncestorWithRoles(l,d))return null;for(var c=!0,m=l.firstChild;c&&m;){if("#text"==m.nodeName){var p=m.nodeValue;if(!(c=!/^[ \t\r\n]*[( ]*[1-9]*[\*\-).][ \t][A-Z,a-z]+/.test(p)))for(var h=new o.DOMWalker(m);!c&&h.prevNode();){var _=h.node.nodeName.toLowerCase();if(["blockquote","center","dir","div","form","h1","h2","h3","h4","h5","h6","hr","br","menu","p","pre"].includes(_))break;if("#text"==_){var b=h.node.nodeValue;c=b.length>0&&![" ","\t","\n"].includes(b.charAt(b.length-1))}}}m=m.nextSibling}return c?null:c?void 0:(0,a.RulePotential)("potential_list")}}},3692:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.list_structure_proper=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137);t.list_structure_proper={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:"list_structure_proper.html",Potential_1:"list_structure_proper.html",group:"list_structure_proper.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"List element is missing or improperly structured",group:"List elements should only be used for lists of related items"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l,o=e.dom.node,s=o.nodeName.toLowerCase();if(o.children,"dl"==s){var u="",d="",c=o.firstChild;l=!0;var m=!1;if(o.children&&0!=o.children.length){for(;l&&null!=c;){if(1==c.nodeType){var p=c.nodeName.toLowerCase();if(n.AriaUtil.isPresentationalElement(c)){m=!0,c=c.nextSibling;continue}l="dd"==p||"dt"==p,""==u&&(u=p),d=p}c=c.nextSibling}l=l&&"dt"==u&&"dd"==d||l&&m}else l=!0}else if("li"==s)l=null!=r.CommonUtil.getAncestor(o,["ul","ol","dir","menu"]);else if("dd"==s||"dt"==s)l=null!=r.CommonUtil.getAncestor(o,"dl");else if(c=o.firstChild,"ul"!=s&&"ol"!=s&&"menu"!=s||o.children&&0!=o.children.length){var h=!1;for(m=!1,l=!0;l&&null!=c;)n.AriaUtil.isPresentationalElement(c)?(m=!0,c=c.nextSibling):(l=1!=c.nodeType||"li"==c.nodeName.toLowerCase()||"template"==c.nodeName.toLowerCase()&&("ul"==s||"ol"==s),h=h||1==c.nodeType&&"li"==c.nodeName.toLowerCase(),c=c.nextSibling);l=l&&h||l&&m}else l=!0;return l?(0,a.RulePass)("Pass_0"):l?void 0:(0,a.RulePotential)("Potential_1")}}},5430:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.marquee_elem_avoid=void 0;var a=i(4377),l=i(4377);t.marquee_elem_avoid={id:"marquee_elem_avoid",context:"dom:marquee",refactor:{RPT_Marquee_Trigger:{Fail_1:"Fail_1"}},help:{"en-US":{Fail_1:"marquee_elem_avoid.html",group:"marquee_elem_avoid.html"}},messages:{"en-US":{Fail_1:"Scrolling content found that uses the obsolete <marquee> element",group:"The <marquee> element is obsolete and should not be used"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.2.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){return e.dom.node,(0,a.RuleFail)("Fail_1")}}},1018:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.media_alt_brief=void 0;var a=i(4377),l=i(4377),n=i(8656);t.media_alt_brief={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:"media_alt_brief.html",Potential_1:"media_alt_brief.html",group:"media_alt_brief.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Text alternative is more than 150 characters",group:"Alternative text in 'alt' attribute should be brief (<150 characters)"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node;if(n.VisUtil.isNodeHiddenFromAT(l))return null;var r=l.getAttribute("alt").trim().length<=150;return r?(0,a.RulePass)("Pass_0"):r?void 0:(0,a.RulePotential)("Potential_1")}}},3433:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.media_alt_exists=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(8656);t.media_alt_exists={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:"media_alt_exists.html",Potential_1:"media_alt_exists.html",group:"media_alt_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Filename used as label for embedded audio or video",group:"Audio or video on the page must have a short text alternative that describes the media content"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;var o="";null==(o="area"==l.nodeName.toLowerCase()?l.getAttribute("href"):l.getAttribute("src"))&&(o="");var s=n.CommonUtil.getFileExt(o),u=0!=s.length&&(n.CommonUtil.isAudioExt(s)||n.CommonUtil.isVideoExt(s)),d=l.getAttribute("alt"),c=!u||d.length>0&&-1==d.indexOf(s);return c?(0,a.RulePass)("Pass_0"):c?void 0:(0,a.RulePotential)("Potential_1")}}},8012:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.media_audio_transcribed=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(8656);t.media_audio_transcribed={id:"media_audio_transcribed",context:"dom:bgsound, dom:a[href], dom:area[href], dom:embed, dom:object",refactor:{RPT_Media_AudioTrigger:{Manual_1:"Manual_1"}},help:{"en-US":{Manual_1:"media_audio_transcribed.html",group:"media_audio_transcribed.html"}},messages:{"en-US":{Manual_1:"Provide transcripts for audio files",group:"Audio information should also be available in text form"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.2.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l,o=e.dom.node;return r.VisUtil.isNodeHiddenFromAT(o)||(l="bgsound"!=o.nodeName.toLowerCase()&&!n.CommonUtil.isAudioObjEmbedLink(o))?null:l?void 0:(0,a.RuleManual)("Manual_1")}}},3881:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.media_autostart_controllable=void 0;var a=i(4377),l=i(4377);t.media_autostart_controllable={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:"media_autostart_controllable.html",Potential_1:"media_autostart_controllable.html",group:"media_autostart_controllable.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify there is a mechanism to pause or stop and control the volume for the audio that plays automatically",group:"Mechanism must be available to pause or stop and control the volume of the audio that plays automatically"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.4.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l,n=e.dom.node,r=n.nodeName.toLowerCase();if("bgsound"==r)l=!1;else if("param"==r){var o="";n.hasAttribute("value")&&(o=n.getAttribute("value").toLowerCase()),l=0==o.indexOf("0;")||!(-1!=o.indexOf("true")||-1!=o.indexOf("1"))}else if("embed"==r){var s;l=!0,n.hasAttribute("flashvars")&&(l=-1==(s=n.getAttribute("flashvars")).indexOf("autostart=true")&&-1==s.indexOf("autostart=1")),l&&n.hasAttribute("src")&&(l=-1==(s=n.getAttribute("src")).indexOf("autostart=true")&&-1==s.indexOf("autostart=1"))}if(l&&n.hasAttribute("autostart")){var u=n.getAttribute("autostart").toLowerCase();l="true"!=u&&"1"!=u}return l?(0,a.RulePass)("Pass_0"):(0,a.RulePotential)("Potential_1")}}},3106:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.media_keyboard_controllable=void 0;var a=i(4377),l=i(4377),n=i(8656);t.media_keyboard_controllable={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:"media_keyboard_controllable.html",Manual_1:"media_keyboard_controllable.html",group:"media_keyboard_controllable.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Manual_1:"Verify media using <audio> and/or <video> elements have keyboard accessible controls",group:"Media using <audio> and/or <video> elements must have keyboard accessible controls"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node;if(n.VisUtil.isNodeHiddenFromAT(l))return null;var r=!0,o=l.nodeName.toLowerCase();return"audio"!=o&&"video"!==o||(r=!1),r?(0,a.RulePass)("Pass_0"):(0,a.RuleManual)("Manual_1")}}},1276:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.media_live_captioned=void 0;var a=i(4377),l=i(4377),n=i(8137);t.media_live_captioned={id:"media_live_captioned",context:"dom:embed, dom:object",refactor:{RPT_Media_VideoObjectTrigger:{Manual_1:"Manual_1"}},help:{"en-US":{Manual_1:"media_live_captioned.html",group:"media_live_captioned.html"}},messages:{"en-US":{Manual_1:"Verify captions are provided for live media (streaming video with audio)",group:"Live media (streaming video with audio) should have captions for audio content"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.2.4"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,r=!n.CommonUtil.isVideoObjEmbedLink(l);return r?null:r?void 0:(0,a.RuleManual)("Manual_1")}}},5424:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.media_track_available=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(8656);t.media_track_available={id:"media_track_available",context:"dom:a[href], dom:area[href], dom:applet, dom:embed, dom:object",refactor:{RPT_Media_VideoReferenceTrigger:{Manual_1:"Manual_1"}},help:{"en-US":{Manual_1:"media_track_available.html",group:"media_track_available.html"}},messages:{"en-US":{Manual_1:"Verify availability of a user-selectable audio track with description of visual content",group:"Pre-recorded media should have an audio track that describes visual information"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.2.3","1.2.5"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;var o;return(o="applet"!=l.nodeName.toLowerCase()&&!n.CommonUtil.isVideoObjEmbedLink(l))?null:o?void 0:(0,a.RuleManual)("Manual_1")}}},4248:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.meta_redirect_optional=void 0;var a=i(482),l=i(8137),n=i(4377),r=i(4377);t.meta_redirect_optional={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:"meta_redirect_optional.html",pass:"meta_redirect_optional.html",fail:"meta_redirect_optional.html",fail_longrefresh:"meta_redirect_optional.html"}},messages:{"en-US":{group:"Page should not automatically refresh without warning or option to turn it off or adjust the time limit",pass:"Rule Passed",fail:"Check page does not automatically refresh without warning or options",fail_longrefresh:"Check page does not automatically refresh without warning or options"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.2.1"],level:r.eRulePolicy.VIOLATION,toolkitLevel:r.eToolkitLevel.LEVEL_THREE}],act:[{bc659a:{pass:"pass",fail:"fail",fail_longrefresh:"pass"}}],run:function(e,t,i){var r=e.dom.node;if("refresh"!==r.getAttribute("http-equiv").toLowerCase())return null;var o=r.getAttribute("content").toLowerCase();if(!o.match(/^\d+$/)&&!o.match(/^\d+;/))return null;if(l.CommonUtil.triggerOnce(a.FragmentUtil.getOwnerFragment(r),"meta_redirect_optional",!1))return null;var s=o.match(/^(\d+); +[^ ]/);return s&&0!==parseInt(s[1])?parseInt(s[1])<72001?(0,n.RuleFail)("fail"):(0,n.RuleFail)("fail_longrefresh"):(0,n.RulePass)("pass")}}},9526:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.meta_refresh_delay=void 0;var a=i(4377),l=i(4377);t.meta_refresh_delay={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:"meta_refresh_delay.html",Pass_0:"meta_refresh_delay.html",Potential_1:"meta_refresh_delay.html"}},messages:{"en-US":{group:"Pages should not refresh automatically",Pass_0:"Rule Passed",Potential_1:"Verify page is not being caused to refresh automatically"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.2.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:["bisz58","bc659a"],run:function(e,t,i){var l=e.dom.node;if("refresh"!==l.getAttribute("http-equiv").toLowerCase())return null;var n=l.getAttribute("content").toLowerCase();return n.match(/^\d+$/)||n.match(/^\d+;/)?n.match(/^\d+; +[^ ]/)?(0,a.RulePass)("Pass_0"):(0,a.RulePotential)("Potential_1"):null}}},9379:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.meta_viewport_zoomable=void 0;var a=i(4377),l=i(4377);t.meta_viewport_zoomable={id:"meta_viewport_zoomable",context:"dom:meta[name][content]",refactor:{meta_viewport_zoom:{Pass_0:"pass",Potential_1:"potential_zoomable"}},help:{"en-US":{group:"meta_viewport_zoomable.html",pass:"meta_viewport_zoomable.html",potential_zoomable:"meta_viewport_zoomable.html"}},messages:{"en-US":{group:"The 'meta[name=viewport]' should not prevent the browser zooming the content",pass:"The 'meta[name=viewport]' does not prevent the browser zooming the content",potential_zoomable:"Confirm the 'meta[name=viewport]' with \"{0}\" can be zoomed by user"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.4.4"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[{b4f0c3:{Pass_0:"pass",Potential_1:"fail"}}],run:function(e,t,i){var l=e.dom.node;if("viewport"!==l.getAttribute("name").toLowerCase())return null;var n=l.getAttribute("content").toLowerCase();if(!n||""===n.trim()||!n.includes("maximum-scale")&&!n.includes("user-scalable"))return null;for(var r=null,o=null,s="yes",u="2.0",d=0,c=n.split(",");d<c.length;d++){var m=c[d],p=m.trim().split("=");p.length<2||(m.includes("user-scalable")?(r=m,((s=p[1].trim()).startsWith("'")||s.startsWith('"'))&&(s=s.substring(1,s.length-1))):m.includes("maximum-scale")&&(o=m,((u=p[1].trim()).startsWith("'")||u.startsWith('"'))&&(u=u.substring(1,u.length-1).trim())))}var h=Number(s);isNaN(h)||(h>=1||h<=-1)&&(s="yes");var _;return h=Number(u),_=isNaN(h)?"yes"===u?1:.1:h<0?2:h,"yes"!==s?(0,a.RulePotential)("potential_zoomable",[r]):_<2?(0,a.RulePotential)("potential_zoomable",[o]):(0,a.RulePass)("pass")}}},5495:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.noembed_content_exists=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(8656);t.noembed_content_exists={id:"noembed_content_exists",context:"dom:noembed",refactor:{Valerie_Noembed_HasContent:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"noembed_content_exists.html",Potential_1:"noembed_content_exists.html",group:"noembed_content_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Add descriptive text to the <noembed> element",group:"<noembed> elements should contain descriptive text"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_FOUR}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;var o=n.CommonUtil.hasInnerContentHidden(l);return o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RulePotential)("Potential_1")}}},7753:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.object_text_exists=void 0;var a=i(4377),l=i(4377),n=i(8656),r=i(1421);t.object_text_exists={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:"object_text_exists.html",pass:"object_text_exists.html",fail_no_text_alternative:"object_text_exists.html"}},messages:{"en-US":{group:"<object> element must have a text alternative for the content rendered by the object",pass:"<object> element has a text alternative",fail_no_text_alternative:"An <object> element does not have a text alternative"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:"8fc3b6",run:function(e,t,i){var l=e.dom.node;if(n.VisUtil.isNodeHiddenFromAT(l))return null;if(l.hasAttribute("type")&&-1!==l.getAttribute("type").indexOf("text"))return null;if(l.getAttribute("role"))return null;var o=l.getAttribute("data"),s=o&&"string"==typeof o?o.substring(o.lastIndexOf(".")):"";if(".html"===s||".htm"===s)return null;var u=r.AccNameUtil.computeAccessibleName(l);return u&&u.name&&u.name.trim().length>0?(0,a.RulePass)("pass"):(0,a.RuleFail)("fail_no_text_alternative")}}},1252:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.page_title_exists=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(9193);t.page_title_exists={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:"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:{"en-US":{group:"The page should have a title that correctly identifies the subject of the page",Pass_0:"Rule Passed",Fail_1:"Missing <head> element so there can be no <title> element present",Fail_2:"Missing <title> element in <head> element",Fail_3:"The <title> element is empty (no innerHTML)"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[{"2779a5":{Pass_0:"pass",Fail_1:"pass",Fail_2:"fail",Fail_3:"fail"}}],run:function(e,t,i){if(r.AncestorUtil.isFrame(i))return null;for(var l=e.dom.node,o=l.firstChild,s=null;null!=o&&"head"!=o.nodeName.toLowerCase();)o=o.nextSibling;for(var u=l.querySelectorAll("title"),d=0;d<u.length;++d)if(!n.CommonUtil.getAncestor(u[d],["svg"])){s=u[d];break}return null!==o||s?null===s?(0,a.RuleFail)("Fail_2"):null!=s&&n.CommonUtil.getInnerText(s).trim().length>0?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_3"):(0,a.RuleFail)("Fail_1")}}},3576:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.page_title_valid=void 0;var a=i(4377),l=i(4377),n=i(8137);t.page_title_valid={id:"page_title_valid",context:"dom:head dom:title",refactor:{RPT_Title_Valid:{Pass_0:"Pass_0",Potential_2:"Potential_2"}},help:{"en-US":{Pass_0:"page_title_valid.html",Potential_2:"page_title_valid.html",group:"page_title_valid.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_2:"Verify that using the filename as the page <title> value is descriptive",group:"Page <title> should be a descriptive title, rather than a filename"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,r=n.CommonUtil.getInnerText(l).trim(),o=r.toLowerCase();return o.includes(".com")||o.includes(".net")||o.includes(".org")?(0,a.RulePass)("Pass_0",[r]):0===r.length?null:/^\S*\.[a-zA-Z]{1,4}(?!.)|^https?:\/\/\S*/i.test(r)?(0,a.RulePotential)("Potential_2"):(0,a.RulePass)("Pass_0",[r])}}},3617:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.script_focus_blur_review=void 0;var a=i(4377),l=i(4377);t.script_focus_blur_review={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:"script_focus_blur_review.html",Potential_1:"script_focus_blur_review.html",group:"script_focus_blur_review.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify script does not remove focus from content that normally receives focus",group:"Scripting must not remove focus from content that normally receives focus"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1","2.4.7","3.2.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=-1==e.dom.node.getAttribute("onfocus").indexOf(".blur(");return l?(0,a.RulePass)("Pass_0"):l?void 0:(0,a.RulePotential)("Potential_1")}}},6110:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.script_onclick_avoid=void 0;var a=i(4377),l=i(4377),n=i(8137);t.script_onclick_avoid={id:"script_onclick_avoid",context:"dom:*[onclick]",dependencies:["script_onclick_misuse"],refactor:{RPT_Script_OnclickHTML2:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"script_onclick_avoid.html",Potential_1:"script_onclick_avoid.html",group:"script_onclick_avoid.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that 'onclick' events are not used in script to emulate a link",group:"Scripts should not be used to emulate links"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_FOUR}],act:[],run:function(e,t,i){var l=e.dom.node;if(n.CommonUtil.getAncestor(l,"svg"))return(0,a.RulePass)("Pass_0");if(n.CommonUtil.attributeNonEmpty(l,"role"))return(0,a.RulePass)("Pass_0");var r=l.nodeName.toLowerCase(),o="a"==r||"area"==r||"input"==r;return o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RulePotential)("Potential_1")}}},5681:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.script_onclick_misuse=void 0;var a=i(4377),l=i(4377),n=i(8137);t.script_onclick_misuse={id:"script_onclick_misuse",context:"dom:*[onclick]",refactor:{RPT_Script_OnclickHTML1:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"script_onclick_misuse.html",Potential_1:"script_onclick_misuse.html",group:"script_onclick_misuse.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Possible use of a script to emulate a link",group:"Scripts should not be used to emulate links"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,r=n.CommonUtil.attributeNonEmpty(l,"role"),o=l.nodeName.toLowerCase();if(!(r=r||("a"==o||"area"==o)&&n.CommonUtil.attributeNonEmpty(l,"href"))){var s=[".asp",".aspx",".cfm",".cfml",".cgi",".htm",".html",".shtm",".shtml",".php",".pl",".py",".shtm",".shtml",".xhtml","location.href"],u=l.getAttribute("onclick").toLowerCase();r=!0;for(var d=0;r&&d<s.length;++d)r=-1==u.indexOf(s[d])}return r?(0,a.RulePass)("Pass_0"):r?void 0:(0,a.RulePotential)("Potential_1")}}},1922:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.script_select_review=void 0;var a=i(4377),l=i(4377);t.script_select_review={id:"script_select_review",context:"dom:select",refactor:{WCAG20_Select_NoChangeAction:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"script_select_review.html",Potential_1:"script_select_review.html",group:"script_select_review.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that no change of context or action occurs when selection options in this component receive focus",group:"No changes of context should occur when a selection value receives focus"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["3.2.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,n=!l.hasAttribute("onchange")&&!l.hasAttribute("onfocus");return n?(0,a.RulePass)("Pass_0"):n?void 0:(0,a.RulePotential)("Potential_1")}}},7906:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.select_options_grouped=void 0;var a=i(4377),l=i(4377),n=i(8137);t.select_options_grouped={id:"select_options_grouped",context:"dom:select",refactor:{WCAG20_Select_HasOptGroup:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"select_options_grouped.html",Potential_1:"select_options_grouped.html",group:"select_options_grouped.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Group of related options may need <optgroup>",group:"Groups of related options within a selection list should be grouped with <optgroup>"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,r=n.CommonUtil.getChildByTagHidden(l,"optgroup",!1,!0).length>0||n.CommonUtil.getChildByTagHidden(l,"option",!1,!0).length<=10;return r?(0,a.RulePass)("Pass_0"):r?void 0:(0,a.RulePotential)("Potential_1")}}},5451:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.skip_main_described=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(7788),o=i(8656);t.skip_main_described={id:"skip_main_described",context:"dom:body",dependencies:["skip_main_exists"],refactor:{WCAG20_Body_FirstAContainsSkipText_Native_Host_Sematics:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"skip_main_described.html",Potential_1:"skip_main_described.html",group:"skip_main_described.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that if this hyperlink skips content, the description communicates where it links to",group:"The description of a hyperlink used to skip content must communicate where it links to"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l,s={paramSkipText:{value:["skip","jump"],type:"[string]"}},u=e.dom.node,d=u.ownerDocument;if(null===r.CacheUtil.getCache(u,"IBM_hasLandmarks_Implicit",null)&&r.CacheUtil.setCache(u,"IBM_hasLandmarks_Implicit",n.CommonUtil.getElementsByRoleHidden(u.ownerDocument,["application","banner","complementary","contentinfo","form","main","navigation","search"],!0,!0).length>0),!(l=r.CacheUtil.getCache(u,"IBM_hasLandmarks_Implicit",!1))){var c=d.links;if(c&&c.length>0&&o.VisUtil.isNodeVisible(c[0]))for(var m=n.CommonUtil.getInnerText(d.links[0]).toLowerCase(),p=0;!l&&p<s.paramSkipText.value.length;++p)l=-1!=m.indexOf(s.paramSkipText.value[p]);else l=!1}return l?(0,a.RulePass)("Pass_0"):l?void 0:(0,a.RulePotential)("Potential_1")}}},6349:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.skip_main_exists=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(9193),o=i(7788),s=i(8656);t.skip_main_exists={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:"skip_main_exists.html",Fail_1:"skip_main_exists.html",group:"skip_main_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'The page does not provide a way to quickly navigate to the main content (ARIA "main" landmark or a skip link)',group:"Pages must provide a way to skip directly to the main content"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){if(r.AncestorUtil.isPresentationFrame(i))return null;var l,u=e.dom.node,d=u.ownerDocument;if(null===o.CacheUtil.getCache(u,"IBM_hasLandmarks_Implicit",null)&&o.CacheUtil.setCache(u,"IBM_hasLandmarks_Implicit",n.CommonUtil.getElementsByRoleHidden(u.ownerDocument,["application","banner","complementary","contentinfo","form","main","navigation","search"],!0,!0).length>0),!(l=o.CacheUtil.getCache(u,"IBM_hasLandmarks_Implicit",!1))){for(var c=n.CommonUtil.getDocElementsByTag(u,"a"),m=null,p=0;p<c.length;++p)if(c[p].hasAttribute("href")&&s.VisUtil.isNodeVisible(c[p])){m=c[p];break}var h=null;if(null!=m){var _=m.getAttribute("href"),b=_.indexOf("#");-1!=b&&(h=_.substring(b+1))}if(null!=h)for(l=null!=d.getElementById(h),p=0;!l&&p<c.length;++p)!c[p].hasAttribute("href")&&c[p].hasAttribute("name")&&c[p].getAttribute("name")==h&&(l=!0)}return l?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},5393:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.style_background_decorative=void 0;var a=i(4377),l=i(4377),n=i(8137);t.style_background_decorative={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:"style_background_decorative.html",Potential_1:"style_background_decorative.html",group:"style_background_decorative.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify the CSS background image does not convey important information",group:"Images included by using CSS alone must not convey important information"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,r=l.nodeName.toLowerCase(),o=!0;if("link"===r&&l.hasAttribute("rel")&&"stylesheet"===l.getAttribute("rel").toLowerCase()&&(o=n.CommonUtil.triggerOnce(l,"style_background_decorative",!1)),o&&"style"===r||l.hasAttribute("style")){var s=("style"===r?n.CommonUtil.getInnerText(l):l.getAttribute("style")).match(/background:[^;]*/g);if(null!==s)for(var u=0;o&&u<s.length;++u)o=-1===s[u].indexOf("url(")}return o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RulePotential)("Potential_1")}}},9887:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.style_before_after_review=void 0;var a=i(4377),l=i(4377),n=i(1775);t.style_before_after_review={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:"style_before_after_review.html",Pass_0:"style_before_after_review.html",Potential_1:"style_before_after_review.html"}},messages:{"en-US":{group:"Do not use CSS '::before' and '::after' pseudo-elements to insert non-decorative content",Pass_0:"Rule Passed",Potential_1:"Verify the '::before' and '::after' pseudo-elements do not insert non-decorative content"}},rulesets:[{id:[],num:"1.3.1",level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,r=!0;if("style"===l.nodeName.toLowerCase()){for(var o=n.CSSUtil.getCSSStyle(l),s=0;r&&s<o.length;++s)o[s].selector&&(r=-1===o[s].selector.indexOf(":before")&&-1===o[s].selector.indexOf(":after")||!("content"in o[s].values)||0===o[s].values.content.trim().length||'""'===o[s].values.content.trim()||"''"===o[s].values.content.trim()||"none"===o[s].values.content.trim()||"attr(x)"===o[s].values.content.trim()||"attr(y)"===o[s].values.content.trim());if(r)for(var u=0;u<l.ownerDocument.styleSheets.length;u++)if((g=l.ownerDocument.styleSheets[u]).ownerNode===l)try{var d=g.cssRules?g.cssRules:g.rules;if(d)for(var c=0;r&&c<d.length;c++){var m=d[c],p=void 0;if(m.type&&4===m.type){if(v=m.cssRules)for(var h=0;r&&h<v.length;h++)null!==(y=v[h]).selectorText&&void 0!==y.selectorText&&(-1===(k=y.selectorText.toLowerCase()).indexOf(":before")&&-1===k.indexOf(":after")||(C=y.style.content)&&C.trim().length&&'""'!==C.trim()&&"''"!==C.trim()&&"none"!==C.trim()&&"attr(x)"!==C.trim()&&"attr(y)"!==C.trim()&&(r=!1))}else if(m.type&&3===m.type&&(p=m).styleSheet&&(f=p.styleSheet.cssRules?p.styleSheet.cssRules:p.styleSheet.rules))for(h=0;r&&h<f.length;h++){var _=f[h];if(_.type&&4===_.type){if(v=_.cssRules)for(var b=0;b<v.length;b++)null!==(y=v[b]).selectorText&&void 0!==y.selectorText&&(-1===(k=y.selectorText.toLowerCase()).indexOf(":before")&&-1===k.indexOf(":after")||(C=y.style.content)&&C.trim().length&&'""'!==C.trim()&&"''"!==C.trim()&&"none"!==C.trim()&&"attr(x)"!==C.trim()&&"attr(y)"!==C.trim()&&(r=!1))}else null!==_.selectorText&&void 0!==_.selectorText&&(-1===(k=_.selectorText.toLowerCase()).indexOf(":before")&&-1===k.indexOf(":after")||(C=_.style.content)&&C.trim().length&&'""'!==C.trim()&&"''"!==C.trim()&&"none"!==C.trim()&&"attr(x)"!==C.trim()&&"attr(y)"!==C.trim()&&(r=!1))}}}catch(e){}}if("link"===l.nodeName.toLowerCase()&&l.hasAttribute("rel")&&"stylesheet"===l.getAttribute("rel").toLowerCase()&&l.hasAttribute("href")&&0!==l.getAttribute("href").trim().length)for(u=0;u<l.ownerDocument.styleSheets.length;u++){var g;if((g=l.ownerDocument.styleSheets[u])&&g.ownerNode===l)try{var f;if(f=g.cssRules?g.cssRules:g.rules)for(h=0;r&&h<f.length;h++){var v,A=f[h];if(A.type&&4===A.type){if(v=A.cssRules)for(b=0;r&&b<v.length;b++){var y;if(null!==(y=v[b]).selectorText&&void 0!==y.selectorText){var w=y.selectorText.toLowerCase();-1===w.indexOf(":before")&&-1===w.indexOf(":after")||(C=y.style.content)&&C.trim().length&&'""'!==C.trim()&&"''"!==C.trim()&&"none"!==C.trim()&&"attr(x)"!==C.trim()&&"attr(y)"!==C.trim()&&(r=!1)}}}else if(null!==f[h].selectorText&&void 0!==f[h].selectorText){var k,C;-1===(k=f[h].selectorText.toLowerCase()).indexOf(":before")&&-1===k.indexOf(":after")||(C=f[h].style.content)&&C.trim().length&&'""'!==C.trim()&&"''"!==C.trim()&&"none"!==C.trim()&&"attr(x)"!==C.trim()&&"attr(y)"!==C.trim()&&(r=!1)}}}catch(e){}}return r?(0,a.RulePass)("Pass_0"):r?void 0:(0,a.RulePotential)("Potential_1")}}},5102:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.style_color_misuse=void 0;var a=i(8137),l=i(4377),n=i(4377),r=i(7440),o=i(7788);t.style_color_misuse={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:"style_color_misuse.html",Pass_0:"style_color_misuse.html",Potential_1:"style_color_misuse.html"}},messages:{"en-US":{group:"Combine color and descriptive markup to convey information",Pass_0:"Rule Passed",Potential_1:"Verify color is not used as the only visual means of conveying information"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"1.4.1",level:n.eRulePolicy.VIOLATION,toolkitLevel:n.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var n=e.dom.node,s=n.nodeName.toLowerCase(),u="";if("style"===s){u=a.CommonUtil.getInnerText(n).toLowerCase();for(var d=0;d<n.ownerDocument.styleSheets.length;d++)if((g=n.ownerDocument.styleSheets[d])&&g.ownerNode===n)try{for(var c=g.cssRules?g.cssRules:g.rules,m=0;m<c.length;m++){var p=c[m],h=void 0;if(p.type&&3===p.type&&(h=p).styleSheet)for(var _=h.styleSheet.cssRules?h.styleSheet.cssRules:h.styleSheet.rules,b=0;b<_.length;b++)u+=_[b].cssText}}catch(e){}}else if(n.hasAttribute("style"))u=n.getAttribute("style").toLowerCase();else if("link"===s&&n.hasAttribute("rel")&&"stylesheet"===n.getAttribute("rel").toLowerCase()&&n.hasAttribute("href")&&0!==n.getAttribute("href").trim().length)for(d=0;d<n.ownerDocument.styleSheets.length;d++){var g;if((g=n.ownerDocument.styleSheets[d])&&g.ownerNode===n)try{var f=g.cssRules?g.cssRules:g.rules;for(b=0;b<f.length;b++)u+=f[b].cssText}catch(e){}}var v=!0,A=u.match(/\bbackground\b/i),y=u.replace(/-color/g,"").match(/\bcolor\b/i);if(n.hasAttribute("color")||y||A){var w={em:"",strong:"",cite:"",dfn:"",code:"",samp:"",kbd:"",var:"",abbr:"",acronym:""};if(!(v=s in w||null!==a.CommonUtil.getAncestor(n,w))&&n.hasChildNodes())for(var k=new r.DOMWalker(n);!v&&k.nextNode()&&k.node!==n;)v=k.node.nodeName.toLowerCase()in w}return v||(v=o.CacheUtil.getCache(n.ownerDocument,"style_color_misuse",!1),o.CacheUtil.setCache(n.ownerDocument,"style_color_misuse",!0)),v?(0,l.RulePass)("Pass_0"):v?void 0:(0,l.RulePotential)("Potential_1")}}},9977:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.style_focus_visible=void 0;var a=i(8137),l=i(4377),n=i(4377),r=i(1775),o=i(8680);t.style_focus_visible={id:"style_focus_visible",context:"dom:*",refactor:{RPT_Style_HinderFocus1:{Potential_1:"potential_focus_not_visible"}},help:{"en-US":{group:"style_focus_visible.html",potential_focus_not_visible:"style_focus_visible.html",pass_focus_visible:"style_focus_visible.html"}},messages:{"en-US":{group:"The keyboard focus indicator should be visible when default border or outline is modified by CSS",potential_focus_not_visible:"Check the keyboard focus indicator is visible when using CSS declaration for 'border' or 'outline'",pass_focus_visible:"The keyboard focus indicator is visible or is not changed from the browser default"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"2.4.7",level:n.eRulePolicy.VIOLATION,toolkitLevel:n.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var n={skipNodes:{value:["table"],type:"[string]"},checkParams:{value:["border","border-width","border-style","border-top-width","border-right-width","border-bottom-width","border-left-width","border-top-color","border-right-color","border-bottom-color","border-left-color","border-top-style","border-right-style","border-bottom-style","border-left-style","outline","outline-width","outline-color","outline-style"],type:"[string]"}},s=e.dom.node;if(!a.CommonUtil.isTabbable(s)||n.skipNodes.value.includes(s.nodeName.toLowerCase()))return null;var u=r.CSSUtil.getDefinedStyles(s),d=[];d.push(r.CSSUtil.getDefinedStyles(s,":focus")),d.push(r.CSSUtil.getDefinedStyles(s,":focus-visible")),d.push(r.CSSUtil.getDefinedStyles(s,":focus-within"));var c=d[0];if(Object.keys(c).length>0){if(!((u["outline-width"]||u["outline-style"])&&"0px"!==u["outline-width"]&&"none"!==u["outline-style"]||c["outline-style"]&&"none"===c["outline-style"]))return(0,l.RulePass)("pass_focus_visible");var m=!1,p=0;for(var h in c)if(n.checkParams.value.includes(h)){var _=c[h],b=u[h];if(h.includes("style")){if(m="none"===_,b&&"none"!==_&&_===b)return(0,l.RulePotential)("potential_focus_not_visible")}else if(h.includes("width")){if(p++,"initial"===_?_="2px":"thin"===_?_="1px":"medium"===_?_="2px":"thick"===_&&(_="3px"),b&&("initial"===b?b="2px":"thin"===b?b="1px":"medium"===b?b="2px":"thick"===b&&(b="3px")),_=r.CSSUtil.getPixelsFromStyle(_,s),b=r.CSSUtil.getPixelsFromStyle(b,s),0==_||_<=b)return(0,l.RulePotential)("potential_focus_not_visible")}else if(h.includes("color")){p++;var g=o.ColorUtil.ColorCombo(s);if(null===g)continue;var f=g.bg;if(!f)continue;if("initial"===_&&(_="black"),b&&"initial"===b&&(b="black"),_=o.ColorUtil.Color(_),b=o.ColorUtil.Color(b),null===_||null===b)continue;var v=_.contrastRatio(f),A=b.contrastRatio(f);if(v<3||v<=A)return(0,l.RulePotential)("potential_focus_not_visible")}else if(p++,null!=b&&_===b)return(0,l.RulePotential)("potential_focus_not_visible")}if(m&&0===p)return(0,l.RulePotential)("potential_focus_not_visible")}else for(var y in u)if(n.checkParams.value.includes(y)&&"none"!==(b=u[y]))return(0,l.RulePotential)("potential_focus_not_visible");return(0,l.RulePass)("pass_focus_visible")}}},8454:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.style_highcontrast_visible=void 0;var a=i(4377),l=i(4377),n=i(7788);t.style_highcontrast_visible={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:"style_highcontrast_visible.html",Manual_1:"style_highcontrast_visible.html",group:"style_highcontrast_visible.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Manual_1:"Confirm Windows high contrast mode is supported when using CSS to include, position or alter non-decorative content",group:"Windows high contrast mode must be supported when using CSS to include, position or alter non-decorative content"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next"],num:["1.1.1","1.3.2","1.4.11"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE},{id:["WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1","1.3.2","1.4.11"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,r=l.nodeName.toLowerCase();if("link"===r&&(!l.hasAttribute("rel")||"stylesheet"!==l.getAttribute("rel").toLowerCase()))return(0,a.RulePass)("Pass_0");if("style"!==r&&"link"!==r&&l.hasAttribute("style")&&0===l.getAttribute("style").trim().length)return(0,a.RulePass)("Pass_0");var o=n.CacheUtil.getCache(l.ownerDocument,"style_highcontrast_visible",!1);return n.CacheUtil.setCache(l.ownerDocument,"style_highcontrast_visible",!0),o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RuleManual)("Manual_1")}}},25:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.style_hover_persistent=void 0;var a=i(4377),l=i(4377),n=i(8137);t.style_hover_persistent={id:"style_hover_persistent",context:"dom:style, dom:*[style], dom:*",help:{"en-US":{Pass_0:"style_hover_persistent.html",Pass_2:"style_hover_persistent.html",Potential_1:"style_hover_persistent.html",Potential_2:"style_hover_persistent.html",Potential_3:"style_hover_persistent.html",group:"style_hover_persistent.html"}},messages:{"en-US":{Pass_0:"the hover: pseudo-class is not used to display content",Pass_2:"content displayed via the :hover pseudo-class is the adjacent sibling of the trigger element",Potential_1:"Confirm the pointer can be positioned over the displayed element, not just the trigger",Potential_2:"Confirm the pointer can be positioned over all the information displayed on hover",Potential_3:"Confirm the margin style attribute has not prevented the pointer from hovering over the displayed element, not just the trigger",group:"The pointer should be able to move over content displayed on hover"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_2"],num:["1.4.13"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=!1,r=!1,o=!1,s=e.dom.node;if("style"===s.nodeName.toLowerCase()){n.CommonUtil.getInnerText(s).toLowerCase();for(var u=0;u<s.ownerDocument.styleSheets.length;++u){var d=s.ownerDocument.styleSheets[u];if(d&&d.ownerNode===s)try{for(var c=d.cssRules?d.cssRules:d.rules,m=0;m<c.length;m++){var p="",h=!1,_=!1,b="",g=!1,f=!1,v=!1,A=(c[m],c[m].cssText);if(A.match(/:hover/g)){p=A.split(":")[0];var y=A.substring(A.indexOf("+")+1);if(y=y.trim(),(A.match(/:hover \+/g)||A.match(/:hover\+/g))&&(h=!0,b=y.split(" ")[0]),A.match(/:hover \~/g)||A.match(/:hover\~/g)){_=!0;var w=A.substring(A.indexOf("~")+1);b=(w=w.trim()).split(" ")[0]}if(!h&&!_)return(0,a.RulePass)("Pass_0");if(b&&(I=y.indexOf("display:"))&&"none;"!==y.slice(I+8).trim().split(" ")[0]&&d&&d.ownerNode===s)try{for(var k=d.cssRules?d.cssRules:d.rules,C=0;C<k.length;C++){var x=c[C].cssText,P=b+" {",R=x.trim(),T=R.indexOf(P);if(R.slice(T).trim(),R.match(/margin/g)){if(!o)return o=!0,(0,a.RulePotential)("Potential_3")}else{var U=x.split(":")[0];if((U=U.split(" ")[0])===b&&x.match(/:hover/g)){var I;if(g=!0,I=x.indexOf("display:"))if(f=!0,"none;"!==y.slice(I+8).trim().split(" ")[0]){if(v=!0,""!==p&&h){var L=s.ownerDocument.getElementsByTagName(p.toUpperCase());if(b.toUpperCase()===L[0].nextElementSibling.tagName){l=!0;continue}}else if(h){if(!r){r=!0;break}continue}if(""!==p&&_){L=s.ownerDocument.getElementsByTagName(p.toUpperCase());var E=[],W=L[0].nextElementSibling;do{if(W.tagName!==b.toUpperCase())break;E.push(W)}while(W=W.nextElementSibling);var q=E.length;if(1===q)return(0,a.RulePass)("Pass_2");if(q>1)return(0,a.RulePotential)("Potential_2")}}else{if(h){if(C===k.length-1&&!1===v)return(0,a.RulePotential)("Potential_1");continue}if(_){if(C===k.length-1&&!1===v)return(0,a.RulePotential)("Potential_1");continue}}else{if(h){if(C===k.length-1&&!1===f)return(0,a.RulePotential)("Potential_1");continue}if(_){if(C===k.length-1&&!1===f)return(0,a.RulePotential)("Potential_1");continue}}}else{if(h){if(C===k.length-1&&!1===g)return(0,a.RulePotential)("Potential_1");continue}if(_){if(C===k.length-1&&!1===g)return(0,a.RulePotential)("Potential_2");continue}}}}}catch(e){}}}}catch(e){}}}return l?(0,a.RulePass)("Pass_0"):r?(0,a.RulePotential)("Potential_1"):o?(0,a.RulePotential)("Potential_3"):void 0}}},2884:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.style_viewport_resizable=void 0;var a=i(4377),l=i(4377);t.style_viewport_resizable={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:"style_viewport_resizable.html",Pass_0:"style_viewport_resizable.html",Potential_1:"style_viewport_resizable.html"}},messages:{"en-US":{group:"Text must scale up to 200% without loss of content or functionality",Pass_0:"Rule Passed",Potential_1:"Verify that text sized using viewport units can be resized up to 200%"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:["1.4.4","1.4.10"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,n=!0,r=/\d+(vw|vh|vmin|vmax)/gi,o=l.nodeName.toLowerCase();if("style"===o){for(var s=0;s<l.ownerDocument.styleSheets.length;s++)if((g=l.ownerDocument.styleSheets[s]).ownerNode===l)try{var u=g.cssRules?g.cssRules:g.rules;if(u)for(var d=0;n&&d<u.length;d++){var c=u[d];if(c.type&&1===c.type){var m=c;if(m.style.fontSize){var p=(v=m.style.fontSize.trim()).match(r);v.length&&p&&(n=!1)}}else if(c.type&&3===c.type&&c.styleSheet){var h=c;if(f=h.styleSheet.cssRules?h.styleSheet.cssRules:h.styleSheet.rules)for(var _=0;n&&_<f.length;_++){var b=f[_];b.type&&1===b.type&&b.style.fontSize&&(p=(v=b.style.fontSize.trim()).match(r),v.length&&p&&(n=!1))}}}}catch(e){}}else if("link"===o)for(s=0;s<l.ownerDocument.styleSheets.length;s++){var g;if((g=l.ownerDocument.styleSheets[s])&&g.ownerNode===l)try{var f;if(f=g.cssRules?g.cssRules:g.rules)for(_=0;n&&_<f.length;_++){var v,A=f[_];if(A.type&&1===A.type&&A.style.fontSize)p=(v=A.style.fontSize.trim()).match(r),v.length&&p&&(n=!1)}}catch(e){}}else{var y=l.getAttribute("style");y&&(p=y.match(/font-size:\s*\d+(vw|vh|vmin|vmax)/gi))&&(n=!1)}return n?(0,a.RulePass)("Pass_0"):(0,a.RulePotential)("Potential_1")}}},5390:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.svg_graphics_labelled=void 0;var a=i(4377),l=i(4377),n=i(1421),r=i(8656);t.svg_graphics_labelled={id:"svg_graphics_labelled",context:"dom:svg",help:{"en-US":{group:"svg_graphics_labelled.html",pass:"svg_graphics_labelled.html",fail_acc_name:"svg_graphics_labelled.html"}},messages:{"en-US":{group:"A non-decorative SVG element must have an accessible name",pass:"The SVG element has an accessible name",fail_acc_name:"The SVG element has no accessible name"}},rulesets:[{id:["IBM_Accessibility","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[{"7d6734":{pass:"pass",fail_acc_name:"fail"}}],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l)||r.VisUtil.isNodePresentational(l))return null;var o=n.AccNameUtil.computeAccessibleName(l);return o&&o.name&&o.name.trim().length>0?(0,a.RulePass)("pass"):(0,a.RuleFail)("fail_acc_name")}}},7196:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.table_aria_descendants=void 0;var a=i(4377),l=i(4377),n=i(8137);t.table_aria_descendants={id:"table_aria_descendants",context:"aria:table dom:tr[role], aria:table dom:th[role], aria:table dom:td[role], aria:grid dom:tr[role], aria:grid dom:th[role], aria:grid dom:td[role], aria:treegrid dom:tr[role], aria:treegrid dom:th[role], aria:treegrid dom:td[role]",help:{"en-US":{group:"table_aria_descendants.html",explicit_role:"table_aria_descendants.html"}},messages:{"en-US":{group:"Table structure elements cannot specify an explicit 'role' within table containers",explicit_role:"An explicit ARIA 'role' is not valid for <{0}> element within an ARIA role '{1}' per the ARIA in HTML specification"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){e.dom.node;var l=n.CommonUtil.isTableDescendant(i);if(null!==l&&0!==l.length)return(0,a.RuleFail)("explicit_role",[e.dom.node.nodeName.toLowerCase(),l[0].role])}}},9965:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.table_caption_empty=void 0;var a=i(4377),l=i(4377),n=i(8137);t.table_caption_empty={id:"table_caption_empty",context:"dom:caption",refactor:{Valerie_Caption_HasContent:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"table_caption_empty.html",Fail_1:"table_caption_empty.html",group:"table_caption_empty.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"The <table> element has an empty <caption> element",group:"A <caption> element for a <table> element must contain descriptive text"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;return n.CommonUtil.hasInnerContentHidden(l)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},4468:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.table_caption_nested=void 0;var a=i(4377),l=i(4377),n=i(8137);t.table_caption_nested={id:"table_caption_nested",context:"dom:caption",refactor:{Valerie_Caption_InTable:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"table_caption_nested.html",Fail_1:"table_caption_nested.html",group:"table_caption_nested.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"<caption> element is not nested inside a <table> element",group:"The <caption> element must be nested inside the associated <table> element"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;return null!=n.CommonUtil.getAncestor(l,"table")?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},4451:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.table_headers_exists=void 0;var a=i(4377),l=i(4377),n=i(5755);t.table_headers_exists={id:"table_headers_exists",context:"dom:table",refactor:{RPT_Table_DataHeadingsAria:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"table_headers_exists.html",Fail_1:"table_headers_exists.html",group:"table_headers_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Table has no headers identified",group:"Data table must identify headers"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,r=l.rows;if(!n.TableUtil.isDataTable(l)||null===r||0===r.length)return null;var o=n.TableUtil.tableHeaderExists(l);return null!==o?o?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1"):void 0}}},6087:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.table_headers_ref_valid=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(295),s=i(8656),u=i(4944);t.table_headers_ref_valid={id:"table_headers_ref_valid",context:"dom:td[headers], dom:th[headers]",help:{"en-US":{Pass_0:"table_headers_ref_valid.html",Fail_1:"table_headers_ref_valid.html",Fail_2:"table_headers_ref_valid.html",Fail_3:"table_headers_ref_valid.html",Fail_4:"table_headers_ref_valid.html",group:"table_headers_ref_valid.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"The 'headers' attribute value \"{0}\" does not reference a valid 'id' in this document",Fail_2:"The 'headers' attribute value \"{0}\" refers to itself",Fail_3:"The 'headers' attribute value \"{0}\" does not refer to a cell in the same table",Fail_4:'The \'headers\' attribute value "{0}" does not refer to a cell indicated with <th> or a role of "columnheader" or "rowheader"',group:"The 'headers' attribute should refer to a valid cell in the same table"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:["a25f45"],run:function(e,t,i){var l=e.dom.node,d=r.CommonUtil.getAncestor(l,"table"),c=u.ARIAMapper.nodeToRole(d);if(null==d||!s.VisUtil.isNodeVisible(d)||!["table","grid"].includes(c))return null;l.nodeName.toLowerCase();var m=l.ownerDocument,p=l.getAttribute("headers");if(!p)return null;for(var h=p.split(" "),_=[],b=[],g=[],f=[],v=0;v<h.length;v++){var A=h[v];if(""!==A.trim()){var y=m.getElementById(A);if(y)if(o.DOMUtil.sameNode(y,l))b.push(A);else if(o.DOMUtil.isInSameTable(y,l)){if("th"!==y.nodeName.toLowerCase()){var w=n.AriaUtil.getRoles(y,!0);w.includes("columnheader")||w.includes("rowheader")||f.push(A)}}else g.push(A);else _.push(A)}}var k=[];return 0!=_.length&&k.push((0,a.RuleFail)("Fail_1",[_.toString()])),0!=b.length&&k.push((0,a.RuleFail)("Fail_2",[b.toString()])),0!=g.length&&k.push((0,a.RuleFail)("Fail_3",[g.toString()])),0!=f.length&&k.push((0,a.RuleFail)("Fail_4",[f.toString()])),0==k.length?(0,a.RulePass)("Pass_0"):k}}},5864:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.table_headers_related=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(7788),o=i(5755);t.table_headers_related={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:"table_headers_related.html",Fail_1:"table_headers_related.html",group:"table_headers_related.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Complex table does not have headers for each cell properly defined with 'header' or 'scope'",group:"For a complex data table, all <th> and <td> elements must be related via 'header' or 'scope' attributes"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node,s=n.CommonUtil.getAncestor(l,"table");if(null==s||!o.TableUtil.isComplexDataTable(s))return null;if(null===r.CacheUtil.getCache(l,"table_headers_related",null)){for(var u=[],d=0;d<s.rows.length;++d){var c=s.rows[d];u[d]||(u[d]=[]);for(var m=0;m<c.cells.length;++m){var p=c.cells[m];r.CacheUtil.setCache(p,"table_headers_related",d+":"+m);var h=parseInt(p.getAttribute("colspan"));h||(h=1);var _=parseInt(p.getAttribute("rowspan"));_||(_=1);for(var b=0;u[d][b];)b+=1;for(var g=0;g<_;++g){u[d+g]||(u[d+g]=[]);for(var f=0;f<h;++f)u[d+g][b+f]=p}}}var v=l.ownerDocument,A={},y={};for(d=0;d<u.length;++d){var w=!1;for(m=0;m<u[d].length;++m){var k=u[d][m],C=k.nodeName.toLowerCase();if("th"==C){if("row"==k.getAttribute("scope")?(w=!0,n.CommonUtil.attributeNonEmpty(k,"axis")||(A[r.CacheUtil.getCache(k,"table_headers_related",null)]=!0)):"col"==k.getAttribute("scope")&&(y[m]=!0,n.CommonUtil.attributeNonEmpty(k,"axis")||(A[r.CacheUtil.getCache(k,"table_headers_related",null)]=!0)),n.CommonUtil.attributeNonEmpty(k,"headers")){var x=k.getAttribute("headers").split(" ");for(g=0;g<x.length;++g)(P=v.getElementById(x[g].trim()))&&n.CommonUtil.getAncestor(P,"table")==s&&(A[r.CacheUtil.getCache(P,"table_headers_related",null)]=!0)}}else if("td"==C)if(w||y[m])A[r.CacheUtil.getCache(k,"table_headers_related",null)]=!0;else if(n.CommonUtil.attributeNonEmpty(k,"headers"))for(x=k.getAttribute("headers").split(" "),g=0;g<x.length;++g){var P;(P=v.getElementById(x[g].trim()))&&n.CommonUtil.getAncestor(P,"table")==s&&(A[r.CacheUtil.getCache(k,"table_headers_related",null)]=!0,A[r.CacheUtil.getCache(P,"table_headers_related",null)]=!0)}}}r.CacheUtil.setCache(s,"table_headers_related",A)}var R=r.CacheUtil.getCache(l,"table_headers_related",null),T=r.CacheUtil.getCache(s,"table_headers_related",null),U=R&&T&&R in T;return U||"0:0"!==R||0!=n.CommonUtil.getInnerText(l).trim().length?(U||0!=s.getElementsByTagName("th").length||(!0===r.CacheUtil.getCache(s,"table_headers_related_TrigOnce",!1)?U=!0:r.CacheUtil.setCache(s,"table_headers_related_TrigOnce",!0)),U?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")):null}}},4066:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.table_layout_linearized=void 0;var a=i(4377),l=i(4377),n=i(8656),r=i(5755);t.table_layout_linearized={id:"table_layout_linearized",context:"dom:table",refactor:{RPT_Table_LayoutTrigger:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"table_layout_linearized.html",Potential_1:"table_layout_linearized.html",group:"table_layout_linearized.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify table is not being used to format text content in columns unless the table can be linearized",group:"Avoid using tables to format text documents in columns unless the table can be linearized"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_FOUR}],act:[],run:function(e,t,i){var l=e.dom.node;if(n.VisUtil.isNodeHiddenFromAT(l))return null;var o=!r.TableUtil.isLayoutTable(l);return o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RulePotential)("Potential_1")}}},2841:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.table_scope_valid=void 0;var a=i(4377),l=i(4377);t.table_scope_valid={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:"table_scope_valid.html",Fail_1:"table_scope_valid.html",Fail_2:"table_scope_valid.html",group:"table_scope_valid.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Value provided is invalid for the 'scope' attribute",Fail_2:"The 'scope' attribute should only be used on a <th> element",group:'Value for \'scope\' attribute must be "row", "col", "rowgroup", or "colgroup"'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node;if("td"===l.nodeName.toLowerCase())return(0,a.RuleFail)("Fail_2");var n=l.getAttribute("scope").trim().toLowerCase();return/^(row|col|rowgroup|colgroup)$/.test(n)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},272:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.table_structure_misuse=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(8656),s=i(5755);t.table_structure_misuse={id:"table_structure_misuse",context:"dom:table",refactor:{WCAG20_Table_Structure:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"table_structure_misuse.html",Fail_1:"table_structure_misuse.html",group:"table_structure_misuse.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'The <{0}> element with "presentation" role or "none" role has structural element(s) and/or attribute(s) \'{1}\'',group:'Table elements with \'role="presentation" or \'role="none" should not have structural elements or attributes'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node;if(o.VisUtil.isNodeHiddenFromAT(l))return null;if(s.TableUtil.isDataTable(l))return null;if(n.AriaUtil.isNodeInGrid(l))return null;var u=[];r.CommonUtil.attributeNonEmpty(l,"summary")&&u.push(l);for(var d=l.getElementsByTagName("caption"),c=0;c<d.length;++c)if(r.CommonUtil.getAncestor(d[c],"table")==l){if(r.CommonUtil.shouldNodeBeSkippedHidden(d[c]))continue;u.push(d[c]);break}var m=l.getElementsByTagName("th");for(c=0;c<m.length;++c)if(r.CommonUtil.getAncestor(m[c],"table")==l){if(r.CommonUtil.shouldNodeBeSkippedHidden(m[c]))continue;u.push(m[c]);break}var p=l.getElementsByTagName("td");for(c=0;c<p.length;++c)if((p[c].hasAttribute("scope")||p[c].hasAttribute("headers"))&&r.CommonUtil.getAncestor(p[c],"table")==l){if(r.CommonUtil.shouldNodeBeSkippedHidden(p[c]))continue;u.push(p[c]);break}var h=l.nodeName.toLowerCase(),_=new Array,b={};for(c=0;c<u.length;c++){var g=u[c].nodeName.toLowerCase();b.hasOwnProperty(g)||("table"!=g||b.hasOwnProperty.summary?(b[g]=!0,_.push(g)):(b.summary=!0,_.push("summary")))}var f=_.join(", ");return 0==u.length?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[h,f])}}},1348:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.table_summary_redundant=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(482),o=i(295);t.table_summary_redundant={id:"table_summary_redundant",context:"dom:table",refactor:{WCAG20_Table_CapSummRedundant:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"table_summary_redundant.html",Fail_1:"table_summary_redundant.html",group:"table_summary_redundant.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"The table summary duplicates the caption",group:"The table summary must not duplicate the caption"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l,s=e.dom.node;if(s.hasAttribute("summary"))l=s.getAttribute("summary").trim().toLowerCase();else if(s.hasAttribute("aria-describedby")){for(var u=s.getAttribute("aria-describedby").split(" "),d="",c=0;c<u.length;c++){var m=u[c];if(m){var p=r.FragmentUtil.getById(s,m);p&&!o.DOMUtil.sameNode(p,s)&&(d+=" "+n.CommonUtil.getInnerText(p).trim().toLowerCase())}}l=d}if(!l)return null;var h=s.getElementsByTagName("caption");if(0===h.length)return null;if(l.length>0){var _=n.CommonUtil.getInnerText(h[0]).trim().toLowerCase();return l.includes(_)?(0,a.RuleFail)("Fail_1"):(0,a.RulePass)("Pass_0")}}}},6215:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.target_spacing_sufficient=void 0;var a=i(8137),l=i(4377),n=i(4377),r=i(5697),o=i(1775);t.target_spacing_sufficient={id:"target_spacing_sufficient",context:"dom:*",dependencies:[],help:{"en-US":{group:"target_spacing_sufficient.html",pass_spacing:"target_spacing_sufficient.html",pass_sized:"target_spacing_sufficient.html",pass_inline:"target_spacing_sufficient.html",pass_default:"target_spacing_sufficient.html",violation_spacing:"target_spacing_sufficient.html",recommendation_inline:"target_spacing_sufficient.html",potential_overlap:"target_spacing_sufficient.html"}},messages:{"en-US":{group:"The target must be sufficiently sized or spaced from other targets",pass_spacing:"The target's spacing from other targets is sufficient",pass_sized:"The target’s size is more than 24 CSS pixels",pass_inline:"The target is in a sentence or its size is otherwise constrained by the line-height of non-target text",pass_default:"The target's size is determined by the user agent and is not modified by the author",violation_spacing:'Undersized target "{0}" does not have sufficient spacing of 12 CSS pixels from another target "{1}"',recommendation_inline:'Confirm the inline target "{0}" is sufficiently spaced from another inline target "{1}"',potential_overlap:'Ensure the overlapped target "{0}" meets a minimum target size or has sufficient spacing from the overlapping target "{1}"'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_2"],num:["2.5.8"],level:n.eRulePolicy.VIOLATION,toolkitLevel:n.eToolkitLevel.LEVEL_THREE,reasonCodes:["pass_spacing","pass_sized","pass_inline","pass_default","violation_spacing","potential_overlap"]},{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_2"],num:["2.5.8"],level:n.eRulePolicy.RECOMMENDATION,toolkitLevel:n.eToolkitLevel.LEVEL_THREE,reasonCodes:["recommendation_inline"]}],act:[],run:function(e,t,i){var n=e.dom.node,s=n.nodeName.toLocaleLowerCase(),u=new r.DOMMapper,d=u.getUnadjustedBounds(n);if(!d)return null;if(!a.CommonUtil.isTarget(n))return null;if(d.height>=24&&d.width>=24)return(0,l.RulePass)("pass_sized");var c=o.CSSUtil.getInlineStatus(n);if(null===c)return null;if(c.inline)return c.text?null===c.violation?(0,l.RulePass)("pass_inline"):(0,l.RulePotential)("recommendation_inline",[s,c.violation]):null===c.violation?(0,l.RulePass)("pass_default"):(0,l.RulePotential)("recommendation_inline",[s,c.violation]);if(o.CSSUtil.isTargetBrowserDefault(n))return(0,l.RulePass)("pass_default");var m=n.ownerDocument;if(!m)return null;var p=getComputedStyle(n);if(null===p)return null;var h=p.zIndex;h&&!isNaN(Number(h))||(h="0");var _=m.querySelectorAll("body *:not(script):not(style)");if(_&&0!==_.length){for(var b,g=!0,f=24,v=24,A=null,y=null,w=[],k=function(e){var t=_[e];if(n.contains(t))return g=!1,"continue";if(t.contains(n)||!a.CommonUtil.isTarget(t)||w.some((function(e){return e.contains(t)})))return"continue";var i=u.getUnadjustedBounds(t);if(!i)return"continue";var r="0";if((b=getComputedStyle(t))&&((r=b.zIndex)&&!isNaN(Number(r))||(r="0")),i.top<=d.top&&i.left<=d.left&&i.top+i.height>=d.top+d.height&&i.left+i.width>=d.left+d.width)return(g?parseInt(h)<parseInt(r):parseInt(h)<=parseInt(r))?{value:null}:{value:(0,l.RulePotential)("potential_overlap",[s,t.nodeName.toLowerCase()])};if(d.top<=i.top&&d.left<=i.left&&d.top+d.height>=i.top+i.height&&d.left+d.width>=i.left+i.width)return(g?parseInt(h)<parseInt(r):parseInt(h)<=parseInt(r))?{value:(0,l.RulePotential)("potential_overlap",[s,t.nodeName.toLowerCase()])}:{value:(0,l.RuleFail)("violation_spacing",[s,t.nodeName.toLowerCase()])};if((d.top>=i.top&&d.top<=i.top+i.height||d.top+d.height<=i.top&&d.top+d.height>=i.top+i.height)&&(d.left>i.left&&d.left<i.left+i.width||i.left>d.left&&i.left<d.left+d.width)||(d.top>i.top&&d.top<i.top+i.height||i.top>d.top&&i.top<d.top+d.height)&&(d.left>=i.left&&d.left<=i.left+i.width||d.left+d.width>=i.left&&d.left+d.width<=i.left+i.width))return{value:(0,l.RulePotential)("potential_overlap",[s,t.nodeName.toLowerCase()])};var o=24,c=24;d.width<24&&(d.top>=i.top&&d.top<=i.top+i.height||d.top<=i.top&&d.top+d.height>i.top)&&(o=Math.min(Math.abs(d.left-i.left),Math.abs(d.left-(i.left+i.width)),Math.abs(d.left+d.width-(i.left+i.width)),Math.abs(d.left+d.width-i.left))),d.height<24&&(d.left>=i.left&&d.left<=i.left+i.width||d.left<=i.left&&d.left+d.width>i.left)&&(c=Math.min(Math.abs(d.top-i.top),Math.abs(d.top-(i.top+i.height)),Math.abs(d.top+d.height-(i.top+i.height)),Math.abs(d.top+d.height-i.top))),o<f&&(f=o,A=t),c<v&&(v=c,y=t),w.push(t)},C=0;C<_.length;C++){var x=k(C);if("object"==typeof x)return x.value}return Math.round(d.width/2)+f<12||Math.round(d.height/2)+v<12?Math.round(d.width/2)+f<Math.round(d.height/2)+v?(0,l.RuleFail)("violation_spacing",[s,A.nodeName.toLowerCase()]):(0,l.RuleFail)("violation_spacing",[s,y.nodeName.toLowerCase()]):(0,l.RulePass)("pass_spacing")}}}},5275:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.text_block_heading=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(7440),s=i(1775),u=i(8656);t.text_block_heading={id:"text_block_heading",context:"dom:p, dom:div, dom:br",refactor:{RPT_Block_ShouldBeHeading:{Potential_1:"potential_heading"}},help:{"en-US":{potential_heading:"text_block_heading.html",group:"text_block_heading.html"}},messages:{"en-US":{potential_heading:"Confirm this text '{0}' is used as a heading and if so, modify to use a heading element or role",group:"Heading text should use a heading element or role"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.CommonUtil.isNodeDisabled(l)||!u.VisUtil.isNodeVisible(l))return null;if(null===r.CommonUtil.getAncestor(l,["body"])||null!==r.CommonUtil.getAncestor(l,["script"]))return null;var d=0,c=l.ownerDocument.getElementsByTagName("body");if(null!=c){var m=getComputedStyle(c[0]);m&&(d=s.CSSUtil.getPixelsFromStyle(m["font-size"],c))}var p=0,h=[],_=new o.DOMWalker(l);_.nextNode();for(var b=!1;!b&&_.nextNode()&&_.node!==l&&_.node!==o.DOMWalker.parentNode(l)&&!["br","div","p"].includes(_.node.nodeName.toLowerCase());)if(_.node!==l&&!r.CommonUtil.shouldNodeBeSkippedHidden(_.node)){var g=_.node.nodeName.toLowerCase();if(3===_.node.nodeType){if(_.node.nodeValue.trim().length>0&&_.node.parentElement){var f=getComputedStyle(_.node.parentElement);if(f&&("bold"===f["font-weight"]||f["font-weight"]>=700||f["font-size"]&&f["font-size"].includes("large")||f["font-size"]&&0!==d&&s.CSSUtil.getPixelsFromStyle(f["font-size"],_.node.parentElement)>d)){var v=_.node.nodeValue.trim();(A=r.CommonUtil.wordCount(v))>0&&(h.push(v),p+=A),b=p>10,_.bEndTag=!0}else b=!0}}else if(1===_.node.nodeType)if("b"===g||"strong"===g||"u"===g||"font"===g){var A;v=r.CommonUtil.getInnerText(_.node),(A=r.CommonUtil.wordCount(v))>0&&(h.push(v),p+=A),b=p>10,_.bEndTag=!0}else{var y=n.AriaUtil.getResolvedRole(_.node);b=null!==y&&"generic"!==y&&"paragraph"!==y&&"strong"!==y||"applet"===g}}return 0==p&&(b=!0),b||(b=/[:,;\-\.]$/.test(h.join(" ").trim())),b?null:(0,a.RulePotential)("potential_heading",[h.join(" ")])}}},7900:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.text_contrast_sufficient=void 0;var a=i(8137),l=i(8656),n=i(8680),r=i(4377),o=i(4377),s=i(1775);t.text_contrast_sufficient={id:"text_contrast_sufficient",context:"dom:*",refactor:{IBMA_Color_Contrast_WCAG2AA:{Pass_0:"pass",Fail_1:"fail_contrast",Potential_1:"potential_same_color"},IBMA_Color_Contrast_WCAG2AA_PV:{pass_0:"pass",potential_1:"potential_graphic_background"}},help:{"en-US":{group:"text_contrast_sufficient.html",pass:"text_contrast_sufficient.html",fail_contrast:"text_contrast_sufficient.html",potential_same_color:"text_contrast_sufficient.html",potential_graphic_background:"text_contrast_sufficient.html",potential_text_shadow:"text_contrast_sufficient.html"}},messages:{"en-US":{group:"The contrast ratio of text with its background must meet WCAG AA requirements",pass:"The contrast ratio of text with its background meets WCAG AA requirements",fail_contrast:"Text contrast of {0} with its background is less than the WCAG AA minimum requirements for text of size {1}px and weight of {2}",potential_same_color:"The foreground text and its background color are both detected as {3}. Verify the text meets the WCAG AA requirements for minimum contrast",potential_graphic_background:"Verify the contrast ratio of the text against the lightest and the darkest colors of the background meets the WCAG AA minimum requirements for text of size {1}px and weight of {2}",potential_text_shadow:"Verify the contrast ratio of the text with shadow meets the WCAG AA minimum requirements for text of size {1}px and weight of {2}"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"1.4.3",level:o.eRulePolicy.VIOLATION,toolkitLevel:o.eToolkitLevel.LEVEL_ONE}],act:["afw4f7"],run:function(e,t,i){var o=e.dom.node,u=o.nodeName.toLowerCase();if(!l.VisUtil.isNodeVisible(o)||null!=l.VisUtil.hiddenByDefaultElements&&null!=l.VisUtil.hiddenByDefaultElements&&l.VisUtil.hiddenByDefaultElements.indexOf(u)>-1)return null;if(a.CommonUtil.isNodeDisabled(o))return null;if(a.CommonUtil.getAncestor(o,["svg","script","meta"]))return null;var d=o.ownerDocument;if(!d)return null;var c=d.defaultView;if(!c)return null;var m=a.CommonUtil.getNodeText(o);if(!a.CommonUtil.isShadowHostElement(o)||a.CommonUtil.isShadowHostElement(o)&&""===a.CommonUtil.getNodeText(o.shadowRoot)){if(0==m.trim().length)return null;if(0===(m=m.trim().replace(/[^(a-zA-Z\d\s)\^(\u4e00-\u9fff\u3400-\u4dbf)\u0000-\u0008\u000B-\u001F\u007F-\u009F\u2000-\u200F\u2028-\u202F\u205F-\u206F\u3000\uFEFF]+/g,"")).trim().length)return null}var p=o;if(a.CommonUtil.isShadowHostElement(o)){if(o.shadowRoot)for(var h=o.firstChild;h;h=h.nextSibling)if(3==h.nodeType){p=h.assignedSlot;break}if(null===p)return}var _=c.getComputedStyle(p);if(!1==("0"!==_.width&&"0"!==_.height&&"0"!==_.opacity&&"none"!==_.display&&"hidden"!==_.visibility&&"hidden"!==_.overflow&&("auto"===_.left||"absolute"===_.position&&parseInt(_.left.replace(/[^0-9.+-]/,""))>0)&&("auto"===_.left||"absolute"===_.position&&parseInt(_.top.replace(/[^0-9.+-]/,""))>0)))return null;var b=-1;if("auto"!==_.clip){var g=_.clip.toString();if(g.includes("rect"))for(var f=[],v=/\((.*)\)/g.exec(g)[1].split(", "),A=0;A<v.length;A++)f.push(v[A]);b=parseInt(f[0].replace(/px/g,""))-parseInt(f[2].replace(/px/g,"")),b=Math.abs(b)}if("absolute"===_.position&&b<7&&-1!==b)return null;var y=n.ColorUtil.ColorCombo(p);if(null!==y){var w=y.fg,k=y.bg,C=w.contrastRatio(k),x=s.CSSUtil.getWeightNumber(_.fontWeight),P=s.CSSUtil.getFontInPixels(_.fontSize,p),R=P>=24||P>=18.6&&x>=700;s.CSSUtil.containsCKJ(m)&&(R=P>=29.3||P>=24&&x>=700);var T=C>=4.5||C>=3&&R,U=y.hasBGImage||y.hasGradient,I=y.textShadow,L=a.CommonUtil.isNodeDisabled(p);if(!L){var E=a.CommonUtil.getControlOfLabel(p);E&&(L=a.CommonUtil.isNodeDisabled(E))}return!L&&"label"===u&&a.CommonUtil.isDisabledByFirstChildFormElement(p)&&(L=!0),!L&&o.hasAttribute("id")&&a.CommonUtil.isDisabledByReferringElement(p)&&(L=!0),!T&&L&&(T=!0),T?(0,r.RulePass)("pass",[C.toFixed(2),P,x,w.toHex(),k.toHex(),y.hasBGImage,y.hasGradient]):U?(0,r.RulePotential)("potential_graphic_background",[C.toFixed(2),P,x]):I?(0,r.RulePotential)("potential_text_shadow",[C.toFixed(2),P,x]):w.toHex()===k.toHex()?(0,r.RulePotential)("potential_same_color",[C.toFixed(2),P,x,w.toHex(),k.toHex(),y.hasBGImage,y.hasGradient]):(0,r.RuleFail)("fail_contrast",[C.toFixed(2),P,x,w.toHex(),k.toHex(),y.hasBGImage,y.hasGradient])}console.log("unable to get color combo for element: "+p.nodeName)}}},5027:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.text_quoted_correctly=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(8656);t.text_quoted_correctly={id:"text_quoted_correctly",context:"dom:*",help:{"en-US":{Pass_0:"text_quoted_correctly.html",Potential_1:"text_quoted_correctly.html",group:"text_quoted_correctly.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"If the following text is a quotation, mark it as a <q> or <blockquote> element: {0}",group:"Quotations should be marked with <q> or <blockquote> elements"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;if(!r.VisUtil.isNodeVisible(l))return null;if(null===n.CommonUtil.getAncestor(l,["body"]))return null;for(var o=!0,s=l.firstChild,u=null,d=["blockquote","q","script","style","pre","code","ruby","samp"];o&&s;){if("#text"===s.nodeName){var c=s.nodeValue,m=(c=c.replace(/(\S)'(\S)/g,"$1$2")).match(/("[^"]+")/g),p=c.match(/('[^']+')/g);if((null!==m||null!==p)&&null===n.CommonUtil.getAncestor(s,d)){if(null!=m)for(var h=0;o&&h<m.length;++h)o=n.CommonUtil.wordCount(m[h])<3;if(null!=p)for(h=0;o&&h<p.length;++h)o=n.CommonUtil.wordCount(p[h])<3;u=null===m?p.join(", ").replace(new RegExp("\\r?\\n|\\r","g"),""):null===p?m.join(", ").replace(new RegExp("\\r?\\n|\\r","g"),""):m.concat(p).join(", ").replace(new RegExp("\\r?\\n|\\r","g"),"")}}s=s.nextSibling}return!o&&u.length&&u.length>69&&(u=u.substring(0,32)+" ... "+u.substring(u.length-32)),o?(0,a.RulePass)("Pass_0"):(0,a.RulePotential)("Potential_1",[u])}}},3496:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.text_sensory_misuse=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(7788),s=i(8656);t.text_sensory_misuse={id:"text_sensory_misuse",context:"dom:body, dom:body dom:*",refactor:{RPT_Text_SensoryReference:{Potential_1:"potential_position, potential_other"}},help:{"en-US":{potential_position:"text_sensory_misuse.html",potential_other:"text_sensory_misuse.html",group:"text_sensory_misuse.html"}},messages:{"en-US":{potential_position:"Confirm the word(s) '{0}' of the user instruction is used to indicate a logical rather than visual position",potential_other:"Confirm the user instruction is still understandable without the word(s) '{0}'",group:"Instructions should be meaningful without relying solely on shape, size, or location words"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.3"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node,c=l.nodeName.toLowerCase();if(!s.VisUtil.isNodeVisible(l)||r.CommonUtil.isNodeDisabled(l)||s.VisUtil.hiddenByDefaultElements.includes(c))return null;if(null===r.CommonUtil.getAncestor(l,["body"]))return null;if(null!==r.CommonUtil.getAncestor(l,["script","a","label"]))return null;var m=n.AriaUtil.getResolvedRole(l);if(m){var p=n.AriaUtil.getRolesWithTypes(l,["landmark"]);if(p&&p.includes(m))return null}var h=n.AriaUtil.getRolesWithTypes(l,["widget","heading"]);if(r.CommonUtil.concatUniqueArrayItemList(["caption","cell","code","columnheader","definition","figure","list","listitem","math","meter","row","rowgroup","rowheader","term"],h),null!==n.AriaUtil.getAncestorWithRoles(l,h))return null;for(var _="",b="",g=l.firstChild,f="";g;){if("#text"===g.nodeName){var v=g.nodeValue.trim();v.length>0&&(f+=f.length>0?", "+v:v)}g=g.nextSibling}if(f.length>0){var A=function(e,t){if(!u[t])return"";var i=o.CacheUtil.getCache(e,t+"_sensory_misuse",null);if(null==i){for(var a=u[t].value,l="(ss+|"+a[0],n=1;n<a.length;++n){var r=a[n].trim().split(" ");if(l+="|"+r[0],r.length>1)for(var s=1;s<r.length;++s)l+=" +"+r[s]}l+=")",i=new RegExp(l,"gi"),o.CacheUtil.setCache(e,t+"_sensory_misuse",i)}return i}(l.ownerDocument,"exemptText");f=f.replace(A," "),_=d(l.ownerDocument,"positionText",f),b=d(l.ownerDocument,"otherText",f)}var y=[];return _&&y.push((0,a.RulePotential)("potential_position",[_])),b&&y.push((0,a.RulePotential)("potential_other",[b])),0==y.length?null:y}};var u={positionText:{value:["top-left","top-right","bottom-right","bottom-left","top-to-bottom","left-to-right","bottom-to-top","right-to-left","right","left","above","below","top","bottom","upper","lower","corner","beside"],type:"[string]"},otherText:{value:["round","square","shape","rectangle","triangle","size","large","small","medium","big","huge","tiny","extra","larger","smaller","bigger","little","largest","smallest","biggest"],type:"[string]"},exemptText:{value:["right-click","left-click","right-clicking","right-clicks","left-clicking","left-clicks","square root","right now","off the top"],type:"[string]"}};function d(e,t,i){if(!i)return"";var a=u[t].value,l={},n=[];return i.split(/\s+/).reduce((function(e,t){for(var i=t.replace(/[.?!:;()'",`\]]+$/,""),r=t.toLowerCase().replace(/[.?!:;()'",`\]]/g,""),o=0;o<a.length;o++){var s=r.indexOf(a[o]),u=a[o].length,d=r.charAt(u+s);if(!(s<0)){var c="."==d||"?"==d||"!"==d||":"==d||";"==d||"("==d||")"==d||"'"==d||'"'==d||","==d||".`"==d||"\\"==d||"]"==d,m=!1;if(s>0){var p=r.charAt(s-1);m="-"==p||"."==p||"?"==p||"!"==p||":"==p||";"==p||"("==p||")"==p||"'"==p||'"'==p||","==p||".`"==p||"\\"==p||"]"==p}r.length!=u&&1!=c&&1!=m||(l.hasOwnProperty(i)||(l[i]=!0,n.push(i)),o=a.length)}}return e[i]=(e[i]||0)+1,e}),Object.create(null)),n.join(", ")}},1131:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.text_spacing_valid=void 0;var a=i(4377),l=i(4377),n=i(8137),r=i(8656),o=i(1775),s=i(5697);t.text_spacing_valid={id:"text_spacing_valid",context:"dom:*",help:{"en-US":{pass:"text_spacing_valid.html",group:"text_spacing_valid.html",fail_letter_spacing_style:"text_spacing_valid.html",fail_word_spacing_style:"text_spacing_valid.html",fail_line_height_style:"text_spacing_valid.html"}},messages:{"en-US":{pass:"CSS !important is not used in inline style to control letter or word spacing or line height",group:"CSS !important should not be used in inline style to control letter or word spacing or line height",fail_letter_spacing_style:"CSS !important should not be used in inline ‘letter-spacing’ style",fail_word_spacing_style:"CSS !important should not be used in inline ‘word-spacing’ style",fail_line_height_style:"CSS !important should not be used in inline ‘line-height’ style"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.4.12"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:["9e45ec","24afc2","78fd32"],run:function(e,t,i){var l=e.dom.node;if(l.nodeName.toLowerCase(),r.VisUtil.isNodeHiddenFromAT(l)||n.CommonUtil.isNodeDisabled(l))return null;var u=(new s.DOMMapper).getUnadjustedBounds(l);if(!u)return null;if(u.top<0||u.left<0)return null;if(n.CommonUtil.getAncestor(l,"svg"))return null;for(var d="",c=l.childNodes,m=0;m<c.length;++m)3==c[m].nodeType&&(d+=c[m].nodeValue);if(0==d.trim().length)return null;var p=getComputedStyle(l).getPropertyValue("font-size"),h=parseFloat(p),_=o.CSSUtil.getDefinedStyles(l);if(0===Object.keys(_).length)return null;var b=[],g=/(-?[\d.]+)([a-z%]*)/,f=_["word-spacing"];if(f)if((f.startsWith("inherit")||f.startsWith("unset"))&&(null!==(w=o.CSSUtil.getAncestorWithStyles(l.parentElement,{"word-spacing":["*"]},["inherit","unset"]))?f=o.CSSUtil.getDefinedStyles(w)["word-spacing"]:f.startsWith("unset")&&(f="initial")),"important"===l.style.getPropertyPriority("word-spacing"))if("initial"===(f=f.substring(0,f.length-10-1))||"normal"===f)b.push((0,a.RuleFail)("fail_word_spacing_style"));else{var v=parseFloat(f);isNaN(v)?b.push((0,a.RulePass)("pass")):""!==(C=f.trim().match(g))[2]&&0!==C[1]&&(null!==(x=o.CSSUtil.convertValue2Pixels(C[2],C[1],l))&&x/h<.16?b.push((0,a.RuleFail)("fail_word_spacing_style")):b.push((0,a.RulePass)("pass")))}else b.push((0,a.RulePass)("pass"));var A=_["letter-spacing"];if(A)if((A.startsWith("inherit")||A.startsWith("unset"))&&(null!==(w=o.CSSUtil.getAncestorWithStyles(l.parentElement,{"letter-spacing":["*"]},["inherit","unset"]))?A=o.CSSUtil.getDefinedStyles(w)["letter-spacing"]:A.startsWith("unset")&&(A="initial")),"important"===l.style.getPropertyPriority("letter-spacing"))if("initial"===(A=A.substring(0,A.length-10-1))||"normal"===A)b.push((0,a.RuleFail)("fail_letter_spacing_style"));else{var y=parseFloat(A);isNaN(y)?b.push((0,a.RulePass)("pass")):""!==(C=A.trim().match(g))[2]&&0!==C[1]&&(null!==(x=o.CSSUtil.convertValue2Pixels(C[2],C[1],l))&&x/h<.12?b.push((0,a.RuleFail)("fail_letter_spacing_style")):b.push((0,a.RulePass)("pass")))}else b.push((0,a.RulePass)("pass"));var w,k=_["line-height"];if(k&&null===o.CSSUtil.getAncestorWithStyles(l,{overflow:["auto","scroll"],"overflow-x":["auto","scroll"],"overflow-y":["auto","scroll"]}))if((k.startsWith("inherit")||k.startsWith("unset"))&&(null!==(w=o.CSSUtil.getAncestorWithStyles(l.parentElement,{"line-height":["*"]},["inherit","unset"]))?k=o.CSSUtil.getDefinedStyles(w)["line-height"]:k.startsWith("unset")&&(k="initial")),"important"===l.style.getPropertyPriority("line-height"))if("initial"===(k=k.substring(0,k.length-10-1))||"normal"===k)b.push((0,a.RuleFail)("fail_line_height_style"));else{var C,x,P=parseFloat(k);isNaN(P)?b.push((0,a.RulePass)("pass")):""===(C=k.trim().match(g))[2]?C[1]<1.5?b.push((0,a.RuleFail)("fail_line_height_style")):b.push((0,a.RulePass)("pass")):null!==(x=o.CSSUtil.convertValue2Pixels(C[2],C[1],l))&&x/h<1.5?b.push((0,a.RuleFail)("fail_line_height_style")):b.push((0,a.RulePass)("pass"))}else b.push((0,a.RulePass)("pass"));return b.length>0?b:null}}},8681:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.text_whitespace_valid=void 0;var a=i(4377),l=i(4377),n=i(8137);t.text_whitespace_valid={id:"text_whitespace_valid",context:"dom:*",help:{"en-US":{pass:"text_whitespace_valid.html",potential_text:"text_whitespace_valid.html",group:"text_whitespace_valid.html"}},messages:{"en-US":{pass:"Rule Passed",potential_text:"Space characters should not be used to create space between the letters of a word",group:"Space characters should not be used to control spacing within a word"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,r=n.CommonUtil.getAncestor(l,["body","script","code"]);if(null==r||"body"!=r.nodeName.toLowerCase())return null;for(var o=!0,s=l.firstChild;o&&s;){if("#text"==s.nodeName){var u=s.nodeValue;o=!/(^|\s)[a-zA-Z] [a-zA-Z] [a-zA-Z]($|\s)/.test(u)}s=s.nextSibling}return o?(0,a.RulePass)("pass"):(0,a.RulePotential)("potential_text")}}},4577:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.widget_tabbable_exists=void 0;var a=i(4377),l=i(4377),n=i(490),r=i(8137),o=i(4944),s=i(7440),u=i(8656);t.widget_tabbable_exists={id:"widget_tabbable_exists",context:"aria:button,aria:link,aria:spinbutton,aria:tablist,aria:combobox,aria:listbox,aria:menu,aria:radiogroup,aria:tree,aria:menubar, aria:grid, aria:treegrid, 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:"widget_tabbable_exists.html",fail_no_tabbable:"widget_tabbable_exists.html",group:"widget_tabbable_exists.html"}},messages:{"en-US":{pass:"Rule Passed",fail_no_tabbable:'Component with "{0}" role does not have a tabbable element',group:"Component must have at least one tabbable element"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(!u.VisUtil.isNodeHiddenFromAT(l)&&!r.CommonUtil.isNodeDisabled(l)&&!n.AriaUtil.shouldBePresentationalChild(l)){if("datalist"===l.nodeName.toLowerCase())return null;for(var d=0,c=["combobox","grid","listbox","menu","menubar","radiogroup","tablist","tree","treegrid"];d<c.length;d++){var m=c[d];if(null!=n.AriaUtil.getAncestorWithRole(l,m,!0))return null}var p=o.ARIAMapper.nodeToRole(l),h=0;if(r.CommonUtil.isTabbable(l)&&++h,h<1&&!n.AriaUtil.containsPresentationalChildrenOnly(l)&&l.firstChild)for(var _=new s.DOMWalker(l);h<1&&_.nextNode()&&_.node!=l;)1==_.node.nodeType&&!_.bEndTag&&r.CommonUtil.isTabbable(_.node)&&++h;return h>=1?(0,a.RulePass)("pass"):(0,a.RulePotential)("fail_no_tabbable",[p])}}}},8051:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.widget_tabbable_single=void 0;var a=i(4377),l=i(4377),n=i(7440),r=i(490),o=i(8137),s=i(4944),u=i(7788),d=i(8656);t.widget_tabbable_single={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",potential_multiple_tabbable:"potential_multiple_tabbable"}},help:{"en-US":{pass:"widget_tabbable_single.html",potential_multiple_tabbable:"widget_tabbable_single.html",group:"widget_tabbable_single.html"}},messages:{"en-US":{pass:"Components with a widget role should have no more than one tabbable element",potential_multiple_tabbable:'Component with "{0}" role has more than one tabbable element',group:"Components with a widget role must have no more than one tabbable element"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1","2.4.3"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(!d.VisUtil.isNodeHiddenFromAT(l)&&!o.CommonUtil.isNodeDisabled(l)&&!r.AriaUtil.shouldBePresentationalChild(l)){var c=s.ARIAMapper.nodeToRole(l),m=0;o.CommonUtil.isTabbable(l)&&++m;var p=[];if(m<2&&!r.AriaUtil.containsPresentationalChildrenOnly(l)&&l.firstChild)for(var h=new n.DOMWalker(l);m<2&&h.nextNode()&&h.node!=l;)if(1==h.node.nodeType&&!h.bEndTag&&o.CommonUtil.isTabbable(h.node)){if("input"===h.node.nodeName.toLowerCase()&&"radio"===h.node.getAttribute("type")){var _=h.node.getAttribute("name");if(p.includes(_))continue;p.push(_)}++m}var b=m<2;return b||u.CacheUtil.setCache(l,"widget_tabbable_single","potential_multiple_tabbable"),b?(0,a.RulePass)("pass"):(0,a.RulePotential)("potential_multiple_tabbable",[c])}}}},1070:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.a11yRulesets=void 0;var a=i(4976),l=i(3005),n=[];for(var r in a)n.push(a[r]);var o={"1.1.1":"All non-text content that is presented to the user has a text alternative that serves the equivalent purpose.","1.2.1":"For prerecorded audio-only or video-only media, an alternative provides equivalent information.","1.2.2":"Captions are provided for all prerecorded audio content in synchronized media.","1.2.3":"An alternative for time-based media or audio description of the prerecorded video content is provided for synchronized media.","1.2.4":"Captions are provided for all live audio content in synchronized media.","1.2.5":"Audio description is provided for all prerecorded video content in synchronized media.","1.3.1":"Information, structure, and relationships conveyed through presentation can be programmatically determined or are available in text.","1.3.2":"When the sequence in which content is presented affects its meaning, a correct reading sequence can be programmatically determined.","1.3.3":"Instructions provided for understanding and operating content do not rely solely on sensory characteristics of components such as shape, size, visual location, orientation, or sound.","1.3.4":"Content does not restrict its view and operation to a single display orientation, such as portrait or landscape.","1.3.5":"The purpose of each input field that collects information about the user can be programmatically determined when the field serves a common purpose.","1.4.1":"Color is not used as the only visual means of conveying information, indicating an action, prompting a response, or distinguishing a visual element.","1.4.2":"If any audio plays automatically for more than 3 seconds, either a mechanism is available to pause or stop the audio, or a mechanism is available to control audio volume independently from the overall system volume level.","1.4.3":"The visual presentation of text and images of text has a contrast ratio of at least 4.5:1, with a 3:1 ratio for large-scale text.","1.4.4":"Text can be resized without assistive technology up to 200 percent without loss of content or functionality.","1.4.5":"If the technologies being used can achieve the visual presentation, text should not be used to convey information rather than images of text.","1.4.10":"Content can reflow without loss of information or functionality, and without requiring scrolling in two dimensions.","1.4.11":"The parts of graphical objects required to understand the content, and the visual information required to identify UI components and states, have a contrast ratio of at least 3:1 against adjacent colors.","1.4.12":"No loss of content or functionality occurs when users change letter, word and paragraph spacing, as well as line height.","1.4.13":"Where hover or focus actions cause additional content to become visible and hidden, the additional content is dismissable, hoverable and persistent.","2.1.1":"All functionality of the content is operable through a keyboard interface without requiring specific timings for individual keystrokes.","2.1.2":"If keyboard focus can be moved to a component using a keyboard interface, then focus can be moved away from that component using only a keyboard interface, and, if it requires more than unmodified arrow or tab keys or other standard exit methods, the user is advised of the method for moving focus away.","2.1.4":"If a keyboard shortcut is implemented using only letter, punctuation, number or symbol characters, then the shortcut can be turned off, remapped or activated only on focus.","2.2.1":"For each time limit that is set by the content, the user can turn off, adjust, or extend the limit.","2.2.2":"For moving, blinking, scrolling, or auto-updating information, the user can pause, stop, hide or adjust the information.","2.3.1":"Content does not contain anything that flashes more than three times in any one second period, or the flash is below the general flash and red flash thresholds.","2.4.1":"A mechanism is available to bypass blocks of content that are repeated on multiple Web pages.","2.4.2":"Web pages, non-web documents, and software have titles that describe topic or purpose.","2.4.3":"If content can be navigated sequentially and the navigation sequences affect meaning or operation, focusable components receive focus in an order that preserves meaning and operability.","2.4.4":"The purpose of each link can be determined from the link text alone or from the link text together with its programmatically determined link content.","2.4.5":"More than one way is available to locate a Web page within a set of Web pages, except where the Web Page is the result of, or a step in, a process.","2.4.6":"Headings and labels describe topic or purpose.","2.4.7":"Any keyboard operable user interface has a mode of operation where the keyboard focus indicator is visible.","2.4.11":"When an element receives focus, it is not entirely covered by other content.","2.5.1":"All functionality that uses multipoint or path-based gestures for operation can be operated with a single pointer without a path-based gesture.","2.5.2":"For functionality that can be operated using a single pointer, completion of the function is on the up-event with an ability to abort, undo or reverse the outcome.","2.5.3":"For user interface components with labels that include text or images of text, the accessible name contains the text that is presented visually.","2.5.4":"Functionality that can be operated by motion can also be operated by user interface components, and the motion trigger can be disabled.","2.5.8":"The size of the target for pointer inputs is at least 24 by 24 CSS pixels.","2.5.7":"All functionality that uses a dragging movement for operation can be achieved by a single pointer without dragging.","3.1.1":"The default human language of Web pages, non-Web documents, or software can be programmatically determined.","3.1.2":"The human language of each passage or phrase in the content can be programmatically determined.","3.2.1":"When any component receives focus, it does not initiate a change of context.","3.2.2":"Changing the setting of any user interface component does not automatically cause a change of context unless the user has been advised of the behavior before using the component.","3.2.3":"Navigational mechanisms that are repeated on multiple Web pages within a set of Web pages occur in the same relative order each time they are repeated, unless a change is initiated by the user.","3.2.4":"Components that have the same functionality within a set of Web pages are identified consistently.","3.2.6":"Make it easier to find help and support. If a Web page contains help mechanisms they occur in the same order relative to other page content, unless a change is initiated by the user.","3.3.1":"If an input error is automatically detected, the item that is in error is identified and the error is described to the user in text.","3.3.2":"Labels or instructions are provided when content requires user input.","3.3.3":"If an input error is automatically detected and suggestions for correction are known, then the suggestions are provided to the user, unless it would jeopardize the security or purpose of the content.","3.3.4":"For content that cause legal commitments or financial transactions for the user to occur, that modify or delete user-controllable data in data storage systems, or that submit user test responses, the user can reverse, correct, or confirm the action.","3.3.7":"Make it easier for users to complete multi-step processes. Don't ask for the same information twice in the same session.","3.3.8":"Make logins possible with less mental effort. Don't make people solve, recall, or transcribe something to log in.","4.1.1":"(Obsolete and removed) This requirement was originally adopted to address problems that assistive technology (AT) had directly parsing HTML. AT no longer has any need to directly parse HTML. Consequently, these problems either no longer exist or are addressed by other requirements.","4.1.2":"For all user interface components (including, but not limited to: form elements, links and components generated by scripts), the name and role can be programmatically determined; states, properties, and values that can be set by the user can be programmatically set; and notification of changes to these items is available to user agents, including assistive technologies.","4.1.3":"In content implemented using markup languages, status messages can be programmatically determined through role or properties such that they can be presented to the user by assistive technologies without receiving focus.",HTML:"The HTML specification issues that cause accessibility issues may be covered by other rules and will be reported under those accessibility requirements. However, some non-conforming HTML specification issues are still reported.",ARIA:"The ARIA specification issues that cause accessibility issues may be covered by other rules and will be reported under those accessibility requirements. However, some non-conforming ARIA specification issues are still reported."};t.a11yRulesets=[{id:"EXTENSIONS",name:"Extension Rules",category:l.eGuidelineCategory.ACCESSIBILITY,description:"Rules for enabling the browser extensions",type:l.eGuidelineType.EXTENSION,checkpoints:[{num:"1",name:"Extension CP 1",wcagLevel:"A",summary:"Rules for Extension"}]},{id:"IBM_Accessibility",name:"IBM Accessibility 7.3",category:l.eGuidelineCategory.ACCESSIBILITY,description:"Rules for WCAG 2.0, 2.1, 2.2 A and AA plus additional IBM supplemental requirements.",checkpoints:n.filter((function(e){return!("A"!==e.level&&"AA"!==e.level&&"NA"!==e.level||"2.0"!==e.wcagType&&"2.1"!==e.wcagType&&"2.2"!==e.wcagType&&"NA"!==e.wcagType)})).map((function(e){return{num:e.num,scId:e.scId,name:e.handle,wcagLevel:e.level,summary:o[e.num]}}))},{id:"IBM_Accessibility_next",name:"IBM Accessibility next",category:l.eGuidelineCategory.ACCESSIBILITY,description:"Rules for WCAG 2.0, 2.1, 2.2 A and AA plus additional IBM supplemental requirements.",checkpoints:n.filter((function(e){return!("A"!==e.level&&"AA"!==e.level&&"NA"!==e.level||"2.0"!==e.wcagType&&"2.1"!==e.wcagType&&"2.2"!==e.wcagType&&"NA"!==e.wcagType)})).map((function(e){return{num:e.num,scId:e.scId,name:e.handle,wcagLevel:e.level,summary:o[e.num]}}))},{id:"WCAG_2_2",name:"WCAG 2.2 (A, AA)",category:l.eGuidelineCategory.ACCESSIBILITY,description:"Rules for WCAG 2.2 A & AA. This is the current W3C recommendation (specification). Content that conforms to WCAG 2.2 also conforms to WCAG 2.1.",checkpoints:n.filter((function(e){return!("A"!==e.level&&"AA"!==e.level||"2.0"!==e.wcagType&&"2.1"!==e.wcagType&&"2.2"!==e.wcagType)})).map((function(e){return{num:e.num,scId:e.scId,name:e.handle,wcagLevel:e.level,summary:o[e.num]}}))},{id:"WCAG_2_1",name:"WCAG 2.1 (A, AA)",category:l.eGuidelineCategory.ACCESSIBILITY,description:"Rules for WCAG 2.1 A & AA. Content that conforms to WCAG 2.1 also conforms to WCAG 2.0.",checkpoints:n.filter((function(e){return!("A"!==e.level&&"AA"!==e.level||"2.0"!==e.wcagType&&"2.1"!==e.wcagType)})).map((function(e){return{num:e.num,scId:e.scId,name:e.handle,wcagLevel:e.level,summary:o[e.num]}}))},{id:"WCAG_2_0",name:"WCAG 2.0 (A, AA)",category:l.eGuidelineCategory.ACCESSIBILITY,description:"Rules for WCAG 2.0 A & AA. Referenced by US Section 508, but not the latest W3C recommendation.",checkpoints:n.filter((function(e){return("A"===e.level||"AA"===e.level)&&"2.0"===e.wcagType})).map((function(e){return{num:e.num,scId:e.scId,name:e.handle,wcagLevel:e.level,summary:o[e.num]}}))}]},1421:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AccNameUtil=void 0;var a=i(8235),l=i(8137),n=i(490),r=i(8656),o=i(7788),s=i(7440),u=i(295),d=function(){function e(){}return e.computeAccessibleName=function(t){if(!t)return null;var i=t.nodeName.toLowerCase(),r=o.CacheUtil.getCache(t,"ELEMENT_ACCESSBLE_NAME",void 0);if(void 0!==r)return r;var s=n.AriaUtil.getAriaLabel(t);if(s&&""!==s.trim())return o.CacheUtil.setCache(t,"ELEMENT_ACCESSBLE_NAME",{name:l.CommonUtil.truncateText(s),nameFrom:"ariaLabel"}),{name:l.CommonUtil.truncateText(s),nameFrom:"ariaLabel"};if(r=e.computeAccessibleNameForNativeElement(t))return o.CacheUtil.setCache(t,"ELEMENT_ACCESSBLE_NAME",r),r;var u=n.AriaUtil.getResolvedRole(t);if(a.ARIADefinitions.designPatterns[u]&&a.ARIADefinitions.designPatterns[u].nameFrom.includes("contents")&&(r=e.computeAccessibleNameFromContent(t)))return o.CacheUtil.setCache(t,"ELEMENT_ACCESSBLE_NAME",r),r;if(t.hasAttribute("title")){var d=t.getAttribute("title").trim();if(d&&d.trim().length>0)return d=l.CommonUtil.truncateText(d),o.CacheUtil.setCache(t,"ELEMENT_ACCESSBLE_NAME",{name:d,nameFrom:"title"}),{name:d,nameFrom:"title"}}if("textarea"===i||"input"===i&&(!t.hasAttribute("type")||l.CommonUtil.input_type_with_placeholder.includes(t.getAttribute("type")))){var c=t.getAttribute("placeholder");if(c&&c.trim().length>0)return c=l.CommonUtil.truncateText(c),o.CacheUtil.setCache(t,"ELEMENT_ACCESSBLE_NAME",{name:c,nameFrom:"placeholder"}),{name:c,nameFrom:"placeholder"}}return o.CacheUtil.setCache(t,"ELEMENT_ACCESSBLE_NAME",null),null},e.computeAccessibleNameForNativeElement=function(t){var i,a,n=t.nodeName.toLowerCase();if(l.CommonUtil.form_labelable_elements.includes(n)&&(m=l.CommonUtil.getFormFieldLabel(t))&&""!==m.trim())return{name:l.CommonUtil.truncateText(m),nameFrom:"label"};if("input"===n&&t.hasAttribute("type"))if(l.CommonUtil.form_button_types.includes(t.getAttribute("type"))){var o=l.CommonUtil.getElementAttribute(t,"value");if(o&&""!==o.trim())return{name:l.CommonUtil.truncateText(o),nameFrom:"value"};var s=t.getAttribute("type");if("submit"===s||"reset"===s)return{name:s,nameFrom:"internal"}}else if("image"===t.getAttribute("type")&&(_=l.CommonUtil.getElementAttribute(t,"alt"))&&""!==_.trim())return{name:l.CommonUtil.truncateText(_),nameFrom:"alt"};if("button"===n){if((f=t.innerText)&&""!==f.trim())return{name:l.CommonUtil.truncateText(f),nameFrom:"text"};var d=t.querySelector("img");if(d&&!r.VisUtil.isNodeHiddenFromAT(d)&&!r.VisUtil.isNodePresentational(d)&&(a=e.computeAccessibleName(d))&&a.name&&a.name.trim().length>0)return a}if("fieldset"===n&&(i=t.firstElementChild)&&"legend"===i.nodeName.toLowerCase()&&(f=i.innerText)&&f.trim().length>0)return{name:l.CommonUtil.truncateText(f),nameFrom:"legend"};if("output"===n&&t.hasAttribute("for")){var c=t.getAttribute("for").trim().split(" ");if(c&&c.length>0){for(var m="",p=0;p<c.length;p++){var h=t.ownerDocument.getElementById(c[p]);!h||u.DOMUtil.sameNode(h,t)||r.VisUtil.isNodeHiddenFromAT(h)||r.VisUtil.isNodePresentational(h)||(a=e.computeAccessibleName(h))&&a.name&&a.name.trim().length>0&&(m+=" "+l.CommonUtil.normalizeSpacing(a.name))}if(m.trim().length>0)return{name:l.CommonUtil.truncateText(m),nameFrom:"label"}}}if("summary"===n&&(f=t.innerText)&&f.trim().length>0)return{name:l.CommonUtil.truncateText(f),nameFrom:"legend"};if("details"===n)return(i=t.firstElementChild)&&"summary"===i.nodeName.toLowerCase()&&(a=e.computeAccessibleName(i))&&a.name&&a.name.trim().length>0?{name:l.CommonUtil.truncateText(a.name.trim()),nameFrom:"summary"}:{name:"details",nameFrom:"internal"};if("figure"===n&&!(b=t.firstElementChild)&&(b=t.lastElementChild)&&"figcaption"===b.nodeName.toLowerCase()&&(f=b.innerText)&&f.trim().length>0)return{name:l.CommonUtil.truncateText(f),nameFrom:"figcaption"};if("img"===n&&t.hasAttribute("alt")){var _=t.getAttribute("alt");return{name:l.CommonUtil.truncateText(_),nameFrom:"alt"}}if("area"===n&&t.hasAttribute("alt")&&(_=t.getAttribute("alt"))&&_.trim().length>0)return{name:l.CommonUtil.truncateText(_),nameFrom:"alt"};if("table"===n){var b,g=t.firstElementChild;if(g&&"caption"===g.nodeName.toLowerCase()&&(b=g.innerText)&&b.trim().length>0)return{name:l.CommonUtil.truncateText(b),nameFrom:"caption"}}if("a"===n){var f;if((f=t.innerText)&&""!==f.trim())return{name:l.CommonUtil.truncateText(f),nameFrom:"text"};var v=t.querySelectorAll(":scope > img, :scope > svg");if(v&&v.length>0){var A="";if(v.forEach((function(t){if(!r.VisUtil.isNodeHiddenFromAT(t)&&!r.VisUtil.isNodePresentational(t)){var i=e.computeAccessibleName(t);i&&i.name&&i.name.trim().length>0&&(A+=" "+i.name.trim())}})),""!==A.trim())return{name:A.trim(),nameFrom:"alt"}}}return("optgroup"===n||"option"===n||"track"===n)&&(m=t.getAttribute("label"))&&m.trim().length>0?{name:l.CommonUtil.truncateText(m),nameFrom:"label"}:"svg"===n&&(a=e.computeAccessibleNameForSVGElement(t))&&a.name&&a.name.trim().length>0?a:null},e.computeAccessibleNameForSVGElement=function(e){var t=e.querySelectorAll(":scope > title");if(t&&t.length>0){var i="";if(t.forEach((function(e){if(e&&!r.VisUtil.isNodeHiddenFromAT(e)&&!r.VisUtil.isNodePresentational(e)){var t=e.textContent;t&&""!==t.trim()&&(i+=t.trim())}})),i&&""!==i.trim())return{name:i.trim(),nameFrom:"svgTitle"}}var a=e.querySelector("a");if(a&&!r.VisUtil.isNodeHiddenFromAT(a)&&!r.VisUtil.isNodePresentational(a)){var o=a.getAttribute("xlink:title");if(o&&""!==o.trim())return{name:l.CommonUtil.truncateText(o),nameFrom:"svglinkTitle"}}var s="";if(e.querySelectorAll(":scope > *").forEach((function(e){if("svg"!==e.nodeName.toLowerCase()&&!r.VisUtil.isNodeHiddenFromAT(e)&&!r.VisUtil.isNodePresentational(e)){var t=e.textContent;t&&t.trim().length>0&&(s+=t)}})),""!==s.trim())return{name:l.CommonUtil.truncateText(s),nameFrom:"svgText"};var u=n.AriaUtil.getAriaDescription(e);if(u&&u.trim().length>0)return{name:l.CommonUtil.truncateText(u),nameFrom:"aria-description"};var d=e.querySelectorAll(":scope > desc");if(d&&d.length>0){var c="";if(d.forEach((function(e){if(e&&!r.VisUtil.isNodeHiddenFromAT(e)&&!r.VisUtil.isNodePresentational(e)){var t=e.textContent;t&&""!==t.trim()&&(c+=t.trim())}})),c&&""!==c.trim())return{name:c.trim(),nameFrom:"svgDesc"}}},e.computeAccessibleNameFromContent=function(t){var i=t.nodeName.toLowerCase(),a=(n.AriaUtil.getResolvedRole(t),e.computeAccessibleNameForCSSPseudoElement(t,"before"));return null!==a&&a.name&&a.name.trim().length>0||(a=e.computeAccessibleNameForCSSPseudoElement(t,"after"))&&a.name&&a.name.trim().length>0?a:t.shadowRoot&&(a=e.computeAccessibleNameForShadowHost(t))&&a.name&&a.name.trim().length>0?{name:a.name,nameFrom:"shadow"}:"slot"===i&&(a=e.computeAccessibleNameForSlostElement(t))&&a.name&&a.name.trim().length>0?{name:a.name,nameFrom:"slot"}:(a=e.computeAccessibleNameFromChildren(t))&&a.name&&a.name.trim().length>0?{name:a.name,nameFrom:"content"}:null},e.computeAccessibleNameForCSSPseudoElement=function(e,t){var i=e.ownerDocument.defaultView.getComputedStyle(e,t);if(i){var a=i.content;if(a&&"none"!==a&&(a=a.replace(/^"/,"").replace(/"$/,"")).trim().length>0)return{name:l.CommonUtil.truncateText(a),nameFrom:"css-"+t}}return null},e.computeAccessibleNameForShadowHost=function(t){var i="",a=t.shadowRoot;return a&&a.querySelectorAll("*").forEach((function(t){var a=e.computeAccessibleName(t);a&&a.name&&a.name.trim().length>0&&(i+=" "+a.name.trim())})),i.trim().length>0?{name:l.CommonUtil.truncateText(i),nameFrom:"shadow-host"}:null},e.computeAccessibleNameForSlostElement=function(t){var i="";if(t.assignedNodes()&&0!==t.assignedNodes().length)for(var a=0,n=t.assignedNodes();a<n.length;a++){var r,o=n[a];(r=e.computeAccessibleName(o))&&r.name&&r.name.length>0&&(i+=" "+r.name.trim())}else(r=e.computeAccessibleName(t))&&r.name&&r.name.trim().length>0&&(i+=" "+r.name.trim());return i.trim().length>0?{name:l.CommonUtil.truncateText(i),nameFrom:"content-slot"}:null},e.computeAccessibleNameFromChildren=function(t){for(var i="",a=new s.DOMWalker(t);a.nextNode()&&a.node!==t&&a.node!==t.parentNode;){var n=a.node;if(3===n.nodeType){var o=n.parentElement;!r.VisUtil.isNodeHiddenFromAT(o)&&!r.VisUtil.isNodePresentational(o)&&n.nodeValue&&n.nodeValue.trim().length>0&&(i+=" "+n.nodeValue.trim())}else if(1===n.nodeType&&!r.VisUtil.isNodeHiddenFromAT(n)&&!r.VisUtil.isNodePresentational(n)){var u=e.computeAccessibleName(n);u&&u.name&&u.name.length>0&&(i+=" "+u.name.trim())}}return i.trim().length>0?{name:l.CommonUtil.truncateText(i),nameFrom:"content"}:null},e}();t.AccNameUtil=d},490:function(e,t,i){var a=this&&this.__spreadArray||function(e,t,i){if(i||2===arguments.length)for(var a,l=0,n=t.length;l<n;l++)!a&&l in t||(a||(a=Array.prototype.slice.call(t,0,l)),a[l]=t[l]);return e.concat(a||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.AriaUtil=void 0;var l=i(7788),n=i(8235),r=i(4944),o=i(7440),s=i(8656),u=i(8137),d=i(482),c=i(295),m=function(){function e(){}return e.isDefinedAriaAttributeAtIndex=function(t,i){var a=t.attributes[i].name;return e.isDefinedAriaAttribute(t,a)},e.getUserDefinedAriaAttributes=function(e){var t=[],i=e.attributes;if(i)for(var a=0;a<i.length;a++){var l=i[a].name.trim().toLowerCase();"aria-"===l.substring(0,5)&&t.push(l)}return t},e.getUserDefinedHtmlAttributes=function(e){var t=[],i=e.attributes;if(i)for(var a=0;a<i.length;a++){var l=i[a].name.trim().toLowerCase();"aria-"===l.substring(0,5)||t.push(l)}return t},e.getUserDefinedAriaAttributeNameValuePairs=function(e){var t=[],i=e.attributes;if(i)for(var a=0;a<i.length;a++){var l=i[a].name.trim().toLowerCase(),n=e.getAttribute(l);""===n&&(n=null),"aria-"===l.substring(0,5)&&t.push({name:l,value:n})}return t},e.getUserDefinedHtmlAttributeNameValuePairs=function(e){var t=[],i=e.attributes;if(i)for(var a=0;a<i.length;a++){var l=i[a].name.trim().toLowerCase(),n=e.getAttribute(l);""===n&&(n=null),"aria-"===l.substring(0,5)||t.push({name:l,value:n})}return t},e.getAriaAttribute=function(t,i){var a=t.getAttribute(i);if(t.hasAttribute(i)&&""===a.trim())return a;if(!a){var l=t.nodeName.toLowerCase();i in e.ariaAttributeImplicitMappings&&(l in e.ariaAttributeImplicitMappings[i]?"function"==typeof(a=e.ariaAttributeImplicitMappings[i][l])&&(a=a(t)):"*"in e.ariaAttributeImplicitMappings[i]&&"function"==typeof(a=e.ariaAttributeImplicitMappings[i]["*"])&&(a=a(t)))}if(!a){var n=r.ARIAMapper.nodeToRole(t);n in e.ariaAttributeRoleDefaults&&i in e.ariaAttributeRoleDefaults[n]&&"function"==typeof(a=e.ariaAttributeRoleDefaults[n][i])&&(a=a(t))}return!a&&i in e.ariaAttributeGlobalDefaults&&(a=e.ariaAttributeGlobalDefaults[i]),a},e.isDefinedAriaAttribute=function(e,t){var i=!1;return"aria-"===t.substring(0,5)&&(i=e.hasAttribute&&e.hasAttribute(t)&&e.getAttribute(t).length>0),i},e.getResolvedRole=function(t,i){if(void 0===i&&(i=!0),!t)return null;var a=l.CacheUtil.getCache(t,"RPTUTIL_ELEMENT_RESOLVED_ROLE",null);if(null===a){var n=e.getUserDefinedRoles(t),r=e.getElementAriaProperty(t),o=e.getAllowedAriaRoles(t,r),s=!1;if(n&&n.length>0&&o&&o.length>0){for(var d=0;d<n.length;d++)if(o.includes("any")||o.includes(n[d])){if(o.includes("any")&&"generic"===n[d]){s=!0;continue}if(("presentation"===(a=n[d])||"none"===a)&&u.CommonUtil.isFocusable(t)){a=null;continue}break}s&&(a="generic")}if(null===a&&i){var c=e.getImplicitRole(t);a=c&&c.length>0?c[0]:void 0}l.CacheUtil.setCache(t,"RPTUTIL_ELEMENT_RESOLVED_ROLE",a)}return void 0!==a?a:null},e.getUserDefinedRoles=function(t){return e.getRoles(t,!1)},e.getRoles=function(t,i){var a=[];if(t&&t.hasAttribute&&t.hasAttribute("role"))for(var l=u.CommonUtil.normalizeSpacing(t.getAttribute("role").trim()).split(" "),n=0;n<l.length;++n)a.push(l[n]);if(i){var r=e.getImplicitRole(t);null!==r&&r.length>0&&u.CommonUtil.concatUniqueArrayItemList(r,a)}return a},e.getImplicitRole=function(t){if(!t||1!==t.nodeType)return null;var i=l.CacheUtil.getCache(t,"AriaUtil_ImplicitRole",null);if(!i){var a=e.getElementAriaProperty(t);if(a&&a.implicitRole){if(a.implicitRole.includes("generic")){var r=e.getUserDefinedAriaAttributes(t);if(0===r.length)return l.CacheUtil.setCache(t,"AriaUtil_ImplicitRole",[]),[];var o=[],s=n.ARIADefinitions.designPatterns.generic;if(s.reqProps&&s.reqProps.length>0&&u.CommonUtil.concatUniqueArrayItemList(s.reqProps,o),a.globalAriaAttributesValid&&u.CommonUtil.concatUniqueArrayItemList(n.ARIADefinitions.globalProperties,o),s.deprecatedProps&&s.deprecatedProps.length>0&&u.CommonUtil.reduceArrayItemList(s.deprecatedProps,o),o.length>0&&!o.some((function(e){return r.includes(e)}))){var d=u.CommonUtil.reduceArrayItemList(["generic"],a.implicitRole);return l.CacheUtil.setCache(t,"AriaUtil_ImplicitRole",d),d}}return l.CacheUtil.setCache(t,"AriaUtil_ImplicitRole",a.implicitRole),a.implicitRole}return l.CacheUtil.setCache(t,"AriaUtil_ImplicitRole",[]),[]}return i},e.getRoleRequiredProperties=function(e,t){if(null===e)return null;if(n.ARIADefinitions.designPatterns[e]){var i=n.ARIADefinitions.designPatterns[e].reqProps;return"separator"===e.toLowerCase()&&t&&u.CommonUtil.isFocusable(t)&&(i=u.CommonUtil.concatUniqueArrayItemList(["aria-valuenow"],i||[])),i}return null},e.hasRole=function(t,i,a){var l=!1;if(t&&t.hasAttribute&&t.hasAttribute("role"))if("string"!=typeof i)for(var n=t.getAttribute("role").trim().split(" "),r=0;!l&&r<n.length;++r)l=n[r]in i;else for(n=t.getAttribute("role").trim().split(" "),r=0;!l&&r<n.length;++r)l=n[r]===i;if(!l&&a){var o=[],s=e.getImplicitRole(t);if(null!==s&&s.length>0)if(u.CommonUtil.concatUniqueArrayItemList(s,o),"string"!=typeof i)for(r=0;!l&&r<o.length;++r)l=o[r]in i;else for(r=0;!l&&r<o.length;++r)l=o[r]===i}return l},e.hasRoleInSemantics=function(t,i){var a=!1,l=!1;if(t&&t.hasAttribute&&t.hasAttribute("role"))if("string"!=typeof i)for(var n=t.getAttribute("role").trim().toLowerCase().split(/\s+/),r=0;!a&&r<n.length;++r)l=!0,a=n[r]in i;else for(n=t.getAttribute("role").trim().toLowerCase().split(/\s+/),r=0;!a&&r<n.length;++r)l=!0,a=n[r]===i;if(l)return a;var o=e.getImplicitRole(t);if(null!==o&&o.length>0)if("string"!=typeof i)for(r=0;!a&&r<o.length;++r)a=o[r]in i;else for(r=0;!a&&r<o.length;++r)a=o[r]===i;return a},e.hasAnyRole=function(t,i){var a=!1;if(t&&t.hasAttribute&&t.hasAttribute("role")&&(a=!0),!a&&i){var l=e.getImplicitRole(t);null!==l&&l.length>0&&(a=!0)}return a},e.isPresentationalElement=function(e){return u.CommonUtil.valInArray(e.nodeName.toLowerCase(),["abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","a","progress","meter","basefont","big","center","strike","tt","font","blink","h1","h2","h3","h4","h5","h6","hr","blockquote","p"])},e.getAncestorWithRole=function(t,i,a){for(var l=o.DOMWalker.parentNode(t);null!==l;){if(a){if(e.hasRoleInSemantics(l,i))break}else if(e.hasRole(l,i,!1))break;l=o.DOMWalker.parentNode(l)}return l},e.getAncestorWithRoles=function(t,i){if(!t||!i||!i.length||0===i.length)return null;for(var a=t;null!==a;){var l=e.getResolvedRole(a);if(null!==l&&i.includes(l))return a;a=o.DOMWalker.parentNode(a)}return null},e.getRolesWithTypes=function(e,t){if(!e||!t||!t.length||0===t.length)return null;var i=l.CacheUtil.getCache(e.ownerDocument,"roles_with_given_types",null);return i&&0!==i.length||(i=[],Object.entries(n.ARIADefinitions.designPatterns).forEach((function(e){var a=e[0],l=e[1];t.includes(l.roleType)&&i.push(a)})),l.CacheUtil.setCache(e.ownerDocument,"roles_with_given_types",i)),i},e.isWidget=function(t){if(!t)return!1;var i=l.CacheUtil.getCache(t.ownerDocument,"is_element_widget",null);if(null===i){var a=!1,r=e.getResolvedRole(t);return r&&n.ARIADefinitions.designPatterns[r]&&"widget"===n.ARIADefinitions.designPatterns[r].roleType&&(a=!0),l.CacheUtil.setCache(t.ownerDocument,"is_element_widget",a),a}return i},e.getSiblingWithRole=function(t,i){return e.getSiblingWithRoleHidden(t,i,!1)},e.getSiblingWithRoleHidden=function(t,i,a,l){var n=null,r=!1;if(t&&i){for(n=t.nextSibling;null!==n&&!r;)a&&u.CommonUtil.shouldNodeBeSkippedHidden(n)||(r=l?e.hasRoleInSemantics(n,i):e.hasRole(n,i,!1)),n=n.nextSibling;if(!n)for(n=t.previousSibling;null!==n&&!r;)a&&u.CommonUtil.shouldNodeBeSkippedHidden(n)||(r=e.hasRole(n,i,l)),n=n.previousSibling}return n},e.getDescendantWithRole=function(t,i){return e.getDescendantWithRoleHidden(t,i,!1)},e.getDescendantWithRoleHidden=function(t,i,a,l){for(var n=null,r=new o.DOMWalker(t);r.nextNode()&&r.node!=t&&r.node!=t.nextSibling;)if((!a||!u.CommonUtil.shouldNodeBeSkippedHidden(r.node))&&(l?e.hasRoleInSemantics(r.node,i):e.hasRole(r.node,i,!1))){n=r.node;break}return n},e.getAllDescendantsWithRoles=function(t,i,a,l){if(i&&0!==i.length){var n=[];return i.forEach((function(i){var r=e.getAllDescendantsWithRoleHidden(t,i,a,l);r&&r.length>0&&(n=n.concat(r))})),n}},e.getAllDescendantsWithRoleHidden=function(t,i,a,l){for(var n=[],r=new o.DOMWalker(t);r.nextNode()&&r.node!=t&&r.node!=t.nextSibling;)r.bEndTag||a&&u.CommonUtil.shouldNodeBeSkippedHidden(r.node)||e.hasRole(r.node,i,l)&&n.push(r.node);return n},e.getDirectATChildren=function(t){var i=e.getRequiredChildRoles(t,!0),a=[];return e.retrieveDirectATChildren(t,i,a),a},e.retrieveDirectATChildren=function(t,i,a){var l=[];if(null!==t.children&&t.children.length>0)for(var n=0;n<t.children.length;n++)l.push(t.children[n]);var r=t.getAttribute("aria-owns");if(r){var o=t.ownerDocument;if(o){var u=r.split(" ");for(n=0;n<u.length;n++){var d=o.getElementById(u[n]);d&&l.push(d)}}}if(l.length>0){for(n=0;n<l.length;n++)if(!s.VisUtil.isNodeHiddenFromAT(l[n])&&s.VisUtil.isNodeVisible(l[n])){var c=e.getRoles(l[n],!1);null!==c&&0!==c.length||(c=e.getImplicitRole(l[n])),c&&null!==c&&c.length>0&&(c=c.filter((function(e){return"none"!==e&&"presentation"!==e}))).includes("group")&&i&&i.includes("group")&&(c=c.filter((function(e){return"group"!==e}))),c&&null!==c&&c.length>0?a.push(l[n]):e.retrieveDirectATChildren(l[n],i,a)}return null}return null},e.getRequiredChildRoles=function(t,i){var a=e.getRoles(t,!1);if(a&&0!==a.length||!i||(a=e.getImplicitRole(t)),!a||0===a.length)return null;var l=["none","presentation"];if(a.some((function(e){return l.includes(e)})))return null;for(var r=n.ARIADefinitions.designPatterns,o=new Array,s=0;s<a.length;++s)r[a[s]]&&null!==r[a[s]].reqChildren&&(o=u.CommonUtil.concatUniqueArrayItemList(r[a[s]].reqChildren,o));return o},e.getAriaOwnsWithRole=function(t,i){return e.getAriaOwnsWithRoleHidden(t,i,!1)},e.getAriaOwnsWithRoleHidden=function(t,i,a,l){var n=null,r=!1;if(u.CommonUtil.attributeNonEmpty(t,"aria-owns")){var o=t.getAttribute("aria-owns");if(n=d.FragmentUtil.getById(t,o),c.DOMUtil.sameNode(t,n))return null;r=a&&null!=n&&u.CommonUtil.shouldNodeBeSkippedHidden(n)?null:e.hasRole(n,i,l)}return r?n:null},e.hasAriaLabel=function(e){return u.CommonUtil.attributeNonEmpty(e,"aria-label")||u.CommonUtil.attributeNonEmpty(e,"aria-labelledby")},e.hasUniqueAriaLabelsLocally=function(e,t){if(0===e.length)return!1;var i=e[0].ownerDocument,a=!1,n=null;t&&(n=l.CacheUtil.getCache(i,"AriaUtil_HAS_UNIQUE_ARIA_LABELS",null)),null===n&&(n={});for(var r=0;!a&&r<e.length;++r)if(e[r].hasAttribute)if(e[r].hasAttribute("aria-label")){var o=u.CommonUtil.normalizeSpacing(e[r].getAttribute("aria-label")).toLowerCase();a=o in n,n[o]=!0}else if(e[r].hasAttribute("aria-labelledby")){var s=e[r].getAttribute("aria-labelledby"),m=d.FragmentUtil.getById(e[r],s),p=m&&!c.DOMUtil.sameNode(m,e[r])?u.CommonUtil.getInnerText(m):"",h=u.CommonUtil.normalizeSpacing(p).toLowerCase();a=h in n,n[h]=!0}else a=!0;return t&&l.CacheUtil.setCache(i,"AriaUtil_HAS_UNIQUE_ARIA_LABELS",n),!a},e.getAriaLabel=function(e){if(e.hasAttribute){if(e.hasAttribute("aria-labelledby")){for(var t=e.getAttribute("aria-labelledby").trim().split(" "),i="",a=0,l=t.length;a<l;++a){var n=t[a],r=d.FragmentUtil.getById(e,n),o=r&&!c.DOMUtil.sameNode(r,e)?u.CommonUtil.getInnerText(r):"";i+=u.CommonUtil.normalizeSpacing(o).toLowerCase()}return i.trim()}if(e.hasAttribute("aria-label"))return u.CommonUtil.normalizeSpacing(e.getAttribute("aria-label")).toLowerCase().trim()}return""},e.getAriaDescription=function(e){if(!e)return"";var t="",i=e.getAttribute("aria-labelledby");if(i&&i.trim().length>0){for(var a=i.trim().split(" "),l=0,n=a.length;l<n;++l){var r=a[l],o=d.FragmentUtil.getById(e,r),s=o&&!c.DOMUtil.sameNode(o,e)?u.CommonUtil.getInnerText(o):"";s&&s.trim().length>0&&(t+=u.CommonUtil.normalizeSpacing(s).toLowerCase())}if(t.trim().length>0)return t.trim()}return(i=e.getAttribute("aria-description"))&&i.trim().length>0?i.trim().toLowerCase():""},e.findAriaLabelDupes=function(t){var i={};return t.forEach((function(t){i[e.getAriaLabel(t)]=(i[e.getAriaLabel(t)]||0)+1})),i},e.hasUniqueAriaLabels=function(t){return e.hasUniqueAriaLabelsLocally(t,!0)},e.hasDuplicateAriaLabelsLocally=function(e,t){if(0===e.length)return!1;var i=e[0].ownerDocument,a=null,n=new Array;t&&(a=l.CacheUtil.getCache(i,"AriaUtil_HAS_UNIQUE_ARIA_LABELS",null)),null===a&&(a={});for(var r=0;r<e.length;++r)if(e[r].hasAttribute)if(e[r].hasAttribute("aria-label")){var o=u.CommonUtil.normalizeSpacing(e[r].getAttribute("aria-label")).toLowerCase();a[o]=!0,o in n||(n[o]=new Array),n[o].push(e[r].nodeName.toLowerCase())}else if(e[r].hasAttribute("aria-labelledby")){for(var s=e[r].getAttribute("aria-labelledby").trim().split(" "),m="",p=0,h=s.length;p<h;++p){var _=s[p],b=d.FragmentUtil.getById(e[r],_),g=b&&!c.DOMUtil.sameNode(b,e[r])?u.CommonUtil.getInnerText(b):"";m+=u.CommonUtil.normalizeSpacing(g).toLowerCase()}a[m]=!0,m in n||(n[m]=new Array),n[m].push(e[r].nodeName.toLowerCase())}return t&&l.CacheUtil.setCache(i,"AriaUtil_HAS_UNIQUE_ARIA_LABELS",a),n},e.hasDuplicateAriaLabels=function(t){return e.hasDuplicateAriaLabelsLocally(t,!0)},e.hasUniqueAriaLabelledby=function(e){for(var t=!1,i={},a=0;!t&&a<e.length;++a)if(e[a].hasAttribute&&e[a].hasAttribute("aria-labelledby")&&!u.CommonUtil.isIdReferToSelf(e[a],e[a].getAttribute("aria-labelledby"))){var l=u.CommonUtil.normalizeSpacing(e[a].getAttribute("aria-labelledby"));t=l in i,i[l]=!0}else t=!0;return!t},e.getElementAriaProperty=function(t){var i=l.CacheUtil.getCache(t,"AriaUtil_ElementAriaProperty",null);if(!i){var r=null;if(t.tagName?r=t.tagName.toLowerCase():t.nodeName&&(r=t.nodeName.toLowerCase()),null==(i=n.ARIADefinitions.documentConformanceRequirement[r])){var o=n.ARIADefinitions.documentConformanceRequirementSpecialTags[r];switch(r){case"a":case"area":i=u.CommonUtil.attributeNonEmpty(t,"href")?o["with-href"]:o["without-href"];break;case"figure":var s=u.CommonUtil.getChildByTag(t,"figcaption");i=null!==s&&s.length>0?o["child-figcaption"]:o["no-child-figcaption"];break;case"footer":case"header":i=null!==e.getAncestorWithRole(t,"article",!0)||null!==e.getAncestorWithRole(t,"complementary",!0)||null!==e.getAncestorWithRole(t,"navigation",!0)||null!==e.getAncestorWithRole(t,"region",!0)||null!==u.CommonUtil.getAncestor(t,["article","aside","main","nav","section"])?o["des-section-article-aside-main-nav"]:o.other;break;case"img":var d=t.hasAttribute("alt")?t.getAttribute("alt"):null,m=t.hasAttribute("title")?t.getAttribute("title"):null;i=0!==e.getAriaLabel(t).trim().length||null!==d&&d.length>0||null!==m&&m.length>0?o["img-with-accname"]:null!==d?o["img-without-accname-empty-alt"]:o["img-without-accname-no-alt"];break;case"input":if(u.CommonUtil.attributeNonEmpty(t,"type")){var p=t.getAttribute("type").trim().toLowerCase();if(null==(i=o[p]))switch(p){case"checkbox":i=u.CommonUtil.attributeNonEmpty(t,"aria-pressed")?o["checkbox-with-aria-pressed"]:o["checkbox-without-aria-pressed"];break;case"email":i=u.CommonUtil.attributeNonEmpty(t,"list")?o["email-with-list"]:o["email-no-list"];break;case"search":i=u.CommonUtil.attributeNonEmpty(t,"list")?o["search-with-list"]:o["search-no-list"];break;case"tel":i=u.CommonUtil.attributeNonEmpty(t,"list")?o["tel-with-list"]:o["tel-no-list"];break;case"text":i=u.CommonUtil.attributeNonEmpty(t,"list")?o["text-with-list"]:o["text-no-list"];break;case"url":i=u.CommonUtil.attributeNonEmpty(t,"list")?o["url-with-list"]:o["url-no-list"];break;default:i=u.CommonUtil.attributeNonEmpty(t,"list")?o["default-with-list"]:o["default-no-list"]}}else i=u.CommonUtil.attributeNonEmpty(t,"list")?o["text-with-list"]:o["text-no-list"];break;case"li":o=n.ARIADefinitions.documentConformanceRequirementSpecialTags.li,i=t.parentElement&&e.hasRoleInSemantics(t.parentElement,"list")?o["child-of-list-role"]:o["no-child-of-list-role"];break;case"section":var h=e.getAriaLabel(t);i=h&&h.trim().length>0||u.CommonUtil.attributeNonEmpty(t,"title")?o["with-name"]:o["without-name"];break;case"select":o=n.ARIADefinitions.documentConformanceRequirementSpecialTags.select,i=t.hasAttribute("multiple")||u.CommonUtil.attributeNonEmpty(t,"size")&&t.getAttribute("size")>1?o["multiple-attr-size-gt1"]:o["no-multiple-attr-size-gt1"];break;case"summary":o=n.ARIADefinitions.documentConformanceRequirementSpecialTags.summary,i=t.parentElement&&"details"===t.parentElement.nodeName.toLowerCase()&&c.DOMUtil.sameNode(a([],t.parentElement.children,!0).filter((function(e){return"summary"===e.nodeName.toLowerCase()}))[0],t)?o["first-summary-of-detail"]:o["no-first-summary-of-detail"];break;case"tbody":case"td":case"tr":i=null!==e.getAncestorWithRole(t,"table",!0)?o["des-table"]:e.getAncestorWithRole(t,"grid",!0)||e.getAncestorWithRole(t,"treegrid",!0)?o["des-grid"]:o["des-other"];break;case"th":i=null!==e.getAncestorWithRole(t,"table",!0)||null!==e.getAncestorWithRole(t,"grid",!0)||null!==e.getAncestorWithRole(t,"treegrid",!0)?"column"===u.CommonUtil.getScopeForTh(t)?o["des-table-grid-treegrid-column-scope"]:o["des-table-grid-treegrid-row-scope"]:o["des-other"];break;case"div":var _=t.parentElement;i=null!==_&&"dl"===_.nodeName.toLowerCase()?o["child-dl"]:o["no-child-dl"];break;default:i=n.ARIADefinitions.documentConformanceRequirementSpecialTags.default}}}return l.CacheUtil.setCache(t,"AriaUtil_ElementAriaProperty",i),i||null},e.getAllowedAriaRoles=function(t,i){var a=l.CacheUtil.getCache(t,"AriaUtil_AllowedAriaRoles",null);if(!a){a=[];var n;if(null!=(n=null!=i?i:e.getElementAriaProperty(t))){null!==n.implicitRole&&u.CommonUtil.concatUniqueArrayItemList(n.implicitRole,a),null!==n.validRoles&&u.CommonUtil.concatUniqueArrayItemList(n.validRoles,a);var r=e.getImplicitRole(t);r&&r.length>0&&u.CommonUtil.concatUniqueArrayItemList(n.validRoles,a)}l.CacheUtil.setCache(t,"AriaUtil_AllowedAriaRoles",a)}return a},e.getAllowedAriaAttributes=function(t,i,r){var o=l.CacheUtil.getCache(t,"AriaUtil_AllowedAriaAttributes",null);if(!o){o=[];var s=a([],i,!0),d=t.tagName.toLowerCase(),c=[];n.ARIADefinitions.elementsAllowedDisabled.indexOf(d)>-1&&(o=u.CommonUtil.concatUniqueArrayItem("aria-disabled",o)),n.ARIADefinitions.elementsAllowedRequired.indexOf(d)>-1&&(o=u.CommonUtil.concatUniqueArrayItem("aria-required",o)),n.ARIADefinitions.elementsAllowedReadOnly.indexOf(d)>-1&&(o=u.CommonUtil.concatUniqueArrayItem("aria-readonly",o));var m=null;if(null!=(m=null!=r&&void 0!==r?r:e.getElementAriaProperty(t))){if(null!==m.implicitRole&&(null==s||0===s.length)&&void 0===m.allowAttributesFromImplicitRole)for(var p=0;p<m.implicitRole.length;p++){var h=n.ARIADefinitions.designPatterns[m.implicitRole[p]];if(null!=h){var _=h.props;u.CommonUtil.concatUniqueArrayItemList(_,o),_=e.getRoleRequiredProperties(m.implicitRole[p],t),u.CommonUtil.concatUniqueArrayItemList(_,o),(v=h.prohibitedProps)&&v.length>0&&u.CommonUtil.concatUniqueArrayItemList(v,c),"separator"===m.implicitRole[p]&&u.CommonUtil.isFocusable(t)&&u.CommonUtil.concatUniqueArrayItemList(["aria-disabled","aria-valuenow","aria-valuemax","aria-valuemin","aria-valuetext"],o)}}if(m.globalAriaAttributesValid){var b=n.ARIADefinitions.globalProperties;u.CommonUtil.concatUniqueArrayItemList(b,o)}}for(m&&m.otherRolesForAttributes&&m.otherRolesForAttributes.length>0&&u.CommonUtil.concatUniqueArrayItemList(m.otherRolesForAttributes,s),p=0;null!==s&&p<s.length;p++){var g=n.ARIADefinitions.designPatterns[s[p]];if(null!=g){if(!m||null===m.implicitRole||!m.implicitRole.includes(s[p])||m.implicitRole.includes(s[p])&&void 0===m.allowAttributesFromImplicitRole){var f=g.props;u.CommonUtil.concatUniqueArrayItemList(f,o),f=e.getRoleRequiredProperties(s[p],t),u.CommonUtil.concatUniqueArrayItemList(f,o)}var v;(v=g.prohibitedProps)&&v.length>0&&u.CommonUtil.concatUniqueArrayItemList(v,c),"separator"===s[p]&&u.CommonUtil.isFocusable(t)&&u.CommonUtil.concatUniqueArrayItemList(["aria-disabled","aria-valuemax","aria-valuemin","aria-valuetext"],o)}}if(s.includes("row")&&null==e.getAncestorWithRole(t,"treegrid",!0)){var A=-1;(A=o.indexOf("aria-level"))>-1&&o.splice(A,1),(A=o.indexOf("aria-setsize"))>-1&&o.splice(A,1),(A=o.indexOf("aria-posinset"))>-1&&o.splice(A,1)}if(m&&m.otherAllowedAriaAttributes&&m.otherAllowedAriaAttributes.length>0){for(var y=[],w=0;w<m.otherAllowedAriaAttributes.length;w++)if((x=m.otherAllowedAriaAttributes[w]).includes("=")){var k=x.split("=");t.getAttribute(k[0])===k[1]&&y.push(k[0])}else y.push(x);y.length>0&&u.CommonUtil.concatUniqueArrayItemList(y,o)}if(m&&m.otherDisallowedAriaAttributes&&m.otherDisallowedAriaAttributes.length>0){var C=[];for(w=0;w<m.otherDisallowedAriaAttributes.length;w++){var x;(x=m.otherDisallowedAriaAttributes[w]).includes("=")?(k=x.split("="),t.getAttribute(k[0])===k[1]&&C.push(k[0])):C.push(x)}C.length>0&&u.CommonUtil.concatUniqueArrayItemList(C,c)}o=u.CommonUtil.reduceArrayItemList(c,o),i&&0!==i.length||null!==m.implicitRole||!m.prohibitedAriaAttributesWhenNoImplicitRole||(o=u.CommonUtil.reduceArrayItemList(m.prohibitedAriaAttributesWhenNoImplicitRole,o)),l.CacheUtil.setCache(t,"AriaUtil_AllowedAriaAttributes",o)}return o},e.getConflictOrOverlappingHtmlAttribute=function(e,t,i){var a=n.ARIADefinitions.relatedAriaHtmlAttributes[e.name];if(a){if(!e||0==e.length||!t||0==t.length)return[];var l=[],r=null;if("conflict"===i){if(!a.conflict||0===Object.keys(a.conflict).length)return null;r=a.conflict}else{if("overlapping"!==i)return null;if(!a.overlapping||0===Object.keys(a.overlapping).length)return null;r=a.overlapping}for(var o=!1,s=!1,u=0;u<r.length;u++)for(var d=r[u].ariaAttributeValue,c=r[u].htmlAttributeNames,m=r[u].htmlAttributeValues,p=0;p<t.length;p++){var h=c.indexOf(t[p].name);if(-1!==h){o=!0;var _=null===m||null===m[h]?null:m[h].split(",");null===d?(null===_||_.includes(t[p].value))&&(l.push({result:"Failed",attr:t[p].name}),s=!0):null===_?d===e.value&&(l.push({result:"Failed",attr:t[p].name}),s=!0):("VALUE"===d&&_.includes("VALUE")&&_[0]!==e.value||d===e.value&&_.includes(t[p].value))&&(l.push({result:"Failed",attr:t[p].name}),s=!0)}}return o&&!s&&l.push({result:"Pass",attr:""}),l}return null},e.containsPresentationalChildrenOnly=function(t){var i=e.getRoles(t,!1);if(i&&0!==i.length||(i=e.getImplicitRole(t)),!i||0===i.length)return!1;for(var a=0;null!==i&&a<i.length;a++){var l=n.ARIADefinitions.designPatterns[i[a]];if(null!=l&&!0===l.presentationalChildren)return!0}return!1},e.shouldBePresentationalChild=function(t){for(var i=o.DOMWalker.parentElement(t);i;){if(e.containsPresentationalChildrenOnly(i))return!0;i=r.ARIAMapper.getAriaOwnedBy(i)||o.DOMWalker.parentElement(i)}return!1},e.areRolesDefined=function(e){if(!e||0===e.length)return null;for(var t=n.ARIADefinitions.designPatterns,i=0,a=e;i<a.length;i++)if(!(a[i].toLowerCase()in t))return!1;return!0},e.getInvalidRoles=function(t){var i=e.getUserDefinedRoles(t);if(!i||0===i.length)return null;if(i&&i.includes("generic"))return["generic"];var a=e.getElementAriaProperty(t),l=e.getAllowedAriaRoles(t,a);if(!l||0===l.length)return i;var n=[];if(l.includes("any"))return[];for(var r=0;r<i.length;r++)l.includes(i[r])||n.includes(i[r])||n.push(i[r]);return n},e.getRolesUndefinedByAria=function(t){if(!t)return null;var i=e.getRoles(t,!1),a=[];if(i&&i.length>0)for(var l=n.ARIADefinitions.designPatterns,r=0;r<i.length;r++)i[r]in l||a.push(i[r]);return a},e.getInvalidAriaAttributes=function(t){var i=e.getUserDefinedRoles(t),a=e.areRolesDefined(i);if(null!==a&&!a)return null;var l=[];i&&0!=i.length||(i=e.getImplicitRole(t));var n=e.getUserDefinedAriaAttributes(t),r=e.getElementAriaProperty(t),o=e.getAllowedAriaAttributes(t,i,r);if(n)for(var s=0;s<n.length;s++){var u=n[s].trim().toLowerCase();o.includes(u)||l.includes(u)||l.push(u)}return l},e.getConflictAriaAndHtmlAttributes=function(t){var i=e.getUserDefinedAriaAttributeNameValuePairs(t),a=e.getUserDefinedHtmlAttributeNameValuePairs(t),l=[];if(i&&i.length>0&&a&&a.length>0)for(var n=function(t){var n=e.getConflictOrOverlappingHtmlAttribute(i[t],a,"conflict");if(null===n)return"continue";n.forEach((function(e){"Failed"===e.result&&l.push({ariaAttr:i[t].name,htmlAttr:e.attr})}))},r=0;r<i.length;r++)n(r);return l},e.getDeprecatedAriaRoles=function(t){if(!t)return null;var i=e.getRoles(t,!1),a=[];if(i&&i.length>0)for(var l=n.ARIADefinitions.globalDeprecatedRoles,r=0;r<i.length;r++)l.includes(i[r])&&a.push(i[r]);return a},e.getDeprecatedAriaAttributes=function(t){if(!t)return null;var i=t.attributes,a=[];if(i)for(var l=0;l<i.length;l++){var r=i[l].name;"aria-"===r.substring(0,5)&&a.push(r)}if(0===a.length)return[];var o=[],s=n.ARIADefinitions.globalDeprecatedProperties;for(l=0;l<a.length;l++)s.includes(a[l])&&o.push({role:"any",attribute:a[l]});var u=e.getRoles(t,!1);if(u&&u.length>0)for(l=0;l<u.length;l++){var d=n.ARIADefinitions.designPatterns[u[l]];if(d){var c=d.deprecatedProps;if(c&&c.length>0)for(var m=0;m<a.length;m++)c.includes(a[m])&&o.push({role:u[l],attribute:a[m]})}}return o},e.isNodeInGrid=function(t){return null!=e.getAncestorWithRole(t,"grid")},e.navLinkKeywords=["start","next","prev","previous","contents","index"],e.rulesThatHaveToCheckHidden=["RPT_Elem_UniqueId"],e.ariaAttributeRoleDefaults={alert:{"aria-live":"assertive","aria-atomic":"true"},combobox:{"aria-haspopup":"listbox"},listbox:{"aria-orientation":"vertical"},log:{"aria-live":"polite"},menu:{"aria-orientation":"vertical"},menubar:{"aria-orientation":"horizontal"},meter:{"aria-valuemin":"0","aria-valuemax":"100"},option:{"aria-selected":"false"},progressbar:{"aria-valuemin":"0","aria-valuemax":"100"},scrollbar:{"aria-orientation":"vertical","aria-valuemin":"0","aria-valuemax":"100"},separator:{"aria-orientation":"horizontal","aria-valuemin":"0","aria-valuemax":"100"},slider:{"aria-orientation":"horizontal","aria-valuemin":"0","aria-valuemax":"100"},spinbutton:{},status:{"aria-live":"polite","aria-atomic":"true"},tab:{"aria-selected":"false"},tablist:{"aria-orientation":"horizontal"},toolbar:{"aria-orientation":"horizontal"},tree:{"aria-orientation":"vertical"}},e.ariaAttributeGlobalDefaults={"aria-atomic":"false","aria-autocomplete":"none","aria-busy":"false","aria-checked":void 0,"aria-current":"false","aria-disabled":"false","aria-dropeffect":"none","aria-expanded":void 0,"aria-grabbed":void 0,"aria-haspopup":"false","aria-hidden":void 0,"aria-invalid":"false","aria-live":"off","aria-modal":"false","aria-multiline":"false","aria-multiselectable":"false","aria-orientation":void 0,"aria-pressed":void 0,"aria-readonly":"false","aria-required":"false","aria-selected":void 0,"aria-sort":"none"},e.ariaAttributeImplicitMappings={"aria-autocomplete":{form:function(e){return"off"===e.getAttribute("autocomplete")?"none":"both"},input:function(e){return"off"===e.getAttribute("autocomplete")?"none":"both"},select:function(e){return"off"===e.getAttribute("autocomplete")?"none":"both"},textarea:function(e){return"off"===e.getAttribute("autocomplete")?"none":"both"}},"aria-checked":{input:function(e){return e.hasAttribute("indeterminate")?"mixed":""+e.hasAttribute("checked")},menuitem:function(e){return e.hasAttribute("indeterminate")?"mixed":""+e.hasAttribute("checked")},"*":function(e){if(e.hasAttribute("indeterminate"))return"mixed"}},"aria-disabled":{button:function(e){return e.hasAttribute("disabled")?"true":"false"},fieldset:function(e){return e.hasAttribute("disabled")?"true":"false"},input:function(e){return e.hasAttribute("disabled")?"true":"false"},optgroup:function(e){return e.hasAttribute("disabled")?"true":"false"},option:function(e){return e.hasAttribute("disabled")?"true":"false"},select:function(e){return e.hasAttribute("disabled")?"true":"false"},textarea:function(e){return e.hasAttribute("disabled")?"true":"false"}},"aria-expanded":{details:function(e){return e.getAttribute("open")},dialog:function(e){return e.getAttribute("open")}},"aria-multiselectable":{select:function(e){if(e.hasAttribute("multiple"))return"true"}},"aria-placeholder":{input:function(e){return e.getAttribute("placeholder")},textarea:function(e){return e.getAttribute("placeholder")}},"aria-required":{input:function(e){return e.getAttribute("required")},select:function(e){return e.getAttribute("required")},textarea:function(e){return e.getAttribute("required")}}},e}();t.AriaUtil=m},1775:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CSSUtil=void 0;var a=i(7788),l=i(8137),n=i(490),r=i(5697),o=i(7440),s=function(){function e(){}return e.selectorMatchesElem=function(e,t){try{if(""===t.trim())return!1;if("function"==typeof e.matches)return e.matches(t);if("function"==typeof e.matchesSelector)return e.matchesSelector(t);for(var i=(e.document||e.ownerDocument).querySelectorAll(t),a=0;a<i.length&&i[a]!==e;)++a;return a<i.length}catch(e){return!1}},e.getComputedStyle=function(e,t){return e?e.ownerDocument.defaultView.getComputedStyle(e,t):null},e.getDefinedStyles=function(t,i){if(!t)return null;var l={},n={};function r(e,t){for(var i=0;i<t.length;++i){if("all"===t[i]&&t[t[i]]){for(var a=0,l=e;a<l.length;a++){var n=l[a];for(var r in n)delete n[r]}break}r=t[i];for(var o=0,s=e;o<s.length;o++){n=s[o];var u=t.getPropertyPriority(r);if(r in n&&n[r].endsWith("!important")){if("important"!==u||n[r].startsWith("inherit")||n[r].startsWith("unset"))continue;n[r]=t[r]+" !important"}else n[r]=t[r]+("important"===u?" !important":"")}}}var o=a.CacheUtil.getCache(t,"RPTUtil_DefinedStyles",null);if(!i&&o)l=o.definedStyles,n=o.definedStylePseudo;else{for(var s=0;s<t.ownerDocument.styleSheets.length;++s){var u=t.ownerDocument.styleSheets[s];try{if(u&&u.cssRules)for(var d=0;d<u.cssRules.length;++d){var c=u.cssRules[d],m=c.selectorText;if(m){var p=m.match(/^(.*)(:[a-zA-Z-]*)$/),h=!!p,_=h?p[1]:m,b=(h?p[2]:"")===i;i&&":focus"===i&&(_=_.replace(/([ >][^+~ >]+):focus-within/g,"$1")),!h&&e.selectorMatchesElem(t,_)&&r([l,n],c.style),b&&e.selectorMatchesElem(t,_)&&r([n],c.style)}}}catch(e){if(!e.toString().includes("Cannot access rules")&&!e.toString().includes("SecurityError:"))throw e}}r([l,n],t.style),a.CacheUtil.setCache(t,"RPTUtil_DefinedStyles",{definedStyles:l,definedStylePseudo:n})}if(i){for(var g in n)n[g]===l[g]&&delete n[g];return n}return l},e.getMediaOrientationTransform=function(e){for(var t={},i=0;i<e.styleSheets.length;++i){var a=e.styleSheets[i];try{if(a&&a.cssRules)for(var l=0;l<a.cssRules.length;++l){var n=a.cssRules[l];if(4===n.MEDIA_RULE){var r=n;if(r&&r.media)for(var o=r.media,s=0;s<o.length;s++)if(o.item(s)){var u=t[o.item(s).toLocaleLowerCase()];u||(u={});for(var d=r.cssRules,c=0;c<d.length;++c){if(1===d[c].STYLE_RULE){var m=d[c],p=m.selectorText;if(p)for(var h={},_=m.style,b=0;b<_.length;++b){var g=_[b];if("transform"===g.toLocaleLowerCase()){if("all"===g&&_[g]){delete h[g];break}h[g]=_[g]}else"rotate"===g.toLocaleLowerCase()&&(h[g]=_[g]);u[p]=h}}o.item(c)&&(t[o.item(c).toLocaleLowerCase()]=u)}}}}}catch(e){if(!e.toString().includes("Cannot access rules")&&!e.toString().includes("SecurityError:"))throw e}}return t},e.getRotationDegree=function(e){var t=0;try{if(!e)return t;for(var i=(e=e.replaceAll(", ",",")).split(" "),a=0;a<i.length;a++){var l=i[a].trim();if(""!==l)if(l.startsWith("rotate3d")){var n=l.indexOf("("),r=l.indexOf(")");if(-1!==n&&-1!==r){var o=l.substring(n+1,r),s=void 0;if(o&&(s=o.split(",")),s&&4===s.length){if(!(d=s[3]))continue;if((d=d.trim()).endsWith("turn")){var u=d.substring(0,d.length-4);u=parseFloat(u),isNaN(u)||(t=360*u)}else d.endsWith("rad")?(u=d.substring(0,d.length-3),u=parseFloat(u),isNaN(u)||(t=180*u/Math.PI)):d.endsWith("deg")&&(u=d.substring(0,d.length-3),u=parseFloat(u),isNaN(u)||(t+=u))}}}else if(l.startsWith("rotate")||l.startsWith("rotateZ")){if(n=l.indexOf("("),r=l.indexOf(")"),-1!==n&&-1!==r){var d;if(!(d=l.substring(n+1,r)))continue;(d=d.trim()).endsWith("turn")?(u=d.substring(0,d.length-4),u=parseFloat(u),isNaN(u)||(t=360*u)):d.endsWith("rad")?(u=d.substring(0,d.length-3),u=parseFloat(u),isNaN(u)||(t=180*u/Math.PI)):d.endsWith("deg")&&(u=d.substring(0,d.length-3),u=parseFloat(u),isNaN(u)||(t+=u))}}else if(l.startsWith("matrix3d")){if(n=l.indexOf("("),r=l.indexOf(")"),-1!==n&&-1!==r&&(o=l.substring(n+1,r),s=null,o&&(s=o.split(",")),null!==s)){var c=Math.atan2(s[4],s[5]);t+=Math.round(Math.round(180*c/Math.PI))}}else l.startsWith("matrix")&&(n=l.indexOf("("),r=l.indexOf(")"),-1!==n&&-1!==r&&(o=l.substring(n+1,r),s=null,o&&(s=o.split(",")),null!==s&&(c=Math.atan2(s[1],s[0]),t+=Math.round(Math.round(180*c/Math.PI)))))}for(;t>=360;)t-=360}catch(e){throw console.log("Cannot retrieve rotation degree: "+e),e}return t},e.getPixelsFromStyle=function(t,i){if(!t)return 0;var a=t.trim().match(/(-?[\d.]+)([a-z%]*)/);if(null===a)return 0;if(""===a[2]||0===a[1])return 0;var l=e.convertValue2Pixels(a[2],a[1],i);return null===l?l:parseFloat(l)},e.convertValue2Pixels=function(e,t,i){if(0==t)return 0;var a={px:function(e){return e},cm:function(e){return 37.8*e},mm:function(e){return 3.78*e},q:function(e){return.95*e},in:function(e){return 96*e},pc:function(e){return 16*e},pt:function(e){return 1.33*e},rem:function(e){return e*parseFloat(getComputedStyle(i.ownerDocument.documentElement).getPropertyValue("font-size"))},em:function(e){return e*parseFloat(getComputedStyle(i).getPropertyValue("font-size"))},vw:function(e){return e/100*i.ownerDocument.defaultView.innerWidth},vh:function(e){return e/100*i.ownerDocument.defaultView.innerHeight},"%":function(e){return e/100*parseFloat(getComputedStyle(i).getPropertyValue("font-size"))}};return e in a?a[e](t):null},e.isMaterialIconFont=function(t){var i={"Material Icons":"https://fonts.googleapis.com/icon?family=Material+Icons"},a=e.getDefinedStyles(t)["font-family"],l=!1;if(a&&a.split(",")[0].replace(/['"]+/g,"").trim()in i&&(l=!0),!l){var n=t.classList;for(var r in{"material-icons":"https://fonts.googleapis.com/icon?family=Material+Icons"})if(n.contains(r)){l=!0;break}}if(!l)return!1;for(var o=!1,s=t.ownerDocument.styleSheets,u=0;u<s.length;u++)if(s&&s.length>0&&Object.values(i).indexOf(s[u].href)>-1){o=!0;break}return o},e.getWeightNumber=function(e){var t={light:100,bold:700};return parseInt(e)||(e in t?t[e]:400)},e.getFontInPixels=function(t,i){var a=parseFloat(t);if(!a)return{"xx-small":16,"x-small":10,small:13,medium:16,large:18,"x-large":24,"xx-large":32}[t];var l=t.substring((""+a).length);return e.convertValue2Pixels(l,a,i)},e.getCSSStyle=function(e){var t="";if(null===e)return[];if(e.IBM_CSS_THB)return e.IBM_CSS_THB;if("style"===e.nodeName.toLowerCase())void 0!==(t=e.innerText)&&""!==t.trim()||(t=e.textContent);else{if(!e.hasAttribute("style"))return[];t=e.getAttribute("style")}if(null===t||0===t.trim().length)return[];var i=/\s*([^:\s]+)\s*:\s*([^;$}]+)\s*(;|$)/g,a=/\s*([^{]*){([^}]*)}/g;if(-1===(t=t.replace(/(\/\*+(?:(?:(?:[^\*])+)|(?:[\*]+(?!\/)))[*]+\/)|\/\/.*/g," ")).indexOf("{")){for(var l={},n=void 0;null!=(n=i.exec(t));)l[n[1]]=n[2].trim().toLowerCase();var r=[{selector:null,values:l}];return e.IBM_CSS_THB=r,r}r=[],n=void 0;for(var o=void 0;null!=(n=a.exec(t));){l={};for(var s=n[1],u=n[2];null!=(o=i.exec(u));)l[o[1]]=o[2].trim().toLowerCase();r.push({selector:s,values:l})}return e.IBM_CSS_THB=r,r},e.getInlineStatus=function(e){if(!e)return null;var t=getComputedStyle(e);if(!t)return null;var i={inline:!1,text:!1,violation:null};if("inline"!==t.getPropertyValue("display"))return i;i.inline=!0;var a=e.parentElement;if(!a)return i;var n=new r.DOMMapper,o=n.getUnadjustedBounds(e),s=getComputedStyle(a).getPropertyValue("display");if("block"!==s&&"inline-block"!==s)return l.CommonUtil.isInnerTextOnlyEmpty(a)||(i.text=!0),i;function u(e,t){if(e.nodeType===Node.TEXT_NODE)return e.nodeValue&&e.nodeValue.trim().length>0?"yes":"no";if(e.nodeType===Node.ELEMENT_NODE){if("br"===e.nodeName.toLowerCase())return"block";if("inline"===getComputedStyle(e).getPropertyValue("display")){if(l.CommonUtil.isTarget(e)&&o.width<24){var a=n.getUnadjustedBounds(e);return t&&Math.round(o.width/2)+o.left-a.left<24||!t&&Math.round(o.width/2)+o.left-(a.left+a.width)<24?(i.violation=e.nodeName.toLowerCase(),"violation"):"no"}return l.CommonUtil.isInnerTextOnlyEmpty(e)?"no":"yes"}return"block"}return"block"}for(var d=e.nextSibling;d;){if("yes"===(c=u(d,!0))){i.text=!0;break}if("block"===c)break;d=d.nextSibling}for(d=e.previousSibling;d;){var c;if("yes"===(c=u(d,!1))){i.text=!0;break}if("block"===c)break;d=d.previousSibling}return i},e.isTargetBrowserDefault=function(t){if(!t)return!1;var i=n.AriaUtil.getRoles(t,!1);if(i&&i.length>0)return!1;var a=e.getDefinedStyles(t);return!(a["line-height"]||a.height||a.width||a["min-height"]||a["min-width"]||a["font-size"]||a["margin-top"]||a["margin-bottom"]||a["margin-left"]||a["margin-right"])},e.containsCKJ=function(e){return!!e&&e.trim().replace(/(?:[\u4e00-\u9fff\u3400-\u4dbf])+/g,"").length!==e.trim().length},e.getAncestorWithStyles=function(t,i,l){void 0===l&&(l=[]);for(var n=t;null!==n;){var r=a.CacheUtil.getCache(n,"AriaUtil_AncestorWithStyles",null);if(r)return r;var s=e.getDefinedStyles(n);for(var u in i){var d=s[u];if(d&&(d=d.split(" ")[0],!l.includes(d))){if(i[u].includes("*"))return a.CacheUtil.setCache(n,"AriaUtil_AncestorWithStyles",n),n;if(i[u].includes(d))return a.CacheUtil.setCache(n,"AriaUtil_AncestorWithStyles",n),n}}n=o.DOMWalker.parentElement(n)}return a.CacheUtil.setCache(t,"AriaUtil_AncestorWithStyles",void 0),null},e}();t.CSSUtil=s},7788:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CacheUtil=void 0;var a=i(7440),l=function(){function e(){}return e.getCache=function(e,t,i){if(e){var a=(9===e.nodeType||e.nodeType,e);return void 0===a.aceCache&&(a.aceCache={}),void 0===a.aceCache[t]&&(a.aceCache[t]=i),a.aceCache[t]}},e.setCache=function(e,t,i){if(e){var a=(9===e.nodeType||e.nodeType,e);return void 0===a.aceCache&&(a.aceCache={}),a.aceCache[t]=i,i}},e.clearCaches=function(e){delete e.ownerDocument.aceCache;var t=new a.DOMWalker(e,!1,e,!0);do{delete t.node.aceCache,t.node.ownerDocument&&delete t.node.ownerDocument.aceCache}while(t.nextNode())},e}();t.CacheUtil=l},8680:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ColorObj=t.ColorUtil=void 0;var a=i(7440),l=function(){function e(){}return e.Color=function(t){if(!t)return null;if("transparent"===(t=t.toLowerCase()))return new n(255,255,255,0);if(t in e.CSSColorLookup&&(t=e.CSSColorLookup[t]),t.startsWith("rgb(")){var i=/\s*rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/;return null===(a=t.match(i))?null:new n(a[1],a[2],a[3])}var a;if(t.startsWith("rgba("))return i=/\s*rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(.+)\s*\)/,null===(a=t.match(i))?null:new n(a[1],a[2],a[3],a[4]);if("#"!=t.charAt(0))return null;4===t.length&&(t="#"+t.charAt(1).repeat(2)+t.charAt(2).repeat(2)+t.charAt(3).repeat(2));var l=parseInt(t.substring(1,3),16),r=parseInt(t.substring(3,5),16),o=parseInt(t.substring(5,7),16);return new n(l,r,o)},e.ColorCombo=function(t){try{var i=t.ownerDocument;if(!i)return null;var l=i.defaultView;if(!l)return null;for(var n=[],r=t;r;)1===r.nodeType&&n.push(r),r=a.DOMWalker.parentElement(r);var o={hasGradient:!1,hasBGImage:!1,textShadow:!1,fg:null,bg:null},s=(b=l.getComputedStyle(t)).color;s||(s="black");for(var u=e.Color(s),d=/transparent|rgba?\([^)]+\)/gi,c=function(e,t,i){try{if(void 0===e.length)return e;for(var a=null,l=null,n=1;n<e.length;++n){for(var r=e[n-1],o=i.contrastRatio(e[n-1]),s=.1,u=0;s>1e-4;){for(;u+s<=1&&o>i.contrastRatio(e[n].mix(e[n-1],u+s).getOverlayColor(t));)r=e[n].mix(e[n-1],u+s).getOverlayColor(t),o=i.contrastRatio(r),u+=s;for(;u-s>=0&&o>i.contrastRatio(e[n].mix(e[n-1],u-s).getOverlayColor(t));)r=e[n].mix(e[n-1],u-s).getOverlayColor(t),o=i.contrastRatio(r),u-=s;s/=10}(null===l||l>o)&&(l=o,a=r)}return a}catch(e){console.log(e)}return t},m=e.Color("white"),p=null,h=null,_=null;n.length>0;){var b,g=n.pop();if(null!==(b=l.getComputedStyle(g))){var f=null;if(b.backgroundColor&&"transparent"!=b.backgroundColor&&"rgba(0, 0, 0, 0)"!=b.backgroundColor&&(f=e.Color(b.backgroundColor)),b.backgroundImage&&b.backgroundImage.indexOf&&-1!=b.backgroundImage.indexOf("gradient")){var v=b.backgroundImage.match(d);if(v){for(var A=[],y=0;y<v.length;++y)if(v[y].length){var w=e.Color(v[y]);if(void 0!==w.alpha&&w.alpha<1){var k=_||m;w=w.getOverlayColor(k)}A.push(w)}else v.splice(y--,1);f=c(A,_||m,u)}}null===p||b.opacity&&b.opacity.length>0&&parseFloat(b.opacity)<1?(null!=_&&(_.alpha=p*h,m=_.getOverlayColor(m)),p=1,h=null,_=null,b.opacity&&b.opacity.length>0&&(p=parseFloat(b.opacity)),null!=f&&(h=(_=f).alpha||1,delete _.alpha,1===p&&1===h&&(o.hasBGImage=!1,o.hasGradient=!1))):null!=f&&(null===_?(h=(_=f).alpha||1,delete _.alpha):h=(_=f.getOverlayColor(_)).alpha||1,1===p&&1===h&&1===(_.alpha||1)&&f.alpha),b.backgroundImage&&"none"!=b.backgroundImage&&(b.backgroundImage.indexOf&&-1!=b.backgroundImage.indexOf("gradient")?o.hasGradient=!0:o.hasBGImage=!0)}}return null!=_&&delete(u=u.getOverlayColor(_)).alpha,u.alpha=(u.alpha||1)*p,u=u.getOverlayColor(m),null!=_&&(_.alpha=p*h,m=_.getOverlayColor(m)),o.fg=u,o.bg=m,b.textShadow&&"none"!==b.textShadow&&(o.textShadow=!0),o}catch(e){return null}},e.CSSColorLookup={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32",buttontext:"rgba(0, 0, 0, 0.847)",buttonface:"#ffffff",graytext:"rgba(0, 0, 0, 0.247)"},e}();t.ColorUtil=l;var n=function(){function e(e,t,i,a){function l(e){if("string"!=typeof e)return e;var t=e;return"%"!=(t=t.trim())[t.length-1]?parseInt(t):Math.round(2.55*parseFloat(t.substring(0,t.length-1)))}this.red=l(e),this.green=l(t),this.blue=l(i),void 0!==a&&(this.alpha="string"==typeof a?parseFloat(a):a)}return e.prototype.toHexHelp=function(e){var t=Math.round(e).toString(16);return 1===t.length?"0"+t:t},e.prototype.toHex=function(){return"#"+this.toHexHelp(this.red)+this.toHexHelp(this.green)+this.toHexHelp(this.blue)},e.prototype.contrastRatio=function(e){var t=this;void 0!==this.alpha&&(t=this.getOverlayColor(e));var i=t.relativeLuminance();if(!e.relativeLuminance){var a="";for(var l in e)a+=l+"\n";alert(e),alert(a)}var n=e.relativeLuminance();return i>n?(i+.05)/(n+.05):(n+.05)/(i+.05)},e.prototype.relativeLuminance=function(){var e=this.red/255,t=this.green/255,i=this.blue/255;return.2126*(e=e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t=t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(i<=.04045?i/12.92:Math.pow((i+.055)/1.055,2.4))},e.prototype.mix=function(t,i){if(void 0===this.alpha&&void 0===t.alpha)return new e(i*this.red+(1-i)*t.red,i*this.green+(1-i)*t.green,i*this.blue+(1-i)*t.blue);var a=this.alpha?this.alpha:1,l=t.alpha?t.alpha:1;return new e(i*this.red+(1-i)*t.red,i*this.green+(1-i)*t.green,i*this.blue+(1-i)*t.blue,i*a+(1-i)*l)},e.prototype.getOverlayColor=function(e){if(void 0===this.alpha||this.alpha>=1)return this;if(this.alpha<0)return null;if(void 0!==e.alpha&&e.alpha<1)return null;var t=this.mix(e,this.alpha);return delete t.alpha,t},e.fromCSSColor=function(t){var i=-1,a=-1,n=-1;if((t=t.toLowerCase()).startsWith("rgb(")){var r=/\s*rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/;if(null===(o=t.match(r)))return null;i=o[1],a=o[2],n=o[3]}else if(t.startsWith("rgba(")){var o;if(r=/\s*rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(.+)\s*\)/,null===(o=t.match(r)))return null;i=o[1],a=o[2],n=o[3]}else{if("#"!=t.charAt(0)){if(!(t in l.CSSColorLookup))return null;t=l.CSSColorLookup[t]}var s=function(e){for(var t={a:10,b:11,c:12,d:13,e:14,f:15},i=0,a=0;a<e.length;++a)i=16*i+parseInt(e.charAt(a)in t?t[e.charAt(a)]:e.charAt(a));return i};4===t.length&&(t="#"+t.charAt(1).repeat(2)+t.charAt(2).repeat(2)+t.charAt(3).repeat(2)),i=s(t.substring(1,3)),a=s(t.substring(3,5)),n=s(t.substring(5,7))}return new e(i,a,n)},e}();t.ColorObj=n},8137:function(e,t,i){var a=this&&this.__spreadArray||function(e,t,i){if(i||2===arguments.length)for(var a,l=0,n=t.length;l<n;l++)!a&&l in t||(a||(a=Array.prototype.slice.call(t,0,l)),a[l]=t[l]);return e.concat(a||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.CommonUtil=void 0;var l=i(8235),n=i(7788),r=i(490),o=i(1421),s=i(8656),u=i(295),d=i(7440),c=i(482),m=function(){function e(){}return e.wordCount=function(e){return 0===(e=e.trim()).length?0:e.split(/\s+/g).length},e.isTabbable=function(t){if(!s.VisUtil.isNodeVisible(t))return!1;if(t.hasAttribute("tabindex"))return parseInt(t.getAttribute("tabindex"))>=0;var i=t.nodeName.toLowerCase();if(i in e.tabTagMap){var a=e.tabTagMap[i];return"function"==typeof a&&(a=a(t)),a}return!!t.hasAttribute("contenteditable")},e.isFocusable=function(t){return"undefined"!==t&&null!==t&&e.isTabbable(t)},e.isClickable=function(t){if(!s.VisUtil.isNodeVisible(t))return!1;var i=t.nodeName.toLowerCase();if(i in e.tabTagMap){var a=e.tabTagMap[i];return"function"==typeof a&&(a=a(t)),a}return!(!r.AriaUtil.isWidget(t)||!t.hasAttribute("tabindex"))},e.isTableDescendant=function(e){return e?e.aria.filter((function(e){return["table","grid","treegrid"].includes(e.role)})):null},e.tabIndexLEZero=function(t){if(e.hasAttribute(t,"tabindex")&&t.getAttribute("tabindex").match(/^-?\d+$/)){var i=parseInt(t.getAttribute("tabindex"));return 0===i||-1===i}return!1},e.getTabbableChildren=function(t){var i=0;if(t.firstChild||"IFRAME"===t.nodeName.toUpperCase())for(var a=new d.DOMWalker(t);a.nextNode()&&a.node!=t;)1==a.node.nodeType&&!a.bEndTag&&e.isTabbable(a.node)&&++i;return i},e.normalizeSpacing=function(e){return e?e.trim().replace(/\s+/g," "):""},e.isHtmlEquiv=function(e,t){var i=!1;if(e&&"input"===e.nodeName.toLowerCase()){var a=e.getAttribute("type").toLowerCase();a&&(-1!=t.indexOf("checkbox")?i="checkbox"===a:-1!=t.indexOf("radio")&&(i="radio"===a))}return i},e.nonExistantIDs=function(t,i){var a="";if(e.normalizeSpacing(i).length<1)return a;for(var l=i.split(" "),n=t.ownerDocument,r=0;r<l.length;r++){var o="//*[@id='"+l[r]+"']";n.evaluate(o,t,n.defaultNSResolver,0,null).iterateNext()||(a+=l[r]+", ")}return e.normalizeSpacing(a).length>=2?a.substring(0,a.length-2):""},e.getDocElementsByTag=function(e,t){var i=c.FragmentUtil.getOwnerFragment(e);t=t.toLowerCase();var a=n.CacheUtil.getCache(i,"RPT_DOCELEMSBYTAG",{});return t in a||(a[t]=i.querySelectorAll(t),n.CacheUtil.setCache(i,"RPT_DOCELEMSBYTAG",a)),a[t]},e.getChildByTag=function(t,i){return e.getChildByTagHidden(t,i,!1,!1)},e.getChildByTagHidden=function(t,i,a,l){for(var n=[],r=t.firstChild;null!=r;){if(r.nodeName.toLowerCase()===i){if((a||l&&!e.shouldCheckHiddenContent(r))&&!s.VisUtil.isNodeVisible(r)){r=r.nextSibling;continue}n.push(r)}r=r.nextSibling}return n},e.getElementsByRole=function(t,i){return e.getElementsByRoleHidden(t,i,!1,!1)},e.getElementsByRoleHidden=function(t,i,a,l){var o=null;if(null===(o=l?n.CacheUtil.getCache(t,"AriaUtil_GETELEMENTSBY_ROLE_IMPLICIT",null):n.CacheUtil.getCache(t,"AriaUtil_GETELEMENTSBY_ROLE",null))){o={};for(var s=t.body;null!==d.DOMWalker.parentNode(s);)s=d.DOMWalker.parentNode(s);for(var u=new d.DOMWalker(s);u.nextNode();)if(u.elem()&&!u.bEndTag){var c=[];if(u.elem()&&u.elem().hasAttribute("role")&&(c=u.elem().getAttribute("role").split(" ")),u.elem()&&0===c.length&&l){var m=r.AriaUtil.getImplicitRole(u.node);null!==m&&m.length>0&&(c=m)}if(0===c.length)continue;if(a&&e.shouldNodeBeSkippedHidden(u.node))continue;for(var p=0;p<c.length;++p)c[p]in o||(o[c[p]]=[]),o[c[p]].push(u.node)}l?n.CacheUtil.setCache(t,"AriaUtil_GETELEMENTSBY_ROLE_IMPLICIT",o):n.CacheUtil.setCache(t,"AriaUtil_GETELEMENTSBY_ROLE",o)}var h=[];if("string"==typeof i){var _=i;(i=[]).push(_)}if(i.length)for(p=0;p<i.length;++p){var b=o[i[p]];if(b)for(var g=0;g<b.length;++g)h.push(b[g])}return h},e.isTarget=function(t){if(!t||1!==t.nodeType||["html","body"].includes(t.nodeName.toLowerCase())||null!==e.getAncestor(t,["svg","pre","code","script","meta","head"])||!s.VisUtil.isNodeVisible(t)||s.VisUtil.isNodeVisuallyHidden(t)||e.isNodeDisabled(t)||s.VisUtil.isElementOffscreen(t))return!1;if(e.isClickable(t))return!0;var i=r.AriaUtil.getResolvedRole(t);if(!i)return!1;if(["listitem","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","treeitem"].includes(i)){var a=t.parentElement;if(a&&"group"===r.AriaUtil.getResolvedRole(a)&&(a=a.parentElement),a&&e.isTarget(a))return!0}return!1},e.getFileExt=function(e){var t=e.match(/\.(([^;?#\.]|^$)+)([;?#]|$)/);return null!=t&&t.length>=2?"."+t[1]:""},e.getFileAnchor=function(e){var t=e.match(/#(([^;?\.]|^$)+)([;?]|$)/);return null!=t&&t.length>=2?t[1]:""},e.checkObjEmbed=function(t,i,a){var l=t.nodeName.toLowerCase();if("object"!=l&&"embed"!=l&&"a"!=l&&"area"!=l)return!1;var n=!1;if(!n&&t.hasAttribute("type")&&(n=a(t.getAttribute("type").toLowerCase())),!n&&t.hasAttribute("codetype")&&(n=a(t.getAttribute("codetype"))),!n){var r="";"embed"===l?r=t.getAttribute("src"):"a"===l||"area"===l?r=t.getAttribute("href"):t.hasAttribute("data")&&(r=t.getAttribute("data")),null===r&&(r=""),n=i(e.getFileExt(r))}if(!n&&"object"===l)for(var o=e.getChildByTagHidden(t,"param",!1,!0),s=0;!n&&null!=o&&s<o.length;++s)n=o[s].hasAttribute("value")&&i(e.getFileExt(o[s].getAttribute("value")));return n},e.isAudioObjEmbedLink=function(t){return e.checkObjEmbed(t,e.isAudioExt,(function(e){return e.startsWith("audio")}))},e.isAudioExt=function(t){return e.valInArray(t.toLowerCase(),[".aif",".aifc",".aiff",".air",".asf",".au",".cda",".dsm",".dss",".dwd",".iff",".kar",".m1a",".med",".mp2",".mp3",".mpa",".pcm",".ra",".ram",".rm",".sam",".sf",".sf2",".smp",".snd",".svx",".ul",".voc",".wav",".wma",".wve"])},e.isVideoObjEmbedLink=function(t){return e.checkObjEmbed(t,e.isVideoExt,(function(e){return e.startsWith("video")||e.startsWith("application/x-shockwave-flash")}))},e.isVideoExt=function(t){return e.valInArray(t.toLowerCase(),[".asf",".avi",".divx",".dv",".m1v",".m2p",".m2v",".moov",".mov",".mp4",".mpeg",".mpg",".mpv",".ogm",".omf",".qt",".rm",".rv",".smi",".smil",".swf",".vob",".wmv",".rmvb",".mvb"])},e.isImageObjEmbedLink=function(t){return e.checkObjEmbed(t,e.isImgExt,(function(e){return e.startsWith("image")}))},e.isImgExt=function(t){return e.valInArray(t.toLowerCase(),e.image_extensions)},e.isHtmlExt=function(t){return e.valInArray(t.toLowerCase(),[".asp",".aspx",".cfm",".cfml",".cgi",".htm",".html",".shtm",".shtml",".php",".pl",".py",".shtm",".shtml",".xhtml"])},e.hasTriggered=function(e,t){return n.CacheUtil.getCache(e,t,!1)},e.triggerOnce=function(e,t,i){if(i)return!0;var a=n.CacheUtil.getCache(e,t,!1);return n.CacheUtil.setCache(e,t,!0),a},e.valInArray=function(e,t){for(var i in t)if(t[i]===e)return!0;return!1},e.getAncestor=function(e,t){for(var i=e;null!==i;){var a=i.nodeName.toLowerCase();if("string"==typeof t){if(a===t.toLowerCase())break}else if(t.length){for(var l in t)if(t[l]===a)return i}else if(a in t)break;i=d.DOMWalker.parentNode(i)}return i},e.isSibling=function(e,t){if(e&&t){var i=null;for(d.DOMWalker.parentNode(e)&&d.DOMWalker.parentNode(e).firstChild&&(i=d.DOMWalker.parentNode(e).firstChild);i;){if(i===t)return!0;i=i.nextSibling}}return!1},e.isDescendant=function(e,t){for(var i=d.DOMWalker.parentNode(t);null!=i;){if(i===e)return!0;i=d.DOMWalker.parentNode(i)}return!1},e.isDisabledByFirstChildFormElement=function(t){var i=["input","textarea","select","keygen","progress","meter","output"];if(null!=t.firstChild)for(var a=new d.DOMWalker(t);a.nextNode();)if(i.includes(a.node.nodeName.toLowerCase()))return!!e.isNodeDisabled(a.node);return!1},e.isDisabledByReferringElement=function(t){for(var i=t.getAttribute("id"),a=t.ownerDocument.body;null!==d.DOMWalker.parentNode(a);)a=d.DOMWalker.parentNode(a);for(var l=new d.DOMWalker(a);l.nextNode();)if(l.node&&1===l.node.nodeType&&l.elem()&&(l.elem().getAttribute("aria-describedby")||"").split(" ").includes(i)&&e.isNodeDisabled(l.node))return!0},e.getInputLabel=function(t){return e.getLabelForElement(t)},e.getLabelForElement=function(t){return e.getLabelForElementHidden(t,!1)},e.getLabelForElementHidden=function(t,i){var a=t.getRootNode();if(!n.CacheUtil.getCache((a.nodeType,a),"AriaUtil_LABELS",null)){for(var l={},r=e.getDocElementsByTag(t,"label"),o=0;o<r.length;++o)if(r[o].hasAttribute("for")){if(i&&!s.VisUtil.isNodeVisible(r[o]))continue;l[r[o].getAttribute("for")]=r[o]}n.CacheUtil.setCache((a.nodeType,a),"AriaUtil_LABELS",l)}if(t.hasAttribute("id")){var u=t.getAttribute("id");if(u.trim().length>0)return n.CacheUtil.getCache((a.nodeType,a),"AriaUtil_LABELS",{})[u]}return null},e.getElementAttribute=function(e,t){if(!(t&&e&&e.hasAttribute&&e.hasAttribute(t)))return null;var i=e.getAttribute(t);if(!l.ARIADefinitions.referenceProperties.includes(t))return i;for(var a=i.split(/ +/g),n=!1,r=0;a<a.length;++r){var o=document.getElementById(a[r]);if(o&&!u.DOMUtil.sameNode(o,e)){n=!0;break}}return n?i:null},e.hasImplicitLabel=function(t){var i=e.getAncestor(t,"label");if(i&&"label"===i.tagName.toLowerCase()&&e.isFirstFormElement(i,t)){var a=i.cloneNode(!0);return a=e.removeAllFormElementsFromLabel(a),e.hasInnerContentHidden(a)}return!1},e.getImplicitLabel=function(t){var i=e.getAncestor(t,"label");if(i&&"label"===i.tagName.toLowerCase()&&e.isFirstFormElement(i,t)){var a=i.cloneNode(!0);a=e.removeAllFormElementsFromLabel(a);var l=e.getInnerText(a);return l&&""!==l.trim()?l.trim():null}return null},e.getFormFieldLabel=function(t){var i="",a=null,l=e.getLabelForElementHidden(t,!0);if(l)a=l.innerText;else{if(!(l=e.getAncestor(t,"label"))||"label"!==l.tagName.toLowerCase()||!e.isFirstFormElement(l,t))return null;var n=l.cloneNode(!0);n=e.removeAllFormElementsFromLabel(n),a=e.getInnerText(n)}return a&&""!==a.trim()&&(i+=a.trim()),(a=e.getLabelTextFromAttribute(l,!0))&&""!==a.trim()&&(i+=a.trim()),(a=r.AriaUtil.getAriaLabel(l))&&""!==a.trim()&&(i+=a.trim()),i.trim()},e.getLabelTextFromAttribute=function(t,i){for(var a=null,l=0;l<t.children.length;l++){var n=t.children.item(l);if(e.form_labelable_elements.includes(n.nodeName.toLowerCase())){a=n;break}}for(var c=new d.DOMWalker(t),m="";c.nextNode()&&c.node!==t;)if(c.node&&1===c.node.nodeType&&c.elem()){var p=c.elem();if(i&&(s.VisUtil.isNodeHiddenFromAT(p)||s.VisUtil.isNodePresentational(p))||a&&a.contains(p))continue;var h=r.AriaUtil.getResolvedRole(p);if("textbox"===h){var _=p.getAttribute("value");_&&_.trim().length>0&&(m+=" "+_.trim())}else if("combobox"===h||"listbox"===h){var b=p.getAttribute("aria-activedescendant")||p.getAttribute("aria-selected")||p.getAttribute("aria-checked");if(b){var g=p.ownerDocument.getElementById(b);if(g&&!u.DOMUtil.sameNode(p,g)){var f=o.AccNameUtil.computeAccessibleName(g);f&&f.name&&(m+=" "+f.name.trim())}}}else if(["progressbar","scrollbar","slider","spinbutton","meter"].includes(h)){var v=p.getAttribute("aria-valuetext");v&&v.trim().length>0&&(m+=" "+v.trim()),(v=p.getAttribute("aria-valuenow"))&&v.trim().length>0&&(m+=" "+v.trim()),(v=p.getAttribute("value"))&&v.trim().length>0&&(m+=" "+v.trim())}var A=r.AriaUtil.getAriaLabel(p);A&&""!==A.trim()&&(m+=" "+A.trim())}return m.trim()},e.isFirstFormElement=function(t,i){if(null!=t.firstChild)for(var a=new d.DOMWalker(t);a.nextNode();)if(-1!==e.form_labelable_elements.indexOf(a.node.nodeName.toLowerCase()))return a.node===i;return!1},e.isShadowHostElement=function(t){if(e.isShadowElement(t))return!1;for(var i=t;i;){if(i.shadowRoot)return!0;i=d.DOMWalker.parentElement(i)}return!1},e.isShadowElement=function(e){return"[object ShadowRoot]"===e.getRootNode().toString()},e.removeAllFormElementsFromLabel=function(e){for(var t=["input","textarea","select","button","datalist","optgroup","option","keygen","output","progress","meter"],i=e.childNodes,a=0;a<i.length;a++)t.indexOf(i[a].nodeName.toLowerCase())>-1&&e.removeChild(i[a]);return e},e.isIdReferToSelf=function(e,t){if(!t||""===t.trim())return!1;for(var i=t.trim().split(" "),a=0,l=i.length;a<l;++a){var n=c.FragmentUtil.getById(e,i[a]);if(n&&u.DOMUtil.sameNode(n,e))return!0}return!1},e.nodeDepth=function(e){for(var t=0,i=e;null!==i;)i=d.DOMWalker.parentNode(i),t+=1;return t},e.compareNodeOrder=function(t,i){if(t===i)return 0;var a=e.nodeDepth(t),l=e.nodeDepth(i);if(l>a){for(var n=0;n<l-a;++n)i=d.DOMWalker.parentNode(i);if(t===i)return-2}else if(a>l){for(n=0;n<a-l;++n)t=d.DOMWalker.parentNode(t);if(t===i)return 2}for(;null!=t&&null!=i&&d.DOMWalker.parentNode(t)!=d.DOMWalker.parentNode(i);)t=d.DOMWalker.parentNode(t),i=d.DOMWalker.parentNode(i);if(null===t||null===i||d.DOMWalker.parentNode(t)!=d.DOMWalker.parentNode(i))return null;for(;null!=i&&i!=t;)i=i.previousSibling;return null===i?1:-1},e.attributeNonEmpty=function(e,t){return e.hasAttribute(t)&&e.getAttribute(t).trim().length>0},e.getFrameByName=function(e,t){for(var i=[e.ownerDocument.defaultView],a=0;a<i.length;){try{if(i[a].name===t)return i[a];for(var l=0;l<i[a].frames.length;++l)try{i[a].frames[l]&&!i.includes(i[a].frames[l])&&i.push(i[a].frames[l])}catch(e){}}catch(e){}++a}return null},e.defaultNSResolver=function(e){var t;switch(e){case"html":t="http://www.w3.org/1999/xhtml";case"x2":t="http://www.w3.org/TR/xhtml2";case"x":t="http://www.w3.org/1999/xhtml";case"xhtml":t="http://www.w3.org/1999/xhtml";default:t=null}return t},e.isInnerTextOnlyEmpty=function(t){var i=t.innerText;null!=i&&0!==i.trim().length||"slot"===t.nodeName.toLowerCase()||void 0===t.textContent||(i=t.textContent);var a=!(null!==i&&i.trim().length>0);if(1===t.nodeType&&"slot"===t.nodeName.toLowerCase())for(var l=0,n=t.assignedNodes();l<n.length;l++){var r=n[l];a=a&&e.isInnerTextEmpty(r)}return a},e.getInnerText=function(e){var t=e.innerText;return null!=t&&""!==t.trim()||(t=e.textContent),t},e.getOnScreenInnerText=function(e){if(!e)return null;if(3===e.nodeType)return e.nodeValue();for(var t="",i=new d.DOMWalker(e);i.nextNode()&&i.node!==e&&i.node!==e.parentNode;)if(!i.bEndTag){if(1===i.node.nodeType&&s.VisUtil.hiddenByDefaultElements.includes(i.node.nodeName.toLowerCase())||!s.VisUtil.isNodeVisible(i.node)||s.VisUtil.isElementOffscreen(i.node)){if(i.node.nextSibling){3===i.node.nextSibling.nodeType&&null!==i.node.nextSibling.nodeValue&&(t+=i.node.nextSibling.nodeValue),i.node=i.node.nextSibling;continue}break}3===i.node.nodeType&&null!==i.node.nodeValue&&(t+=i.node.nodeValue.trim())}return t.trim()},e.getNodeText=function(e){if(!e)return"";for(var t="",i=e.childNodes,a=0;a<i.length;++a)3==i[a].nodeType&&(t+=i[a].nodeValue);return t},e.isInnerTextEmpty=function(t){var i=e.getInnerText(t);return!(null!=i&&i.trim().length>0)},e.hasInnerContent=function(t){var i=e.getInnerText(t),a=null!==i&&i.trim().length>0;if(null!==t.firstChild)for(var l=new d.DOMWalker(t);!a&&l.nextNode();)a="img"===l.node.nodeName.toLowerCase()&&e.attributeNonEmpty(l.node,"alt");return a},e.hasInnerContentHidden=function(t){return e.hasInnerContentHiddenHyperLink(t,!1)},e.svgHasName=function(t){return e.attributeNonEmpty(t,"aria-label")||e.attributeNonEmpty(t,"aria-labelledby")||!!t.querySelector(":scope > title")},e.hasInnerContentHiddenHyperLink=function(t,i){if(!t)return!1;var a=!1;if(null!=t.firstElementChild)for(var l=new d.DOMWalker(t);!a&&l.nextNode()&&l.node!=t;){var n=l.node;if(!((a="img"===n.nodeName.toLowerCase()&&(e.attributeNonEmpty(n,"alt")||e.attributeNonEmpty(n,"title"))&&!s.VisUtil.isNodeHiddenFromAT(n)&&!s.VisUtil.isNodePresentational(n)||"svg"===n.nodeName.toLowerCase()&&e.svgHasName(n))||1!==n.nodeType||s.VisUtil.isNodeHiddenFromAT(n)||s.VisUtil.isNodePresentational(n)||(a=!e.isInnerTextOnlyEmpty(n))||!0!==i)){a=e.attributeNonEmpty(n,"aria-label")||e.attributeNonEmpty(n,"aria-labelledby");var r=n.ownerDocument;if(r){var o=r.defaultView;if(o){var u=o.getComputedStyle(n);a||null==u||(a=(u.backgroundImage&&u.backgroundImage.indexOf||u.content)&&e.attributeNonEmpty(n,"alt"))}}}3===n.nodeType&&d.DOMWalker.parentElement(n)===t&&(a=!e.isInnerTextEmpty(n))}else a=!e.isInnerTextEmpty(t);return a},e.hasInnerContentOrAlt=function(t){var i=e.getInnerText(t),a=null!=i&&i.trim().length>0||e.attributeNonEmpty(t,"alt");if(null!=t.firstChild)for(var l=new d.DOMWalker(t);!a&&l.nextNode()&&l.node!=t;)!(a="img"===l.node.nodeName.toLowerCase()&&e.attributeNonEmpty(l.node,"alt"))&&(r.AriaUtil.hasRole(l.node,"button",!0)||r.AriaUtil.hasRole(l.node,"textbox"))&&(r.AriaUtil.hasAriaLabel(l.node)||e.attributeNonEmpty(l.node,"title")||e.getLabelForElementHidden(l.elem(),!0))&&(a=!0);return a},e.concatUniqueArrayItem=function(e,t){return-1===t.indexOf(e)&&null!==e&&t.push(e),t},e.concatUniqueArrayItemList=function(t,i){for(var a=0;null!==t&&a<t.length;a++)i=e.concatUniqueArrayItem(t[a],i);return i},e.reduceArrayItemList=function(e,t){return t&&t.length>0&&e&&e.length>0?t.filter((function(t){return!e.includes(t)})):t},e.getScopeForTh=function(e){if(e.hasAttribute("scope")){var t=e.getAttribute("scope").toLowerCase();if("row"===t||"rowgroup"===t)return"row";if("col"===t||"colgroup"===t)return"column"}var i=function(e){return a([],e.parentElement.children,!0).filter((function(e){return 1===e.nodeType&&"TH"!=e.tagName}))};return null===i||0===i.length?"column":"row"},e.getControlOfLabel=function(t){var i=e.getAncestor(t,"label");if(i&&i.hasAttribute("for"))return c.FragmentUtil.getById(t,i.getAttribute("for"));for(var a={},l=t;l;){if(1===l.nodeType){var n=l;n.hasAttribute("id")&&(a[n.getAttribute("id")]=!0)}l=d.DOMWalker.parentNode(l)}for(var r=t.ownerDocument.querySelectorAll("*[aria-labelledby]"),o=0;o<r.length;++o)for(var s=r[o],u=0,m=s.getAttribute("aria-labelledby").split(" ");u<m.length;u++)if(m[u]in a&&!e.isIdReferToSelf(t,t.getAttribute("aria-labelledby")))return s;return null},e.isNodeDisabled=function(t){var i=n.CacheUtil.getCache(t,"PT_NODE_DISABLED",!1);3===t.nodeType&&(t=d.DOMWalker.parentNode(t));var a=t.nodeName.toLowerCase(),r=t.hasAttribute("disabled"),o=i,s=t.hasAttribute("aria-disabled")&&"true"===t.getAttribute("aria-disabled");if(o||r&&l.ARIADefinitions.elementsAllowedDisabled.indexOf(a)>-1||s)return i=!0,n.CacheUtil.setCache(t,"PT_NODE_DISABLED",i),!0;var u=d.DOMWalker.parentNode(t);if(null!=u&&1===u.nodeType){var c=e.isNodeDisabled(u);return c&&(i=!0),n.CacheUtil.setCache(t,"PT_NODE_DISABLED",i),c}return!1},e.shouldCheckHiddenContent=function(e){return!1},e.shouldNodeBeSkippedHidden=function(t){return!e.shouldCheckHiddenContent(t)&&!s.VisUtil.isNodeVisible(t)},e.isfocusableByDefault=function(t){return!("a"!==t.nodeName.toLowerCase()||!e.hasAttribute(t,"href"))||!("area"!==t.nodeName.toLowerCase()||!e.hasAttribute(t,"href"))||-1!==["input","select","button","textarea","option","area"].indexOf(t.nodeName.toLowerCase())},e.nonTabableChildCheck=function(t){if(!t.hasAttribute("tabindex")||-1!=parseInt(t.getAttribute("tabindex")))return!1;for(var i=new d.DOMWalker(t);i.nextNode();){var a=i.elem();if(null!==a&&a.hasAttribute("tabindex")&&-1!=parseInt(a.getAttribute("tabindex"))&&!e.hasInnerContent(a))return!1}return!0},e.hasAttribute=function(e,t){var i=!1;if(e.hasAttribute)i=e.hasAttribute(t);else if(e.attributes&&e.attributes.getNamedItem){var a=e.attributes.getNamedItem(t);i=a&&a.specified}return i},e.truncateText=function(e,t){return void 0===t&&(t=150),e&&(e=e.trim()).length>t?e.substring(0,t-1)+"...":e},e.input_type_with_placeholder=["text","search","tel","url","email","password","number"],e.input_text_types=["text","file","password","checkbox","radio","search","tel","url","email","date","number","range","time","color"],e.input_time_types=["date","month","week","time","datetime-local"],e.input_other_types=["range","color","checkbox","radio","file","image"],e.form_button_types=["button","reset","submit"],e.form_labelable_elements=["input","textarea","select","keygen","progress","meter","output","button"],e.tabTagMap={button:function(e){return!e.hasAttribute("disabled")},iframe:!0,input:function(e){return"hidden"!==e.getAttribute("type")&&!e.hasAttribute("disabled")},select:function(e){return!e.hasAttribute("disabled")},textarea:!0,a:function(e){return e.hasAttribute("href")},area:function(e){return e.hasAttribute("href")},audio:function(e){return e.hasAttribute("controls")},video:function(e){return e.hasAttribute("controls")},summary:function(e){return e.parentElement&&"details"===e.parentElement.nodeName.toLowerCase()&&u.DOMUtil.sameNode(a([],e.parentElement.children,!0).filter((function(e){return"summary"===e.nodeName.toLowerCase()}))[0],e)},details:function(e){return e.children&&0===a([],e.children,!0).filter((function(e){return"summary"===e.nodeName.toLowerCase()})).length}},e.image_extensions=[".bmp",".gif",".jpg",".jpeg",".pcx",".png"],e}();t.CommonUtil=m},5755:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TableUtil=void 0;var a=i(8656),l=i(490),n=i(8137),r=function(){function e(){}return e.isDataTable=function(e){return!(l.AriaUtil.hasRole(e,"none")||l.AriaUtil.hasRole(e,"presentation"))},e.isComplexDataTable=function(t){if("AriaUtil_isComplexDataTable"in t)return!!t.AriaUtil_isComplexDataTable;var i=!1;if(t&&e.isDataTable(t)){for(var a=null,l=null,r=t.getElementsByTagName("tr"),o=r.length,s=0,u=0,d=0,c=0;!i&&c<o;++c)if(a=r[c].getElementsByTagName("th"),l=r[c].getElementsByTagName("td"),u=a.length,0!==(s=l.length)){i=u>1;for(var m=0;!i&&m<u;++m)i=(a[m].hasAttribute("rowspan")||a[m].hasAttribute("colspan"))&&n.CommonUtil.getAncestor(a[m],"table")===t;for(var p=0;!i&&p<s;++p)i=(l[p].hasAttribute("rowspan")||l[p].hasAttribute("colspan")||l[p].hasAttribute("headers")&&n.CommonUtil.normalizeSpacing(l[p].getAttribute("headers")).split(" ").length>2)&&n.CommonUtil.getAncestor(l[p],"table")===t}else u>0&&++d,i=2===d;if(!i){var h=t.getElementsByTagName("thead"),_=h.length;_>0&&((i=_>1)||(i=h[0].getElementsByTagName("tr").length>1))}i||0===o||(i=u>0&&!e.tableHeaderExists(t))}return t.AriaUtil_isComplexDataTable=i,i},e.isTableCellEmpty=function(e){return!e||!a.VisUtil.isNodeVisible(e)||0===e.innerHTML.replace(/&nbsp;/g," ").trim().length},e.isTableRowEmpty=function(t){if(!t||!t.cells||0===t.cells.length||!a.VisUtil.isNodeVisible(t))return!0;for(var i=!0,l=0;i&&l<t.cells.length;l++){var n=t.cells[l];i=e.isTableCellEmpty(n)}return i},e.tableHeaderExists=function(t){var i=t.rows;if(!i||0===i.length)return null;for(var a=!0,l=i[0],r=0;a&&r<i.length;r++)(l=i[r]).parentNode&&"tfoot"===l.parentNode.nodeName.toLowerCase()||(a=e.isTableRowEmpty(l));if(a)return null;for(a=!0,r=0;a&&r<l.cells.length;r++){var o=l.cells[r];a=e.isTableCellEmpty(o)||"th"===o.nodeName.toLowerCase()}if(a)return!0;a=!0;for(var s=0;a&&s<i.length;++s)i[s].parentNode&&"tfoot"===i[s].parentNode.nodeName.toLowerCase()||(a=!i[s].cells||0===i[s].cells.length||0===i[s].cells[0].innerHTML.trim().length||"td"!=i[s].cells[0].nodeName.toLowerCase());if(a)return!0;a=!0;var u=[],d=[];for(r=0;a&&r<i.length;r++)for(var c=i[r],m=0;m<c.cells.length;m++)o=c.cells[m],e.isTableCellEmpty(o)||("td"===o.nodeName.toLowerCase()?o.getAttribute("headers")&&0!==o.getAttribute("headers").trim().length?n.CommonUtil.concatUniqueArrayItemList(o.getAttribute("headers").trim().split(" "),d):a=!1:"th"===o.nodeName.toLowerCase()&&o.getAttribute("id")&&o.getAttribute("id").trim().length>0&&n.CommonUtil.concatUniqueArrayItem(o.getAttribute("id").trim(),u));return!!(a&&u.length>0&&d.every((function(e){return u.includes(e)})))},e.isLayoutTable=function(e){return l.AriaUtil.hasRole(e,"presentation")||l.AriaUtil.hasRole(e,"none")},e.isTableDescendant=function(e){return e?e.aria.filter((function(e){return["table","grid","treegrid"].includes(e.role)})):null},e}();t.TableUtil=r},8656:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VisUtil=void 0;var a=i(7788),l=i(295),n=i(7440),r=i(5697),o=i(490),s=i(1775),u=function(){function e(){}return e.isNodeVisible=function(t){3===t.nodeType&&(t=n.DOMWalker.parentNode(t));var i,l=t;if(1!==l.nodeType)return!0;if(!l.ownerDocument)return!0;var r=l.nodeName.toLowerCase();if(null!=e.hiddenByDefaultElements&&null!=e.hiddenByDefaultElements&&e.hiddenByDefaultElements.indexOf(r)>-1)return!1;if(void 0!==a.CacheUtil.getCache(l,"PT_NODE_HIDDEN",void 0))return a.CacheUtil.getCache(l,"PT_NODE_HIDDEN",void 0);if(a.CacheUtil.setCache(l,"PT_NODE_HIDDEN",a.CacheUtil.getCache(l,"PT_NODE_HIDDEN",!1)),null===e.unhideableElements||void 0===e.unhideableElements||-1===e.unhideableElements.indexOf(r)){if(!l.ownerDocument.defaultView)return a.CacheUtil.setCache(l,"PT_NODE_HIDDEN",!0),!0;i=l.ownerDocument.defaultView.getComputedStyle(l,null);var o=l.getAttribute("hidden"),s=a.CacheUtil.getCache(l,"PT_NODE_HIDDEN",void 0),u="boolean"==typeof l.hidden&&l.hidden;if(!i&&!u&&null==o&&!s)return a.CacheUtil.setCache(l,"PT_NODE_HIDDEN",!0),!0;if(null!==i&&("none"===i.getPropertyValue("display")||!a.CacheUtil.getCache(l,"Visibility_Check_Parent",null)&&"hidden"===i.getPropertyValue("visibility"))||"block"!==i.getPropertyValue("display")&&(u||null!=o||s))return a.CacheUtil.setCache(l,"PT_NODE_HIDDEN",!1),!1;if(e.isContentHidden(l))return a.CacheUtil.setCache(l,"PT_NODE_HIDDEN",!1),!1}var d=n.DOMWalker.parentNode(l);if(null!=d&&1===d.nodeType){a.CacheUtil.setCache(d,"Visibility_Check_Parent",!0);var c=e.isNodeVisible(d);return a.CacheUtil.setCache(l,"PT_NODE_HIDDEN",c),c}return a.CacheUtil.setCache(l,"PT_NODE_HIDDEN",!0),!0},e.isNodeVisuallyHidden=function(t){if(!t||1!==t.nodeType)return!1;var i=t,l=a.CacheUtil.getCache(i,"PT_NODE_VISUALLY_HIDDEN",void 0);if(void 0===l){var r=s.CSSUtil.getDefinedStyles(i);if("absolute"===r.position&&r.clip&&"rect(0px,0px,0px,0px)"===r.clip.replaceAll(" ","")||r.opacity&&parseFloat(r.opacity)<.1)return a.CacheUtil.setCache(i,"PT_NODE_VISUALLY_HIDDEN",!0),!0;var o=n.DOMWalker.parentElement(i);if(!o)return!1;var u=e.isNodeVisuallyHidden(o);return a.CacheUtil.setCache(i,"PT_NODE_VISUALLY_HIDDEN",u),u}return l},e.isContentHidden=function(e){if(!e)return!1;var t=a.CacheUtil.getCache(e,"PT_NODE_ContentHidden",void 0);if(void 0!==t)return t;var i=getComputedStyle(e);return i?"hidden"!==i.getPropertyValue("content-visibility")||"inline"===i.getPropertyValue("display")?(a.CacheUtil.setCache(e,"PT_NODE_ContentHidden",!1),!1):(a.CacheUtil.setCache(e,"PT_NODE_ContentHidden",!0),!0):(a.CacheUtil.setCache(e,"PT_NODE_ContentHidden",!1),!1)},e.isElementOffscreen=function(e){if(!e)return!0;if(1!==e.nodeType)return!1;var t=a.CacheUtil.getCache(e,"PT_NODE_Offscreen",void 0);if(void 0!==t)return t;var i=(new r.DOMMapper).getUnadjustedBounds(e);return i?0===i.height||0===i.width||i.top+i.height<=0||i.left+i.width<=0?(a.CacheUtil.setCache(e,"PT_NODE_Offscreen",!0),!0):(a.CacheUtil.setCache(e,"PT_NODE_Offscreen",!1),!1):(a.CacheUtil.setCache(e,"PT_NODE_Offscreen",!0),!0)},e.isNodeHiddenFromAT=function(t){if(!t)return!1;var i=a.CacheUtil.getCache(t,"PT_NODE_HiddenFromAT",void 0);return void 0!==i?i:e.isNodeVisible(t)&&"true"!==t.getAttribute("aria-hidden")?l.DOMUtil.getAncestorWithAttribute(t,"aria-hidden","true")?(a.CacheUtil.setCache(t,"PT_NODE_HiddenFromAT",!0),!0):(a.CacheUtil.setCache(t,"PT_NODE_HiddenFromAT",!1),!1):(a.CacheUtil.setCache(t,"PT_NODE_HiddenFromAT",!0),!0)},e.isNodePresentational=function(e){var t=o.AriaUtil.getResolvedRole(e);return!(!t||"none"!==t&&"presentation"!==t)},e.unhideableElements=["area","param","audio"],e.hiddenByDefaultElements=["script","link","style","head","meta","base","noscript","template","datalist"],e}();t.VisUtil=u},4976:e=>{e.exports=JSON.parse('{"1.1.1":{"num":"1.1.1","url":"https://www.w3.org/TR/WCAG22/#non-text-content","scId":"WCAG2:non-text-content","scAltId":["text-equiv-all"],"test":"WCAG2:text-equiv-all","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#non-text-content","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/non-text-content.html","handle":"Non-text Content","level":"A","wcagType":"2.0"},"1.2.1":{"num":"1.2.1","url":"https://www.w3.org/TR/WCAG22/#audio-only-and-video-only-prerecorded","scId":"WCAG2:audio-only-and-video-only-prerecorded","scAltId":["media-equiv-av-only-alt"],"test":"WCAG2:media-equiv-av-only-alt","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#audio-only-and-video-only-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/audio-only-and-video-only-prerecorded.html","handle":"Audio-only and Video-only (Prerecorded)","level":"A","wcagType":"2.0"},"1.2.2":{"num":"1.2.2","url":"https://www.w3.org/TR/WCAG22/#captions-prerecorded","scId":"WCAG2:captions-prerecorded","scAltId":["media-equiv-captions"],"test":"WCAG2:media-equiv-captions","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#captions-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/captions-prerecorded.html","handle":"Captions (Prerecorded)","level":"A","wcagType":"2.0"},"1.2.3":{"num":"1.2.3","url":"https://www.w3.org/TR/WCAG22/#audio-description-or-media-alternative-prerecorded","scId":"WCAG2:audio-description-or-media-alternative-prerecorded","scAltId":["media-equiv-audio-desc"],"test":"WCAG2:media-equiv-audio-desc","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#audio-description-or-media-alternative-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/audio-description-or-media-alternative-prerecorded.html","handle":"Audio Description or Media Alternative (Prerecorded)","level":"A","wcagType":"2.0"},"1.2.4":{"num":"1.2.4","url":"https://www.w3.org/TR/WCAG22/#captions-live","scId":"WCAG2:captions-live","scAltId":["media-equiv-real-time-captions"],"test":"WCAG2:media-equiv-real-time-captions","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#captions-live","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/captions-live.html","handle":"Captions (Live)","level":"AA","wcagType":"2.0"},"1.2.5":{"num":"1.2.5","url":"https://www.w3.org/TR/WCAG22/#audio-description-prerecorded","scId":"WCAG2:audio-description-prerecorded","scAltId":["media-equiv-audio-desc-only"],"test":"WCAG2:media-equiv-audio-desc-only","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#audio-description-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/audio-description-prerecorded.html","handle":"Audio Description (Prerecorded)","level":"AA","wcagType":"2.0"},"1.2.6":{"num":"1.2.6","url":"https://www.w3.org/TR/WCAG22/#sign-language-prerecorded","scId":"WCAG2:sign-language-prerecorded","scAltId":["media-equiv-sign"],"test":"WCAG2:media-equiv-sign","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#sign-language-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/sign-language-prerecorded.html","handle":"Sign Language (Prerecorded)","level":"AAA","wcagType":"2.0"},"1.2.7":{"num":"1.2.7","url":"https://www.w3.org/TR/WCAG22/#extended-audio-description-prerecorded","scId":"WCAG2:extended-audio-description-prerecorded","scAltId":["media-equiv-extended-ad"],"test":"WCAG2:media-equiv-extended-ad","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#extended-audio-description-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/extended-audio-description-prerecorded.html","handle":"Extended Audio Description (Prerecorded)","level":"AAA","wcagType":"2.0"},"1.2.8":{"num":"1.2.8","url":"https://www.w3.org/TR/WCAG22/#media-alternative-prerecorded","scId":"WCAG2:media-alternative-prerecorded","scAltId":["media-equiv-text-doc"],"test":"WCAG2:media-equiv-text-doc","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#media-alternative-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/media-alternative-prerecorded.html","handle":"Media Alternative (Prerecorded)","level":"AAA","wcagType":"2.0"},"1.2.9":{"num":"1.2.9","url":"https://www.w3.org/TR/WCAG22/#audio-only-live","scId":"WCAG2:audio-only-live","scAltId":["media-equiv-live-audio-only"],"test":"WCAG2:media-equiv-live-audio-only","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#audio-only-live","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/audio-only-live.html","handle":"Audio-only (Live)","level":"AAA","wcagType":"2.0"},"1.3.1":{"num":"1.3.1","url":"https://www.w3.org/TR/WCAG22/#info-and-relationships","scId":"WCAG2:info-and-relationships","scAltId":["content-structure-separation-programmatic"],"test":"WCAG2:content-structure-separation-programmatic","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#info-and-relationships","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/info-and-relationships.html","handle":"Info and Relationships","level":"A","wcagType":"2.0"},"1.3.2":{"num":"1.3.2","url":"https://www.w3.org/TR/WCAG22/#meaningful-sequence","scId":"WCAG2:meaningful-sequence","scAltId":["content-structure-separation-sequence"],"test":"WCAG2:content-structure-separation-sequence","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#meaningful-sequence","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/meaningful-sequence.html","handle":"Meaningful Sequence","level":"A","wcagType":"2.0"},"1.3.3":{"num":"1.3.3","url":"https://www.w3.org/TR/WCAG22/#sensory-characteristics","scId":"WCAG2:sensory-characteristics","scAltId":["content-structure-separation-understanding"],"test":"WCAG2:content-structure-separation-understanding","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#sensory-characteristics","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/sensory-characteristics.html","handle":"Sensory Characteristics","level":"A","wcagType":"2.0"},"1.3.4":{"num":"1.3.4","url":"https://www.w3.org/TR/WCAG22/#orientation","scId":"WCAG2:orientation","scAltId":[],"test":"WCAG2:orientation","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#orientation","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/orientation.html","handle":"Orientation","level":"AA","wcagType":"2.1"},"1.3.5":{"num":"1.3.5","url":"https://www.w3.org/TR/WCAG22/#identify-input-purpose","scId":"WCAG2:identify-input-purpose","scAltId":[],"test":"WCAG2:identify-input-purpose","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#identify-input-purpose","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/identify-input-purpose.html","handle":"Identify Input Purpose","level":"AA","wcagType":"2.1"},"1.3.6":{"num":"1.3.6","url":"https://www.w3.org/TR/WCAG22/#identify-purpose","scId":"WCAG2:identify-purpose","scAltId":[],"test":"WCAG2:identify-purpose","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#identify-purpose","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/identify-purpose.html","handle":"Identify Purpose","level":"AAA","wcagType":"2.1"},"1.4.1":{"num":"1.4.1","url":"https://www.w3.org/TR/WCAG22/#use-of-color","scId":"WCAG2:use-of-color","scAltId":["visual-audio-contrast-without-color"],"test":"WCAG2:visual-audio-contrast-without-color","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#use-of-color","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/use-of-color.html","handle":"Use of Color","level":"A","wcagType":"2.0"},"1.4.2":{"num":"1.4.2","url":"https://www.w3.org/TR/WCAG22/#audio-control","scId":"WCAG2:audio-control","scAltId":["visual-audio-contrast-dis-audio"],"test":"WCAG2:visual-audio-contrast-dis-audio","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#audio-control","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/audio-control.html","handle":"Audio Control","level":"A","wcagType":"2.0"},"1.4.3":{"num":"1.4.3","url":"https://www.w3.org/TR/WCAG22/#contrast-minimum","scId":"WCAG2:contrast-minimum","scAltId":["visual-audio-contrast-contrast"],"test":"WCAG2:visual-audio-contrast-contrast","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#contrast-minimum","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/contrast-minimum.html","handle":"Contrast (Minimum)","level":"AA","wcagType":"2.0"},"1.4.4":{"num":"1.4.4","url":"https://www.w3.org/TR/WCAG22/#resize-text","scId":"WCAG2:resize-text","scAltId":["visual-audio-contrast-scale"],"test":"WCAG2:visual-audio-contrast-scale","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#resize-text","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/resize-text.html","handle":"Resize text","level":"AA","wcagType":"2.0"},"1.4.5":{"num":"1.4.5","url":"https://www.w3.org/TR/WCAG22/#images-of-text","scId":"WCAG2:images-of-text","scAltId":["visual-audio-contrast-text-presentation"],"test":"WCAG2:visual-audio-contrast-text-presentation","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#images-of-text","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/images-of-text.html","handle":"Images of Text","level":"AA","wcagType":"2.0"},"1.4.6":{"num":"1.4.6","url":"https://www.w3.org/TR/WCAG22/#contrast-enhanced","scId":"WCAG2:contrast-enhanced","scAltId":["visual-audio-contrast7"],"test":"WCAG2:visual-audio-contrast7","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#contrast-enhanced","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/contrast-enhanced.html","handle":"Contrast (Enhanced)","level":"AAA","wcagType":"2.0"},"1.4.7":{"num":"1.4.7","url":"https://www.w3.org/TR/WCAG22/#low-or-no-background-audio","scId":"WCAG2:low-or-no-background-audio","scAltId":["visual-audio-contrast-noaudio"],"test":"WCAG2:visual-audio-contrast-noaudio","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#low-or-no-background-audio","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/low-or-no-background-audio.html","handle":"Low or No Background Audio","level":"AAA","wcagType":"2.0"},"1.4.8":{"num":"1.4.8","url":"https://www.w3.org/TR/WCAG22/#visual-presentation","scId":"WCAG2:visual-presentation","scAltId":["visual-audio-contrast-visual-presentation"],"test":"WCAG2:visual-audio-contrast-visual-presentation","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#visual-presentation","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/visual-presentation.html","handle":"Visual Presentation","level":"AAA","wcagType":"2.0"},"1.4.9":{"num":"1.4.9","url":"https://www.w3.org/TR/WCAG22/#images-of-text-no-exception","scId":"WCAG2:images-of-text-no-exception","scAltId":["visual-audio-contrast-text-images"],"test":"WCAG2:visual-audio-contrast-text-images","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#images-of-text-no-exception","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/images-of-text-no-exception.html","handle":"Images of Text (No Exception)","level":"AAA","wcagType":"2.0"},"1.4.10":{"num":"1.4.10","url":"https://www.w3.org/TR/WCAG22/#reflow","scId":"WCAG2:reflow","scAltId":[],"test":"WCAG2:reflow","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#reflow","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/reflow.html","handle":"Reflow","level":"AA","wcagType":"2.1"},"1.4.11":{"num":"1.4.11","url":"https://www.w3.org/TR/WCAG22/#non-text-contrast","scId":"WCAG2:non-text-contrast","scAltId":[],"test":"WCAG2:non-text-contrast","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#non-text-contrast","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/non-text-contrast.html","handle":"Non-text Contrast","level":"AA","wcagType":"2.1"},"1.4.12":{"num":"1.4.12","url":"https://www.w3.org/TR/WCAG22/#text-spacing","scId":"WCAG2:text-spacing","scAltId":[],"test":"WCAG2:text-spacing","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#text-spacing","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/text-spacing.html","handle":"Text Spacing","level":"AA","wcagType":"2.1"},"1.4.13":{"num":"1.4.13","url":"https://www.w3.org/TR/WCAG22/#content-on-hover-or-focus","scId":"WCAG2:content-on-hover-or-focus","scAltId":[],"test":"WCAG2:content-on-hover-or-focus","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#content-on-hover-or-focus","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/content-on-hover-or-focus.html","handle":"Content on Hover or Focus","level":"AA","wcagType":"2.1"},"2.1.1":{"num":"2.1.1","url":"https://www.w3.org/TR/WCAG22/#keyboard","scId":"WCAG2:keyboard","scAltId":["keyboard-operation-keyboard-operable"],"test":"WCAG2:keyboard-operation-keyboard-operable","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#keyboard","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/keyboard.html","handle":"Keyboard","level":"A","wcagType":"2.0"},"2.1.2":{"num":"2.1.2","url":"https://www.w3.org/TR/WCAG22/#no-keyboard-trap","scId":"WCAG2:no-keyboard-trap","scAltId":["keyboard-operation-trapping"],"test":"WCAG2:keyboard-operation-trapping","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#no-keyboard-trap","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/no-keyboard-trap.html","handle":"No Keyboard Trap","level":"A","wcagType":"2.0"},"2.1.3":{"num":"2.1.3","url":"https://www.w3.org/TR/WCAG22/#keyboard-no-exception","scId":"WCAG2:keyboard-no-exception","scAltId":["keyboard-operation-all-funcs"],"test":"WCAG2:keyboard-operation-all-funcs","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#keyboard-no-exception","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/keyboard-no-exception.html","handle":"Keyboard (No Exception)","level":"AAA","wcagType":"2.0"},"2.1.4":{"num":"2.1.4","url":"https://www.w3.org/TR/WCAG22/#character-key-shortcuts","scId":"WCAG2:character-key-shortcuts","scAltId":[],"test":"WCAG2:WCAG2:character-key-shortcuts","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#character-key-shortcuts","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/character-key-shortcuts.html","handle":"Character Key Shortcuts","level":"A","wcagType":"2.1"},"2.2.1":{"num":"2.2.1","url":"https://www.w3.org/TR/WCAG22/#timing-adjustable","scId":"WCAG2:timing-adjustable","scAltId":["time-limits-required-behaviors"],"test":"WCAG2:time-limits-required-behaviors","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#timing-adjustable","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/timing-adjustable.html","handle":"Timing Adjustable","level":"A","wcagType":"2.0"},"2.2.2":{"num":"2.2.2","url":"https://www.w3.org/TR/WCAG22/#pause-stop-hide","scId":"WCAG2:pause-stop-hide","scAltId":["time-limits-pause"],"test":"WCAG2:time-limits-pause","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#pause-stop-hide","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/pause-stop-hide.html","handle":"Pause, Stop, Hide","level":"A","wcagType":"2.0"},"2.2.3":{"num":"2.2.3","url":"https://www.w3.org/TR/WCAG22/#no-timing","scId":"WCAG2:no-timing","scAltId":["time-limits-no-exceptions"],"test":"WCAG2:time-limits-no-exceptions","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#no-timing","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/no-timing.html","handle":"No Timing","level":"AAA","wcagType":"2.0"},"2.2.4":{"num":"2.2.4","url":"https://www.w3.org/TR/WCAG22/#interruptions","scId":"WCAG2:interruptions","scAltId":["time-limits-postponed"],"test":"WCAG2:time-limits-postponed","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#interruptions","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/interruptions.html","handle":"Interruptions","level":"AAA","wcagType":"2.0"},"2.2.5":{"num":"2.2.5","url":"https://www.w3.org/TR/WCAG22/#re-authenticating","scId":"WCAG2:re-authenticating","scAltId":["time-limits-server-timeout"],"test":"WCAG2:time-limits-server-timeout","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#re-authenticating","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/re-authenticating.html","handle":"Re-authenticating","level":"AAA","wcagType":"2.0"},"2.2.6":{"num":"2.2.6","url":"https://www.w3.org/TR/WCAG22/#timeouts","scId":"WCAG2:timeouts","scAltId":[],"test":"WCAG2:WCAG2:timeouts","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#timeouts","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/timeouts.html","handle":"Timeouts","level":"AAA","wcagType":"2.1"},"2.3.1":{"num":"2.3.1","url":"https://www.w3.org/TR/WCAG22/#three-flashes-or-below-threshold","scId":"WCAG2:three-flashes-or-below-threshold","scAltId":["seizure-does-not-violate"],"test":"WCAG2:seizure-does-not-violate","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#three-flashes-or-below-threshold","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/three-flashes-or-below-threshold.html","handle":"Three Flashes or Below Threshold","level":"A","wcagType":"2.0"},"2.3.2":{"num":"2.3.2","url":"https://www.w3.org/TR/WCAG22/#three-flashes","scId":"WCAG2:three-flashes","scAltId":["seizure-three-times"],"test":"WCAG2:seizure-three-times","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#three-flashes","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/three-flashes.html","handle":"Three Flashes","level":"AAA","wcagType":"2.0"},"2.3.3":{"num":"2.3.3","url":"https://www.w3.org/TR/WCAG22/#animation-from-interactions","scId":"WCAG2:animation-from-interactions","scAltId":[],"test":"WCAG2:WCAG2:animation-from-interactions","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#animation-from-interactions","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/animation-from-interactions.html","handle":"Animation from Interactions","level":"AAA","wcagType":"2.1"},"2.4.1":{"num":"2.4.1","url":"https://www.w3.org/TR/WCAG22/#bypass-blocks","scId":"WCAG2:bypass-blocks","scAltId":["navigation-mechanisms-skip"],"test":"WCAG2:navigation-mechanisms-skip","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#bypass-blocks","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/bypass-blocks.html","handle":"Bypass Blocks","level":"A","wcagType":"2.0"},"2.4.2":{"num":"2.4.2","url":"https://www.w3.org/TR/WCAG22/#page-titled","scId":"WCAG2:page-titled","scAltId":["navigation-mechanisms-title"],"test":"WCAG2:navigation-mechanisms-title","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#page-titled","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/page-titled.html","handle":"Page Titled","level":"A","wcagType":"2.0"},"2.4.3":{"num":"2.4.3","url":"https://www.w3.org/TR/WCAG22/#focus-order","scId":"WCAG2:focus-order","scAltId":["navigation-mechanisms-focus-order"],"test":"WCAG2:navigation-mechanisms-focus-order","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#focus-order","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/focus-order.html","handle":"Focus Order","level":"A","wcagType":"2.0"},"2.4.4":{"num":"2.4.4","url":"https://www.w3.org/TR/WCAG22/#link-purpose-in-context","scId":"WCAG2:link-purpose-in-context","scAltId":["navigation-mechanisms-refs"],"test":"WCAG2:navigation-mechanisms-refs","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#link-purpose-in-context","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/link-purpose-in-context.html","handle":"Link Purpose (In Context)","level":"A","wcagType":"2.0"},"2.4.5":{"num":"2.4.5","url":"https://www.w3.org/TR/WCAG22/#multiple-ways","scId":"WCAG2:multiple-ways","scAltId":["navigation-mechanisms-mult-loc"],"test":"WCAG2:navigation-mechanisms-mult-loc","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#multiple-ways","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/multiple-ways.html","handle":"Multiple Ways","level":"AA","wcagType":"2.0"},"2.4.6":{"num":"2.4.6","url":"https://www.w3.org/TR/WCAG22/#headings-and-labels","scId":"WCAG2:headings-and-labels","scAltId":["navigation-mechanisms-descriptive"],"test":"WCAG2:navigation-mechanisms-descriptive","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#headings-and-labels","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/headings-and-labels.html","handle":"Headings and Labels","level":"AA","wcagType":"2.0"},"2.4.7":{"num":"2.4.7","url":"https://www.w3.org/TR/WCAG22/#focus-visible","scId":"WCAG2:focus-visible","scAltId":["navigation-mechanisms-focus-visible"],"test":"WCAG2:navigation-mechanisms-focus-visible","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#focus-visible","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/focus-visible.html","handle":"Focus Visible","level":"AA","wcagType":"2.0"},"2.4.8":{"num":"2.4.8","url":"https://www.w3.org/TR/WCAG22/#location","scId":"WCAG2:location","scAltId":["navigation-mechanisms-location"],"test":"WCAG2:navigation-mechanisms-location","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#location","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/location.html","handle":"Location","level":"AAA","wcagType":"2.0"},"2.4.9":{"num":"2.4.9","url":"https://www.w3.org/TR/WCAG22/#link-purpose-link-only","scId":"WCAG2:link-purpose-link-only","scAltId":["navigation-mechanisms-link"],"test":"WCAG2:navigation-mechanisms-link","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#link-purpose-link-only","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/link-purpose-link-only.html","handle":"Link Purpose (Link Only)","level":"AAA","wcagType":"2.0"},"2.4.10":{"num":"2.4.10","url":"https://www.w3.org/TR/WCAG22/#section-headings","scId":"WCAG2:section-headings","scAltId":["navigation-mechanisms-headings"],"test":"WCAG2:navigation-mechanisms-headings","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#section-headings","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/section-headings.html","handle":"Section Headings","level":"AAA","wcagType":"2.0"},"2.4.11":{"num":"2.4.11","url":"https://www.w3.org/TR/WCAG22/#focus-not-obscured-minimum","scId":"WCAG2:focus-not-obscured-minimum","scAltId":["focus-not-obscured-minimum-alt"],"test":"WCAG2:focus-not-obscured-minimum-test","howToMeetUrl":"https://www.w3.org/TR/WCAG22/#focus-not-obscured-minimum","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/focus-not-obscured-minimum.html","handle":"Focus Not Obscured (Minimum)","level":"AA","wcagType":"2.2"},"2.4.12":{"num":"2.4.12","url":"https://www.w3.org/TR/WCAG22/#focus-not-obscured-enhanced","scId":"WCAG2:focus-not-obscured-enhanced","scAltId":[],"test":"WCAG2:focus-not-obscured-enhanced-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#focus-not-obscured-enhanced","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/focus-not-obscured-enhanced.html","handle":"Focus Not Obscured (Enhanced)","level":"AAA","wcagType":"2.2"},"2.4.13":{"num":"2.4.13","url":"https://www.w3.org/TR/WCAG22/#focus-appearance","scId":"WCAG2:focus-appearance","scAltId":[],"test":"WCAG2:focus-appearance","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#focus-appearance","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/focus-appearance.html","handle":"Focus Appearance","level":"AAA","wcagType":"2.2"},"2.5.1":{"num":"2.5.1","url":"https://www.w3.org/TR/WCAG22/#pointer-gestures","scId":"WCAG2:pointer-gestures","scAltId":[],"test":"WCAG2:pointer-gestures-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#pointer-gestures","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/pointer-gestures.html","handle":"Pointer Gestures","level":"A","wcagType":"2.1"},"2.5.2":{"num":"2.5.2","url":"https://www.w3.org/TR/WCAG22/#pointer-cancellation","scId":"WCAG2:pointer-cancellation","scAltId":[],"test":"WCAG2:WCAG2:pointer-cancellation","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#pointer-cancellation","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/pointer-cancellation.html","handle":"Pointer Cancellation","level":"A","wcagType":"2.1"},"2.5.3":{"num":"2.5.3","url":"https://www.w3.org/TR/WCAG22/#label-in-name","scId":"WCAG2:label-in-name","scAltId":[],"test":"WCAG2:WCAG2:label-in-name","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#label-in-name","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/label-in-name.html","handle":"Label in Name","level":"A","wcagType":"2.1"},"2.5.4":{"num":"2.5.4","url":"https://www.w3.org/TR/WCAG22/#motion-actuation","scId":"WCAG2:motion-actuation","scAltId":[],"test":"WCAG2:WCAG2:motion-actuation","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#motion-actuation","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/motion-actuation.html","handle":"Motion Actuation","level":"A","wcagType":"2.1"},"2.5.5":{"num":"2.5.5","url":"https://www.w3.org/TR/WCAG22/#target-size","scId":"WCAG2:target-size","scAltId":[],"test":"WCAG2:WCAG2:target-size","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#target-size","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/target-size.html","handle":"Target Size","level":"AAA","wcagType":"2.1"},"2.5.6":{"num":"2.5.6","url":"https://www.w3.org/TR/WCAG22/#concurrent-input-mechanisms","scId":"WCAG2:concurrent-input-mechanisms","scAltId":[],"test":"WCAG2:WCAG2:concurrent-input-mechanisms","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#concurrent-input-mechanisms","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/concurrent-input-mechanisms.html","handle":"Concurrent Input Mechanisms","level":"AAA","wcagType":"2.1"},"2.5.7":{"num":"2.5.7","url":"https://www.w3.org/TR/WCAG22/#dragging-movements","scId":"WCAG2:dragging-movement","scAltId":["dragging-movement-alt"],"test":"WCAG2:dragging-movement-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/Understanding/dragging-movements.html","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/dragging-movements.html","handle":"Dragging Movement","level":"AA","wcagType":"2.2"},"2.5.8":{"num":"2.5.8","url":"https://www.w3.org/TR/WCAG22/#target-size-minimum","scId":"WCAG2:minimum-target-size","scAltId":["minimum-target-size-alt"],"test":"WCAG2:minimum-target-size-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#target-size-minimum","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/target-size-minimum.html","handle":"Minimum Target Size","level":"AA","wcagType":"2.2"},"3.1.1":{"num":"3.1.1","url":"https://www.w3.org/TR/WCAG22/#language-of-page","scId":"WCAG2:language-of-page","scAltId":["meaning-doc-lang-id"],"test":"WCAG2:meaning-doc-lang-id","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#language-of-page","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/language-of-page.html","handle":"Language of Page","level":"A","wcagType":"2.0"},"3.1.2":{"num":"3.1.2","url":"https://www.w3.org/TR/WCAG22/#language-of-parts","scId":"WCAG2:language-of-parts","scAltId":["meaning-other-lang-id"],"test":"WCAG2:meaning-other-lang-id","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#language-of-parts","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/language-of-parts.html","handle":"Language of Parts","level":"AA","wcagType":"2.0"},"3.1.3":{"num":"3.1.3","url":"https://www.w3.org/TR/WCAG22/#unusual-words","scId":"WCAG2:unusual-words","scAltId":["meaning-idioms"],"test":"WCAG2:meaning-idioms","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#unusual-words","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/unusual-words.html","handle":"Unusual Words","level":"AAA","wcagType":"2.0"},"3.1.4":{"num":"3.1.4","url":"https://www.w3.org/TR/WCAG22/#abbreviations","scId":"WCAG2:abbreviations","scAltId":["meaning-located"],"test":"WCAG2:meaning-located","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#abbreviations","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/abbreviations.html","handle":"Abbreviations","level":"AAA","wcagType":"2.0"},"3.1.5":{"num":"3.1.5","url":"https://www.w3.org/TR/WCAG22/#reading-level","scId":"WCAG2:reading-level","scAltId":["meaning-supplements"],"test":"WCAG2:meaning-supplements","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#reading-level","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/reading-level.html","handle":"Reading Level","level":"AAA","wcagType":"2.0"},"3.1.6":{"num":"3.1.6","url":"https://www.w3.org/TR/WCAG22/#pronunciation","scId":"WCAG2:pronunciation","scAltId":["meaning-pronunciation"],"test":"WCAG2:meaning-pronunciation","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#pronunciation","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/pronunciation.html","handle":"Pronunciation","level":"AAA","wcagType":"2.0"},"3.2.1":{"num":"3.2.1","url":"https://www.w3.org/TR/WCAG22/#on-focus","scId":"WCAG2:on-focus","scAltId":["consistent-behavior-receive-focus"],"test":"WCAG2:consistent-behavior-receive-focus","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#on-focus","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/on-focus.html","handle":"On Focus","level":"A","wcagType":"2.0"},"3.2.2":{"num":"3.2.2","url":"https://www.w3.org/TR/WCAG22/#on-input","scId":"WCAG2:on-input","scAltId":["consistent-behavior-unpredictable-change"],"test":"WCAG2:consistent-behavior-unpredictable-change","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#on-input","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/on-input.html","handle":"On Input","level":"A","wcagType":"2.0"},"3.2.3":{"num":"3.2.3","url":"https://www.w3.org/TR/WCAG22/#consistent-navigation","scId":"WCAG2:consistent-navigation","scAltId":["consistent-behavior-consistent-locations"],"test":"WCAG2:consistent-behavior-consistent-locations","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#consistent-navigation","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/consistent-navigation.html","handle":"Consistent Navigation","level":"AA","wcagType":"2.0"},"3.2.4":{"num":"3.2.4","url":"https://www.w3.org/TR/WCAG22/#consistent-identification","scId":"WCAG2:consistent-identification","scAltId":["consistent-behavior-consistent-functionality"],"test":"WCAG2:consistent-behavior-consistent-functionality","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#consistent-identification","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/consistent-identification.html","handle":"Consistent Identification","level":"AA","wcagType":"2.0"},"3.2.5":{"num":"3.2.5","url":"https://www.w3.org/TR/WCAG22/#change-on-request","scId":"WCAG2:change-on-request","scAltId":["consistent-behavior-no-extreme-changes-context"],"test":"WCAG2:consistent-behavior-no-extreme-changes-context","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#change-on-request","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/change-on-request.html","handle":"Change on Request","level":"AAA","wcagType":"2.0"},"3.2.6":{"num":"3.2.6","url":"https://www.w3.org/TR/WCAG22/#consistent-help","scId":"WCAG2:consistent-help","scAltId":["consistent-help-alt"],"test":"WCAG2:consistent-help-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#consistent-help","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/consistent-help.html","handle":"Consistent Help","level":"AA","wcagType":"2.2"},"3.3.1":{"num":"3.3.1","url":"https://www.w3.org/TR/WCAG22/#error-identification","scId":"WCAG2:error-identification","scAltId":["minimize-error-identified"],"test":"WCAG2:minimize-error-identified","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#error-identification","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/error-identification.html","handle":"Error Identification","level":"A","wcagType":"2.0"},"3.3.2":{"num":"3.3.2","url":"https://www.w3.org/TR/WCAG22/#labels-or-instructions","scId":"WCAG2:labels-or-instructions","scAltId":["minimize-error-cues"],"test":"WCAG2:minimize-error-cues","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#labels-or-instructions","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/labels-or-instructions.html","handle":"Labels or Instructions","level":"A","wcagType":"2.0"},"3.3.3":{"num":"3.3.3","url":"https://www.w3.org/TR/WCAG22/#error-suggestion","scId":"WCAG2:error-suggestion","scAltId":["minimize-error-suggestions"],"test":"WCAG2:minimize-error-suggestions","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#error-suggestion","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/error-suggestion.html","handle":"Error Suggestion","level":"AA","wcagType":"2.0"},"3.3.4":{"num":"3.3.4","url":"https://www.w3.org/TR/WCAG22/#error-prevention-legal-financial-data","scId":"WCAG2:error-prevention-legal-financial-data","scAltId":["minimize-error-reversible"],"test":"WCAG2:minimize-error-reversible","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#error-prevention-legal-financial-data","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/error-prevention-legal-financial-data.html","handle":"Error Prevention (Legal, Financial, Data)","level":"AA","wcagType":"2.0"},"3.3.5":{"num":"3.3.5","url":"https://www.w3.org/TR/WCAG22/#help","scId":"WCAG2:help","scAltId":["minimize-error-context-help"],"test":"WCAG2:minimize-error-context-help","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#help","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/help.html","handle":"Help","level":"AAA","wcagType":"2.0"},"3.3.6":{"num":"3.3.6","url":"https://www.w3.org/TR/WCAG22/#error-prevention-all","scId":"WCAG2:error-prevention-all","scAltId":["minimize-error-reversible-all"],"test":"WCAG2:minimize-error-reversible-all","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#error-prevention-all","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/error-prevention-all.html","handle":"Error Prevention (All)","level":"AAA","wcagType":"2.0"},"3.3.7":{"num":"3.3.7","url":"https://www.w3.org/TR/WCAG22/#redundant-entry","scId":"WCAG2:redundant-entry","scAltId":["redundant-entry-alt"],"test":"WCAG2:redundant-entry-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#redundant-entry","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/redundant-entry.html","handle":"Redundant Entry","level":"AA","wcagType":"2.2"},"3.3.8":{"num":"3.3.8","url":"https://www.w3.org/TR/WCAG22/#accessible-authentication-minimum","scId":"WCAG2:accessible-authentication-minimum","scAltId":["accessible-authentication-minimum-alt"],"test":"WCAG2:accessible-authentication-minimum-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#accessible-authentication-minimum","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/accessible-authentication-minimum.html","handle":"Accessible Authentication (Minimum)","level":"AA","wcagType":"2.2"},"3.3.9":{"num":"3.3.9","url":"https://www.w3.org/TR/WCAG22/#accessible-authentication-enhanced","scId":"WCAG2:accessible-authentication-enhanced","scAltId":[],"test":"WCAG2:accessible-authentication-enhanced","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#accessible-authentication-enhanced","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/accessible-authentication-enhanced.html","handle":"Accessible Authentication (Enhanced)","level":"AAA","wcagType":"2.2"},"4.1.1":{"num":"4.1.1","url":"https://www.w3.org/TR/WCAG22/#parsing","scId":"WCAG2:parsing","scAltId":["ensure-compat-parses"],"test":"WCAG2:ensure-compat-parses","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/?versions=2.1#parsing","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/parsing.html","handle":"Parsing","level":"A","wcagType":"2.0"},"4.1.2":{"num":"4.1.2","url":"https://www.w3.org/TR/WCAG22/#name-role-value","scId":"WCAG2:name-role-value","scAltId":["ensure-compat-rsv"],"test":"WCAG2:ensure-compat-rsv","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#name-role-value","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/name-role-value.html","handle":"Name, Role, Value","level":"A","wcagType":"2.0"},"4.1.3":{"num":"4.1.3","url":"https://www.w3.org/TR/WCAG22/#status-messages","scId":"WCAG2:status-messages","scAltId":[],"test":"WCAG2:status-messages","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#status-messages","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/status-messages.html","handle":"Status Messages","level":"AA","wcagType":"2.1"},"HTML":{"num":"HTML","url":"https://html.spec.whatwg.org/multipage/","scId":[],"scAltId":[],"test":"","howToMeetUrl":"https://html.spec.whatwg.org/multipage/","understandingUrl":"https://html.spec.whatwg.org/multipage/","handle":"specification","level":"NA","wcagType":"NA"},"ARIA":{"num":"ARIA","url":"https://www.w3.org/TR/wai-aria-1.2/","scId":[],"scAltId":[],"test":"","howToMeetUrl":"https://www.w3.org/TR/wai-aria-1.2/","understandingUrl":"https://www.w3.org/TR/wai-aria-1.2/","handle":"specification","level":"NA","wcagType":"NA"}}')}},t={};function i(a){var l=t[a];if(void 0!==l)return l.exports;var n=t[a]={exports:{}};return e[a].call(n.exports,n,n.exports,i),n.exports}var a={};(()=>{var e=a;Object.defineProperty(e,"__esModule",{value:!0}),e.checkDemo=e.DOMWalker=e.Config=e.ARIAMapper=e.Checker=e.Context=void 0;var t=i(2306);Object.defineProperty(e,"Context",{enumerable:!0,get:function(){return t.Context}});var l=i(7884);Object.defineProperty(e,"Checker",{enumerable:!0,get:function(){return l.Checker}});var n=i(4944);Object.defineProperty(e,"ARIAMapper",{enumerable:!0,get:function(){return n.ARIAMapper}});var r=i(3962);Object.defineProperty(e,"Config",{enumerable:!0,get:function(){return r.Config}});var o=i(7440);Object.defineProperty(e,"DOMWalker",{enumerable:!0,get:function(){return o.DOMWalker}}),String.prototype.startsWith=String.prototype.startsWith||function(e){return 0===this.indexOf(e)},String.prototype.includes=String.prototype.includes||function(e){return-1!==this.indexOf(e)},Array.prototype.includes=Array.prototype.includes||function(e){return-1!==this.indexOf(e)},e.checkDemo=function(e){e||(e=0);var t=new l.Checker;setTimeout((function(){t.check(document.documentElement,["IBM_Accessibility","IBM_Design"]).then((function(e){console.log(e);for(var t={FAIL:0,POTENTIAL:1,MANUAL:2,PASS:3},i=0;i<e.results.length;++i)"PASS"===e.results[i].value[1]&&e.results.splice(i--,1);e.results.sort((function(e,i){return e.category!=i.category?e.category.localeCompare(i.category):e.path.aria===i.path.aria?t[e.value[1]]-t[i.value[1]]:e.path.aria.localeCompare(i.path.aria)}));for(var a=null,l=null,n=0,r=e.results;n<r.length;n++){var o=r[n];l!==o.category&&(null!==l&&(console.groupEnd(),console.groupEnd(),a=null),l=o.category,console.group(o.category)),o.path.aria!=a&&(null!==a&&console.groupEnd(),""===(a=o.path.aria)?console.group("page"):console.group(a)),console.log(o.value,o.message)}console.groupEnd(),console.groupEnd()}))}),e)}})(),ace=a})(); \ No newline at end of file diff --git a/rule-server/src/static/archives/2024.12.12/js/ace.js.LICENSE.txt b/rule-server/src/static/archives/2024.12.12/js/ace.js.LICENSE.txt new file mode 100644 index 000000000..614ccacb5 --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/js/ace.js.LICENSE.txt @@ -0,0 +1,15 @@ +/*! + * Copyright:: 2016,2017,2019,2020- IBM, Inc + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ diff --git a/rule-server/src/static/archives/2024.12.12/js/ace_s.js b/rule-server/src/static/archives/2024.12.12/js/ace_s.js new file mode 100644 index 000000000..2efee017b --- /dev/null +++ b/rule-server/src/static/archives/2024.12.12/js/ace_s.js @@ -0,0 +1,2 @@ +/*! For license information please see ace.js.LICENSE.txt */ +var ace;(()=>{"use strict";var e={9910:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ARIADefinitions=void 0;var i=function(){function e(){}return e.nameFromContent=function(t){return t in e.designPatterns&&e.designPatterns[t].nameFrom&&e.designPatterns[t].nameFrom.includes("contents")},e.globalProperties=["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-flowto","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription","aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"],e.referenceProperties=["aria-owns","aria-controls","aria-describedby","aria-labelledby","aria-flowto","aria-activedescendant"],e.globalDeprecatedRoles=["directory","doc-biblioentry","doc-endnote"],e.globalDeprecatedProperties=["aria-grabbed","aria-dropeffect"],e.propertyDataTypes={"aria-activedescendant":{type:"http://www.w3.org/2001/XMLSchema#idref",hiddenIDRefSupported:!0},"aria-atomic":{type:"http://www.w3.org/2001/XMLSchema#boolean"},"aria-autocomplete":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["inline","list","both","none","undefined"]},"aria-busy":{type:"http://www.w3.org/2001/XMLSchema#boolean"},"aria-checked":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["true","false","mixed","undefined"]},"aria-colcount":{type:"http://www.w3.org/2001/XMLSchema#int"},"aria-colindex":{type:"http://www.w3.org/2001/XMLSchema#int"},"aria-colspan":{type:"http://www.w3.org/2001/XMLSchema#int"},"aria-controls":{type:"http://www.w3.org/2001/XMLSchema#idrefs",hiddenIDRefSupported:!0},"aria-current":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["page","step","location","date","time","true","false","undefined"]},"aria-describedby":{type:"http://www.w3.org/2001/XMLSchema#idrefs",hiddenIDRefSupported:!0},"aria-details":{type:"http://www.w3.org/2001/XMLSchema#idrefs"},"aria-disabled":{type:"http://www.w3.org/2001/XMLSchema#boolean"},"aria-dropeffect":{type:"http://www.w3.org/2001/XMLSchema#nmtokens",values:["copy","move","link","execute","popup","none"]},"aria-errormessage":{type:"http://www.w3.org/2001/XMLSchema#idref",hiddenIDRefSupported:!0},"aria-expanded":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["true","false","undefined"]},"aria-flowto":{type:"http://www.w3.org/2001/XMLSchema#idrefs",hiddenIDRefSupported:!1},"aria-grabbed":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["true","false","undefined"]},"aria-haspopup":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["true","false","menu","listbox","tree","grid","dialog"]},"aria-hidden":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["true","false","undefined"]},"aria-invalid":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["true","false","spelling","grammar","undefined"]},"aria-keyshortcuts":{type:"http://www.w3.org/2001/XMLSchema#string"},"aria-label":{type:"http://www.w3.org/2001/XMLSchema#string"},"aria-labelledby":{type:"http://www.w3.org/2001/XMLSchema#idrefs",hiddenIDRefSupported:!0},"aria-level":{type:"http://www.w3.org/2001/XMLSchema#int"},"aria-live":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["off","polite","assertive"]},"aria-modal":{type:"http://www.w3.org/2001/XMLSchema#boolean"},"aria-multiline":{type:"http://www.w3.org/2001/XMLSchema#boolean"},"aria-multiselectable":{type:"http://www.w3.org/2001/XMLSchema#boolean"},"aria-orientation":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["horizontal","vertical","undefined"]},"aria-owns":{type:"http://www.w3.org/2001/XMLSchema#idrefs",hiddenIDRefSupported:!0},"aria-placeholder":{type:"http://www.w3.org/2001/XMLSchema#string"},"aria-posinset":{type:"http://www.w3.org/2001/XMLSchema#int"},"aria-pressed":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["true","false","mixed","undefined"]},"aria-readonly":{type:"http://www.w3.org/2001/XMLSchema#boolean"},"aria-relevant":{type:"http://www.w3.org/2001/XMLSchema#nmtokens",values:["additions","removals","text","all"]},"aria-required":{type:"http://www.w3.org/2001/XMLSchema#boolean"},"aria-roledescription":{type:"http://www.w3.org/2001/XMLSchema#string"},"aria-rowcount":{type:"http://www.w3.org/2001/XMLSchema#int"},"aria-rowindex":{type:"http://www.w3.org/2001/XMLSchema#int"},"aria-rowspan":{type:"http://www.w3.org/2001/XMLSchema#int"},"aria-selected":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["true","false","undefined"]},"aria-setsize":{type:"http://www.w3.org/2001/XMLSchema#int"},"aria-sort":{type:"http://www.w3.org/2001/XMLSchema#nmtoken",values:["ascending","descending","other","none"]},"aria-valuemax":{type:"http://www.w3.org/2001/XMLSchema#decimal"},"aria-valuemin":{type:"http://www.w3.org/2001/XMLSchema#decimal"},"aria-valuenow":{type:"http://www.w3.org/2001/XMLSchema#decimal"},"aria-valuetext":{type:"http://www.w3.org/2001/XMLSchema#string"}},e.designPatterns={alert:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"liveRegion",nameRequired:!1,nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},alertdialog:{container:null,props:["aria-modal"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"window",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},application:{container:null,props:["aria-activedescendant","aria-expanded"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameRequired:!0,nameFrom:["author"]},article:{container:null,props:["aria-posinset","aria-setsize"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},banner:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},blockquote:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},button:{container:null,props:["aria-expanded","aria-pressed"],reqProps:null,reqChildren:null,htmlEquiv:"button | input[@type='button']",roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],presentationalChildren:!0,deprecatedProps:["aria-errormessage","aria-invalid"]},caption:{container:["figure","grid","table","treegrid"],props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},cell:{container:["row"],props:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan"],reqProps:null,reqChildren:null,htmlEquiv:"td",roleType:"structure",nameFrom:["author","contents"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},checkbox:{container:null,props:["aria-expanded","aria-readonly","aria-required"],reqProps:["aria-checked"],reqChildren:null,htmlEquiv:"input[@type='checkbox']",roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],presentationalChildren:!0,deprecatedProps:["aria-haspopup"]},code:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},columnheader:{container:["row"],props:["aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected","aria-sort"],reqProps:null,reqChildren:null,htmlEquiv:"th[@scope='col']",roleType:"structure",nameRequired:!0,nameFrom:["author","contents"]},combobox:{container:null,props:["aria-controls","aria-activedescendant","aria-autocomplete","aria-readonly","aria-required"],reqProps:["aria-expanded"],reqChildren:[],htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author"]},complementary:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},comment:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameRequired:!1,nameFrom:["author","contents"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},contentinfo:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},definition:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},deletion:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},dialog:{container:null,props:["aria-modal"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"window",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},directory:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["author"],deprecated:!0,deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},"doc-abstract":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-acknowledgments":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-afterword":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-appendix":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-backlink":{container:null,props:["aria-disabled","aria-expanded","aria-haspopup"],reqProps:null,reqChildren:null,htmlEquiv:"a | link",roleType:"widget",nameRequired:!0,nameFrom:["author","contents"]},"doc-biblioentry":{container:["list"],props:["aria-level","aria-posinset","aria-setsize"],reqProps:null,reqChildren:null,htmlEquiv:"li",roleType:"structure",nameRequired:!0,nameFrom:["author"]},"doc-bibliography":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-biblioref":{container:null,props:["aria-disabled","aria-expanded","aria-haspopup"],reqProps:null,reqChildren:null,htmlEquiv:"a | link",roleType:"widget",nameRequired:!0,nameFrom:["author","contents"]},"doc-chapter":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-colophon":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!0,nameFrom:["author"]},"doc-conclusion":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-cover":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:"img",roleType:"structure",nameRequired:!1,nameFrom:["author"],presentationalChildren:!0},"doc-credit":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-credits":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-dedication":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-endnote":{container:["list"],props:["aria-level","aria-posinset","aria-setsize"],reqProps:null,reqChildren:null,htmlEquiv:"li",roleType:"structure",nameRequired:!1,nameFrom:["author"]},"doc-endnotes":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!0,nameFrom:["author"]},"doc-epigraph":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-epilogue":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-errata":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-example":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-footnote":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-foreword":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-glossary":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-glossref":{container:null,props:["aria-disabled","aria-expanded","aria-haspopup"],reqProps:null,reqChildren:null,htmlEquiv:"a | link",roleType:"widget",nameRequired:!0,nameFrom:["author","contents"]},"doc-index":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-introduction":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-noteref":{container:null,props:["aria-disabled","aria-expanded","aria-haspopup"],reqProps:null,reqChildren:null,htmlEquiv:"a | link",roleType:"widget",nameRequired:!0,nameFrom:["author","contents"]},"doc-notice":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameRequired:!1,nameFrom:["author"]},"doc-pagebreak":{container:null,props:["aria-orientation"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameRequired:!0,nameFrom:["author","contents"],presentationalChildren:!0},"doc-pagelist":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-pagefooter":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"]},"doc-pageheader":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"]},"doc-part":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-preface":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-prologue":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-pullquote":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameRequired:!1,nameFrom:["author"]},"doc-qna":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},"doc-subtitle":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameRequired:!1,nameFrom:["author","contents"]},"doc-tip":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameRequired:!1,nameFrom:["author"]},"doc-toc":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!1,nameFrom:["author"]},document:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameRequired:!1,nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},emphasis:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},feed:{container:null,props:null,reqProps:null,reqChildren:["article"],htmlEquiv:null,roleType:"structure",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},figure:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},form:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:"form",roleType:"landmark",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},generic:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:"div | span",roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby","aria-roledescription"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},"graphics-document":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,nameRequired:!0,nameFrom:["author"]},"graphics-object":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,nameRequired:!1,nameFrom:["author"]},"graphics-symbol":{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,nameRequired:!0,nameFrom:["author"],presentationalChildren:!0},grid:{container:null,props:["aria-activedescendant","aria-colcount","aria-multiselectable","aria-readonly","aria-rowcount"],reqProps:null,reqChildren:["row","rowgroup"],htmlEquiv:"table",roleType:"widget",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},gridcell:{container:["row"],props:["aria-colindex","aria-colspan","aria-disabled","aria-errormessage","aria-expanded","aria-haspopup","aria-invalid","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],reqProps:null,reqChildren:null,htmlEquiv:"td",roleType:"widget",nameFrom:["author","contents"]},group:{container:null,props:["aria-activedescendant"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["author"],deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},heading:{container:null,props:null,reqProps:["aria-level"],reqChildren:null,htmlEquiv:"h1 | h2 | h3 | h4 | h5 | h6",roleType:"structure",nameRequired:!0,nameFrom:["author","contents"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},img:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:"img",roleType:"structure",nameRequired:!0,nameFrom:["author"],presentationalChildren:!0,deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},image:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:"img",roleType:"structure",nameRequired:!0,nameFrom:["author"],presentationalChildren:!0,deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},insertion:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},link:{container:null,props:["aria-expanded"],reqProps:null,reqChildren:null,htmlEquiv:"a | link",roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],deprecatedProps:["aria-errormessage","aria-invalid"]},list:{container:null,props:null,reqProps:null,reqChildren:["listitem"],htmlEquiv:"ol | ul",roleType:"structure",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},listbox:{container:null,props:["aria-activedescendant","aria-expanded","aria-multiselectable","aria-orientation","aria-readonly","aria-required"],reqProps:null,reqChildren:["group","option"],htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-haspopup"]},listitem:{container:["list"],props:["aria-level","aria-posinset","aria-setsize"],reqProps:null,reqChildren:null,htmlEquiv:"li",roleType:"structure",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},log:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"liveRegion",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},main:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},mark:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:"mark",roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},marquee:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"liveRegion",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},math:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["author"],presentationalChildren:!1,deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},menu:{container:null,props:["aria-activedescendant","aria-orientation"],reqProps:null,reqChildren:["group","menuitem","menuitemcheckbox","menuitemradio"],htmlEquiv:null,roleType:"widget",nameRequired:!1,nameFrom:["author"],deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},menubar:{container:null,props:["aria-activedescendant","aria-orientation"],reqProps:null,reqChildren:["group","menuitem","menuitemcheckbox","menuitemradio"],htmlEquiv:null,roleType:"widget",nameRequired:!1,nameFrom:["author"],deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},menuitem:{container:["group","menu","menubar"],props:["aria-expanded","aria-posinset","aria-setsize"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],deprecatedProps:["aria-errormessage","aria-invalid"]},menuitemcheckbox:{container:["group","menu","menubar"],props:["aria-expanded","aria-posinset","aria-setsize"],reqProps:["aria-checked"],reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],presentationalChildren:!0,deprecatedProps:["aria-errormessage","aria-invalid"]},menuitemradio:{container:["group","menu","menubar"],props:["aria-expanded","aria-posinset","aria-setsize"],reqProps:["aria-checked"],reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],presentationalChildren:!0,deprecatedProps:["aria-errormessage","aria-invalid"]},meter:{container:null,props:["aria-valuemax","aria-valuemin","aria-valuetext"],reqProps:["aria-valuenow"],reqChildren:null,htmlEquiv:null,roleType:"structure",nameRequired:!0,nameFrom:["author"],presentationalChildren:!0,deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},navigation:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},none:{container:null,props:[],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},note:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},option:{container:["group","listbox"],props:["aria-selected","aria-checked","aria-posinset","aria-setsize"],reqProps:null,reqChildren:null,htmlEquiv:"option",roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],presentationalChildren:!0,deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},paragraph:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},presentation:{container:null,props:[],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},progressbar:{container:null,props:["aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author"],presentationalChildren:!0,deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},radio:{container:null,props:["aria-posinset","aria-setsize"],reqProps:["aria-checked"],reqChildren:null,htmlEquiv:"input[@type='radio']",roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],presentationalChildren:!0,deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},radiogroup:{container:null,props:["aria-activedescendant","aria-orientation","aria-readonly","aria-required"],reqProps:null,reqChildren:["radio"],htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-haspopup"]},region:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},row:{container:["grid","rowgroup","table","treegrid"],props:["aria-activedescendant","aria-colindex","aria-expanded","aria-level","aria-posinset","aria-rowindex","aria-selected","aria-setsize"],reqProps:null,reqChildren:["cell","columnheader","gridcell","rowheader"],htmlEquiv:"tr",roleType:"structure",nameFrom:["author","contents"],deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},rowgroup:{container:["grid","table","treegrid"],props:[],reqProps:null,reqChildren:["row"],htmlEquiv:"tbody | tfoot | thead",roleType:"structure",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},rowheader:{container:["row"],props:["aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected","aria-sort"],reqProps:null,reqChildren:null,htmlEquiv:"th[@scope='row']",roleType:"structure",nameRequired:!0,nameFrom:["author","contents"]},scrollbar:{container:null,props:["aria-orientation","aria-valuemax","aria-valuemin","aria-valuetext"],reqProps:["aria-controls","aria-valuenow"],reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!1,nameFrom:["author"],presentationalChildren:!0,deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},search:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"landmark",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},searchbox:{container:null,props:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],reqProps:null,reqChildren:null,htmlEquiv:"input[@type='search']",roleType:"widget",nameRequired:!0,nameFrom:["author"]},separator:{container:null,props:["aria-orientation"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["author"],presentationalChildren:!0,deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},slider:{container:null,props:["aria-orientation","aria-readonly","aria-valuemax","aria-valuemin","aria-valuetext"],reqProps:["aria-valuenow"],reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author"],presentationalChildren:!0},spinbutton:{container:null,props:["aria-activedescendant","aria-readonly","aria-required","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-haspopup"]},status:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"liveRegion",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},strong:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},subscript:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},suggestion:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},superscript:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},switch:{container:null,props:["aria-expanded","aria-readonly","aria-required"],reqProps:["aria-checked"],reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],presentationalChildren:!0,deprecatedProps:["aria-haspopup"]},tab:{container:["tablist"],props:["aria-expanded","aria-posinset","aria-selected","aria-setsize"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],presentationalChildren:!0,deprecatedProps:["aria-errormessage","aria-invalid"]},table:{container:null,props:["aria-colcount","aria-rowcount"],reqProps:null,reqChildren:["row","rowgroup","caption"],htmlEquiv:"table",roleType:"structure",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},tablist:{container:null,props:["aria-activedescendant","aria-multiselectable","aria-orientation"],reqProps:null,reqChildren:["tab"],htmlEquiv:null,roleType:"widget",nameRequired:!1,nameFrom:["author"],deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},tabpanel:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},term:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:"dfn",roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},textbox:{container:null,props:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],reqProps:null,reqChildren:null,htmlEquiv:"input[@type='text']",roleType:"widget",nameRequired:!0,nameFrom:["author"]},time:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},timer:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"liveRegion",nameFrom:["author"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},toolbar:{container:null,props:["aria-activedescendant","aria-orientation"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameFrom:["author"],deprecatedProps:["aria-errormessage","aria-haspopup","aria-invalid"]},tooltip:{container:null,props:null,reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"structure",nameRequired:!1,nameFrom:["author","contents"],deprecatedProps:["aria-disabled","aria-errormessage","aria-haspopup","aria-invalid"]},tree:{container:null,props:["aria-activedescendant","aria-multiselectable","aria-orientation","aria-required"],reqProps:null,reqChildren:["group","treeitem"],htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-haspopup"]},treegrid:{container:null,props:["aria-activedescendant","aria-colcount","aria-multiselectable","aria-orientation","aria-readonly","aria-required","aria-rowcount"],reqProps:null,reqChildren:["row","rowgroup"],htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author"],deprecatedProps:["aria-haspopup"]},treeitem:{container:["group","tree"],props:["aria-checked","aria-expanded","aria-level","aria-posinset","aria-selected","aria-setsize"],reqProps:null,reqChildren:null,htmlEquiv:null,roleType:"widget",nameRequired:!0,nameFrom:["author","contents"],deprecatedProps:["aria-errormessage","aria-invalid"]}},e.elementsAllowedDisabled=["button","input","select","textarea","optgroup","option","fieldset"],e.elementsAllowedRequired=["select","textarea"],e.elementsAllowedReadOnly=["textarea"],e.documentConformanceRequirement={abbr:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0,prohibitedAriaAttributesWhenNoImplicitRole:["aria-label","aria-labelledby"]},address:{implicitRole:["group"],validRoles:["any"],globalAriaAttributesValid:!0},article:{implicitRole:["article"],validRoles:["application","document","feed","main","none","presentation","region"],globalAriaAttributesValid:!0},aside:{implicitRole:["complementary"],validRoles:["doc-dedication","doc-example","doc-footnote","doc-glossary","doc-pullquote","doc-tip","feed","none","note","presentation","region","search"],globalAriaAttributesValid:!0},audio:{implicitRole:null,validRoles:["application"],globalAriaAttributesValid:!0},b:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},base:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},bdi:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},bdo:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},blockquote:{implicitRole:["blockquote"],validRoles:["any"],globalAriaAttributesValid:!0},body:{implicitRole:["generic"],validRoles:null,otherDisallowedAriaAttributes:["aria-hidden"],globalAriaAttributesValid:!0},br:{implicitRole:null,validRoles:["none","presentation"],globalAriaAttributesValid:!1,otherAllowedAriaAttributes:["aria-hidden"]},button:{implicitRole:["button"],validRoles:["checkbox","combobox","gridcell","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","separator","slider","switch","tab","treeitem"],globalAriaAttributesValid:!0},canvas:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0},caption:{implicitRole:["caption"],validRoles:null,globalAriaAttributesValid:!0,allowAttributesFromImplicitRole:!1},cite:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0,prohibitedAriaAttributesWhenNoImplicitRole:["aria-label","aria-labelledby"]},code:{implicitRole:["code"],validRoles:["any"],globalAriaAttributesValid:!0},col:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},colgroup:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},data:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},datalist:{implicitRole:["listbox"],validRoles:null,globalAriaAttributesValid:!1,allowAttributesFromImplicitRole:!1},dd:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0},del:{implicitRole:["deletion"],validRoles:["any"],globalAriaAttributesValid:!0},details:{implicitRole:["group"],validRoles:null,globalAriaAttributesValid:!0},dfn:{implicitRole:["term"],validRoles:["any"],globalAriaAttributesValid:!0},dialog:{implicitRole:["dialog"],validRoles:["alertdialog"],globalAriaAttributesValid:!0},dl:{implicitRole:null,validRoles:["group","list","none","presentation"],globalAriaAttributesValid:!0},dt:{implicitRole:["term"],validRoles:["listitem"],globalAriaAttributesValid:!0},em:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0},embed:{implicitRole:null,validRoles:["application","document","img","none","presentation"],globalAriaAttributesValid:!0},fieldset:{implicitRole:["group"],validRoles:["none","presentation","radiogroup"],globalAriaAttributesValid:!0},figcaption:{implicitRole:null,validRoles:["group","none","presentation"],globalAriaAttributesValid:!0,prohibitedAriaAttributesWhenNoImplicitRole:["aria-label","aria-labelledby"]},form:{implicitRole:["form"],validRoles:["none","presentation","search"],globalAriaAttributesValid:!0},head:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},hgroup:{implicitRole:["group"],validRoles:["any"],globalAriaAttributesValid:!0},h1:{implicitRole:["heading"],validRoles:["doc-subtitle","none","presentation","tab"],globalAriaAttributesValid:!0},h2:{implicitRole:["heading"],validRoles:["doc-subtitle","none","presentation","tab"],globalAriaAttributesValid:!0},h3:{implicitRole:["heading"],validRoles:["doc-subtitle","none","presentation","tab"],globalAriaAttributesValid:!0},h4:{implicitRole:["heading"],validRoles:["doc-subtitle","none","presentation","tab"],globalAriaAttributesValid:!0},h5:{implicitRole:["heading"],validRoles:["doc-subtitle","none","presentation","tab"],globalAriaAttributesValid:!0},h6:{implicitRole:["heading"],validRoles:["doc-subtitle","none","presentation","tab"],globalAriaAttributesValid:!0},hr:{implicitRole:["separator"],validRoles:["doc-pagebreak","none","presentation"],globalAriaAttributesValid:!0},html:{implicitRole:["document"],validRoles:null,globalAriaAttributesValid:!1,allowAttributesFromImplicitRole:!1},i:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},iframe:{implicitRole:null,validRoles:["application","document","img","none","presentation"],globalAriaAttributesValid:!0},ins:{implicitRole:["insertion"],validRoles:["any"],globalAriaAttributesValid:!0},kbd:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0,prohibitedAriaAttributesWhenNoImplicitRole:["aria-label","aria-labelledby"]},label:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0,prohibitedAriaAttributesWhenNoImplicitRole:["aria-label","aria-labelledby"]},legend:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0,prohibitedAriaAttributesWhenNoImplicitRole:["aria-label","aria-labelledby"]},link:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},main:{implicitRole:["main"],validRoles:null,globalAriaAttributesValid:!0},map:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},mark:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0,prohibitedAriaAttributesWhenNoImplicitRole:["aria-label","aria-labelledby"]},math:{implicitRole:["math"],validRoles:null,globalAriaAttributesValid:!0},menu:{implicitRole:["list"],validRoles:["group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"],globalAriaAttributesValid:!0},meta:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},meter:{implicitRole:["meter"],validRoles:null,globalAriaAttributesValid:!0,otherDisallowedAriaAttributes:["aria-valuemax","aria-valuemin"],allowAttributesFromImplicitRole:!1},nav:{implicitRole:["navigation"],validRoles:["doc-index","doc-pagelist","doc-toc","menu","menubar","tablist","none","presentation"],globalAriaAttributesValid:!0},noscript:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},object:{implicitRole:null,validRoles:["application","document","img"],globalAriaAttributesValid:!0},ol:{implicitRole:["list"],validRoles:["group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"],globalAriaAttributesValid:!0},optgroup:{implicitRole:["group"],validRoles:null,globalAriaAttributesValid:!0},option:{implicitRole:["option"],validRoles:null,globalAriaAttributesValid:!0,otherDisallowedAriaAttributes:["aria-selected"]},output:{implicitRole:["status"],validRoles:["any"],globalAriaAttributesValid:!0},p:{implicitRole:["paragraph"],validRoles:["any"],globalAriaAttributesValid:!0},param:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},picture:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1,otherAllowedAriaAttributes:["aria-hidden"]},pre:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},progress:{implicitRole:["progressbar"],validRoles:null,globalAriaAttributesValid:!0,otherDisallowedAriaAttributes:["aria-valuemax"]},q:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},rp:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0},rt:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0,prohibitedAriaAttributesWhenNoImplicitRole:["aria-label","aria-labelledby"]},ruby:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0},s:{implicitRole:["deletion"],validRoles:["any"],globalAriaAttributesValid:!0,otherDisallowedAriaAttributes:["aria-label","aria-labelledby"]},samp:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},script:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},search:{implicitRole:["search"],validRoles:["search","form","group","none","presentation","region"],globalAriaAttributesValid:!0},slot:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},small:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},source:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},span:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},strong:{implicitRole:["strong"],validRoles:["any"],globalAriaAttributesValid:!0},style:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},sub:{implicitRole:["subscript"],validRoles:["any"],globalAriaAttributesValid:!0},sup:{implicitRole:["superscript"],validRoles:["any"],globalAriaAttributesValid:!0},svg:{implicitRole:["graphics-document"],validRoles:["any"],globalAriaAttributesValid:!0},table:{implicitRole:["table"],validRoles:["any"],globalAriaAttributesValid:!0},template:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},textarea:{implicitRole:["textbox"],validRoles:null,globalAriaAttributesValid:!0},tfoot:{implicitRole:["rowgroup"],validRoles:["any"],globalAriaAttributesValid:!0},thead:{implicitRole:["rowgroup"],validRoles:["any"],globalAriaAttributesValid:!0},time:{implicitRole:["time"],validRoles:["any"],globalAriaAttributesValid:!0},title:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},track:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},u:{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0},ul:{implicitRole:["list"],validRoles:["group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"],globalAriaAttributesValid:!0},var:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0,prohibitedAriaAttributesWhenNoImplicitRole:["aria-label","aria-labelledby"]},video:{implicitRole:null,validRoles:["application"],globalAriaAttributesValid:!0},wbr:{implicitRole:null,validRoles:["none","presentation"],globalAriaAttributesValid:!1,otherAllowedAriaAttributes:["aria-hidden"]}},e.documentConformanceRequirementSpecialTags={a:{"with-href":{implicitRole:["link"],validRoles:["button","checkbox","doc-backlink","doc-biblioref","doc-glossref","doc-noteref","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab","treeitem"],globalAriaAttributesValid:!0,otherDisallowedAriaAttributes:["aria-disabled=true"]},"without-href":{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0}},area:{"with-href":{implicitRole:["link"],validRoles:null,globalAriaAttributesValid:!0},"without-href":{implicitRole:["generic"],validRoles:["button","link"],globalAriaAttributesValid:!0}},div:{"child-dl":{implicitRole:["generic"],validRoles:["presentation","none"],globalAriaAttributesValid:!0},"no-child-dl":{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0}},figure:{"child-figcaption":{implicitRole:["figure"],validRoles:["doc-example"],globalAriaAttributesValid:!0},"no-child-figcaption":{implicitRole:["figure"],validRoles:["any"],globalAriaAttributesValid:!0}},footer:{"des-section-article-aside-main-nav":{implicitRole:["generic"],validRoles:["doc-footnote","group","none","presentation"],globalAriaAttributesValid:!0},other:{implicitRole:["contentinfo"],validRoles:["doc-footnote","group","none","presentation"],globalAriaAttributesValid:!0}},header:{"des-section-article-aside-main-nav":{implicitRole:["generic"],validRoles:["group","none","presentation"],globalAriaAttributesValid:!0},other:{implicitRole:["banner"],validRoles:["group","none","presentation"],globalAriaAttributesValid:!0}},img:{"img-with-accname":{implicitRole:["img"],validRoles:["button","checkbox","doc-cover","link","menuitem","menuitemcheckbox","menuitemradio","meter","option","progressbar","radio","scrollbar","separator","slider","switch","tab","treeitem"],globalAriaAttributesValid:!0},"img-without-accname-empty-alt":{implicitRole:["presentation","none"],validRoles:null,globalAriaAttributesValid:!1,otherAllowedAriaAttributes:["aria-hidden=true"]},"img-without-accname-no-alt":{implicitRole:["img"],validRoles:["presentation","none"],globalAriaAttributesValid:!1,otherAllowedAriaAttributes:["aria-hidden=true"]}},input:{button:{implicitRole:["button"],validRoles:["checkbox","combobox","gridcell","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","slider","switch","tab","treeitem"],globalAriaAttributesValid:!0},"checkbox-with-aria-pressed":{implicitRole:["checkbox"],validRoles:["menuitemcheckbox","option","switch","button"],globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-required"],otherDisallowedAriaAttributes:["aria-checked"]},"checkbox-without-aria-pressed":{implicitRole:["checkbox"],validRoles:["menuitemcheckbox","option","switch"],globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-required"],otherDisallowedAriaAttributes:["aria-checked"]},color:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0},date:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-required","aria-readonly"],otherRolesForAttributes:["textbox"]},"datetime-local":{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-required","aria-readonly"],otherRolesForAttributes:["textbox"]},"email-no-list":{implicitRole:["textbox"],validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-placeholder","aria-required","aria-readonly"],otherRolesForAttributes:["textbox"]},"email-with-list":{implicitRole:["combobox"],validRoles:null,globalAriaAttributesValid:!0},file:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-required"]},hidden:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!1},image:{implicitRole:["button"],validRoles:["checkbox","gridcell","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","slider","switch","tab","treeitem"],globalAriaAttributesValid:!0},month:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-readonly"],otherRolesForAttributes:["textbox"]},number:{implicitRole:["spinbutton"],validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-placeholder","aria-required","aria-readonly"]},password:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-placeholder","aria-required","aria-readonly"],otherRolesForAttributes:["textbox"]},radio:{implicitRole:["radio"],validRoles:["menuitemradio"],globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-required"],otherDisallowedAriaAttributes:["aria-checked"]},range:{implicitRole:["slider"],validRoles:null,globalAriaAttributesValid:!0,otherDisallowedAriaAttributes:["aria-valuemax","aria-valuemin"]},reset:{implicitRole:["button"],validRoles:["checkbox","combobox","gridcell","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","slider","switch","tab","treeitem"],globalAriaAttributesValid:!0},"search-no-list":{implicitRole:["searchbox"],validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-placeholder","aria-required","aria-readonly"]},"search-with-list":{implicitRole:["combobox"],validRoles:null,globalAriaAttributesValid:!0},submit:{implicitRole:["button"],validRoles:["checkbox","combobox","gridcell","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","slider","switch","tab","treeitem"],globalAriaAttributesValid:!0},"tel-no-list":{implicitRole:["textbox"],validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-placeholder","aria-required","aria-readonly"]},"tel-with-list":{implicitRole:["combobox"],validRoles:null,globalAriaAttributesValid:!0},"text-no-list":{implicitRole:["textbox"],validRoles:["combobox","searchbox","spinbutton"],globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-placeholder","aria-required","aria-readonly"]},"text-with-list":{implicitRole:["combobox"],validRoles:null,globalAriaAttributesValid:!0},time:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-readonly"],otherRolesForAttributes:["textbox"]},"url-no-list":{implicitRole:["textbox"],validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-placeholder","aria-required","aria-readonly"]},"url-with-list":{implicitRole:["combobox"],validRoles:null,globalAriaAttributesValid:!0},week:{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-readonly"],otherRolesForAttributes:["textbox"]},"default-with-list":{implicitRole:["combobox"],validRoles:null,globalAriaAttributesValid:!0},"default-no-list":{implicitRole:["textbox"],validRoles:null,globalAriaAttributesValid:!0}},li:{"child-of-list-role":{implicitRole:["listitem"],validRoles:null,globalAriaAttributesValid:!0},"no-child-of-list-role":{implicitRole:["generic"],validRoles:["any"],globalAriaAttributesValid:!0}},section:{"with-name":{implicitRole:["region"],validRoles:["alert","alertdialog","application","banner","complementary","contentinfo","dialog","doc-abstract","doc-acknowledgments","doc-afterword","doc-appendix","doc-bibliography","doc-chapter","doc-colophon","doc-conclusion","doc-credit","doc-credits","doc-dedication","doc-endnotes","doc-epigraph","doc-epilogue","doc-errata","doc-example","doc-foreword","doc-glossary","doc-index","doc-introduction","doc-notice","doc-pagelist","doc-part","doc-preface","doc-prologue","doc-pullquote","doc-qna","doc-toc","document","feed","group","log","main","marquee","navigation","none","note","presentation","search","status","tabpanel"],globalAriaAttributesValid:!0},"without-name":{implicitRole:null,validRoles:["alert","alertdialog","application","banner","complementary","contentinfo","dialog","doc-abstract","doc-acknowledgments","doc-afterword","doc-appendix","doc-bibliography","doc-chapter","doc-colophon","doc-conclusion","doc-credit","doc-credits","doc-dedication","doc-endnotes","doc-epigraph","doc-epilogue","doc-errata","doc-example","doc-foreword","doc-glossary","doc-index","doc-introduction","doc-notice","doc-pagelist","doc-part","doc-preface","doc-prologue","doc-pullquote","doc-qna","doc-toc","document","feed","group","log","main","marquee","navigation","none","note","presentation","search","status","tabpanel"],globalAriaAttributesValid:!0}},select:{"no-multiple-attr-size-gt1":{implicitRole:["combobox"],validRoles:["menu"],globalAriaAttributesValid:!0,otherDisallowedAriaAttributes:["aria-multiselectable"]},"multiple-attr-size-gt1":{implicitRole:["listbox"],validRoles:null,globalAriaAttributesValid:!0,otherDisallowedAriaAttributes:["aria-multiselectable"]}},summary:{"first-summary-of-detail":{implicitRole:null,validRoles:null,globalAriaAttributesValid:!0,otherAllowedAriaAttributes:["aria-disabled","aria-haspopup"]},"no-first-summary-of-detail":{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0}},tbody:{"des-table":{implicitRole:["rowgroup"],validRoles:["any"],globalAriaAttributesValid:!0},"des-grid":{implicitRole:["rowgroup"],validRoles:["any"],globalAriaAttributesValid:!0},"des-treegrid":{implicitRole:["rowgroup"],validRoles:["any"],globalAriaAttributesValid:!0},"des-other":{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0}},td:{"des-table":{implicitRole:["cell"],validRoles:null,globalAriaAttributesValid:!0},"des-grid":{implicitRole:["gridcell"],validRoles:null,globalAriaAttributesValid:!0},"des-treegrid":{implicitRole:["gridcell"],validRoles:null,globalAriaAttributesValid:!0},"des-other":{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0}},th:{"des-table-grid-treegrid-row-scope":{implicitRole:["rowheader","cell"],validRoles:null,globalAriaAttributesValid:!0},"des-table-grid-treegrid-column-scope":{implicitRole:["columnheader","cell"],validRoles:null,globalAriaAttributesValid:!0},"des-other":{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0}},tr:{"des-table":{implicitRole:["row"],validRoles:null,globalAriaAttributesValid:!0},"des-grid":{implicitRole:["row"],validRoles:null,globalAriaAttributesValid:!0},"des-treegrid":{implicitRole:["row"],validRoles:null,globalAriaAttributesValid:!0},"des-other":{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0}},default:{implicitRole:null,validRoles:["any"],globalAriaAttributesValid:!0}},e.relatedAriaHtmlAttributes={"aria-checked":{conflict:[{ariaAttributeValue:"false",htmlAttributeNames:["checked"],htmlAttributeValues:null}],overlapping:[{ariaAttributeValue:"true",htmlAttributeNames:["checked"],htmlAttributeValues:null}]},"aria-disabled":{conflict:[{ariaAttributeValue:"false",htmlAttributeNames:["disabled"],htmlAttributeValues:null}],overlapping:[{ariaAttributeValue:"true",htmlAttributeNames:["disabled"],htmlAttributeValues:null}]},"aria-hidden":{conflict:[{ariaAttributeValue:"false",htmlAttributeNames:["hidden"],htmlAttributeValues:["hidden,null"]},{ariaAttributeValue:"true",htmlAttributeNames:["hidden"],htmlAttributeValues:["until-found"]}],overlapping:[{ariaAttributeValue:"true",htmlAttributeNames:["hidden"],htmlAttributeValues:["hidden,null"]}]},"aria-placeholder":{conflict:[{ariaAttributeValue:null,htmlAttributeNames:["placeholder"],htmlAttributeValues:null}]},"aria-valuemax":{conflict:[{ariaAttributeValue:null,htmlAttributeNames:["max"],htmlAttributeValues:null}]},"aria-valuemin":{conflict:[{ariaAttributeValue:null,htmlAttributeNames:["min"],htmlAttributeValues:null}]},"aria-readonly":{conflict:[{ariaAttributeValue:"false",htmlAttributeNames:["readonly","contenteditable","iscontenteditable"],htmlAttributeValues:[null,"false","false"]}],overlapping:[{ariaAttributeValue:"true",htmlAttributeNames:["readonly","contenteditable","iscontenteditable"],htmlAttributeValues:[null,"true","true"]}]},"aria-required":{conflict:[{ariaAttributeValue:"false",htmlAttributeNames:["required"],htmlAttributeValues:null}],overlapping:[{ariaAttributeValue:"true",htmlAttributeNames:["required"],htmlAttributeValues:null}]},"aria-colspan":{conflict:[{ariaAttributeValue:"VALUE",htmlAttributeNames:["colspan"],htmlAttributeValues:["VALUE"]}],overlapping:[{ariaAttributeValue:null,htmlAttributeNames:["colspan"],htmlAttributeValues:null}]},"aria-rowspan":{conflict:[{ariaAttributeValue:"VALUE",htmlAttributeNames:["rowspan"],htmlAttributeValues:["VALUE"]}],overlapping:[{ariaAttributeValue:null,htmlAttributeNames:["rowspan"],htmlAttributeValues:null}]}},e.containers=[],e}();t.ARIADefinitions=i;var a=[];for(var l in i.designPatterns){var n=i.designPatterns[l].container;if(null!==n)for(var r=0,o=n;r<o.length;r++){var s=o[r];-1==a.indexOf(s)&&a.push(s)}}i.containers=a},9955:function(e,t,i){var a,l=this&&this.__extends||(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},a(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.ARIAMapper=void 0;var n=i(9910),r=i(3103),o=i(1686),s=i(7139),u=i(7011),d=i(5279),c=i(1560),m=i(4566),p=i(3864),h=i(1950),_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.childrenCanHaveRole=function(e,t){return!(t in n.ARIADefinitions.designPatterns&&n.ARIADefinitions.designPatterns[t].presentationalChildren)},t.prototype.getRole=function(e){return t.nodeToRole(e)},t.prototype.getNamespace=function(){return"aria"},t.prototype.getAttributes=function(e){var i={};if(1===e.nodeType){for(var a=e,l=0;l<a.attributes.length;++l){var n=a.attributes[l],r=n.name.toLowerCase();r.startsWith("aria-")&&(i[r.substring(5)]=n.nodeValue)}var o=function(e){if(e in t.elemAttrValueCalculators)for(var l in t.elemAttrValueCalculators[e])if(!(l in i)){var n=t.elemAttrValueCalculators[e][l];null!=n&&("string"!=typeof n&&(n=n(a)),i[l]=n)}};o("global"),o(e.nodeName.toLowerCase())}else if(3===e.nodeType)for(var s in t.textAttrValueCalculators){var u=t.textAttrValueCalculators[s](e);null!=u&&(i[s]=u)}return i},t.getAriaOwnedBy=function(e){var t=d.FragmentUtil.getOwnerFragment(e);if(!m.CacheUtil.getCache(t,"ARIAMapper::precalcOwned",!1)){for(var i=t.querySelectorAll("[aria-owns]"),a=0;a<i.length;++a)for(var l=i[a],n=l.getAttribute("aria-owns").split(/ +/g),r=0;r<n.length;++r){var s=t.getElementById(n[r]);s&&!o.DOMUtil.sameNode(l,s)&&m.CacheUtil.setCache(s,"aria-owned",l)}m.CacheUtil.setCache(t,"ARIAMapper::precalcOwned",!0)}return m.CacheUtil.getCache(e,"aria-owned",null)},t.prototype.getNodeHierarchy=function(e){if(!e)return[];if(1!==e.nodeType){for(var i=(s=this.getNodeHierarchy(p.DOMWalker.parentElement(e))).length>0?s[s.length-1]:{role:"",rolePath:"",roleCount:{},childrenCanHaveRole:!0},a=[],l=0,n=s;l<n.length;l++){var r=n[l];a.push(r)}return a.push({attributes:{},bounds:this.getBounds(e),namespace:this.getNamespace(),node:e,role:this.getRole(e)||"none",rolePath:i.rolePath+"/"+(this.getRole(e)||"none"),roleCount:{},childrenCanHaveRole:i.childrenCanHaveRole}),a}var o=e;if(!(a=m.CacheUtil.getCache(o,"ARIAMapper::getNodeHierarchy",null))){var s,u=t.getAriaOwnedBy(o);for(u||(u=p.DOMWalker.parentElement(o));u&&1!==u.nodeType;)u=p.DOMWalker.parentElement(o);for(i=(s=u?this.getNodeHierarchy(u):[]).length>0?s[s.length-1]:{role:"",rolePath:"",roleCount:{},childrenCanHaveRole:!0};"none"===i.role||"/none"===i.role;)i=(s=(u=t.getAriaOwnedBy(u)||p.DOMWalker.parentElement(u))?this.getNodeHierarchy(u):[])[s.length-1];var d={attributes:1===o.nodeType?this.getAttributes(o):{},bounds:this.getBounds(o),namespace:this.getNamespace(),node:o,role:this.getRole(o)||"none",rolePath:"",roleCount:{},childrenCanHaveRole:!0};i.childrenCanHaveRole?d.childrenCanHaveRole=i.childrenCanHaveRole&&this.childrenCanHaveRole(o,d.role):d.role="none","none"!==d.role?(i.roleCount[d.role]=(i.roleCount[d.role]||0)+1,d.rolePath=i.rolePath+"/"+d.role+"["+i.roleCount[d.role]+"]"):d.rolePath=i.rolePath,a=[];for(var c=0,h=s;c<h.length;c++)r=h[c],a.push(r);a.push(d),m.CacheUtil.setCache(o,"ARIAMapper::getNodeHierarchy",a)}return a},t.prototype.reset=function(e){t.nameComputationId=0,this.hierarchyRole=[],this.hierarchyResults=[],this.hierarchyPath=[{rolePath:"",roleCount:{}}];for(var i,a=e;i=p.DOMWalker.parentNode(a);)a=i;var l=new c.ARIAWalker(a,!1,a);do{1===l.node.nodeType&&this.getNodeHierarchy(l.node)}while(l.nextNode())},t.prototype.openScope=function(e){null===this.hierarchyRole&&this.reset(e),this.pushHierarchy(e);for(var t=0;t<this.hierarchyResults.length;++t)"/"===this.hierarchyResults[t].role[0]&&(this.hierarchyResults[t].role=this.hierarchyResults[t].role.substring(1));return this.hierarchyResults},t.prototype.pushHierarchy=function(e){var t,i=(t=this.getNodeHierarchy(e))[t.length-1];this.hierarchyRole.push(i.role),"none"!==i.role&&this.hierarchyPath.push(i),this.hierarchyResults=t},t.prototype.closeScope=function(e){for(var t=[],i=0,a=this.hierarchyResults;i<a.length;i++){var l=a[i];t.push(l)}if(t.length>0){t[t.length-1].role="/"+t[t.length-1].role;var n=p.DOMWalker.parentElement(e);this.hierarchyResults=n?m.CacheUtil.getCache(n,"ARIAMapper::getNodeInfo",[]):[]}return t},t.nodeToRole=function(e){if(3===e.nodeType)return"text";if(1!==e.nodeType)return null;var t=e;if(!t||1!==t.nodeType)return null;if(t.hasAttribute("role")&&t.getAttribute("role").trim().length>0)for(var i=0,a=t.getAttribute("role").trim().split(" ");i<a.length;i++){var l=a[i];if("presentation"===l||"none"===l){if(!s.CommonUtil.isFocusable(t))return null}else if(l in n.ARIADefinitions.designPatterns)return l}var r=u.AriaUtil.getImplicitRole(t),o=r&&0!==r.length?r[0]:null;return"presentation"===o||"none"===o?null:o},t.elemAttrValueCalculators={global:{name:h.AccNameUtil.computeAccessibleName},datalist:{multiselectable:function(e){var t=e.getAttribute("id");return t&&t.length>0?(e.ownerDocument.querySelector("input[list='"+t+"']"),""+(e.getAttribute("multiple")&&("true"==e.getAttribute("multiple")||""==e.getAttribute("multiple")))):null}},h1:{level:"1"},h2:{level:"2"},h3:{level:"3"},h4:{level:"4"},h5:{level:"5"},h6:{level:"6"},input:{checked:function(e){return"checkbox"===e.getAttribute("type")||"radio"===e.getAttribute("type")?""+e.checked:null},setsize:function(e){return null},posinset:function(e){return null},owns:function(e){return null}},keygen:{multiselectable:"false"},li:{setsize:function(e){var t=o.DOMUtil.getAncestor(e,["ol","ul","menu"]);if(!t)return null;var i=t.querySelectorAll("li"),a=t.querySelectorAll("ol li, ul li, menu li");return""+(i.length-a.length)},posinset:function(e){var t=o.DOMUtil.getAncestor(e,["ol","ul","menu"]);if(!t)return null;for(var i=t.querySelectorAll("li"),a=0,l=0;l<i.length;++l){var n=i[l];if(o.DOMUtil.sameNode(t,o.DOMUtil.getAncestor(n,["ol","ul","menu"])))return""+a;++a}return null}},menuitem:{checked:function(e){return""+!(!e.getAttribute("checked")||"true"!=e.getAttribute("checked")&&""!=e.getAttribute("checked"))}},option:{selected:function(e){return""+!(!e.getAttribute("selected")||"true"!=e.getAttribute("selected")&&""!=e.getAttribute("selected"))}},progress:{valuemax:function(e){return e.getAttribute("max")||"1"},valuemin:function(e){return"0"},valuenow:function(e){return e.getAttribute("value")}}},t.textAttrValueCalculators={name:function(e){return e.nodeValue}},t.nameComputationId=0,t}(r.CommonMapper);t.ARIAMapper=_},1560:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ARIAWalker=void 0;var a=i(5279),l=i(9955),n=i(3946),r=function(){function e(e,t,i){this.root=i||e,this.node=e,this.bEndTag=null!=t&&1==t}return e.prototype.atRoot=function(){return!this.ownerElement&&(this.root===this.node||(this.root.isSameNode?this.root.isSameNode(this.node):this.root.compareDocumentPosition?0===this.root.compareDocumentPosition(this.node):null===this.node.parentNode))},e.prototype.nextNode=function(){var e=!1;do{if(e=!1,this.bEndTag){if(this.atRoot())return!1;if(this.node.slotOwner){c=this.node.slotOwner;var t=this.node.slotIndex+1;delete this.node.slotOwner,delete this.node.slotIndex,t<c.assignedNodes().length?(this.node=c.assignedNodes()[t],this.node.slotOwner=c,this.node.slotIndex=t,this.bEndTag=!1):(this.node=c,this.bEndTag=!0)}else if(this.node.ownerElement)this.node=this.node.ownerElement,this.bEndTag=!0;else if(this.node.nextSibling)this.node=this.node.nextSibling,this.bEndTag=!1,e=!0;else{if(!this.node.parentNode)return!1;if(1===this.node.parentNode.nodeType&&this.node.parentNode.hasAttribute("aria-owns")){var i=this.node.parentNode.getAttribute("aria-owns").split(/ +/g);if(1===this.node.nodeType&&this.node.hasAttribute("id")){var r=i.indexOf(this.node.getAttribute("id"));r===i.length-1?(this.node=this.node.parentNode,this.bEndTag=!0):(this.node=a.FragmentUtil.getOwnerFragment(this.node).getElementById(i[r+1]),this.bEndTag=!1)}else this.node=a.FragmentUtil.getOwnerFragment(this.node).getElementById(i[0]),this.bEndTag=!1}this.node=this.node.parentNode,this.bEndTag=!0}}else{var o=this.node,s=this.node,u=this.node;if(1===this.node.nodeType&&"IFRAME"===this.node.nodeName.toUpperCase()&&n.VisUtil.isNodeVisible(o)&&o.contentDocument&&o.contentDocument.documentElement){var d=this.node;this.node=o.contentDocument.documentElement,this.node.ownerElement=d}else if(1===this.node.nodeType&&n.VisUtil.isNodeVisible(s)&&s.shadowRoot&&s.shadowRoot.firstChild)d=this.node,this.node=s.shadowRoot,this.node.ownerElement=d;else if(1===this.node.nodeType&&"slot"===s.nodeName.toLowerCase()&&u.assignedNodes().length>0){var c=this.node;this.node=u.assignedNodes()[0],this.node.slotOwner=c,this.node.slotIndex=0}else 1!==this.node.nodeType&&11!==this.node.nodeType||!this.node.firstChild?this.bEndTag=!0:this.node=this.node.firstChild}}while(1!==this.node.nodeType&&11!==this.node.nodeType&&3!==this.node.nodeType||1===this.node.nodeType&&"ACE"===this.node.getAttribute("aChecker")||e&&1===this.node.nodeType&&l.ARIAMapper.getAriaOwnedBy(this.node));return!0},e.prototype.prevNode=function(){do{if(this.bEndTag){var e=this.node,t=this.node;if(1===this.node.nodeType&&"IFRAME"===this.node.nodeName.toUpperCase()&&n.VisUtil.isNodeVisible(e)&&e.contentDocument&&e.contentDocument.documentElement){var i=this.node;this.node=e.contentDocument.documentElement,this.node.ownerElement=i}else 1===this.node.nodeType&&n.VisUtil.isNodeVisible(t)&&t.shadowRoot&&t.shadowRoot.lastChild?(i=this.node,this.node=t.shadowRoot,this.node.ownerElement=i):1!==this.node.nodeType&&11!==this.node.nodeType||!this.node.lastChild?this.bEndTag=!1:this.node=this.node.lastChild}else{if(this.atRoot())return!1;if(this.node.previousSibling)this.node=this.node.previousSibling,this.bEndTag=!0;else if(this.node.ownerElement)this.node=this.node.ownerElement,this.bEndTag=!1;else{if(!this.node.parentNode)return!1;this.node=this.node.parentNode,this.bEndTag=!1}}}while(1!==this.node.nodeType&&11!==this.node.nodeType||1===this.node.nodeType&&"ACE"===this.node.getAttribute("aChecker"));return!0},e}();t.ARIAWalker=r},6858:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AncestorUtil=void 0;var i=function(){function e(){}return e.isPresentationFrame=function(e){if(e&&e.dom)for(var t=e.dom.length-2;t>=0;--t){var i=e.dom[t].node;if(1===i.nodeType&&"iframe"===i.nodeName.toLowerCase()&&("presentation"===i.getAttribute("role")||"true"===i.getAttribute("aria-hidden")))return!0}return!1},e.isFrame=function(e){if(e&&e.dom)for(var t=e.dom.length-2;t>=0;--t){var i=e.dom[t].node;if(1===i.nodeType&&"iframe"===i.nodeName.toLowerCase())return!0}return!1},e}();t.AncestorUtil=i},5279:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FragmentUtil=void 0;var i=function(){function e(){}return e.getOwnerFragment=function(e){for(var t=e;t.parentNode&&(t=t.parentNode);)if(11===t.nodeType)return t;return e.ownerDocument},e.getById=function(e,t){return this.getOwnerFragment(e).getElementById(t)},e.getAncestor=function(e,t){var i=e.dom.filter((function(e){return e.role===t}));return i.length>0&&i[0].node||null},e.getAncestorWithRole=function(e,t){var i=e.aria.filter((function(e){return e.role===t}));return i.length>0&&i[0].node||null},e}();t.FragmentUtil=i},1043:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LangUtil=void 0;var i=[["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","aaa","aab","aac","aad","aae","aaf","aag","aah","aai","aak","aal","aam","aan","aao","aap","aaq","aas","aat","aau","aav","aaw","aax","aaz","aba","abb","abc","abd","abe","abf","abg","abh","abi","abj","abl","abm","abn","abo","abp","abq","abr","abs","abt","abu","abv","abw","abx","aby","abz","aca","acb","acd","ace","acf","ach","aci","ack","acl","acm","acn","acp","acq","acr","acs","act","acu","acv","acw","acx","acy","acz","ada","adb","add","ade","adf","adg","adh","adi","adj","adl","adn","ado","adp","adq","adr","ads","adt","adu","adw","adx","ady","adz","aea","aeb","aec","aed","aee","aek","ael","aem","aen","aeq","aer","aes","aeu","aew","aey","aez","afa","afb","afd","afe","afg","afh","afi","afk","afn","afo","afp","afs","aft","afu","afz","aga","agb","agc","agd","age","agf","agg","agh","agi","agj","agk","agl","agm","agn","ago","agp","agq","agr","ags","agt","agu","agv","agw","agx","agy","agz","aha","ahb","ahg","ahh","ahi","ahk","ahl","ahm","ahn","aho","ahp","ahr","ahs","aht","aia","aib","aic","aid","aie","aif","aig","aih","aii","aij","aik","ail","aim","ain","aio","aip","aiq","air","ais","ait","aiw","aix","aiy","aja","ajg","aji","ajn","ajp","ajt","aju","ajw","ajz","akb","akc","akd","ake","akf","akg","akh","aki","akj","akk","akl","akm","ako","akp","akq","akr","aks","akt","aku","akv","akw","akx","aky","akz","ala","alc","ald","ale","alf","alg","alh","ali","alj","alk","all","alm","aln","alo","alp","alq","alr","als","alt","alu","alv","alw","alx","aly","alz","ama","amb","amc","ame","amf","amg","ami","amj","amk","aml","amm","amn","amo","amp","amq","amr","ams","amt","amu","amv","amw","amx","amy","amz","ana","anb","anc","and","ane","anf","ang","anh","ani","anj","ank","anl","anm","ann","ano","anp","anq","anr","ans","ant","anu","anv","anw","anx","any","anz","aoa","aob","aoc","aod","aoe","aof","aog","aoh","aoi","aoj","aok","aol","aom","aon","aor","aos","aot","aou","aox","aoz","apa","apb","apc","apd","ape","apf","apg","aph","api","apj","apk","apl","apm","apn","apo","app","apq","apr","aps","apt","apu","apv","apw","apx","apy","apz","aqa","aqc","aqd","aqg","aqk","aql","aqm","aqn","aqp","aqr","aqt","aqz","arb","arc","ard","are","arh","ari","arj","ark","arl","arn","aro","arp","arq","arr","ars","art","aru","arv","arw","arx","ary","arz","asa","asb","asc","asd","ase","asf","asg","ash","asi","asj","ask","asl","asn","aso","asp","asq","asr","ass","ast","asu","asv","asw","asx","asy","asz","ata","atb","atc","atd","ate","atg","ath","ati","atj","atk","atl","atm","atn","ato","atp","atq","atr","ats","att","atu","atv","atw","atx","aty","atz","aua","aub","auc","aud","aue","auf","aug","auh","aui","auj","auk","aul","aum","aun","auo","aup","auq","aur","aus","aut","auu","auw","aux","auy","auz","avb","avd","avi","avk","avl","avm","avn","avo","avs","avt","avu","avv","awa","awb","awc","awd","awe","awg","awh","awi","awk","awm","awn","awo","awr","aws","awt","awu","awv","aww","awx","awy","axb","axe","axg","axk","axl","axm","axx","aya","ayb","ayc","ayd","aye","ayg","ayh","ayi","ayk","ayl","ayn","ayo","ayp","ayq","ayr","ays","ayt","ayu","ayx","ayy","ayz","aza","azb","azc","azd","azg","azj","azm","azn","azo","azt","azz"],["ba","be","bg","bh","bi","bm","bn","bo","br","bs","baa","bab","bac","bad","bae","baf","bag","bah","bai","baj","bal","ban","bao","bap","bar","bas","bat","bau","bav","baw","bax","bay","baz","bba","bbb","bbc","bbd","bbe","bbf","bbg","bbh","bbi","bbj","bbk","bbl","bbm","bbn","bbo","bbp","bbq","bbr","bbs","bbt","bbu","bbv","bbw","bbx","bby","bbz","bca","bcb","bcc","bcd","bce","bcf","bcg","bch","bci","bcj","bck","bcl","bcm","bcn","bco","bcp","bcq","bcr","bcs","bct","bcu","bcv","bcw","bcy","bcz","bda","bdb","bdc","bdd","bde","bdf","bdg","bdh","bdi","bdj","bdk","bdl","bdm","bdn","bdo","bdp","bdq","bdr","bds","bdt","bdu","bdv","bdw","bdx","bdy","bdz","bea","beb","bec","bed","bee","bef","beg","beh","bei","bej","bek","bem","beo","bep","beq","ber","bes","bet","beu","bev","bew","bex","bey","bez","bfa","bfb","bfc","bfd","bfe","bff","bfg","bfh","bfi","bfj","bfk","bfl","bfm","bfn","bfo","bfp","bfq","bfr","bfs","bft","bfu","bfw","bfx","bfy","bfz","bga","bgb","bgc","bgd","bge","bgf","bgg","bgi","bgj","bgk","bgl","bgm","bgn","bgo","bgp","bgq","bgr","bgs","bgt","bgu","bgv","bgw","bgx","bgy","bgz","bha","bhb","bhc","bhd","bhe","bhf","bhg","bhh","bhi","bhj","bhk","bhl","bhm","bhn","bho","bhp","bhq","bhr","bhs","bht","bhu","bhv","bhw","bhx","bhy","bhz","bia","bib","bic","bid","bie","bif","big","bij","bik","bil","bim","bin","bio","bip","biq","bir","bit","biu","biv","biw","bix","biy","biz","bja","bjb","bjc","bjd","bje","bjf","bjg","bjh","bji","bjj","bjk","bjl","bjm","bjn","bjo","bjp","bjq","bjr","bjs","bjt","bju","bjv","bjw","bjx","bjy","bjz","bka","bkb","bkc","bkd","bkf","bkg","bkh","bki","bkj","bkk","bkl","bkm","bkn","bko","bkp","bkq","bkr","bks","bkt","bku","bkv","bkw","bkx","bky","bkz","bla","blb","blc","bld","ble","blf","blg","blh","bli","blj","blk","bll","blm","bln","blo","blp","blq","blr","bls","blt","blv","blw","blx","bly","blz","bma","bmb","bmc","bmd","bme","bmf","bmg","bmh","bmi","bmj","bmk","bml","bmm","bmn","bmo","bmp","bmq","bmr","bms","bmt","bmu","bmv","bmw","bmx","bmy","bmz","bna","bnb","bnc","bnd","bne","bnf","bng","bni","bnj","bnk","bnl","bnm","bnn","bno","bnp","bnq","bnr","bns","bnt","bnu","bnv","bnw","bnx","bny","bnz","boa","bob","boe","bof","bog","boh","boi","boj","bok","bol","bom","bon","boo","bop","boq","bor","bot","bou","bov","bow","box","boy","boz","bpa","bpb","bpd","bpe","bpg","bph","bpi","bpj","bpk","bpl","bpm","bpn","bpo","bpp","bpq","bpr","bps","bpt","bpu","bpv","bpw","bpx","bpy","bpz","bqa","bqb","bqc","bqd","bqf","bqg","bqh","bqi","bqj","bqk","bql","bqm","bqn","bqo","bqp","bqq","bqr","bqs","bqt","bqu","bqv","bqw","bqx","bqy","bqz","bra","brb","brc","brd","brf","brg","brh","bri","brj","brk","brl","brm","brn","bro","brp","brq","brr","brs","brt","bru","brv","brw","brx","bry","brz","bsa","bsb","bsc","bse","bsf","bsg","bsh","bsi","bsj","bsk","bsl","bsm","bsn","bso","bsp","bsq","bsr","bss","bst","bsu","bsv","bsw","bsx","bsy","bta","btb","btc","btd","bte","btf","btg","bth","bti","btj","btk","btl","btm","btn","bto","btp","btq","btr","bts","btt","btu","btv","btw","btx","bty","btz","bua","bub","buc","bud","bue","buf","bug","buh","bui","buj","buk","bum","bun","buo","bup","buq","bus","but","buu","buv","buw","bux","buy","buz","bva","bvb","bvc","bvd","bve","bvf","bvg","bvh","bvi","bvj","bvk","bvl","bvm","bvn","bvo","bvp","bvq","bvr","bvt","bvu","bvv","bvw","bvx","bvy","bvz","bwa","bwb","bwc","bwd","bwe","bwf","bwg","bwh","bwi","bwj","bwk","bwl","bwm","bwn","bwo","bwp","bwq","bwr","bws","bwt","bwu","bww","bwx","bwy","bwz","bxa","bxb","bxc","bxd","bxe","bxf","bxg","bxh","bxi","bxj","bxk","bxl","bxm","bxn","bxo","bxp","bxq","bxr","bxs","bxu","bxv","bxw","bxx","bxz","bya","byb","byc","byd","bye","byf","byg","byh","byi","byj","byk","byl","bym","byn","byo","byp","byq","byr","bys","byt","byv","byw","byx","byy","byz","bza","bzb","bzc","bzd","bze","bzf","bzg","bzh","bzi","bzj","bzk","bzl","bzm","bzn","bzo","bzp","bzq","bzr","bzs","bzt","bzu","bzv","bzw","bzx","bzy","bzz"],["ca","ce","ch","co","cr","cs","cu","cv","cy","caa","cab","cac","cad","cae","caf","cag","cah","cai","caj","cak","cal","cam","can","cao","cap","caq","car","cas","cau","cav","caw","cax","cay","caz","cba","cbb","cbc","cbd","cbe","cbg","cbh","cbi","cbj","cbk","cbl","cbn","cbo","cbq","cbr","cbs","cbt","cbu","cbv","cbw","cby","cca","ccc","ccd","cce","ccg","cch","ccj","ccl","ccm","ccn","cco","ccp","ccq","ccr","ccs","cda","cdc","cdd","cde","cdf","cdg","cdh","cdi","cdj","cdm","cdn","cdo","cdr","cds","cdy","cdz","cea","ceb","ceg","cek","cel","cen","cet","cey","cfa","cfd","cfg","cfm","cga","cgc","cgg","cgk","chb","chc","chd","chf","chg","chh","chj","chk","chl","chm","chn","cho","chp","chq","chr","cht","chw","chx","chy","chz","cia","cib","cic","cid","cie","cih","cik","cim","cin","cip","cir","ciw","ciy","cja","cje","cjh","cji","cjk","cjm","cjn","cjo","cjp","cjr","cjs","cjv","cjy","cka","ckb","ckh","ckl","ckm","ckn","cko","ckq","ckr","cks","ckt","cku","ckv","ckx","cky","ckz","cla","clc","cld","cle","clh","cli","clj","clk","cll","clm","clo","clt","clu","clw","cly","cma","cmc","cme","cmg","cmi","cmk","cml","cmm","cmn","cmo","cmr","cms","cmt","cna","cnb","cnc","cng","cnh","cni","cnk","cnl","cno","cnp","cnr","cns","cnt","cnu","cnw","cnx","coa","cob","coc","cod","coe","cof","cog","coh","coj","cok","col","com","con","coo","cop","coq","cot","cou","cov","cow","cox","coy","coz","cpa","cpb","cpc","cpe","cpf","cpg","cpi","cpn","cpo","cpp","cps","cpu","cpx","cpy","cqd","cqu","cra","crb","crc","crd","crf","crg","crh","cri","crj","crk","crl","crm","crn","cro","crp","crq","crr","crs","crt","crv","crw","crx","cry","crz","csa","csb","csc","csd","cse","csf","csg","csh","csi","csj","csk","csl","csm","csn","cso","csp","csq","csr","css","cst","csu","csv","csw","csx","csy","csz","cta","ctc","ctd","cte","ctg","cth","ctl","ctm","ctn","cto","ctp","cts","ctt","ctu","cty","ctz","cua","cub","cuc","cug","cuh","cui","cuj","cuk","cul","cum","cuo","cup","cuq","cur","cus","cut","cuu","cuv","cuw","cux","cuy","cvg","cvn","cwa","cwb","cwd","cwe","cwg","cwt","cya","cyb","cyo","czh","czk","czn","czo","czt"],["da","de","dv","dz","daa","dac","dad","dae","daf","dag","dah","dai","daj","dak","dal","dam","dao","dap","daq","dar","das","dau","dav","daw","dax","day","daz","dba","dbb","dbd","dbe","dbf","dbg","dbi","dbj","dbl","dbm","dbn","dbo","dbp","dbq","dbr","dbt","dbu","dbv","dbw","dby","dcc","dcr","dda","ddd","dde","ddg","ddi","ddj","ddn","ddo","ddr","dds","ddw","dec","ded","dee","def","deg","deh","dei","dek","del","dem","den","dep","deq","der","des","dev","dez","dga","dgb","dgc","dgd","dge","dgg","dgh","dgi","dgk","dgl","dgn","dgo","dgr","dgs","dgt","dgu","dgw","dgx","dgz","dha","dhd","dhg","dhi","dhl","dhm","dhn","dho","dhr","dhs","dhu","dhv","dhw","dhx","dia","dib","dic","did","dif","dig","dih","dii","dij","dik","dil","dim","din","dio","dip","diq","dir","dis","dit","diu","diw","dix","diy","diz","dja","djb","djc","djd","dje","djf","dji","djj","djk","djl","djm","djn","djo","djr","dju","djw","dka","dkg","dkk","dkl","dkr","dks","dkx","dlg","dlk","dlm","dln","dma","dmb","dmc","dmd","dme","dmf","dmg","dmk","dml","dmm","dmn","dmo","dmr","dms","dmu","dmv","dmw","dmx","dmy","dna","dnd","dne","dng","dni","dnj","dnk","dnn","dno","dnr","dnt","dnu","dnv","dnw","dny","doa","dob","doc","doe","dof","doh","doi","dok","dol","don","doo","dop","doq","dor","dos","dot","dov","dow","dox","doy","doz","dpp","dra","drb","drc","drd","dre","drg","drh","dri","drl","drn","dro","drq","drr","drs","drt","dru","drw","dry","dsb","dse","dsh","dsi","dsl","dsn","dso","dsq","dta","dtb","dtd","dth","dti","dtk","dtm","dtn","dto","dtp","dtr","dts","dtt","dtu","dty","dua","dub","duc","dud","due","duf","dug","duh","dui","duj","duk","dul","dum","dun","duo","dup","duq","dur","dus","duu","duv","duw","dux","duy","duz","dva","dwa","dwk","dwl","dwr","dws","dwu","dww","dwy","dwz","dya","dyb","dyd","dyg","dyi","dym","dyn","dyo","dyu","dyy","dza","dzd","dze","dzg","dzl","dzn"],["ee","el","en","eo","es","et","eu","eaa","ebc","ebg","ebk","ebo","ebr","ebu","ecr","ecs","ecy","eee","efa","efe","efi","ega","egl","ego","egx","egy","ehs","ehu","eip","eit","eiv","eja","eka","ekc","eke","ekg","eki","ekk","ekl","ekm","eko","ekp","ekr","eky","ele","elh","eli","elk","elm","elo","elp","elu","elx","ema","emb","eme","emg","emi","emk","emm","emn","emo","emp","emq","ems","emu","emw","emx","emy","emz","ena","enb","enc","end","enf","enh","enl","enm","enn","eno","enq","enr","enu","env","enw","enx","eot","epi","era","erg","erh","eri","erk","ero","err","ers","ert","erw","ese","esg","esh","esi","esk","esl","esm","esn","eso","esq","ess","esu","esx","esy","etb","etc","eth","etn","eto","etr","ets","ett","etu","etx","etz","euq","eve","evh","evn","ewo","ext","eya","eyo","eza","eze"],["fa","ff","fi","fj","fo","fr","fy","faa","fab","fad","faf","fag","fah","fai","faj","fak","fal","fam","fan","fap","far","fat","fau","fax","fay","faz","fbl","fcs","fer","ffi","ffm","fgr","fia","fie","fif","fil","fip","fir","fit","fiu","fiw","fkk","fkv","fla","flh","fli","fll","fln","flr","fly","fmp","fmu","fnb","fng","fni","fod","foi","fom","fon","for","fos","fox","fpe","fqs","frc","frd","frk","frm","fro","frp","frq","frr","frs","frt","fse","fsl","fss","fub","fuc","fud","fue","fuf","fuh","fui","fuj","fum","fun","fuq","fur","fut","fuu","fuv","fuy","fvr","fwa","fwe"],["ga","gd","gl","gn","gu","gv","gaa","gab","gac","gad","gae","gaf","gag","gah","gai","gaj","gak","gal","gam","gan","gao","gap","gaq","gar","gas","gat","gau","gav","gaw","gax","gay","gaz","gba","gbb","gbc","gbd","gbe","gbf","gbg","gbh","gbi","gbj","gbk","gbl","gbm","gbn","gbo","gbp","gbq","gbr","gbs","gbu","gbv","gbw","gbx","gby","gbz","gcc","gcd","gce","gcf","gcl","gcn","gcr","gct","gda","gdb","gdc","gdd","gde","gdf","gdg","gdh","gdi","gdj","gdk","gdl","gdm","gdn","gdo","gdq","gdr","gds","gdt","gdu","gdx","gea","geb","gec","ged","gef","geg","geh","gei","gej","gek","gel","gem","geq","ges","gev","gew","gex","gey","gez","gfk","gft","gfx","gga","ggb","ggd","gge","ggg","ggk","ggl","ggn","ggo","ggr","ggt","ggu","ggw","gha","ghc","ghe","ghh","ghk","ghl","ghn","gho","ghr","ghs","ght","gia","gib","gic","gid","gie","gig","gih","gii","gil","gim","gin","gio","gip","giq","gir","gis","git","giu","giw","gix","giy","giz","gji","gjk","gjm","gjn","gjr","gju","gka","gkd","gke","gkn","gko","gkp","gku","glb","glc","gld","glh","gli","glj","glk","gll","glo","glr","glu","glw","gly","gma","gmb","gmd","gme","gmg","gmh","gml","gmm","gmn","gmq","gmr","gmu","gmv","gmw","gmx","gmy","gmz","gna","gnb","gnc","gnd","gne","gng","gnh","gni","gnj","gnk","gnl","gnm","gnn","gno","gnq","gnr","gnt","gnu","gnw","gnz","goa","gob","goc","god","goe","gof","gog","goh","goi","goj","gok","gol","gom","gon","goo","gop","goq","gor","gos","got","gou","gow","gox","goy","goz","gpa","gpe","gpn","gqa","gqi","gqn","gqr","gqu","gra","grb","grc","grd","grg","grh","gri","grj","grk","grm","gro","grq","grr","grs","grt","gru","grv","grw","grx","gry","grz","gse","gsg","gsl","gsm","gsn","gso","gsp","gss","gsw","gta","gti","gtu","gua","gub","guc","gud","gue","guf","gug","guh","gui","guk","gul","gum","gun","guo","gup","guq","gur","gus","gut","guu","guv","guw","gux","guz","gva","gvc","gve","gvf","gvj","gvl","gvm","gvn","gvo","gvp","gvr","gvs","gvy","gwa","gwb","gwc","gwd","gwe","gwf","gwg","gwi","gwj","gwm","gwn","gwr","gwt","gwu","gww","gwx","gxx","gya","gyb","gyd","gye","gyf","gyg","gyi","gyl","gym","gyn","gyo","gyr","gyy","gyz","gza","gzi","gzn"],["ha","he","hi","ho","hr","ht","hu","hy","hz","haa","hab","hac","had","hae","haf","hag","hah","hai","haj","hak","hal","ham","han","hao","hap","haq","har","has","hav","haw","hax","hay","haz","hba","hbb","hbn","hbo","hbu","hca","hch","hdn","hds","hdy","hea","hed","heg","heh","hei","hem","hgm","hgw","hhi","hhr","hhy","hia","hib","hid","hif","hig","hih","hii","hij","hik","hil","him","hio","hir","hit","hiw","hix","hji","hka","hke","hkh","hkk","hkn","hks","hla","hlb","hld","hle","hlt","hlu","hma","hmb","hmc","hmd","hme","hmf","hmg","hmh","hmi","hmj","hmk","hml","hmm","hmn","hmp","hmq","hmr","hms","hmt","hmu","hmv","hmw","hmx","hmy","hmz","hna","hnd","hne","hng","hnh","hni","hnj","hnn","hno","hns","hnu","hoa","hob","hoc","hod","hoe","hoh","hoi","hoj","hok","hol","hom","hoo","hop","hor","hos","hot","hov","how","hoy","hoz","hpo","hps","hra","hrc","hre","hrk","hrm","hro","hrp","hrr","hrt","hru","hrw","hrx","hrz","hsb","hsh","hsl","hsn","hss","hti","hto","hts","htu","htx","hub","huc","hud","hue","huf","hug","huh","hui","huj","huk","hul","hum","huo","hup","huq","hur","hus","hut","huu","huv","huw","hux","huy","huz","hvc","hve","hvk","hvn","hvv","hwa","hwc","hwo","hya","hyw","hyx"],["ia","id","ie","ig","ii","ik","in","io","is","it","iu","iw","iai","ian","iap","iar","iba","ibb","ibd","ibe","ibg","ibh","ibi","ibl","ibm","ibn","ibr","ibu","iby","ica","ich","icl","icr","ida","idb","idc","idd","ide","idi","idr","ids","idt","idu","ifa","ifb","ife","iff","ifk","ifm","ifu","ify","igb","ige","igg","igl","igm","ign","igo","igs","igw","ihb","ihi","ihp","ihw","iin","iir","ijc","ije","ijj","ijn","ijo","ijs","ike","iki","ikk","ikl","iko","ikp","ikr","iks","ikt","ikv","ikw","ikx","ikz","ila","ilb","ilg","ili","ilk","ill","ilm","ilo","ilp","ils","ilu","ilv","ilw","ima","ime","imi","iml","imn","imo","imr","ims","imy","inb","inc","ine","ing","inh","inj","inl","inm","inn","ino","inp","ins","int","inz","ior","iou","iow","ipi","ipo","iqu","iqw","ira","ire","irh","iri","irk","irn","iro","irr","iru","irx","iry","isa","isc","isd","ise","isg","ish","isi","isk","ism","isn","iso","isr","ist","isu","itb","itc","itd","ite","iti","itk","itl","itm","ito","itr","its","itt","itv","itw","itx","ity","itz","ium","ivb","ivv","iwk","iwm","iwo","iws","ixc","ixl","iya","iyo","iyx","izh","izi","izr","izz"],["ja","ji","jv","jw","jaa","jab","jac","jad","jae","jaf","jah","jaj","jak","jal","jam","jan","jao","jaq","jar","jas","jat","jau","jax","jay","jaz","jbe","jbi","jbj","jbk","jbm","jbn","jbo","jbr","jbt","jbu","jbw","jcs","jct","jda","jdg","jdt","jeb","jee","jeg","jeh","jei","jek","jel","jen","jer","jet","jeu","jgb","jge","jgk","jgo","jhi","jhs","jia","jib","jic","jid","jie","jig","jih","jii","jil","jim","jio","jiq","jit","jiu","jiv","jiy","jje","jjr","jka","jkm","jko","jkp","jkr","jks","jku","jle","jls","jma","jmb","jmc","jmd","jmi","jml","jmn","jmr","jms","jmw","jmx","jna","jnd","jng","jni","jnj","jnl","jns","job","jod","jog","jor","jos","jow","jpa","jpr","jpx","jqr","jra","jrb","jrr","jrt","jru","jsl","jua","jub","juc","jud","juh","jui","juk","jul","jum","jun","juo","jup","jur","jus","jut","juu","juw","juy","jvd","jvn","jwi","jya","jye","jyy"],["ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","kaa","kab","kac","kad","kae","kaf","kag","kah","kai","kaj","kak","kam","kao","kap","kaq","kar","kav","kaw","kax","kay","kba","kbb","kbc","kbd","kbe","kbf","kbg","kbh","kbi","kbj","kbk","kbl","kbm","kbn","kbo","kbp","kbq","kbr","kbs","kbt","kbu","kbv","kbw","kbx","kby","kbz","kca","kcb","kcc","kcd","kce","kcf","kcg","kch","kci","kcj","kck","kcl","kcm","kcn","kco","kcp","kcq","kcr","kcs","kct","kcu","kcv","kcw","kcx","kcy","kcz","kda","kdc","kdd","kde","kdf","kdg","kdh","kdi","kdj","kdk","kdl","kdm","kdn","kdo","kdp","kdq","kdr","kdt","kdu","kdv","kdw","kdx","kdy","kdz","kea","keb","kec","ked","kee","kef","keg","keh","kei","kej","kek","kel","kem","ken","keo","kep","keq","ker","kes","ket","keu","kev","kew","kex","key","kez","kfa","kfb","kfc","kfd","kfe","kff","kfg","kfh","kfi","kfj","kfk","kfl","kfm","kfn","kfo","kfp","kfq","kfr","kfs","kft","kfu","kfv","kfw","kfx","kfy","kfz","kga","kgb","kgc","kgd","kge","kgf","kgg","kgh","kgi","kgj","kgk","kgl","kgm","kgn","kgo","kgp","kgq","kgr","kgs","kgt","kgu","kgv","kgw","kgx","kgy","kha","lyg","khb","khc","khd","khe","khf","khg","khh","khi","khj","khk","khl","khn","kho","khp","khq","khr","khs","kht","khu","khv","khw","khx","khy","khz","kia","kib","kic","kid","kie","kif","kig","kih","kii","kij","kil","kim","kio","kip","kiq","kis","kit","kiu","kiv","kiw","kix","kiy","kiz","kja","kjb","kjc","kjd","kje","kjf","kjg","kjh","kji","kjj","kjk","kjl","kjm","kjn","kjo","kjp","kjq","kjr","kjs","kjt","kju","kjv","kjx","kjy","kjz","kka","kkb","kkc","kkd","kke","kkf","kkg","kkh","kki","kkj","kkk","kkl","kkm","kkn","kko","kkp","kkq","kkr","kks","kkt","kku","kkv","kkw","kkx","kky","kkz","kla","klb","klc","kld","kle","klf","klg","klh","kli","klj","klk","kll","klm","kln","klo","klp","klq","klr","kls","klt","klu","klv","klw","klx","kly","klz","kma","kmb","kmc","kmd","kme","kmf","kmg","kmh","kmi","kmj","kmk","kml","kmm","kmn","kmo","kmp","kmq","kmr","kms","kmt","kmu","kmv","kmw","kmx","kmy","kmz","kna","knb","knc","knd","kne","knf","kng","kni","knj","knk","knl","knm","knn","kno","knp","knq","knr","kns","knt","knu","knv","knw","knx","kny","knz","koa","koc","kod","koe","kof","kog","koh","koi","koj","kok","kol","koo","kop","koq","kos","kot","kou","kov","kow","kox","koy","koz","kpa","kpb","kpc","kpd","kpe","kpf","kpg","kph","kpi","kpj","kpk","kpl","kpm","kpn","kpo","kpp","kpq","kpr","kps","kpt","kpu","kpv","kpw","kpx","kpy","kpz","kqa","kqb","kqc","kqd","kqe","kqf","kqg","kqh","kqi","kqj","kqk","kql","kqm","kqn","kqo","kqp","kqq","kqr","kqs","kqt","kqu","kqv","kqw","kqx","kqy","kqz","kra","krb","krc","krd","kre","krf","krh","kri","krj","krk","krl","krm","krn","kro","krp","krr","krs","krt","kru","krv","krw","krx","kry","krz","ksa","ksb","ksc","ksd","kse","ksf","ksg","ksh","ksi","ksj","ksk","ksl","ksm","ksn","kso","ksp","ksq","ksr","kss","kst","ksu","ksv","ksw","ksx","ksy","ksz","kta","ktb","ktc","ktd","kte","ktf","ktg","kth","kti","ktj","ktk","ktl","ktm","ktn","kto","ktp","ktq","ktr","kts","ktt","ktu","ktv","ktw","ktx","kty","ktz","kub","kuc","kud","kue","kuf","kug","kuh","kui","kuj","kuk","kul","kum","kun","kuo","kup","kuq","kus","kut","kuu","kuv","kuw","kux","kuy","kuz","kva","kvb","kvc","kvd","kve","kvf","kvg","kvh","kvi","kvj","kvk","kvl","kvm","kvn","kvo","kvp","kvq","kvr","kvs","kvt","kvu","kvv","kvw","kvx","kvy","kvz","kwa","kwb","kwc","kwd","kwe","kwf","kwg","kwh","kwi","kwj","kwk","kwl","kwm","kwn","kwo","kwp","kwq","kwr","kws","kwt","kwu","kwv","kww","kwx","kwy","kwz","kxa","kxb","kxc","kxd","kxe","kxf","kxh","kxi","kxj","kxk","kxl","kxm","kxn","kxo","kxp","kxq","kxr","kxs","kxt","kxu","kxv","kxw","kxx","kxy","kxz","kya","kyb","kyc","kyd","kye","kyf","kyg","kyh","kyi","kyj","kyk","kyl","kym","kyn","kyo","kyp","kyq","kyr","kys","kyt","kyu","kyv","kyw","kyx","kyy","kyz","kza","kzb","kzc","kzd","kze","kzf","kzg","kzh","kzi","kzj","kzk","kzl","kzm","kzn","kzo","kzp","kzq","kzr","kzs","kzt","kzu","kzv","kzw","kzx","kzy","kzz"],["la","lb","lg","li","ln","lo","lt","lu","lv","laa","lab","lac","lad","lae","laf","lag","lah","lai","laj","lak","lal","lam","lan","lap","laq","lar","las","lau","law","lax","lay","laz","lba","lbb","lbc","lbe","lbf","lbg","lbi","lbj","lbk","lbl","lbm","lbn","lbo","lbq","lbr","lbs","lbt","lbu","lbv","lbw","lbx","lby","lbz","lcc","lcd","lce","lcf","lch","lcl","lcm","lcp","lcq","lcs","lda","ldb","ldd","ldg","ldh","ldi","ldj","ldk","ldl","ldm","ldn","ldo","ldp","ldq","lea","leb","lec","led","lee","lef","leg","leh","lei","lej","lek","lel","lem","len","leo","lep","leq","ler","les","let","leu","lev","lew","lex","ley","lez","lfa","lfn","lga","lgb","lgg","lgh","lgi","lgk","lgl","lgm","lgn","lgq","lgr","lgt","lgu","lgz","lha","lhh","lhi","lhl","lhm","lhn","lhp","lhs","lht","lhu","lia","lib","lic","lid","lie","lif","lig","lih","lii","lij","lik","lil","lio","lip","liq","lir","lis","liu","liv","liw","lix","liy","liz","lja","lje","lji","ljl","ljp","ljw","ljx","lka","lkb","lkc","lkd","lke","lkh","lki","lkj","lkl","lkm","lkn","lko","lkr","lks","lkt","lku","lky","lla","llb","llc","lld","lle","llf","llg","llh","lli","llj","llk","lll","llm","lln","llo","llp","llq","lls","llu","llx","lma","lmb","lmc","lmd","lme","lmf","lmg","lmh","lmi","lmj","lmk","lml","lmm","lmn","lmo","lmp","lmq","lmr","lmu","lmv","lmw","lmx","lmy","lmz","lna","lnb","lnd","lng","lnh","lni","lnj","lnl","lnm","lnn","lno","lns","lnu","lnw","lnz","loa","lob","loc","loe","lof","log","loh","loi","loj","lok","lol","lom","lon","loo","lop","loq","lor","los","lot","lou","lov","low","lox","loy","loz","lpa","lpe","lpn","lpo","lpx","lra","lrc","lre","lrg","lri","lrk","lrl","lrm","lrn","lro","lrr","lrt","lrv","lrz","lsa","lsb","lsd","lse","lsg","lsh","lsi","lsl","lsm","lsn","lso","lsp","lsr","lss","lst","lsv","lsy","ltc","ltg","lth","lti","ltn","lto","lts","ltu","lua","luc","lud","lue","luf","lui","luj","luk","lul","lum","lun","luo","lup","luq","lur","lus","lut","luu","luv","luw","luy","luz","lva","lvi","lvk","lvs","lvu","lwa","lwe","lwg","lwh","lwl","lwm","lwo","lws","lwt","lwu","lww","lxm","lya","lyg","lyn","lzh","lzl","lzn","lzz"],["mg","mh","mi","mk","ml","mn","mo","mr","ms","mt","my","maa","mab","mad","mae","maf","mag","mai","maj","mak","mam","man","map","maq","mas","mat","mau","mav","maw","max","maz","mba","mbb","mbc","mbd","mbe","mbf","mbh","mbi","mbj","mbk","mbl","mbm","mbn","mbo","mbp","mbq","mbr","mbs","mbt","mbu","mbv","mbw","mbx","mby","mbz","mca","mcb","mcc","mcd","mce","mcf","mcg","mch","mci","mcj","mck","mcl","mcm","mcn","mco","mcp","mcq","mcr","mcs","mct","mcu","mcv","mcw","mcx","mcy","mcz","mda","mdb","mdc","mdd","mde","mdf","mdg","mdh","mdi","mdj","mdk","mdl","mdm","mdn","mdp","mdq","mdr","mds","mdt","mdu","mdv","mdw","mdx","mdy","mdz","mea","meb","mec","med","mee","mef","meg","meh","mei","mej","mek","mel","mem","men","meo","mep","meq","mer","mes","met","meu","mev","mew","mey","mez","mfa","mfb","mfc","mfd","mfe","mff","mfg","mfh","mfi","mfj","mfk","mfl","mfm","mfn","mfo","mfp","mfq","mfr","mfs","mft","mfu","mfv","mfw","mfx","mfy","mfz","mga","mgb","mgc","mgd","mge","mgf","mgg","mgh","mgi","mgj","mgk","mgl","mgm","mgn","mgo","mgp","mgq","mgr","mgs","mgt","mgu","mgv","mgw","mgx","mgy","mgz","mha","mhb","mhc","mhd","mhe","mhf","mhg","mhh","mhi","mhj","mhk","mhl","mhm","mhn","mho","mhp","mhq","mhr","mhs","mht","mhu","mhw","mhx","mhy","mhz","mia","mib","mic","mid","mie","mif","mig","mih","mii","mij","mik","mil","mim","min","mio","mip","miq","mir","mis","mit","miu","miw","mix","miy","miz","mja","mjb","mjc","mjd","mje","mjg","mjh","mji","mjj","mjk","mjl","mjm","mjn","mjo","mjp","mjq","mjr","mjs","mjt","mju","mjv","mjw","mjx","mjy","mjz","mka","mkb","mkc","mke","mkf","mkg","mkh","mki","mkj","mkk","mkl","mkm","mkn","mko","mkp","mkq","mkr","mks","mkt","mku","mkv","mkw","mkx","mky","mkz","mla","mlb","mlc","mld","mle","mlf","mlh","mli","mlj","mlk","mll","mlm","mln","mlo","mlp","mlq","mlr","mls","mlu","mlv","mlw","mlx","mlz","mma","mmb","mmc","mmd","mme","mmf","mmg","mmh","mmi","mmj","mmk","mml","mmm","mmn","mmo","mmp","mmq","mmr","mmt","mmu","mmv","mmw","mmx","mmy","mmz","mna","mnb","mnc","mnd","mne","mnf","mng","mnh","mni","mnj","mnk","mnl","mnm","mnn","mno","mnp","mnq","mnr","mns","mnt","mnu","mnv","mnw","mnx","mny","mnz","moa","moc","mod","moe","mof","mog","moh","moi","moj","mok","mom","moo","mop","moq","mor","mos","mot","mou","mov","mow","mox","moy","moz","mpa","mpb","mpc","mpd","mpe","mpg","mph","mpi","mpj","mpk","mpl","mpm","mpn","mpo","mpp","mpq","mpr","mps","mpt","mpu","mpv","mpw","mpx","mpy","mpz","mqa","mqb","mqc","mqe","mqf","mqg","mqh","mqi","mqj","mqk","mql","mqm","mqn","mqo","mqp","mqq","mqr","mqs","mqt","mqu","mqv","mqw","mqx","mqy","mqz","mra","mrb","mrc","mrd","mre","mrf","mrg","mrh","mrj","mrk","mrl","mrm","mrn","mro","mrp","mrq","mrr","mrs","mrt","mru","mrv","mrw","mrx","mry","mrz","msb","msc","msd","mse","msf","msg","msh","msi","msj","msk","msl","msm","msn","mso","msp","msq","msr","mss","mst","msu","msv","msw","msx","msy","msz","mta","mtb","mtc","mtd","mte","mtf","mtg","mth","mti","mtj","mtk","mtl","mtm","mtn","mto","mtp","mtq","mtr","mts","mtt","mtu","mtv","mtw","mtx","mty","mua","mub","muc","mud","mue","mug","muh","mui","muj","muk","mul","mum","mun","muo","mup","muq","mur","mus","mut","muu","muv","mux","muy","muz","mva","mvb","mvd","mve","mvf","mvg","mvh","mvi","mvk","mvl","mvm","mvn","mvo","mvp","mvq","mvr","mvs","mvt","mvu","mvv","mvw","mvx","mvy","mvz","mwa","mwb","mwc","mwd","mwe","mwf","mwg","mwh","mwi","mwj","mwk","mwl","mwm","mwn","mwo","mwp","mwq","mwr","mws","mwt","mwu","mwv","mww","mwx","mwy","mwz","mxa","mxb","mxc","mxd","mxe","mxf","mxg","mxh","mxi","mxj","mxk","mxl","mxm","mxn","mxo","mxp","mxq","mxr","mxs","mxt","mxu","mxv","mxw","mxx","mxy","mxz","myb","myc","myd","mye","myf","myg","myh","myi","myj","myk","myl","mym","myn","myo","myp","myq","myr","mys","myt","myu","myv","myw","myx","myy","myz","mza","mzb","mzc","mzd","mze","mzg","mzh","mzi","mzj","mzk","mzl","mzm","mzn","mzo","mzp","mzq","mzr","mzs","mzt","mzu","mzv","mzw","mzx","mzy","mzz"],["na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","naa","nab","nac","nad","nae","naf","nag","nah","nai","naj","nak","nal","nam","nan","nao","nap","naq","nar","nas","nat","naw","nax","nay","naz","nba","nbb","nbc","nbd","nbe","nbf","nbg","nbh","nbi","nbj","nbk","nbm","nbn","nbo","nbp","nbq","nbr","nbs","nbt","nbu","nbv","nbw","nbx","nby","nca","ncb","ncc","ncd","nce","ncf","ncg","nch","nci","ncj","nck","ncl","ncm","ncn","nco","ncp","ncq","ncr","ncs","nct","ncu","ncx","ncz","nda","ndb","ndc","ndd","ndf","ndg","ndh","ndi","ndj","ndk","ndl","ndm","ndn","ndp","ndq","ndr","nds","ndt","ndu","ndv","ndw","ndx","ndy","ndz","nea","neb","nec","ned","nee","nef","neg","neh","nei","nej","nek","nem","nen","neo","neq","ner","nes","net","neu","nev","new","nex","ney","nez","nfa","nfd","nfl","nfr","nfu","nga","ngb","ngc","ngd","nge","ngf","ngg","ngh","ngi","ngj","ngk","ngl","ngm","ngn","ngo","ngp","ngq","ngr","ngs","ngt","ngu","ngv","ngw","ngx","ngy","ngz","nha","nhb","nhc","nhd","nhe","nhf","nhg","nhh","nhi","nhk","nhm","nhn","nho","nhp","nhq","nhr","nht","nhu","nhv","nhw","nhx","nhy","nhz","nia","nib","nic","nid","nie","nif","nig","nih","nii","nij","nik","nil","nim","nin","nio","niq","nir","nis","nit","niu","niv","niw","nix","niy","niz","nja","njb","njd","njh","nji","njj","njl","njm","njn","njo","njr","njs","njt","nju","njx","njy","njz","nka","nkb","nkc","nkd","nke","nkf","nkg","nkh","nki","nkj","nkk","nkm","nkn","nko","nkp","nkq","nkr","nks","nkt","nku","nkv","nkw","nkx","nkz","nla","nlc","nle","nlg","nli","nlj","nlk","nll","nlm","nln","nlo","nlq","nlr","nlu","nlv","nlw","nlx","nly","nlz","nma","nmb","nmc","nmd","nme","nmf","nmg","nmh","nmi","nmj","nmk","nml","nmm","nmn","nmo","nmp","nmq","nmr","nms","nmt","nmu","nmv","nmw","nmx","nmy","nmz","nna","nnb","nnc","nnd","nne","nnf","nng","nnh","nni","nnj","nnk","nnl","nnm","nnn","nnp","nnq","nnr","nns","nnt","nnu","nnv","nnw","nnx","nny","nnz","noa","noc","nod","noe","nof","nog","noh","noi","noj","nok","nol","nom","non","noo","nop","noq","nos","not","nou","nov","now","noy","noz","npa","npb","npg","nph","npi","npl","npn","npo","nps","npu","npx","npy","nqg","nqk","nql","nqm","nqn","nqo","nqq","nqt","nqy","nra","nrb","nrc","nre","nrf","nrg","nri","nrk","nrl","nrm","nrn","nrp","nrr","nrt","nru","nrx","nrz","nsa","nsb","nsc","nsd","nse","nsf","nsg","nsh","nsi","nsk","nsl","nsm","nsn","nso","nsp","nsq","nsr","nss","nst","nsu","nsv","nsw","nsx","nsy","nsz","ntd","nte","ntg","nti","ntj","ntk","ntm","nto","ntp","ntr","nts","ntu","ntw","ntx","nty","ntz","nua","nub","nuc","nud","nue","nuf","nug","nuh","nui","nuj","nuk","nul","num","nun","nuo","nup","nuq","nur","nus","nut","nuu","nuv","nuw","nux","nuy","nuz","nvh","nvm","nvo","nwa","nwb","nwc","nwe","nwg","nwi","nwm","nwo","nwr","nwx","nwy","nxa","nxd","nxe","nxg","nxi","nxk","nxl","nxm","nxn","nxo","nxq","nxr","nxu","nxx","nyb","nyc","nyd","nye","nyf","nyg","nyh","nyi","nyj","nyk","nyl","nym","nyn","nyo","nyp","nyq","nyr","nys","nyt","nyu","nyv","nyw","nyx","nyy","nza","nzb","nzd","nzi","nzk","nzm","nzs","nzu","nzy","nzz"],["oc","oj","om","or","os","oaa","oac","oar","oav","obi","obk","obl","obm","obo","obr","obt","obu","oca","och","ocm","oco","ocu","oda","odk","odt","odu","ofo","ofs","ofu","ogb","ogc","oge","ogg","ogo","ogu","oht","ohu","oia","oin","ojb","ojc","ojg","ojp","ojs","ojv","ojw","oka","okb","okc","okd","oke","okg","okh","oki","okj","okk","okl","okm","okn","oko","okr","oks","oku","okv","okx","okz","ola","old","ole","olk","olm","olo","olr","olt","olu","oma","omb","omc","ome","omg","omi","omk","oml","omn","omo","omp","omq","omr","omt","omu","omv","omw","omx","omy","ona","onb","one","ong","oni","onj","onk","onn","ono","onp","onr","ons","ont","onu","onw","onx","ood","oog","oon","oor","oos","opa","opk","opm","opo","opt","opy","ora","orc","ore","org","orh","orn","oro","orr","ors","ort","oru","orv","orw","orx","ory","orz","osa","osc","osi","osn","oso","osp","ost","osu","osx","ota","otb","otd","ote","oti","otk","otl","otm","otn","oto","otq","otr","ots","ott","otu","otw","otx","oty","otz","oua","oub","oue","oui","oum","oun","ovd","owi","owl","oyb","oyd","oym","oyy","ozm"],["pa","pi","pl","ps","pt","paa","pab","pac","pad","pae","paf","pag","pah","pai","pak","pal","pam","pao","pap","paq","par","pas","pat","pau","pav","paw","pax","pay","paz","pbb","pbc","pbe","pbf","pbg","pbh","pbi","pbl","pbm","pbn","pbo","pbp","pbr","pbs","pbt","pbu","pbv","pby","pbz","pca","pcb","pcc","pcd","pce","pcf","pcg","pch","pci","pcj","pck","pcl","pcm","pcn","pcp","pcr","pcw","pda","pdc","pdi","pdn","pdo","pdt","pdu","pea","peb","ped","pee","pef","peg","peh","pei","pej","pek","pel","pem","peo","pep","peq","pes","pev","pex","pey","pez","pfa","pfe","pfl","pga","pgd","pgg","pgi","pgk","pgl","pgn","pgs","pgu","pgy","pgz","pha","phd","phg","phh","phi","phk","phl","phm","phn","pho","phq","phr","pht","phu","phv","phw","pia","pib","pic","pid","pie","pif","pig","pih","pii","pij","pil","pim","pin","pio","pip","pir","pis","pit","piu","piv","piw","pix","piy","piz","pjt","pka","pkb","pkc","pkg","pkh","pkn","pko","pkp","pkr","pks","pkt","pku","pla","plb","plc","pld","ple","plf","plg","plh","plj","plk","pll","pln","plo","plp","plq","plr","pls","plt","plu","plv","plw","ply","plz","pma","pmb","pmc","pmd","pme","pmf","pmh","pmi","pmj","pmk","pml","pmm","pmn","pmo","pmq","pmr","pms","pmt","pmu","pmw","pmx","pmy","pmz","pna","pnb","pnc","pnd","pne","png","pnh","pni","pnj","pnk","pnl","pnm","pnn","pno","pnp","pnq","pnr","pns","pnt","pnu","pnv","pnw","pnx","pny","pnz","poc","pod","poe","pof","pog","poh","poi","pok","pom","pon","poo","pop","poq","pos","pot","pov","pow","pox","poy","poz","ppa","ppe","ppi","ppk","ppl","ppm","ppn","ppo","ppp","ppq","ppr","pps","ppt","ppu","pqa","pqe","pqm","pqw","pra","prb","prc","prd","pre","prf","prg","prh","pri","prk","prl","prm","prn","pro","prp","prq","prr","prs","prt","pru","prw","prx","pry","prz","psa","psc","psd","pse","psg","psh","psi","psl","psm","psn","pso","psp","psq","psr","pss","pst","psu","psw","psy","pta","pth","pti","ptn","pto","ptp","ptq","ptr","ptt","ptu","ptv","ptw","pty","pua","pub","puc","pud","pue","puf","pug","pui","puj","puk","pum","puo","pup","puq","pur","put","puu","puw","pux","puy","puz","pwa","pwb","pwg","pwi","pwm","pwn","pwo","pwr","pww","pxm","pye","pym","pyn","pys","pyu","pyx","pyy","pzn"],["qu","qua","qub","quc","qud","quf","qug","quh","qui","quk","qul","qum","qun","qup","quq","qur","qus","quv","quw","qux","quy","quz","qva","qvc","qve","qvh","qvi","qvj","qvl","qvm","qvn","qvo","qvp","qvs","qvw","qvy","qvz","qwa","qwc","qwe","qwh","qwm","qws","qwt","qxa","qxc","qxh","qxl","qxn","qxo","qxp","qxq","qxr","qxs","qxt","qxu","qxw","qya","qyp"],["rm","rn","ro","ru","rw","raa","rab","rac","rad","raf","rag","rah","rai","raj","rak","ral","ram","ran","rao","rap","raq","rar","ras","rat","rau","rav","raw","rax","ray","raz","rbb","rbk","rbl","rbp","rcf","rdb","rea","reb","ree","reg","rei","rej","rel","rem","ren","rer","res","ret","rey","rga","rge","rgk","rgn","rgr","rgs","rgu","rhg","rhp","ria","rie","rif","ril","rim","rin","rir","rit","riu","rjg","rji","rjs","rka","rkb","rkh","rki","rkm","rkt","rkw","rma","rmb","rmc","rmd","rme","rmf","rmg","rmh","rmi","rmk","rml","rmm","rmn","rmo","rmp","rmq","rmr","rms","rmt","rmu","rmv","rmw","rmx","rmy","rmz","rna","rnd","rng","rnl","rnn","rnp","rnr","rnw","roa","rob","roc","rod","roe","rof","rog","rol","rom","roo","rop","ror","rou","row","rpn","rpt","rri","rro","rrt","rsb","rsi","rsl","rsm","rtc","rth","rtm","rts","rtw","rub","ruc","rue","ruf","rug","ruh","rui","ruk","ruo","rup","ruq","rut","ruu","ruy","ruz","rwa","rwk","rwl","rwm","rwo","rwr","rxd","rxw","ryn","rys","ryu","rzh"],["sa","sc","sd","se","sg","sh","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","saa","sab","sac","sad","sae","saf","sah","sai","saj","sak","sal","sam","sao","sap","saq","sar","sas","sat","sau","sav","saw","sax","say","saz","sba","sbb","sbc","sbd","sbe","sbf","sbg","sbh","sbi","sbj","sbk","sbl","sbm","sbn","sbo","sbp","sbq","sbr","sbs","sbt","sbu","sbv","sbw","sbx","sby","sbz","sca","scb","sce","scf","scg","sch","sci","sck","scl","scn","sco","scp","scq","scs","sct","scu","scv","scw","scx","sda","sdb","sdc","sde","sdf","sdg","sdh","sdj","sdk","sdl","sdm","sdn","sdo","sdp","sdq","sdr","sds","sdt","sdu","sdv","sdx","sdz","sea","seb","sec","sed","see","sef","seg","seh","sei","sej","sek","sel","sem","sen","seo","sep","seq","ser","ses","set","seu","sev","sew","sey","sez","sfb","sfe","sfm","sfs","sfw","sga","sgb","sgc","sgd","sge","sgg","sgh","sgi","sgj","sgk","sgl","sgm","sgn","sgo","sgp","sgr","sgs","sgt","sgu","sgw","sgx","sgy","sgz","sha","shb","shc","shd","she","shg","shh","shi","shj","shk","shl","shm","shn","sho","shp","shq","shr","shs","sht","shu","shv","shw","shx","shy","shz","sia","sib","sid","sie","sif","sig","sih","sii","sij","sik","sil","sim","sio","sip","siq","sir","sis","sit","siu","siv","siw","six","siy","siz","sja","sjb","sjd","sje","sjg","sjk","sjl","sjm","sjn","sjo","sjp","sjr","sjs","sjt","sju","sjw","ska","skb","skc","skd","ske","skf","skg","skh","ski","skj","skk","skm","skn","sko","skp","skq","skr","sks","skt","sku","skv","skw","skx","sky","skz","sla","slc","sld","sle","slf","slg","slh","sli","slj","sll","slm","sln","slp","slq","slr","sls","slt","slu","slw","slx","sly","slz","sma","smb","smc","smd","smf","smg","smh","smi","smj","smk","sml","smm","smn","smp","smq","smr","sms","smt","smu","smv","smw","smx","smy","smz","snb","snc","sne","snf","sng","snh","sni","snj","snk","snl","snm","snn","sno","snp","snq","snr","sns","snu","snv","snw","snx","sny","snz","soa","sob","soc","sod","soe","sog","soh","soi","soj","sok","sol","son","soo","sop","soq","sor","sos","sou","sov","sow","sox","soy","soz","spb","spc","spd","spe","spg","spi","spk","spl","spm","spn","spo","spp","spq","spr","sps","spt","spu","spv","spx","spy","sqa","sqh","sqj","sqk","sqm","sqn","sqo","sqq","sqr","sqs","sqt","squ","sqx","sra","srb","src","sre","srf","srg","srh","sri","srk","srl","srm","srn","sro","srq","srr","srs","srt","sru","srv","srw","srx","sry","srz","ssa","ssb","ssc","ssd","sse","ssf","ssg","ssh","ssi","ssj","ssk","ssl","ssm","ssn","sso","ssp","ssq","ssr","sss","sst","ssu","ssv","ssx","ssy","ssz","sta","stb","std","ste","stf","stg","sth","sti","stj","stk","stl","stm","stn","sto","stp","stq","str","sts","stt","stu","stv","stw","sty","sua","sub","suc","sue","sug","sui","suj","suk","sul","sum","suo","suq","sur","sus","sut","suv","suw","sux","suy","suz","sva","svb","svc","sve","svk","svm","svr","svs","svx","swb","swc","swf","swg","swh","swi","swj","swk","swl","swm","swn","swo","swp","swq","swr","sws","swt","swu","swv","sww","swx","swy","sxb","sxc","sxe","sxg","sxk","sxl","sxm","sxn","sxo","sxr","sxs","sxu","sxw","sya","syb","syc","syd","syi","syk","syl","sym","syn","syo","syr","sys","syw","syx","syy","sza","szb","szc","szd","sze","szg","szl","szn","szp","szs","szv","szw","szy"],["ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","taa","tab","tac","tad","tae","taf","tag","tai","taj","tak","tal","tan","tao","tap","taq","tar","tas","tau","tav","taw","tax","tay","taz","tba","tbb","tbc","tbd","tbe","tbf","tbg","tbh","tbi","tbj","tbk","tbl","tbm","tbn","tbo","tbp","tbq","tbr","tbs","tbt","tbu","tbv","tbw","tbx","tby","tbz","tca","tcb","tcc","tcd","tce","tcf","tcg","tch","tci","tck","tcl","tcm","tcn","tco","tcp","tcq","tcs","tct","tcu","tcw","tcx","tcy","tcz","tda","tdb","tdc","tdd","tde","tdf","tdg","tdh","tdi","tdj","tdk","tdl","tdm","tdn","tdo","tdq","tdr","tds","tdt","tdu","tdv","tdx","tdy","tea","teb","tec","ted","tee","tef","teg","teh","tei","tek","tem","ten","teo","tep","teq","ter","tes","tet","teu","tev","tew","tex","tey","tez","tfi","tfn","tfo","tfr","tft","tga","tgb","tgc","tgd","tge","tgf","tgg","tgh","tgi","tgj","tgn","tgo","tgp","tgq","tgr","tgs","tgt","tgu","tgv","tgw","tgx","tgy","tgz","thc","thd","the","thf","thh","thi","thk","thl","thm","thn","thp","thq","thr","ths","tht","thu","thv","thw","thx","thy","thz","tia","tic","tid","tie","tif","tig","tih","tii","tij","tik","til","tim","tin","tio","tip","tiq","tis","tit","tiu","tiv","tiw","tix","tiy","tiz","tja","tjg","tji","tjj","tjl","tjm","tjn","tjo","tjp","tjs","tju","tjw","tka","tkb","tkd","tke","tkf","tkg","tkk","tkl","tkm","tkn","tkp","tkq","tkr","tks","tkt","tku","tkv","tkw","tkx","tkz","tla","tlb","tlc","tld","tlf","tlg","tlh","tli","tlj","tlk","tll","tlm","tln","tlo","tlp","tlq","tlr","tls","tlt","tlu","tlv","tlw","tlx","tly","tma","tmb","tmc","tmd","tme","tmf","tmg","tmh","tmi","tmj","tmk","tml","tmm","tmn","tmo","tmp","tmq","tmr","tms","tmt","tmu","tmv","tmw","tmy","tmz","tna","tnb","tnc","tnd","tne","tnf","tng","tnh","tni","tnk","tnl","tnm","tnn","tno","tnp","tnq","tnr","tns","tnt","tnu","tnv","tnw","tnx","tny","tnz","tob","toc","tod","toe","tof","tog","toh","toi","toj","tol","tom","too","top","toq","tor","tos","tou","tov","tow","tox","toy","toz","tpa","tpc","tpe","tpf","tpg","tpi","tpj","tpk","tpl","tpm","tpn","tpo","tpp","tpq","tpr","tpt","tpu","tpv","tpw","tpx","tpy","tpz","tqb","tql","tqm","tqn","tqo","tqp","tqq","tqr","tqt","tqu","tqw","tra","trb","trc","trd","tre","trf","trg","trh","tri","trj","trk","trl","trm","trn","tro","trp","trq","trr","trs","trt","tru","trv","trw","trx","try","trz","tsa","tsb","tsc","tsd","tse","tsf","tsg","tsh","tsi","tsj","tsk","tsl","tsm","tsp","tsq","tsr","tss","tst","tsu","tsv","tsw","tsx","tsy","tsz","tta","ttb","ttc","ttd","tte","ttf","ttg","tth","tti","ttj","ttk","ttl","ttm","ttn","tto","ttp","ttq","ttr","tts","ttt","ttu","ttv","ttw","tty","ttz","tua","tub","tuc","tud","tue","tuf","tug","tuh","tui","tuj","tul","tum","tun","tuo","tup","tuq","tus","tut","tuu","tuv","tuw","tux","tuy","tuz","tva","tvd","tve","tvk","tvl","tvm","tvn","tvo","tvs","tvt","tvu","tvw","tvx","tvy","twa","twb","twc","twd","twe","twf","twg","twh","twl","twm","twn","two","twp","twq","twr","twt","twu","tww","twx","twy","txa","txb","txc","txe","txg","txh","txi","txj","txm","txn","txo","txq","txr","txs","txt","txu","txx","txy","tya","tye","tyh","tyi","tyj","tyl","tyn","typ","tyr","tys","tyt","tyu","tyv","tyx","tyy","tyz","tza","tzh","tzj","tzl","tzm","tzn","tzo","tzx"],["ug","uk","ur","uz","uam","uan","uar","uba","ubi","ubl","ubr","ubu","uby","uda","ude","udg","udi","udj","udl","udm","udu","ues","ufi","uga","ugb","uge","ugn","ugo","ugy","uha","uhn","uis","uiv","uji","uka","ukg","ukh","uki","ukk","ukl","ukp","ukq","uks","uku","ukv","ukw","uky","ula","ulb","ulc","ule","ulf","uli","ulk","ull","ulm","uln","ulu","ulw","uma","umb","umc","umd","umg","umi","umm","umn","umo","ump","umr","ums","umu","una","und","une","ung","uni","unk","unm","unn","unp","unr","unu","unx","unz","uok","upi","upv","ura","urb","urc","ure","urf","urg","urh","uri","urj","urk","url","urm","urn","uro","urp","urr","urt","uru","urv","urw","urx","ury","urz","usa","ush","usi","usk","usp","uss","usu","uta","ute","uth","utp","utr","utu","uum","uun","uur","uuu","uve","uvh","uvl","uwa","uya","uzn","uzs"],["ve","vi","vo","vaa","vae","vaf","vag","vah","vai","vaj","val","vam","van","vao","vap","var","vas","vau","vav","vay","vbb","vbk","vec","ved","vel","vem","veo","vep","ver","vgr","vgt","vic","vid","vif","vig","vil","vin","vis","vit","viv","vka","vki","vkj","vkk","vkl","vkm","vkn","vko","vkp","vkt","vku","vkz","vlp","vls","vma","vmb","vmc","vmd","vme","vmf","vmg","vmh","vmi","vmj","vmk","vml","vmm","vmp","vmq","vmr","vms","vmu","vmv","vmw","vmx","vmy","vmz","vnk","vnm","vnp","vor","vot","vra","vro","vrs","vrt","vsi","vsl","vsv","vto","vum","vun","vut","vwa"],["wa","wo","waa","wab","wac","wad","wae","waf","wag","wah","wai","waj","wak","wal","wam","wan","wao","wap","waq","war","was","wat","wau","wav","waw","wax","way","waz","wba","wbb","wbe","wbf","wbh","wbi","wbj","wbk","wbl","wbm","wbp","wbq","wbr","wbs","wbt","wbv","wbw","wca","wci","wdd","wdg","wdj","wdk","wdu","wdy","wea","wec","wed","weg","weh","wei","wem","wen","weo","wep","wer","wes","wet","weu","wew","wfg","wga","wgb","wgg","wgi","wgo","wgu","wgw","wgy","wha","whg","whk","whu","wib","wic","wie","wif","wig","wih","wii","wij","wik","wil","wim","win","wir","wit","wiu","wiv","wiw","wiy","wja","wji","wka","wkb","wkd","wkl","wkr","wku","wkw","wky","wla","wlc","wle","wlg","wlh","wli","wlk","wll","wlm","wlo","wlr","wls","wlu","wlv","wlw","wlx","wly","wma","wmb","wmc","wmd","wme","wmg","wmh","wmi","wmm","wmn","wmo","wms","wmt","wmw","wmx","wnb","wnc","wnd","wne","wng","wni","wnk","wnm","wnn","wno","wnp","wnu","wnw","wny","woa","wob","woc","wod","woe","wof","wog","woi","wok","wom","won","woo","wor","wos","wow","woy","wpc","wra","wrb","wrd","wrg","wrh","wri","wrk","wrl","wrm","wrn","wro","wrp","wrr","wrs","wru","wrv","wrw","wrx","wry","wrz","wsa","wsg","wsi","wsk","wsr","wss","wsu","wsv","wtf","wth","wti","wtk","wtm","wtw","wua","wub","wud","wuh","wul","wum","wun","wur","wut","wuu","wuv","wux","wuy","wwa","wwb","wwo","wwr","www","wxa","wxw","wya","wyb","wyi","wym","wyr","wyy"],["xh","xaa","xab","xac","xad","xae","xag","xai","xaj","xak","xal","xam","xan","xao","xap","xaq","xar","xas","xat","xau","xav","xaw","xay","xba","xbb","xbc","xbd","xbe","xbg","xbi","xbj","xbm","xbn","xbo","xbp","xbr","xbw","xbx","xby","xcb","xcc","xce","xcg","xch","xcl","xcm","xcn","xco","xcr","xct","xcu","xcv","xcw","xcy","xda","xdc","xdk","xdm","xdo","xdy","xeb","xed","xeg","xel","xem","xep","xer","xes","xet","xeu","xfa","xga","xgb","xgd","xgf","xgg","xgi","xgl","xgm","xgn","xgr","xgu","xgw","xha","xhc","xhd","xhe","xhr","xht","xhu","xhv","xia","xib","xii","xil","xin","xip","xir","xis","xiv","xiy","xjb","xjt","xka","xkb","xkc","xkd","xke","xkf","xkg","xkh","xki","xkj","xkk","xkl","xkn","xko","xkp","xkq","xkr","xks","xkt","xku","xkv","xkw","xkx","xky","xkz","xla","xlb","xlc","xld","xle","xlg","xli","xln","xlo","xlp","xls","xlu","xly","xma","xmb","xmc","xmd","xme","xmf","xmg","xmh","xmj","xmk","xml","xmm","xmn","xmo","xmp","xmq","xmr","xms","xmt","xmu","xmv","xmw","xmx","xmy","xmz","xna","xnb","xnd","xng","xnh","xni","xnj","xnk","xnm","xnn","xno","xnq","xnr","xns","xnt","xnu","xny","xnz","xoc","xod","xog","xoi","xok","xom","xon","xoo","xop","xor","xow","xpa","xpb","xpc","xpd","xpe","xpf","xpg","xph","xpi","xpj","xpk","xpl","xpm","xpn","xpo","xpp","xpq","xpr","xps","xpt","xpu","xpv","xpw","xpx","xpy","xpz","xqa","xqt","xra","xrb","xrd","xre","xrg","xri","xrm","xrn","xrq","xrr","xrt","xru","xrw","xsa","xsb","xsc","xsd","xse","xsh","xsi","xsj","xsl","xsm","xsn","xso","xsp","xsq","xsr","xss","xsu","xsv","xsy","xta","xtb","xtc","xtd","xte","xtg","xth","xti","xtj","xtl","xtm","xtn","xto","xtp","xtq","xtr","xts","xtt","xtu","xtv","xtw","xty","xtz","xua","xub","xud","xug","xuj","xul","xum","xun","xuo","xup","xur","xut","xuu","xve","xvi","xvn","xvo","xvs","xwa","xwc","xwd","xwe","xwg","xwj","xwk","xwl","xwo","xwr","xwt","xww","xxb","xxk","xxm","xxr","xxt","xya","xyb","xyj","xyk","xyl","xyt","xyy","xzh","xzm","xzp"],["yi","yo","yaa","yab","yac","yad","yae","yaf","yag","yah","yai","yaj","yak","yal","yam","yan","yao","yap","yaq","yar","yas","yat","yau","yav","yaw","yax","yay","yaz","yba","ybb","ybd","ybe","ybh","ybi","ybj","ybk","ybl","ybm","ybn","ybo","ybx","yby","ych","ycl","ycn","ycp","yda","ydd","yde","ydg","ydk","yds","yea","yec","yee","yei","yej","yel","yen","yer","yes","yet","yeu","yev","yey","yga","ygi","ygl","ygm","ygp","ygr","ygs","ygu","ygw","yha","yhd","yhl","yhs","yia","yif","yig","yih","yii","yij","yik","yil","yim","yin","yip","yiq","yir","yis","yit","yiu","yiv","yix","yiy","yiz","yka","ykg","yki","ykk","ykl","ykm","ykn","yko","ykr","ykt","yku","yky","yla","ylb","yle","ylg","yli","yll","ylm","yln","ylo","ylr","ylu","yly","yma","ymb","ymc","ymd","yme","ymg","ymh","ymi","ymk","yml","ymm","ymn","ymo","ymp","ymq","ymr","yms","ymt","ymx","ymz","yna","ynd","yne","yng","ynh","ynk","ynl","ynn","yno","ynq","yns","ynu","yob","yog","yoi","yok","yol","yom","yon","yos","yot","yox","yoy","ypa","ypb","ypg","yph","ypk","ypm","ypn","ypo","ypp","ypz","yra","yrb","yre","yri","yrk","yrl","yrm","yrn","yro","yrs","yrw","yry","ysc","ysd","ysg","ysl","ysm","ysn","yso","ysp","ysr","yss","ysy","yta","ytl","ytp","ytw","yty","yua","yub","yuc","yud","yue","yuf","yug","yui","yuj","yuk","yul","yum","yun","yup","yuq","yur","yut","yuu","yuw","yux","yuy","yuz","yva","yvt","ywa","ywg","ywl","ywn","ywq","ywr","ywt","ywu","yww","yxa","yxg","yxl","yxm","yxu","yxy","yyr","yyu","yyz","yzg","yzk"],["za","zh","zu","zaa","zab","zac","zad","zae","zaf","zag","zah","zai","zaj","zak","zal","zam","zao","zap","zaq","zar","zas","zat","zau","zav","zaw","zax","zay","zaz","zba","zbc","zbe","zbl","zbt","zbu","zbw","zca","zch","zdj","zea","zeg","zeh","zen","zga","zgb","zgh","zgm","zgn","zgr","zhb","zhd","zhi","zhn","zhw","zhx","zia","zib","zik","zil","zim","zin","zir","ziw","ziz","zka","zkb","zkd","zkg","zkh","zkk","zkn","zko","zkp","zkr","zkt","zku","zkv","zkz","zla","zle","zlj","zlm","zln","zlq","zls","zlw","zma","zmb","zmc","zmd","zme","zmf","zmg","zmh","zmi","zmj","zmk","zml","zmm","zmn","zmo","zmp","zmq","zmr","zms","zmt","zmu","zmv","zmw","zmx","zmy","zmz","zna","znd","zne","zng","znk","zns","zoc","zoh","zom","zoo","zoq","zor","zos","zpa","zpb","zpc","zpd","zpe","zpf","zpg","zph","zpi","zpj","zpk","zpl","zpm","zpn","zpo","zpp","zpq","zpr","zps","zpt","zpu","zpv","zpw","zpx","zpy","zpz","zqe","zra","zrg","zrn","zro","zrp","zrs","zsa","zsk","zsl","zsm","zsr","zsu","zte","ztg","ztl","ztm","ztn","ztp","ztq","zts","ztt","ztu","ztx","zty","zua","zuh","zum","zun","zuy","zwa","zxx","zyb","zyg","zyj","zyn","zyp","zza","zzj"]],a=function(){function e(){}return e.isBcp47=function(e){return/^(([a-zA-Z]{2,3}(-[a-zA-Z](-[a-zA-Z]{3}){0,2})?|[a-zA-Z]{4}|[a-zA-Z]{5,8})(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-([0-9a-zA-Z]{5,8}|[0-9][a-zA-Z]{3}))*(-[0-9a-wy-zA-WY-Z](-[a-zA-Z0-9]{2,8})+)*(-x(-[a-zA-Z0-9]{1,8})+)?|x(-[a-zA-Z0-9]{1,8})+|(en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE|art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang))$/.test(e)},e.validPrimaryLang=function(e){var t=e.toLowerCase();return t.includes("-")&&(t=t.split("-")[0]),!!t.match(/[a-z]{2,3}/)&&(3===t.length&&"q"===t.charAt(0)&&t.charCodeAt(1)>=97&&t.charCodeAt(1)<=116&&t.charCodeAt(2)>=97&&t.charCodeAt(2),i[t.charCodeAt(0)-97].includes(t))},e.matchPrimaryLang=function(e,t){var i=e;i.includes("-")&&(i=i.split("-")[0]);var a=t;return a.includes("-")&&(a=a.split("-")[0]),i.toLowerCase()===a.toLowerCase()},e}();t.LangUtil=a},3103:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CommonMapper=void 0;var a=i(3864),l=function(){function e(){this.hierarchyRole=null,this.hierarchyPath=null,this.hierarchyResults=null}return e.prototype.getBounds=function(e){return null},e.prototype.reset=function(e){this.hierarchyRole=[],this.hierarchyResults=[],this.hierarchyPath=[{rolePath:"",roleCount:{}}];for(var t=[],i=a.DOMWalker.parentNode(e);i&&9!=i.nodeType;)t.push(i),i=a.DOMWalker.parentNode(i);for(var l=0,n=t=t.reverse();l<n.length;l++){for(var r=n[l],o=[],s=r.previousSibling;s;)o.push(s),s=s.previousSibling;for(var u=0,d=o=o.reverse();u<d.length;u++){var c=d[u];this.pushHierarchy(c),this.popHierarchy()}this.pushHierarchy(r)}},e.prototype.pushHierarchy=function(e){var t=this.getRole(e)||"none";if(this.hierarchyRole.push(t),"none"!==t){var i=this.hierarchyPath[this.hierarchyPath.length-1];i.roleCount[t]=(i.roleCount[t]||0)+1,this.hierarchyPath.push({rolePath:i.rolePath+"/"+t+"["+i.roleCount[t]+"]",roleCount:{}})}var a={};1===e.nodeType&&(a=this.getAttributes(e)),this.hierarchyResults.push({node:e,namespace:this.getNamespace(),role:t,attributes:a,rolePath:this.hierarchyPath[this.hierarchyPath.length-1].rolePath,bounds:this.getBounds(e)})},e.prototype.popHierarchy=function(){"none"!==this.hierarchyRole.pop()&&this.hierarchyPath.pop(),this.hierarchyResults.pop()},e.prototype.openScope=function(e){return null===this.hierarchyRole&&this.reset(e),this.pushHierarchy(e),this.hierarchyResults},e.prototype.closeScope=function(e){for(var t=[],i=0,a=this.hierarchyResults;i<a.length;i++){var l=a[i];t.push(l)}return t[t.length-1].role="/"+t[t.length-1].role,this.popHierarchy(),t},e}();t.CommonMapper=l},920:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Context=t.PartInfo=t.AttrInfo=void 0;var i=function(){function e(e,t,i,a){if(this.inclusive=e,this.attr=t,this.eq=i,this.value=a,!e&&void 0!==i&&i.length>0)throw new Error("Cannot have !attr"+i+" context");if(e&&void 0!==i&&i.length>0&&(void 0===a||0===a.length))throw new Error("Cannot have equivalence check without a value")}return e.prototype.matches=function(e){var t=this,i=e.attributes;if(t.attr in i){if(t.inclusive){if(t.eq){var a=i[t.attr];if("="===t.eq)return t.value===a;if("!="===t.eq)return t.value!==a;if("~"===t.eq)return t.value===a;if("!~"===t.eq)return t.value!==a;throw new Error("Context equivalence operator not supported")}return!0}return!1}return!t.inclusive},e}();t.AttrInfo=i;var a=function(){function e(e,t,i,a,l){if(this.inclusive=e,this.namespace=t,this.role=i,this.attrs=a,this.connector=l,"*"===i&&!e)throw new Error("!* context not supported")}return e.prototype.matches=function(e,t){var i=this,a=i.namespace in e&&e[i.namespace][t]&&(e[i.namespace][t].role===i.role||"none"!==e[i.namespace][t].role&&"*"===i.role);if(!a||"*"!==i.role||"dom"!==i.namespace||"#text"!==e[i.namespace][t].role&&"/#text"!==e[i.namespace][t].role||(a=!1),i.inclusive&&!a)return!1;if(!i.inclusive&&!a)return!0;for(var l=i.attrs,n=e[i.namespace][t],r=!0,o=0,s=l;o<s.length;o++){var u=s[o];r=r&&u.matches(n)}return i.inclusive||(r=!r),r},e}();t.PartInfo=a;var l=function(){function e(e){this.contextInfo=[];for(var t=[],l=0,n=e.match(/!?[/a-zA-Z:0-9*\-_]+(\[[^\]]+\])*[ >+~]?/g);l<n.length;l++){for(var r=n[l].match(/(!?)([/a-zA-Z:0-9*\-_]+)((\[[^\]]+\])*)([ >+~]?)/),o=[],s=0,u=r[3].match(/\[([^\]]+)\]/g)||[];s<u.length;s++){var d=u[s].match(/\[(!?)([a-z:A-Z*\-_]+)(!?[=~])?([^\]]+)?\]/);o.push(new i("!"!==d[1],d[2].toLowerCase(),d[3],d[4]))}r[2]=r[2].toLowerCase();var c=r[2].split(":"),m="!"!==r[1],p=c.shift(),h=c.join(":"),_=new a(m,p,h,o,r[r.length-1]);t.push(_)}this.contextInfo=t}return e.cleanContext=function(e){return(e=(e=(e=(e=(e=e.toLowerCase().trim()).replace(/ +!/g," !")).replace(/ +([>+~,])/g,"$1")).replace(/([>+~,]) +/g,"$1")).replace(/ +/g," ")).trim()},e.parse=function(t){for(var i=e.splitMultiple(e.cleanContext(t)),a=[],l=0;l<i.length;++l){var n=new e(i[l]);a.push(n)}return a},e.splitMultiple=function(e){var t=[];if(e)if(-1===e.indexOf(","))t.push(e);else for(var i=0,a=e.split(",");i<a.length;i++){var l=a[i];t.push(l)}return t},e}();t.Context=l},7301:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Engine=void 0;var a=i(3864),l=i(920),n=i(4516),r=i(7507),o=i(1686),s=i(4566),u=i(461),d=i(3946),c=function(){function e(e,t){this.rule=e,this.parsedInfo=t,this.ns=this.parsedInfo.contextInfo[this.parsedInfo.contextInfo.length-1].namespace,n.Config.DEBUG&&console.log("Added Rule:",e.id,JSON.stringify(this.parsedInfo))}return e.convertNodeToSnippet=function(e){var t="";t+="<"+e.nodeName.toLowerCase();var i=e.attributes;if(null!=i)for(var a=i.length-1;a>=0;a--)"data-namewalk"!==i[a].name&&(t+=" "+i[a].name+'="'+i[a].value+'"');return t+">"},e.prototype.run=function(t,i,a,l){var n,r=(new Date).getTime();try{n=this.rule.run(i,a,l)}catch(e){var o=e;throw console.error("RULE EXCEPTION:",this.rule.id,i.dom.rolePath,o.stack),e}var s=(new Date).getTime();n||(n=[]),n instanceof Array||(n=[n]);for(var u=[],d=0,c=n;d<c.length;d++){var m=c[d],p=t.getMessage(this.rule.id,m.reasonId,m.messageArgs),h={};for(var _ in i)h[_]=i[_].rolePath;var b=this.rule.id.replace(/^(.*)\$\$\d+$/,"$1");u.push({ruleId:b,value:m.value,node:i.dom.node,path:h,ruleTime:s-r,reasonId:m.reasonId,message:p,messageArgs:m.messageArgs,apiArgs:m.apiArgs,bounds:i.dom.bounds,snippet:e.convertNodeToSnippet(i.dom.node)})}return u},e}(),m=function(){function e(){this.mappers={},this.ruleMap={},this.wrappedRuleMap={},this.nlsMap={},this.helpMap={},this.inclRules={},this.exclRules={},this.addMapper(new r.DOMMapper)}return e.getLanguages=function(){var e="undefined"!=typeof process&&void 0===process.nodeType&&process.env,t="en-US";return e&&(t=(t=e.LANG||e.LANGUAGE||e.LC_ALL||e.LC_MESSAGES)&&t.length>0?t.split(".")[0].replace(/_/g,"-"):"en-US"),"undefined"!=typeof navigator&&navigator.languages||[t]},e.prototype.run=function(e,t){if(null===e)return Promise.reject("null document");9===e.nodeType&&(e=e.documentElement),e.ownerDocument&&(e.ownerDocument.PT_CHECK_HIDDEN_CONTENT=!1),s.CacheUtil.clearCaches(e);var i=new a.DOMWalker(e,!1,e,!0),l={results:[],numExecuted:0,ruleTime:0,totalTime:0},n=(new Date).getTime();for(var r in this.mappers)this.mappers[r].reset(e);do{var c={};for(var r in this.mappers)i.bEndTag?c[r]=this.mappers[r].closeScope(i.node):c[r]=this.mappers[r].openScope(i.node);if(11!==i.node.nodeType&&(d.VisUtil.isNodeVisible(i.node)||"meta"===i.node.nodeName.toLowerCase()||"style"===i.node.nodeName.toLowerCase()||"datalist"===i.node.nodeName.toLowerCase()||"param"===i.node.nodeName.toLowerCase()||!o.DOMUtil.getAncestor(i.node,["body"]))){var m={};for(var p in c){var h=c[p],_=h[h.length-1];m[p]=_}for(var b={},g=0,f=this.getMatchingRules(c);g<f.length;g++){for(var v=f[g],A=!0,y=0,w=v.rule.dependencies||[];y<w.length;y++)b[w[y]]||(A=!1);if(A){var k=[];try{k=v.run(this,m,t,c)}catch(e){}0===k.length&&(b[v.rule.id]=!0);for(var C=0,x=k;C<x.length;C++){var P=x[C];l.results.push(P),l.ruleTime+=P.ruleTime,l.numExecuted++,P.value[1]===u.eRuleConfidence.PASS&&(b[P.ruleId]=!0)}}}}}while(i.nextNode());return s.CacheUtil.clearCaches(e),l.totalTime=(new Date).getTime()-n,Promise.resolve(l)},e.prototype.enableRules=function(e){for(var t in this.ruleMap)this.ruleMap[t].enabled=!1;for(var i=0,a=e||[];i<a.length;i++)(t=a[i])in this.ruleMap?this.ruleMap[t].enabled=!0:console.warn("WARNING: Rule Id",t,"could not be enabled.")},e.prototype.getRule=function(e){return this.ruleMap[e]},e.prototype.getRulesIds=function(){var e=[];for(var t in this.ruleMap)e.push(t);return e},e.prototype.addRules=function(e){for(var t=0,i=e;t<i.length;t++){var a=i[t];this.addRule(a,!0)}this._sortRules()},e.prototype.addRule=function(e,t){var i=l.Context.parse(e.context),a=0,n=e.id;if(n in this.ruleMap)console.log("WARNING: Rule",n,"already added to engine. Ignoring...");else{this.ruleMap[n]=e;for(var r=0,o=i;r<o.length;r++){var s=o[r],u=n;a>=1&&(u=n+"$$"+a),++a;var d=new c(e,s);this.wrappedRuleMap[u]=d;var m=d.parsedInfo.contextInfo,p=m[m.length-1],h=p.namespace+":"+p.role;p.inclusive?(this.inclRules[h]=this.inclRules[h]||[],this.inclRules[h].push(d)):(this.exclRules[h]=this.exclRules[h]||[],this.exclRules[h].push(d))}t||this._sortRules()}},e.prototype._sortRules=function(){for(var e in this.inclRules)this.inclRules[e].sort((function(e,t){var i=e.rule.dependencies&&e.rule.dependencies.length>0;return t.rule.dependencies&&t.rule.dependencies.length>0&&t.rule.dependencies.includes(e.rule.id)?-1:i&&e.rule.dependencies.includes(t.rule.id)?1:0}));for(var e in this.exclRules)this.exclRules[e].sort((function(e,t){var i=e.rule.dependencies&&e.rule.dependencies.length>0;return t.rule.dependencies&&t.rule.dependencies.length>0&&t.rule.dependencies.includes(e.rule.id)?-1:i&&e.rule.dependencies.includes(t.rule.id)?1:0}))},e.prototype.addNlsMap=function(e){for(var t in e)this.nlsMap[t]=e[t]},e.prototype.addHelpMap=function(e){for(var t in e)this.helpMap[t]=e[t]},e.prototype.getMessage=function(e,t,i){var a=e.indexOf("$$");if(a>=0&&(e=e.substring(0,a)),!(e in this.nlsMap))return e;var l=this.nlsMap[e][t||0];return l?l.replace(/\{(\d+)\}/g,(function(e,t,a){return i[t]})):e+"_"+t},e.prototype.getHelp=function(e,t,i){return i||(i="latest"),"".concat(n.Config.helpRoot,"/").concat(i,"/doc").concat(this.getHelpRel(e,t))},e.prototype.getHelpRel=function(e,t){var i=e.indexOf("$$");return i>=0&&(e=e.substring(0,i)),e in this.helpMap?((t=t||0)in this.helpMap[e]?this.helpMap[e][t||0]:this.helpMap[e][0])||e+"_"+t:e},e.prototype.addMapper=function(e){this.mappers[e.getNamespace()]=e},e.match=function(e,t){var i=e.parsedInfo.contextInfo,a=i.length-1,l=i[a].namespace,n=t[l][t[l].length-1],r=n.node;if(!i[a].matches(t,t[l].length-1))return!1;if(1===i.length)return!0;if(n=t[l=i[0].namespace][t[l].length-1],--a,i.slice(0,i.length-1).some((function(e){return e.namespace!==l})))return console.error("[ERROR] Rule ".concat(e.rule.id," has inconsitent parent namespaces")),!1;for(var o=t[l].length-(n.node.isSameNode(r)?2:1);o>=0&&a>=0;){var s=i[a],u=i[a].matches(t,o);if(">"===s.connector){if(!u)return!1;--a,--o}else{if(" "!==s.connector)throw new Error("Context connector "+s.connector+" is not supported");if(s.inclusive)u&&--a,--o;else{if(!u)return!1;for(var d=!1,c=o-1;!d&&c>=0;--c)d=!i[a].matches(t,c);if(d)return!1;--a}}}return-1===a},e.prototype.getMatchingRules=function(t){var i=[];function a(a){for(var l=0,n=a;l<n.length;l++){var r=n[l];r.rule.enabled&&e.match(r,t)&&i.push(r)}}for(var l in t){var n=l+":"+(t[l].length>0?t[l][t[l].length-1].role:"none");for(var r in n in this.inclRules&&a(this.inclRules[n]),this.exclRules)r!==n&&a(this.exclRules[r]);n!==l+":none"&&(n.startsWith(l+":/")?l+":/*"in this.inclRules&&a(this.inclRules[l+":/*"]):l+":*"in this.inclRules&&a(this.inclRules[l+":*"]))}return this.sortDeps(i)},e.prototype.sortDeps=function(e){for(var t=[],i=0,a=e;i<a.length;i++){var l=a[i];t.push(l)}var n=[],r={},o=!1;do{o=!1;for(var s=0;s<t.length;++s){var u=t[s];if(!(u.rule.id in r)){var d=!0;if(u.rule.dependencies&&u.rule.dependencies.length>0)for(var c=0,m=u.rule.dependencies;c<m.length;c++)m[c]in r||(d=!1);d&&(o=!0,n.push(u),r[u.rule.id]=!0,t.splice(s--,1))}}}while(o);return n},e}();t.Engine=m},4516:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Config=void 0;var i=function(){function e(){}return e.DEBUG=!1,e.helpRoot="https://able.ibm.com/rules/archives",e}();t.Config=i},7507:function(e,t,i){var a,l=this&&this.__extends||(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},a(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.DOMMapper=void 0;var n=i(3103),r=i(4566),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.getRole=function(e){return e.nodeName.toLowerCase()},t.prototype.getNamespace=function(){return"dom"},t.prototype.getAttributes=function(e){var t={};if(1===e.nodeType)for(var i=e,a=0;a<i.attributes.length;++a){var l=i.attributes[a];t[l.name.toLowerCase()]=l.nodeValue}return t},t.prototype.getBounds=function(e){if(1!==e.nodeType)return null;var t=r.CacheUtil.getCache(e,"DOMMapper_Bounds",void 0);if(void 0===t){var i=1;e.ownerDocument&&e.ownerDocument.defaultView&&e.ownerDocument.defaultView.devicePixelRatio&&(i=e.ownerDocument.defaultView.devicePixelRatio);var a=e.getBoundingClientRect();if(a){var l=e&&e.ownerDocument&&e.ownerDocument.defaultView&&e.ownerDocument.defaultView.scrollX||0,n=e&&e.ownerDocument&&e.ownerDocument.defaultView&&e.ownerDocument.defaultView.scrollY||0,o={left:Math.ceil((a.left+l)*i),top:Math.ceil((a.top+n)*i),height:Math.ceil(a.height*i),width:Math.ceil(a.width*i)};return r.CacheUtil.setCache(e,"DOMMapper_Bounds",o),o}return null}return t},t.prototype.getUnadjustedBounds=function(e){if(1!==e.nodeType)return null;var t=r.CacheUtil.getCache(e,"DOMMapper_UnadjustedBounds",void 0);if(void 0===t){var i=e.getBoundingClientRect();if(i){var a=e&&e.ownerDocument&&e.ownerDocument.defaultView&&e.ownerDocument.defaultView.scrollX||0,l=e&&e.ownerDocument&&e.ownerDocument.defaultView&&e.ownerDocument.defaultView.scrollY||0,n={left:Math.ceil(i.left+a),top:Math.ceil(i.top+l),height:Math.ceil(i.height),width:Math.ceil(i.width)};return r.CacheUtil.setCache(e,"DOMMapper_UnadjustedBounds",n),n}return null}return t},t}(n.CommonMapper);t.DOMMapper=o},1686:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DOMUtil=void 0;var a=i(3864),l=function(){function e(){}return e.hasParent=function(e,t){for(var i=a.DOMWalker.parentElement(e);i&&!t.includes(i.nodeName);)i=a.DOMWalker.parentElement(i);return!!i},e.getAncestor=function(e,t){for(var i=a.DOMWalker.parentElement(e);i&&!t.includes(i.nodeName.toLowerCase());)i=a.DOMWalker.parentElement(i);return i},e.sameNode=function(e,t){return e===t||(e.isSameNode?e.isSameNode(t):!e.compareDocumentPosition||0===e.compareDocumentPosition(t))},e.cleanWhitespace=function(e){return e.replace(/[ \t\r\n]/g," ").replace(/ +/g," ")},e.cleanSpace=function(e){return e.replace(/ +/g," ")},e.isInSameTable=function(t,i){if(t&&i){var a=["table"],l=e.getAncestor(t,a),n=e.getAncestor(i,a);if(null!==l&&null!=n&&e.sameNode(l,n))return!0}return!1},e.shadowRootNode=function(e){for(var t=e;null!=t&&11!==t.nodeType;)t=t.parentNode;return t},e.objectCopyWithNodeRefs=function(e){if(!e)return e;if("object"!=typeof e)return"function"==typeof e?e:JSON.parse(JSON.stringify(e));if(e instanceof Node||e.nodeType)return e;var t=void 0;if("Array"===e.constructor.name){t=[];for(var i=0,a=e;i<a.length;i++){var l=a[i];t.push(this.objectCopyWithNodeRefs(l))}}else for(var n in t={},e)t[n]=this.objectCopyWithNodeRefs(e[n]);return t},e.getAncestorWithAttribute=function(e,t,i){for(var l=a.DOMWalker.parentNode(e);null!==l;){if(1===l.nodeType&&l.getAttribute(t)===i)return l;l=a.DOMWalker.parentNode(l)}return null},e}();t.DOMUtil=l},3864:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DOMWalker=void 0;var a=i(3946),l=function(){function e(e,t,i,a,l){this.DEBUGIDX=0,this.indent=0,this.DEBUG=!!l,this.root=i||(e&&e.ownerDocument?e.ownerDocument.documentElement:e),9===this.root.nodeType&&(this.root=this.root.documentElement),this.node=e,9===this.node.nodeType&&(this.node=this.node.documentElement),this.bEndTag=null!=t&&1==t,this.considerHidden=a||!1}return e.prototype.elem=function(){return 1===this.node.nodeType&&this.node||null},e.parentNode=function(e){if(null===e)return null;var t=e.parentNode;return e.slotOwner?t=e.slotOwner:e.ownerElement?t=e.ownerElement:t&&11===t.nodeType&&(t=t.host?t.host:null),t},e.parentElement=function(t){var i=t;do{i=e.parentNode(i)}while(i&&1!==i.nodeType);return i},e.assignSlots=function(e){for(var t=e.querySelectorAll("slot"),i=0;i<t.length;++i)for(var a=t[i],l=a.assignedNodes(),n=0;n<l.length;++n)l[n].slotOwner=a,l[n].slotIndex=n},e.prototype.atRoot=function(){return!this.ownerElement&&(this.root===this.node||(this.root.isSameNode?this.root.isSameNode(this.node):this.root.compareDocumentPosition?0===this.root.compareDocumentPosition(this.node):null===this.node.parentNode))},e.prototype.nextNode=function(){var t=this,i=this.node.nodeName;if(!this.node)return this.bEndTag=!1,!1;do{if(this.bEndTag){if(this.atRoot())return!1;if(this.node.slotOwner){var l=this.node.slotOwner,n=this.node.slotIndex+1;n<l.assignedNodes().length?(this.node=l.assignedNodes()[n],this.bEndTag=!1):(this.node=l,this.bEndTag=!0)}else if(this.node.ownerElement)this.node=this.node.ownerElement,this.bEndTag=!0;else if(this.node.nextSibling)this.node=this.node.nextSibling,this.bEndTag=!1;else{if(!this.node.parentNode)return!1;this.node=this.node.parentNode,this.bEndTag=!0}}else{var r=this.node,o=this.node,s=this.node;if(1===this.node.nodeType&&"IFRAME"===this.node.nodeName.toUpperCase()&&(!this.considerHidden||a.VisUtil.isNodeVisible(r))&&r.contentDocument&&r.contentDocument.documentElement){var u=this.node;this.node=r.contentDocument.documentElement,this.node.ownerElement=u}else 1===this.node.nodeType&&(!this.considerHidden||a.VisUtil.isNodeVisible(o))&&o.shadowRoot&&o.shadowRoot.firstChild?(u=this.node,this.node=o.shadowRoot,this.node.ownerElement=u,e.assignSlots(this.node)):1===this.node.nodeType&&"slot"===o.nodeName.toLowerCase()&&s.assignedNodes().length>0?this.node=s.assignedNodes()[0]:1!==this.node.nodeType&&11!==this.node.nodeType||!this.node.firstChild||this.node.firstChild.slotOwner?this.bEndTag=!0:this.node=this.node.firstChild}}while(1!==this.node.nodeType&&11!==this.node.nodeType&&3!==this.node.nodeType||1===this.node.nodeType&&"ACE"===this.node.getAttribute("aChecker"));var d=function(){for(var e="",i=0;i<t.indent;++i)e+=" ";return e};return this.bEndTag&&(this.indent-=2),this.DEBUG&&console.log(d()+"<".concat(this.bEndTag?"/":"").concat(this.node.nodeName,"> (from ").concat(i,") ").concat(this.DEBUGIDX++)),this.DEBUG&&this.node.slotOwner&&console.log(d()+"slotOwner: ".concat(this.node.slotOwner.nodeName)),this.DEBUG&&this.node.slotIndex&&console.log(d()+"slotIndex: ".concat(this.node.slotIndex)),this.DEBUG&&this.node.ownerElement&&console.log(d()+"ownerElement: ".concat(this.node.ownerElement.nodeName)),this.bEndTag||(this.indent+=2),!0},e.prototype.prevNode=function(){do{if(this.bEndTag){var t=this.node,i=this.node;if(1===this.node.nodeType&&"IFRAME"===this.node.nodeName.toUpperCase()&&(!this.considerHidden||a.VisUtil.isNodeVisible(t))&&t.contentDocument&&t.contentDocument.documentElement){var l=this.node;this.node=t.contentDocument.documentElement,this.node.ownerElement=l}else 1===this.node.nodeType&&(!this.considerHidden||a.VisUtil.isNodeVisible(i))&&i.shadowRoot&&i.shadowRoot.lastChild?(l=this.node,this.node=i.shadowRoot,this.node.ownerElement=l,e.assignSlots(this.node)):1!==this.node.nodeType&&11!==this.node.nodeType||!this.node.lastChild||this.node.lastChild.slotOwner?this.bEndTag=!1:this.node=this.node.lastChild}else{if(this.atRoot())return!1;if(this.node.previousSibling)this.node=this.node.previousSibling,this.bEndTag=!0;else if(this.node.ownerElement)this.node=this.node.ownerElement,this.bEndTag=!1;else{if(!this.node.parentNode)return!1;this.node=this.node.parentNode,this.bEndTag=!1}}}while(1!==this.node.nodeType&&11!==this.node.nodeType||1===this.node.nodeType&&"ACE"===this.node.getAttribute("aChecker"));return!0},e}();t.DOMWalker=l},4551:function(e,t,i){var a,l=this&&this.__extends||(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},a(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.StyleMapper=void 0;var n=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.getRole=function(e){return"computed"},t.prototype.getNamespace=function(){return"css"},t.prototype.getAttributes=function(e){var t={};if(1===e.nodeType)for(var i=e,a=i.ownerDocument.defaultView.getComputedStyle(i),l=0;l<a.length;++l){var n=a[l].toLowerCase();t[n]=a[n]}return t},t}(i(3103).CommonMapper);t.StyleMapper=n},8601:(e,t)=>{var i,a,l;Object.defineProperty(t,"__esModule",{value:!0}),t.eGuidelineType=t.eGuidelineCategory=t.eToolkitLevel=void 0,(l=t.eToolkitLevel||(t.eToolkitLevel={})).LEVEL_ONE="1",l.LEVEL_TWO="2",l.LEVEL_THREE="3",l.LEVEL_FOUR="4",(a=t.eGuidelineCategory||(t.eGuidelineCategory={})).ACCESSIBILITY="Accessibility",a.DESIGN="Design",a.OTHER="Other",(i=t.eGuidelineType||(t.eGuidelineType={})).DEFAULT="default",i.EXTENSION="extension"},461:(e,t,i)=>{var a,l;Object.defineProperty(t,"__esModule",{value:!0}),t.eRulesetType=t.eRuleCategory=t.eToolkitLevel=t.RuleManual=t.RulePotential=t.RuleFail=t.RuleRender=t.RulePass=t.eRulePolicy=t.eRuleConfidence=void 0,function(e){e.PASS="PASS",e.FAIL="FAIL",e.POTENTIAL="POTENTIAL",e.MANUAL="MANUAL"}(a=t.eRuleConfidence||(t.eRuleConfidence={})),function(e){e.VIOLATION="VIOLATION",e.RECOMMENDATION="RECOMMENDATION",e.INFORMATION="INFORMATION"}(l=t.eRulePolicy||(t.eRulePolicy={})),t.RulePass=function(e,t,i){if(null==e)throw new Error("Reason ID must be defined");return{value:[l.INFORMATION,a.PASS],reasonId:e,messageArgs:t||[],apiArgs:i||[]}},t.RuleRender=function(e,t,i){if(null==e)throw new Error("Reason ID must be defined");return{value:[l.INFORMATION,a.PASS],reasonId:0,messageArgs:t||[],apiArgs:i||[]}},t.RuleFail=function(e,t,i){if(null==e)throw new Error("Reason ID must be defined");return{value:[l.INFORMATION,a.FAIL],reasonId:e,messageArgs:t||[],apiArgs:i||[]}},t.RulePotential=function(e,t,i){if(null==e)throw new Error("Reason ID must be defined");return{value:[l.INFORMATION,a.POTENTIAL],reasonId:e,messageArgs:t||[],apiArgs:i||[]}},t.RuleManual=function(e,t,i){if(null==e)throw new Error("Reason ID must be defined");return{value:[l.INFORMATION,a.MANUAL],reasonId:e,messageArgs:t||[],apiArgs:i||[]}};var n=i(8601);Object.defineProperty(t,"eToolkitLevel",{enumerable:!0,get:function(){return n.eToolkitLevel}});var r=i(8601);Object.defineProperty(t,"eRuleCategory",{enumerable:!0,get:function(){return r.eGuidelineCategory}});var o=i(8601);Object.defineProperty(t,"eRulesetType",{enumerable:!0,get:function(){return o.eGuidelineType}})},7412:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Checker=void 0;var a=i(461),l=i(7301),n=i(9955),r=i(4551),o=i(6160),s=i(591),u=i(8601),d=[],c={},m={};!function(){var e=JSON.parse(JSON.stringify(l.Engine.getLanguages()));for(var t in e.push("en-US"),s){var i=s[t];d.push(i);for(var a=e.length-1;a>=0;--a){var n=e[a];if(n in i.messages&&(c[i.id]=i.messages[n],c[i.id][0]=c[i.id].group),n in i.help){for(var r in m[i.id]={},i.help[n])m[i.id][r]="/".concat(n,"/").concat(i.help[n][r]);c[i.id][0]=c[i.id].group}}for(var u=0,p=i.rulesets;u<p.length;u++)for(var h=p[u],_=0,b=o.a11yRulesets;_<b.length;_++){var g=b[_];if(("string"==typeof h.id?[h.id]:h.id).includes(g.id))for(var f=0,v=g.checkpoints;f<v.length;f++){var A=v[f];("string"==typeof h.num?[h.num]:h.num).includes(A.num)&&(A.rules=A.rules||[],A.rules.push({id:i.id,reasonCodes:h.reasonCodes,level:h.level,toolkitLevel:h.toolkitLevel}))}}}}();var p=function(){function e(){this.guidelines=[],this.rulesets=this.guidelines,this.rulesetIds=[],this.rulesetRules={},this.ruleLevels={},this.ruleReasonLevels={},this.ruleCategory={};var e=this.engine=new l.Engine;e.addMapper(new n.ARIAMapper),e.addMapper(new r.StyleMapper),e.addRules(d),e.addNlsMap(c),e.addHelpMap(m);for(var t=0,i=o.a11yRulesets;t<i.length;t++){var a=i[t];this.addRuleset(a)}}return e.prototype.addGuideline=function(e){e.id in this.rulesetRules&&this.removeGuideline(e.id),this.guidelines.push(e),this.rulesetIds.push(e.id);for(var t=[],i=0,a=e.checkpoints;i<a.length;i++){var l=a[i];l.rules=l.rules||[];for(var n=0,r=l.rules;n<r.length;n++){var o=r[n];if(!1!==o.enabled){t.push(o.id),this.ruleReasonLevels[o.id]=this.ruleReasonLevels[o.id]||{},this.ruleReasonLevels[o.id][e.id]=this.ruleReasonLevels[o.id][e.id]||{};var s=o.reasonCodes?o.reasonCodes.join("--"):"None";this.ruleReasonLevels[o.id][e.id][s]=o.level,this.ruleCategory[o.id]=this.ruleCategory[o.id]||{},this.ruleCategory[o.id][e.id]=e.category}}}this.rulesetRules[e.id]=t},e.prototype.enableRule=function(e){for(var t=0,i=this.getGuidelines();t<i.length;t++){for(var a=i[t],l=!1,n=0,r=a.checkpoints;n<r.length;n++)for(var o=0,s=r[n].rules;o<s.length;o++){var u=s[o];!1===u.enabled&&(l=!0,delete u.enabled)}l&&this.addGuideline(a)}},e.prototype.disableRule=function(e){for(var t=0,i=this.getGuidelines();t<i.length;t++){for(var a=i[t],l=!1,n=0,r=a.checkpoints;n<r.length;n++)for(var o=0,s=r[n].rules;o<s.length;o++){var u=s[o];!1!==u.enabled&&(l=!0,u.enabled=!1)}l&&this.addGuideline(a)}},e.prototype.removeGuideline=function(e){e in this.rulesetRules&&(delete this.rulesetRules[e],this.rulesets=this.guidelines=this.guidelines.filter((function(t){return t.id!==e})),this.rulesetIds=this.getGuidelineIds())},e.prototype.getGuidelines=function(){return JSON.parse(JSON.stringify(this.guidelines))},e.prototype.getGuidelineIds=function(){return this.guidelines.map((function(e){return e.id}))},e.prototype.addRuleset=function(e){this.addGuideline(e)},e.prototype.check=function(e,t){var i=[];if(t){"string"==typeof t&&(t=[t]);for(var a=0,l=t;a<l.length;a++){var n=l[a];n in this.rulesetRules&&(i=i.concat(this.rulesetRules[n]))}}else i=this.engine.getRulesIds();this.engine.enableRules(i);var r=this;return this.engine.run(e).then((function(e){e.nls={};for(var i=0,a=e.results;i<a.length;i++){var l=a[i];l.ruleId in c&&(e.nls[l.ruleId]=e.nls[l.ruleId]||{0:c[l.ruleId][0]},l.reasonId in c[l.ruleId]&&(e.nls[l.ruleId][l.reasonId]=c[l.ruleId][l.reasonId]));var n=l.reasonId?l.reasonId:"None";l.value[0]=r.getReasonLevel(t,l.ruleId,n),l.category=r.getCategory(t,l.ruleId),delete l.path.css}return e}))},e.prototype.getLevel=function(e,t){if(!e)return a.eRulePolicy.INFORMATION;var i=this.ruleLevels[t],l=null;if(e){if(!(t in this.ruleLevels))throw new Error("Rule triggered for which we have no rule level information: "+t);for(var n=0,r=e;n<r.length;n++){var o=r[n];o in i&&(i[o]===a.eRulePolicy.VIOLATION?l=a.eRulePolicy.VIOLATION:i[o]===a.eRulePolicy.RECOMMENDATION&&null===l?l=a.eRulePolicy.RECOMMENDATION:null===l&&(l=a.eRulePolicy.INFORMATION))}}if(null===l)throw new Error("Rule triggered for which we have no rule level information: "+t);return l},e.prototype.getReasonLevel=function(e,t,i){if(!e)return a.eRulePolicy.INFORMATION;var l=this.ruleReasonLevels[t],n=null;if(e){if(!(t in this.ruleReasonLevels))throw new Error("Rule triggered for which we have no rule level information "+t);for(var r=function(e){e in l&&Object.keys(l[e]).forEach((function(t){var r=null,o=new RegExp("(^|--)".concat(i,"($|--)"));"None"===t?r=l[e].None:o.test(t)&&(r=l[e][t]),r===a.eRulePolicy.VIOLATION?n=a.eRulePolicy.VIOLATION:r===a.eRulePolicy.RECOMMENDATION&&null===n?n=a.eRulePolicy.RECOMMENDATION:null===n&&(n=a.eRulePolicy.INFORMATION)}))},o=0,s=e;o<s.length;o++)r(s[o])}if(null===n)throw new Error("Rule triggered for which we have no rule level information: "+t);return n},e.prototype.getCategory=function(e,t){var i=this.ruleCategory[t];if(!(t in this.ruleCategory))return u.eGuidelineCategory.OTHER;e||(e=this.getGuidelineIds());for(var a=0,l=e;a<l.length;a++){var n=l[a];if(n in i)return i[n]}return u.eGuidelineCategory.OTHER},e}();t.Checker=p},2297:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.a_target_warning=void 0;var a=i(7139),l=i(3946),n=i(461),r=i(461);t.a_target_warning={id:"a_target_warning",context:"dom:a[target],dom:area[target],dom:base[target]",refactor:{WCAG20_A_TargetAndText:{Pass_0:"pass",Potential_1:"potential_warn"}},help:{"en-US":{group:"a_target_warning.html",pass:"a_target_warning.html",potential_warn:"a_target_warning.html"}},messages:{"en-US":{group:"Users should be warned in advance if their input action will open a new window",pass:"The user is warned in advance that the input action opens a new window",potential_warn:"Inform the user when their input action will open a new window"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"3.2.2",level:r.eRulePolicy.RECOMMENDATION,toolkitLevel:r.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var r=e.dom.node;if(l.VisUtil.isNodeHiddenFromAT(r)&&!a.CommonUtil.isTabbable(r))return null;var o={paramWinText:{value:["new window","new tab"],type:"array"}},s=r.getAttribute("target"),u="_parent"==s||"_self"==s||"_top"==s||null!=a.CommonUtil.getFrameByName(r,s);if(!u){var d=a.CommonUtil.getInnerText(r);r.hasAttribute("title")&&(d+=" "+r.getAttribute("title"));for(var c=0;!u&&c<o.paramWinText.value.length;++c)-1!=d.indexOf(o.paramWinText.value[c])&&(u=!0)}return u?(0,n.RulePass)("pass"):(0,n.RulePotential)("potential_warn")}}},4401:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.a_text_purpose=void 0;var a=i(461),l=i(7139),n=i(3946),r=i(461),o=i(1950);t.a_text_purpose={id:"a_text_purpose",context:"aria:link,aria:doc-biblioref",refactor:{WCAG20_A_HasText:{Pass_0:"pass",Fail_1:"fail_acc_name"}},help:{"en-US":{group:"a_text_purpose.html",pass:"a_text_purpose.html",fail_acc_name:"a_text_purpose.html"}},messages:{"en-US":{group:"Hyperlinks must have an accessible name for their purpose",pass:"Hyperlink has a description of its purpose",fail_acc_name:"Hyperlink has no link text, label or image with a text alternative"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:["2.4.4","4.1.2"],level:r.eRulePolicy.VIOLATION,toolkitLevel:r.eToolkitLevel.LEVEL_TWO}],act:"c487ae",run:function(e,t){var i=e.dom.node;if(n.VisUtil.isNodeHiddenFromAT(i)||l.CommonUtil.isNodeDisabled(i))return null;var r=o.AccNameUtil.computeAccessibleName(i);return r&&r.name&&r.name.trim().length>0||l.CommonUtil.nonTabableChildCheck(i)?(0,a.RulePass)("pass"):(0,a.RuleFail)("fail_acc_name")}}},4546:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.applet_alt_exists=void 0;var a=i(7139),l=i(3946),n=i(461),r=i(461);t.applet_alt_exists={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:"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":{group:"<applet> elements must provide an 'alt' attribute and an alternative description",Pass_0:"Rule Passed",Fail_1:"An <applet> element does not have an 'alt' attribute that provides a short text alternative",Fail_2:"The 'alt' attribute value for an <applet> element duplicates the 'code' attribute",Fail_3:"An <applet> element provides alternative text, but does not provide inner content"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"1.1.1",level:r.eRulePolicy.VIOLATION,toolkitLevel:r.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var r=e.dom.node;if(l.VisUtil.isNodeHiddenFromAT(r))return null;if(a.CommonUtil.attributeNonEmpty(r,"alt")){var o=r.getAttribute("alt").trim();return r.hasAttribute("code")&&o==r.getAttribute("code").trim()?(0,n.RuleFail)("Fail_2"):a.CommonUtil.hasInnerContentHidden(r)?(0,n.RulePass)("Pass_0"):(0,n.RuleFail)("Fail_3")}return(0,n.RuleFail)("Fail_1")}}},9292:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.application_content_accessible=void 0;var a=i(7011),l=i(3946),n=i(461),r=i(461);t.application_content_accessible={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:"application_content_accessible.html",Pass_0:"application_content_accessible.html",Potential_1:"application_content_accessible.html"}},messages:{"en-US":{group:'Non-decorative static text and image content within an element with "application" role must be accessible',Pass_0:"Rule Passed",Potential_1:'Verify that the non-decorative static text and image content within an element with "application" role are accessible'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:["1.1.1","2.1.1"],level:r.eRulePolicy.VIOLATION,toolkitLevel:r.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){for(var r=!0,o=e.dom.node.childNodes,s=0;r&&s<o.length;s++)1===o[s].nodeType?l.VisUtil.isNodeVisible(o[s])&&(r=a.AriaUtil.hasRoleInSemantics(o[s],"document")||a.AriaUtil.hasRoleInSemantics(o[s],"article")):3===o[s].nodeType&&(r=0===o[s].nodeValue.trim().length);return r?(0,n.RulePass)("Pass_0"):(0,n.RulePotential)("Potential_1")}}},9605:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.area_alt_exists=void 0;var a=i(7139),l=i(3946),n=i(461),r=i(461);t.area_alt_exists={id:"area_alt_exists",context:"dom:area",refactor:{WCAG20_Area_HasAlt:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{group:"area_alt_exists.html",Pass_0:"area_alt_exists.html",Fail_1:"area_alt_exists.html"}},messages:{"en-US":{group:"<area> elements in an image map must have a text alternative",Pass_0:"Rule Passed",Fail_1:"<area> element in an image map has no text alternative"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"1.1.1",level:r.eRulePolicy.VIOLATION,toolkitLevel:r.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var r=e.dom.node;return l.VisUtil.isNodeHiddenFromAT(r)?null:a.CommonUtil.attributeNonEmpty(r,"alt")?(0,n.RulePass)("Pass_0"):(0,n.RuleFail)("Fail_1")}}},3987:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_accessiblename_exists=void 0;var a=i(461),l=i(461),n=i(7011),r=i(3946),o=i(1950);t.aria_accessiblename_exists={id:"aria_accessiblename_exists",context:"aria:columnheader, aria:form, aria:heading, aria:rowheader, aria:table, aria:graphics-document,aria:graphics-symbol, aria:img,aria:image, doc-backlink, doc-biblioentry, doc-biblioref, doc-glossref, doc-noteref, doc-pagebreak, doc-example",help:{"en-US":{pass:"aria_accessiblename_exists.html",fail_no_accessible_name:"aria_accessiblename_exists.html",group:"aria_accessiblename_exists.html"}},messages:{"en-US":{pass:"An accessible name is provided for the element",fail_no_accessible_name:'Element <{0}> with "{1}" role has no accessible name',group:"Elements with certain roles should have accessible names"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;var s=l.nodeName.toLocaleLowerCase();if("svg"!==s){if("table"===s&&l.firstElementChild&&"caption"===l.firstElementChild.nodeName.toLowerCase()&&l.firstElementChild.textContent&&l.firstElementChild.textContent.trim().length>0)return(0,a.RulePass)("pass");var u=n.AriaUtil.getRolesUndefinedByAria(l);if(u&&u.length>0)return null;var d=n.AriaUtil.getDeprecatedAriaRoles(l);if(d&&d.length>0)return null;var c=n.AriaUtil.getDeprecatedAriaAttributes(l);if(c&&c.length>0)return null;var m=n.AriaUtil.getResolvedRole(l),p=o.AccNameUtil.computeAccessibleName(l);return p&&p.name&&0!==p.name.trim().length?(0,a.RulePass)("pass"):(0,a.RuleFail)("fail_no_accessible_name",[l.nodeName.toLowerCase(),m])}}}},8631:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_activedescendant_tabindex_valid=void 0;var a=i(461),l=i(461),n=i(7139);t.aria_activedescendant_tabindex_valid={id:"aria_activedescendant_tabindex_valid",context:"dom:*[aria-activedescendant]",refactor:{Rpt_Aria_InvalidTabindexForActivedescendant:{pass:"pass",Fail_1:"Fail_1"}},help:{"en-US":{pass:"aria_activedescendant_tabindex_valid.html",Fail_1:"aria_activedescendant_tabindex_valid.html",group:"aria_activedescendant_tabindex_valid.html"}},messages:{"en-US":{pass:"Rule Passed",Fail_1:"The <{0}> element using 'aria-activedescendant' set to \"{1}\" is not tabbable",group:"Element using 'aria-activedescendant' property should be tabbable"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,r=!1,o=l.nodeName.toLowerCase();if(l.hasAttribute("class")&&"mbl"==l.getAttribute("class").substring(0,3))return null;if(n.CommonUtil.isNodeDisabled(l))return null;if(0!==l.getAttribute("aria-activedescendant").trim().length){(r=n.CommonUtil.isTabbable(l))||(r=n.CommonUtil.getTabbableChildren(l)>0);var s=new Array;s.push(o);var u=new Array;return u.push(l.getAttribute("aria-activedescendant").split(" ").join(", ")),r?(0,a.RulePass)("pass"):(0,a.RuleFail)("Fail_1",[s.toString(),u.toString()])}}}},8025:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_activedescendant_valid=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(5279),s=i(3946),u=i(1686);t.aria_activedescendant_valid={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"}},help:{"en-US":{Pass_0:"aria_activedescendant_valid.html",Fail_1:"aria_activedescendant_valid.html",Fail_2:"aria_activedescendant_valid.html",Fail_3:"aria_activedescendant_valid.html",group:"aria_activedescendant_valid.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"The 'aria-activedescendant' property is empty",Fail_2:"The 'aria-activedescendant' property references a hidden node",Fail_3:"Element is not a combobox, and the referenced active-descendant element is not a valid descendant",group:"The 'aria-activedescendant' property must reference the 'id' of a non-empty, non-hidden active child element"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(n.AriaUtil.hasRoleInSemantics(l,"combobox"))return null;var d=n.AriaUtil.getAriaAttribute(l,"aria-activedescendant");if(!d||""===d.trim())return(0,a.RuleFail)("Fail_1");var c=o.FragmentUtil.getById(l,d.trim());if(!c||u.DOMUtil.sameNode(d,l))return null;if(!s.VisUtil.isNodeVisible(c))return(0,a.RuleFail)("Fail_2");if(l.contains(c))return(0,a.RulePass)("Pass_0");var m=2;if(l.hasAttribute("aria-owns"))for(var p=r.CommonUtil.normalizeSpacing(l.getAttribute("aria-owns").trim()).split(" "),h=0;h<p.length;h++)if((v=o.FragmentUtil.getById(l,p[h]))&&!u.DOMUtil.sameNode(v,l)&&v.contains(c))return(0,a.RulePass)("Pass_0");if(n.AriaUtil.hasRoleInSemantics(l,"textbox")&&l.hasAttribute("aria-controls")){m=3;var _=r.CommonUtil.normalizeSpacing(l.getAttribute("aria-controls").trim()).split(" ");for(h=0;h<_.length;h++){var b=o.FragmentUtil.getById(l,_[h]);if(b&&!u.DOMUtil.sameNode(b,l)&&b.contains(c))return(0,a.RulePass)("Pass_0");if(b.hasAttribute("aria-owns"))for(var g=r.CommonUtil.normalizeSpacing(b.getAttribute("aria-owns").trim()).split(" "),f=0;f<g.length;f++){var v;if((v=o.FragmentUtil.getById(l,g[f]))&&!u.DOMUtil.sameNode(v,l)&&v.contains(c))return(0,a.RulePass)("Pass_0")}}}return 3==m?(0,a.RuleFail)("Fail_3"):null}}},1198:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_application_label_unique=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(4566);t.aria_application_label_unique={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:"aria_application_label_unique.html",Fail_1:"aria_application_label_unique.html",group:"aria_application_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "application" role do not have unique labels',group:'Each element with "application" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"application",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_application_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_application_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""!==d&&(!(d in u)||u[d]<=1)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}}},8001:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_application_labelled=void 0;var a=i(461),l=i(461),n=i(1950),r=i(3946);t.aria_application_labelled={id:"aria_application_labelled",context:"aria:application",refactor:{Rpt_Aria_ApplicationLandmarkLabel:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"aria_application_labelled.html",Fail_1:"aria_application_labelled.html",group:"aria_application_labelled.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Element with "application" role does not have a label',group:'Each element with "application" role must have a label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;return r.VisUtil.isNodeHiddenFromAT(l)?null:n.AccNameUtil.computeAccessibleName(l)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},5778:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_article_label_unique=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(4566);t.aria_article_label_unique={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:"aria_article_label_unique.html",Fail_1:"aria_article_label_unique.html",group:"aria_article_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "article" role do not have unique labels',group:'Each element with "article" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"article",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_article_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_article_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""===d||!(d in u)||u[d]<=1?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}}},8118:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_attribute_allowed=void 0;var a=i(461),l=i(461),n=i(9910),r=i(7011);t.aria_attribute_allowed={id:"aria_attribute_allowed",context:"dom:*",refactor:{Rpt_Aria_ValidProperty:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{group:"aria_attribute_allowed.html",Pass_0:"aria_attribute_allowed.html",Fail_1:"aria_attribute_allowed.html"}},messages:{"en-US":{group:"ARIA attributes must be valid for the element's role",Pass_0:"Rule Passed",Fail_1:"The attribute(s) '{0}' referenced by the element <{1}> is not a valid ARIA state or property"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"4.1.2",level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:"5f99a7",run:function(e,t,i){var l=e.dom.node,o=l.attributes;if(o){for(var s=n.ARIADefinitions.propertyDataTypes,u="",d=0,c=0,m=o.length;c<m;c++){var p=o[c].name;r.AriaUtil.isDefinedAriaAttribute(l,p)&&(d++,s[p]||(u=0==u.length?p:u+", "+p))}return 0==d?null:0!=u.length?(0,a.RuleFail)("Fail_1",[u,l.nodeName.toLowerCase()]):(0,a.RulePass)("Pass_0")}return null}}},2242:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_attribute_conflict=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139);t.aria_attribute_conflict={id:"aria_attribute_conflict",context:"dom:*[aria-required], dom:*[aria-autocomplete], dom:*[aria-readonly], dom:*[aria-disabled], dom:*[aria-placeholder], dom:*[aria-checked], dom:*[aria-hidden], dom:*[aria-valuemax], dom:*[aria-valuemin], dom:*[aria-colspan], dom:*[aria-rowspan]",help:{"en-US":{fail_conflict:"aria_attribute_conflict.html",group:"aria_attribute_conflict.html"}},messages:{"en-US":{fail_conflict:'The ARIA attribute "{0}" is in conflict with the corresponding HTML attribute "{1}"',group:"An ARIA attribute must not conflict with the corresponding HTML attribute"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,o=n.AriaUtil.getInvalidAriaAttributes(l);if(o&&o.length>0)return null;var s=[],u=n.AriaUtil.getUserDefinedAriaAttributes(l);if(!u||0===u.length)return null;for(var d=n.AriaUtil.getConflictAriaAndHtmlAttributes(l),c=0;c<d.length;c++)s.push((0,a.RuleFail)("fail_conflict",[d[c].ariaAttr,d[c].htmlAttr])),u.includes(d[c].ariaAttr)&&r.CommonUtil.reduceArrayItemList([d[c].ariaAttr],u);return s.length>0?s:null}}},3673:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_attribute_deprecated=void 0;var a=i(461),l=i(461),n=i(7011);t.aria_attribute_deprecated={id:"aria_attribute_deprecated",context:"dom:*",help:{"en-US":{fail_aria_role:"aria_attribute_deprecated.html",fail_aria_attr:"aria_attribute_deprecated.html",fail_role_attr:"aria_attribute_deprecated.html",group:"aria_attribute_deprecated.html"}},messages:{"en-US":{fail_aria_role:'The ARIA role "{0}" is deprecated in the ARIA specification',fail_aria_attr:'The ARIA attributes "{0}" are deprecated in the ARIA specification',fail_role_attr:'The ARIA attributes "{0}" are deprecated for the role "{1}" in the ARIA specification',group:"No deprecated ARIA role or attribute should be used"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next"],num:["ARIA"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,r=[],o=n.AriaUtil.getDeprecatedAriaRoles(l);if(o&&o.length>0)for(var s=0;s<o.length;s++)r.push((0,a.RuleFail)("fail_aria_role",[o[s]]));var u=n.AriaUtil.getDeprecatedAriaAttributes(l);if(u&&u.length>0)for(s=0;s<u.length;s++)"any"===u[s].role?r.push((0,a.RuleFail)("fail_aria_attr",[u[s].attribute])):r.push((0,a.RuleFail)("fail_role_attr",[u[s].attribute,u[s].role]));return r.length>0?r:null}}},5080:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_attribute_exists=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(9910),s=i(3946);t.aria_attribute_exists={id:"aria_attribute_exists",context:"dom:*[role]",dependencies:["aria_role_allowed"],refactor:{Rpt_Aria_EmptyPropertyValue:{pass:"pass",fail_empty_attribute:"fail_empty_attribute"}},help:{"en-US":{pass:"aria_attribute_exists.html",fail_empty_attribute:"aria_attribute_exists.html",group:"aria_attribute_exists.html"}},messages:{"en-US":{pass:"Rule Passed",fail_empty_attribute:"The element attribute(s): '{0}' value is empty",group:"When specifying a required ARIA attribute, the value must not be empty"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:["6a7281"],run:function(e,t,i){var l=e.dom.node;if(!s.VisUtil.isNodeHiddenFromAT(l)){var u=new Array,d=o.ARIADefinitions.designPatterns,c=r.CommonUtil.hasAttribute,m=0,p=n.AriaUtil.getResolvedRole(l);if(p){if(d[p]&&null!=n.AriaUtil.getRoleRequiredProperties(p,l))for(var h=n.AriaUtil.getRoleRequiredProperties(p,l),_=0,b=h.length;_<b;_++)c(l,y=h[_])?(m++,0==r.CommonUtil.normalizeSpacing(l.getAttribute(h[_])).length&&u.push(h[_])):"aria-labelledby"==h[_]?"radiogroup"==p&&c(l,"aria-label")&&(m++,0==r.CommonUtil.normalizeSpacing(l.getAttribute("aria-label")).length&&u.push("aria-label")):"aria-valuenow"==h[_]&&"progressbar"==p&&c(l,"aria-valuetext")&&(m++,0==r.CommonUtil.normalizeSpacing(l.getAttribute("aria-valuetext")).length&&u.push("aria-valuetext"));if(d[p]){var g=n.AriaUtil.getElementAriaProperty(l),f=[];f.push(p);for(var v=n.AriaUtil.getAllowedAriaAttributes(l,f,g),A=(_=0,v.length);_<A;_++){var y;"aria-checked"!=(y=v[_])&&"aria-selected"!=y&&"aria-expanded"!=y&&"aria-orientation"!=y&&"aria-level"!=y||c(l,y)&&(m++,0!=r.CommonUtil.normalizeSpacing(l.getAttribute(y)).length||u.includes(y)||u.push(y))}}var w=new Array,k=0==u.length;return w.push(u.join(", ")),0==m?null:k?(0,a.RulePass)("pass"):(0,a.RuleFail)("fail_empty_attribute",w)}}}}},183:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_attribute_redundant=void 0;var a=i(461),l=i(461),n=i(7011);t.aria_attribute_redundant={id:"aria_attribute_redundant",context:"dom:*[aria-required], dom:*[aria-autocomplete], dom:*[aria-readonly], dom:*[aria-disabled], dom:*[aria-placeholder], dom:*[aria-checked], dom:*[aria-hidden], dom:*[aria-valuemax], dom:*[aria-valuemin], dom:*[aria-colspan], dom:*[aria-rowspan]",help:{"en-US":{pass:"aria_attribute_redundant.html",fail_redundant:"aria_attribute_redundant.html",group:"aria_attribute_redundant.html"}},messages:{"en-US":{pass:"The ARIA attribute is not redundant with a corresponding HTML attribute",fail_redundant:'The ARIA attribute "{0}" is redundant with the HTML attribute "{1}"',group:"An ARIA attribute should not be redundant with a corresponding HTML attribute"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,r=n.AriaUtil.getInvalidAriaAttributes(l);if(r&&r.length>0)return null;var o=n.AriaUtil.getConflictAriaAndHtmlAttributes(l);if(o&&o.length>0)return null;var s=l.attributes,u=[],d=[];if(s)for(var c=0;c<s.length;c++){var m=s[c].name.trim().toLowerCase(),p=l.getAttribute(m);""===p&&(p=null),"aria-"===m.substring(0,5)?u.push({name:m,value:p}):d.push({name:m,value:p})}var h=[],_=function(e){var t=n.AriaUtil.getConflictOrOverlappingHtmlAttribute(u[e],d,"overlapping");if(null===t)return"continue";t.forEach((function(t){"Pass"===t.result?h.push((0,a.RulePass)("pass")):"Failed"===t.result&&h.push((0,a.RuleFail)("fail_redundant",[u[e].name,t.attr]))}))};for(c=0;c<u.length;c++)_(c);return h.length>0?h:null}}},6805:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_attribute_required=void 0;var a=i(9910),l=i(7011),n=i(7139),r=i(461),o=i(461);t.aria_attribute_required={id:"aria_attribute_required",context:"dom:*[role]",dependencies:["aria_role_allowed"],refactor:{Rpt_Aria_RequiredProperties:{Pass_0:"pass",Fail_1:"fail_missing"}},help:{"en-US":{group:"aria_attribute_required.html",pass:"aria_attribute_required.html",fail_missing:"aria_attribute_required.html"}},messages:{"en-US":{group:"The required attributes for the element with a role must be defined",pass:"The required attributes for the element with the role are defined",fail_missing:"Element with '{0}' role does not have the required ARIA attribute(s): '{1}'"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"4.1.2",level:o.eRulePolicy.VIOLATION,toolkitLevel:o.eToolkitLevel.LEVEL_ONE}],act:"4e8ab6",run:function(e,t,i){var o=e.dom.node,s=new Array,u=new Array,d=a.ARIADefinitions.designPatterns,c=n.CommonUtil.hasAttribute,m=l.AriaUtil.getElementAriaProperty(o),p=l.AriaUtil.getResolvedRole(o);if(p){var h=l.AriaUtil.getRoleRequiredProperties(p,o);if(d[p]&&null!==h){for(var _=l.AriaUtil.getAllowedAriaAttributes(o,p,m),b=!1,g=0,f=h.length;g<f;g++)_.includes(h[g])&&(c(o,h[g])||("aria-labelledby"==h[g]?c(o,"aria-label")&&"radiogroup"==p||(s.push(h[g]),b=!0):"aria-valuenow"==h[g]?c(o,"aria-valuetext")&&"progressbar"==p||(s.push(h[g]),b=!0):"aria-controls"==h[g]&&"combobox"==p||(s.push(h[g]),b=!0)));1==b&&u.push(p)}if(0==u.length||0==s.length)return(0,r.RulePass)("pass");var v=new Array;return v.push(u.join(", ")),v.push(s.join(", ")),(0,r.RuleFail)("fail_missing",v)}}}},1886:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_attribute_value_valid=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(9910);t.aria_attribute_value_valid={id:"aria_attribute_value_valid",context:"dom:*",dependencies:["aria_attribute_allowed"],refactor:{Rpt_Aria_ValidPropertyValue:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{group:"aria_attribute_value_valid.html",Pass_0:"aria_attribute_value_valid.html",Fail_1:"aria_attribute_value_valid.html"}},messages:{"en-US":{group:"ARIA property values must be valid",Pass_0:"Rule Passed",Fail_1:"The value \"{0}\" specified for attribute '{1}' on element <{2}> is not valid"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:"6a7281",run:function(e,t,i){var l=e.dom.node,s=new Array,u=new Array,d=new Array,c=o.ARIADefinitions.propertyDataTypes,m=l.attributes,p=0;if(m)for(var h=0,_=m.length;h<_;h++){var b=m[h].name;if(n.AriaUtil.isDefinedAriaAttribute(l,b)){var g=c[b],f=r.CommonUtil.normalizeSpacing(m[h].nodeValue);if(p++,g&&g.values){if(-1==g.values.indexOf(f))if(-1!=g.values.indexOf("undefined")&&0==f.length);else if("http://www.w3.org/2001/XMLSchema#nmtokens"===g.type){var v=m[h].nodeValue.trim().split(" ");if(v.length>1&&v.includes("all"))s.push(m[h].nodeValue.split(" ")),u.push(b),d.push(g.values.toString());else for(var A={},y=0;y<v.length;y++)""==v[y]||g.values.includes(v[y])||(A.hasOwnProperty(b)||(A[b]=!0,u.push(b)),s.push(v[y]),d.push(g.values.toString()))}else s.push(m[h].nodeValue.split(" ")),u.push(b),d.push(g.values.toString())}else if(g&&g.type&&"http://www.w3.org/2001/XMLSchema#int"===g.type){var w=parseInt(f);(isNaN(w)||""+w!==f)&&(s.push(f),u.push(b))}else if(g&&g.type&&"http://www.w3.org/2001/XMLSchema#decimal"==g.type){var k=parseFloat(f);isNaN(k)&&(s.push(f),u.push(b))}else if(g&&g.type&&"http://www.w3.org/2001/XMLSchema#boolean"==g.type){var C=f.trim().toLowerCase();"true"!==C&&"false"!==C&&(s.push(f),u.push(b))}else g&&g.type&&"http://www.w3.org/2001/XMLSchema#string"==g.type||p--}}var x=new Array,P=0==u.length;return x.push(s.join(", ")),x.push(u.join(", ")),x.push(l.nodeName.toLowerCase()),0==p?null:P?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",x)}}},4078:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_banner_label_unique=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(4566);t.aria_banner_label_unique={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:"aria_banner_label_unique.html",Fail_1:"aria_banner_label_unique.html",group:"aria_banner_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "banner" role do not have unique labels',group:'Each element with "banner" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"banner",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_banner_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_banner_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""!==d&&(!(d in u)||u[d]<=1)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}}},5750:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_banner_single=void 0;var a=i(461),l=i(461),n=i(7011);t.aria_banner_single={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:"aria_banner_single.html",Fail_1:"aria_banner_single.html",group:"aria_banner_single.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "banner" role found on the page',group:'A page, document, or application should only have one element with "banner" role'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;return n.AriaUtil.hasRoleInSemantics(l,"banner")?null===n.AriaUtil.getSiblingWithRoleHidden(l,"banner",!0,!0)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1"):null}}},85:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_child_tabbable=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(9910),s=i(3946);t.aria_child_tabbable={id:"aria_child_tabbable",context:"dom:*[role]",dependencies:["aria_role_allowed"],refactor:{Rpt_Aria_MissingFocusableChild:{pass:"pass",fail_missing_child:"fail_missing_child"}},help:{"en-US":{pass:"aria_child_tabbable.html",fail_missing_child:"aria_child_tabbable.html",group:"aria_child_tabbable.html"}},messages:{"en-US":{pass:"Rule Passed",fail_missing_child:'None of the descendent elements with "{1}" role is tabbable',group:"UI component must have at least one tabbable descendant for keyboard access"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(!(s.VisUtil.isNodeHiddenFromAT(l)||r.CommonUtil.isNodeDisabled(l)||n.AriaUtil.containsPresentationalChildrenOnly(l)||n.AriaUtil.shouldBePresentationalChild(l))){if(n.AriaUtil.hasRole(l,{list:!0,row:!0,rowgroup:!0,table:!0,grid:!0}))return null;if(l.hasAttribute("class")&&"mbl"==l.getAttribute("class").substring(0,3))return null;if("datalist"===l.nodeName.toLowerCase())return null;var u=l.getAttribute("role").trim().toLowerCase().split(/\s+/),d=l.getAttribute("id");if(d&&d.trim().length>0){var c=l.ownerDocument.querySelector("*[aria-controls='".concat(d,"'][aria-haspopup='true'], *[aria-controls='").concat(d,"'][aria-expanded='true']")),m=["combobox","listbox","menu","menubar","radiogroup","tree","treegrid"];if(c&&r.CommonUtil.isTabbable(c)&&u&&u.length>0&&u.some((function(e){return m.includes(e)})))return null}for(var p=!0,h=l.ownerDocument,_=r.CommonUtil.hasAttribute,b=new Array,g="",f=!1,v=0;v<u.length;++v)if(o.ARIADefinitions.containers.includes(u[v])&&"true"!=(_(l,"aria-disabled")?l.getAttribute("aria-disabled"):"")&&!_(l,"aria-activedescendant")&&!r.CommonUtil.isTabbable(l)){var A=o.ARIADefinitions.designPatterns[u[v]].reqChildren;if(A){f=!0,p=!1;for(var y="descendant::*[",w=0;w<A.length;w++)y+="@role='"+A[w]+"' or ";y=y.substring(0,y.length-4)+"]";for(var k=h.evaluate(y,l,r.CommonUtil.defaultNSResolver,0,null),C=k.iterateNext();C&&!p;)if(r.CommonUtil.shouldNodeBeSkippedHidden(C))C=k.iterateNext();else{if(!(p=r.CommonUtil.isTabbable(C)))for(var x=h.evaluate("descendant::*",C,r.CommonUtil.defaultNSResolver,0,null),P=x.iterateNext();P&&!p;)r.CommonUtil.shouldNodeBeSkippedHidden(P)||(p=r.CommonUtil.isTabbable(C)),P=x.iterateNext();p||(b=C.getAttribute("role").trim().split(" "),g=C.nodeName.toLowerCase()),C=k.iterateNext()}}}var R=new Array,T=new Array;return g.length>0&&b.length>0?(R.push(g),T.push(b.join(", "))):p=!0,f?p?(0,a.RulePass)("pass"):(0,a.RuleFail)("fail_missing_child",[R.toString(),T.toString()]):null}}}},514:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_child_valid=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(3946);t.aria_child_valid={id:"aria_child_valid",context:"dom:*",dependencies:["aria_role_valid","aria_descendant_valid"],help:{"en-US":{group:"aria_child_valid.html",Pass:"aria_child_valid.html",Fail_no_child:"aria_child_valid.html",Fail_invalid_child:"aria_child_valid.html"}},messages:{"en-US":{group:"An element with an ARIA role must own a required child",Pass:"An element with an ARIA role owns a required child",Fail_no_child:'The element with role "{0}" does not own any child element with any of the following role(s): "{1}"',Fail_invalid_child:'The element with role "{0}" owns the child element with the role "{1}" that is not one of the allowed role(s): "{2}"'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:["bc4a75"],run:function(e,t,i){var l=e.dom.node;if(!o.VisUtil.isNodeHiddenFromAT(l)&&!r.CommonUtil.isNodeDisabled(l)&&!n.AriaUtil.containsPresentationalChildrenOnly(l)){var s=n.AriaUtil.getRoles(l,!1);if(s&&0!==s.length||(s=n.AriaUtil.getImplicitRole(l)),!s||0===s.length)return null;var u=["none","presentation"];if(s.some((function(e){return u.includes(e)})))return null;if(s.includes("combobox"))return null;var d=n.AriaUtil.getRequiredChildRoles(l,!0);if(d.includes("group")){var c=d.indexOf("group");c>-1&&d.splice(c,1)}if(0==d.length)return null;var m=n.AriaUtil.getDirectATChildren(l);if(!m||0==m.length){var p=l.getAttribute("aria-busy");return p&&"true"===p?null:((v=new Array).push(s.join(", ")),v.push(d.join(", ")),(0,a.RuleFail)("Fail_no_child",v))}for(var h=new Array,_=0;_<m.length;_++){var b=n.AriaUtil.getRoles(m[_],!1);b&&0!=b.length||(b=n.AriaUtil.getImplicitRole(m[_])),b&&b.length>0&&(b.some((function(e){return d.includes(e)}))||h.push(b.join(", ")))}if(h.length>0){for(var g=[],f=0;f<h.length;f++){var v;(v=new Array).push(s.join(", ")),v.push(h[f]),v.push(d.join(", ")),g.push((0,a.RuleFail)("Fail_invalid_child",v))}return g}return(0,a.RulePass)("Pass")}}}},5310:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_complementary_label_unique=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(4566);t.aria_complementary_label_unique={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:"aria_complementary_label_unique.html",Fail_1:"aria_complementary_label_unique.html",group:"aria_complementary_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "complementary" role do not have unique labels',group:'Each element with "complementary" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"complementary",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_complementary_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_complementary_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""!==d&&(!(d in u)||u[d]<=1)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}}},9083:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_complementary_label_visible=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139);t.aria_complementary_label_visible={id:"aria_complementary_label_visible",context:"dom:*[role], dom:aside",dependencies:["aria_complementary_labelled"],refactor:{Rpt_Aria_ComplementaryLandmarkLabel_Implicit:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"aria_complementary_label_visible.html",Fail_1:"aria_complementary_label_visible.html",group:"aria_complementary_label_visible.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Element with "complementary" role does not have a visible label',group:'Each element with "complementary" role should have a visible label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;return n.AriaUtil.hasRoleInSemantics(l,"complementary")?r.CommonUtil.attributeNonEmpty(l,"aria-labelledby")?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1"):null}}},6049:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_complementary_labelled=void 0;var a=i(461),l=i(461),n=i(1950),r=i(3946);t.aria_complementary_labelled={id:"aria_complementary_labelled",context:"aria:complementary",refactor:{Rpt_Aria_ComplementaryRequiredLabel_Implicit:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"aria_complementary_labelled.html",Fail_1:"aria_complementary_labelled.html",group:"aria_complementary_labelled.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Element with "complementary" role does not have a label',group:'Each element with "complementary" role must have a label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;return r.VisUtil.isNodeHiddenFromAT(l)?null:n.AccNameUtil.computeAccessibleName(l)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},5099:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_content_in_landmark=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(4566),s=i(3864),u=i(3946),d=i(9196);t.aria_content_in_landmark={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:"aria_content_in_landmark.html",Fail_1:"aria_content_in_landmark.html",group:"aria_content_in_landmark.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Content is not within a landmark element",group:"All content must reside within an element with a landmark role"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE},{id:["WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=o.CacheUtil.getCache(e.dom.node.ownerDocument,"aria_content_in_landmark",null);if(!l){(l={landmarks:{value:["banner","complementary","contentinfo","form","main","navigation","region","search"],type:"array"},possibleOrphanedWidgets:{value:["button","combobox","checkbox","grid","heading","link","list","listbox","menu","menubar","progressbar","radio","tablist","textbox","toolbar","tree","treegrid"],type:"array"},possibleOrphanedElements:{value:["p","table","input","textarea","select","button","a","ol","ul","dl","h1","h2","h3","h4","h5","h6","embed","object","area"],type:"array"},noLandmarkedRoles:{value:["alert","alertdialog","dialog","tooltip"],type:"array"},mapLandmarks:{},mapPossibleOrphanedWidgets:{},mapPossibleOrphanedElements:{},mapNoLandmarkedRoles:{}}).mapLandmarks={};for(var c=0;c<l.landmarks.value.length;++c)l.mapLandmarks[l.landmarks.value[c]]=!0;for(l.mapPossibleOrphanedWidgets={},c=0;c<l.possibleOrphanedWidgets.value.length;++c)l.mapPossibleOrphanedWidgets[l.possibleOrphanedWidgets.value[c]]=!0;for(l.mapPossibleOrphanedElements={},c=0;c<l.possibleOrphanedElements.value.length;++c)l.mapPossibleOrphanedElements[l.possibleOrphanedElements.value[c]]=!0;for(l.mapNoLandmarkedRoles={},c=0;c<l.noLandmarkedRoles.value.length;++c)l.mapNoLandmarkedRoles[l.noLandmarkedRoles.value[c]]=!0;o.CacheUtil.setCache(e.dom.node.ownerDocument,"aria_content_in_landmark",l)}var m=e.dom.node,p=m.nodeName.toLowerCase();if(!u.VisUtil.isNodeVisible(m)||null!=u.VisUtil.hiddenByDefaultElements&&null!=u.VisUtil.hiddenByDefaultElements&&u.VisUtil.hiddenByDefaultElements.indexOf(p)>-1)return(0,a.RulePass)("Pass_0");if(!r.CommonUtil.hasInnerContentHidden(m)&&-1===["area","input","embed","button","textarea","select"].indexOf(p))return(0,a.RulePass)("Pass_0");if("table"==p&&d.TableUtil.isLayoutTable(m))return null;var h=!0,_=n.AriaUtil.hasRole(m,l.mapPossibleOrphanedWidgets,!0);"link"===p&&(_=!1);var b=p in l.mapPossibleOrphanedElements;if(!_&&!b)return null;if(!(h=i.aria.map((function(e){return e.role})).filter((function(e){return e in l.mapLandmarks})).length>0)){for(var g=s.DOMWalker.parentElement(m);!h&&null!=g;)h=o.CacheUtil.getCache(g,"Rpt_Aria_OrphanedContent",!1),g=s.DOMWalker.parentElement(g);for(g=m.nextElementSibling;!h&&null!=g;)h=o.CacheUtil.getCache(g,"Rpt_Aria_OrphanedContent",!1),g=g.nextElementSibling;for(g=m.previousElementSibling;!h&&null!=g;)h=o.CacheUtil.getCache(g,"Rpt_Aria_OrphanedContent",!1),g=g.previousElementSibling;if(h)return null;if(o.CacheUtil.setCache(m,"Rpt_Aria_OrphanedContent",!0),h=o.CacheUtil.getCache(m,"Rpt_Aria_OrphanedContent_NoTrigger",!1)||n.AriaUtil.hasRole(m,l.mapNoLandmarkedRoles,!0)||n.AriaUtil.getAncestorWithRole(m,l.mapNoLandmarkedRoles,!0))return o.CacheUtil.setCache(m,"Rpt_Aria_OrphanedContent_NoTrigger",!0),null}return h?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},2759:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_contentinfo_label_unique=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(4566);t.aria_contentinfo_label_unique={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:"aria_contentinfo_label_unique.html",Fail_1:"aria_contentinfo_label_unique.html",group:"aria_contentinfo_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "contentinfo" role do not have unique labels',group:'Each element with "contentinfo" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"contentinfo",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_contentinfo_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_contentinfo_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""!==d&&(!(d in u)||u[d]<=1)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}}},3141:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_contentinfo_misuse=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139);t.aria_contentinfo_misuse={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:"aria_contentinfo_misuse.html",Fail_1:"aria_contentinfo_misuse.html",group:"aria_contentinfo_misuse.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Element with "contentinfo" role is present without an element with "main" role',group:'Each element with "contentinfo" role is only permitted with an element with "main" role'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;return n.AriaUtil.hasRoleInSemantics(l,"contentinfo")?r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"main",!0,!0).length>0?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1"):null}}},5131:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_contentinfo_single=void 0;var a=i(461),l=i(461),n=i(7011);t.aria_contentinfo_single={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:"aria_contentinfo_single.html",Fail_1:"aria_contentinfo_single.html",group:"aria_contentinfo_single.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "contentinfo" role found on the page',group:'A page, document, or application should only have one element with "contentinfo" role'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;return n.AriaUtil.hasRoleInSemantics(l,"contentinfo")?n.AriaUtil.getSiblingWithRoleHidden(l,"contentinfo",!0,!0)?(0,a.RuleFail)("Fail_1"):(0,a.RulePass)("Pass_0"):null}}},5167:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_descendant_valid=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(3946);t.aria_descendant_valid={id:"aria_descendant_valid",context:"dom:*",dependencies:["aria_role_valid"],help:{"en-US":{group:"aria_descendant_valid.html",pass:"aria_descendant_valid.html",potential_child_implicit_role:"aria_descendant_valid.html",fail_child_explicit_role:"aria_descendant_valid.html"}},messages:{"en-US":{group:"Browsers ignore the explicit and implicit ARIA roles of the descendants of certain elements",pass:"The element contains valid descendants",potential_child_implicit_role:'The element with role "{0}" contains descendants with implicit roles "{1}" which are ignored by browsers',fail_child_explicit_role:'The element with role "{0}" contains descendants with roles "{1}" which are ignored by browsers'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:["307n5z"],run:function(e,t,i){var l=e.dom.node;if(!o.VisUtil.isNodeHiddenFromAT(l)&&!r.CommonUtil.isNodeDisabled(l)&&n.AriaUtil.containsPresentationalChildrenOnly(l)){var s=n.AriaUtil.getRoles(l,!1);if(s&&0!==s.length||(s=n.AriaUtil.getImplicitRole(l)),!s||0===s.length)return null;l.tagName.toLowerCase();var u=n.AriaUtil.getDirectATChildren(l);if(!(u&&u.length>0))return(0,a.RulePass)("pass");for(var d=new Array,c=new Array,m=0;m<u.length;m++){var p=u[m].nodeName.toLowerCase();if("img"!==p&&"svg"!==p){var h=n.AriaUtil.getRoles(u[m],!1);h&&h.length>0?d.push(h.join(", ")):(h=n.AriaUtil.getImplicitRole(u[m]))&&h.length>0&&c.push(h.join(", "))}}if(d.length>0){for(var _=[],b=0;b<d.length;b++)(g=new Array).push(s.join(", ")),g.push(d[b]),_.push((0,a.RuleFail)("fail_child_explicit_role",g));return _}if(c.length>0){for(_=[],b=0;b<c.length;b++){var g;(g=new Array).push(s.join(", ")),g.push(c[b]),_.push((0,a.RulePotential)("potential_child_implicit_role",g))}return _}}}}},8115:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_document_label_unique=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(4566);t.aria_document_label_unique={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:"aria_document_label_unique.html",Fail_1:"aria_document_label_unique.html",group:"aria_document_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "document" roles do not have unique labels',group:'Each element with "document" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"document",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_document_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_document_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""===d||!(d in u)||u[d]<=1?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}}},5733:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_eventhandler_role_valid=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139);t.aria_eventhandler_role_valid={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:"aria_eventhandler_role_valid.html",Fail_1:"aria_eventhandler_role_valid.html",group:"aria_eventhandler_role_valid.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"The <{0}> element with '{1}' does not have a valid ARIA role specified",group:"Elements with event handlers must have a valid ARIA role"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.CommonUtil.getAncestor(l,"svg"))return null;if(n.AriaUtil.hasAnyRole(l,!0))return(0,a.RulePass)("Pass_0");if(r.CommonUtil.isfocusableByDefault(l))return(0,a.RulePass)("Pass_0");var o=new Array;o.push(l.nodeName.toLowerCase());for(var s=new Array,u=["onblur","onfocus","onchange","onclick","ondblclick","onkeydown","onkeypress","onkeyup","onmousedown","onmouseup","onmousemove","onmouseout","onmouseover","onresize"],d=0;d<u.length;++d)l.hasAttribute(u[d])&&s.push(u[d]);var c=new Array;return c.push(s.join(", ")),(0,a.RuleFail)("Fail_1",[o.toString(),c.toString()])}}},5782:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_form_label_unique=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(4566);t.aria_form_label_unique={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:"aria_form_label_unique.html",Fail_1:"aria_form_label_unique.html",group:"aria_form_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "form" role do not have unique labels',group:'Each element with "form" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;if("form"===l.getAttribute("role")||l.hasAttribute("aria-label")||l.hasAttribute("aria-labelledby")||l.hasAttribute("title")){var s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"form",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_form_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_form_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""!==d&&(!(d in u)||u[d]<=1)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}return null}}},6731:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_graphic_labelled=void 0;var a=i(461),l=i(7011),n=i(7139),r=i(3946);t.aria_graphic_labelled={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:"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:{"en-US":{group:"An element with a graphics role must have a non-empty label",Pass_0:"Rule Passed",Fail_1:'Element with "{0}" graphics role has no label',Fail_2:'Element with "{0}" graphics role has no label or an empty label',Fail_3:"Element with \"{0}\" graphics role missing non-empty 'aria-label' or 'aria-labelledby'"}},rulesets:[],act:[{"7d6734":{Pass_0:"pass",Fail_1:"inapplicable",Fail_2:"fail",Fail_3:"inapplicable"}}],run:function(e,t,i){var o=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(o))return null;if(!o.hasAttribute("role")||!o.getAttribute("role").includes("graphics-"))return null;var s=l.AriaUtil.getAriaLabel(o).length>0;if(!s&&"svg"===o.nodeName.toLowerCase()){var u=o.querySelector("title");s=u&&n.CommonUtil.hasInnerContent(u)}return s||(s=n.CommonUtil.attributeNonEmpty(o,"title")),s?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_2",[o.getAttribute("role")])}}},390:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_hidden_nontabbable=void 0;var a=i(7139),l=i(461),n=i(461);t.aria_hidden_nontabbable={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_nontabbable.html",Pass_0:"aria_hidden_nontabbable.html",Fail_1:"aria_hidden_nontabbable.html"}},messages:{"en-US":{group:"A hidden element should not contain any tabbable elements",Pass_0:"Rule Passed",Fail_1:"Element \"{0}\" should not be focusable within the subtree of an element with an 'aria-hidden' attribute with value 'true'"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:["1.3.1","4.1.2"],level:n.eRulePolicy.VIOLATION,toolkitLevel:n.eToolkitLevel.LEVEL_TWO}],act:"6cfa84",run:function(e,t,i){var n=e.dom.node,r=n.nodeName.toLowerCase();return a.CommonUtil.isTabbable(n)?(0,l.RuleFail)("Fail_1",[r]):(0,l.RulePass)("Pass_0")}}},3900:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_id_unique=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(5279),s=i(9910),u=i(3946);t.aria_id_unique={id:"aria_id_unique",context:"dom:*",refactor:{Rpt_Aria_ValidIdRef:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"aria_id_unique.html",Fail_1:"aria_id_unique.html",group:"aria_id_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"The 'id' \"{0}\" specified for the ARIA property '{1}' value is not valid",group:"The ARIA property must reference a non-empty unique id of an existing element that is visible"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:["59796f","6a7281"],run:function(e,t,i){var l=e.dom.node,d=!0,c=new Array,m=(new Array,o.FragmentUtil.getOwnerFragment(l)),p=l.attributes,h=new Array,_=0;if(p)for(var b=0,g=p.length;b<g;b++){d=!0;var f=p[b].name;if(n.AriaUtil.isDefinedAriaAttribute(l,f)){var v=s.ARIADefinitions.propertyDataTypes[f];if(v&&v.type){var A="http://www.w3.org/2001/XMLSchema#idref"==v.type;if(A||"http://www.w3.org/2001/XMLSchema#idrefs"==v.type){_++;var y=r.CommonUtil.normalizeSpacing(p[b].nodeValue).length,w=p[b].nodeValue.split(" ");if(y<1)d=!1,h.push('"'+p[b].nodeValue+'"');else if(A&&y>=1&&w.length>1){d=!1;for(var k=0,C=w.length;k<C;++k)""!=w[k]&&h.push(w[k])}if(d&&y>=1)for(var x=0,P=w.length;x<P;++x)if(w[x].length>0){var R=m.getElementById(w[x]);if((d=null!=R)&&!v.hiddenIDRefSupported&&(d=u.VisUtil.isNodeVisible(R)),d)break;""!=w[x]&&h.push(w[x])}}}d||c.push(f)}}var T=0==c.length,U=new Array,I=new Array,L=new Array;return T||(I.push(c.join(", ")),L.push(l.nodeName.toLowerCase()),h.length>0&&U.push(h.join(", "))),0==_?null:T?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[U.toString(),I.toString(),L.toString()])}}},1218:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_img_labelled=void 0;var a=i(461),l=i(7011),n=i(7139),r=i(3946);t.aria_img_labelled={id:"aria_img_labelled",context:"aria:img, aria:image",refactor:{HAAC_Aria_ImgAlt:{Pass_0:"Pass_0",Fail_1:"Fail_1",Fail_2:"Fail_2",Fail_3:"Fail_3"}},help:{"en-US":{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:{"en-US":{group:'An element with "img" role must have a non-empty label',Pass_0:"Rule Passed",Fail_1:'Element with "img" role has no label',Fail_2:'Element with "img" role has no label or an empty label',Fail_3:"Element with \"img\" role missing non-empty 'aria-label' or 'aria-labelledby'"}},rulesets:[],act:["23a2a8",{"7d6734":{Pass_0:"pass",Fail_1:"inapplicable",Fail_2:"fail",Fail_3:"inapplicable"}}],run:function(e,t,i){var o=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(o))return null;if(!o.hasAttribute("role"))return null;var s=o.nodeName.toLocaleLowerCase();if("svg"!==s&&"img"!==s){var u=l.AriaUtil.getAriaLabel(o).length>0;if(!u&&"svg"===o.nodeName.toLowerCase()){var d=o.querySelector("title");u=d&&n.CommonUtil.hasInnerContent(d)}return u||(u=n.CommonUtil.attributeNonEmpty(o,"title")),u?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_2")}}}},6734:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_keyboard_handler_exists=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(9910),s=i(3946);t.aria_keyboard_handler_exists={id:"aria_keyboard_handler_exists",context:"dom:*[role]",dependencies:["aria_role_allowed"],refactor:{Rpt_Aria_MissingKeyboardHandler:{pass:"pass",potential_no_keyboard_access:"potential_no_keyboard_access"}},help:{"en-US":{pass:"aria_keyboard_handler_exists.html",potential_no_keyboard_access:"aria_keyboard_handler_exists.html",group:"aria_keyboard_handler_exists.html"}},messages:{"en-US":{pass:"Rule Passed",potential_no_keyboard_access:'Verify the <{0}> element with "{1}" role has keyboard access',group:"Interactive WAI_ARIA UI components must provide keyboard access"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(!s.VisUtil.isNodeHiddenFromAT(l)&&!r.CommonUtil.isNodeDisabled(l)){var u=!0,d=u,c=l.ownerDocument,m=o.ARIADefinitions.designPatterns,p=n.AriaUtil.getRoles(l,!1);if("datalist"===l.nodeName.toLowerCase()&&p&&p.includes("listbox"))return null;for(var h=["combobox","grid","listbox","menu","menubar","radiogroup","tablist","tree","treegrid"],_=0,b=h;_<b.length;_++){var g=b[_];if(null!=n.AriaUtil.getAncestorWithRole(l,g,!0))return null}for(var f=r.CommonUtil.hasAttribute,v=new Array,A=0;A<p.length;++A){if(m[p[A]],h.indexOf(p[A])>=0&&!(f(l,"aria-disabled")&&l.getAttribute("aria-disabled")||(u=l.hasAttribute("onkeydown")||l.hasAttribute("onkeypress")||l.hasAttribute("onkeyup"))))if(f(l,"aria-activedescendant"))u=!0;else{var y,w=o.ARIADefinitions.designPatterns[p[A]].reqChildren;if(w)for(var k=0,C=w.length;k<C;k++)for(var x="*[contains(@role,'"+w[k]+"')]",P=c.evaluate(x,l,r.CommonUtil.defaultNSResolver,0,null),R=P.iterateNext();R;){if(!(u=R.hasAttribute("onkeydown")||R.hasAttribute("onkeypress")))for(var T="descendant::*",U=(y=c.evaluate(T,R,r.CommonUtil.defaultNSResolver,0,null)).iterateNext();U&&!u;)r.CommonUtil.shouldNodeBeSkippedHidden(U)||(u=r.CommonUtil.isTabbable(U)&&(U.hasAttribute("onkeydown")||U.hasAttribute("onkeypress")))||"a"==U.nodeName.toLowerCase()&&U.hasAttribute("href")&&(u=(I=U.getAttribute("href")).startsWith("javascript:")&&-1==I.indexOf("void")&&I.length>11),U=y.iterateNext();if(!u)break;R=P.iterateNext()}else for(T="descendant::*",U=(y=c.evaluate(T,l,r.CommonUtil.defaultNSResolver,0,null)).iterateNext();U&&!u;)if(r.CommonUtil.shouldNodeBeSkippedHidden(U))U=y.iterateNext();else{var I;(u=r.CommonUtil.isTabbable(U)&&(U.hasAttribute("onkeydown")||U.hasAttribute("onkeypress")))||"a"==U.nodeName.toLowerCase()&&U.hasAttribute("href")&&(u=(I=U.getAttribute("href")).startsWith("javascript:")&&-1==I.indexOf("void")&&I.length>11),U=y.iterateNext()}}u||v.push(p[A]),!u&&d&&(d=u)}var L=new Array;L.push(l.nodeName.toLowerCase());var E=new Array;E.push(v.join(", "));var q=l.getAttribute("id");return q&&q.trim().length>0&&l.ownerDocument.querySelector("*[aria-controls='".concat(q,"'][role='combobox']"))?null:d?(0,a.RulePass)("pass"):(0,a.RulePotential)("potential_no_keyboard_access",[L.toString(),E.toString()])}}}},9973:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_landmark_name_unique=void 0;var a=i(461),l=i(461),n=i(9955),r=i(1686),o=i(5279),s=i(4566),u=i(1950);t.aria_landmark_name_unique={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:"aria_landmark_name_unique.html",Fail_0:"aria_landmark_name_unique.html",group:"aria_landmark_name_unique.html"}},messages:{"en-US":{Pass_0:"Multiple elements with \"{0}\" landmarks within the same parent region are distinguished by unique 'aria-label' or 'aria-labelledby'",Fail_0:'Multiple elements with "{0}" landmarks within the same parent region are not distinguished from one another because they have the same "{1}" label',group:"Each landmark should have a unique 'aria-labelledby' or 'aria-label' or be nested in a different parent region"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE},{id:["WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){for(var l=e.dom.node,d=l,c=[];d;)c.unshift(d),d=d.parentElement;c.forEach((function(e){if(null!==e&&("DIALOG"==e.tagName||"dialog"==e.getAttribute("role")))return null}));var m=o.FragmentUtil.getOwnerFragment(l),p=s.CacheUtil.getCache(l.ownerDocument,"aria_landmark_name_unique",null);if(!p){p={navigationNodes:[],navigationNodesComputedLabels:[],navigationNodesParents:[],navigationNodesMatchFound:[]};for(var h=m.querySelectorAll('aside,[role="complementary"], footer,[role="contentinfo"], header,[role="banner"], main,[role="main"], nav,[role="navigation"], form,[role="form"], section,[role="region"],[role="search"]'),_=Array.from(h),b=[],g=[],f=[],v=0;v<_.length;v++){for(var A=_[v],y=!1;A;)null!==(A=A.parentElement)&&("DIALOG"!=A.tagName&&"dialog"!=A.getAttribute("role")||(y=!0));y||f.push(_[v])}for(_=f,v=0;v<_.length;v++){var w=[];for(A=_[v].parentElement;A;)w.push(A),A=A.parentElement;for(var k=0;k<w.length;k++){var C=["ASIDE","FOOTER","FORM","HEADER","MAIN","NAV","SECTION"].includes(w[k].tagName),x=!1;if(w[k].hasAttribute("role")&&(x=["complementary","contentinfo","form","banner","main","navigation","region","search"].includes(w[k].getAttribute("role"))),C||x){b.push(w[k]);break}if(k===w.length-1){b.push(null);break}}}var P=[];for(v=0;v<_.length;v++){var R=u.AccNameUtil.computeAccessibleName(_[v]);P.push(R&&R.name&&R.name.trim().length>0?R.name.trim():"")}for(v=0;v<b.length;v++){var T=!1,U=!1;for(k=0;k<b.length;k++)if(k!==v){if(null===b[v]&&null===b[k]){if(n.ARIAMapper.nodeToRole(_[v])===n.ARIAMapper.nodeToRole(_[k])){if(P[v]===P[k]){g.push("Fail_0"),T=!0;break}U=!0}}else if(null===b[v]||null===b[k])continue;if(r.DOMUtil.sameNode(b[v],b[k])&&n.ARIAMapper.nodeToRole(_[v])===n.ARIAMapper.nodeToRole(_[k])){if(P[v]===P[k]){g.push("Fail_0"),T=!0;break}U=!0}}T||(U?g.push("Pass_0"):g.push("null"))}p.navigationNodesComputedLabels=P,p.navigationNodes=_,p.navigationNodesParents=b,p.navigationNodesMatchFound=g,s.CacheUtil.setCache(l.ownerDocument,"aria_landmark_name_unique",p)}var I=-1;for(v=0;v<p.navigationNodes.length;v++)l.isSameNode(p.navigationNodes[v])&&(I=v);return-1===I?null:"Pass_0"===p.navigationNodesMatchFound[I]?(0,a.RulePass)("Pass_0",[n.ARIAMapper.nodeToRole(p.navigationNodes[I])]):"Fail_0"===p.navigationNodesMatchFound[I]?(0,a.RuleFail)("Fail_0",[n.ARIAMapper.nodeToRole(p.navigationNodes[I]),p.navigationNodesComputedLabels[I]]):null}}},5711:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_main_label_unique=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139);t.aria_main_label_unique={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:"aria_main_label_unique.html",Fail_1:"aria_main_label_unique.html",group:"aria_main_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "main" role do not have unique labels',group:'Each element with "main" role must have unique label that describes its purposes'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){for(var l=e.dom.node,o=n.AriaUtil.getAriaLabel(l),s=n.AriaUtil.getAncestorWithRole(l,"document",!0),u=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"main",!0,!0),d=null,c=0;c<u.length;++c)if(u[c]!==l&&(d=(0,a.RulePass)("Pass_0"),n.AriaUtil.getAncestorWithRole(u[c],"document",!0)===s&&n.AriaUtil.getAriaLabel(u[c])===o)){d=(0,a.RuleFail)("Fail_1");break}return d}}},3384:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_main_label_visible=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139);t.aria_main_label_visible={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:"aria_main_label_visible.html",Fail_1:"aria_main_label_visible.html",group:"aria_main_label_visible.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "main" role do not have unique visible labels',group:'Each element with "main" role should have a unique visible label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,o=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"main",!0,!0);return 0===o.length||1===o.length?null:n.AriaUtil.hasUniqueAriaLabelledby(o)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},2762:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_navigation_label_unique=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(4566);t.aria_navigation_label_unique={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:"aria_navigation_label_unique.html",Fail_1:"aria_navigation_label_unique.html",group:"aria_navigation_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "navigation" role do not have unique labels',group:'Each element with "navigation" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"navigation",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_navigation_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_navigation_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""!==d&&(!(d in u)||u[d]<=1)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}}},5757:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_parent_required=void 0;var a=i(461),l=i(461),n=i(9910),r=i(7011),o=i(7139),s=i(3946);t.aria_parent_required={id:"aria_parent_required",context:"dom:*[role]",dependencies:["aria_role_allowed"],refactor:{Rpt_Aria_RequiredParent_Native_Host_Sematics:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{group:"aria_parent_required.html",Pass_0:"aria_parent_required.html",Fail_1:"aria_parent_required.html"}},messages:{"en-US":{group:"Each element with an implicit or explicit role must be contained within a valid element",Pass_0:"Rule Passed",Fail_1:'Element with "{0}" role is not contained in or owned by an element with one of the following roles: "{1}"'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:"ff89c9",run:function(e,t,i){var l=e.dom.node;if(!(s.VisUtil.isNodeHiddenFromAT(l)||o.CommonUtil.isNodeDisabled(l)||r.AriaUtil.shouldBePresentationalChild(l)||s.VisUtil.isNodePresentational(l))){for(var u=!0,d=n.ARIADefinitions.designPatterns,c=new Array,m=new Array,p=0,h=i.aria.map((function(e){return e.role})),_=h[h.length-2],b=2;"none"===_;)b++,_=h[h.length-b];var g=r.AriaUtil.getResolvedRole(l);if(d[g]&&null!=d[g].container){p++,u=!1;for(var f=0,v=(m=d[g].container).length;!u&&f<v&&!(u=_===m[f]);f++);0==u&&c.push(g)}var A=new Array;A.push(c.join(", "));var y=new Array;return y.push(m.join(", ")),0==p?null:u?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[A.toString(),y.toString()])}}}},5232:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_region_label_unique=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(4566);t.aria_region_label_unique={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:"aria_region_label_unique.html",Fail_1:"aria_region_label_unique.html",group:"aria_region_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "region" role do not have unique labels',group:'Each element with "region" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;if("region"===l.getAttribute("role")||l.hasAttribute("aria-label")||l.hasAttribute("aria-labelledby")&&!r.CommonUtil.isIdReferToSelf(l,l.getAttribute("aria-labelledby"))||l.hasAttribute("title")){var s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"region",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_region_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_region_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""!==d&&(!(d in u)||u[d]<=1)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}return null}}},1891:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_region_labelled=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(3946);t.aria_region_labelled={id:"aria_region_labelled",context:"aria:region",refactor:{Rpt_Aria_RegionLabel_Implicit:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"aria_region_labelled.html",Fail_1:"aria_region_labelled.html",group:"aria_region_labelled.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Element with "region" role does not have a label',group:'Each element with "region" role must have a label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;return o.VisUtil.isNodeHiddenFromAT(l)?null:n.AriaUtil.hasAriaLabel(l)||r.CommonUtil.attributeNonEmpty(l,"title")?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},6142:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_role_allowed=void 0;var a=i(461),l=i(461),n=i(7011);t.aria_role_allowed={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:"aria_role_allowed.html",Pass_0:"aria_role_allowed.html",Fail_2:"aria_role_allowed.html",Potential_1:"aria_role_allowed.html"}},messages:{"en-US":{group:"Elements must have a valid 'role' per ARIA specification",Pass_0:"Rule Passed",Fail_2:"The role '{0}' defined on the element is not valid per ARIA specification",Potential_1:"Some of the roles, '{0}', defined on the element are not valid per ARIA specification"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"4.1.2",level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:"674b10",run:function(e,t,i){var l=e.dom.node,r=l.getAttribute("role").trim().toLowerCase();if(0===r.length)return null;if(l.hasAttribute("aria-hidden")&&"true"===l.getAttribute("aria-hidden").toLowerCase())return null;var o=n.AriaUtil.getRolesUndefinedByAria(l);if(!o||0===o.length)return(0,a.RulePass)("Pass_0");var s=r.split(/\s+/);return o.length===s.length?(0,a.RuleFail)("Fail_2",[o.join(",")]):o.length>0?(0,a.RulePotential)("Potential_1",[o.join(",")]):void 0}}},4863:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_role_redundant=void 0;var a=i(461),l=i(461),n=i(7011),r=i(9196);t.aria_role_redundant={id:"aria_role_redundant",context:"dom:*[role]",help:{"en-US":{pass:"aria_role_redundant.html",fail_redundant:"aria_role_redundant.html",group:"aria_role_redundant.html"}},messages:{"en-US":{pass:"An explicitly-assigned ARIA role is not redundant with the implicit role of the element",fail_redundant:'The explicitly-assigned ARIA role "{0}" is redundant with the implicit role of the element <{1}>',group:"An explicitly-assigned ARIA role should not be redundant with the implicit role of the element"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next"],num:["ARIA"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,o=l.tagName.toLowerCase(),s=n.AriaUtil.getRoles(l,!1);if(s&&0!==s.length){if(!n.AriaUtil.areRolesDefined(s))return null;if(["td","th","tr"].includes(o)){var u=r.TableUtil.isTableDescendant(i);if(null!==u&&u.length>0)return null}var d=n.AriaUtil.getImplicitRole(l);if(!d||0===d.length)return(0,a.RulePass)("pass");for(var c=[],m=0;m<s.length;m++)d.includes(s[m])?c.push((0,a.RuleFail)("fail_redundant",[s[m],o])):c.push((0,a.RulePass)("pass"));return c.length>0?c:null}}}},1440:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_search_label_unique=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(4566);t.aria_search_label_unique={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:"aria_search_label_unique.html",Fail_1:"aria_search_label_unique.html",group:"aria_search_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "search" role do not have unique labels',group:'Each element with "search" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"search",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_search_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_search_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""!==d&&(!(d in u)||u[d]<=1)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}}},1968:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_attribute_valid=t.aria_role_valid=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139);t.aria_role_valid={id:"aria_role_valid",context:"dom:*",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_role_valid.html",Fail_1:"aria_role_valid.html",Fail_2:"aria_role_valid.html",group:"aria_role_valid.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"The ARIA role '{0}' is not valid for the element <{1}>",Fail_2:"The ARIA role '{0}' is not valid for the element <{1}> and may be ignored by the browser since the element is focusable",group:"ARIA roles must be valid for the element to which they are assigned"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,o=l.tagName.toLowerCase();if(1!==l.nodeType)return null;var s=n.AriaUtil.getRolesUndefinedByAria(l);if(s&&s.length>0)return null;var u=n.AriaUtil.getDeprecatedAriaRoles(l);if(u&&u.length>0)return null;var d=n.AriaUtil.getDeprecatedAriaAttributes(l);if(d&&d.length>0)return null;if(["td","th","tr"].includes(o)){var c=r.CommonUtil.isTableDescendant(i);if(null!==c&&c.length>0)return null}var m=n.AriaUtil.getUserDefinedRoles(l);if(!m||0===m.length)return null;if(m.includes("generic"))return(0,a.RuleFail)("Fail_1",["generic",o]);var p=n.AriaUtil.getInvalidRoles(l);return null===p||0===p.length?(0,a.RulePass)("Pass_0",[m.join(", "),o]):p.includes("presentation")||p.includes("none")&&r.CommonUtil.isTabbable(l)?(0,a.RuleFail)("Fail_2",[p.join(", "),o]):p.length>0?(0,a.RuleFail)("Fail_1",[p.join(", "),o]):m.length>0?(0,a.RulePass)("Pass_0",[m.join(", "),o]):null}},t.aria_attribute_valid={id:"aria_attribute_valid",context:"dom:*",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_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:{"en-US":{group:"ARIA attributes should be valid for the element and ARIA role to which they are assigned",Pass:"ARIA attributes are valid for the element and ARIA role",Fail_invalid_role_attr:'The ARIA attributes "{0}" are not valid for the element <{1}> with ARIA role "{2}"',Fail_invalid_implicit_role_attr:'The ARIA attributes "{0}" are not valid for the element <{1}> with implicit ARIA role "{2}"'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["ARIA"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:["5c01ea",{"46ca7f":{Pass:"pass",Fail_invalid_role_attr:"fail",Fail_invalid_implicit_role_attr:"fail"}}],run:function(e,t,i){var l=e.dom.node;if(1!==l.nodeType)return null;var r=n.AriaUtil.getUserDefinedAriaAttributes(l);if(null===r||0===r.length)return null;var o=n.AriaUtil.getUserDefinedRoles(l),s=!0;if(o&&o.length>0){if(!n.AriaUtil.areRolesDefined(o))return null}else o=n.AriaUtil.getImplicitRole(l),s=!1;var u=l.tagName.toLowerCase(),d=n.AriaUtil.getInvalidAriaAttributes(l);return d&&0!==d.length?o.length>0?s?(0,a.RuleFail)("Fail_invalid_role_attr",[d.join(", "),u,o.join(", ")]):(0,a.RuleFail)("Fail_invalid_implicit_role_attr",[d.join(", "),u,o.join(", ")]):(0,a.RuleFail)("Fail_invalid_role_attr",[d.join(", "),u,"none"]):(0,a.RulePass)("Pass",[r.join(", "),u,o.join(", ")])}}},1617:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_toolbar_label_unique=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(4566);t.aria_toolbar_label_unique={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:"aria_toolbar_label_unique.html",Fail_1:"aria_toolbar_label_unique.html",group:"aria_toolbar_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'Multiple elements with "toolbar" roles do not have unique labels',group:'Each element with "toolbar" role must have a unique label that describes its purpose'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,s=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"toolbar",!0,!0);if(0===s.length||1===s.length)return null;var u=o.CacheUtil.getCache(l.ownerDocument,"aria_toolbar_label_unique",null);u||(u=n.AriaUtil.findAriaLabelDupes(s),o.CacheUtil.setCache(l.ownerDocument,"aria_toolbar_label_unique",u));var d=n.AriaUtil.getAriaLabel(l);return""!==d&&(!(d in u)||u[d]<=1)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[d])}}},3475:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.aria_widget_labelled=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(9955),s=i(5279),u=i(9910),d=i(1686);t.aria_widget_labelled={id:"aria_widget_labelled",context:"dom:*",refactor:{Rpt_Aria_WidgetLabels_Implicit:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{group:"aria_widget_labelled.html",Pass_0:"aria_widget_labelled.html",Fail_1:"aria_widget_labelled.html"}},messages:{"en-US":{group:"Interactive component must have a programmatically associated name",Pass_0:"Rule Passed",Fail_1:"Interactive component with ARIA role '{0}' does not have a programmatically associated name"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:"m6b1q3",run:function(e,t,i){var l=e.dom.node;if(l.hasAttribute("type")&&"hidden"===l.getAttribute("type")||n.AriaUtil.getAncestorWithRole(l,"combobox")&&!n.AriaUtil.hasRoleInSemantics(l,"textbox")&&!n.AriaUtil.hasRoleInSemantics(l,"searchbox"))return null;var c=o.ARIAMapper.nodeToRole(l),m=l.nodeName.toLowerCase();if(["button","checkbox","combobox","listbox","menuitemcheckbox","menuitemradio","radio","searchbox","slider","spinbutton","switch","textbox","progressbar","link"].includes(c))return null;if("output"===m||"input"===m&&l.getAttribute("type"),!l.hasAttribute("role")&&-1!=["input","textarea","select","button","datalist","optgroup","option","keygen","output","progress","meter"].indexOf(l.nodeName.toLowerCase()))return null;for(var p=["listbox","tree","grid","dialog"],h=0;h<p.length;h++)if(n.AriaUtil.hasRoleInSemantics(l,p[h]))for(var _=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"combobox",!0,!0),b=0;b<_.length;b++){var g=_[b],f=r.CommonUtil.getElementAttribute(g,"aria-owns");if(f)for(var v=r.CommonUtil.normalizeSpacing(f.trim()).split(" "),A=0;A<v.length;A++)if(s.FragmentUtil.getById(l,v[A])===l)return null}for(var y=!0,w=u.ARIADefinitions.designPatterns,k=n.AriaUtil.getRoles(l,!0),C=0,x=["widget","liveRegion","window"],P=(A=0,k.length);y&&A<P;++A){var R=w[k[A]];R&&R.nameRequired&&R.roleType&&x.includes(R.roleType)&&(++C,!(y=n.AriaUtil.hasAriaLabel(l)||r.CommonUtil.attributeNonEmpty(l,"title")||r.CommonUtil.getLabelForElementHidden(l,!0))&&R.nameFrom&&R.nameFrom.indexOf("contents")>=0&&(y=r.CommonUtil.hasInnerContentOrAlt(l)),y||(y=r.CommonUtil.hasImplicitLabel(l)),y||"img"!==l.tagName.toLowerCase()||l.hasAttribute("role")||!l.hasAttribute("alt")||(y=d.DOMUtil.cleanWhitespace(l.getAttribute("alt")).trim().length>0),R.nameFrom.indexOf("prohibited"))}return 0===C?null:y?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[c])}}},3370:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.asciiart_alt_exists=void 0;var a=i(461),l=i(7139);t.asciiart_alt_exists={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:"asciiart_alt_exists.html",Potential_1:"asciiart_alt_exists.html",group:"asciiart_alt_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that ASCII art has a text alternative",group:"ASCII art must have a text alternative"}},rulesets:[],act:[],run:function(e,t,i){var n=e.dom.node;if("pre"==n.nodeName.toLowerCase()&&(n.previousSibling&&"code"==n.previousSibling.nodeName.toLowerCase()||n.getElementsByTagName("code").length>0||l.CommonUtil.getAncestor(n,"code")))return(0,a.RulePass)("Pass_0");for(var r=!0,o=l.CommonUtil.getInnerText(n),s=0,u=0,d="",c=0;r&&c<o.length;++c){var m=o.substr(c,1);/[\w!@#$%&\*().,?\[\]{}<>=":\/\\-]/.test(m)?d==m?u+=1:u=0:(/\s/.test(m)||(s+=1),u=0),d=m,(s>=5||u>=4)&&(r=!1)}return r?(0,a.RulePass)("Pass_0"):r?void 0:(0,a.RulePotential)("Potential_1")}}},9272:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.blink_css_review=void 0;var a=i(461),l=i(461),n=i(7139);t.blink_css_review={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:"blink_css_review.html",Pass_0:"blink_css_review.html",Potential_1:"blink_css_review.html"}},messages:{"en-US":{group:"Do not use the \"blink\" value of the 'text-decoration' property for longer than five seconds",Pass_0:"Rule Passed",Potential_1:"Check the \"blink\" value of the CSS 'text-decoration' property is not used for more than than five seconds"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"2.2.2",level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node,r=n.CommonUtil.getInnerText(l);l.hasAttribute("style")&&(r=l.getAttribute("style"));var o=-1==r.toLowerCase().indexOf("text-decoration:blink");return o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RulePotential)("Potential_1")}}},7735:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.blink_elem_deprecated=void 0;var a=i(461),l=i(461);t.blink_elem_deprecated={id:"blink_elem_deprecated",context:"dom:blink",refactor:{WCAG20_Blink_AlwaysTrigger:{Fail_1:"Fail_1"}},help:{"en-US":{group:"blink_elem_deprecated.html",Fail_1:"blink_elem_deprecated.html"}},messages:{"en-US":{group:"Content that blinks persistently must not be used",Fail_1:"Content found that blinks persistently"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"2.2.2",level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){return(0,a.RuleFail)("Fail_1")}}},3923:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.blockquote_cite_exists=void 0;var a=i(461),l=i(461),n=i(7139);t.blockquote_cite_exists={id:"blockquote_cite_exists",context:"dom:blockquote",refactor:{RPT_Blockquote_HasCite:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"blockquote_cite_exists.html",Potential_1:"blockquote_cite_exists.html",group:"blockquote_cite_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that <blockquote> should have a 'cite' attribute and not be used for indentation only",group:"Use <blockquote> only for quotations, not indentation"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,r=n.CommonUtil.attributeNonEmpty(l,"cite");if(!r){var o=n.CommonUtil.getDocElementsByTag(l,"cite");r=null!=o&&o.length>0}return r?(0,a.RulePass)("Pass_0"):r?void 0:(0,a.RulePotential)("Potential_1")}}},7521:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.canvas_content_described=void 0;var a=i(461),l=i(461),n=i(3946);t.canvas_content_described={id:"canvas_content_described",context:"dom:canvas",refactor:{HAAC_Canvas:{Pass_0:"Pass_0",Manual_1:"Manual_1"}},help:{"en-US":{Pass_0:"canvas_content_described.html",Manual_1:"canvas_content_described.html",group:"canvas_content_described.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Manual_1:"Verify accessibility of the <canvas> element",group:"The <canvas> element may not be accessible"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1","2.1.1","4.1.2"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;if(n.VisUtil.isNodeHiddenFromAT(l))return null;var r=l.innerHTML.trim().length>0;return r?(0,a.RulePass)("Pass_0"):r?void 0:(0,a.RuleManual)("Manual_1")}}},1852:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.caption_track_exists=void 0;var a=i(461),l=i(461);t.caption_track_exists={id:"caption_track_exists",context:"dom:video",refactor:{HAAC_Video_HasNoTrack:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"caption_track_exists.html",Potential_1:"caption_track_exists.html",group:"caption_track_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that captions are available for any meaningful audio or provide a caption track for the <video> element",group:"A <video> element must have a text alternative for any meaningful audio content"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.2.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,n=!1;if("true"===l.getAttribute("aria-hidden"))return null;for(var r=l.getElementsByTagName("track"),o=0;o<r.length;++o)n=n||"captions"===r[o].getAttribute("kind");if(l.textTracks&&l.textTracks.length>0)for(o=0;o<l.textTracks.length;o++)n=n||"captions"===l.textTracks[o].kind;return n?(0,a.RulePass)("Pass_0"):(0,a.RulePotential)("Potential_1")}}},799:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.combobox_active_descendant=void 0;var a=i(461),l=i(461),n=i(7011),r=i(5279),o=i(3864),s=i(4566),u=i(3946);t.combobox_active_descendant={id:"combobox_active_descendant",context:"aria:combobox",dependencies:["combobox_popup_reference"],help:{"en-US":{Pass:"combobox_active_descendant.html",Fail_missing:"combobox_active_descendant.html",Fail_not_in_popup:"combobox_active_descendant.html",Fail_active_role_invalid:"combobox_active_descendant.html",Fail_active_not_selected:"combobox_active_descendant.html",group:"combobox_active_descendant.html"}},messages:{"en-US":{Pass:"'aria-activedescendant' is used appropriately for this combobox",Fail_missing:"The element referenced by 'aria-activedescendant' \"{0}\" does not exist",Fail_not_in_popup:"The element referenced by 'aria-activedescendant' \"{0}\" does not exist within the popup referenced by 'id' \"{1}\"",Fail_active_role_invalid:"The 'aria-activedescendant' \"{0}\" references an element with the roles \"{1}\", which does not have a valid ARIA role of 'option', 'gridcell', 'row', or 'treeitem'",Fail_active_not_selected:"The 'aria-activedescendant' \"{0}\" references an element that does not have 'aria-selected' set to true",group:"'aria-activedescendant' must be used to define focus within the combobox popup, except when using a dialog popup"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,d=s.CacheUtil.getCache(l.ownerDocument,"combobox",{});if(!d)return null;var c=d[e.dom.rolePath];if(!c)return null;var m=c.popupElement,p=c.popupId;if(!m)return null;var h=l.getAttribute("aria-activedescendant");if(!h||0===h.trim().length)return null;var _=r.FragmentUtil.getById(l,h);if(!_)return(0,a.RuleFail)("Fail_missing",[h]);var b=!1;if(m)for(var g=new o.DOMWalker(m);!b&&g.nextNode()&&g.node!=m&&g.node!=m.nextSibling;)1===g.node.nodeType&&u.VisUtil.isNodeVisible(g.node)&&(b=g.elem().getAttribute("id")===h);var f=[];b||f.push((0,a.RulePass)("Fail_not_in_popup",[h,p]));var v=n.AriaUtil.getRoles(_,!0);return 0===["option","gridcell","row","treeitem"].filter((function(e){return v.includes(e)})).length&&f.push((0,a.RuleFail)("Fail_active_role_invalid",[h,v.join(",")])),"true"!==_.getAttribute("aria-selected")&&f.push((0,a.RuleFail)("Fail_active_not_selected",[h])),0===f.length?(0,a.RulePass)("Pass"):f}}},4614:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.combobox_autocomplete_valid=void 0;var a=i(461),l=i(461),n=i(3864),r=i(4566),o=i(3946);t.combobox_autocomplete_valid={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_valid.html",Fail_1:"combobox_autocomplete_valid.html",Fail_inline:"combobox_autocomplete_valid.html",group:"combobox_autocomplete_valid.html"}},messages:{"en-US":{Pass:"The combobox does not use 'aria-autocomplete' value '\"inline\"' nor does it have 'aria-autocomplete' defined within the popup",Fail_1:"The combobox has the 'aria-autocomplete' attribute incorrectly set on an element within the popup referenced by \"{0}\"",Fail_inline:"The combobox does not support an 'aria-autocomplete' attribute value set to '\"inline\"' ",group:"A combobox that supports autocompletion behavior must have the 'aria-autocomplete' attribute only on its text input element with a valid value; a value of '\"inline\"' is not supported"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,s=r.CacheUtil.getCache(l.ownerDocument,"combobox",{});if(!s)return null;var u=s[e.dom.rolePath];if(!u)return null;var d=u.popupId,c=u.popupElement,m=[];"inline"===l.getAttribute("aria-autocomplete")&&m.push((0,a.RuleFail)("Fail_inline"));var p=!0;if(c&&o.VisUtil.isNodeVisible(c)&&(p=!c.hasAttribute("aria-autocomplete"))&&c.children&&c.children.length>0)for(var h=new n.DOMWalker(c);p&&h.nextNode()&&(1!==h.node.nodeType||!o.VisUtil.isNodeVisible(h.node)||(p=!h.elem().hasAttribute("aria-autocomplete"),!h.bEndTag||h.node!==c.lastElementChild)););return p||m.push((0,a.RuleFail)("Fail_1",[d])),m.length>0?m:(0,a.RulePass)("Pass")}}},5952:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.combobox_design_valid=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(3946),s=i(4566);t.combobox_design_valid={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_design_valid.html","Fail_1.1":"combobox_design_valid.html","Pass_1.2":"combobox_design_valid.html",group:"combobox_design_valid.html"}},messages:{"en-US":{"Pass_1.0":"The combobox design pattern is detected as ARIA 1.0, which is allowed by ARIA 1.2","Fail_1.1":"The combobox design pattern is detected as ARIA 1.1, which is not allowed by ARIA 1.2","Pass_1.2":"The combobox design pattern is detected as ARIA 1.2",group:"The combobox design pattern must be valid for ARIA 1.2"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(!o.VisUtil.isNodeVisible(l)||r.CommonUtil.isNodeDisabled(l))return null;var u,d="select"===(u=l).tagName.toLowerCase()&&"combobox"!==u.getAttribute("role")?"implicit":"input"!==u.nodeName.toLowerCase()||u.hasAttribute("type")&&"text"!==u.getAttribute("type")||!u.hasAttribute("aria-owns")||u.hasAttribute("aria-controls")?"input"!==u.nodeName.toLowerCase()&&u.hasAttribute("aria-owns")&&!u.hasAttribute("aria-controls")?"1.1":"1.2":"1.0";if("implicit"===d)return null;var c=l.tagName.toLowerCase(),m="true"===(n.AriaUtil.getAriaAttribute(l,"aria-expanded")||"").trim().toLowerCase(),p="input"===c&&(!l.hasAttribute("type")||"text"===l.getAttribute("type").toLowerCase()),h=e.dom.rolePath;if(!h)return null;var _=s.CacheUtil.getCache(l.ownerDocument,"combobox",{});return _?(_[h]={inputElement:p?l:null,pattern:d,expanded:m},s.CacheUtil.setCache(l.ownerDocument,"combobox",_),"1.0"===d?(0,a.RulePass)("Pass_1.0"):"1.1"===d?(0,a.RuleFail)("Fail_1.1"):"1.2"===d?(0,a.RulePass)("Pass_1.2"):void 0):null}}},5395:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.combobox_focusable_elements=void 0;var a=i(461),l=i(461),n=i(3864),r=i(7011),o=i(7139),s=i(4566),u=i(3946);t.combobox_focusable_elements={id:"combobox_focusable_elements",context:"aria:combobox",dependencies:["combobox_popup_reference"],help:{"en-US":{Pass:"combobox_focusable_elements.html",Fail_not_tabbable:"combobox_focusable_elements.html",Fail_tabbable_child:"combobox_focusable_elements.html",group:"combobox_focusable_elements.html"}},messages:{"en-US":{Pass:"DOM focus is allowed only on the combobox element as required",Fail_not_tabbable:"The combobox element does not allow DOM focus as required",Fail_tabbable_child:"The popup of the combobox has DOM focus or has 'aria-activedescendant' defined, which is not allowed",group:"Tabbable focus for the combobox must be allowed only on the text input, except when using a dialog popup"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,d=s.CacheUtil.getCache(l.ownerDocument,"combobox",{});if(!d)return null;var c=d[e.dom.rolePath];if(!c)return null;var m=c.popupElement,p=c.expanded;if(!m)return null;var h=r.AriaUtil.getRoles(m,!0)[0],_=[];if(o.CommonUtil.isTabbable(l)||_.push((0,a.RuleFail)("Fail_not_tabbable")),!1===p||"dialog"===h)return(0,a.RulePass)("Pass");var b=!0;if(m&&u.VisUtil.isNodeVisible(m)&&(b=!o.CommonUtil.isTabbable(m)&&!r.AriaUtil.getAriaAttribute(m,"aria-activedescendant"))&&m.children&&m.children.length>0)for(var g=new n.DOMWalker(m);b&&g.nextNode()&&(1!==g.node.nodeType||!u.VisUtil.isNodeVisible(g.node)||(b=!o.CommonUtil.isTabbable(g.node)&&!r.AriaUtil.getAriaAttribute(g.node,"aria-activedescendant"),!g.bEndTag||g.node!==m.lastElementChild)););return b||_.push((0,a.RuleFail)("Fail_tabbable_child")),0===_.length?(0,a.RulePass)("Pass"):_}}},1992:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.combobox_haspopup_valid=void 0;var a=i(461),l=i(461),n=i(7011),r=i(4566);t.combobox_haspopup_valid={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_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:{"en-US":{Pass:"The 'aria-controls' (ARIA 1.2) or 'aria-owns' (ARIA 1.0) appropriately references a valid popup 'id' value",Fail_popup_role_invalid:'The \'role\' value "{0}" of the popup element "{1}" should be one of "listbox", "grid", "tree" or "dialog"',Fail_combobox_popup_role_mismatch:"The value of the combobox 'aria-haspopup' attribute \"{0}\" does not match the 'role' value of the popup element \"{1}\"",group:"The combobox attribute 'aria-haspopup' value must be appropriate for the role of the element referenced by 'aria-controls' (ARIA 1.2) or 'aria-owns' (ARIA 1.0)"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,o=r.CacheUtil.getCache(l.ownerDocument,"combobox",{});if(!o)return null;var s=o[e.dom.rolePath];if(!s)return null;var u=s.popupElement,d=s.popupId;if(!u)return null;var c=n.AriaUtil.getRoles(u,!0),m=["listbox","grid","tree","dialog"].filter((function(e){return c.includes(e)}));if(0===m.length)return(0,a.RuleFail)("Fail_popup_role_invalid",[c.join(","),d]);var p=m[0],h=l.getAttribute("aria-haspopup")||"listbox";return h===p||"listbox"===p&&!l.hasAttribute("aria-haspopup")?(0,a.RulePass)("Pass"):(0,a.RuleFail)("Fail_combobox_popup_role_mismatch",[h,p])}}},7955:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.combobox_popup_reference=void 0;var a=i(461),l=i(461),n=i(5279),r=i(4566),o=i(3946);t.combobox_popup_reference={id:"combobox_popup_reference",context:"aria:combobox",dependencies:["combobox_design_valid"],help:{"en-US":{group:"combobox_popup_reference.html","Pass_1.0_expanded":"combobox_popup_reference.html","Pass_1.0_collapsed":"combobox_popup_reference.html","Pass_1.2_expanded":"combobox_popup_reference.html","Pass_1.2_collapsed":"combobox_popup_reference.html","Fail_1.0_missing_owns":"combobox_popup_reference.html","Fail_1.2_missing_controls":"combobox_popup_reference.html","Fail_1.0_popup_reference_missing":"combobox_popup_reference.html","Fail_1.2_popup_reference_missing":"combobox_popup_reference.html",Fail_combobox_expanded_hidden:"combobox_popup_reference.html",Fail_combobox_collapsed_visible:"combobox_popup_reference.html"}},messages:{"en-US":{group:"The 'aria-controls' (for ARIA 1.2) or the 'aria-owns' (for ARIA 1.0) attribute of the expanded combobox must reference a valid popup 'id' value","Pass_1.0_expanded":"The combobox popup referenced by 'aria-owns' (ARIA 1.0) exists and is visible","Pass_1.0_collapsed":"The combobox popup in its collapsed state does not reference any visible popup as required","Pass_1.2_expanded":"The combobox popup referenced by 'aria-controls' (ARIA 1.2) exists and is visible","Pass_1.2_collapsed":"The combobox popup in its collapsed state does not reference any visible popup as required","Fail_1.0_missing_owns":"The 'aria-owns' attribute of the expanded combobox is missing","Fail_1.2_missing_controls":"The 'aria-controls' attribute of the expanded combobox is missing","Fail_1.0_popup_reference_missing":"The 'aria-owns' attribute \"{0}\" of the expanded combobox does not reference a valid popup 'id' value","Fail_1.2_popup_reference_missing":"The 'aria-controls' attribute \"{0}\" of the expanded combobox does not reference a valid popup 'id' value",Fail_combobox_expanded_hidden:"The combobox 'aria-expanded' attribute is true, but the combobox popup is not visible",Fail_combobox_collapsed_visible:"The combobox 'aria-expanded' attribute is false, but the combobox popup is visible"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[{"4e8ab6":{"Pass_1.0_expanded":"fail","Pass_1.0_collapsed":"fail","Pass_1.2_expanded":"pass","Pass_1.2_collapsed":"pass","Fail_1.0_missing_owns":"inapplicable","Fail_1.2_missing_controls":"fail","Fail_1.0_popup_reference_missing":"inapplicable","Fail_1.2_popup_reference_missing":"fail",Fail_combobox_expanded_hidden:"inapplicable",Fail_combobox_collapsed_visible:"inapplicable"}}],run:function(e,t,i){var l=e.dom.node,s=r.CacheUtil.getCache(l.ownerDocument,"combobox",{});if(!s)return null;var u=s[e.dom.rolePath];if(!u)return null;var d,c,m=u.pattern,p=u.expanded;if("1.0"===m){if(!l.hasAttribute("aria-owns"))return p?(0,a.RuleFail)("Fail_1.0_missing_owns"):null;if(d=l.getAttribute("aria-owns"),!(c=n.FragmentUtil.getById(l,d)))return p?(0,a.RuleFail)("Fail_1.0_popup_reference_missing",[d]):null}else{if("1.2"!==m)return null;if(!l.hasAttribute("aria-controls"))return p?(0,a.RuleFail)("Fail_1.2_missing_controls"):null;if(d=l.getAttribute("aria-controls"),!(c=n.FragmentUtil.getById(l,d)))return p?(0,a.RuleFail)("Fail_1.2_popup_reference_missing",[d]):null}return u.popupId=d,u.popupElement=c,p&&!o.VisUtil.isNodeVisible(c)?(0,a.RuleFail)("Fail_combobox_expanded_hidden"):!p&&o.VisUtil.isNodeVisible(c)?(0,a.RuleFail)("Fail_combobox_collapsed_visible"):"1.0"===m?p?(0,a.RulePass)("Pass_1.0_expanded"):(0,a.RulePass)("Pass_1.0_collapsed"):p?(0,a.RulePass)("Pass_1.2_expanded"):(0,a.RulePass)("Pass_1.2_collapsed")}}},9531:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.debug_paths=void 0;var a=i(461);t.debug_paths={id:"debug_paths",context:"dom:*",help:{"en-US":{group:"",Pass_0:""}},messages:{"en-US":{group:"",Pass_0:""}},rulesets:[{id:["DEBUG"],num:"1",level:a.eRulePolicy.INFORMATION,toolkitLevel:a.eToolkitLevel.LEVEL_FOUR}],act:[],run:function(e,t,i){var a=e.dom.node;return a.setAttribute("domPath",e.dom.rolePath),a.setAttribute("ariaPath",e.aria.rolePath),null}}},891:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.detector_tabbable=void 0;var a=i(7139),l=i(461),n=i(461);t.detector_tabbable={id:"detector_tabbable",context:"dom:*",help:{"en-US":{group:"",Pass_0:""}},messages:{"en-US":{group:"",Pass_0:""}},rulesets:[{id:["EXTENSIONS"],num:"1",level:n.eRulePolicy.INFORMATION,toolkitLevel:n.eToolkitLevel.LEVEL_FOUR}],act:[],run:function(e,t,i){var n=e.dom.node;if(!a.CommonUtil.isTabbable(n))return null;var r=i.aria[i.aria.length-1];return(0,l.RulePass)("Pass_0",[],[{name:r.attributes.name,role:r.role,tabindex:parseInt(n.getAttribute("tabindex")||"0")}])}}},7446:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.dir_attribute_valid=void 0;var a=i(461),l=i(461);t.dir_attribute_valid={id:"dir_attribute_valid",context:"dom:*[dir]",refactor:{Valerie_Elem_DirValid:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"dir_attribute_valid.html",Fail_1:"dir_attribute_valid.html",group:"dir_attribute_valid.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Invalid value used for the 'dir' attribute",group:'\'dir\' attribute value must be "ltr", "rtl", or "auto"'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node.getAttribute("dir").toLowerCase();return"ltr"==l||"rtl"==l||"auto"==l?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},6137:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.download_keyboard_controllable=void 0;var a=i(461),l=i(461),n=i(7139),r=i(3946);t.download_keyboard_controllable={id:"download_keyboard_controllable",context:"dom:a[href],dom:area[href]",refactor:{HAAC_Media_DocumentTrigger2:{Manual_1:"Manual_1"}},help:{"en-US":{Manual_1:"download_keyboard_controllable.html",group:"download_keyboard_controllable.html"}},messages:{"en-US":{Manual_1:"Verify that the file download mechanism does not cause a keyboard trap",group:"File download mechanisms should be keyboard-operable and preserve page focus location"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.2"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;var o=l.getAttribute("href"),s=n.CommonUtil.getFileExt(o),u=![".docx",".doc",".pdf",".odt"].includes(s);return u?null:u?void 0:(0,a.RuleManual)("Manual_1")}}},6839:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.draggable_alternative_exists=void 0;var a=i(7139),l=i(461),n=i(461),r=i(3946);t.draggable_alternative_exists={id:"draggable_alternative_exists",context:"dom:*[draggable]",dependencies:[],help:{"en-US":{group:"draggable_alternative_exists.html",pass_undraggable:"draggable_alternative_exists.html",potential_alternative:"draggable_alternative_exists.html"}},messages:{"en-US":{group:'A draggable element must have a "single pointer" alternative',pass_undraggable:'The element "{0}" is not draggable',potential_alternative:'Ensure the draggable element "{0}" has a "single pointer" alternative'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_2"],num:["2.5.7"],level:n.eRulePolicy.VIOLATION,toolkitLevel:n.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var n=e.dom.node;if(!r.VisUtil.isNodeVisible(n))return null;var o=n.nodeName.toLocaleLowerCase();return null!==a.CommonUtil.getAncestor(n,["pre","code","script","meta"])||"body"===o||"html"===o?null:"true"===n.getAttribute("draggable")?(0,l.RulePotential)("potential_alternative",[o]):"false"===n.getAttribute("draggable")?(0,l.RulePass)("pass_undraggable",[o]):null}}},8135:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_accesskey_labelled=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(3946),s=i(9910),u=i(1950);t.element_accesskey_labelled={id:"element_accesskey_labelled",context:"dom:*[accesskey]",refactor:{HAAC_Accesskey_NeedLabel:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"element_accesskey_labelled.html",Potential_1:"element_accesskey_labelled.html",group:"element_accesskey_labelled.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"The element with an assigned 'accesskey' attribute does not have an associated label",group:"An element with an assigned 'accesskey' attribute must have an associated label"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["3.3.2"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(o.VisUtil.isNodeVisible(l)&&!r.CommonUtil.isNodeDisabled(l)&&!r.CommonUtil.isTabbable(l)){var d=n.AriaUtil.getRoles(l,!0);if(d&&0!==d.length){var c=s.ARIADefinitions.designPatterns[d[0]];if(c.nameFrom&&!c.nameRequired&&c.nameFrom&&!c.nameFrom.includes("prohibited")&&(!l.parentElement||"fieldset"!==l.parentElement.nodeName.toLowerCase())){var m=u.AccNameUtil.computeAccessibleName(l);return m&&m.name&&m.name.trim().length>0?(0,a.RulePass)("Pass_0"):(0,a.RulePotential)("Potential_1")}}}}}},507:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_accesskey_unique=void 0;var a=i(461),l=i(461),n=i(4566);t.element_accesskey_unique={id:"element_accesskey_unique",context:"dom:*[accesskey]",refactor:{WCAG20_Elem_UniqueAccessKey:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"element_accesskey_unique.html",Fail_1:"element_accesskey_unique.html",group:"element_accesskey_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"'accesskey' attribute value on the element is not unique",group:"'accesskey' attribute values on each element must be unique for the page"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next"],num:["HTML"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,r=n.CacheUtil.getCache(l.ownerDocument,"element_accesskey_unique",{}),o=l.getAttribute("accesskey"),s=!(o in r);return r[o]=!0,s?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},3566:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_attribute_deprecated=void 0;var a=i(461),l=i(461),n=["applet","basefont","center","dir","font","isindex","listing","plaintext","spacer","s","strike","u","xmp","acronym","frame","frameset","noframes","noembed","big","blink","marquee","tt"],r=["align","link","archive","background","bgcolor","clear","code","color","compact","face","hspace","language","link","noshade","nowrap","object","prompt","start","text","version","vlink","vspace"],o={td:["height","width","abbr","axis","char","charoff","height","nowrap","valign","width","align","bgcolor"],th:["height","width","abbr","axis","charoff","height","bgcolor","align","nowrap","char","valign","width"],li:["type","value","type"],ul:["type","compact"],pre:["width"],meta:["http-equiv"],a:["charset","coords","shape","rev","scheme"],link:["rev","charset","target"],img:["name","longdesc","align","hspace","vspace","border"],area:["nohref"],head:["profile"],html:["version"],iframe:["longdesc","align","frameborder","marginheight","marginwidth","scrolling"],object:["archive","code","codebase","codetype","declare","standby","align","hspace","vspace","border"],param:["type","valuetype"],script:["language"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],caption:["align"],col:["align","char","charoff","valign","width"],div:["align"],dl:["compact"],hr:["align","noshade","size","width","align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],input:["align","usemap"],legend:["align"],menu:["compact"],ol:["compact","type","type"],p:["align"],table:["bgcolor","cellpadding","cellspacing","frame","rules","width","align"],tbody:["align","char","valign","charoff"],tfoot:["align","charoff","char","valign"],thead:["char","charoff","valign","align"],tr:["align","bgcolor","char","charoff","valign"]};t.element_attribute_deprecated={id:"element_attribute_deprecated",context:"dom:applet, dom:basefont, dom:center, dom:dir, dom:font, dom:isindex, dom:listing, dom:menu, dom:plaintext, dom:spacer, dom:s, dom:strike, dom:u, dom:xmp, dom:acronym, dom:frame, dom:frameset, dom:noframes, dom:noembed, dom:big, dom:blink, dom:marquee, dom:ttNaNdom:*[align], dom:*[link], dom:*[archive], dom:*[background], dom:*[bgcolor], dom:*[clear], dom:*[code], dom:*[color], dom:*[compact], dom:*[face], dom:*[hspace], dom:*[language], dom:*[link], dom:*[noshade], dom:*[nowrap], dom:*[object], dom:*[prompt], dom:*[start], dom:*[text], dom:*[version], dom:*[vlink], dom:*[vspace]NaNdom:td[height], dom:td[width], dom:td[abbr], dom:td[axis], dom:td[char], dom:td[charoff], dom:td[height], dom:td[nowrap], dom:td[valign], dom:td[width], dom:td[align], dom:td[bgcolor], dom:th[height], dom:th[width], dom:th[abbr], dom:th[axis], dom:th[charoff], dom:th[height], dom:th[bgcolor], dom:th[align], dom:th[nowrap], dom:th[char], dom:th[valign], dom:th[width], dom:li[type], dom:li[value], dom:li[type], dom:ul[type], dom:ul[compact], dom:pre[width], dom:meta[http-equiv], dom:a[charset], dom:a[coords], dom:a[shape], dom:a[rev], dom:a[scheme], dom:link[rev], dom:link[charset], dom:link[target], dom:img[name], dom:img[longdesc], dom:img[align], dom:img[hspace], dom:img[vspace], dom:img[border], dom:area[nohref], dom:head[profile], dom:html[version], dom:iframe[longdesc], dom:iframe[align], dom:iframe[frameborder], dom:iframe[marginheight], dom:iframe[marginwidth], dom:iframe[scrolling], dom:object[archive], dom:object[code], dom:object[codebase], dom:object[codetype], dom:object[declare], dom:object[standby], dom:object[align], dom:object[hspace], dom:object[vspace], dom:object[border], dom:param[type], dom:param[valuetype], dom:script[language], dom:body[alink], dom:body[background], dom:body[bgcolor], dom:body[link], dom:body[text], dom:body[vlink], dom:br[clear], dom:caption[align], dom:col[align], dom:col[char], dom:col[charoff], dom:col[valign], dom:col[width], dom:div[align], dom:dl[compact], dom:hr[align], dom:hr[noshade], dom:hr[size], dom:hr[width], dom:hr[align], dom:h2[align], dom:h3[align], dom:h4[align], dom:h5[align], dom:h6[align], dom:input[align], dom:input[usemap], dom:legend[align], dom:menu[compact], dom:ol[compact], dom:ol[type], dom:ol[type], dom:p[align], dom:table[bgcolor], dom:table[cellpadding], dom:table[cellspacing], dom:table[frame], dom:table[rules], dom:table[width], dom:table[align], dom:tbody[align], dom:tbody[char], dom:tbody[valign], dom:tbody[charoff], dom:tfoot[align], dom:tfoot[charoff], dom:tfoot[char], dom:tfoot[valign], dom:thead[char], dom:thead[charoff], dom:thead[valign], dom:thead[align], dom:tr[align], dom:tr[bgcolor], dom:tr[char], dom:tr[charoff], dom:tr[valign]",help:{"en-US":{pass:"element_attribute_deprecated.html",fail_elem:"element_attribute_deprecated.html",fail_attr:"element_attribute_deprecated.html",fail_elem_attr:"element_attribute_deprecated.html",group:"element_attribute_deprecated.html"}},messages:{"en-US":{pass:"Rule Passed",fail_elem:"The <{0}> element is deprecated in HTML 5",fail_attr:'The HTML attribute(s) "{0}" is deprecated in HTML 5',fail_elem_attr:'The HTML attribute(s) "{0}" is deprecated for the <{1}> element in HTML 5',group:"Avoid use of obsolete features if possible"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next"],num:["HTML"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;if("tbody"===l.nodeName.toLowerCase()&&l.hasAttribute("align"))return(0,a.RulePass)("pass");if(l.nodeName.includes("-"))return null;var s=l.nodeName.toLowerCase();if(n.includes(s))return(0,a.RuleFail)("fail_elem",[s]);for(var u=l.getAttributeNames(),d="",c=0,m=u;c<m.length;c++){var p=m[c];r.includes(p)&&(""!==d&&(d+=", "),d+=p)}if(""!==d)return(0,a.RuleFail)("fail_attr",[d]);if(d="",s in o){for(var h=0,_=u;h<_.length;h++)p=_[h],o[s]&&o[s].includes(p)&&(""!==d&&(d+=", "),d+=p);if(""!==d)return(0,a.RuleFail)("fail_elem_attr",[d,s])}return(0,a.RulePass)("pass")}}},5173:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_id_unique=void 0;var a=i(461),l=i(461),n=i(5279);t.element_id_unique={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:"element_id_unique.html",Pass_0:"element_id_unique.html",Fail_1:"element_id_unique.html",Fail_2:"element_id_unique.html"}},messages:{"en-US":{group:"Element 'id' attribute values must be unique within a document",Pass_0:"Rule Passed",Fail_1:'The <{0}> element has the id "{1}" that is empty',Fail_2:'The <{0}> element has the id "{1}" that is already in use'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next"],num:["HTML"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[{"3ea0c8":{Pass_0:"pass",Fail_1:"pass",Fail_2:"fail"}}],run:function(e,t,i){var l=e.dom.node,r=l.getAttribute("id");return""===r?(0,a.RuleFail)("Fail_1",[l.nodeName.toLowerCase(),r]):n.FragmentUtil.getById(l,r)===l?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_2",[l.nodeName.toLowerCase(),r])}}},6027:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_lang_valid=t.html_lang_valid=void 0;var a=i(461),l=i(461),n=i(1043),r=i(3946),o=i(3864),s=i(1950),u=function(e){var t=e.dom.node,i=t.nodeName.toLowerCase();if(t.hasAttribute("lang"))if("html"!==i&&""===t.getAttribute("lang"));else{var a=t.getAttribute("lang");if(!n.LangUtil.validPrimaryLang(a))return 1;if(!n.LangUtil.isBcp47(a))return 2}if(t.hasAttribute("xml:lang"))if("html"!==i&&""===t.getAttribute("xml:lang"));else{if(a=t.getAttribute("xml:lang"),!n.LangUtil.validPrimaryLang(a))return 3;if(!n.LangUtil.isBcp47(a))return 4}return 0};t.html_lang_valid={id:"html_lang_valid",context:"dom:html[lang], dom:html[xml:lang]",help:{"en-US":{Pass_0:"html_lang_valid.html",Fail_1:"html_lang_valid.html",Fail_2:"html_lang_valid.html",Fail_3:"html_lang_valid.html",Fail_4:"html_lang_valid.html",group:"html_lang_valid.html"}},messages:{"en-US":{Pass_0:"Lang has a valid primary lang and conforms to BCP 47",Fail_1:"Specified 'lang' attribute does not include a valid primary language",Fail_2:"Specified 'lang' attribute does not conform to BCP 47",Fail_3:"Specified 'xml:lang' attribute does not include a valid primary language",Fail_4:"Specified 'xml:lang' attribute does not conform to BCP 47",group:"The default human language of the page must be valid and specified in accordance with BCP 47"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["3.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[{b5c3f8:{Pass_0:"pass",Fail_1:"fail",Fail_2:"inapplicable",Fail_3:"inapplicable",Fail_4:"inapplicable"},bf051a:{Pass_0:"pass",Fail_1:"fail",Fail_2:"pass",Fail_3:"fail",Fail_4:"inapplicable"}}],run:function(e,t,i){var l=u(e);return[(0,a.RulePass)("Pass_0"),(0,a.RuleFail)("Fail_1"),(0,a.RuleFail)("Fail_2"),(0,a.RuleFail)("Fail_3"),(0,a.RuleFail)("Fail_4")][l]}},t.element_lang_valid={id:"element_lang_valid",context:"dom:*[lang], dom:*[xml:lang]",help:{"en-US":{Pass_0:"element_lang_valid.html",Fail_1:"element_lang_valid.html",Fail_2:"element_lang_valid.html",Fail_3:"element_lang_valid.html",Fail_4:"element_lang_valid.html",group:"element_lang_valid.html"}},messages:{"en-US":{Pass_0:"Lang has a valid primary lang and conforms to BCP 47",Fail_1:"Specified 'lang' attribute does not include a valid primary language",Fail_2:"Specified 'lang' attribute does not conform to BCP 47",Fail_3:"Specified 'xml:lang' attribute does not include a valid primary language",Fail_4:"Specified 'xml:lang' attribute does not conform to BCP 47",group:"The change in language of specific content must be valid and specified in accordance with BCP 47"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["3.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[{de46e4:{Pass_0:"pass",Fail_1:"fail",Fail_2:"pass",Fail_3:"inapplicable",Fail_4:"inapplicable"}}],run:function(e,t,i){var l=e.dom.node;if("html"===l.nodeName.toLowerCase())return null;var n=u(e),d=[(0,a.RulePass)("Pass_0"),(0,a.RuleFail)("Fail_1"),(0,a.RuleFail)("Fail_2"),(0,a.RuleFail)("Fail_3"),(0,a.RuleFail)("Fail_4")][n];if(d.value[1]!==a.eRuleConfidence.PASS){var c=!1;if(null!==l.firstChild)for(var m=new o.DOMWalker(l,!1,l,!0);!c&&m.nextNode();)if(1===m.node.nodeType){var p=m.node;if(!r.VisUtil.isNodeVisible(p)||p.hasAttribute("lang"))m.bEndTag=!0;else{var h=s.AccNameUtil.computeAccessibleName(p);c=c||"img"===p.nodeName.toLowerCase()&&h&&h.name&&h.name.trim().length>0}}else c=c||3===m.node.nodeType&&m.node.nodeValue.trim().length>0;if(!c)return null}return d}}},7515:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_mouseevent_keyboard=void 0;var a=i(461),l=i(461);t.element_mouseevent_keyboard={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:"element_mouseevent_keyboard.html",Manual_1:"element_mouseevent_keyboard.html",group:"element_mouseevent_keyboard.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Manual_1:"Confirm the <{0}> element with mouse event handler(s) '{1}' has a corresponding keyboard handler(s)",group:"All interactive content with mouse event handlers must have equivalent keyboard access"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,n=l.nodeName.toLowerCase(),r=l.hasAttribute("href")||!l.hasAttribute("ondblclick")&&!l.hasAttribute("onmousemove")&&(!l.hasAttribute("onmousedown")||l.hasAttribute("onkeydown"))&&(!l.hasAttribute("onmouseup")||l.hasAttribute("onkeyup"))&&(!l.hasAttribute("onmouseover")||l.hasAttribute("onfocus"))&&(!l.hasAttribute("onmouseout")||l.hasAttribute("onblur"))&&(!l.hasAttribute("onclick")||l.hasAttribute("onkeypress")||"a"==n||"button"==n),o=new Array;return r||(l.hasAttribute("ondblclick")&&o.push("ondblclick"),l.hasAttribute("onmousemove")&&o.push("onmousemove"),l.hasAttribute("onmousedown")&&!l.hasAttribute("onkeydown")&&o.push("onmousedown"),l.hasAttribute("onmouseup")&&!l.hasAttribute("onkeyup")&&o.push("onmouseup"),l.hasAttribute("onmouseover")&&!l.hasAttribute("onfocus")&&o.push("onmouseover"),l.hasAttribute("onmouseout")&&!l.hasAttribute("onblur")&&o.push("onmouseout"),l.hasAttribute("onclick")&&!l.hasAttribute("onkeypress")&&"a"!=n&&"button"!=n&&o.push("onclick")),r?(0,a.RulePass)("Pass_0"):(0,a.RuleManual)("Manual_1",[n,o.join(", ")])}}},1704:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_orientation_unlocked=void 0;var a=i(461),l=i(461),n=i(4919),r=i(3946),o=i(4566),s=i(5279),u=i(7139);t.element_orientation_unlocked={id:"element_orientation_unlocked",context:"dom:*",help:{"en-US":{pass:"element_orientation_unlocked.html",fail_locked:"element_orientation_unlocked.html",group:"element_orientation_unlocked.html"}},messages:{"en-US":{pass:"The element is not restricted to either landscape or portrait orientation using CSS transform property",fail_locked:"The element <{0}> is restricted to either landscape or portrait orientation using CSS transform property",group:"Elements should not be restricted to either landscape or portrait orientation using CSS transform property"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.4"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:["b33eff"],run:function(e,t,i){var l=e.dom.node;if(!r.VisUtil.isNodeVisible(l))return null;if(u.CommonUtil.getAncestor(l,["script","meta","title"]))return null;var d=l.nodeName.toLowerCase(),c=s.FragmentUtil.getOwnerFragment(l),m=o.CacheUtil.getCache(c,"RPTUtil_MEDIA_ORIENTATION_TRANSFROM",null);m||(m=n.CSSUtil.getMediaOrientationTransform(c),o.CacheUtil.setCache(c,"RPTUtil_MEDIA_ORIENTATION_TRANSFROM",m));var p=[];if(Object.keys(m).forEach((function(e){Object.keys(m[e]).forEach((function(t){Object.keys(m[e][t]).length>0&&n.CSSUtil.selectorMatchesElem(l,t)&&(m[e][t].transform?p.push(m[e][t].transform):p.push(m[e][t]))}))})),0===p.length)return null;for(var h=[],_=function(e){var t=p[e];if("object"==typeof t)for(var i in t)t=i+"("+t[i]+")";var r=!1;if(["rotate","rotate3d","rotateZ","matrix","matrix3d"].forEach((function(e){t.includes(e)&&(r=!0)})),!r)return"continue";var o=n.CSSUtil.getRotationDegree(t);if(0===o)return h.push((0,a.RulePass)("pass")),"continue";var s=n.CSSUtil.getDefinedStyles(l);s.transform&&(o+=n.CSSUtil.getRotationDegree(s.transform)),Math.abs(o-360)%360>1?h.push((0,a.RuleFail)("fail_locked",[d])):h.push((0,a.RulePass)("pass"))},b=0;b<p.length;b++)_(b);return h.length>0?h:null}}},5053:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_scrollable_tabbable=void 0;var a=i(7139),l=i(461),n=i(461),r=i(3946),o=i(4919);t.element_scrollable_tabbable={id:"element_scrollable_tabbable",context:"dom:*",dependencies:[],help:{"en-US":{group:"element_scrollable_tabbable.html",pass_tabbable:"element_scrollable_tabbable.html",pass_interactive:"element_scrollable_tabbable.html",fail_scrollable:"element_scrollable_tabbable.html"}},messages:{"en-US":{group:"Scrollable elements should be tabbable or contain tabbable content",pass_tabbable:"The scrollable element is tabbable",pass_interactive:"The scrollable element has tabbable content",fail_scrollable:"The scrollable element <{0}> with non-interactive content is not tabbable"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1"],level:n.eRulePolicy.VIOLATION,toolkitLevel:n.eToolkitLevel.LEVEL_ONE}],act:["0ssw9k"],run:function(e,t,i){var n=e.dom.node;if(r.VisUtil.isNodeVisible(n)&&!a.CommonUtil.isNodeDisabled(n)){if(a.CommonUtil.getAncestor(n,["iframe","svg","script","meta"]))return null;if(!a.CommonUtil.hasInnerContent(n))return null;var s=n.nodeName.toLowerCase(),u=getComputedStyle(n);if(!("visible"!==u.overflowX&&"hidden"!==u.overflowX||"visible"!==u.overflowY&&"hidden"!==u.overflowY))return null;if(Math.max(n.offsetWidth,n.offsetHeight)<30||Math.min(n.offsetWidth,n.offsetHeight)<15)return null;var d=o.CSSUtil.getPixelsFromStyle(u.paddingLeft,n)+o.CSSUtil.getPixelsFromStyle(u.paddingRight,n),c=o.CSSUtil.getPixelsFromStyle(u.paddingTop,n)+o.CSSUtil.getPixelsFromStyle(u.paddingBottom,n);return n.scrollWidth-n.clientWidth<1+d&&n.scrollHeight-n.clientHeight<1+c?null:a.CommonUtil.isTabbable(n)?(0,l.RulePass)("pass_tabbable"):a.CommonUtil.getTabbableChildren(n)>0?(0,l.RulePass)("pass_interactive"):!n.hasAttribute("tabindex")&&navigator.userAgent.indexOf("Firefox")>-1?null:(0,l.RuleFail)("fail_scrollable",[s])}}}},4681:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_tabbable_role_valid=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(9910),s=i(4919),u=i(3864),d=i(3946);t.element_tabbable_role_valid={id:"element_tabbable_role_valid",context:"dom:*",help:{"en-US":{pass:"element_tabbable_role_valid.html",fail_invalid_role:"element_tabbable_role_valid.html",fail_no_valid_role:"element_tabbable_role_valid.html",group:"element_tabbable_role_valid.html"}},messages:{"en-US":{pass:"The tabbable element has a widget role",fail_invalid_role:"The tabbable element's role '{0}' is not a widget role",fail_no_valid_role:"The tabbable element does not have a valid widget role",group:"A tabbable element must have a valid widget role"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE},{id:["WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.CommonUtil.isNodeDisabled(l)||d.VisUtil.isNodeHiddenFromAT(l))return null;var c=l.nodeName.toLowerCase();if(c in r.CommonUtil.tabTagMap){var m=r.CommonUtil.tabTagMap[c];if("function"==typeof m&&(m=m(l)),m)return null}if(!l.hasAttribute("tabindex")||parseInt(l.getAttribute("tabindex"))<0)return null;var p=s.CSSUtil.getDefinedStyles(l);if("scroll"===p["overflow-x"]||"scroll"===p["overflow-y"]||"auto"===p["overflow-x"]||"auto"===p["overflow-y"])return null;var h=u.DOMWalker.parentNode(l),_=n.AriaUtil.getResolvedRole(h);if(["button","checkbox","img","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"].includes(_))return null;var b=n.AriaUtil.getResolvedRole(l);return b?"application"===b?null:"row"===b||"separator"===b||"widget"===o.ARIADefinitions.designPatterns[b].roleType?(0,a.RulePass)("pass"):(0,a.RuleFail)("fail_invalid_role",[b]):(0,a.RuleFail)("fail_no_valid_role")}}},8050:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_tabbable_unobscured=void 0;var a=i(7139),l=i(461),n=i(461),r=i(3946),o=i(7507);t.element_tabbable_unobscured={id:"element_tabbable_unobscured",context:"dom:*",dependencies:[],help:{"en-US":{group:"element_tabbable_unobscured.html",pass:"element_tabbable_unobscured.html",potential_obscured:"element_tabbable_unobscured.html"}},messages:{"en-US":{group:"When an element receives focus, it is not entirely covered by other content",pass:"The element is not entirely covered by other content",potential_obscured:"Confirm that when the element receives focus, it is not covered or, if covered by user action, can be uncovered without moving focus"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_2"],num:["2.4.11"],level:n.eRulePolicy.VIOLATION,toolkitLevel:n.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var n=e.dom.node;if(!r.VisUtil.isNodeVisible(n)||!a.CommonUtil.isTabbable(n))return null;var s=n.nodeName.toLocaleLowerCase();if(null!==a.CommonUtil.getAncestor(n,["pre","code","script","meta"])||"body"===s||"html"===s)return null;var u=new o.DOMMapper,d=u.getUnadjustedBounds(n);if(!d)return null;if(0===d.height||0===d.width)return null;var c=n.ownerDocument;if(!c)return null;var m=c.defaultView;if(!m)return null;var p=m.getComputedStyle(n);if(null===p)return null;var h=p.zIndex;h&&"auto"!==h||(h="0");var _=c.querySelectorAll("body *:not(script)");if(_&&0!=_.length){var b=[],g=!0;return _.forEach((function(e){if(n.contains(e))g=!1;else if(r.VisUtil.isNodeVisible(e)&&!e.contains(n)){var t=u.getUnadjustedBounds(e),i=m.getComputedStyle(e),a="0";i&&((a=i.zIndex)&&!isNaN(Number(a))||(a="0")),0!==t.height&&0!==t.width&&t.top<=d.top&&t.left<=d.left&&t.top+t.height>=d.top+d.height&&t.left+t.height>=d.left+d.width&&(g?parseInt(h)<parseInt(a):parseInt(h)<=parseInt(a))&&b.push(e)}})),b.length>0?(0,l.RulePotential)("potential_obscured",[]):(0,l.RulePass)("pass")}}}},2644:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.element_tabbable_visible=void 0;var a=i(7139),l=i(4919),n=i(461),r=i(461),o=i(7507);t.element_tabbable_visible={id:"element_tabbable_visible",context:"dom:*",dependencies:[],help:{"en-US":{group:"element_tabbable_visible.html",pass:"element_tabbable_visible.html",potential_visible:"element_tabbable_visible.html"}},messages:{"en-US":{group:"A tabbable element should be visible on the screen when it has keyboard focus",pass:"The tabbable element is visible on the screen",potential_visible:"Confirm the element should be tabbable and if so, it becomes visible when it has keyboard focus"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.7"],level:r.eRulePolicy.VIOLATION,toolkitLevel:r.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var r=e.dom.node;if(!a.CommonUtil.isTabbable(r))return null;var s=r.nodeName.toLocaleLowerCase(),u=(new o.DOMMapper).getUnadjustedBounds(r);if(!u)return null;var d=l.CSSUtil.getDefinedStyles(r),c=l.CSSUtil.getDefinedStyles(r,":focus");if(0===u.height||0===u.width)return(0,n.RulePotential)("potential_visible",[]);if("absolute"===d.position&&d.clip&&"rect(0px,0px,0px,0px)"===d.clip.replaceAll(" ","")&&!c.clip){if("input"===s&&("checkbox"===r.getAttribute("type")||"radio"===r.getAttribute("type"))){var m=a.CommonUtil.getLabelForElement(r);if(m&&!a.CommonUtil.isInnerTextEmpty(m)){var p=l.CSSUtil.getDefinedStyles(r,":focus"),h=l.CSSUtil.getDefinedStyles(r,":focus-visible"),_=l.CSSUtil.getDefinedStyles(r,":focus-within"),b=l.CSSUtil.getDefinedStyles(r,":checked");if(p||h||_||b)return(0,n.RulePass)("pass")}}return(0,n.RulePotential)("potential_visible",[])}if(u.top>=0&&u.left>=0)return(0,n.RulePass)("pass");var g=getComputedStyle(r),f=u.top,v=u.left;if(0===Object.keys(c).length)return(0,n.RulePotential)("potential_visible",[]);var A=["absolute","fixed"];return void 0!==c.top&&(f=A.includes(c.position)||void 0===c.position&&A.includes(g.position)?c.top.replace(/\D/g,""):Number.MIN_VALUE),void 0!==c.left&&(v=A.includes(c.position)||void 0===c.position&&A.includes(g.position)?c.left.replace(/\D/g,""):Number.MIN_VALUE),f>=0&&v>=0?(0,n.RulePass)("pass"):(0,n.RulePotential)("potential_visible",[])}}},429:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.embed_alt_exists=void 0;var a=i(461),l=i(461),n=i(7139),r=i(3946);t.embed_alt_exists={id:"embed_alt_exists",context:"dom:embed",refactor:{RPT_Embed_HasAlt:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"embed_alt_exists.html",Potential_1:"embed_alt_exists.html",group:"embed_alt_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that the <embed> element has alternative content",group:"Provide alternative content for <embed> elements"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_FOUR}],act:[],run:function(e,t,i){var l=e.dom.node;return r.VisUtil.isNodeHiddenFromAT(l)?null:n.CommonUtil.attributeNonEmpty(l,"alt")?(0,a.RulePass)("Pass_0"):(0,a.RulePotential)("Potential_1")}}},7860:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.embed_noembed_exists=void 0;var a=i(461),l=i(461);t.embed_noembed_exists={id:"embed_noembed_exists",context:"dom:embed",refactor:{WCAG20_Embed_HasNoEmbed:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"embed_noembed_exists.html",Potential_1:"embed_noembed_exists.html",group:"embed_noembed_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that the <embed> element is immediately followed by a non-embedded element",group:"<embed> elements should be immediately followed by a non-embedded element"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_FOUR}],act:[],run:function(e,t,i){var l=e.dom.node,n=l.getElementsByTagName("noembed").length>0;if(!n)for(var r=l.nextSibling;!n&&null!==r;){if("noembed"==r.nodeName.toLowerCase())n=!0;else{if("#text"==r.nodeName.toLowerCase()&&r.nodeValue.trim().length>0)break;if(1==r.nodeType)break}r=r.nextSibling}return n?(0,a.RulePass)("Pass_0"):n?void 0:(0,a.RulePotential)("Potential_1")}}},4617:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.emoticons_alt_exists=void 0;var a=i(461),l=i(7139);t.emoticons_alt_exists={id:"emoticons_alt_exists",context:"dom:*",refactor:{WCAG20_Text_Emoticons:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"emoticons_alt_exists.html",Potential_1:"emoticons_alt_exists.html",group:"emoticons_alt_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that emoticons have a text alternative",group:"Emoticons must have a short text alternative that describes their purpose"}},rulesets:[],act:[],run:function(e,t,i){for(var n=e.dom.node,r=[":-)",":)",":o)",":]",":3",":c)",":>","=]","8)","=)",":D","C:",":-D",":D","8D","XD","=D","=3","<=3","<=8","--!--",":-(",":(",":c",":<",":[","D:","D8","D;","D=","DX","v.v",":-9",";-)",";)","*)",";]",";D",":-P",":P",":-p",":p","=p",":-Þ",":Þ",":-b",":b",":-O",":O","O_O","o_o","8O","OwO","O-O","0_o","O_o","O3O","o0o ;o_o;","o...o","0w0",":-/",":/",":\\","=/","=\\",":S",":|","d:-)","qB-)",":)~",":-)>....",":-X",":X",":-#",":#","O:-)","0:3","O:)",":'(",";*(","T_T","TT_TT","T.T",":-*",":*","^o)",">:)",">;)",">:-)","B)","B-)","8)","8-)","^>.>^","^<.<^","^>_>^","^<_<^","D:<",">:(","D-:<",">:-(",":-@[1]",";(","`_´","D<","<3","<333","=^_^=","=>.>=","=<_<=","=>.<=","\\,,/","\\m/","\\m/\\>.</\\m/","\\o/","\\o o/","o/\\o",":&",":u"],o=!0,s="",u=n.firstChild;u;)"#text"==u.nodeName&&(s+=" "+u.nodeValue),u=u.nextSibling;if(s.trim().length>0)for(var d=0;o&&d<r.length;++d)for(var c=s.indexOf(r[d]),m=r[d].length;o&&-1!=c;)o=(o=(o=c>0&&!/\s/.test(s.substring(c-1,c))||c<s.length-m&&!/\s/.test(s.substring(c+m,c+m+1))&&!/[.,!'"?]/.test(s.substring(c+m,c+m+1)))||(":)"==r[d]||"(:"==r[d])&&/\(\:.*\:\)/.test(s))||(";)"==r[d]||"(;"==r[d])&&/\(\;.*\;\)/.test(s),c=s.indexOf(r[d],c+1);if(!o){var p=l.CommonUtil.getAncestor(n,["pre","code","script","body"]);o=null==p||"body"!=p.nodeName.toLowerCase()}return o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RulePotential)("Potential_1")}}},5460:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.error_message_exists=void 0;var a=i(461),l=i(461),n=i(7011),r=i(5279),o=i(3946);t.error_message_exists={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:"error_message_exists.html",Fail_1:"error_message_exists.html",Fail_2:"error_message_exists.html",group:"error_message_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Custom error message has invalid reference 'id' value",Fail_2:"Custom error message is not visible",group:"A custom error message must reference a valid 'id' value and when triggered the message must be appropriately exposed"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["3.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,s=n.AriaUtil.getAriaAttribute(l,"aria-errormessage");if(!s)return null;var u=r.FragmentUtil.getById(l,s);return u?o.VisUtil.isNodeVisible(u)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_2"):(0,a.RuleFail)("Fail_1")}}},3399:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fieldset_label_valid=void 0;var a=i(461),l=i(461),n=i(5279),r=i(4566),o=i(7139),s=i(3946),u=i(1950);t.fieldset_label_valid={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:"fieldset_label_valid.html",Fail_1:"fieldset_label_valid.html",Fail_2:"fieldset_label_valid.html",group:"fieldset_label_valid.html"}},messages:{"en-US":{Pass_1:'Group/Fieldset "{0}" with an input has a unique name',Fail_1:"Group/Fieldset does not have an accessible name",Fail_2:'Group/Fieldset "{0}" has a duplicate name to another group',group:"Groups with nested inputs must have unique accessible name"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1","3.3.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;if(!s.VisUtil.isNodeHiddenFromAT(l)&&!o.CommonUtil.isNodeDisabled(l)){var d=n.FragmentUtil.getOwnerFragment(l),c=r.CacheUtil.getCache(l.ownerDocument,"landmark_group_input",null);if(!c){c={groupsWithInputs:[],groupsWithInputsComputedLabels:[]};for(var m=d.querySelectorAll('fieldset,[role="group"]'),p=Array.from(m),h=[],_=0;_<p.length;_++)p[_].querySelector("input")&&h.push(p[_]);var b=[];for(_=0;_<h.length;_++){var g=u.AccNameUtil.computeAccessibleName(h[_]);b.push(g&&g.name&&g.name.trim().length>0?g.name.trim():"")}c.groupsWithInputs=h,c.groupsWithInputsComputedLabels=b,r.CacheUtil.setCache(l.ownerDocument,"landmark_group_input",c)}var f=!1,v="";if(!c.groupsWithInputs)return null;for(_=0;_<c.groupsWithInputs.length;_++)if(l.isSameNode(c.groupsWithInputs[_])){if(f=!0,""===c.groupsWithInputsComputedLabels[_]||null===c.groupsWithInputsComputedLabels[_])return(0,a.RuleFail)("Fail_1");for(var A=!1,y=0;y<c.groupsWithInputsComputedLabels.length;y++)_!=y&&c.groupsWithInputsComputedLabels[_]===c.groupsWithInputsComputedLabels[y]&&(A=!0);if(A)return(0,a.RuleFail)("Fail_2",[c.groupsWithInputsComputedLabels[_]]);v=c.groupsWithInputsComputedLabels[_]}return f?(0,a.RulePass)("Pass_1",[v]):null}}}},3498:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fieldset_legend_valid=void 0;var a=i(461),l=i(461),n=i(7139),r=i(3946);t.fieldset_legend_valid={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:"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:{"en-US":{Pass_0:"Rule Passed",Fail_1:"<fieldset> element does not have a <legend>",Fail_2:"<fieldset> element has more than one <legend>",Fail_3:"<fieldset> element <legend> is empty",group:" <fieldset> elements should have a single, non-empty <legend> as a label"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l)||n.CommonUtil.isNodeDisabled(l))return null;var o=n.CommonUtil.getChildByTagHidden(l,"legend",!0,!1);return 0===o.length?(0,a.RuleFail)("Fail_1"):o.length>1?(0,a.RuleFail)("Fail_2"):0===n.CommonUtil.getInnerText(o[0]).trim().length?(0,a.RuleFail)("Fail_3"):(0,a.RulePass)("Pass_0")}}},9629:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.figure_label_exists=void 0;var a=i(461),l=i(461),n=i(3946),r=i(1950);t.figure_label_exists={id:"figure_label_exists",context:"dom:figure",refactor:{HAAC_Figure_label:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"figure_label_exists.html",Fail_1:"figure_label_exists.html",group:"figure_label_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"The <figure> element does not have an associated label",group:"A <figure> element must have an associated label"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;if(n.VisUtil.isNodeHiddenFromAT(l))return null;if(l.getAttribute("role"))return null;var o=r.AccNameUtil.computeAccessibleName(l);return o&&o.name&&o.name.trim().length>0?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[])}}},733:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.form_font_color=void 0;var a=i(461),l=i(461);t.form_font_color={id:"form_font_color",context:"dom:form",refactor:{RPT_Font_ColorInForm:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"form_font_color.html",Potential_1:"form_font_color.html",group:"form_font_color.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Check color is not used as the only visual means to convey which fields are required",group:"Combine color and descriptive markup to indicate required form fields"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=!0,n=e.dom.node.getElementsByTagName("font");if(null!=n)for(var r=0;r<n.length;++r)l=!n[r].hasAttribute("color");return l?(0,a.RulePass)("Pass_0"):l?void 0:(0,a.RulePotential)("Potential_1")}}},9797:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.form_interaction_review=void 0;var a=i(461),l=i(461),n=i(7139);t.form_interaction_review={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:"form_interaction_review.html",Potential_1:"form_interaction_review.html",group:"form_interaction_review.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that interacting with content will not open pop-up windows or change the active window without informing the user",group:"User should be informed in advance when interacting with content causes a change of context"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["3.2.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l={paramWinText:{value:["new window"],type:"array"}},r=e.dom.node,o=r.getAttribute("target"),s="_parent"===o||"_self"===o||"_top"===o||null!=n.CommonUtil.getFrameByName(r,o);if(!s){var u=n.CommonUtil.getInnerText(r);r.hasAttribute("title")&&(u+=" "+r.getAttribute("title"));for(var d=0;!s&&d<l.paramWinText.value.length;++d)-1!=u.indexOf(l.paramWinText.value[d])&&(s=!0)}return s?(0,a.RulePass)("Pass_0"):s?void 0:(0,a.RulePotential)("Potential_1")}}},7156:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.form_label_unique=void 0;var a=i(461),l=i(461),n=i(5279),r=i(4566);t.form_label_unique={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:"form_label_unique.html",Fail_1:"form_label_unique.html",group:"form_label_unique.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Form control has more than one label",group:"Form controls should have exactly one label"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,o=r.CacheUtil.getCache(n.FragmentUtil.getOwnerFragment(l),"RPT_Label_Single",{}),s=l.getAttribute("for"),u=!(s in o);return o[s]=!0,u?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},3062:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.form_submit_button_exists=void 0;var a=i(461),l=i(461),n=i(7011),r=i(3864);t.form_submit_button_exists={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:"form_submit_button_exists.html",Potential_1:"form_submit_button_exists.html",group:"form_submit_button_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify the <form> element has a submit button or an image button",group:"A <form> element should have a submit button or an image button"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["3.2.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,o=!1;if(l.firstChild)for(var s=new r.DOMWalker(l,!0);!o&&s.prevNode()&&s.node!=l;)if(!s.bEndTag){var u=s.node.nodeName.toLowerCase();if("input"===u){var d=s.elem().getAttribute("type");d&&(d=d.toLowerCase()),o="submit"===d||"image"===d}else"button"===u?o=s.elem().hasAttribute("type")&&"submit"===s.elem().getAttribute("type").toLowerCase():1===s.node.nodeType&&(o=n.AriaUtil.hasRole(s.node,"button"))}return o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RulePotential)("Potential_1")}}},3827:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.form_submit_review=void 0;var a=i(461);t.form_submit_review={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:"form_submit_review.html",Potential_1:"form_submit_review.html",group:"form_submit_review.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Confirm the form does not submit automatically without warning",group:"A form should not be submitted automatically without warning the user"}},rulesets:[],act:[],run:function(e,t,i){var l=0===e.dom.node.getAttribute("onchange").trim().length;return l?null:l?void 0:(0,a.RulePotential)("Potential_1")}}},5498:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.frame_src_valid=void 0;var a=i(461),l=i(461),n=i(7139);t.frame_src_valid={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:"frame_src_valid.html",Potential_1:"frame_src_valid.html",group:"frame_src_valid.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify <frame> content is accessible",group:"A <frame> containing non-HTML content must be made accessible"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,r=n.CommonUtil.attributeNonEmpty(l,"src")&&n.CommonUtil.isHtmlExt(n.CommonUtil.getFileExt(l.getAttribute("src")));return r?(0,a.RulePass)("Pass_0"):r?void 0:(0,a.RulePotential)("Potential_1")}}},510:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.frame_title_exists=void 0;var a=i(461),l=i(461),n=i(1950),r=i(3946);t.frame_title_exists={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:"frame_title_exists.html",Pass_0:"frame_title_exists.html",Fail_1:"frame_title_exists.html"}},messages:{"en-US":{group:"Inline frames must have a unique, non-empty 'title' attribute",Pass_0:"Rule Passed",Fail_1:"Inline frame does not have a 'title' attribute"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:"cae760",run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;if(l.getAttribute("role"))return null;var o=n.AccNameUtil.computeAccessibleName(l);return o&&o.name&&o.name.trim().length>0?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},7722:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.heading_content_exists=void 0;var a=i(461),l=i(461),n=i(7139);t.heading_content_exists={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:"heading_content_exists.html",Fail_1:"heading_content_exists.html",group:"heading_content_exists.html"}},messages:{"en-US":{Pass_0:"Heading element has descriptive text",Fail_1:"Heading element has no descriptive content",group:"Heading elements must provide descriptive text"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.6"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;return n.CommonUtil.hasInnerContentHidden(l)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},4597:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.heading_markup_misuse=void 0;var a=i(461),l=i(461),n=i(7139);t.heading_markup_misuse={id:"heading_markup_misuse",context:"dom:h1, dom:h2, dom:h3, dom:h4, dom:h5, dom:h6",dependencies:["heading_content_exists"],refactor:{RPT_Headers_FewWords:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"heading_markup_misuse.html",Potential_1:"heading_markup_misuse.html",group:"heading_markup_misuse.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that the heading element is a genuine heading",group:"Heading elements must not be used for presentation"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node,r=n.CommonUtil.wordCount(n.CommonUtil.getInnerText(l))<=20;return r?(0,a.RulePass)("Pass_0"):r?void 0:(0,a.RulePotential)("Potential_1")}}},2104:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.html_lang_exists=void 0;var a=i(461),l=i(461),n=i(6858),r=i(1043);t.html_lang_exists={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:"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:{"en-US":{group:"Page must identify the default language of the document with a 'lang' attribute",Pass_0:'Page language detected as "{0}"',Fail_1:"Page detected as XHTML 1.0, but has neither 'lang' nor 'xml:lang' attributes",Fail_2:"Page detected as XHTML, but does not have an 'xml:lang' attribute",Fail_3:"Page detected as HTML, but does not have a 'lang' attribute",Fail_4:"Page detected with 'lang' and 'xml:lang' attributes and primary languages do not match: \"{0}\", \"{1}\"",Fail_5:"Page detected with 'lang' and 'xml:lang' attributes that do not match: \"{0}\", \"{1}\"",Potential_5:"Page detected as XHTML 1.0 with only a 'lang' attribute. Confirm that page is only delivered via text/html mime type",Potential_6:"Page detected as XHTML 1.0 with only an 'xml:lang' attribute. Confirm that page is only delivered via xml mime type"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"3.1.1",level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[{b5c3f8:{Pass_0:"pass",Fail_1:"inapplicable",Fail_2:"inapplicable",Fail_3:"fail",Fail_4:"inapplicable",Fail_5:"inapplicable",Potential_5:"inapplicable",Potential_6:"inapplicable"},"5b7ae0":{Pass_0:"pass",Fail_1:"inapplicable",Fail_2:"inapplicable",Fail_3:"inapplicable",Fail_4:"fail",Fail_5:"pass",Potential_5:"inapplicable",Potential_6:"inapplicable"}}],run:function(e,t,i){if(n.AncestorUtil.isPresentationFrame(i))return null;var l=e.dom.node,o=l.ownerDocument.doctype?l.ownerDocument.doctype.publicId:"";o||(o="");var s=l.getAttribute("lang"),u=l.getAttribute("xml:lang");return o.includes("XHTML")&&!o.includes("1.0")?u?(0,a.RulePass)("Pass_0",[u]):(0,a.RuleFail)("Fail_2"):o.includes("XHTML")&&o.includes("1.0")?s||u?s&&u?s!==u?r.LangUtil.validPrimaryLang(s)&&r.LangUtil.validPrimaryLang(u)?r.LangUtil.matchPrimaryLang(s,u)?(0,a.RuleFail)("Fail_5",[s,u],[]):(0,a.RuleFail)("Fail_4",[s,u],[]):null:(0,a.RulePass)("Pass_0",[s]):s?(0,a.RulePotential)("Potential_5"):(0,a.RulePotential)("Potential_6"):(0,a.RuleFail)("Fail_1"):s?s&&u&&s!==u?r.LangUtil.validPrimaryLang(s)&&r.LangUtil.validPrimaryLang(u)?r.LangUtil.matchPrimaryLang(s,u)?(0,a.RuleFail)("Fail_5",[s,u],[]):(0,a.RuleFail)("Fail_4",[s,u],[]):null:(0,a.RulePass)("Pass_0",[s]):(0,a.RuleFail)("Fail_3")}}},8260:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.html_skipnav_exists=void 0;var a=i(461),l=i(461),n=i(7139),r=i(5279);t.html_skipnav_exists={id:"html_skipnav_exists",context:"dom:html",refactor:{RPT_Html_SkipNav:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{group:"html_skipnav_exists.html",Pass_0:"html_skipnav_exists.html",Potential_1:"html_skipnav_exists.html"}},messages:{"en-US":{group:"Provide a way to bypass blocks of content that are repeated on multiple Web pages",Pass_0:"Rule Passed",Potential_1:"Verify there is a way to bypass blocks of content that are repeated on multiple Web pages"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"2.4.1",level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,o=!1,s=n.CommonUtil.getDocElementsByTag(l,"frame"),u=n.CommonUtil.getDocElementsByTag(l,"h1");if(null!=s&&s.length>0||null!=u&&u.length>0)o=!0;else for(var d=n.CommonUtil.getDocElementsByTag(l,"a"),c={},m=0;!o&&m<d.length;++m)if(d[m].hasAttribute("href")){var p=d[m].href;"string"!=typeof p&&(p=p.baseVal?p.baseVal:"");var h,_="";if((h=void 0!==l.ownerDocument.locationFromDAP&&null!=l.ownerDocument.locationFromDAP?l.ownerDocument.locationFromDAP:l.ownerDocument.location)&&(_=h.href),p.startsWith("file:///")&&(p="file:/"+p.substring(8)),_.startsWith("file:///")&&(_="file:/"+_.substring(8)),"#"==p.charAt(0)||p.startsWith(_+"#")){var b=n.CommonUtil.getFileAnchor(p);null!=r.FragmentUtil.getById(l,b)?o=!0:c[b]=!0}}else if(d[m].hasAttribute("name")){var g=d[m].getAttribute("name");-1!=g.indexOf("#")&&(g=n.CommonUtil.getFileAnchor(g)),o=g in c}return o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RulePotential)("Potential_1")}}},8920:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.iframe_interactive_tabbable=void 0;var a=i(7139),l=i(461),n=i(461),r=i(3946),o=i(7507);t.iframe_interactive_tabbable={id:"iframe_interactive_tabbable",context:"dom:iframe",dependencies:[],help:{"en-US":{group:"iframe_interactive_tabbable.html",pass:"iframe_interactive_tabbable.html",fail_invalid:"iframe_interactive_tabbable.html"}},messages:{"en-US":{group:"Iframe with interactive content should not be excluded from tab order using tabindex",pass:"The iframe with interactive content is not excluded from the tab order using tabindex",fail_invalid:"The <iframe> with interactive content is excluded from tab order using tabindex"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1"],level:n.eRulePolicy.VIOLATION,toolkitLevel:n.eToolkitLevel.LEVEL_ONE}],act:["akn7bn"],run:function(e,t,i){var n=e.dom.node;if(!r.VisUtil.isNodeHiddenFromAT(n)&&!a.CommonUtil.isNodeDisabled(n)){var s=(new o.DOMMapper).getUnadjustedBounds(n);if(!s)return null;if(Math.max(s.height,s.width)<30||Math.min(s.height,s.width)<15)return null;if(!n.hasAttribute("tabindex")||parseInt(n.getAttribute("tabindex"))>=0)return(0,l.RulePass)("pass");var u=n;return u&&u.contentDocument&&u.contentDocument.documentElement&&a.CommonUtil.getTabbableChildren(n)>0?(0,l.RuleFail)("fail_invalid"):null}}}},1237:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.imagebutton_alt_exists=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139);t.imagebutton_alt_exists={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:"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:{"en-US":{Pass_0:"Image button provides alternative text using the 'alt' attribute",Pass_1:"Image button provides alternative text using an ARIA label",Pass_2:"Image button provides alternative text using the 'title' attribute",Fail:'The <input> element of type "image" has no text alternative',group:'The <input> element of type "image" should have a text alternative'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:"59796f",run:function(e,t,i){var l=e.dom.node;return l.hasAttribute("type")&&"image"==l.getAttribute("type").toLowerCase()?r.CommonUtil.attributeNonEmpty(l,"alt")?(0,a.RulePass)("Pass_0"):n.AriaUtil.hasAriaLabel(l)?(0,a.RulePass)("Pass_1"):l.hasAttribute("title")&&l.getAttribute("title").length>0?(0,a.RulePass)("Pass_2"):(0,a.RuleFail)("Fail"):null}}},4101:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.imagemap_alt_exists=void 0;var a=i(461),l=i(461),n=i(7139),r=i(3946);t.imagemap_alt_exists={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:"imagemap_alt_exists.html",Fail_1:"imagemap_alt_exists.html",group:"imagemap_alt_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Image map or child <area> has no text alternative",group:"An image map and each <area> element in an image map must have text alternative(s)"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;return r.VisUtil.isNodeHiddenFromAT(l)?null:n.CommonUtil.attributeNonEmpty(l,"alt")||!l.hasAttribute("ismap")&&!n.CommonUtil.attributeNonEmpty(l,"usemap")?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},275:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.img_alt_background=void 0;var a=i(461),l=i(461),n=i(3946);t.img_alt_background={id:"img_alt_background",context:"dom:*",refactor:{HAAC_BackgroundImg_HasTextOrTitle:{Pass_0:"Pass_0",Manual_1:"Manual_1"}},help:{"en-US":{Pass_0:"img_alt_background.html",Manual_1:"img_alt_background.html",group:"img_alt_background.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Manual_1:"Verify important background image information has a text alternative in system high contrast mode",group:"Background images that convey important information must have a text alternative that describes the image"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node;if(n.VisUtil.isNodeHiddenFromAT(l))return null;var r=l.ownerDocument.defaultView.getComputedStyle(l);if(null==r)return(0,a.RulePass)("Pass_0");var o=r.backgroundImage,s=!0;if(null!=o&&""!=o&&"none"!=o&&"inherit"!=o)if(null!=l.innerHTML&&0!=l.innerHTML.trim().length)s=!1;else{var u=l.getAttribute("title");null!=u&&0!=u.length&&(s=!1)}return s?(0,a.RulePass)("Pass_0"):s?void 0:(0,a.RuleManual)("Manual_1")}}},7601:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.img_alt_decorative=void 0;var a=i(461),l=i(461),n=i(7011),r=i(3946);t.img_alt_decorative={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:"img_alt_decorative.html",Fail_1:"img_alt_decorative.html",group:"img_alt_decorative.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Image designated as decorative has non-null 'alt' attribute",group:'Image designated as decorative must have \'alt=""'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;var o=!0;return(n.AriaUtil.hasRole(l,"presentation")||n.AriaUtil.hasRole(l,"none"))&&(o=0==l.getAttribute("alt").length),o?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},7541:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.img_alt_misuse=void 0;var a=i(461),l=i(461),n=i(3946);t.img_alt_misuse={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:"img_alt_misuse.html",Potential_1:"img_alt_misuse.html",group:"img_alt_misuse.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that the file name serves as a good inline replacement for the image",group:"'alt' attribute value must be a good inline replacement for the image"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(n.VisUtil.isNodeHiddenFromAT(l))return null;var r=l.nodeName.toLowerCase(),o=!0;if(l.hasAttribute("alt")){var s=l.getAttribute("alt").trim();if(s.length>0){for(var u=["short description"],d=0;o&&d<u.length;++d)o=-1==s.indexOf(u[d]);if(o){var c=l.getAttribute("area"==r?"href":"src");null!=c&&(o=c.trim()!=s&&(-1==s.indexOf(".")||-1==s.indexOf(c)&&-1==c.indexOf(s)))}}}return o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RulePotential)("Potential_1")}}},8274:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.img_alt_null=void 0;var a=i(461),l=i(461),n=i(3946),r=i(7011),o=i(7139);t.img_alt_null={id:"img_alt_null",context:"dom:img[alt]",refactor:{WCAG20_Img_TitleEmptyWhenAltNull:{Pass_0:"pass",Fail_1:"fail_decorative"}},help:{"en-US":{pass:"img_alt_null.html",fail_decorative:"img_alt_null.html",potential_aria_override:"img_alt_null.html",group:"img_alt_null.html"}},messages:{"en-US":{pass:"Neither 'aria' nor 'title' attributes are used for the decorative image",fail_decorative:"The image 'alt' attribute is empty, but the 'title' attribute is not empty",potential_aria_override:"The image 'alt' attribute is empty, but the 'aria' label is not empty and overrides the 'alt' attribute",group:"When the intent is to mark an image as decorative with an empty 'alt' attribute, the 'aria' or 'title' attributes should not be used"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[{"46ca7f":{potential_aria_override:"fail"}}],run:function(e,t,i){var l=e.dom.node;return n.VisUtil.isNodeHiddenFromAT(l)||l.getAttribute("alt").trim().length>0?null:r.AriaUtil.getAriaLabel(l).length>0?(0,a.RulePotential)("potential_aria_override"):o.CommonUtil.attributeNonEmpty(l,"title")?(0,a.RuleFail)("fail_decorative"):(0,a.RulePass)("pass")}}},590:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.img_alt_redundant=void 0;var a=i(461),l=i(461),n=i(3864),r=i(7139);t.img_alt_redundant={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:"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:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Link text is repeated in an image 'alt' value within the same link",Fail_2:"Link text of previous link is repeated in image 'alt' value of a link",Fail_3:"Image 'alt' value within a link is repeated in link text of the link after",group:"The text alternative for an image within a link should not repeat the link text or adjacent link text"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1","2.4.4"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node,o=r.CommonUtil.getAncestor(l,"a");if(null==o)return null;var s=l.getAttribute("alt").trim().toLowerCase();if(0==s.length)return null;var u=o.innerText,d="";if(null!=u&&(d=u.trim().toLowerCase()),!(d.length>0)){for(var c=!0,m=new n.DOMWalker(o);c&&m.prevNode()&&!("#text"==(h=(p=m.node).nodeName.toLowerCase())&&p.nodeValue.length>0||"img"==h&&r.CommonUtil.attributeNonEmpty(p,"alt"));)"a"!==h||r.CommonUtil.shouldNodeBeSkippedHidden(p)||(c=(p.innerText||p.textContent||"").trim().toLowerCase()!=s);if(!c)return(0,a.RuleFail)("Fail_2");for(m=new n.DOMWalker(o,!0);c&&m.nextNode();){var p,h;if("#text"==(h=(p=m.node).nodeName.toLowerCase())&&p.nodeValue.length>0||"img"==h&&r.CommonUtil.attributeNonEmpty(p,"alt"))break;"a"!=h||r.CommonUtil.shouldNodeBeSkippedHidden(p)||(c=p.innerText.trim().toLowerCase()!=s)}return c?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_3")}return s==d?(0,a.RuleFail)("Fail_1"):void 0}}},8925:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.img_alt_valid=void 0;var a=i(461),l=i(461),n=i(7011),r=i(3946);t.img_alt_valid={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:"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:{"en-US":{pass:"The image has an accessible name or is correctly marked as decorative or redundant",fail_blank_alt:"Image 'alt' attribute value consists only of blank space(s)",fail_no_alt:"The image has neither an accessible name nor is marked as decorative or redundant",fail_blank_title:"The image does not have an 'alt' attribute or ARIA label, and the 'title' attribute value consists only of blank space(s)",group:"Images must have accessible names unless they are decorative or redundant"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:"23a2a8",run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;if(0!==n.AriaUtil.getAriaLabel(l).trim().length)return(0,a.RulePass)("pass");var o=l.hasAttribute("alt")?l.getAttribute("alt"):null;if(null!==o)return 0===o.length||o.trim().length>0?(0,a.RulePass)("pass"):(0,a.RuleFail)("fail_blank_alt");var s=l.hasAttribute("title")?l.getAttribute("title"):null;if(null!==s&&0!==s.length)return 0===s.trim().length?(0,a.RuleFail)("fail_blank_title"):(0,a.RulePass)("pass");if(null===o){var u=n.AriaUtil.getResolvedRole(l,!1);return"presentation"===u||"none"===u?(0,a.RulePass)("pass"):(0,a.RuleFail)("fail_no_alt")}return 0===o.length?(0,a.RulePass)("pass"):void 0}}},9234:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.img_ismap_misuse=void 0;var a=i(461),l=i(461),n=i(7139),r=i(3946);t.img_ismap_misuse={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:"img_ismap_misuse.html",Potential_1:"img_ismap_misuse.html",group:"img_ismap_misuse.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Server-side image map hot-spots do not have duplicate text links",group:"Server-side image map hot-spots must have duplicate text links"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;var o=!1;if(l.hasAttribute("usemap")){var s=l.getAttribute("usemap"),u=(s=s.trim().toLowerCase()).indexOf("#");if(-1!=u&&(s=s.substr(u+1)),s.length>0)for(var d=n.CommonUtil.getDocElementsByTag(l,"map"),c=0;!o&&c<d.length;++c)o=d[c].hasAttribute("name")&&d[c].getAttribute("name").toLowerCase()==s}return o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RulePotential)("Potential_1")}}},8617:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.img_longdesc_misuse=void 0;var a=i(461),l=i(461),n=i(7139),r=i(3946);t.img_longdesc_misuse={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:"img_longdesc_misuse.html",Potential_1:"img_longdesc_misuse.html",group:"img_longdesc_misuse.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that the file designated by the 'longdesc' attribute contains valid HTML content (file extension not recognized)",group:" The 'longdesc' attribute must reference HTML content"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;var o=l.getAttribute("longdesc"),s=n.CommonUtil.getFileExt(o),u=0!=s.length&&n.CommonUtil.isHtmlExt(s)||o.startsWith("#")||o.startsWith("http://")||o.startsWith("https://")||o.startsWith("data:");return u?(0,a.RulePass)("Pass_0"):u?void 0:(0,a.RulePotential)("Potential_1")}}},591:function(e,t,i){var a=this&&this.__createBinding||(Object.create?function(e,t,i,a){void 0===a&&(a=i);var l=Object.getOwnPropertyDescriptor(t,i);l&&!("get"in l?!t.__esModule:l.writable||l.configurable)||(l={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,a,l)}:function(e,t,i,a){void 0===a&&(a=i),e[a]=t[i]}),l=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||a(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),l(i(2297),t),l(i(4401),t),l(i(4546),t),l(i(9292),t),l(i(9605),t),l(i(3987),t),l(i(8631),t),l(i(8025),t),l(i(1198),t),l(i(8001),t),l(i(5778),t),l(i(8118),t),l(i(2242),t),l(i(3673),t),l(i(5080),t),l(i(183),t),l(i(6805),t),l(i(1886),t),l(i(4078),t),l(i(5750),t),l(i(85),t),l(i(514),t),l(i(5310),t),l(i(9083),t),l(i(6049),t),l(i(5099),t),l(i(2759),t),l(i(3141),t),l(i(5131),t),l(i(5167),t),l(i(8115),t),l(i(5733),t),l(i(5782),t),l(i(6731),t),l(i(390),t),l(i(3900),t),l(i(1218),t),l(i(6734),t),l(i(9973),t),l(i(5711),t),l(i(3384),t),l(i(2762),t),l(i(5757),t),l(i(5232),t),l(i(1891),t),l(i(6142),t),l(i(4863),t),l(i(1440),t),l(i(1968),t),l(i(1617),t),l(i(3475),t),l(i(3370),t),l(i(9272),t),l(i(7735),t),l(i(3923),t),l(i(7521),t),l(i(1852),t),l(i(799),t),l(i(4614),t),l(i(5952),t),l(i(5395),t),l(i(1992),t),l(i(7955),t),l(i(9531),t),l(i(891),t),l(i(7446),t),l(i(6137),t),l(i(6839),t),l(i(8135),t),l(i(507),t),l(i(3566),t),l(i(5173),t),l(i(6027),t),l(i(7515),t),l(i(1704),t),l(i(5053),t),l(i(4681),t),l(i(8050),t),l(i(2644),t),l(i(429),t),l(i(7860),t),l(i(4617),t),l(i(5460),t),l(i(3399),t),l(i(3498),t),l(i(9629),t),l(i(733),t),l(i(9797),t),l(i(7156),t),l(i(3062),t),l(i(3827),t),l(i(5498),t),l(i(510),t),l(i(7722),t),l(i(4597),t),l(i(2104),t),l(i(8260),t),l(i(8920),t),l(i(1237),t),l(i(4101),t),l(i(275),t),l(i(7601),t),l(i(7541),t),l(i(8274),t),l(i(590),t),l(i(8925),t),l(i(9234),t),l(i(8617),t),l(i(1939),t),l(i(7726),t),l(i(3142),t),l(i(1353),t),l(i(2631),t),l(i(8550),t),l(i(8853),t),l(i(3180),t),l(i(1382),t),l(i(953),t),l(i(2222),t),l(i(4678),t),l(i(7578),t),l(i(9964),t),l(i(6401),t),l(i(1174),t),l(i(9907),t),l(i(6032),t),l(i(5622),t),l(i(2240),t),l(i(4019),t),l(i(361),t),l(i(5960),t),l(i(5515),t),l(i(8752),t),l(i(8834),t),l(i(1025),t),l(i(9116),t),l(i(435),t),l(i(6640),t),l(i(2068),t),l(i(7322),t),l(i(5702),t),l(i(1961),t),l(i(3022),t),l(i(375),t),l(i(4658),t),l(i(4605),t),l(i(5294),t),l(i(3506),t),l(i(7475),t),l(i(8064),t),l(i(7942),t),l(i(2219),t),l(i(1473),t),l(i(1912),t),l(i(6539),t),l(i(4),t),l(i(5334),t),l(i(2173),t),l(i(8349),t),l(i(8142),t),l(i(3980),t),l(i(4701),t),l(i(18),t),l(i(9314),t),l(i(1667),t),l(i(9599),t),l(i(4672),t),l(i(4353),t),l(i(7147),t),l(i(1419),t),l(i(855),t),l(i(3420),t),l(i(408),t)},1939:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.input_autocomplete_valid=void 0;var a=i(461),l=i(461),n=i(7139),r=i(3946);t.input_autocomplete_valid={id:"input_autocomplete_valid",context:"dom:input[autocomplete], dom:textarea[autocomplete], dom:select[autocomplete]",refactor:{WCAG21_Input_Autocomplete:{Pass_0:"pass",Fail_1:"fail_inappropriate",Fail_2:"fail_invalid",Fail_attribute_incorrect:"fail_incorrect"}},help:{"en-US":{group:"input_autocomplete_valid.html",pass:"input_autocomplete_valid.html",fail_inappropriate:"input_autocomplete_valid.html",fail_invalid:"input_autocomplete_valid.html",fail_incorrect:"input_autocomplete_valid.html"}},messages:{"en-US":{group:"The 'autocomplete' attribute's token(s) must be appropriate for the input form field",pass:"The 'autocomplete' attribute's token(s) is appropriate for the input form field",fail_inappropriate:"The 'autocomplete' attribute's token(s) are not appropriate for the input form field",fail_invalid:"The 'autocomplete' attribute's token(s) are not appropriate for an input form field of any type",fail_incorrect:"The 'autocomplete' attribute has an incorrect value"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.5"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[{"73f2c2":{pass:"pass",fail_inappropriate:"fail",fail_invalid:"pass",fail_incorrect:"fail"}}],run:function(e,t,i){var l=e.dom.node;if(!r.VisUtil.isNodeVisible(l)||n.CommonUtil.isNodeDisabled(l))return null;var o=l.getAttribute("autocomplete").trim().toLowerCase(),s=o.split(/\s+/);if(0===s.length||0===o.length)return null;var u={tokensOnOff:["on","off"],tokenOptionalSection:"section-",tokensOptionalPurpose:["shipping","billing"],tokensMandatoryGroup1_password:["new-password","current-password","one-time-code"],tokensMandatoryGroup1_multiline:["street-address"],tokensMandatoryGroup1_month:["cc-exp"],tokensMandatoryGroup1_numeric:["cc-exp-month","cc-exp-year","transaction-amount","bday-day","bday-month","bday-year"],tokensMandatoryGroup1_date:["bday"],tokensMandatoryGroup1_url:["url","photo"],tokensMandatoryGroup1_text:["name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","username","organization-title","organization","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-csc","cc-type","transaction-currency","language","sex"],tokensMandatoryGroup1_all:["name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","username","new-password","current-password","organization-title","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","url","photo"],tokensOptionalGroup2:["home","work","mobile","fax","pager"],tokensMandatoryGroup2_tel:["tel"],tokensMandatoryGroup2_email:["email"],tokensMandatoryGroup2_url:["impp"],tokensMandatoryGroup2_text:["tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension"],tokensMandatoryGroup2_all:["tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"],tokensOptionGroup1_webauthn:["webauthn"]},d=[];for(var c in u)d=d.concat(u[c]);var m=!1,p=!0,h=l.nodeName.toLowerCase();if(!s.every((function(e){return d.includes(e)||e.startsWith(u.tokenOptionalSection)})))return(0,a.RuleFail)("fail_incorrect");var _=l.hasAttribute("type")?l.getAttribute("type").trim().toLowerCase():"text",b=[],g=[],f=[];if("textarea"===h||"select"===h)b=u.tokensMandatoryGroup1_all,g=u.tokensMandatoryGroup2_all,"textarea"===h&&(f=u.tokensOptionGroup1_webauthn);else{if("input"!==h)return null;switch(f=u.tokensOptionGroup1_webauthn,_){case"text":case"search":b=u.tokensMandatoryGroup1_text.concat(u.tokensMandatoryGroup1_password,u.tokensMandatoryGroup1_url,u.tokensMandatoryGroup1_numeric,u.tokensMandatoryGroup1_month,u.tokensMandatoryGroup1_date),g=u.tokensMandatoryGroup2_all;break;case"password":b=u.tokensMandatoryGroup1_password;break;case"url":b=u.tokensMandatoryGroup1_url,g=u.tokensMandatoryGroup2_url;break;case"email":g=u.tokensMandatoryGroup2_email;break;case"tel":g=u.tokensMandatoryGroup2_tel;break;case"number":b=u.tokensMandatoryGroup1_numeric;break;case"month":b=u.tokensMandatoryGroup1_month;break;case"date":b=u.tokensMandatoryGroup1_date;break;default:return null}}if(s.includes("on")||s.includes("off"))return 1===s.length?(0,a.RulePass)("pass"):(0,a.RuleFail)("fail_invalid");var v=0,A=0;return s[v].startsWith(u.tokenOptionalSection)&&s[v].length>8&&(v++,A++),s.length>v&&u.tokensOptionalPurpose.includes(s[v])&&(v++,A++),s.length>v&&(b.includes(s[v])?(m=!0,v++):(u.tokensOptionalGroup2.includes(s[v])&&v++,g.includes(s[v])&&(m=!0,v++))),s.length>A&&(u.tokensMandatoryGroup1_all.includes(s[A])?(p=!0,A++):(u.tokensOptionalGroup2.includes(s[A])&&A++,u.tokensMandatoryGroup2_all.includes(s[A])&&(p=!0,A++))),s.length>v+A&&f.includes(s[v+A])&&v++,(s.length>v&&f.includes(s[v])||s.length>A&&f.includes(s[A]))&&(v++,A++),m&&s.length===v?(0,a.RulePass)("pass"):p&&s.length===A?(0,a.RuleFail)("fail_incorrect"):(0,a.RuleFail)("fail_inappropriate")}}},7726:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.input_checkboxes_grouped=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(3864),s=i(4566),u=i(3946),d=i(9196);t.input_checkboxes_grouped={id:"input_checkboxes_grouped",context:"dom:input[type=radio], dom:input[type=checkbox]",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:"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:{"en-US":{group:"Related sets of radio buttons or checkboxes should be programmatically grouped",pass_lonenogroup:"{0} grouping not required for a control of this type",pass_grouped:"{0} input is grouped with other related controls with the same name",pass_radiononame:"Radio input is not grouped, but passes because it has no name to group with other radio inputs",fail_controlnamemismatch:'{0} input found that has the same name, "{2}" as a {1} input',fail_notgroupedothergrouped:'{0} input is not in the group with another {0} with the name "{1}"',fail_notgroupedothernotgrouped:'{0} input and others with the name "{1}" are not grouped together',fail_notsamegroup:'{0} input is in a different group than another {0} with the name "{1}"',potential_lonecheckbox:"Verify that this ungrouped checkbox input is not related to other checkboxes",potential_unnamedcheckbox:"Verify that this un-named, ungrouped checkbox input is not related to other checkboxes"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node;if(u.VisUtil.isNodeHiddenFromAT(l))return null;var c=function(e){var t=r.CommonUtil.getAncestor(e,"fieldset")||n.AriaUtil.getAncestorWithRole(e,"radiogroup")||n.AriaUtil.getAncestorWithRole(e,"group")||n.AriaUtil.getAncestorWithRole(e,"grid")||n.AriaUtil.getAncestorWithRole(e,"table");return t||(t=r.CommonUtil.getAncestor(e,"table"))&&!d.TableUtil.isDataTable(t)&&(t=null),t},m=l.getAttribute("type").toLowerCase(),p=n.AriaUtil.getAncestorWithRole(l,"form")||r.CommonUtil.getAncestor(l,"html")||l.ownerDocument.documentElement,h=s.CacheUtil.getCache(p,"input_checkboxes_grouped",null);if(!h){h={checkboxByName:{},radiosByName:{},nameToGroup:{},numCheckboxes:0,numRadios:0};for(var _=new o.DOMWalker(p,!1,p,!0),b=[],g=[];_.nextNode();)if(!_.bEndTag&&1===_.node.nodeType&&"input"===_.node.nodeName.toLowerCase()&&u.VisUtil.isNodeVisible(_.node)){var f=_.node.getAttribute("type");"checkbox"===f?b.push(_.node):"radio"===f&&g.push(_.node)}for(var v=0;v<b.length;++v){var A=b[v];if((n.AriaUtil.getAncestorWithRole(A,"form")||r.CommonUtil.getAncestor(l,"html")||l.ownerDocument.documentElement)===p&&!r.CommonUtil.shouldNodeBeSkippedHidden(A)){var y=A.getAttribute("name")||"";(h.checkboxByName[y]=h.checkboxByName[y]||[]).push(A),h.nameToGroup[y]=h.nameToGroup[y]||c(A),++h.numCheckboxes}}for(v=0;v<g.length;++v){var w=g[v];if((n.AriaUtil.getAncestorWithRole(w,"form")||r.CommonUtil.getAncestor(l,"html")||l.ownerDocument.documentElement)===p&&!r.CommonUtil.shouldNodeBeSkippedHidden(w)){var k=w.getAttribute("name")||"";(h.radiosByName[k]=h.radiosByName[k]||[]).push(w),h.nameToGroup[k]=h.nameToGroup[k]||c(w),++h.numRadios}}s.CacheUtil.setCache(p,"input_checkboxes_grouped",h)}var C=l.getAttribute("name"),x=c(l);if(m="radio"===m?"Radio":"Checkbox",C&&""!==C){var P=(h.radiosByName[C]||[]).length,R=(h.checkboxByName[C]||[]).length;return P>0&&R>0?(0,a.RuleFail)("fail_controlnamemismatch",[m,"checkbox"===m?"radio":"checkbox",C]):"Radio"===m&&(1===h.numRadios||1===P)||"Checkbox"===m&&1===h.numCheckboxes?null===x?(0,a.RulePass)("pass_lonenogroup",[m]):(0,a.RulePass)("pass_grouped",[m]):"Checkbox"===m&&h.numCheckboxes>1&&1===R?null===x?(0,a.RulePotential)("potential_lonecheckbox",[m]):(0,a.RulePass)("pass_grouped",[m]):null===x?null!==h.nameToGroup[C]?(0,a.RuleFail)("fail_notgroupedothergrouped",[m,C]):(0,a.RuleFail)("fail_notgroupedothernotgrouped",[m,C]):h.nameToGroup[C]!==x?(0,a.RuleFail)("fail_notsamegroup",[m,C]):(0,a.RulePass)("pass_grouped",[m])}return"Radio"===m?null===x?(0,a.RulePass)("pass_radiononame",[m]):(0,a.RulePass)("pass_grouped",[m]):null===x?(h.checkboxByName[""]||[]).length>1?(0,a.RulePotential)("potential_unnamedcheckbox",[m]):(0,a.RulePass)("pass_lonenogroup",[m]):(0,a.RulePass)("pass_grouped",[m])}}},3142:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.input_fields_grouped=void 0;var a=i(461),l=i(461),n=i(7139);t.input_fields_grouped={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:"input_fields_grouped.html",Potential_1:"input_fields_grouped.html",group:"input_fields_grouped.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Use the <fieldset> element to group logically related input elements",group:"Groups of logically related input elements should be contained within a <fieldset> element"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node;if("input"==l.nodeName.toLowerCase()&&l.hasAttribute("type")&&"text"!=(m=l.getAttribute("type").toLowerCase())&&"file"!=m&&"password"!=m)return(0,a.RulePass)("Pass_0");if(null!=n.CommonUtil.getAncestor(l,"fieldset"))return(0,a.RulePass)("Pass_0");for(var r=n.CommonUtil.getAncestor(l,["form","body"]),o=["input","textarea","select"],s=!0,u=0;s&&u<o.length;++u)for(var d=r.getElementsByTagName(o[u]),c=0;s&&c<d.length;++c)if(!n.CommonUtil.shouldNodeBeSkippedHidden(d[c])){var m=d[c].hasAttribute("type")?d[c].getAttribute("type").toLowerCase():"text";s=d[c]==l||"text"!=m&&"password"!=m&&"file"!=m}return s?(0,a.RulePass)("Pass_0"):s?void 0:(0,a.RulePotential)("Potential_1")}}},1353:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.input_haspopup_conflict=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(3946);t.input_haspopup_conflict={id:"input_haspopup_conflict",context:"dom:input[list][aria-haspopup]",refactor:{input_haspopup_invalid:{Potential_1:"potential_type_misuse",Potential_2:"potential_misuse"}},help:{"en-US":{group:"input_haspopup_conflict.html",potential_type_misuse:"input_haspopup_conflict.html",potential_misuse:"input_haspopup_conflict.html",potential_list_notexist:"input_haspopup_conflict.html",fail_invalid_list_type:"input_haspopup_conflict.html",fail_invalid_list_elem:"input_haspopup_conflict.html"}},messages:{"en-US":{group:"<input> element with a 'list' attribute should not use an explicit 'aria-haspopup' attribute",potential_type_misuse:"The <input> element with type \"{0}\" and 'list' attribute uses an explicit 'aria-haspopup' attribute",potential_misuse:"The <input> element with a missing or invalid type and 'list' attribute uses an explicit 'aria-haspopup' attribute",potential_list_notexist:"The list attribute for the <input> element is invalid",fail_invalid_list_type:'The list attribute for the <input> element with the type "{0}" is invalid',fail_invalid_list_elem:"The list attribute for the <input> element does not reference a datalist element"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(o.VisUtil.isNodeHiddenFromAT(l)||r.CommonUtil.isNodeDisabled(l))return null;var s=n.AriaUtil.getUserDefinedRoles(l);if(s&&s.length>0&&!s.includes("combobox"))return null;var u=["text","search","tel","url","email","date","month","week","time","datetime-local","number","range","color"],d=["file","password","checkbox","radio","submit","reset","image","hidden","button"],c=l.getAttribute("type");if(!c||0===c.trim().length)return(0,a.RulePotential)("potential_misuse");if(c=c.trim().toLowerCase(),!u.includes(c)&&!d.includes(c))return(0,a.RulePotential)("potential_misuse");if(c&&d.includes(c))return(0,a.RuleFail)("fail_invalid_list_type");var m=l.getAttribute("list");if(!m||0===m.trim().length)return(0,a.RulePotential)("potential_list_notexist");var p=l.ownerDocument.getElementById(m);return p?"datalist"!==p.nodeName.toLowerCase()?(0,a.RuleFail)("fail_invalid_list_elem"):u.includes(c)?(0,a.RulePotential)("potential_type_misuse",[c]):void 0:(0,a.RuleFail)("potential_list_notexist")}}},2631:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.input_label_after=void 0;var a=i(461),l=i(461),n=i(3864),r=i(7139);t.input_label_after={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:"input_label_after.html",Fail_1:"input_label_after.html",Fail_2:"input_label_after.html",group:"input_label_after.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Checkbox or radio button is nested in label, so label is not after the input control",Fail_2:"Label text is located before its associated checkbox or radio button element",group:"Checkboxes and radio buttons must have a label after the input control"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["3.3.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,o="";if(l.hasAttribute("type")&&(o=l.getAttribute("type").toLowerCase()),"checkbox"!=o&&"radio"!=o)return null;var s=r.CommonUtil.getLabelForElementHidden(l,!0);if(null===s||!r.CommonUtil.hasInnerContentHidden(s))return null;var u,d=r.CommonUtil.compareNodeOrder(s,l);if(-2===d){u=!1;var c=new n.DOMWalker(s);for(c.node=l;!u&&c.nextNode();)u="#text"===c.node.nodeName.toLowerCase()&&c.node.nodeValue.trim().length>0||"span"===c.node.nodeName.toLowerCase()&&c.node.textContent.trim().length>0;if(!u)return(0,a.RuleFail)("Fail_1")}else if(1!=d)return(0,a.RuleFail)("Fail_2");return(0,a.RulePass)("Pass_0")}}},8550:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.input_label_before=void 0;var a=i(461),l=i(461),n=i(7139);t.input_label_before={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:"input_label_before.html",Fail_1:"input_label_before.html",Fail_2:"input_label_before.html",group:"input_label_before.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Text input is nested in label such that input precedes the label text",Fail_2:"Label text is located after its associated text input or <select> element",group:"Text inputs and <select> elements must have a label before the input control"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["3.3.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if("input"==l.nodeName.toLowerCase()&&l.hasAttribute("type")){var r=l.getAttribute("type").toLowerCase();if("text"!=r&&"file"!=r&&"password"!=r)return null}var o=n.CommonUtil.getLabelForElementHidden(l,!0);if(null==o||!n.CommonUtil.hasInnerContentHidden(o))return null;var s=n.CommonUtil.compareNodeOrder(o,l);if(-2===s){var u=n.CommonUtil.getInnerText(l);if(u&&u.trim().length>0&&n.CommonUtil.getInnerText(l).trim()===u.trim())return null;for(var d=!1,c=l.previousSibling;!d&&null!==c;)d="#text"==c.nodeName.toLowerCase()&&c.nodeValue.trim().length>0||"span"==c.nodeName.toLowerCase()&&c.textContent.trim().length>0,c=c.previousSibling;if(!d)return(0,a.RuleFail)("Fail_1")}else if(-1!=s)return(0,a.RuleFail)("Fail_2");return(0,a.RulePass)("Pass_0")}}},8853:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.input_label_exists=void 0;var a=i(461),l=i(461),n=i(7011),r=i(3946),o=i(1950);t.input_label_exists={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:"input_label_exists.html",Fail_1:"input_label_exists.html",Fail_2:"input_label_exists.html",group:"input_label_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Form control element <{0}> has no associated label",Fail_2:'Form control with "{0}" role has no associated label',group:"Each form control must have an associated label"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:["97a4e1","e086e5"],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;var s=l.nodeName.toLowerCase();if("datalist"===s)return null;var u="text";if("input"==s&&l.hasAttribute("type")?u=l.getAttribute("type").toLowerCase():("button"===s||n.AriaUtil.hasRoleInSemantics(l,"button"))&&(u="buttonelem"),"input"==s&&""==u&&(u="text"),"image"===u)return null;var d=o.AccNameUtil.computeAccessibleName(l);return d&&d.name&&d.name.trim().length>0?(0,a.RulePass)("Pass_0"):l.hasAttribute("role")&&l.getAttribute("role").trim().length>0?(0,a.RuleFail)("Fail_2",l.getAttribute("role").split(" ")):(0,a.RuleFail)("Fail_1",[s])}}},3180:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.input_label_visible=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(5279),s=i(3946),u=i(1686),d=i(1950);t.input_label_visible={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",dependencies:["input_label_exists"],refactor:{WCAG20_Input_VisibleLabel:{Pass_0:"pass",Potential_1:"potential_no_label",potential_placeholder_only:"potential_placeholder_only"}},help:{"en-US":{pass:"input_label_visible.html",potential_placeholder_only:"input_label_visible.html",potential_no_label:"input_label_visible.html",group:"input_label_visible.html"}},messages:{"en-US":{pass:"The input element has an associated visible label",potential_placeholder_only:"The ‘placeholder’ is the only visible label",potential_no_label:"The input element does not have an associated visible label",group:"An input element must have an associated visible label"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.5.3","3.3.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,c=l.nodeName.toLowerCase();if("datalist"===c)return null;if(!s.VisUtil.isNodeVisible(l)||r.CommonUtil.isNodeDisabled(l))return null;if(r.CommonUtil.getAncestor(l,"table"))return null;if(n.AriaUtil.getAncestorWithRole(l,"combobox")&&!(n.AriaUtil.hasRoleInSemantics(l,"textbox")||n.AriaUtil.hasRoleInSemantics(l,"searchbox")||"input"===c||"select"===c&&n.AriaUtil.hasRoleInSemantics(l,"combobox")))return null;for(var m=["listbox","tree","grid","dialog"],p=0;p<m.length;p++)if(n.AriaUtil.hasRoleInSemantics(l,m[p]))for(var h=r.CommonUtil.getElementsByRoleHidden(l.ownerDocument,"combobox",!0,!0),_=0;_<h.length;_++){var b=h[_],g=r.CommonUtil.getElementAttribute(b,"aria-owns");if(g)for(var f=r.CommonUtil.normalizeSpacing(g.trim()).split(" "),v=0;v<f.length;v++)if(o.FragmentUtil.getById(l,f[v])===l)return null}var A=d.AccNameUtil.computeAccessibleName(l);if(("input"===c||"button"===c)&&A&&A.name&&A.name.trim().length>0&&("label"===A.nameFrom||"internal"===A.nameFrom||"alt"===A.nameFrom))return(0,a.RulePass)("pass");var y=n.AriaUtil.getResolvedRole(l);if(y&&"button"===y&&"input"!==c&&"button"!==c&&!r.CommonUtil.getAncestor(l,"form"))return null;if(A&&A.name&&A.name.trim().length>0&&("text"===A.nameFrom||"title"===A.nameFrom))return(0,a.RulePass)("pass");var w=n.AriaUtil.getAllDescendantsWithRoles(l,["img","graphics-document","graphics-object","graphics-symbol"],!1,!0);if(w&&w.length>0)for(var k=0;k<w.length;k++)if(r.CommonUtil.attributeNonEmpty(w[k],"title")||r.CommonUtil.attributeNonEmpty(w[k],"alt"))return(0,a.RulePass)("pass");if(r.CommonUtil.attributeNonEmpty(l,"aria-labelledby")){var C=l.getAttribute("aria-labelledby").split(/\s+/);for(p=0;p<C.length;++p){var x=o.FragmentUtil.getById(l,C[p]);if(x&&!u.DOMUtil.sameNode(x,l)&&s.VisUtil.isNodeVisible(x)&&r.CommonUtil.hasInnerContentHidden(x))return(0,a.RulePass)("pass")}}if(("optgroup"===c||"option"==c)&&A&&A.name&&A.name.trim().length>0&&("label"===A.nameFrom||"content"===A.nameFrom))return(0,a.RulePass)("pass");var P=l.getAttribute("id");return P&&P.trim().length>0&&l.ownerDocument.querySelector("*[aria-controls='".concat(P,"'][role='combobox']"))?null:r.CommonUtil.attributeNonEmpty(l,"placeholder")?(0,a.RulePotential)("potential_placeholder_only"):(0,a.RulePotential)("potential_no_label")}}},1382:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.input_onchange_review=void 0;var a=i(461),l=i(461);t.input_onchange_review={id:"input_onchange_review",context:"dom:input[onchange], dom:textarea[onchange], dom:select[onchange]",refactor:{WCAG20_Input_HasOnchange:{Potential_1:"potential_warning"}},help:{"en-US":{potential_warning:"input_onchange_review.html",group:"input_onchange_review.html"}},messages:{"en-US":{group:"Users must be advised if, due to a change of element value, a form automatically submits, a new window opens, or a change in focus occurs",potential_warning:"Confirm that the user is advised if, due to a change of element value, a form automatically submits, a new window opens, or a change in focus occurs"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["3.2.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;if("input"==l.nodeName.toLowerCase()&&l.hasAttribute("type")){var n=l.getAttribute("type").toLowerCase();if("hidden"===n||"submit"===n||"image"===n||"button"===n||"reset"===n)return null}return(0,a.RulePotential)("potential_warning")}}},953:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.input_placeholder_label_visible=void 0;var a=i(461);t.input_placeholder_label_visible={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:"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:{"en-US":{Pass_0:"Rule Passed",Potential_1:"HTML5 placeholder is the only visible label",Potential_2:"Additional visible label referenced by 'aria-labelledby' is not valid",group:"HTML5 'placeholder' attribute must not be used as a visible label replacement"}},rulesets:[],act:[],run:function(e,t,i){var l=e.dom.node;if(l.hasAttribute("type")){var n=l.getAttribute("type").toLowerCase();if("hidden"==n||"button"==n)return(0,a.RulePass)("Pass_0")}if(l.hasAttribute("hidden")){var r=l.getAttribute("hidden");if(""==r||"hidden"==r.toLowerCase())return(0,a.RulePass)("Pass_0")}if(l.hasAttribute("aria-label"))return(0,a.RulePotential)("Potential_1");if(l.hasAttribute("aria-labelledby")&&l.hasAttribute("id")){var o=l.getAttribute("id").trim();return l.getAttribute("aria-labelledby").trim().split(/\s+/).includes(o)?(0,a.RulePotential)("Potential_2"):(0,a.RulePass)("Pass_0")}return(0,a.RulePass)("Pass_0")}}},2222:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.label_content_exists=void 0;var a=i(461),l=i(461),n=i(7139),r=i(5279),o=i(1686);t.label_content_exists={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:"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:{"en-US":{Pass_Regular:"<label> element has accessible name with inner content",Pass_AriaLabel:"<label> element has accessible name via 'aria-label'",Pass_LabelledBy:"<label> element has accessible name via 'aria-labelledby'",Fail_1:"The <label> element does not have descriptive text that identifies the expected input",group:"A <label> element must have non-empty descriptive text that identifies the purpose of the interactive component"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(n.CommonUtil.hasInnerContentHidden(l))return(0,a.RulePass)("Pass_Regular");if((l.getAttribute("aria-label")||"").trim().length>0)return(0,a.RulePass)("Pass_AriaLabel");if(l.hasAttribute("aria-labelledby")){var s=r.FragmentUtil.getById(l,l.getAttribute("aria-labelledby"));if(s&&!o.DOMUtil.sameNode(s,l)&&n.CommonUtil.hasInnerContent(s))return(0,a.RulePass)("Pass_LabelledBy")}return(0,a.RuleFail)("Fail_1")}}},4678:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.label_name_visible=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(5279),s=i(3946),u=i(4919),d=i(3864);t.label_name_visible={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:"label_name_visible.html",Fail_1:"label_name_visible.html",group:"label_name_visible.html"}},messages:{"en-US":{Pass_0:"Accessible name matches or contains the visible label text",Fail_1:"Accessible name does not match or contain the visible label text",group:"Accessible name must match or contain the visible label text"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_2"],num:["2.5.3"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:"2ee8b8",run:function(e,t,i){var l=e.dom.node;if(!s.VisUtil.isNodeVisible(l)||r.CommonUtil.isNodeDisabled(l))return null;if(u.CSSUtil.isMaterialIconFont(l))return(0,a.RulePass)("Pass_0");var c=!0,m=l.nodeName.toLowerCase(),p=!1,h=null;"input"===m&&l.hasAttribute("type")&&(h=l.getAttribute("type").toLowerCase(),-1!==r.CommonUtil.form_button_types.indexOf(h)&&(p=!0));var _=n.AriaUtil.getAriaAttribute(l,"aria-labelledby");if(!_||r.CommonUtil.isIdReferToSelf(l,_)||p){var b=null;if(_&&!r.CommonUtil.isIdReferToSelf(l,_))for(var g=_.split(/\s+/),f=0;f<g.length;++f){var v=o.FragmentUtil.getById(l,g[f]);if(v){b=r.CommonUtil.getInnerText(v);break}}else b=n.AriaUtil.getAriaAttribute(l,"aria-label");if(!b)return null;var A=null;if(p&&(l.hasAttribute("value")?A=l.getAttribute("value"):"submit"===h?A="submit":"reset"===h&&(A="reset")),!A){var y=r.CommonUtil.getLabelForElementHidden(l,!0);if(!y){var w=d.DOMWalker.parentNode(l);if("label"===w.nodeName.toLowerCase()){var k=w.cloneNode(!0);y=r.CommonUtil.removeAllFormElementsFromLabel(k)}}var C=y||l;A=y||-1===["meter","output","progress","select","textarea"].indexOf(m)?r.CommonUtil.getOnScreenInnerText(C):""}var x=/[^a-zA-Z0-9]/g;A=A.replace(x," ");var P=r.CommonUtil.normalizeSpacing(A).toLowerCase();b=b.replace(x," ");var R=r.CommonUtil.normalizeSpacing(b).toLowerCase();if(P.length>1){var T=R.indexOf(P);if(T>=0&&R.length>P.length){var U=/^[0-9a-zA-Z]+$/;T+P.length<R.length&&R.charAt(T+P.length).match(U)&&(c=!1),c&&T>0&&R.charAt(T-1).match(U)&&(c=!1)}-1===T&&(c=!1)}}return c?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},7578:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.label_ref_valid=void 0;var a=i(461),l=i(461),n=i(5279),r=i(3946);t.label_ref_valid={id:"label_ref_valid",context:"dom:label[for]",refactor:{WCAG20_Label_RefValid:{Pass_0:"pass",Fail_1:"fail_invalid"}},help:{"en-US":{pass:"label_ref_valid.html",fail_invalid:"label_ref_valid.html",group:"label_ref_valid.html"}},messages:{"en-US":{pass:"The 'for' attribute for a label referencea a unique non-empty 'id' attribute of a valid element",fail_invalid:"The value \"{0}\" of the 'for' attribute is not the 'id' of a valid element",group:"The 'for' attribute for a label should reference a non-empty, unique 'id' attribute of a valid element"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,o=l.getAttribute("for"),s=!1,u=n.FragmentUtil.getById(l,o);if(u){if(!r.VisUtil.isNodeVisible(u)&&!r.VisUtil.isNodeVisible(l))return null;if(s=!0,!u.hasAttribute("role")){var d=u.nodeName.toLowerCase();if(s="input"==d||"select"==d||"textarea"==d||"button"==d||"datalist"==d||"optgroup"==d||"option"==d||"keygen"==d||"output"==d||"progress"==d||"meter"==d||"fieldset"==d||"legend"==d,"input"==u.nodeName.toLowerCase()&&u.hasAttribute("type")){var c=u.getAttribute("type").toLowerCase();s="text"==c||"password"==c||"file"==c||"checkbox"==c||"radio"==c||"hidden"==c||"search"==c||"tel"==c||"url"==c||"email"==c||"date"==c||"number"==c||"range"==c||"image"==c||"time"==c||"color"==c||"datetime-local"==c||"month"==c||"week"==c}}s&&!r.VisUtil.isNodeVisible(u)&&(s=!1)}var m=[];return s||m.push(o),s?(0,a.RulePass)("pass"):(0,a.RuleFail)("fail_invalid",m)}}},9964:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.list_children_valid=void 0;var a=i(461),l=i(461),n=i(7011),r=i(3864);t.list_children_valid={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:"list_children_valid.html",Fail_1:"list_children_valid.html",group:"list_children_valid.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'List component with "group" role has children that are not <listitem> elements',group:'List component with "group" role must limit children to <listitem> elements'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,o=r.DOMWalker.parentElement(l);if(!n.AriaUtil.hasRoleInSemantics(o,"list"))return null;for(var s=!0,u=l.children,d=0;s&&d<u.length;d++)s=n.AriaUtil.hasRoleInSemantics(u[d],"listitem");return s?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},6401:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.list_markup_review=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(3864),s=i(3946);t.list_markup_review={id:"list_markup_review",context:"dom:*",refactor:{RPT_List_UseMarkup:{Potential_1:"Potential_1"}},help:{"en-US":{potential_list:"list_markup_review.html",group:"list_markup_review.html"}},messages:{"en-US":{potential_list:"Verify this is a list and if so, modify to use proper HTML elements for the list",group:"Proper HTML elements should be used to create a list"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,u=l.nodeName.toLowerCase();if(r.CommonUtil.isNodeDisabled(l)||s.VisUtil.hiddenByDefaultElements.includes(u))return null;if(null===r.CommonUtil.getAncestor(l,["body"]))return null;if(null!==r.CommonUtil.getAncestor(l,["script","label"]))return null;var d=n.AriaUtil.getRolesWithTypes(l,["widget"]);if(r.CommonUtil.concatUniqueArrayItemList(["caption","code","columnheader","figure","list","listitem","math","meter","columnheader","rowheader"],d),null!==n.AriaUtil.getAncestorWithRoles(l,d))return null;for(var c=!0,m=l.firstChild;c&&m;){if("#text"==m.nodeName){var p=m.nodeValue;if(!(c=!/^[ \t\r\n]*[( ]*[1-9]*[\*\-).][ \t][A-Z,a-z]+/.test(p)))for(var h=new o.DOMWalker(m);!c&&h.prevNode();){var _=h.node.nodeName.toLowerCase();if(["blockquote","center","dir","div","form","h1","h2","h3","h4","h5","h6","hr","br","menu","p","pre"].includes(_))break;if("#text"==_){var b=h.node.nodeValue;c=b.length>0&&![" ","\t","\n"].includes(b.charAt(b.length-1))}}}m=m.nextSibling}return c?null:c?void 0:(0,a.RulePotential)("potential_list")}}},1174:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.list_structure_proper=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139);t.list_structure_proper={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:"list_structure_proper.html",Potential_1:"list_structure_proper.html",group:"list_structure_proper.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"List element is missing or improperly structured",group:"List elements should only be used for lists of related items"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l,o=e.dom.node,s=o.nodeName.toLowerCase();if(o.children,"dl"==s){var u="",d="",c=o.firstChild;l=!0;var m=!1;if(o.children&&0!=o.children.length){for(;l&&null!=c;){if(1==c.nodeType){var p=c.nodeName.toLowerCase();if(n.AriaUtil.isPresentationalElement(c)){m=!0,c=c.nextSibling;continue}l="dd"==p||"dt"==p,""==u&&(u=p),d=p}c=c.nextSibling}l=l&&"dt"==u&&"dd"==d||l&&m}else l=!0}else if("li"==s)l=null!=r.CommonUtil.getAncestor(o,["ul","ol","dir","menu"]);else if("dd"==s||"dt"==s)l=null!=r.CommonUtil.getAncestor(o,"dl");else if(c=o.firstChild,"ul"!=s&&"ol"!=s&&"menu"!=s||o.children&&0!=o.children.length){var h=!1;for(m=!1,l=!0;l&&null!=c;)n.AriaUtil.isPresentationalElement(c)?(m=!0,c=c.nextSibling):(l=1!=c.nodeType||"li"==c.nodeName.toLowerCase()||"template"==c.nodeName.toLowerCase()&&("ul"==s||"ol"==s),h=h||1==c.nodeType&&"li"==c.nodeName.toLowerCase(),c=c.nextSibling);l=l&&h||l&&m}else l=!0;return l?(0,a.RulePass)("Pass_0"):l?void 0:(0,a.RulePotential)("Potential_1")}}},9907:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.marquee_elem_avoid=void 0;var a=i(461),l=i(461);t.marquee_elem_avoid={id:"marquee_elem_avoid",context:"dom:marquee",refactor:{RPT_Marquee_Trigger:{Fail_1:"Fail_1"}},help:{"en-US":{Fail_1:"marquee_elem_avoid.html",group:"marquee_elem_avoid.html"}},messages:{"en-US":{Fail_1:"Scrolling content found that uses the obsolete <marquee> element",group:"The <marquee> element is obsolete and should not be used"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.2.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){return e.dom.node,(0,a.RuleFail)("Fail_1")}}},6032:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.media_alt_brief=void 0;var a=i(461),l=i(461),n=i(3946);t.media_alt_brief={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:"media_alt_brief.html",Potential_1:"media_alt_brief.html",group:"media_alt_brief.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Text alternative is more than 150 characters",group:"Alternative text in 'alt' attribute should be brief (<150 characters)"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node;if(n.VisUtil.isNodeHiddenFromAT(l))return null;var r=l.getAttribute("alt").trim().length<=150;return r?(0,a.RulePass)("Pass_0"):r?void 0:(0,a.RulePotential)("Potential_1")}}},5622:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.media_alt_exists=void 0;var a=i(461),l=i(461),n=i(7139),r=i(3946);t.media_alt_exists={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:"media_alt_exists.html",Potential_1:"media_alt_exists.html",group:"media_alt_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Filename used as label for embedded audio or video",group:"Audio or video on the page must have a short text alternative that describes the media content"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;var o="";null==(o="area"==l.nodeName.toLowerCase()?l.getAttribute("href"):l.getAttribute("src"))&&(o="");var s=n.CommonUtil.getFileExt(o),u=0!=s.length&&(n.CommonUtil.isAudioExt(s)||n.CommonUtil.isVideoExt(s)),d=l.getAttribute("alt"),c=!u||d.length>0&&-1==d.indexOf(s);return c?(0,a.RulePass)("Pass_0"):c?void 0:(0,a.RulePotential)("Potential_1")}}},2240:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.media_audio_transcribed=void 0;var a=i(461),l=i(461),n=i(7139),r=i(3946);t.media_audio_transcribed={id:"media_audio_transcribed",context:"dom:bgsound, dom:a[href], dom:area[href], dom:embed, dom:object",refactor:{RPT_Media_AudioTrigger:{Manual_1:"Manual_1"}},help:{"en-US":{Manual_1:"media_audio_transcribed.html",group:"media_audio_transcribed.html"}},messages:{"en-US":{Manual_1:"Provide transcripts for audio files",group:"Audio information should also be available in text form"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.2.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l,o=e.dom.node;return r.VisUtil.isNodeHiddenFromAT(o)||(l="bgsound"!=o.nodeName.toLowerCase()&&!n.CommonUtil.isAudioObjEmbedLink(o))?null:l?void 0:(0,a.RuleManual)("Manual_1")}}},4019:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.media_autostart_controllable=void 0;var a=i(461),l=i(461);t.media_autostart_controllable={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:"media_autostart_controllable.html",Potential_1:"media_autostart_controllable.html",group:"media_autostart_controllable.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify there is a mechanism to pause or stop and control the volume for the audio that plays automatically",group:"Mechanism must be available to pause or stop and control the volume of the audio that plays automatically"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.4.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l,n=e.dom.node,r=n.nodeName.toLowerCase();if("bgsound"==r)l=!1;else if("param"==r){var o="";n.hasAttribute("value")&&(o=n.getAttribute("value").toLowerCase()),l=0==o.indexOf("0;")||!(-1!=o.indexOf("true")||-1!=o.indexOf("1"))}else if("embed"==r){var s;l=!0,n.hasAttribute("flashvars")&&(l=-1==(s=n.getAttribute("flashvars")).indexOf("autostart=true")&&-1==s.indexOf("autostart=1")),l&&n.hasAttribute("src")&&(l=-1==(s=n.getAttribute("src")).indexOf("autostart=true")&&-1==s.indexOf("autostart=1"))}if(l&&n.hasAttribute("autostart")){var u=n.getAttribute("autostart").toLowerCase();l="true"!=u&&"1"!=u}return l?(0,a.RulePass)("Pass_0"):(0,a.RulePotential)("Potential_1")}}},361:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.media_keyboard_controllable=void 0;var a=i(461),l=i(461),n=i(3946);t.media_keyboard_controllable={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:"media_keyboard_controllable.html",Manual_1:"media_keyboard_controllable.html",group:"media_keyboard_controllable.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Manual_1:"Verify media using <audio> and/or <video> elements have keyboard accessible controls",group:"Media using <audio> and/or <video> elements must have keyboard accessible controls"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node;if(n.VisUtil.isNodeHiddenFromAT(l))return null;var r=!0,o=l.nodeName.toLowerCase();return"audio"!=o&&"video"!==o||(r=!1),r?(0,a.RulePass)("Pass_0"):(0,a.RuleManual)("Manual_1")}}},5960:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.media_live_captioned=void 0;var a=i(461),l=i(461),n=i(7139);t.media_live_captioned={id:"media_live_captioned",context:"dom:embed, dom:object",refactor:{RPT_Media_VideoObjectTrigger:{Manual_1:"Manual_1"}},help:{"en-US":{Manual_1:"media_live_captioned.html",group:"media_live_captioned.html"}},messages:{"en-US":{Manual_1:"Verify captions are provided for live media (streaming video with audio)",group:"Live media (streaming video with audio) should have captions for audio content"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.2.4"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,r=!n.CommonUtil.isVideoObjEmbedLink(l);return r?null:r?void 0:(0,a.RuleManual)("Manual_1")}}},5515:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.media_track_available=void 0;var a=i(461),l=i(461),n=i(7139),r=i(3946);t.media_track_available={id:"media_track_available",context:"dom:a[href], dom:area[href], dom:applet, dom:embed, dom:object",refactor:{RPT_Media_VideoReferenceTrigger:{Manual_1:"Manual_1"}},help:{"en-US":{Manual_1:"media_track_available.html",group:"media_track_available.html"}},messages:{"en-US":{Manual_1:"Verify availability of a user-selectable audio track with description of visual content",group:"Pre-recorded media should have an audio track that describes visual information"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.2.3","1.2.5"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;var o;return(o="applet"!=l.nodeName.toLowerCase()&&!n.CommonUtil.isVideoObjEmbedLink(l))?null:o?void 0:(0,a.RuleManual)("Manual_1")}}},8752:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.meta_redirect_optional=void 0;var a=i(5279),l=i(7139),n=i(461),r=i(461);t.meta_redirect_optional={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:"meta_redirect_optional.html",pass:"meta_redirect_optional.html",fail:"meta_redirect_optional.html",fail_longrefresh:"meta_redirect_optional.html"}},messages:{"en-US":{group:"Page should not automatically refresh without warning or option to turn it off or adjust the time limit",pass:"Rule Passed",fail:"Check page does not automatically refresh without warning or options",fail_longrefresh:"Check page does not automatically refresh without warning or options"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.2.1"],level:r.eRulePolicy.VIOLATION,toolkitLevel:r.eToolkitLevel.LEVEL_THREE}],act:[{bc659a:{pass:"pass",fail:"fail",fail_longrefresh:"pass"}}],run:function(e,t,i){var r=e.dom.node;if("refresh"!==r.getAttribute("http-equiv").toLowerCase())return null;var o=r.getAttribute("content").toLowerCase();if(!o.match(/^\d+$/)&&!o.match(/^\d+;/))return null;if(l.CommonUtil.triggerOnce(a.FragmentUtil.getOwnerFragment(r),"meta_redirect_optional",!1))return null;var s=o.match(/^(\d+); +[^ ]/);return s&&0!==parseInt(s[1])?parseInt(s[1])<72001?(0,n.RuleFail)("fail"):(0,n.RuleFail)("fail_longrefresh"):(0,n.RulePass)("pass")}}},8834:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.meta_refresh_delay=void 0;var a=i(461),l=i(461);t.meta_refresh_delay={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:"meta_refresh_delay.html",Pass_0:"meta_refresh_delay.html",Potential_1:"meta_refresh_delay.html"}},messages:{"en-US":{group:"Pages should not refresh automatically",Pass_0:"Rule Passed",Potential_1:"Verify page is not being caused to refresh automatically"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.2.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:["bisz58","bc659a"],run:function(e,t,i){var l=e.dom.node;if("refresh"!==l.getAttribute("http-equiv").toLowerCase())return null;var n=l.getAttribute("content").toLowerCase();return n.match(/^\d+$/)||n.match(/^\d+;/)?n.match(/^\d+; +[^ ]/)?(0,a.RulePass)("Pass_0"):(0,a.RulePotential)("Potential_1"):null}}},1025:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.meta_viewport_zoomable=void 0;var a=i(461),l=i(461);t.meta_viewport_zoomable={id:"meta_viewport_zoomable",context:"dom:meta[name][content]",refactor:{meta_viewport_zoom:{Pass_0:"pass",Potential_1:"potential_zoomable"}},help:{"en-US":{group:"meta_viewport_zoomable.html",pass:"meta_viewport_zoomable.html",potential_zoomable:"meta_viewport_zoomable.html"}},messages:{"en-US":{group:"The 'meta[name=viewport]' should not prevent the browser zooming the content",pass:"The 'meta[name=viewport]' does not prevent the browser zooming the content",potential_zoomable:"Confirm the 'meta[name=viewport]' with \"{0}\" can be zoomed by user"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.4.4"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[{b4f0c3:{Pass_0:"pass",Potential_1:"fail"}}],run:function(e,t,i){var l=e.dom.node;if("viewport"!==l.getAttribute("name").toLowerCase())return null;var n=l.getAttribute("content").toLowerCase();if(!n||""===n.trim()||!n.includes("maximum-scale")&&!n.includes("user-scalable"))return null;for(var r=null,o=null,s="yes",u="2.0",d=0,c=n.split(",");d<c.length;d++){var m=c[d],p=m.trim().split("=");p.length<2||(m.includes("user-scalable")?(r=m,((s=p[1].trim()).startsWith("'")||s.startsWith('"'))&&(s=s.substring(1,s.length-1))):m.includes("maximum-scale")&&(o=m,((u=p[1].trim()).startsWith("'")||u.startsWith('"'))&&(u=u.substring(1,u.length-1).trim())))}var h=Number(s);isNaN(h)||(h>=1||h<=-1)&&(s="yes");var _;return h=Number(u),_=isNaN(h)?"yes"===u?1:.1:h<0?2:h,"yes"!==s?(0,a.RulePotential)("potential_zoomable",[r]):_<2?(0,a.RulePotential)("potential_zoomable",[o]):(0,a.RulePass)("pass")}}},9116:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.noembed_content_exists=void 0;var a=i(461),l=i(461),n=i(7139),r=i(3946);t.noembed_content_exists={id:"noembed_content_exists",context:"dom:noembed",refactor:{Valerie_Noembed_HasContent:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"noembed_content_exists.html",Potential_1:"noembed_content_exists.html",group:"noembed_content_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Add descriptive text to the <noembed> element",group:"<noembed> elements should contain descriptive text"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_FOUR}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l))return null;var o=n.CommonUtil.hasInnerContentHidden(l);return o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RulePotential)("Potential_1")}}},435:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.object_text_exists=void 0;var a=i(461),l=i(461),n=i(3946),r=i(1950);t.object_text_exists={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:"object_text_exists.html",pass:"object_text_exists.html",fail_no_text_alternative:"object_text_exists.html"}},messages:{"en-US":{group:"<object> element must have a text alternative for the content rendered by the object",pass:"<object> element has a text alternative",fail_no_text_alternative:"An <object> element does not have a text alternative"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:"8fc3b6",run:function(e,t,i){var l=e.dom.node;if(n.VisUtil.isNodeHiddenFromAT(l))return null;if(l.hasAttribute("type")&&-1!==l.getAttribute("type").indexOf("text"))return null;if(l.getAttribute("role"))return null;var o=l.getAttribute("data"),s=o&&"string"==typeof o?o.substring(o.lastIndexOf(".")):"";if(".html"===s||".htm"===s)return null;var u=r.AccNameUtil.computeAccessibleName(l);return u&&u.name&&u.name.trim().length>0?(0,a.RulePass)("pass"):(0,a.RuleFail)("fail_no_text_alternative")}}},6640:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.page_title_exists=void 0;var a=i(461),l=i(461),n=i(7139),r=i(6858);t.page_title_exists={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:"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:{"en-US":{group:"The page should have a title that correctly identifies the subject of the page",Pass_0:"Rule Passed",Fail_1:"Missing <head> element so there can be no <title> element present",Fail_2:"Missing <title> element in <head> element",Fail_3:"The <title> element is empty (no innerHTML)"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[{"2779a5":{Pass_0:"pass",Fail_1:"pass",Fail_2:"fail",Fail_3:"fail"}}],run:function(e,t,i){if(r.AncestorUtil.isFrame(i))return null;for(var l=e.dom.node,o=l.firstChild,s=null;null!=o&&"head"!=o.nodeName.toLowerCase();)o=o.nextSibling;for(var u=l.querySelectorAll("title"),d=0;d<u.length;++d)if(!n.CommonUtil.getAncestor(u[d],["svg"])){s=u[d];break}return null!==o||s?null===s?(0,a.RuleFail)("Fail_2"):null!=s&&n.CommonUtil.getInnerText(s).trim().length>0?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_3"):(0,a.RuleFail)("Fail_1")}}},2068:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.page_title_valid=void 0;var a=i(461),l=i(461),n=i(7139);t.page_title_valid={id:"page_title_valid",context:"dom:head dom:title",refactor:{RPT_Title_Valid:{Pass_0:"Pass_0",Potential_2:"Potential_2"}},help:{"en-US":{Pass_0:"page_title_valid.html",Potential_2:"page_title_valid.html",group:"page_title_valid.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_2:"Verify that using the filename as the page <title> value is descriptive",group:"Page <title> should be a descriptive title, rather than a filename"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,r=n.CommonUtil.getInnerText(l).trim(),o=r.toLowerCase();return o.includes(".com")||o.includes(".net")||o.includes(".org")?(0,a.RulePass)("Pass_0",[r]):0===r.length?null:/^\S*\.[a-zA-Z]{1,4}(?!.)|^https?:\/\/\S*/i.test(r)?(0,a.RulePotential)("Potential_2"):(0,a.RulePass)("Pass_0",[r])}}},7322:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.script_focus_blur_review=void 0;var a=i(461),l=i(461);t.script_focus_blur_review={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:"script_focus_blur_review.html",Potential_1:"script_focus_blur_review.html",group:"script_focus_blur_review.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify script does not remove focus from content that normally receives focus",group:"Scripting must not remove focus from content that normally receives focus"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1","2.4.7","3.2.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=-1==e.dom.node.getAttribute("onfocus").indexOf(".blur(");return l?(0,a.RulePass)("Pass_0"):l?void 0:(0,a.RulePotential)("Potential_1")}}},5702:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.script_onclick_avoid=void 0;var a=i(461),l=i(461),n=i(7139);t.script_onclick_avoid={id:"script_onclick_avoid",context:"dom:*[onclick]",dependencies:["script_onclick_misuse"],refactor:{RPT_Script_OnclickHTML2:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"script_onclick_avoid.html",Potential_1:"script_onclick_avoid.html",group:"script_onclick_avoid.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that 'onclick' events are not used in script to emulate a link",group:"Scripts should not be used to emulate links"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_FOUR}],act:[],run:function(e,t,i){var l=e.dom.node;if(n.CommonUtil.getAncestor(l,"svg"))return(0,a.RulePass)("Pass_0");if(n.CommonUtil.attributeNonEmpty(l,"role"))return(0,a.RulePass)("Pass_0");var r=l.nodeName.toLowerCase(),o="a"==r||"area"==r||"input"==r;return o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RulePotential)("Potential_1")}}},1961:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.script_onclick_misuse=void 0;var a=i(461),l=i(461),n=i(7139);t.script_onclick_misuse={id:"script_onclick_misuse",context:"dom:*[onclick]",refactor:{RPT_Script_OnclickHTML1:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"script_onclick_misuse.html",Potential_1:"script_onclick_misuse.html",group:"script_onclick_misuse.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Possible use of a script to emulate a link",group:"Scripts should not be used to emulate links"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,r=n.CommonUtil.attributeNonEmpty(l,"role"),o=l.nodeName.toLowerCase();if(!(r=r||("a"==o||"area"==o)&&n.CommonUtil.attributeNonEmpty(l,"href"))){var s=[".asp",".aspx",".cfm",".cfml",".cgi",".htm",".html",".shtm",".shtml",".php",".pl",".py",".shtm",".shtml",".xhtml","location.href"],u=l.getAttribute("onclick").toLowerCase();r=!0;for(var d=0;r&&d<s.length;++d)r=-1==u.indexOf(s[d])}return r?(0,a.RulePass)("Pass_0"):r?void 0:(0,a.RulePotential)("Potential_1")}}},3022:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.script_select_review=void 0;var a=i(461),l=i(461);t.script_select_review={id:"script_select_review",context:"dom:select",refactor:{WCAG20_Select_NoChangeAction:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"script_select_review.html",Potential_1:"script_select_review.html",group:"script_select_review.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that no change of context or action occurs when selection options in this component receive focus",group:"No changes of context should occur when a selection value receives focus"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["3.2.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,n=!l.hasAttribute("onchange")&&!l.hasAttribute("onfocus");return n?(0,a.RulePass)("Pass_0"):n?void 0:(0,a.RulePotential)("Potential_1")}}},375:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.select_options_grouped=void 0;var a=i(461),l=i(461),n=i(7139);t.select_options_grouped={id:"select_options_grouped",context:"dom:select",refactor:{WCAG20_Select_HasOptGroup:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"select_options_grouped.html",Potential_1:"select_options_grouped.html",group:"select_options_grouped.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Group of related options may need <optgroup>",group:"Groups of related options within a selection list should be grouped with <optgroup>"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,r=n.CommonUtil.getChildByTagHidden(l,"optgroup",!1,!0).length>0||n.CommonUtil.getChildByTagHidden(l,"option",!1,!0).length<=10;return r?(0,a.RulePass)("Pass_0"):r?void 0:(0,a.RulePotential)("Potential_1")}}},4658:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.skip_main_described=void 0;var a=i(461),l=i(461),n=i(7139),r=i(4566),o=i(3946);t.skip_main_described={id:"skip_main_described",context:"dom:body",dependencies:["skip_main_exists"],refactor:{WCAG20_Body_FirstAContainsSkipText_Native_Host_Sematics:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"skip_main_described.html",Potential_1:"skip_main_described.html",group:"skip_main_described.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify that if this hyperlink skips content, the description communicates where it links to",group:"The description of a hyperlink used to skip content must communicate where it links to"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l,s={paramSkipText:{value:["skip","jump"],type:"[string]"}},u=e.dom.node,d=u.ownerDocument;if(null===r.CacheUtil.getCache(u,"IBM_hasLandmarks_Implicit",null)&&r.CacheUtil.setCache(u,"IBM_hasLandmarks_Implicit",n.CommonUtil.getElementsByRoleHidden(u.ownerDocument,["application","banner","complementary","contentinfo","form","main","navigation","search"],!0,!0).length>0),!(l=r.CacheUtil.getCache(u,"IBM_hasLandmarks_Implicit",!1))){var c=d.links;if(c&&c.length>0&&o.VisUtil.isNodeVisible(c[0]))for(var m=n.CommonUtil.getInnerText(d.links[0]).toLowerCase(),p=0;!l&&p<s.paramSkipText.value.length;++p)l=-1!=m.indexOf(s.paramSkipText.value[p]);else l=!1}return l?(0,a.RulePass)("Pass_0"):l?void 0:(0,a.RulePotential)("Potential_1")}}},4605:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.skip_main_exists=void 0;var a=i(461),l=i(461),n=i(7139),r=i(6858),o=i(4566),s=i(3946);t.skip_main_exists={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:"skip_main_exists.html",Fail_1:"skip_main_exists.html",group:"skip_main_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'The page does not provide a way to quickly navigate to the main content (ARIA "main" landmark or a skip link)',group:"Pages must provide a way to skip directly to the main content"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.4.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){if(r.AncestorUtil.isPresentationFrame(i))return null;var l,u=e.dom.node,d=u.ownerDocument;if(null===o.CacheUtil.getCache(u,"IBM_hasLandmarks_Implicit",null)&&o.CacheUtil.setCache(u,"IBM_hasLandmarks_Implicit",n.CommonUtil.getElementsByRoleHidden(u.ownerDocument,["application","banner","complementary","contentinfo","form","main","navigation","search"],!0,!0).length>0),!(l=o.CacheUtil.getCache(u,"IBM_hasLandmarks_Implicit",!1))){for(var c=n.CommonUtil.getDocElementsByTag(u,"a"),m=null,p=0;p<c.length;++p)if(c[p].hasAttribute("href")&&s.VisUtil.isNodeVisible(c[p])){m=c[p];break}var h=null;if(null!=m){var _=m.getAttribute("href"),b=_.indexOf("#");-1!=b&&(h=_.substring(b+1))}if(null!=h)for(l=null!=d.getElementById(h),p=0;!l&&p<c.length;++p)!c[p].hasAttribute("href")&&c[p].hasAttribute("name")&&c[p].getAttribute("name")==h&&(l=!0)}return l?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},5294:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.style_background_decorative=void 0;var a=i(461),l=i(461),n=i(7139);t.style_background_decorative={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:"style_background_decorative.html",Potential_1:"style_background_decorative.html",group:"style_background_decorative.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify the CSS background image does not convey important information",group:"Images included by using CSS alone must not convey important information"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,r=l.nodeName.toLowerCase(),o=!0;if("link"===r&&l.hasAttribute("rel")&&"stylesheet"===l.getAttribute("rel").toLowerCase()&&(o=n.CommonUtil.triggerOnce(l,"style_background_decorative",!1)),o&&"style"===r||l.hasAttribute("style")){var s=("style"===r?n.CommonUtil.getInnerText(l):l.getAttribute("style")).match(/background:[^;]*/g);if(null!==s)for(var u=0;o&&u<s.length;++u)o=-1===s[u].indexOf("url(")}return o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RulePotential)("Potential_1")}}},3506:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.style_before_after_review=void 0;var a=i(461),l=i(461),n=i(4919);t.style_before_after_review={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:"style_before_after_review.html",Pass_0:"style_before_after_review.html",Potential_1:"style_before_after_review.html"}},messages:{"en-US":{group:"Do not use CSS '::before' and '::after' pseudo-elements to insert non-decorative content",Pass_0:"Rule Passed",Potential_1:"Verify the '::before' and '::after' pseudo-elements do not insert non-decorative content"}},rulesets:[{id:[],num:"1.3.1",level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,r=!0;if("style"===l.nodeName.toLowerCase()){for(var o=n.CSSUtil.getCSSStyle(l),s=0;r&&s<o.length;++s)o[s].selector&&(r=-1===o[s].selector.indexOf(":before")&&-1===o[s].selector.indexOf(":after")||!("content"in o[s].values)||0===o[s].values.content.trim().length||'""'===o[s].values.content.trim()||"''"===o[s].values.content.trim()||"none"===o[s].values.content.trim()||"attr(x)"===o[s].values.content.trim()||"attr(y)"===o[s].values.content.trim());if(r)for(var u=0;u<l.ownerDocument.styleSheets.length;u++)if((g=l.ownerDocument.styleSheets[u]).ownerNode===l)try{var d=g.cssRules?g.cssRules:g.rules;if(d)for(var c=0;r&&c<d.length;c++){var m=d[c],p=void 0;if(m.type&&4===m.type){if(v=m.cssRules)for(var h=0;r&&h<v.length;h++)null!==(y=v[h]).selectorText&&void 0!==y.selectorText&&(-1===(k=y.selectorText.toLowerCase()).indexOf(":before")&&-1===k.indexOf(":after")||(C=y.style.content)&&C.trim().length&&'""'!==C.trim()&&"''"!==C.trim()&&"none"!==C.trim()&&"attr(x)"!==C.trim()&&"attr(y)"!==C.trim()&&(r=!1))}else if(m.type&&3===m.type&&(p=m).styleSheet&&(f=p.styleSheet.cssRules?p.styleSheet.cssRules:p.styleSheet.rules))for(h=0;r&&h<f.length;h++){var _=f[h];if(_.type&&4===_.type){if(v=_.cssRules)for(var b=0;b<v.length;b++)null!==(y=v[b]).selectorText&&void 0!==y.selectorText&&(-1===(k=y.selectorText.toLowerCase()).indexOf(":before")&&-1===k.indexOf(":after")||(C=y.style.content)&&C.trim().length&&'""'!==C.trim()&&"''"!==C.trim()&&"none"!==C.trim()&&"attr(x)"!==C.trim()&&"attr(y)"!==C.trim()&&(r=!1))}else null!==_.selectorText&&void 0!==_.selectorText&&(-1===(k=_.selectorText.toLowerCase()).indexOf(":before")&&-1===k.indexOf(":after")||(C=_.style.content)&&C.trim().length&&'""'!==C.trim()&&"''"!==C.trim()&&"none"!==C.trim()&&"attr(x)"!==C.trim()&&"attr(y)"!==C.trim()&&(r=!1))}}}catch(e){}}if("link"===l.nodeName.toLowerCase()&&l.hasAttribute("rel")&&"stylesheet"===l.getAttribute("rel").toLowerCase()&&l.hasAttribute("href")&&0!==l.getAttribute("href").trim().length)for(u=0;u<l.ownerDocument.styleSheets.length;u++){var g;if((g=l.ownerDocument.styleSheets[u])&&g.ownerNode===l)try{var f;if(f=g.cssRules?g.cssRules:g.rules)for(h=0;r&&h<f.length;h++){var v,A=f[h];if(A.type&&4===A.type){if(v=A.cssRules)for(b=0;r&&b<v.length;b++){var y;if(null!==(y=v[b]).selectorText&&void 0!==y.selectorText){var w=y.selectorText.toLowerCase();-1===w.indexOf(":before")&&-1===w.indexOf(":after")||(C=y.style.content)&&C.trim().length&&'""'!==C.trim()&&"''"!==C.trim()&&"none"!==C.trim()&&"attr(x)"!==C.trim()&&"attr(y)"!==C.trim()&&(r=!1)}}}else if(null!==f[h].selectorText&&void 0!==f[h].selectorText){var k,C;-1===(k=f[h].selectorText.toLowerCase()).indexOf(":before")&&-1===k.indexOf(":after")||(C=f[h].style.content)&&C.trim().length&&'""'!==C.trim()&&"''"!==C.trim()&&"none"!==C.trim()&&"attr(x)"!==C.trim()&&"attr(y)"!==C.trim()&&(r=!1)}}}catch(e){}}return r?(0,a.RulePass)("Pass_0"):r?void 0:(0,a.RulePotential)("Potential_1")}}},7475:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.style_color_misuse=void 0;var a=i(7139),l=i(461),n=i(461),r=i(3864),o=i(4566);t.style_color_misuse={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:"style_color_misuse.html",Pass_0:"style_color_misuse.html",Potential_1:"style_color_misuse.html"}},messages:{"en-US":{group:"Combine color and descriptive markup to convey information",Pass_0:"Rule Passed",Potential_1:"Verify color is not used as the only visual means of conveying information"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"1.4.1",level:n.eRulePolicy.VIOLATION,toolkitLevel:n.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var n=e.dom.node,s=n.nodeName.toLowerCase(),u="";if("style"===s){u=a.CommonUtil.getInnerText(n).toLowerCase();for(var d=0;d<n.ownerDocument.styleSheets.length;d++)if((g=n.ownerDocument.styleSheets[d])&&g.ownerNode===n)try{for(var c=g.cssRules?g.cssRules:g.rules,m=0;m<c.length;m++){var p=c[m],h=void 0;if(p.type&&3===p.type&&(h=p).styleSheet)for(var _=h.styleSheet.cssRules?h.styleSheet.cssRules:h.styleSheet.rules,b=0;b<_.length;b++)u+=_[b].cssText}}catch(e){}}else if(n.hasAttribute("style"))u=n.getAttribute("style").toLowerCase();else if("link"===s&&n.hasAttribute("rel")&&"stylesheet"===n.getAttribute("rel").toLowerCase()&&n.hasAttribute("href")&&0!==n.getAttribute("href").trim().length)for(d=0;d<n.ownerDocument.styleSheets.length;d++){var g;if((g=n.ownerDocument.styleSheets[d])&&g.ownerNode===n)try{var f=g.cssRules?g.cssRules:g.rules;for(b=0;b<f.length;b++)u+=f[b].cssText}catch(e){}}var v=!0,A=u.match(/\bbackground\b/i),y=u.replace(/-color/g,"").match(/\bcolor\b/i);if(n.hasAttribute("color")||y||A){var w={em:"",strong:"",cite:"",dfn:"",code:"",samp:"",kbd:"",var:"",abbr:"",acronym:""};if(!(v=s in w||null!==a.CommonUtil.getAncestor(n,w))&&n.hasChildNodes())for(var k=new r.DOMWalker(n);!v&&k.nextNode()&&k.node!==n;)v=k.node.nodeName.toLowerCase()in w}return v||(v=o.CacheUtil.getCache(n.ownerDocument,"style_color_misuse",!1),o.CacheUtil.setCache(n.ownerDocument,"style_color_misuse",!0)),v?(0,l.RulePass)("Pass_0"):v?void 0:(0,l.RulePotential)("Potential_1")}}},8064:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.style_focus_visible=void 0;var a=i(7139),l=i(461),n=i(461),r=i(4919),o=i(3883);t.style_focus_visible={id:"style_focus_visible",context:"dom:*",refactor:{RPT_Style_HinderFocus1:{Potential_1:"potential_focus_not_visible"}},help:{"en-US":{group:"style_focus_visible.html",potential_focus_not_visible:"style_focus_visible.html",pass_focus_visible:"style_focus_visible.html"}},messages:{"en-US":{group:"The keyboard focus indicator should be visible when default border or outline is modified by CSS",potential_focus_not_visible:"Check the keyboard focus indicator is visible when using CSS declaration for 'border' or 'outline'",pass_focus_visible:"The keyboard focus indicator is visible or is not changed from the browser default"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"2.4.7",level:n.eRulePolicy.VIOLATION,toolkitLevel:n.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var n={skipNodes:{value:["table"],type:"[string]"},checkParams:{value:["border","border-width","border-style","border-top-width","border-right-width","border-bottom-width","border-left-width","border-top-color","border-right-color","border-bottom-color","border-left-color","border-top-style","border-right-style","border-bottom-style","border-left-style","outline","outline-width","outline-color","outline-style"],type:"[string]"}},s=e.dom.node;if(!a.CommonUtil.isTabbable(s)||n.skipNodes.value.includes(s.nodeName.toLowerCase()))return null;var u=r.CSSUtil.getDefinedStyles(s),d=[];d.push(r.CSSUtil.getDefinedStyles(s,":focus")),d.push(r.CSSUtil.getDefinedStyles(s,":focus-visible")),d.push(r.CSSUtil.getDefinedStyles(s,":focus-within"));var c=d[0];if(Object.keys(c).length>0){if(!((u["outline-width"]||u["outline-style"])&&"0px"!==u["outline-width"]&&"none"!==u["outline-style"]||c["outline-style"]&&"none"===c["outline-style"]))return(0,l.RulePass)("pass_focus_visible");var m=!1,p=0;for(var h in c)if(n.checkParams.value.includes(h)){var _=c[h],b=u[h];if(h.includes("style")){if(m="none"===_,b&&"none"!==_&&_===b)return(0,l.RulePotential)("potential_focus_not_visible")}else if(h.includes("width")){if(p++,"initial"===_?_="2px":"thin"===_?_="1px":"medium"===_?_="2px":"thick"===_&&(_="3px"),b&&("initial"===b?b="2px":"thin"===b?b="1px":"medium"===b?b="2px":"thick"===b&&(b="3px")),_=r.CSSUtil.getPixelsFromStyle(_,s),b=r.CSSUtil.getPixelsFromStyle(b,s),0==_||_<=b)return(0,l.RulePotential)("potential_focus_not_visible")}else if(h.includes("color")){p++;var g=o.ColorUtil.ColorCombo(s);if(null===g)continue;var f=g.bg;if(!f)continue;if("initial"===_&&(_="black"),b&&"initial"===b&&(b="black"),_=o.ColorUtil.Color(_),b=o.ColorUtil.Color(b),null===_||null===b)continue;var v=_.contrastRatio(f),A=b.contrastRatio(f);if(v<3||v<=A)return(0,l.RulePotential)("potential_focus_not_visible")}else if(p++,null!=b&&_===b)return(0,l.RulePotential)("potential_focus_not_visible")}if(m&&0===p)return(0,l.RulePotential)("potential_focus_not_visible")}else for(var y in u)if(n.checkParams.value.includes(y)&&"none"!==(b=u[y]))return(0,l.RulePotential)("potential_focus_not_visible");return(0,l.RulePass)("pass_focus_visible")}}},7942:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.style_highcontrast_visible=void 0;var a=i(461),l=i(461),n=i(4566);t.style_highcontrast_visible={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:"style_highcontrast_visible.html",Manual_1:"style_highcontrast_visible.html",group:"style_highcontrast_visible.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Manual_1:"Confirm Windows high contrast mode is supported when using CSS to include, position or alter non-decorative content",group:"Windows high contrast mode must be supported when using CSS to include, position or alter non-decorative content"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next"],num:["1.1.1","1.3.2","1.4.11"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE},{id:["WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1","1.3.2","1.4.11"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,r=l.nodeName.toLowerCase();if("link"===r&&(!l.hasAttribute("rel")||"stylesheet"!==l.getAttribute("rel").toLowerCase()))return(0,a.RulePass)("Pass_0");if("style"!==r&&"link"!==r&&l.hasAttribute("style")&&0===l.getAttribute("style").trim().length)return(0,a.RulePass)("Pass_0");var o=n.CacheUtil.getCache(l.ownerDocument,"style_highcontrast_visible",!1);return n.CacheUtil.setCache(l.ownerDocument,"style_highcontrast_visible",!0),o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RuleManual)("Manual_1")}}},2219:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.style_hover_persistent=void 0;var a=i(461),l=i(461),n=i(7139);t.style_hover_persistent={id:"style_hover_persistent",context:"dom:style, dom:*[style], dom:*",help:{"en-US":{Pass_0:"style_hover_persistent.html",Pass_2:"style_hover_persistent.html",Potential_1:"style_hover_persistent.html",Potential_2:"style_hover_persistent.html",Potential_3:"style_hover_persistent.html",group:"style_hover_persistent.html"}},messages:{"en-US":{Pass_0:"the hover: pseudo-class is not used to display content",Pass_2:"content displayed via the :hover pseudo-class is the adjacent sibling of the trigger element",Potential_1:"Confirm the pointer can be positioned over the displayed element, not just the trigger",Potential_2:"Confirm the pointer can be positioned over all the information displayed on hover",Potential_3:"Confirm the margin style attribute has not prevented the pointer from hovering over the displayed element, not just the trigger",group:"The pointer should be able to move over content displayed on hover"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_2"],num:["1.4.13"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=!1,r=!1,o=!1,s=e.dom.node;if("style"===s.nodeName.toLowerCase()){n.CommonUtil.getInnerText(s).toLowerCase();for(var u=0;u<s.ownerDocument.styleSheets.length;++u){var d=s.ownerDocument.styleSheets[u];if(d&&d.ownerNode===s)try{for(var c=d.cssRules?d.cssRules:d.rules,m=0;m<c.length;m++){var p="",h=!1,_=!1,b="",g=!1,f=!1,v=!1,A=(c[m],c[m].cssText);if(A.match(/:hover/g)){p=A.split(":")[0];var y=A.substring(A.indexOf("+")+1);if(y=y.trim(),(A.match(/:hover \+/g)||A.match(/:hover\+/g))&&(h=!0,b=y.split(" ")[0]),A.match(/:hover \~/g)||A.match(/:hover\~/g)){_=!0;var w=A.substring(A.indexOf("~")+1);b=(w=w.trim()).split(" ")[0]}if(!h&&!_)return(0,a.RulePass)("Pass_0");if(b&&(I=y.indexOf("display:"))&&"none;"!==y.slice(I+8).trim().split(" ")[0]&&d&&d.ownerNode===s)try{for(var k=d.cssRules?d.cssRules:d.rules,C=0;C<k.length;C++){var x=c[C].cssText,P=b+" {",R=x.trim(),T=R.indexOf(P);if(R.slice(T).trim(),R.match(/margin/g)){if(!o)return o=!0,(0,a.RulePotential)("Potential_3")}else{var U=x.split(":")[0];if((U=U.split(" ")[0])===b&&x.match(/:hover/g)){var I;if(g=!0,I=x.indexOf("display:"))if(f=!0,"none;"!==y.slice(I+8).trim().split(" ")[0]){if(v=!0,""!==p&&h){var L=s.ownerDocument.getElementsByTagName(p.toUpperCase());if(b.toUpperCase()===L[0].nextElementSibling.tagName){l=!0;continue}}else if(h){if(!r){r=!0;break}continue}if(""!==p&&_){L=s.ownerDocument.getElementsByTagName(p.toUpperCase());var E=[],q=L[0].nextElementSibling;do{if(q.tagName!==b.toUpperCase())break;E.push(q)}while(q=q.nextElementSibling);var W=E.length;if(1===W)return(0,a.RulePass)("Pass_2");if(W>1)return(0,a.RulePotential)("Potential_2")}}else{if(h){if(C===k.length-1&&!1===v)return(0,a.RulePotential)("Potential_1");continue}if(_){if(C===k.length-1&&!1===v)return(0,a.RulePotential)("Potential_1");continue}}else{if(h){if(C===k.length-1&&!1===f)return(0,a.RulePotential)("Potential_1");continue}if(_){if(C===k.length-1&&!1===f)return(0,a.RulePotential)("Potential_1");continue}}}else{if(h){if(C===k.length-1&&!1===g)return(0,a.RulePotential)("Potential_1");continue}if(_){if(C===k.length-1&&!1===g)return(0,a.RulePotential)("Potential_2");continue}}}}}catch(e){}}}}catch(e){}}}return l?(0,a.RulePass)("Pass_0"):r?(0,a.RulePotential)("Potential_1"):o?(0,a.RulePotential)("Potential_3"):void 0}}},1473:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.style_viewport_resizable=void 0;var a=i(461),l=i(461);t.style_viewport_resizable={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:"style_viewport_resizable.html",Pass_0:"style_viewport_resizable.html",Potential_1:"style_viewport_resizable.html"}},messages:{"en-US":{group:"Text must scale up to 200% without loss of content or functionality",Pass_0:"Rule Passed",Potential_1:"Verify that text sized using viewport units can be resized up to 200%"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:["1.4.4","1.4.10"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,n=!0,r=/\d+(vw|vh|vmin|vmax)/gi,o=l.nodeName.toLowerCase();if("style"===o){for(var s=0;s<l.ownerDocument.styleSheets.length;s++)if((g=l.ownerDocument.styleSheets[s]).ownerNode===l)try{var u=g.cssRules?g.cssRules:g.rules;if(u)for(var d=0;n&&d<u.length;d++){var c=u[d];if(c.type&&1===c.type){var m=c;if(m.style.fontSize){var p=(v=m.style.fontSize.trim()).match(r);v.length&&p&&(n=!1)}}else if(c.type&&3===c.type&&c.styleSheet){var h=c;if(f=h.styleSheet.cssRules?h.styleSheet.cssRules:h.styleSheet.rules)for(var _=0;n&&_<f.length;_++){var b=f[_];b.type&&1===b.type&&b.style.fontSize&&(p=(v=b.style.fontSize.trim()).match(r),v.length&&p&&(n=!1))}}}}catch(e){}}else if("link"===o)for(s=0;s<l.ownerDocument.styleSheets.length;s++){var g;if((g=l.ownerDocument.styleSheets[s])&&g.ownerNode===l)try{var f;if(f=g.cssRules?g.cssRules:g.rules)for(_=0;n&&_<f.length;_++){var v,A=f[_];if(A.type&&1===A.type&&A.style.fontSize)p=(v=A.style.fontSize.trim()).match(r),v.length&&p&&(n=!1)}}catch(e){}}else{var y=l.getAttribute("style");y&&(p=y.match(/font-size:\s*\d+(vw|vh|vmin|vmax)/gi))&&(n=!1)}return n?(0,a.RulePass)("Pass_0"):(0,a.RulePotential)("Potential_1")}}},1912:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.svg_graphics_labelled=void 0;var a=i(461),l=i(461),n=i(1950),r=i(3946);t.svg_graphics_labelled={id:"svg_graphics_labelled",context:"dom:svg",help:{"en-US":{group:"svg_graphics_labelled.html",pass:"svg_graphics_labelled.html",fail_acc_name:"svg_graphics_labelled.html"}},messages:{"en-US":{group:"A non-decorative SVG element must have an accessible name",pass:"The SVG element has an accessible name",fail_acc_name:"The SVG element has no accessible name"}},rulesets:[{id:["IBM_Accessibility","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[{"7d6734":{pass:"pass",fail_acc_name:"fail"}}],run:function(e,t,i){var l=e.dom.node;if(r.VisUtil.isNodeHiddenFromAT(l)||r.VisUtil.isNodePresentational(l))return null;var o=n.AccNameUtil.computeAccessibleName(l);return o&&o.name&&o.name.trim().length>0?(0,a.RulePass)("pass"):(0,a.RuleFail)("fail_acc_name")}}},6539:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.table_aria_descendants=void 0;var a=i(461),l=i(461),n=i(7139);t.table_aria_descendants={id:"table_aria_descendants",context:"aria:table dom:tr[role], aria:table dom:th[role], aria:table dom:td[role], aria:grid dom:tr[role], aria:grid dom:th[role], aria:grid dom:td[role], aria:treegrid dom:tr[role], aria:treegrid dom:th[role], aria:treegrid dom:td[role]",help:{"en-US":{group:"table_aria_descendants.html",explicit_role:"table_aria_descendants.html"}},messages:{"en-US":{group:"Table structure elements cannot specify an explicit 'role' within table containers",explicit_role:"An explicit ARIA 'role' is not valid for <{0}> element within an ARIA role '{1}' per the ARIA in HTML specification"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["4.1.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){e.dom.node;var l=n.CommonUtil.isTableDescendant(i);if(null!==l&&0!==l.length)return(0,a.RuleFail)("explicit_role",[e.dom.node.nodeName.toLowerCase(),l[0].role])}}},4:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.table_caption_empty=void 0;var a=i(461),l=i(461),n=i(7139);t.table_caption_empty={id:"table_caption_empty",context:"dom:caption",refactor:{Valerie_Caption_HasContent:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"table_caption_empty.html",Fail_1:"table_caption_empty.html",group:"table_caption_empty.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"The <table> element has an empty <caption> element",group:"A <caption> element for a <table> element must contain descriptive text"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;return n.CommonUtil.hasInnerContentHidden(l)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},5334:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.table_caption_nested=void 0;var a=i(461),l=i(461),n=i(7139);t.table_caption_nested={id:"table_caption_nested",context:"dom:caption",refactor:{Valerie_Caption_InTable:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"table_caption_nested.html",Fail_1:"table_caption_nested.html",group:"table_caption_nested.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"<caption> element is not nested inside a <table> element",group:"The <caption> element must be nested inside the associated <table> element"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;return null!=n.CommonUtil.getAncestor(l,"table")?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},2173:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.table_headers_exists=void 0;var a=i(461),l=i(461),n=i(9196);t.table_headers_exists={id:"table_headers_exists",context:"dom:table",refactor:{RPT_Table_DataHeadingsAria:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"table_headers_exists.html",Fail_1:"table_headers_exists.html",group:"table_headers_exists.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Table has no headers identified",group:"Data table must identify headers"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node,r=l.rows;if(!n.TableUtil.isDataTable(l)||null===r||0===r.length)return null;var o=n.TableUtil.tableHeaderExists(l);return null!==o?o?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1"):void 0}}},8349:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.table_headers_ref_valid=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(1686),s=i(3946),u=i(9955);t.table_headers_ref_valid={id:"table_headers_ref_valid",context:"dom:td[headers], dom:th[headers]",help:{"en-US":{Pass_0:"table_headers_ref_valid.html",Fail_1:"table_headers_ref_valid.html",Fail_2:"table_headers_ref_valid.html",Fail_3:"table_headers_ref_valid.html",Fail_4:"table_headers_ref_valid.html",group:"table_headers_ref_valid.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"The 'headers' attribute value \"{0}\" does not reference a valid 'id' in this document",Fail_2:"The 'headers' attribute value \"{0}\" refers to itself",Fail_3:"The 'headers' attribute value \"{0}\" does not refer to a cell in the same table",Fail_4:'The \'headers\' attribute value "{0}" does not refer to a cell indicated with <th> or a role of "columnheader" or "rowheader"',group:"The 'headers' attribute should refer to a valid cell in the same table"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:["a25f45"],run:function(e,t,i){var l=e.dom.node,d=r.CommonUtil.getAncestor(l,"table"),c=u.ARIAMapper.nodeToRole(d);if(null==d||!s.VisUtil.isNodeVisible(d)||!["table","grid"].includes(c))return null;l.nodeName.toLowerCase();var m=l.ownerDocument,p=l.getAttribute("headers");if(!p)return null;for(var h=p.split(" "),_=[],b=[],g=[],f=[],v=0;v<h.length;v++){var A=h[v];if(""!==A.trim()){var y=m.getElementById(A);if(y)if(o.DOMUtil.sameNode(y,l))b.push(A);else if(o.DOMUtil.isInSameTable(y,l)){if("th"!==y.nodeName.toLowerCase()){var w=n.AriaUtil.getRoles(y,!0);w.includes("columnheader")||w.includes("rowheader")||f.push(A)}}else g.push(A);else _.push(A)}}var k=[];return 0!=_.length&&k.push((0,a.RuleFail)("Fail_1",[_.toString()])),0!=b.length&&k.push((0,a.RuleFail)("Fail_2",[b.toString()])),0!=g.length&&k.push((0,a.RuleFail)("Fail_3",[g.toString()])),0!=f.length&&k.push((0,a.RuleFail)("Fail_4",[f.toString()])),0==k.length?(0,a.RulePass)("Pass_0"):k}}},8142:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.table_headers_related=void 0;var a=i(461),l=i(461),n=i(7139),r=i(4566),o=i(9196);t.table_headers_related={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:"table_headers_related.html",Fail_1:"table_headers_related.html",group:"table_headers_related.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Complex table does not have headers for each cell properly defined with 'header' or 'scope'",group:"For a complex data table, all <th> and <td> elements must be related via 'header' or 'scope' attributes"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node,s=n.CommonUtil.getAncestor(l,"table");if(null==s||!o.TableUtil.isComplexDataTable(s))return null;if(null===r.CacheUtil.getCache(l,"table_headers_related",null)){for(var u=[],d=0;d<s.rows.length;++d){var c=s.rows[d];u[d]||(u[d]=[]);for(var m=0;m<c.cells.length;++m){var p=c.cells[m];r.CacheUtil.setCache(p,"table_headers_related",d+":"+m);var h=parseInt(p.getAttribute("colspan"));h||(h=1);var _=parseInt(p.getAttribute("rowspan"));_||(_=1);for(var b=0;u[d][b];)b+=1;for(var g=0;g<_;++g){u[d+g]||(u[d+g]=[]);for(var f=0;f<h;++f)u[d+g][b+f]=p}}}var v=l.ownerDocument,A={},y={};for(d=0;d<u.length;++d){var w=!1;for(m=0;m<u[d].length;++m){var k=u[d][m],C=k.nodeName.toLowerCase();if("th"==C){if("row"==k.getAttribute("scope")?(w=!0,n.CommonUtil.attributeNonEmpty(k,"axis")||(A[r.CacheUtil.getCache(k,"table_headers_related",null)]=!0)):"col"==k.getAttribute("scope")&&(y[m]=!0,n.CommonUtil.attributeNonEmpty(k,"axis")||(A[r.CacheUtil.getCache(k,"table_headers_related",null)]=!0)),n.CommonUtil.attributeNonEmpty(k,"headers")){var x=k.getAttribute("headers").split(" ");for(g=0;g<x.length;++g)(P=v.getElementById(x[g].trim()))&&n.CommonUtil.getAncestor(P,"table")==s&&(A[r.CacheUtil.getCache(P,"table_headers_related",null)]=!0)}}else if("td"==C)if(w||y[m])A[r.CacheUtil.getCache(k,"table_headers_related",null)]=!0;else if(n.CommonUtil.attributeNonEmpty(k,"headers"))for(x=k.getAttribute("headers").split(" "),g=0;g<x.length;++g){var P;(P=v.getElementById(x[g].trim()))&&n.CommonUtil.getAncestor(P,"table")==s&&(A[r.CacheUtil.getCache(k,"table_headers_related",null)]=!0,A[r.CacheUtil.getCache(P,"table_headers_related",null)]=!0)}}}r.CacheUtil.setCache(s,"table_headers_related",A)}var R=r.CacheUtil.getCache(l,"table_headers_related",null),T=r.CacheUtil.getCache(s,"table_headers_related",null),U=R&&T&&R in T;return U||"0:0"!==R||0!=n.CommonUtil.getInnerText(l).trim().length?(U||0!=s.getElementsByTagName("th").length||(!0===r.CacheUtil.getCache(s,"table_headers_related_TrigOnce",!1)?U=!0:r.CacheUtil.setCache(s,"table_headers_related_TrigOnce",!0)),U?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")):null}}},3980:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.table_layout_linearized=void 0;var a=i(461),l=i(461),n=i(3946),r=i(9196);t.table_layout_linearized={id:"table_layout_linearized",context:"dom:table",refactor:{RPT_Table_LayoutTrigger:{Pass_0:"Pass_0",Potential_1:"Potential_1"}},help:{"en-US":{Pass_0:"table_layout_linearized.html",Potential_1:"table_layout_linearized.html",group:"table_layout_linearized.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"Verify table is not being used to format text content in columns unless the table can be linearized",group:"Avoid using tables to format text documents in columns unless the table can be linearized"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.RECOMMENDATION,toolkitLevel:l.eToolkitLevel.LEVEL_FOUR}],act:[],run:function(e,t,i){var l=e.dom.node;if(n.VisUtil.isNodeHiddenFromAT(l))return null;var o=!r.TableUtil.isLayoutTable(l);return o?(0,a.RulePass)("Pass_0"):o?void 0:(0,a.RulePotential)("Potential_1")}}},4701:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.table_scope_valid=void 0;var a=i(461),l=i(461);t.table_scope_valid={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:"table_scope_valid.html",Fail_1:"table_scope_valid.html",Fail_2:"table_scope_valid.html",group:"table_scope_valid.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"Value provided is invalid for the 'scope' attribute",Fail_2:"The 'scope' attribute should only be used on a <th> element",group:'Value for \'scope\' attribute must be "row", "col", "rowgroup", or "colgroup"'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node;if("td"===l.nodeName.toLowerCase())return(0,a.RuleFail)("Fail_2");var n=l.getAttribute("scope").trim().toLowerCase();return/^(row|col|rowgroup|colgroup)$/.test(n)?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1")}}},18:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.table_structure_misuse=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(3946),s=i(9196);t.table_structure_misuse={id:"table_structure_misuse",context:"dom:table",refactor:{WCAG20_Table_Structure:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"table_structure_misuse.html",Fail_1:"table_structure_misuse.html",group:"table_structure_misuse.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:'The <{0}> element with "presentation" role or "none" role has structural element(s) and/or attribute(s) \'{1}\'',group:'Table elements with \'role="presentation" or \'role="none" should not have structural elements or attributes'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node;if(o.VisUtil.isNodeHiddenFromAT(l))return null;if(s.TableUtil.isDataTable(l))return null;if(n.AriaUtil.isNodeInGrid(l))return null;var u=[];r.CommonUtil.attributeNonEmpty(l,"summary")&&u.push(l);for(var d=l.getElementsByTagName("caption"),c=0;c<d.length;++c)if(r.CommonUtil.getAncestor(d[c],"table")==l){if(r.CommonUtil.shouldNodeBeSkippedHidden(d[c]))continue;u.push(d[c]);break}var m=l.getElementsByTagName("th");for(c=0;c<m.length;++c)if(r.CommonUtil.getAncestor(m[c],"table")==l){if(r.CommonUtil.shouldNodeBeSkippedHidden(m[c]))continue;u.push(m[c]);break}var p=l.getElementsByTagName("td");for(c=0;c<p.length;++c)if((p[c].hasAttribute("scope")||p[c].hasAttribute("headers"))&&r.CommonUtil.getAncestor(p[c],"table")==l){if(r.CommonUtil.shouldNodeBeSkippedHidden(p[c]))continue;u.push(p[c]);break}var h=l.nodeName.toLowerCase(),_=new Array,b={};for(c=0;c<u.length;c++){var g=u[c].nodeName.toLowerCase();b.hasOwnProperty(g)||("table"!=g||b.hasOwnProperty.summary?(b[g]=!0,_.push(g)):(b.summary=!0,_.push("summary")))}var f=_.join(", ");return 0==u.length?(0,a.RulePass)("Pass_0"):(0,a.RuleFail)("Fail_1",[h,f])}}},9314:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.table_summary_redundant=void 0;var a=i(461),l=i(461),n=i(7139),r=i(5279),o=i(1686);t.table_summary_redundant={id:"table_summary_redundant",context:"dom:table",refactor:{WCAG20_Table_CapSummRedundant:{Pass_0:"Pass_0",Fail_1:"Fail_1"}},help:{"en-US":{Pass_0:"table_summary_redundant.html",Fail_1:"table_summary_redundant.html",group:"table_summary_redundant.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Fail_1:"The table summary duplicates the caption",group:"The table summary must not duplicate the caption"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l,s=e.dom.node;if(s.hasAttribute("summary"))l=s.getAttribute("summary").trim().toLowerCase();else if(s.hasAttribute("aria-describedby")){for(var u=s.getAttribute("aria-describedby").split(" "),d="",c=0;c<u.length;c++){var m=u[c];if(m){var p=r.FragmentUtil.getById(s,m);p&&!o.DOMUtil.sameNode(p,s)&&(d+=" "+n.CommonUtil.getInnerText(p).trim().toLowerCase())}}l=d}if(!l)return null;var h=s.getElementsByTagName("caption");if(0===h.length)return null;if(l.length>0){var _=n.CommonUtil.getInnerText(h[0]).trim().toLowerCase();return l.includes(_)?(0,a.RuleFail)("Fail_1"):(0,a.RulePass)("Pass_0")}}}},1667:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.target_spacing_sufficient=void 0;var a=i(7139),l=i(461),n=i(461),r=i(7507),o=i(4919);t.target_spacing_sufficient={id:"target_spacing_sufficient",context:"dom:*",dependencies:[],help:{"en-US":{group:"target_spacing_sufficient.html",pass_spacing:"target_spacing_sufficient.html",pass_sized:"target_spacing_sufficient.html",pass_inline:"target_spacing_sufficient.html",pass_default:"target_spacing_sufficient.html",violation_spacing:"target_spacing_sufficient.html",recommendation_inline:"target_spacing_sufficient.html",potential_overlap:"target_spacing_sufficient.html"}},messages:{"en-US":{group:"The target must be sufficiently sized or spaced from other targets",pass_spacing:"The target's spacing from other targets is sufficient",pass_sized:"The target’s size is more than 24 CSS pixels",pass_inline:"The target is in a sentence or its size is otherwise constrained by the line-height of non-target text",pass_default:"The target's size is determined by the user agent and is not modified by the author",violation_spacing:'Undersized target "{0}" does not have sufficient spacing of 12 CSS pixels from another target "{1}"',recommendation_inline:'Confirm the inline target "{0}" is sufficiently spaced from another inline target "{1}"',potential_overlap:'Ensure the overlapped target "{0}" meets a minimum target size or has sufficient spacing from the overlapping target "{1}"'}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_2"],num:["2.5.8"],level:n.eRulePolicy.VIOLATION,toolkitLevel:n.eToolkitLevel.LEVEL_THREE,reasonCodes:["pass_spacing","pass_sized","pass_inline","pass_default","violation_spacing","potential_overlap"]},{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_2"],num:["2.5.8"],level:n.eRulePolicy.RECOMMENDATION,toolkitLevel:n.eToolkitLevel.LEVEL_THREE,reasonCodes:["recommendation_inline"]}],act:[],run:function(e,t,i){var n=e.dom.node,s=n.nodeName.toLocaleLowerCase(),u=new r.DOMMapper,d=u.getUnadjustedBounds(n);if(!d)return null;if(!a.CommonUtil.isTarget(n))return null;if(d.height>=24&&d.width>=24)return(0,l.RulePass)("pass_sized");var c=o.CSSUtil.getInlineStatus(n);if(null===c)return null;if(c.inline)return c.text?null===c.violation?(0,l.RulePass)("pass_inline"):(0,l.RulePotential)("recommendation_inline",[s,c.violation]):null===c.violation?(0,l.RulePass)("pass_default"):(0,l.RulePotential)("recommendation_inline",[s,c.violation]);if(o.CSSUtil.isTargetBrowserDefault(n))return(0,l.RulePass)("pass_default");var m=n.ownerDocument;if(!m)return null;var p=getComputedStyle(n);if(null===p)return null;var h=p.zIndex;h&&!isNaN(Number(h))||(h="0");var _=m.querySelectorAll("body *:not(script):not(style)");if(_&&0!==_.length){for(var b,g=!0,f=24,v=24,A=null,y=null,w=[],k=function(e){var t=_[e];if(n.contains(t))return g=!1,"continue";if(t.contains(n)||!a.CommonUtil.isTarget(t)||w.some((function(e){return e.contains(t)})))return"continue";var i=u.getUnadjustedBounds(t);if(!i)return"continue";var r="0";if((b=getComputedStyle(t))&&((r=b.zIndex)&&!isNaN(Number(r))||(r="0")),i.top<=d.top&&i.left<=d.left&&i.top+i.height>=d.top+d.height&&i.left+i.width>=d.left+d.width)return(g?parseInt(h)<parseInt(r):parseInt(h)<=parseInt(r))?{value:null}:{value:(0,l.RulePotential)("potential_overlap",[s,t.nodeName.toLowerCase()])};if(d.top<=i.top&&d.left<=i.left&&d.top+d.height>=i.top+i.height&&d.left+d.width>=i.left+i.width)return(g?parseInt(h)<parseInt(r):parseInt(h)<=parseInt(r))?{value:(0,l.RulePotential)("potential_overlap",[s,t.nodeName.toLowerCase()])}:{value:(0,l.RuleFail)("violation_spacing",[s,t.nodeName.toLowerCase()])};if((d.top>=i.top&&d.top<=i.top+i.height||d.top+d.height<=i.top&&d.top+d.height>=i.top+i.height)&&(d.left>i.left&&d.left<i.left+i.width||i.left>d.left&&i.left<d.left+d.width)||(d.top>i.top&&d.top<i.top+i.height||i.top>d.top&&i.top<d.top+d.height)&&(d.left>=i.left&&d.left<=i.left+i.width||d.left+d.width>=i.left&&d.left+d.width<=i.left+i.width))return{value:(0,l.RulePotential)("potential_overlap",[s,t.nodeName.toLowerCase()])};var o=24,c=24;d.width<24&&(d.top>=i.top&&d.top<=i.top+i.height||d.top<=i.top&&d.top+d.height>i.top)&&(o=Math.min(Math.abs(d.left-i.left),Math.abs(d.left-(i.left+i.width)),Math.abs(d.left+d.width-(i.left+i.width)),Math.abs(d.left+d.width-i.left))),d.height<24&&(d.left>=i.left&&d.left<=i.left+i.width||d.left<=i.left&&d.left+d.width>i.left)&&(c=Math.min(Math.abs(d.top-i.top),Math.abs(d.top-(i.top+i.height)),Math.abs(d.top+d.height-(i.top+i.height)),Math.abs(d.top+d.height-i.top))),o<f&&(f=o,A=t),c<v&&(v=c,y=t),w.push(t)},C=0;C<_.length;C++){var x=k(C);if("object"==typeof x)return x.value}return Math.round(d.width/2)+f<12||Math.round(d.height/2)+v<12?Math.round(d.width/2)+f<Math.round(d.height/2)+v?(0,l.RuleFail)("violation_spacing",[s,A.nodeName.toLowerCase()]):(0,l.RuleFail)("violation_spacing",[s,y.nodeName.toLowerCase()]):(0,l.RulePass)("pass_spacing")}}}},9599:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.text_block_heading=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(3864),s=i(4919),u=i(3946);t.text_block_heading={id:"text_block_heading",context:"dom:p, dom:div, dom:br",refactor:{RPT_Block_ShouldBeHeading:{Potential_1:"potential_heading"}},help:{"en-US":{potential_heading:"text_block_heading.html",group:"text_block_heading.html"}},messages:{"en-US":{potential_heading:"Confirm this text '{0}' is used as a heading and if so, modify to use a heading element or role",group:"Heading text should use a heading element or role"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(r.CommonUtil.isNodeDisabled(l)||!u.VisUtil.isNodeVisible(l))return null;if(null===r.CommonUtil.getAncestor(l,["body"])||null!==r.CommonUtil.getAncestor(l,["script"]))return null;var d=0,c=l.ownerDocument.getElementsByTagName("body");if(null!=c){var m=getComputedStyle(c[0]);m&&(d=s.CSSUtil.getPixelsFromStyle(m["font-size"],c))}var p=0,h=[],_=new o.DOMWalker(l);_.nextNode();for(var b=!1;!b&&_.nextNode()&&_.node!==l&&_.node!==o.DOMWalker.parentNode(l)&&!["br","div","p"].includes(_.node.nodeName.toLowerCase());)if(_.node!==l&&!r.CommonUtil.shouldNodeBeSkippedHidden(_.node)){var g=_.node.nodeName.toLowerCase();if(3===_.node.nodeType){if(_.node.nodeValue.trim().length>0&&_.node.parentElement){var f=getComputedStyle(_.node.parentElement);if(f&&("bold"===f["font-weight"]||f["font-weight"]>=700||f["font-size"]&&f["font-size"].includes("large")||f["font-size"]&&0!==d&&s.CSSUtil.getPixelsFromStyle(f["font-size"],_.node.parentElement)>d)){var v=_.node.nodeValue.trim();(A=r.CommonUtil.wordCount(v))>0&&(h.push(v),p+=A),b=p>10,_.bEndTag=!0}else b=!0}}else if(1===_.node.nodeType)if("b"===g||"strong"===g||"u"===g||"font"===g){var A;v=r.CommonUtil.getInnerText(_.node),(A=r.CommonUtil.wordCount(v))>0&&(h.push(v),p+=A),b=p>10,_.bEndTag=!0}else{var y=n.AriaUtil.getResolvedRole(_.node);b=null!==y&&"generic"!==y&&"paragraph"!==y&&"strong"!==y||"applet"===g}}return 0==p&&(b=!0),b||(b=/[:,;\-\.]$/.test(h.join(" ").trim())),b?null:(0,a.RulePotential)("potential_heading",[h.join(" ")])}}},4672:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.text_contrast_sufficient=void 0;var a=i(7139),l=i(3946),n=i(3883),r=i(461),o=i(461),s=i(4919);t.text_contrast_sufficient={id:"text_contrast_sufficient",context:"dom:*",refactor:{IBMA_Color_Contrast_WCAG2AA:{Pass_0:"pass",Fail_1:"fail_contrast",Potential_1:"potential_same_color"},IBMA_Color_Contrast_WCAG2AA_PV:{pass_0:"pass",potential_1:"potential_graphic_background"}},help:{"en-US":{group:"text_contrast_sufficient.html",pass:"text_contrast_sufficient.html",fail_contrast:"text_contrast_sufficient.html",potential_same_color:"text_contrast_sufficient.html",potential_graphic_background:"text_contrast_sufficient.html",potential_text_shadow:"text_contrast_sufficient.html"}},messages:{"en-US":{group:"The contrast ratio of text with its background must meet WCAG AA requirements",pass:"The contrast ratio of text with its background meets WCAG AA requirements",fail_contrast:"Text contrast of {0} with its background is less than the WCAG AA minimum requirements for text of size {1}px and weight of {2}",potential_same_color:"The foreground text and its background color are both detected as {3}. Verify the text meets the WCAG AA requirements for minimum contrast",potential_graphic_background:"Verify the contrast ratio of the text against the lightest and the darkest colors of the background meets the WCAG AA minimum requirements for text of size {1}px and weight of {2}",potential_text_shadow:"Verify the contrast ratio of the text with shadow meets the WCAG AA minimum requirements for text of size {1}px and weight of {2}"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_0","WCAG_2_1","WCAG_2_2"],num:"1.4.3",level:o.eRulePolicy.VIOLATION,toolkitLevel:o.eToolkitLevel.LEVEL_ONE}],act:["afw4f7"],run:function(e,t,i){var o=e.dom.node,u=o.nodeName.toLowerCase();if(!l.VisUtil.isNodeVisible(o)||null!=l.VisUtil.hiddenByDefaultElements&&null!=l.VisUtil.hiddenByDefaultElements&&l.VisUtil.hiddenByDefaultElements.indexOf(u)>-1)return null;if(a.CommonUtil.isNodeDisabled(o))return null;if(a.CommonUtil.getAncestor(o,["svg","script","meta"]))return null;var d=o.ownerDocument;if(!d)return null;var c=d.defaultView;if(!c)return null;var m=a.CommonUtil.getNodeText(o);if(!a.CommonUtil.isShadowHostElement(o)||a.CommonUtil.isShadowHostElement(o)&&""===a.CommonUtil.getNodeText(o.shadowRoot)){if(0==m.trim().length)return null;if(0===(m=m.trim().replace(/[^(a-zA-Z\d\s)\^(\u4e00-\u9fff\u3400-\u4dbf)\u0000-\u0008\u000B-\u001F\u007F-\u009F\u2000-\u200F\u2028-\u202F\u205F-\u206F\u3000\uFEFF]+/g,"")).trim().length)return null}var p=o;if(a.CommonUtil.isShadowHostElement(o)){if(o.shadowRoot)for(var h=o.firstChild;h;h=h.nextSibling)if(3==h.nodeType){p=h.assignedSlot;break}if(null===p)return}var _=c.getComputedStyle(p);if(!1==("0"!==_.width&&"0"!==_.height&&"0"!==_.opacity&&"none"!==_.display&&"hidden"!==_.visibility&&"hidden"!==_.overflow&&("auto"===_.left||"absolute"===_.position&&parseInt(_.left.replace(/[^0-9.+-]/,""))>0)&&("auto"===_.left||"absolute"===_.position&&parseInt(_.top.replace(/[^0-9.+-]/,""))>0)))return null;var b=-1;if("auto"!==_.clip){var g=_.clip.toString();if(g.includes("rect"))for(var f=[],v=/\((.*)\)/g.exec(g)[1].split(", "),A=0;A<v.length;A++)f.push(v[A]);b=parseInt(f[0].replace(/px/g,""))-parseInt(f[2].replace(/px/g,"")),b=Math.abs(b)}if("absolute"===_.position&&b<7&&-1!==b)return null;var y=n.ColorUtil.ColorCombo(p);if(null!==y){var w=y.fg,k=y.bg,C=w.contrastRatio(k),x=s.CSSUtil.getWeightNumber(_.fontWeight),P=s.CSSUtil.getFontInPixels(_.fontSize,p),R=P>=24||P>=18.6&&x>=700;s.CSSUtil.containsCKJ(m)&&(R=P>=29.3||P>=24&&x>=700);var T=C>=4.5||C>=3&&R,U=y.hasBGImage||y.hasGradient,I=y.textShadow,L=a.CommonUtil.isNodeDisabled(p);if(!L){var E=a.CommonUtil.getControlOfLabel(p);E&&(L=a.CommonUtil.isNodeDisabled(E))}return!L&&"label"===u&&a.CommonUtil.isDisabledByFirstChildFormElement(p)&&(L=!0),!L&&o.hasAttribute("id")&&a.CommonUtil.isDisabledByReferringElement(p)&&(L=!0),!T&&L&&(T=!0),T?(0,r.RulePass)("pass",[C.toFixed(2),P,x,w.toHex(),k.toHex(),y.hasBGImage,y.hasGradient]):U?(0,r.RulePotential)("potential_graphic_background",[C.toFixed(2),P,x]):I?(0,r.RulePotential)("potential_text_shadow",[C.toFixed(2),P,x]):w.toHex()===k.toHex()?(0,r.RulePotential)("potential_same_color",[C.toFixed(2),P,x,w.toHex(),k.toHex(),y.hasBGImage,y.hasGradient]):(0,r.RuleFail)("fail_contrast",[C.toFixed(2),P,x,w.toHex(),k.toHex(),y.hasBGImage,y.hasGradient])}console.log("unable to get color combo for element: "+p.nodeName)}}},4353:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.text_quoted_correctly=void 0;var a=i(461),l=i(461),n=i(7139),r=i(3946);t.text_quoted_correctly={id:"text_quoted_correctly",context:"dom:*",help:{"en-US":{Pass_0:"text_quoted_correctly.html",Potential_1:"text_quoted_correctly.html",group:"text_quoted_correctly.html"}},messages:{"en-US":{Pass_0:"Rule Passed",Potential_1:"If the following text is a quotation, mark it as a <q> or <blockquote> element: {0}",group:"Quotations should be marked with <q> or <blockquote> elements"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node;if(!r.VisUtil.isNodeVisible(l))return null;if(null===n.CommonUtil.getAncestor(l,["body"]))return null;for(var o=!0,s=l.firstChild,u=null,d=["blockquote","q","script","style","pre","code","ruby","samp"];o&&s;){if("#text"===s.nodeName){var c=s.nodeValue,m=(c=c.replace(/(\S)'(\S)/g,"$1$2")).match(/("[^"]+")/g),p=c.match(/('[^']+')/g);if((null!==m||null!==p)&&null===n.CommonUtil.getAncestor(s,d)){if(null!=m)for(var h=0;o&&h<m.length;++h)o=n.CommonUtil.wordCount(m[h])<3;if(null!=p)for(h=0;o&&h<p.length;++h)o=n.CommonUtil.wordCount(p[h])<3;u=null===m?p.join(", ").replace(new RegExp("\\r?\\n|\\r","g"),""):null===p?m.join(", ").replace(new RegExp("\\r?\\n|\\r","g"),""):m.concat(p).join(", ").replace(new RegExp("\\r?\\n|\\r","g"),"")}}s=s.nextSibling}return!o&&u.length&&u.length>69&&(u=u.substring(0,32)+" ... "+u.substring(u.length-32)),o?(0,a.RulePass)("Pass_0"):(0,a.RulePotential)("Potential_1",[u])}}},7147:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.text_sensory_misuse=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(4566),s=i(3946);t.text_sensory_misuse={id:"text_sensory_misuse",context:"dom:body, dom:body dom:*",refactor:{RPT_Text_SensoryReference:{Potential_1:"potential_position, potential_other"}},help:{"en-US":{potential_position:"text_sensory_misuse.html",potential_other:"text_sensory_misuse.html",group:"text_sensory_misuse.html"}},messages:{"en-US":{potential_position:"Confirm the word(s) '{0}' of the user instruction is used to indicate a logical rather than visual position",potential_other:"Confirm the user instruction is still understandable without the word(s) '{0}'",group:"Instructions should be meaningful without relying solely on shape, size, or location words"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.3"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_TWO}],act:[],run:function(e,t,i){var l=e.dom.node,c=l.nodeName.toLowerCase();if(!s.VisUtil.isNodeVisible(l)||r.CommonUtil.isNodeDisabled(l)||s.VisUtil.hiddenByDefaultElements.includes(c))return null;if(null===r.CommonUtil.getAncestor(l,["body"]))return null;if(null!==r.CommonUtil.getAncestor(l,["script","a","label"]))return null;var m=n.AriaUtil.getResolvedRole(l);if(m){var p=n.AriaUtil.getRolesWithTypes(l,["landmark"]);if(p&&p.includes(m))return null}var h=n.AriaUtil.getRolesWithTypes(l,["widget","heading"]);if(r.CommonUtil.concatUniqueArrayItemList(["caption","cell","code","columnheader","definition","figure","list","listitem","math","meter","row","rowgroup","rowheader","term"],h),null!==n.AriaUtil.getAncestorWithRoles(l,h))return null;for(var _="",b="",g=l.firstChild,f="";g;){if("#text"===g.nodeName){var v=g.nodeValue.trim();v.length>0&&(f+=f.length>0?", "+v:v)}g=g.nextSibling}if(f.length>0){var A=function(e,t){if(!u[t])return"";var i=o.CacheUtil.getCache(e,t+"_sensory_misuse",null);if(null==i){for(var a=u[t].value,l="(ss+|"+a[0],n=1;n<a.length;++n){var r=a[n].trim().split(" ");if(l+="|"+r[0],r.length>1)for(var s=1;s<r.length;++s)l+=" +"+r[s]}l+=")",i=new RegExp(l,"gi"),o.CacheUtil.setCache(e,t+"_sensory_misuse",i)}return i}(l.ownerDocument,"exemptText");f=f.replace(A," "),_=d(l.ownerDocument,"positionText",f),b=d(l.ownerDocument,"otherText",f)}var y=[];return _&&y.push((0,a.RulePotential)("potential_position",[_])),b&&y.push((0,a.RulePotential)("potential_other",[b])),0==y.length?null:y}};var u={positionText:{value:["top-left","top-right","bottom-right","bottom-left","top-to-bottom","left-to-right","bottom-to-top","right-to-left","right","left","above","below","top","bottom","upper","lower","corner","beside"],type:"[string]"},otherText:{value:["round","square","shape","rectangle","triangle","size","large","small","medium","big","huge","tiny","extra","larger","smaller","bigger","little","largest","smallest","biggest"],type:"[string]"},exemptText:{value:["right-click","left-click","right-clicking","right-clicks","left-clicking","left-clicks","square root","right now","off the top"],type:"[string]"}};function d(e,t,i){if(!i)return"";var a=u[t].value,l={},n=[];return i.split(/\s+/).reduce((function(e,t){for(var i=t.replace(/[.?!:;()'",`\]]+$/,""),r=t.toLowerCase().replace(/[.?!:;()'",`\]]/g,""),o=0;o<a.length;o++){var s=r.indexOf(a[o]),u=a[o].length,d=r.charAt(u+s);if(!(s<0)){var c="."==d||"?"==d||"!"==d||":"==d||";"==d||"("==d||")"==d||"'"==d||'"'==d||","==d||".`"==d||"\\"==d||"]"==d,m=!1;if(s>0){var p=r.charAt(s-1);m="-"==p||"."==p||"?"==p||"!"==p||":"==p||";"==p||"("==p||")"==p||"'"==p||'"'==p||","==p||".`"==p||"\\"==p||"]"==p}r.length!=u&&1!=c&&1!=m||(l.hasOwnProperty(i)||(l[i]=!0,n.push(i)),o=a.length)}}return e[i]=(e[i]||0)+1,e}),Object.create(null)),n.join(", ")}},1419:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.text_spacing_valid=void 0;var a=i(461),l=i(461),n=i(7139),r=i(3946),o=i(4919),s=i(7507);t.text_spacing_valid={id:"text_spacing_valid",context:"dom:*",help:{"en-US":{pass:"text_spacing_valid.html",group:"text_spacing_valid.html",fail_letter_spacing_style:"text_spacing_valid.html",fail_word_spacing_style:"text_spacing_valid.html",fail_line_height_style:"text_spacing_valid.html"}},messages:{"en-US":{pass:"CSS !important is not used in inline style to control letter or word spacing or line height",group:"CSS !important should not be used in inline style to control letter or word spacing or line height",fail_letter_spacing_style:"CSS !important should not be used in inline ‘letter-spacing’ style",fail_word_spacing_style:"CSS !important should not be used in inline ‘word-spacing’ style",fail_line_height_style:"CSS !important should not be used in inline ‘line-height’ style"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.4.12"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:["9e45ec","24afc2","78fd32"],run:function(e,t,i){var l=e.dom.node;if(l.nodeName.toLowerCase(),r.VisUtil.isNodeHiddenFromAT(l)||n.CommonUtil.isNodeDisabled(l))return null;var u=(new s.DOMMapper).getUnadjustedBounds(l);if(!u)return null;if(u.top<0||u.left<0)return null;if(n.CommonUtil.getAncestor(l,"svg"))return null;for(var d="",c=l.childNodes,m=0;m<c.length;++m)3==c[m].nodeType&&(d+=c[m].nodeValue);if(0==d.trim().length)return null;var p=getComputedStyle(l).getPropertyValue("font-size"),h=parseFloat(p),_=o.CSSUtil.getDefinedStyles(l);if(0===Object.keys(_).length)return null;var b=[],g=/(-?[\d.]+)([a-z%]*)/,f=_["word-spacing"];if(f)if((f.startsWith("inherit")||f.startsWith("unset"))&&(null!==(w=o.CSSUtil.getAncestorWithStyles(l.parentElement,{"word-spacing":["*"]},["inherit","unset"]))?f=o.CSSUtil.getDefinedStyles(w)["word-spacing"]:f.startsWith("unset")&&(f="initial")),"important"===l.style.getPropertyPriority("word-spacing"))if("initial"===(f=f.substring(0,f.length-10-1))||"normal"===f)b.push((0,a.RuleFail)("fail_word_spacing_style"));else{var v=parseFloat(f);isNaN(v)?b.push((0,a.RulePass)("pass")):""!==(C=f.trim().match(g))[2]&&0!==C[1]&&(null!==(x=o.CSSUtil.convertValue2Pixels(C[2],C[1],l))&&x/h<.16?b.push((0,a.RuleFail)("fail_word_spacing_style")):b.push((0,a.RulePass)("pass")))}else b.push((0,a.RulePass)("pass"));var A=_["letter-spacing"];if(A)if((A.startsWith("inherit")||A.startsWith("unset"))&&(null!==(w=o.CSSUtil.getAncestorWithStyles(l.parentElement,{"letter-spacing":["*"]},["inherit","unset"]))?A=o.CSSUtil.getDefinedStyles(w)["letter-spacing"]:A.startsWith("unset")&&(A="initial")),"important"===l.style.getPropertyPriority("letter-spacing"))if("initial"===(A=A.substring(0,A.length-10-1))||"normal"===A)b.push((0,a.RuleFail)("fail_letter_spacing_style"));else{var y=parseFloat(A);isNaN(y)?b.push((0,a.RulePass)("pass")):""!==(C=A.trim().match(g))[2]&&0!==C[1]&&(null!==(x=o.CSSUtil.convertValue2Pixels(C[2],C[1],l))&&x/h<.12?b.push((0,a.RuleFail)("fail_letter_spacing_style")):b.push((0,a.RulePass)("pass")))}else b.push((0,a.RulePass)("pass"));var w,k=_["line-height"];if(k&&null===o.CSSUtil.getAncestorWithStyles(l,{overflow:["auto","scroll"],"overflow-x":["auto","scroll"],"overflow-y":["auto","scroll"]}))if((k.startsWith("inherit")||k.startsWith("unset"))&&(null!==(w=o.CSSUtil.getAncestorWithStyles(l.parentElement,{"line-height":["*"]},["inherit","unset"]))?k=o.CSSUtil.getDefinedStyles(w)["line-height"]:k.startsWith("unset")&&(k="initial")),"important"===l.style.getPropertyPriority("line-height"))if("initial"===(k=k.substring(0,k.length-10-1))||"normal"===k)b.push((0,a.RuleFail)("fail_line_height_style"));else{var C,x,P=parseFloat(k);isNaN(P)?b.push((0,a.RulePass)("pass")):""===(C=k.trim().match(g))[2]?C[1]<1.5?b.push((0,a.RuleFail)("fail_line_height_style")):b.push((0,a.RulePass)("pass")):null!==(x=o.CSSUtil.convertValue2Pixels(C[2],C[1],l))&&x/h<1.5?b.push((0,a.RuleFail)("fail_line_height_style")):b.push((0,a.RulePass)("pass"))}else b.push((0,a.RulePass)("pass"));return b.length>0?b:null}}},855:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.text_whitespace_valid=void 0;var a=i(461),l=i(461),n=i(7139);t.text_whitespace_valid={id:"text_whitespace_valid",context:"dom:*",help:{"en-US":{pass:"text_whitespace_valid.html",potential_text:"text_whitespace_valid.html",group:"text_whitespace_valid.html"}},messages:{"en-US":{pass:"Rule Passed",potential_text:"Space characters should not be used to create space between the letters of a word",group:"Space characters should not be used to control spacing within a word"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["1.3.2"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_THREE}],act:[],run:function(e,t,i){var l=e.dom.node,r=n.CommonUtil.getAncestor(l,["body","script","code"]);if(null==r||"body"!=r.nodeName.toLowerCase())return null;for(var o=!0,s=l.firstChild;o&&s;){if("#text"==s.nodeName){var u=s.nodeValue;o=!/(^|\s)[a-zA-Z] [a-zA-Z] [a-zA-Z]($|\s)/.test(u)}s=s.nextSibling}return o?(0,a.RulePass)("pass"):(0,a.RulePotential)("potential_text")}}},3420:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.widget_tabbable_exists=void 0;var a=i(461),l=i(461),n=i(7011),r=i(7139),o=i(9955),s=i(3864),u=i(3946);t.widget_tabbable_exists={id:"widget_tabbable_exists",context:"aria:button,aria:link,aria:spinbutton,aria:tablist,aria:combobox,aria:listbox,aria:menu,aria:radiogroup,aria:tree,aria:menubar, aria:grid, aria:treegrid, 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:"widget_tabbable_exists.html",fail_no_tabbable:"widget_tabbable_exists.html",group:"widget_tabbable_exists.html"}},messages:{"en-US":{pass:"Rule Passed",fail_no_tabbable:'Component with "{0}" role does not have a tabbable element',group:"Component must have at least one tabbable element"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(!u.VisUtil.isNodeHiddenFromAT(l)&&!r.CommonUtil.isNodeDisabled(l)&&!n.AriaUtil.shouldBePresentationalChild(l)){if("datalist"===l.nodeName.toLowerCase())return null;for(var d=0,c=["combobox","grid","listbox","menu","menubar","radiogroup","tablist","tree","treegrid"];d<c.length;d++){var m=c[d];if(null!=n.AriaUtil.getAncestorWithRole(l,m,!0))return null}var p=o.ARIAMapper.nodeToRole(l),h=0;if(r.CommonUtil.isTabbable(l)&&++h,h<1&&!n.AriaUtil.containsPresentationalChildrenOnly(l)&&l.firstChild)for(var _=new s.DOMWalker(l);h<1&&_.nextNode()&&_.node!=l;)1==_.node.nodeType&&!_.bEndTag&&r.CommonUtil.isTabbable(_.node)&&++h;return h>=1?(0,a.RulePass)("pass"):(0,a.RulePotential)("fail_no_tabbable",[p])}}}},408:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.widget_tabbable_single=void 0;var a=i(461),l=i(461),n=i(3864),r=i(7011),o=i(7139),s=i(9955),u=i(4566),d=i(3946);t.widget_tabbable_single={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",potential_multiple_tabbable:"potential_multiple_tabbable"}},help:{"en-US":{pass:"widget_tabbable_single.html",potential_multiple_tabbable:"widget_tabbable_single.html",group:"widget_tabbable_single.html"}},messages:{"en-US":{pass:"Components with a widget role should have no more than one tabbable element",potential_multiple_tabbable:'Component with "{0}" role has more than one tabbable element',group:"Components with a widget role must have no more than one tabbable element"}},rulesets:[{id:["IBM_Accessibility","IBM_Accessibility_next","WCAG_2_1","WCAG_2_0","WCAG_2_2"],num:["2.1.1","2.4.3"],level:l.eRulePolicy.VIOLATION,toolkitLevel:l.eToolkitLevel.LEVEL_ONE}],act:[],run:function(e,t,i){var l=e.dom.node;if(!d.VisUtil.isNodeHiddenFromAT(l)&&!o.CommonUtil.isNodeDisabled(l)&&!r.AriaUtil.shouldBePresentationalChild(l)){var c=s.ARIAMapper.nodeToRole(l),m=0;o.CommonUtil.isTabbable(l)&&++m;var p=[];if(m<2&&!r.AriaUtil.containsPresentationalChildrenOnly(l)&&l.firstChild)for(var h=new n.DOMWalker(l);m<2&&h.nextNode()&&h.node!=l;)if(1==h.node.nodeType&&!h.bEndTag&&o.CommonUtil.isTabbable(h.node)){if("input"===h.node.nodeName.toLowerCase()&&"radio"===h.node.getAttribute("type")){var _=h.node.getAttribute("name");if(p.includes(_))continue;p.push(_)}++m}var b=m<2;return b||u.CacheUtil.setCache(l,"widget_tabbable_single","potential_multiple_tabbable"),b?(0,a.RulePass)("pass"):(0,a.RulePotential)("potential_multiple_tabbable",[c])}}}},6160:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.a11yRulesets=void 0;var a=i(8855),l=i(8601),n=[];for(var r in a)n.push(a[r]);var o={"1.1.1":"All non-text content that is presented to the user has a text alternative that serves the equivalent purpose.","1.2.1":"For prerecorded audio-only or video-only media, an alternative provides equivalent information.","1.2.2":"Captions are provided for all prerecorded audio content in synchronized media.","1.2.3":"An alternative for time-based media or audio description of the prerecorded video content is provided for synchronized media.","1.2.4":"Captions are provided for all live audio content in synchronized media.","1.2.5":"Audio description is provided for all prerecorded video content in synchronized media.","1.3.1":"Information, structure, and relationships conveyed through presentation can be programmatically determined or are available in text.","1.3.2":"When the sequence in which content is presented affects its meaning, a correct reading sequence can be programmatically determined.","1.3.3":"Instructions provided for understanding and operating content do not rely solely on sensory characteristics of components such as shape, size, visual location, orientation, or sound.","1.3.4":"Content does not restrict its view and operation to a single display orientation, such as portrait or landscape.","1.3.5":"The purpose of each input field that collects information about the user can be programmatically determined when the field serves a common purpose.","1.4.1":"Color is not used as the only visual means of conveying information, indicating an action, prompting a response, or distinguishing a visual element.","1.4.2":"If any audio plays automatically for more than 3 seconds, either a mechanism is available to pause or stop the audio, or a mechanism is available to control audio volume independently from the overall system volume level.","1.4.3":"The visual presentation of text and images of text has a contrast ratio of at least 4.5:1, with a 3:1 ratio for large-scale text.","1.4.4":"Text can be resized without assistive technology up to 200 percent without loss of content or functionality.","1.4.5":"If the technologies being used can achieve the visual presentation, text should not be used to convey information rather than images of text.","1.4.10":"Content can reflow without loss of information or functionality, and without requiring scrolling in two dimensions.","1.4.11":"The parts of graphical objects required to understand the content, and the visual information required to identify UI components and states, have a contrast ratio of at least 3:1 against adjacent colors.","1.4.12":"No loss of content or functionality occurs when users change letter, word and paragraph spacing, as well as line height.","1.4.13":"Where hover or focus actions cause additional content to become visible and hidden, the additional content is dismissable, hoverable and persistent.","2.1.1":"All functionality of the content is operable through a keyboard interface without requiring specific timings for individual keystrokes.","2.1.2":"If keyboard focus can be moved to a component using a keyboard interface, then focus can be moved away from that component using only a keyboard interface, and, if it requires more than unmodified arrow or tab keys or other standard exit methods, the user is advised of the method for moving focus away.","2.1.4":"If a keyboard shortcut is implemented using only letter, punctuation, number or symbol characters, then the shortcut can be turned off, remapped or activated only on focus.","2.2.1":"For each time limit that is set by the content, the user can turn off, adjust, or extend the limit.","2.2.2":"For moving, blinking, scrolling, or auto-updating information, the user can pause, stop, hide or adjust the information.","2.3.1":"Content does not contain anything that flashes more than three times in any one second period, or the flash is below the general flash and red flash thresholds.","2.4.1":"A mechanism is available to bypass blocks of content that are repeated on multiple Web pages.","2.4.2":"Web pages, non-web documents, and software have titles that describe topic or purpose.","2.4.3":"If content can be navigated sequentially and the navigation sequences affect meaning or operation, focusable components receive focus in an order that preserves meaning and operability.","2.4.4":"The purpose of each link can be determined from the link text alone or from the link text together with its programmatically determined link content.","2.4.5":"More than one way is available to locate a Web page within a set of Web pages, except where the Web Page is the result of, or a step in, a process.","2.4.6":"Headings and labels describe topic or purpose.","2.4.7":"Any keyboard operable user interface has a mode of operation where the keyboard focus indicator is visible.","2.4.11":"When an element receives focus, it is not entirely covered by other content.","2.5.1":"All functionality that uses multipoint or path-based gestures for operation can be operated with a single pointer without a path-based gesture.","2.5.2":"For functionality that can be operated using a single pointer, completion of the function is on the up-event with an ability to abort, undo or reverse the outcome.","2.5.3":"For user interface components with labels that include text or images of text, the accessible name contains the text that is presented visually.","2.5.4":"Functionality that can be operated by motion can also be operated by user interface components, and the motion trigger can be disabled.","2.5.8":"The size of the target for pointer inputs is at least 24 by 24 CSS pixels.","2.5.7":"All functionality that uses a dragging movement for operation can be achieved by a single pointer without dragging.","3.1.1":"The default human language of Web pages, non-Web documents, or software can be programmatically determined.","3.1.2":"The human language of each passage or phrase in the content can be programmatically determined.","3.2.1":"When any component receives focus, it does not initiate a change of context.","3.2.2":"Changing the setting of any user interface component does not automatically cause a change of context unless the user has been advised of the behavior before using the component.","3.2.3":"Navigational mechanisms that are repeated on multiple Web pages within a set of Web pages occur in the same relative order each time they are repeated, unless a change is initiated by the user.","3.2.4":"Components that have the same functionality within a set of Web pages are identified consistently.","3.2.6":"Make it easier to find help and support. If a Web page contains help mechanisms they occur in the same order relative to other page content, unless a change is initiated by the user.","3.3.1":"If an input error is automatically detected, the item that is in error is identified and the error is described to the user in text.","3.3.2":"Labels or instructions are provided when content requires user input.","3.3.3":"If an input error is automatically detected and suggestions for correction are known, then the suggestions are provided to the user, unless it would jeopardize the security or purpose of the content.","3.3.4":"For content that cause legal commitments or financial transactions for the user to occur, that modify or delete user-controllable data in data storage systems, or that submit user test responses, the user can reverse, correct, or confirm the action.","3.3.7":"Make it easier for users to complete multi-step processes. Don't ask for the same information twice in the same session.","3.3.8":"Make logins possible with less mental effort. Don't make people solve, recall, or transcribe something to log in.","4.1.1":"(Obsolete and removed) This requirement was originally adopted to address problems that assistive technology (AT) had directly parsing HTML. AT no longer has any need to directly parse HTML. Consequently, these problems either no longer exist or are addressed by other requirements.","4.1.2":"For all user interface components (including, but not limited to: form elements, links and components generated by scripts), the name and role can be programmatically determined; states, properties, and values that can be set by the user can be programmatically set; and notification of changes to these items is available to user agents, including assistive technologies.","4.1.3":"In content implemented using markup languages, status messages can be programmatically determined through role or properties such that they can be presented to the user by assistive technologies without receiving focus.",HTML:"The HTML specification issues that cause accessibility issues may be covered by other rules and will be reported under those accessibility requirements. However, some non-conforming HTML specification issues are still reported.",ARIA:"The ARIA specification issues that cause accessibility issues may be covered by other rules and will be reported under those accessibility requirements. However, some non-conforming ARIA specification issues are still reported."};t.a11yRulesets=[{id:"EXTENSIONS",name:"Extension Rules",category:l.eGuidelineCategory.ACCESSIBILITY,description:"Rules for enabling the browser extensions",type:l.eGuidelineType.EXTENSION,checkpoints:[{num:"1",name:"Extension CP 1",wcagLevel:"A",summary:"Rules for Extension"}]},{id:"IBM_Accessibility",name:"IBM Accessibility 7.3",category:l.eGuidelineCategory.ACCESSIBILITY,description:"Rules for WCAG 2.0, 2.1, 2.2 A and AA plus additional IBM supplemental requirements.",checkpoints:n.filter((function(e){return!("A"!==e.level&&"AA"!==e.level&&"NA"!==e.level||"2.0"!==e.wcagType&&"2.1"!==e.wcagType&&"2.2"!==e.wcagType&&"NA"!==e.wcagType)})).map((function(e){return{num:e.num,scId:e.scId,name:e.handle,wcagLevel:e.level,summary:o[e.num]}}))},{id:"IBM_Accessibility_next",name:"IBM Accessibility next",category:l.eGuidelineCategory.ACCESSIBILITY,description:"Rules for WCAG 2.0, 2.1, 2.2 A and AA plus additional IBM supplemental requirements.",checkpoints:n.filter((function(e){return!("A"!==e.level&&"AA"!==e.level&&"NA"!==e.level||"2.0"!==e.wcagType&&"2.1"!==e.wcagType&&"2.2"!==e.wcagType&&"NA"!==e.wcagType)})).map((function(e){return{num:e.num,scId:e.scId,name:e.handle,wcagLevel:e.level,summary:o[e.num]}}))},{id:"WCAG_2_2",name:"WCAG 2.2 (A, AA)",category:l.eGuidelineCategory.ACCESSIBILITY,description:"Rules for WCAG 2.2 A & AA. This is the current W3C recommendation (specification). Content that conforms to WCAG 2.2 also conforms to WCAG 2.1.",checkpoints:n.filter((function(e){return!("A"!==e.level&&"AA"!==e.level||"2.0"!==e.wcagType&&"2.1"!==e.wcagType&&"2.2"!==e.wcagType)})).map((function(e){return{num:e.num,scId:e.scId,name:e.handle,wcagLevel:e.level,summary:o[e.num]}}))},{id:"WCAG_2_1",name:"WCAG 2.1 (A, AA)",category:l.eGuidelineCategory.ACCESSIBILITY,description:"Rules for WCAG 2.1 A & AA. Content that conforms to WCAG 2.1 also conforms to WCAG 2.0.",checkpoints:n.filter((function(e){return!("A"!==e.level&&"AA"!==e.level||"2.0"!==e.wcagType&&"2.1"!==e.wcagType)})).map((function(e){return{num:e.num,scId:e.scId,name:e.handle,wcagLevel:e.level,summary:o[e.num]}}))},{id:"WCAG_2_0",name:"WCAG 2.0 (A, AA)",category:l.eGuidelineCategory.ACCESSIBILITY,description:"Rules for WCAG 2.0 A & AA. Referenced by US Section 508, but not the latest W3C recommendation.",checkpoints:n.filter((function(e){return("A"===e.level||"AA"===e.level)&&"2.0"===e.wcagType})).map((function(e){return{num:e.num,scId:e.scId,name:e.handle,wcagLevel:e.level,summary:o[e.num]}}))}]},1950:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AccNameUtil=void 0;var a=i(9910),l=i(7139),n=i(7011),r=i(3946),o=i(4566),s=i(3864),u=i(1686),d=function(){function e(){}return e.computeAccessibleName=function(t){if(!t)return null;var i=t.nodeName.toLowerCase(),r=o.CacheUtil.getCache(t,"ELEMENT_ACCESSBLE_NAME",void 0);if(void 0!==r)return r;var s=n.AriaUtil.getAriaLabel(t);if(s&&""!==s.trim())return o.CacheUtil.setCache(t,"ELEMENT_ACCESSBLE_NAME",{name:l.CommonUtil.truncateText(s),nameFrom:"ariaLabel"}),{name:l.CommonUtil.truncateText(s),nameFrom:"ariaLabel"};if(r=e.computeAccessibleNameForNativeElement(t))return o.CacheUtil.setCache(t,"ELEMENT_ACCESSBLE_NAME",r),r;var u=n.AriaUtil.getResolvedRole(t);if(a.ARIADefinitions.designPatterns[u]&&a.ARIADefinitions.designPatterns[u].nameFrom.includes("contents")&&(r=e.computeAccessibleNameFromContent(t)))return o.CacheUtil.setCache(t,"ELEMENT_ACCESSBLE_NAME",r),r;if(t.hasAttribute("title")){var d=t.getAttribute("title").trim();if(d&&d.trim().length>0)return d=l.CommonUtil.truncateText(d),o.CacheUtil.setCache(t,"ELEMENT_ACCESSBLE_NAME",{name:d,nameFrom:"title"}),{name:d,nameFrom:"title"}}if("textarea"===i||"input"===i&&(!t.hasAttribute("type")||l.CommonUtil.input_type_with_placeholder.includes(t.getAttribute("type")))){var c=t.getAttribute("placeholder");if(c&&c.trim().length>0)return c=l.CommonUtil.truncateText(c),o.CacheUtil.setCache(t,"ELEMENT_ACCESSBLE_NAME",{name:c,nameFrom:"placeholder"}),{name:c,nameFrom:"placeholder"}}return o.CacheUtil.setCache(t,"ELEMENT_ACCESSBLE_NAME",null),null},e.computeAccessibleNameForNativeElement=function(t){var i,a,n=t.nodeName.toLowerCase();if(l.CommonUtil.form_labelable_elements.includes(n)&&(m=l.CommonUtil.getFormFieldLabel(t))&&""!==m.trim())return{name:l.CommonUtil.truncateText(m),nameFrom:"label"};if("input"===n&&t.hasAttribute("type"))if(l.CommonUtil.form_button_types.includes(t.getAttribute("type"))){var o=l.CommonUtil.getElementAttribute(t,"value");if(o&&""!==o.trim())return{name:l.CommonUtil.truncateText(o),nameFrom:"value"};var s=t.getAttribute("type");if("submit"===s||"reset"===s)return{name:s,nameFrom:"internal"}}else if("image"===t.getAttribute("type")&&(_=l.CommonUtil.getElementAttribute(t,"alt"))&&""!==_.trim())return{name:l.CommonUtil.truncateText(_),nameFrom:"alt"};if("button"===n){if((f=t.innerText)&&""!==f.trim())return{name:l.CommonUtil.truncateText(f),nameFrom:"text"};var d=t.querySelector("img");if(d&&!r.VisUtil.isNodeHiddenFromAT(d)&&!r.VisUtil.isNodePresentational(d)&&(a=e.computeAccessibleName(d))&&a.name&&a.name.trim().length>0)return a}if("fieldset"===n&&(i=t.firstElementChild)&&"legend"===i.nodeName.toLowerCase()&&(f=i.innerText)&&f.trim().length>0)return{name:l.CommonUtil.truncateText(f),nameFrom:"legend"};if("output"===n&&t.hasAttribute("for")){var c=t.getAttribute("for").trim().split(" ");if(c&&c.length>0){for(var m="",p=0;p<c.length;p++){var h=t.ownerDocument.getElementById(c[p]);!h||u.DOMUtil.sameNode(h,t)||r.VisUtil.isNodeHiddenFromAT(h)||r.VisUtil.isNodePresentational(h)||(a=e.computeAccessibleName(h))&&a.name&&a.name.trim().length>0&&(m+=" "+l.CommonUtil.normalizeSpacing(a.name))}if(m.trim().length>0)return{name:l.CommonUtil.truncateText(m),nameFrom:"label"}}}if("summary"===n&&(f=t.innerText)&&f.trim().length>0)return{name:l.CommonUtil.truncateText(f),nameFrom:"legend"};if("details"===n)return(i=t.firstElementChild)&&"summary"===i.nodeName.toLowerCase()&&(a=e.computeAccessibleName(i))&&a.name&&a.name.trim().length>0?{name:l.CommonUtil.truncateText(a.name.trim()),nameFrom:"summary"}:{name:"details",nameFrom:"internal"};if("figure"===n&&!(b=t.firstElementChild)&&(b=t.lastElementChild)&&"figcaption"===b.nodeName.toLowerCase()&&(f=b.innerText)&&f.trim().length>0)return{name:l.CommonUtil.truncateText(f),nameFrom:"figcaption"};if("img"===n&&t.hasAttribute("alt")){var _=t.getAttribute("alt");return{name:l.CommonUtil.truncateText(_),nameFrom:"alt"}}if("area"===n&&t.hasAttribute("alt")&&(_=t.getAttribute("alt"))&&_.trim().length>0)return{name:l.CommonUtil.truncateText(_),nameFrom:"alt"};if("table"===n){var b,g=t.firstElementChild;if(g&&"caption"===g.nodeName.toLowerCase()&&(b=g.innerText)&&b.trim().length>0)return{name:l.CommonUtil.truncateText(b),nameFrom:"caption"}}if("a"===n){var f;if((f=t.innerText)&&""!==f.trim())return{name:l.CommonUtil.truncateText(f),nameFrom:"text"};var v=t.querySelectorAll(":scope > img, :scope > svg");if(v&&v.length>0){var A="";if(v.forEach((function(t){if(!r.VisUtil.isNodeHiddenFromAT(t)&&!r.VisUtil.isNodePresentational(t)){var i=e.computeAccessibleName(t);i&&i.name&&i.name.trim().length>0&&(A+=" "+i.name.trim())}})),""!==A.trim())return{name:A.trim(),nameFrom:"alt"}}}return("optgroup"===n||"option"===n||"track"===n)&&(m=t.getAttribute("label"))&&m.trim().length>0?{name:l.CommonUtil.truncateText(m),nameFrom:"label"}:"svg"===n&&(a=e.computeAccessibleNameForSVGElement(t))&&a.name&&a.name.trim().length>0?a:null},e.computeAccessibleNameForSVGElement=function(e){var t=e.querySelectorAll(":scope > title");if(t&&t.length>0){var i="";if(t.forEach((function(e){if(e&&!r.VisUtil.isNodeHiddenFromAT(e)&&!r.VisUtil.isNodePresentational(e)){var t=e.textContent;t&&""!==t.trim()&&(i+=t.trim())}})),i&&""!==i.trim())return{name:i.trim(),nameFrom:"svgTitle"}}var a=e.querySelector("a");if(a&&!r.VisUtil.isNodeHiddenFromAT(a)&&!r.VisUtil.isNodePresentational(a)){var o=a.getAttribute("xlink:title");if(o&&""!==o.trim())return{name:l.CommonUtil.truncateText(o),nameFrom:"svglinkTitle"}}var s="";if(e.querySelectorAll(":scope > *").forEach((function(e){if("svg"!==e.nodeName.toLowerCase()&&!r.VisUtil.isNodeHiddenFromAT(e)&&!r.VisUtil.isNodePresentational(e)){var t=e.textContent;t&&t.trim().length>0&&(s+=t)}})),""!==s.trim())return{name:l.CommonUtil.truncateText(s),nameFrom:"svgText"};var u=n.AriaUtil.getAriaDescription(e);if(u&&u.trim().length>0)return{name:l.CommonUtil.truncateText(u),nameFrom:"aria-description"};var d=e.querySelectorAll(":scope > desc");if(d&&d.length>0){var c="";if(d.forEach((function(e){if(e&&!r.VisUtil.isNodeHiddenFromAT(e)&&!r.VisUtil.isNodePresentational(e)){var t=e.textContent;t&&""!==t.trim()&&(c+=t.trim())}})),c&&""!==c.trim())return{name:c.trim(),nameFrom:"svgDesc"}}},e.computeAccessibleNameFromContent=function(t){var i=t.nodeName.toLowerCase(),a=(n.AriaUtil.getResolvedRole(t),e.computeAccessibleNameForCSSPseudoElement(t,"before"));return null!==a&&a.name&&a.name.trim().length>0||(a=e.computeAccessibleNameForCSSPseudoElement(t,"after"))&&a.name&&a.name.trim().length>0?a:t.shadowRoot&&(a=e.computeAccessibleNameForShadowHost(t))&&a.name&&a.name.trim().length>0?{name:a.name,nameFrom:"shadow"}:"slot"===i&&(a=e.computeAccessibleNameForSlostElement(t))&&a.name&&a.name.trim().length>0?{name:a.name,nameFrom:"slot"}:(a=e.computeAccessibleNameFromChildren(t))&&a.name&&a.name.trim().length>0?{name:a.name,nameFrom:"content"}:null},e.computeAccessibleNameForCSSPseudoElement=function(e,t){var i=e.ownerDocument.defaultView.getComputedStyle(e,t);if(i){var a=i.content;if(a&&"none"!==a&&(a=a.replace(/^"/,"").replace(/"$/,"")).trim().length>0)return{name:l.CommonUtil.truncateText(a),nameFrom:"css-"+t}}return null},e.computeAccessibleNameForShadowHost=function(t){var i="",a=t.shadowRoot;return a&&a.querySelectorAll("*").forEach((function(t){var a=e.computeAccessibleName(t);a&&a.name&&a.name.trim().length>0&&(i+=" "+a.name.trim())})),i.trim().length>0?{name:l.CommonUtil.truncateText(i),nameFrom:"shadow-host"}:null},e.computeAccessibleNameForSlostElement=function(t){var i="";if(t.assignedNodes()&&0!==t.assignedNodes().length)for(var a=0,n=t.assignedNodes();a<n.length;a++){var r,o=n[a];(r=e.computeAccessibleName(o))&&r.name&&r.name.length>0&&(i+=" "+r.name.trim())}else(r=e.computeAccessibleName(t))&&r.name&&r.name.trim().length>0&&(i+=" "+r.name.trim());return i.trim().length>0?{name:l.CommonUtil.truncateText(i),nameFrom:"content-slot"}:null},e.computeAccessibleNameFromChildren=function(t){for(var i="",a=new s.DOMWalker(t);a.nextNode()&&a.node!==t&&a.node!==t.parentNode;){var n=a.node;if(3===n.nodeType){var o=n.parentElement;!r.VisUtil.isNodeHiddenFromAT(o)&&!r.VisUtil.isNodePresentational(o)&&n.nodeValue&&n.nodeValue.trim().length>0&&(i+=" "+n.nodeValue.trim())}else if(1===n.nodeType&&!r.VisUtil.isNodeHiddenFromAT(n)&&!r.VisUtil.isNodePresentational(n)){var u=e.computeAccessibleName(n);u&&u.name&&u.name.length>0&&(i+=" "+u.name.trim())}}return i.trim().length>0?{name:l.CommonUtil.truncateText(i),nameFrom:"content"}:null},e}();t.AccNameUtil=d},7011:function(e,t,i){var a=this&&this.__spreadArray||function(e,t,i){if(i||2===arguments.length)for(var a,l=0,n=t.length;l<n;l++)!a&&l in t||(a||(a=Array.prototype.slice.call(t,0,l)),a[l]=t[l]);return e.concat(a||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.AriaUtil=void 0;var l=i(4566),n=i(9910),r=i(9955),o=i(3864),s=i(3946),u=i(7139),d=i(5279),c=i(1686),m=function(){function e(){}return e.isDefinedAriaAttributeAtIndex=function(t,i){var a=t.attributes[i].name;return e.isDefinedAriaAttribute(t,a)},e.getUserDefinedAriaAttributes=function(e){var t=[],i=e.attributes;if(i)for(var a=0;a<i.length;a++){var l=i[a].name.trim().toLowerCase();"aria-"===l.substring(0,5)&&t.push(l)}return t},e.getUserDefinedHtmlAttributes=function(e){var t=[],i=e.attributes;if(i)for(var a=0;a<i.length;a++){var l=i[a].name.trim().toLowerCase();"aria-"===l.substring(0,5)||t.push(l)}return t},e.getUserDefinedAriaAttributeNameValuePairs=function(e){var t=[],i=e.attributes;if(i)for(var a=0;a<i.length;a++){var l=i[a].name.trim().toLowerCase(),n=e.getAttribute(l);""===n&&(n=null),"aria-"===l.substring(0,5)&&t.push({name:l,value:n})}return t},e.getUserDefinedHtmlAttributeNameValuePairs=function(e){var t=[],i=e.attributes;if(i)for(var a=0;a<i.length;a++){var l=i[a].name.trim().toLowerCase(),n=e.getAttribute(l);""===n&&(n=null),"aria-"===l.substring(0,5)||t.push({name:l,value:n})}return t},e.getAriaAttribute=function(t,i){var a=t.getAttribute(i);if(t.hasAttribute(i)&&""===a.trim())return a;if(!a){var l=t.nodeName.toLowerCase();i in e.ariaAttributeImplicitMappings&&(l in e.ariaAttributeImplicitMappings[i]?"function"==typeof(a=e.ariaAttributeImplicitMappings[i][l])&&(a=a(t)):"*"in e.ariaAttributeImplicitMappings[i]&&"function"==typeof(a=e.ariaAttributeImplicitMappings[i]["*"])&&(a=a(t)))}if(!a){var n=r.ARIAMapper.nodeToRole(t);n in e.ariaAttributeRoleDefaults&&i in e.ariaAttributeRoleDefaults[n]&&"function"==typeof(a=e.ariaAttributeRoleDefaults[n][i])&&(a=a(t))}return!a&&i in e.ariaAttributeGlobalDefaults&&(a=e.ariaAttributeGlobalDefaults[i]),a},e.isDefinedAriaAttribute=function(e,t){var i=!1;return"aria-"===t.substring(0,5)&&(i=e.hasAttribute&&e.hasAttribute(t)&&e.getAttribute(t).length>0),i},e.getResolvedRole=function(t,i){if(void 0===i&&(i=!0),!t)return null;var a=l.CacheUtil.getCache(t,"RPTUTIL_ELEMENT_RESOLVED_ROLE",null);if(null===a){var n=e.getUserDefinedRoles(t),r=e.getElementAriaProperty(t),o=e.getAllowedAriaRoles(t,r),s=!1;if(n&&n.length>0&&o&&o.length>0){for(var d=0;d<n.length;d++)if(o.includes("any")||o.includes(n[d])){if(o.includes("any")&&"generic"===n[d]){s=!0;continue}if(("presentation"===(a=n[d])||"none"===a)&&u.CommonUtil.isFocusable(t)){a=null;continue}break}s&&(a="generic")}if(null===a&&i){var c=e.getImplicitRole(t);a=c&&c.length>0?c[0]:void 0}l.CacheUtil.setCache(t,"RPTUTIL_ELEMENT_RESOLVED_ROLE",a)}return void 0!==a?a:null},e.getUserDefinedRoles=function(t){return e.getRoles(t,!1)},e.getRoles=function(t,i){var a=[];if(t&&t.hasAttribute&&t.hasAttribute("role"))for(var l=u.CommonUtil.normalizeSpacing(t.getAttribute("role").trim()).split(" "),n=0;n<l.length;++n)a.push(l[n]);if(i){var r=e.getImplicitRole(t);null!==r&&r.length>0&&u.CommonUtil.concatUniqueArrayItemList(r,a)}return a},e.getImplicitRole=function(t){if(!t||1!==t.nodeType)return null;var i=l.CacheUtil.getCache(t,"AriaUtil_ImplicitRole",null);if(!i){var a=e.getElementAriaProperty(t);if(a&&a.implicitRole){if(a.implicitRole.includes("generic")){var r=e.getUserDefinedAriaAttributes(t);if(0===r.length)return l.CacheUtil.setCache(t,"AriaUtil_ImplicitRole",[]),[];var o=[],s=n.ARIADefinitions.designPatterns.generic;if(s.reqProps&&s.reqProps.length>0&&u.CommonUtil.concatUniqueArrayItemList(s.reqProps,o),a.globalAriaAttributesValid&&u.CommonUtil.concatUniqueArrayItemList(n.ARIADefinitions.globalProperties,o),s.deprecatedProps&&s.deprecatedProps.length>0&&u.CommonUtil.reduceArrayItemList(s.deprecatedProps,o),o.length>0&&!o.some((function(e){return r.includes(e)}))){var d=u.CommonUtil.reduceArrayItemList(["generic"],a.implicitRole);return l.CacheUtil.setCache(t,"AriaUtil_ImplicitRole",d),d}}return l.CacheUtil.setCache(t,"AriaUtil_ImplicitRole",a.implicitRole),a.implicitRole}return l.CacheUtil.setCache(t,"AriaUtil_ImplicitRole",[]),[]}return i},e.getRoleRequiredProperties=function(e,t){if(null===e)return null;if(n.ARIADefinitions.designPatterns[e]){var i=n.ARIADefinitions.designPatterns[e].reqProps;return"separator"===e.toLowerCase()&&t&&u.CommonUtil.isFocusable(t)&&(i=u.CommonUtil.concatUniqueArrayItemList(["aria-valuenow"],i||[])),i}return null},e.hasRole=function(t,i,a){var l=!1;if(t&&t.hasAttribute&&t.hasAttribute("role"))if("string"!=typeof i)for(var n=t.getAttribute("role").trim().split(" "),r=0;!l&&r<n.length;++r)l=n[r]in i;else for(n=t.getAttribute("role").trim().split(" "),r=0;!l&&r<n.length;++r)l=n[r]===i;if(!l&&a){var o=[],s=e.getImplicitRole(t);if(null!==s&&s.length>0)if(u.CommonUtil.concatUniqueArrayItemList(s,o),"string"!=typeof i)for(r=0;!l&&r<o.length;++r)l=o[r]in i;else for(r=0;!l&&r<o.length;++r)l=o[r]===i}return l},e.hasRoleInSemantics=function(t,i){var a=!1,l=!1;if(t&&t.hasAttribute&&t.hasAttribute("role"))if("string"!=typeof i)for(var n=t.getAttribute("role").trim().toLowerCase().split(/\s+/),r=0;!a&&r<n.length;++r)l=!0,a=n[r]in i;else for(n=t.getAttribute("role").trim().toLowerCase().split(/\s+/),r=0;!a&&r<n.length;++r)l=!0,a=n[r]===i;if(l)return a;var o=e.getImplicitRole(t);if(null!==o&&o.length>0)if("string"!=typeof i)for(r=0;!a&&r<o.length;++r)a=o[r]in i;else for(r=0;!a&&r<o.length;++r)a=o[r]===i;return a},e.hasAnyRole=function(t,i){var a=!1;if(t&&t.hasAttribute&&t.hasAttribute("role")&&(a=!0),!a&&i){var l=e.getImplicitRole(t);null!==l&&l.length>0&&(a=!0)}return a},e.isPresentationalElement=function(e){return u.CommonUtil.valInArray(e.nodeName.toLowerCase(),["abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","a","progress","meter","basefont","big","center","strike","tt","font","blink","h1","h2","h3","h4","h5","h6","hr","blockquote","p"])},e.getAncestorWithRole=function(t,i,a){for(var l=o.DOMWalker.parentNode(t);null!==l;){if(a){if(e.hasRoleInSemantics(l,i))break}else if(e.hasRole(l,i,!1))break;l=o.DOMWalker.parentNode(l)}return l},e.getAncestorWithRoles=function(t,i){if(!t||!i||!i.length||0===i.length)return null;for(var a=t;null!==a;){var l=e.getResolvedRole(a);if(null!==l&&i.includes(l))return a;a=o.DOMWalker.parentNode(a)}return null},e.getRolesWithTypes=function(e,t){if(!e||!t||!t.length||0===t.length)return null;var i=l.CacheUtil.getCache(e.ownerDocument,"roles_with_given_types",null);return i&&0!==i.length||(i=[],Object.entries(n.ARIADefinitions.designPatterns).forEach((function(e){var a=e[0],l=e[1];t.includes(l.roleType)&&i.push(a)})),l.CacheUtil.setCache(e.ownerDocument,"roles_with_given_types",i)),i},e.isWidget=function(t){if(!t)return!1;var i=l.CacheUtil.getCache(t.ownerDocument,"is_element_widget",null);if(null===i){var a=!1,r=e.getResolvedRole(t);return r&&"widget"===n.ARIADefinitions.designPatterns[r].roleType&&(a=!0),l.CacheUtil.setCache(t.ownerDocument,"is_element_widget",a),a}return i},e.getSiblingWithRole=function(t,i){return e.getSiblingWithRoleHidden(t,i,!1)},e.getSiblingWithRoleHidden=function(t,i,a,l){var n=null,r=!1;if(t&&i){for(n=t.nextSibling;null!==n&&!r;)a&&u.CommonUtil.shouldNodeBeSkippedHidden(n)||(r=l?e.hasRoleInSemantics(n,i):e.hasRole(n,i,!1)),n=n.nextSibling;if(!n)for(n=t.previousSibling;null!==n&&!r;)a&&u.CommonUtil.shouldNodeBeSkippedHidden(n)||(r=e.hasRole(n,i,l)),n=n.previousSibling}return n},e.getDescendantWithRole=function(t,i){return e.getDescendantWithRoleHidden(t,i,!1)},e.getDescendantWithRoleHidden=function(t,i,a,l){for(var n=null,r=new o.DOMWalker(t);r.nextNode()&&r.node!=t&&r.node!=t.nextSibling;)if((!a||!u.CommonUtil.shouldNodeBeSkippedHidden(r.node))&&(l?e.hasRoleInSemantics(r.node,i):e.hasRole(r.node,i,!1))){n=r.node;break}return n},e.getAllDescendantsWithRoles=function(t,i,a,l){if(i&&0!==i.length){var n=[];return i.forEach((function(i){var r=e.getAllDescendantsWithRoleHidden(t,i,a,l);r&&r.length>0&&(n=n.concat(r))})),n}},e.getAllDescendantsWithRoleHidden=function(t,i,a,l){for(var n=[],r=new o.DOMWalker(t);r.nextNode()&&r.node!=t&&r.node!=t.nextSibling;)r.bEndTag||a&&u.CommonUtil.shouldNodeBeSkippedHidden(r.node)||e.hasRole(r.node,i,l)&&n.push(r.node);return n},e.getDirectATChildren=function(t){var i=e.getRequiredChildRoles(t,!0),a=[];return e.retrieveDirectATChildren(t,i,a),a},e.retrieveDirectATChildren=function(t,i,a){var l=[];if(null!==t.children&&t.children.length>0)for(var n=0;n<t.children.length;n++)l.push(t.children[n]);var r=t.getAttribute("aria-owns");if(r){var o=t.ownerDocument;if(o){var u=r.split(" ");for(n=0;n<u.length;n++){var d=o.getElementById(u[n]);d&&l.push(d)}}}if(l.length>0){for(n=0;n<l.length;n++)if(!s.VisUtil.isNodeHiddenFromAT(l[n])&&s.VisUtil.isNodeVisible(l[n])){var c=e.getRoles(l[n],!1);null!==c&&0!==c.length||(c=e.getImplicitRole(l[n])),c&&null!==c&&c.length>0&&(c=c.filter((function(e){return"none"!==e&&"presentation"!==e}))).includes("group")&&i&&i.includes("group")&&(c=c.filter((function(e){return"group"!==e}))),c&&null!==c&&c.length>0?a.push(l[n]):e.retrieveDirectATChildren(l[n],i,a)}return null}return null},e.getRequiredChildRoles=function(t,i){var a=e.getRoles(t,!1);if(a&&0!==a.length||!i||(a=e.getImplicitRole(t)),!a||0===a.length)return null;var l=["none","presentation"];if(a.some((function(e){return l.includes(e)})))return null;for(var r=n.ARIADefinitions.designPatterns,o=new Array,s=0;s<a.length;++s)r[a[s]]&&null!==r[a[s]].reqChildren&&(o=u.CommonUtil.concatUniqueArrayItemList(r[a[s]].reqChildren,o));return o},e.getAriaOwnsWithRole=function(t,i){return e.getAriaOwnsWithRoleHidden(t,i,!1)},e.getAriaOwnsWithRoleHidden=function(t,i,a,l){var n=null,r=!1;if(u.CommonUtil.attributeNonEmpty(t,"aria-owns")){var o=t.getAttribute("aria-owns");if(n=d.FragmentUtil.getById(t,o),c.DOMUtil.sameNode(t,n))return null;r=a&&null!=n&&u.CommonUtil.shouldNodeBeSkippedHidden(n)?null:e.hasRole(n,i,l)}return r?n:null},e.hasAriaLabel=function(e){return u.CommonUtil.attributeNonEmpty(e,"aria-label")||u.CommonUtil.attributeNonEmpty(e,"aria-labelledby")},e.hasUniqueAriaLabelsLocally=function(e,t){if(0===e.length)return!1;var i=e[0].ownerDocument,a=!1,n=null;t&&(n=l.CacheUtil.getCache(i,"AriaUtil_HAS_UNIQUE_ARIA_LABELS",null)),null===n&&(n={});for(var r=0;!a&&r<e.length;++r)if(e[r].hasAttribute)if(e[r].hasAttribute("aria-label")){var o=u.CommonUtil.normalizeSpacing(e[r].getAttribute("aria-label")).toLowerCase();a=o in n,n[o]=!0}else if(e[r].hasAttribute("aria-labelledby")){var s=e[r].getAttribute("aria-labelledby"),m=d.FragmentUtil.getById(e[r],s),p=m&&!c.DOMUtil.sameNode(m,e[r])?u.CommonUtil.getInnerText(m):"",h=u.CommonUtil.normalizeSpacing(p).toLowerCase();a=h in n,n[h]=!0}else a=!0;return t&&l.CacheUtil.setCache(i,"AriaUtil_HAS_UNIQUE_ARIA_LABELS",n),!a},e.getAriaLabel=function(e){if(e.hasAttribute){if(e.hasAttribute("aria-labelledby")){for(var t=e.getAttribute("aria-labelledby").trim().split(" "),i="",a=0,l=t.length;a<l;++a){var n=t[a],r=d.FragmentUtil.getById(e,n),o=r&&!c.DOMUtil.sameNode(r,e)?u.CommonUtil.getInnerText(r):"";i+=u.CommonUtil.normalizeSpacing(o).toLowerCase()}return i.trim()}if(e.hasAttribute("aria-label"))return u.CommonUtil.normalizeSpacing(e.getAttribute("aria-label")).toLowerCase().trim()}return""},e.getAriaDescription=function(e){if(!e)return"";var t="",i=e.getAttribute("aria-labelledby");if(i&&i.trim().length>0){for(var a=i.trim().split(" "),l=0,n=a.length;l<n;++l){var r=a[l],o=d.FragmentUtil.getById(e,r),s=o&&!c.DOMUtil.sameNode(o,e)?u.CommonUtil.getInnerText(o):"";s&&s.trim().length>0&&(t+=u.CommonUtil.normalizeSpacing(s).toLowerCase())}if(t.trim().length>0)return t.trim()}return(i=e.getAttribute("aria-description"))&&i.trim().length>0?i.trim().toLowerCase():""},e.findAriaLabelDupes=function(t){var i={};return t.forEach((function(t){i[e.getAriaLabel(t)]=(i[e.getAriaLabel(t)]||0)+1})),i},e.hasUniqueAriaLabels=function(t){return e.hasUniqueAriaLabelsLocally(t,!0)},e.hasDuplicateAriaLabelsLocally=function(e,t){if(0===e.length)return!1;var i=e[0].ownerDocument,a=null,n=new Array;t&&(a=l.CacheUtil.getCache(i,"AriaUtil_HAS_UNIQUE_ARIA_LABELS",null)),null===a&&(a={});for(var r=0;r<e.length;++r)if(e[r].hasAttribute)if(e[r].hasAttribute("aria-label")){var o=u.CommonUtil.normalizeSpacing(e[r].getAttribute("aria-label")).toLowerCase();a[o]=!0,o in n||(n[o]=new Array),n[o].push(e[r].nodeName.toLowerCase())}else if(e[r].hasAttribute("aria-labelledby")){for(var s=e[r].getAttribute("aria-labelledby").trim().split(" "),m="",p=0,h=s.length;p<h;++p){var _=s[p],b=d.FragmentUtil.getById(e[r],_),g=b&&!c.DOMUtil.sameNode(b,e[r])?u.CommonUtil.getInnerText(b):"";m+=u.CommonUtil.normalizeSpacing(g).toLowerCase()}a[m]=!0,m in n||(n[m]=new Array),n[m].push(e[r].nodeName.toLowerCase())}return t&&l.CacheUtil.setCache(i,"AriaUtil_HAS_UNIQUE_ARIA_LABELS",a),n},e.hasDuplicateAriaLabels=function(t){return e.hasDuplicateAriaLabelsLocally(t,!0)},e.hasUniqueAriaLabelledby=function(e){for(var t=!1,i={},a=0;!t&&a<e.length;++a)if(e[a].hasAttribute&&e[a].hasAttribute("aria-labelledby")&&!u.CommonUtil.isIdReferToSelf(e[a],e[a].getAttribute("aria-labelledby"))){var l=u.CommonUtil.normalizeSpacing(e[a].getAttribute("aria-labelledby"));t=l in i,i[l]=!0}else t=!0;return!t},e.getElementAriaProperty=function(t){var i=l.CacheUtil.getCache(t,"AriaUtil_ElementAriaProperty",null);if(!i){var r=null;if(t.tagName?r=t.tagName.toLowerCase():t.nodeName&&(r=t.nodeName.toLowerCase()),null==(i=n.ARIADefinitions.documentConformanceRequirement[r])){var o=n.ARIADefinitions.documentConformanceRequirementSpecialTags[r];switch(r){case"a":case"area":i=u.CommonUtil.attributeNonEmpty(t,"href")?o["with-href"]:o["without-href"];break;case"figure":var s=u.CommonUtil.getChildByTag(t,"figcaption");i=null!==s&&s.length>0?o["child-figcaption"]:o["no-child-figcaption"];break;case"footer":case"header":i=null!==e.getAncestorWithRole(t,"article",!0)||null!==e.getAncestorWithRole(t,"complementary",!0)||null!==e.getAncestorWithRole(t,"navigation",!0)||null!==e.getAncestorWithRole(t,"region",!0)||null!==u.CommonUtil.getAncestor(t,["article","aside","main","nav","section"])?o["des-section-article-aside-main-nav"]:o.other;break;case"img":var d=t.hasAttribute("alt")?t.getAttribute("alt"):null,m=t.hasAttribute("title")?t.getAttribute("title"):null;i=0!==e.getAriaLabel(t).trim().length||null!==d&&d.length>0||null!==m&&m.length>0?o["img-with-accname"]:null!==d?o["img-without-accname-empty-alt"]:o["img-without-accname-no-alt"];break;case"input":if(u.CommonUtil.attributeNonEmpty(t,"type")){var p=t.getAttribute("type").trim().toLowerCase();if(null==(i=o[p]))switch(p){case"checkbox":i=u.CommonUtil.attributeNonEmpty(t,"aria-pressed")?o["checkbox-with-aria-pressed"]:o["checkbox-without-aria-pressed"];break;case"email":i=u.CommonUtil.attributeNonEmpty(t,"list")?o["email-with-list"]:o["email-no-list"];break;case"search":i=u.CommonUtil.attributeNonEmpty(t,"list")?o["search-with-list"]:o["search-no-list"];break;case"tel":i=u.CommonUtil.attributeNonEmpty(t,"list")?o["tel-with-list"]:o["tel-no-list"];break;case"text":i=u.CommonUtil.attributeNonEmpty(t,"list")?o["text-with-list"]:o["text-no-list"];break;case"url":i=u.CommonUtil.attributeNonEmpty(t,"list")?o["url-with-list"]:o["url-no-list"];break;default:i=u.CommonUtil.attributeNonEmpty(t,"list")?o["default-with-list"]:o["default-no-list"]}}else i=u.CommonUtil.attributeNonEmpty(t,"list")?o["text-with-list"]:o["text-no-list"];break;case"li":o=n.ARIADefinitions.documentConformanceRequirementSpecialTags.li,i=t.parentElement&&e.hasRoleInSemantics(t.parentElement,"list")?o["child-of-list-role"]:o["no-child-of-list-role"];break;case"section":var h=e.getAriaLabel(t);i=h&&h.trim().length>0||u.CommonUtil.attributeNonEmpty(t,"title")?o["with-name"]:o["without-name"];break;case"select":o=n.ARIADefinitions.documentConformanceRequirementSpecialTags.select,i=t.hasAttribute("multiple")||u.CommonUtil.attributeNonEmpty(t,"size")&&t.getAttribute("size")>1?o["multiple-attr-size-gt1"]:o["no-multiple-attr-size-gt1"];break;case"summary":o=n.ARIADefinitions.documentConformanceRequirementSpecialTags.summary,i=t.parentElement&&"details"===t.parentElement.nodeName.toLowerCase()&&c.DOMUtil.sameNode(a([],t.parentElement.children,!0).filter((function(e){return"summary"===e.nodeName.toLowerCase()}))[0],t)?o["first-summary-of-detail"]:o["no-first-summary-of-detail"];break;case"tbody":case"td":case"tr":i=null!==e.getAncestorWithRole(t,"table",!0)?o["des-table"]:e.getAncestorWithRole(t,"grid",!0)||e.getAncestorWithRole(t,"treegrid",!0)?o["des-grid"]:o["des-other"];break;case"th":i=null!==e.getAncestorWithRole(t,"table",!0)||null!==e.getAncestorWithRole(t,"grid",!0)||null!==e.getAncestorWithRole(t,"treegrid",!0)?"column"===u.CommonUtil.getScopeForTh(t)?o["des-table-grid-treegrid-column-scope"]:o["des-table-grid-treegrid-row-scope"]:o["des-other"];break;case"div":var _=t.parentElement;i=null!==_&&"dl"===_.nodeName.toLowerCase()?o["child-dl"]:o["no-child-dl"];break;default:i=n.ARIADefinitions.documentConformanceRequirementSpecialTags.default}}}return l.CacheUtil.setCache(t,"AriaUtil_ElementAriaProperty",i),i||null},e.getAllowedAriaRoles=function(t,i){var a=l.CacheUtil.getCache(t,"AriaUtil_AllowedAriaRoles",null);if(!a){a=[];var n;if(null!=(n=null!=i?i:e.getElementAriaProperty(t))){null!==n.implicitRole&&u.CommonUtil.concatUniqueArrayItemList(n.implicitRole,a),null!==n.validRoles&&u.CommonUtil.concatUniqueArrayItemList(n.validRoles,a);var r=e.getImplicitRole(t);r&&r.length>0&&u.CommonUtil.concatUniqueArrayItemList(n.validRoles,a)}l.CacheUtil.setCache(t,"AriaUtil_AllowedAriaRoles",a)}return a},e.getAllowedAriaAttributes=function(t,i,r){var o=l.CacheUtil.getCache(t,"AriaUtil_AllowedAriaAttributes",null);if(!o){o=[];var s=a([],i,!0),d=t.tagName.toLowerCase(),c=[];n.ARIADefinitions.elementsAllowedDisabled.indexOf(d)>-1&&(o=u.CommonUtil.concatUniqueArrayItem("aria-disabled",o)),n.ARIADefinitions.elementsAllowedRequired.indexOf(d)>-1&&(o=u.CommonUtil.concatUniqueArrayItem("aria-required",o)),n.ARIADefinitions.elementsAllowedReadOnly.indexOf(d)>-1&&(o=u.CommonUtil.concatUniqueArrayItem("aria-readonly",o));var m=null;if(null!=(m=null!=r&&void 0!==r?r:e.getElementAriaProperty(t))){if(null!==m.implicitRole&&(null==s||0===s.length)&&void 0===m.allowAttributesFromImplicitRole)for(var p=0;p<m.implicitRole.length;p++){var h=n.ARIADefinitions.designPatterns[m.implicitRole[p]];if(null!=h){var _=h.props;u.CommonUtil.concatUniqueArrayItemList(_,o),_=e.getRoleRequiredProperties(m.implicitRole[p],t),u.CommonUtil.concatUniqueArrayItemList(_,o),(v=h.prohibitedProps)&&v.length>0&&u.CommonUtil.concatUniqueArrayItemList(v,c),"separator"===m.implicitRole[p]&&u.CommonUtil.isFocusable(t)&&u.CommonUtil.concatUniqueArrayItemList(["aria-disabled","aria-valuenow","aria-valuemax","aria-valuemin","aria-valuetext"],o)}}if(m.globalAriaAttributesValid){var b=n.ARIADefinitions.globalProperties;u.CommonUtil.concatUniqueArrayItemList(b,o)}}for(m&&m.otherRolesForAttributes&&m.otherRolesForAttributes.length>0&&u.CommonUtil.concatUniqueArrayItemList(m.otherRolesForAttributes,s),p=0;null!==s&&p<s.length;p++){var g=n.ARIADefinitions.designPatterns[s[p]];if(null!=g){if(!m||null===m.implicitRole||!m.implicitRole.includes(s[p])||m.implicitRole.includes(s[p])&&void 0===m.allowAttributesFromImplicitRole){var f=g.props;u.CommonUtil.concatUniqueArrayItemList(f,o),f=e.getRoleRequiredProperties(s[p],t),u.CommonUtil.concatUniqueArrayItemList(f,o)}var v;(v=g.prohibitedProps)&&v.length>0&&u.CommonUtil.concatUniqueArrayItemList(v,c),"separator"===s[p]&&u.CommonUtil.isFocusable(t)&&u.CommonUtil.concatUniqueArrayItemList(["aria-disabled","aria-valuemax","aria-valuemin","aria-valuetext"],o)}}if(s.includes("row")&&null==e.getAncestorWithRole(t,"treegrid",!0)){var A=-1;(A=o.indexOf("aria-level"))>-1&&o.splice(A,1),(A=o.indexOf("aria-setsize"))>-1&&o.splice(A,1),(A=o.indexOf("aria-posinset"))>-1&&o.splice(A,1)}if(m&&m.otherAllowedAriaAttributes&&m.otherAllowedAriaAttributes.length>0){for(var y=[],w=0;w<m.otherAllowedAriaAttributes.length;w++)if((x=m.otherAllowedAriaAttributes[w]).includes("=")){var k=x.split("=");t.getAttribute(k[0])===k[1]&&y.push(k[0])}else y.push(x);y.length>0&&u.CommonUtil.concatUniqueArrayItemList(y,o)}if(m&&m.otherDisallowedAriaAttributes&&m.otherDisallowedAriaAttributes.length>0){var C=[];for(w=0;w<m.otherDisallowedAriaAttributes.length;w++){var x;(x=m.otherDisallowedAriaAttributes[w]).includes("=")?(k=x.split("="),t.getAttribute(k[0])===k[1]&&C.push(k[0])):C.push(x)}C.length>0&&u.CommonUtil.concatUniqueArrayItemList(C,c)}o=u.CommonUtil.reduceArrayItemList(c,o),i&&0!==i.length||null!==m.implicitRole||!m.prohibitedAriaAttributesWhenNoImplicitRole||(o=u.CommonUtil.reduceArrayItemList(m.prohibitedAriaAttributesWhenNoImplicitRole,o)),l.CacheUtil.setCache(t,"AriaUtil_AllowedAriaAttributes",o)}return o},e.getConflictOrOverlappingHtmlAttribute=function(e,t,i){var a=n.ARIADefinitions.relatedAriaHtmlAttributes[e.name];if(a){if(!e||0==e.length||!t||0==t.length)return[];var l=[],r=null;if("conflict"===i){if(!a.conflict||0===Object.keys(a.conflict).length)return null;r=a.conflict}else{if("overlapping"!==i)return null;if(!a.overlapping||0===Object.keys(a.overlapping).length)return null;r=a.overlapping}for(var o=!1,s=!1,u=0;u<r.length;u++)for(var d=r[u].ariaAttributeValue,c=r[u].htmlAttributeNames,m=r[u].htmlAttributeValues,p=0;p<t.length;p++){var h=c.indexOf(t[p].name);if(-1!==h){o=!0;var _=null===m||null===m[h]?null:m[h].split(",");null===d?(null===_||_.includes(t[p].value))&&(l.push({result:"Failed",attr:t[p].name}),s=!0):null===_?d===e.value&&(l.push({result:"Failed",attr:t[p].name}),s=!0):("VALUE"===d&&_.includes("VALUE")&&_[0]!==e.value||d===e.value&&_.includes(t[p].value))&&(l.push({result:"Failed",attr:t[p].name}),s=!0)}}return o&&!s&&l.push({result:"Pass",attr:""}),l}return null},e.containsPresentationalChildrenOnly=function(t){var i=e.getRoles(t,!1);if(i&&0!==i.length||(i=e.getImplicitRole(t)),!i||0===i.length)return!1;for(var a=0;null!==i&&a<i.length;a++){var l=n.ARIADefinitions.designPatterns[i[a]];if(null!=l&&!0===l.presentationalChildren)return!0}return!1},e.shouldBePresentationalChild=function(t){for(var i=o.DOMWalker.parentElement(t);i;){if(e.containsPresentationalChildrenOnly(i))return!0;i=r.ARIAMapper.getAriaOwnedBy(i)||o.DOMWalker.parentElement(i)}return!1},e.areRolesDefined=function(e){if(!e||0===e.length)return null;for(var t=n.ARIADefinitions.designPatterns,i=0,a=e;i<a.length;i++)if(!(a[i].toLowerCase()in t))return!1;return!0},e.getInvalidRoles=function(t){var i=e.getUserDefinedRoles(t);if(!i||0===i.length)return null;if(i&&i.includes("generic"))return["generic"];var a=e.getElementAriaProperty(t),l=e.getAllowedAriaRoles(t,a);if(!l||0===l.length)return i;var n=[];if(l.includes("any"))return[];for(var r=0;r<i.length;r++)l.includes(i[r])||n.includes(i[r])||n.push(i[r]);return n},e.getRolesUndefinedByAria=function(t){if(!t)return null;var i=e.getRoles(t,!1),a=[];if(i&&i.length>0)for(var l=n.ARIADefinitions.designPatterns,r=0;r<i.length;r++)i[r]in l||a.push(i[r]);return a},e.getInvalidAriaAttributes=function(t){var i=e.getUserDefinedRoles(t),a=e.areRolesDefined(i);if(null!==a&&!a)return null;var l=[];i&&0!=i.length||(i=e.getImplicitRole(t));var n=e.getUserDefinedAriaAttributes(t),r=e.getElementAriaProperty(t),o=e.getAllowedAriaAttributes(t,i,r);if(n)for(var s=0;s<n.length;s++){var u=n[s].trim().toLowerCase();o.includes(u)||l.includes(u)||l.push(u)}return l},e.getConflictAriaAndHtmlAttributes=function(t){var i=e.getUserDefinedAriaAttributeNameValuePairs(t),a=e.getUserDefinedHtmlAttributeNameValuePairs(t),l=[];if(i&&i.length>0&&a&&a.length>0)for(var n=function(t){var n=e.getConflictOrOverlappingHtmlAttribute(i[t],a,"conflict");if(null===n)return"continue";n.forEach((function(e){"Failed"===e.result&&l.push({ariaAttr:i[t].name,htmlAttr:e.attr})}))},r=0;r<i.length;r++)n(r);return l},e.getDeprecatedAriaRoles=function(t){if(!t)return null;var i=e.getRoles(t,!1),a=[];if(i&&i.length>0)for(var l=n.ARIADefinitions.globalDeprecatedRoles,r=0;r<i.length;r++)l.includes(i[r])&&a.push(i[r]);return a},e.getDeprecatedAriaAttributes=function(t){if(!t)return null;var i=t.attributes,a=[];if(i)for(var l=0;l<i.length;l++){var r=i[l].name;"aria-"===r.substring(0,5)&&a.push(r)}if(0===a.length)return[];var o=[],s=n.ARIADefinitions.globalDeprecatedProperties;for(l=0;l<a.length;l++)s.includes(a[l])&&o.push({role:"any",attribute:a[l]});var u=e.getRoles(t,!1);if(u&&u.length>0)for(l=0;l<u.length;l++){var d=n.ARIADefinitions.designPatterns[u[l]];if(d){var c=d.deprecatedProps;if(c&&c.length>0)for(var m=0;m<a.length;m++)c.includes(a[m])&&o.push({role:u[l],attribute:a[m]})}}return o},e.isNodeInGrid=function(t){return null!=e.getAncestorWithRole(t,"grid")},e.navLinkKeywords=["start","next","prev","previous","contents","index"],e.rulesThatHaveToCheckHidden=["RPT_Elem_UniqueId"],e.ariaAttributeRoleDefaults={alert:{"aria-live":"assertive","aria-atomic":"true"},combobox:{"aria-haspopup":"listbox"},listbox:{"aria-orientation":"vertical"},log:{"aria-live":"polite"},menu:{"aria-orientation":"vertical"},menubar:{"aria-orientation":"horizontal"},meter:{"aria-valuemin":"0","aria-valuemax":"100"},option:{"aria-selected":"false"},progressbar:{"aria-valuemin":"0","aria-valuemax":"100"},scrollbar:{"aria-orientation":"vertical","aria-valuemin":"0","aria-valuemax":"100"},separator:{"aria-orientation":"horizontal","aria-valuemin":"0","aria-valuemax":"100"},slider:{"aria-orientation":"horizontal","aria-valuemin":"0","aria-valuemax":"100"},spinbutton:{},status:{"aria-live":"polite","aria-atomic":"true"},tab:{"aria-selected":"false"},tablist:{"aria-orientation":"horizontal"},toolbar:{"aria-orientation":"horizontal"},tree:{"aria-orientation":"vertical"}},e.ariaAttributeGlobalDefaults={"aria-atomic":"false","aria-autocomplete":"none","aria-busy":"false","aria-checked":void 0,"aria-current":"false","aria-disabled":"false","aria-dropeffect":"none","aria-expanded":void 0,"aria-grabbed":void 0,"aria-haspopup":"false","aria-hidden":void 0,"aria-invalid":"false","aria-live":"off","aria-modal":"false","aria-multiline":"false","aria-multiselectable":"false","aria-orientation":void 0,"aria-pressed":void 0,"aria-readonly":"false","aria-required":"false","aria-selected":void 0,"aria-sort":"none"},e.ariaAttributeImplicitMappings={"aria-autocomplete":{form:function(e){return"off"===e.getAttribute("autocomplete")?"none":"both"},input:function(e){return"off"===e.getAttribute("autocomplete")?"none":"both"},select:function(e){return"off"===e.getAttribute("autocomplete")?"none":"both"},textarea:function(e){return"off"===e.getAttribute("autocomplete")?"none":"both"}},"aria-checked":{input:function(e){return e.hasAttribute("indeterminate")?"mixed":""+e.hasAttribute("checked")},menuitem:function(e){return e.hasAttribute("indeterminate")?"mixed":""+e.hasAttribute("checked")},"*":function(e){if(e.hasAttribute("indeterminate"))return"mixed"}},"aria-disabled":{button:function(e){return e.hasAttribute("disabled")?"true":"false"},fieldset:function(e){return e.hasAttribute("disabled")?"true":"false"},input:function(e){return e.hasAttribute("disabled")?"true":"false"},optgroup:function(e){return e.hasAttribute("disabled")?"true":"false"},option:function(e){return e.hasAttribute("disabled")?"true":"false"},select:function(e){return e.hasAttribute("disabled")?"true":"false"},textarea:function(e){return e.hasAttribute("disabled")?"true":"false"}},"aria-expanded":{details:function(e){return e.getAttribute("open")},dialog:function(e){return e.getAttribute("open")}},"aria-multiselectable":{select:function(e){if(e.hasAttribute("multiple"))return"true"}},"aria-placeholder":{input:function(e){return e.getAttribute("placeholder")},textarea:function(e){return e.getAttribute("placeholder")}},"aria-required":{input:function(e){return e.getAttribute("required")},select:function(e){return e.getAttribute("required")},textarea:function(e){return e.getAttribute("required")}}},e}();t.AriaUtil=m},4919:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CSSUtil=void 0;var a=i(4566),l=i(7139),n=i(7011),r=i(7507),o=i(3864),s=function(){function e(){}return e.selectorMatchesElem=function(e,t){try{if(""===t.trim())return!1;if("function"==typeof e.matches)return e.matches(t);if("function"==typeof e.matchesSelector)return e.matchesSelector(t);for(var i=(e.document||e.ownerDocument).querySelectorAll(t),a=0;a<i.length&&i[a]!==e;)++a;return a<i.length}catch(e){return!1}},e.getComputedStyle=function(e,t){return e?e.ownerDocument.defaultView.getComputedStyle(e,t):null},e.getDefinedStyles=function(t,i){if(!t)return null;var l={},n={};function r(e,t){for(var i=0;i<t.length;++i){if("all"===t[i]&&t[t[i]]){for(var a=0,l=e;a<l.length;a++){var n=l[a];for(var r in n)delete n[r]}break}r=t[i];for(var o=0,s=e;o<s.length;o++){n=s[o];var u=t.getPropertyPriority(r);if(r in n&&n[r].endsWith("!important")){if("important"!==u||n[r].startsWith("inherit")||n[r].startsWith("unset"))continue;n[r]=t[r]+" !important"}else n[r]=t[r]+("important"===u?" !important":"")}}}var o=a.CacheUtil.getCache(t,"RPTUtil_DefinedStyles",null);if(!i&&o)l=o.definedStyles,n=o.definedStylePseudo;else{for(var s=0;s<t.ownerDocument.styleSheets.length;++s){var u=t.ownerDocument.styleSheets[s];try{if(u&&u.cssRules)for(var d=0;d<u.cssRules.length;++d){var c=u.cssRules[d],m=c.selectorText;if(m){var p=m.match(/^(.*)(:[a-zA-Z-]*)$/),h=!!p,_=h?p[1]:m,b=(h?p[2]:"")===i;i&&":focus"===i&&(_=_.replace(/([ >][^+~ >]+):focus-within/g,"$1")),!h&&e.selectorMatchesElem(t,_)&&r([l,n],c.style),b&&e.selectorMatchesElem(t,_)&&r([n],c.style)}}}catch(e){if(!e.toString().includes("Cannot access rules")&&!e.toString().includes("SecurityError:"))throw e}}r([l,n],t.style),a.CacheUtil.setCache(t,"RPTUtil_DefinedStyles",{definedStyles:l,definedStylePseudo:n})}if(i){for(var g in n)n[g]===l[g]&&delete n[g];return n}return l},e.getMediaOrientationTransform=function(e){for(var t={},i=0;i<e.styleSheets.length;++i){var a=e.styleSheets[i];try{if(a&&a.cssRules)for(var l=0;l<a.cssRules.length;++l){var n=a.cssRules[l];if(4===n.MEDIA_RULE){var r=n;if(r&&r.media)for(var o=r.media,s=0;s<o.length;s++)if(o.item(s)){var u=t[o.item(s).toLocaleLowerCase()];u||(u={});for(var d=r.cssRules,c=0;c<d.length;++c){if(1===d[c].STYLE_RULE){var m=d[c],p=m.selectorText;if(p)for(var h={},_=m.style,b=0;b<_.length;++b){var g=_[b];if("transform"===g.toLocaleLowerCase()){if("all"===g&&_[g]){delete h[g];break}h[g]=_[g]}else"rotate"===g.toLocaleLowerCase()&&(h[g]=_[g]);u[p]=h}}o.item(c)&&(t[o.item(c).toLocaleLowerCase()]=u)}}}}}catch(e){if(!e.toString().includes("Cannot access rules")&&!e.toString().includes("SecurityError:"))throw e}}return t},e.getRotationDegree=function(e){var t=0;try{if(!e)return t;for(var i=(e=e.replaceAll(", ",",")).split(" "),a=0;a<i.length;a++){var l=i[a].trim();if(""!==l)if(l.startsWith("rotate3d")){var n=l.indexOf("("),r=l.indexOf(")");if(-1!==n&&-1!==r){var o=l.substring(n+1,r),s=void 0;if(o&&(s=o.split(",")),s&&4===s.length){if(!(d=s[3]))continue;if((d=d.trim()).endsWith("turn")){var u=d.substring(0,d.length-4);u=parseFloat(u),isNaN(u)||(t=360*u)}else d.endsWith("rad")?(u=d.substring(0,d.length-3),u=parseFloat(u),isNaN(u)||(t=180*u/Math.PI)):d.endsWith("deg")&&(u=d.substring(0,d.length-3),u=parseFloat(u),isNaN(u)||(t+=u))}}}else if(l.startsWith("rotate")||l.startsWith("rotateZ")){if(n=l.indexOf("("),r=l.indexOf(")"),-1!==n&&-1!==r){var d;if(!(d=l.substring(n+1,r)))continue;(d=d.trim()).endsWith("turn")?(u=d.substring(0,d.length-4),u=parseFloat(u),isNaN(u)||(t=360*u)):d.endsWith("rad")?(u=d.substring(0,d.length-3),u=parseFloat(u),isNaN(u)||(t=180*u/Math.PI)):d.endsWith("deg")&&(u=d.substring(0,d.length-3),u=parseFloat(u),isNaN(u)||(t+=u))}}else if(l.startsWith("matrix3d")){if(n=l.indexOf("("),r=l.indexOf(")"),-1!==n&&-1!==r&&(o=l.substring(n+1,r),s=null,o&&(s=o.split(",")),null!==s)){var c=Math.atan2(s[4],s[5]);t+=Math.round(Math.round(180*c/Math.PI))}}else l.startsWith("matrix")&&(n=l.indexOf("("),r=l.indexOf(")"),-1!==n&&-1!==r&&(o=l.substring(n+1,r),s=null,o&&(s=o.split(",")),null!==s&&(c=Math.atan2(s[1],s[0]),t+=Math.round(Math.round(180*c/Math.PI)))))}for(;t>=360;)t-=360}catch(e){throw console.log("Cannot retrieve rotation degree: "+e),e}return t},e.getPixelsFromStyle=function(t,i){if(!t)return 0;var a=t.trim().match(/(-?[\d.]+)([a-z%]*)/);if(null===a)return 0;if(""===a[2]||0===a[1])return 0;var l=e.convertValue2Pixels(a[2],a[1],i);return null===l?l:parseFloat(l)},e.convertValue2Pixels=function(e,t,i){if(0==t)return 0;var a={px:function(e){return e},cm:function(e){return 37.8*e},mm:function(e){return 3.78*e},q:function(e){return.95*e},in:function(e){return 96*e},pc:function(e){return 16*e},pt:function(e){return 1.33*e},rem:function(e){return e*parseFloat(getComputedStyle(i.ownerDocument.documentElement).getPropertyValue("font-size"))},em:function(e){return e*parseFloat(getComputedStyle(i).getPropertyValue("font-size"))},vw:function(e){return e/100*i.ownerDocument.defaultView.innerWidth},vh:function(e){return e/100*i.ownerDocument.defaultView.innerHeight},"%":function(e){return e/100*parseFloat(getComputedStyle(i).getPropertyValue("font-size"))}};return e in a?a[e](t):null},e.isMaterialIconFont=function(t){var i={"Material Icons":"https://fonts.googleapis.com/icon?family=Material+Icons"},a=e.getDefinedStyles(t)["font-family"],l=!1;if(a&&a.split(",")[0].replace(/['"]+/g,"").trim()in i&&(l=!0),!l){var n=t.classList;for(var r in{"material-icons":"https://fonts.googleapis.com/icon?family=Material+Icons"})if(n.contains(r)){l=!0;break}}if(!l)return!1;for(var o=!1,s=t.ownerDocument.styleSheets,u=0;u<s.length;u++)if(s&&s.length>0&&Object.values(i).indexOf(s[u].href)>-1){o=!0;break}return o},e.getWeightNumber=function(e){var t={light:100,bold:700};return parseInt(e)||(e in t?t[e]:400)},e.getFontInPixels=function(t,i){var a=parseFloat(t);if(!a)return{"xx-small":16,"x-small":10,small:13,medium:16,large:18,"x-large":24,"xx-large":32}[t];var l=t.substring((""+a).length);return e.convertValue2Pixels(l,a,i)},e.getCSSStyle=function(e){var t="";if(null===e)return[];if(e.IBM_CSS_THB)return e.IBM_CSS_THB;if("style"===e.nodeName.toLowerCase())void 0!==(t=e.innerText)&&""!==t.trim()||(t=e.textContent);else{if(!e.hasAttribute("style"))return[];t=e.getAttribute("style")}if(null===t||0===t.trim().length)return[];var i=/\s*([^:\s]+)\s*:\s*([^;$}]+)\s*(;|$)/g,a=/\s*([^{]*){([^}]*)}/g;if(-1===(t=t.replace(/(\/\*+(?:(?:(?:[^\*])+)|(?:[\*]+(?!\/)))[*]+\/)|\/\/.*/g," ")).indexOf("{")){for(var l={},n=void 0;null!=(n=i.exec(t));)l[n[1]]=n[2].trim().toLowerCase();var r=[{selector:null,values:l}];return e.IBM_CSS_THB=r,r}r=[],n=void 0;for(var o=void 0;null!=(n=a.exec(t));){l={};for(var s=n[1],u=n[2];null!=(o=i.exec(u));)l[o[1]]=o[2].trim().toLowerCase();r.push({selector:s,values:l})}return e.IBM_CSS_THB=r,r},e.getInlineStatus=function(e){if(!e)return null;var t=getComputedStyle(e);if(!t)return null;var i={inline:!1,text:!1,violation:null};if("inline"!==t.getPropertyValue("display"))return i;i.inline=!0;var a=e.parentElement;if(!a)return i;var n=new r.DOMMapper,o=n.getUnadjustedBounds(e),s=getComputedStyle(a).getPropertyValue("display");if("block"!==s&&"inline-block"!==s)return l.CommonUtil.isInnerTextOnlyEmpty(a)||(i.text=!0),i;function u(e,t){if(e.nodeType===Node.TEXT_NODE)return e.nodeValue&&e.nodeValue.trim().length>0?"yes":"no";if(e.nodeType===Node.ELEMENT_NODE){if("br"===e.nodeName.toLowerCase())return"block";if("inline"===getComputedStyle(e).getPropertyValue("display")){if(l.CommonUtil.isTarget(e)&&o.width<24){var a=n.getUnadjustedBounds(e);return t&&Math.round(o.width/2)+o.left-a.left<24||!t&&Math.round(o.width/2)+o.left-(a.left+a.width)<24?(i.violation=e.nodeName.toLowerCase(),"violation"):"no"}return l.CommonUtil.isInnerTextOnlyEmpty(e)?"no":"yes"}return"block"}return"block"}for(var d=e.nextSibling;d;){if("yes"===(c=u(d,!0))){i.text=!0;break}if("block"===c)break;d=d.nextSibling}for(d=e.previousSibling;d;){var c;if("yes"===(c=u(d,!1))){i.text=!0;break}if("block"===c)break;d=d.previousSibling}return i},e.isTargetBrowserDefault=function(t){if(!t)return!1;var i=n.AriaUtil.getRoles(t,!1);if(i&&i.length>0)return!1;var a=e.getDefinedStyles(t);return!(a["line-height"]||a.height||a.width||a["min-height"]||a["min-width"]||a["font-size"]||a["margin-top"]||a["margin-bottom"]||a["margin-left"]||a["margin-right"])},e.containsCKJ=function(e){return!!e&&e.trim().replace(/(?:[\u4e00-\u9fff\u3400-\u4dbf])+/g,"").length!==e.trim().length},e.getAncestorWithStyles=function(t,i,l){void 0===l&&(l=[]);for(var n=t;null!==n;){var r=a.CacheUtil.getCache(n,"AriaUtil_AncestorWithStyles",null);if(r)return r;var s=e.getDefinedStyles(n);for(var u in i){var d=s[u];if(d&&(d=d.split(" ")[0],!l.includes(d))){if(i[u].includes("*"))return a.CacheUtil.setCache(n,"AriaUtil_AncestorWithStyles",n),n;if(i[u].includes(d))return a.CacheUtil.setCache(n,"AriaUtil_AncestorWithStyles",n),n}}n=o.DOMWalker.parentElement(n)}return a.CacheUtil.setCache(t,"AriaUtil_AncestorWithStyles",void 0),null},e}();t.CSSUtil=s},4566:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CacheUtil=void 0;var a=i(3864),l=function(){function e(){}return e.getCache=function(e,t,i){if(e){var a=(9===e.nodeType||e.nodeType,e);return void 0===a.aceCache&&(a.aceCache={}),void 0===a.aceCache[t]&&(a.aceCache[t]=i),a.aceCache[t]}},e.setCache=function(e,t,i){if(e){var a=(9===e.nodeType||e.nodeType,e);return void 0===a.aceCache&&(a.aceCache={}),a.aceCache[t]=i,i}},e.clearCaches=function(e){delete e.ownerDocument.aceCache;var t=new a.DOMWalker(e,!1,e,!0);do{delete t.node.aceCache,t.node.ownerDocument&&delete t.node.ownerDocument.aceCache}while(t.nextNode())},e}();t.CacheUtil=l},3883:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ColorObj=t.ColorUtil=void 0;var a=i(3864),l=function(){function e(){}return e.Color=function(t){if(!t)return null;if("transparent"===(t=t.toLowerCase()))return new n(255,255,255,0);if(t in e.CSSColorLookup&&(t=e.CSSColorLookup[t]),t.startsWith("rgb(")){var i=/\s*rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/;return null===(a=t.match(i))?null:new n(a[1],a[2],a[3])}var a;if(t.startsWith("rgba("))return i=/\s*rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(.+)\s*\)/,null===(a=t.match(i))?null:new n(a[1],a[2],a[3],a[4]);if("#"!=t.charAt(0))return null;4===t.length&&(t="#"+t.charAt(1).repeat(2)+t.charAt(2).repeat(2)+t.charAt(3).repeat(2));var l=parseInt(t.substring(1,3),16),r=parseInt(t.substring(3,5),16),o=parseInt(t.substring(5,7),16);return new n(l,r,o)},e.ColorCombo=function(t){try{var i=t.ownerDocument;if(!i)return null;var l=i.defaultView;if(!l)return null;for(var n=[],r=t;r;)1===r.nodeType&&n.push(r),r=a.DOMWalker.parentElement(r);var o={hasGradient:!1,hasBGImage:!1,textShadow:!1,fg:null,bg:null},s=(b=l.getComputedStyle(t)).color;s||(s="black");for(var u=e.Color(s),d=/transparent|rgba?\([^)]+\)/gi,c=function(e,t,i){try{if(void 0===e.length)return e;for(var a=null,l=null,n=1;n<e.length;++n){for(var r=e[n-1],o=i.contrastRatio(e[n-1]),s=.1,u=0;s>1e-4;){for(;u+s<=1&&o>i.contrastRatio(e[n].mix(e[n-1],u+s).getOverlayColor(t));)r=e[n].mix(e[n-1],u+s).getOverlayColor(t),o=i.contrastRatio(r),u+=s;for(;u-s>=0&&o>i.contrastRatio(e[n].mix(e[n-1],u-s).getOverlayColor(t));)r=e[n].mix(e[n-1],u-s).getOverlayColor(t),o=i.contrastRatio(r),u-=s;s/=10}(null===l||l>o)&&(l=o,a=r)}return a}catch(e){console.log(e)}return t},m=e.Color("white"),p=null,h=null,_=null;n.length>0;){var b,g=n.pop();if(null!==(b=l.getComputedStyle(g))){var f=null;if(b.backgroundColor&&"transparent"!=b.backgroundColor&&"rgba(0, 0, 0, 0)"!=b.backgroundColor&&(f=e.Color(b.backgroundColor)),b.backgroundImage&&b.backgroundImage.indexOf&&-1!=b.backgroundImage.indexOf("gradient")){var v=b.backgroundImage.match(d);if(v){for(var A=[],y=0;y<v.length;++y)if(v[y].length){var w=e.Color(v[y]);if(void 0!==w.alpha&&w.alpha<1){var k=_||m;w=w.getOverlayColor(k)}A.push(w)}else v.splice(y--,1);f=c(A,_||m,u)}}null===p||b.opacity&&b.opacity.length>0&&parseFloat(b.opacity)<1?(null!=_&&(_.alpha=p*h,m=_.getOverlayColor(m)),p=1,h=null,_=null,b.opacity&&b.opacity.length>0&&(p=parseFloat(b.opacity)),null!=f&&(h=(_=f).alpha||1,delete _.alpha,1===p&&1===h&&(o.hasBGImage=!1,o.hasGradient=!1))):null!=f&&(null===_?(h=(_=f).alpha||1,delete _.alpha):h=(_=f.getOverlayColor(_)).alpha||1,1===p&&1===h&&1===(_.alpha||1)&&f.alpha),b.backgroundImage&&"none"!=b.backgroundImage&&(b.backgroundImage.indexOf&&-1!=b.backgroundImage.indexOf("gradient")?o.hasGradient=!0:o.hasBGImage=!0)}}return null!=_&&delete(u=u.getOverlayColor(_)).alpha,u.alpha=(u.alpha||1)*p,u=u.getOverlayColor(m),null!=_&&(_.alpha=p*h,m=_.getOverlayColor(m)),o.fg=u,o.bg=m,b.textShadow&&"none"!==b.textShadow&&(o.textShadow=!0),o}catch(e){return null}},e.CSSColorLookup={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32",buttontext:"rgba(0, 0, 0, 0.847)",buttonface:"#ffffff",graytext:"rgba(0, 0, 0, 0.247)"},e}();t.ColorUtil=l;var n=function(){function e(e,t,i,a){function l(e){if("string"!=typeof e)return e;var t=e;return"%"!=(t=t.trim())[t.length-1]?parseInt(t):Math.round(2.55*parseFloat(t.substring(0,t.length-1)))}this.red=l(e),this.green=l(t),this.blue=l(i),void 0!==a&&(this.alpha="string"==typeof a?parseFloat(a):a)}return e.prototype.toHexHelp=function(e){var t=Math.round(e).toString(16);return 1===t.length?"0"+t:t},e.prototype.toHex=function(){return"#"+this.toHexHelp(this.red)+this.toHexHelp(this.green)+this.toHexHelp(this.blue)},e.prototype.contrastRatio=function(e){var t=this;void 0!==this.alpha&&(t=this.getOverlayColor(e));var i=t.relativeLuminance();if(!e.relativeLuminance){var a="";for(var l in e)a+=l+"\n";alert(e),alert(a)}var n=e.relativeLuminance();return i>n?(i+.05)/(n+.05):(n+.05)/(i+.05)},e.prototype.relativeLuminance=function(){var e=this.red/255,t=this.green/255,i=this.blue/255;return.2126*(e=e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t=t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(i<=.04045?i/12.92:Math.pow((i+.055)/1.055,2.4))},e.prototype.mix=function(t,i){if(void 0===this.alpha&&void 0===t.alpha)return new e(i*this.red+(1-i)*t.red,i*this.green+(1-i)*t.green,i*this.blue+(1-i)*t.blue);var a=this.alpha?this.alpha:1,l=t.alpha?t.alpha:1;return new e(i*this.red+(1-i)*t.red,i*this.green+(1-i)*t.green,i*this.blue+(1-i)*t.blue,i*a+(1-i)*l)},e.prototype.getOverlayColor=function(e){if(void 0===this.alpha||this.alpha>=1)return this;if(this.alpha<0)return null;if(void 0!==e.alpha&&e.alpha<1)return null;var t=this.mix(e,this.alpha);return delete t.alpha,t},e.fromCSSColor=function(t){var i=-1,a=-1,n=-1;if((t=t.toLowerCase()).startsWith("rgb(")){var r=/\s*rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/;if(null===(o=t.match(r)))return null;i=o[1],a=o[2],n=o[3]}else if(t.startsWith("rgba(")){var o;if(r=/\s*rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(.+)\s*\)/,null===(o=t.match(r)))return null;i=o[1],a=o[2],n=o[3]}else{if("#"!=t.charAt(0)){if(!(t in l.CSSColorLookup))return null;t=l.CSSColorLookup[t]}var s=function(e){for(var t={a:10,b:11,c:12,d:13,e:14,f:15},i=0,a=0;a<e.length;++a)i=16*i+parseInt(e.charAt(a)in t?t[e.charAt(a)]:e.charAt(a));return i};4===t.length&&(t="#"+t.charAt(1).repeat(2)+t.charAt(2).repeat(2)+t.charAt(3).repeat(2)),i=s(t.substring(1,3)),a=s(t.substring(3,5)),n=s(t.substring(5,7))}return new e(i,a,n)},e}();t.ColorObj=n},7139:function(e,t,i){var a=this&&this.__spreadArray||function(e,t,i){if(i||2===arguments.length)for(var a,l=0,n=t.length;l<n;l++)!a&&l in t||(a||(a=Array.prototype.slice.call(t,0,l)),a[l]=t[l]);return e.concat(a||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.CommonUtil=void 0;var l=i(9910),n=i(4566),r=i(7011),o=i(1950),s=i(3946),u=i(1686),d=i(3864),c=i(5279),m=function(){function e(){}return e.wordCount=function(e){return 0===(e=e.trim()).length?0:e.split(/\s+/g).length},e.isTabbable=function(t){if(!s.VisUtil.isNodeVisible(t))return!1;if(t.hasAttribute("tabindex"))return parseInt(t.getAttribute("tabindex"))>=0;var i=t.nodeName.toLowerCase();if(i in e.tabTagMap){var a=e.tabTagMap[i];return"function"==typeof a&&(a=a(t)),a}return!!t.hasAttribute("contenteditable")},e.isFocusable=function(t){return"undefined"!==t&&null!==t&&e.isTabbable(t)},e.isClickable=function(t){if(!s.VisUtil.isNodeVisible(t))return!1;var i=t.nodeName.toLowerCase();if(i in e.tabTagMap){var a=e.tabTagMap[i];return"function"==typeof a&&(a=a(t)),a}return!(!r.AriaUtil.isWidget(t)||!t.hasAttribute("tabindex"))},e.isTableDescendant=function(e){return e?e.aria.filter((function(e){return["table","grid","treegrid"].includes(e.role)})):null},e.tabIndexLEZero=function(t){if(e.hasAttribute(t,"tabindex")&&t.getAttribute("tabindex").match(/^-?\d+$/)){var i=parseInt(t.getAttribute("tabindex"));return 0===i||-1===i}return!1},e.getTabbableChildren=function(t){var i=0;if(t.firstChild||"IFRAME"===t.nodeName.toUpperCase())for(var a=new d.DOMWalker(t);a.nextNode()&&a.node!=t;)1==a.node.nodeType&&!a.bEndTag&&e.isTabbable(a.node)&&++i;return i},e.normalizeSpacing=function(e){return e?e.trim().replace(/\s+/g," "):""},e.isHtmlEquiv=function(e,t){var i=!1;if(e&&"input"===e.nodeName.toLowerCase()){var a=e.getAttribute("type").toLowerCase();a&&(-1!=t.indexOf("checkbox")?i="checkbox"===a:-1!=t.indexOf("radio")&&(i="radio"===a))}return i},e.nonExistantIDs=function(t,i){var a="";if(e.normalizeSpacing(i).length<1)return a;for(var l=i.split(" "),n=t.ownerDocument,r=0;r<l.length;r++){var o="//*[@id='"+l[r]+"']";n.evaluate(o,t,n.defaultNSResolver,0,null).iterateNext()||(a+=l[r]+", ")}return e.normalizeSpacing(a).length>=2?a.substring(0,a.length-2):""},e.getDocElementsByTag=function(e,t){var i=c.FragmentUtil.getOwnerFragment(e);t=t.toLowerCase();var a=n.CacheUtil.getCache(i,"RPT_DOCELEMSBYTAG",{});return t in a||(a[t]=i.querySelectorAll(t),n.CacheUtil.setCache(i,"RPT_DOCELEMSBYTAG",a)),a[t]},e.getChildByTag=function(t,i){return e.getChildByTagHidden(t,i,!1,!1)},e.getChildByTagHidden=function(t,i,a,l){for(var n=[],r=t.firstChild;null!=r;){if(r.nodeName.toLowerCase()===i){if((a||l&&!e.shouldCheckHiddenContent(r))&&!s.VisUtil.isNodeVisible(r)){r=r.nextSibling;continue}n.push(r)}r=r.nextSibling}return n},e.getElementsByRole=function(t,i){return e.getElementsByRoleHidden(t,i,!1,!1)},e.getElementsByRoleHidden=function(t,i,a,l){var o=null;if(null===(o=l?n.CacheUtil.getCache(t,"AriaUtil_GETELEMENTSBY_ROLE_IMPLICIT",null):n.CacheUtil.getCache(t,"AriaUtil_GETELEMENTSBY_ROLE",null))){o={};for(var s=t.body;null!==d.DOMWalker.parentNode(s);)s=d.DOMWalker.parentNode(s);for(var u=new d.DOMWalker(s);u.nextNode();)if(u.elem()&&!u.bEndTag){var c=[];if(u.elem()&&u.elem().hasAttribute("role")&&(c=u.elem().getAttribute("role").split(" ")),u.elem()&&0===c.length&&l){var m=r.AriaUtil.getImplicitRole(u.node);null!==m&&m.length>0&&(c=m)}if(0===c.length)continue;if(a&&e.shouldNodeBeSkippedHidden(u.node))continue;for(var p=0;p<c.length;++p)c[p]in o||(o[c[p]]=[]),o[c[p]].push(u.node)}l?n.CacheUtil.setCache(t,"AriaUtil_GETELEMENTSBY_ROLE_IMPLICIT",o):n.CacheUtil.setCache(t,"AriaUtil_GETELEMENTSBY_ROLE",o)}var h=[];if("string"==typeof i){var _=i;(i=[]).push(_)}if(i.length)for(p=0;p<i.length;++p){var b=o[i[p]];if(b)for(var g=0;g<b.length;++g)h.push(b[g])}return h},e.isTarget=function(t){if(!t||1!==t.nodeType||["html","body"].includes(t.nodeName.toLowerCase())||null!==e.getAncestor(t,["svg","pre","code","script","meta","head"])||!s.VisUtil.isNodeVisible(t)||s.VisUtil.isNodeVisuallyHidden(t)||e.isNodeDisabled(t)||s.VisUtil.isElementOffscreen(t))return!1;if(e.isClickable(t))return!0;var i=r.AriaUtil.getResolvedRole(t);if(!i)return!1;if(["listitem","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","treeitem"].includes(i)){var a=t.parentElement;if(a&&"group"===r.AriaUtil.getResolvedRole(a)&&(a=a.parentElement),a&&e.isTarget(a))return!0}return!1},e.getFileExt=function(e){var t=e.match(/\.(([^;?#\.]|^$)+)([;?#]|$)/);return null!=t&&t.length>=2?"."+t[1]:""},e.getFileAnchor=function(e){var t=e.match(/#(([^;?\.]|^$)+)([;?]|$)/);return null!=t&&t.length>=2?t[1]:""},e.checkObjEmbed=function(t,i,a){var l=t.nodeName.toLowerCase();if("object"!=l&&"embed"!=l&&"a"!=l&&"area"!=l)return!1;var n=!1;if(!n&&t.hasAttribute("type")&&(n=a(t.getAttribute("type").toLowerCase())),!n&&t.hasAttribute("codetype")&&(n=a(t.getAttribute("codetype"))),!n){var r="";"embed"===l?r=t.getAttribute("src"):"a"===l||"area"===l?r=t.getAttribute("href"):t.hasAttribute("data")&&(r=t.getAttribute("data")),null===r&&(r=""),n=i(e.getFileExt(r))}if(!n&&"object"===l)for(var o=e.getChildByTagHidden(t,"param",!1,!0),s=0;!n&&null!=o&&s<o.length;++s)n=o[s].hasAttribute("value")&&i(e.getFileExt(o[s].getAttribute("value")));return n},e.isAudioObjEmbedLink=function(t){return e.checkObjEmbed(t,e.isAudioExt,(function(e){return e.startsWith("audio")}))},e.isAudioExt=function(t){return e.valInArray(t.toLowerCase(),[".aif",".aifc",".aiff",".air",".asf",".au",".cda",".dsm",".dss",".dwd",".iff",".kar",".m1a",".med",".mp2",".mp3",".mpa",".pcm",".ra",".ram",".rm",".sam",".sf",".sf2",".smp",".snd",".svx",".ul",".voc",".wav",".wma",".wve"])},e.isVideoObjEmbedLink=function(t){return e.checkObjEmbed(t,e.isVideoExt,(function(e){return e.startsWith("video")||e.startsWith("application/x-shockwave-flash")}))},e.isVideoExt=function(t){return e.valInArray(t.toLowerCase(),[".asf",".avi",".divx",".dv",".m1v",".m2p",".m2v",".moov",".mov",".mp4",".mpeg",".mpg",".mpv",".ogm",".omf",".qt",".rm",".rv",".smi",".smil",".swf",".vob",".wmv",".rmvb",".mvb"])},e.isImageObjEmbedLink=function(t){return e.checkObjEmbed(t,e.isImgExt,(function(e){return e.startsWith("image")}))},e.isImgExt=function(t){return e.valInArray(t.toLowerCase(),e.image_extensions)},e.isHtmlExt=function(t){return e.valInArray(t.toLowerCase(),[".asp",".aspx",".cfm",".cfml",".cgi",".htm",".html",".shtm",".shtml",".php",".pl",".py",".shtm",".shtml",".xhtml"])},e.hasTriggered=function(e,t){return n.CacheUtil.getCache(e,t,!1)},e.triggerOnce=function(e,t,i){if(i)return!0;var a=n.CacheUtil.getCache(e,t,!1);return n.CacheUtil.setCache(e,t,!0),a},e.valInArray=function(e,t){for(var i in t)if(t[i]===e)return!0;return!1},e.getAncestor=function(e,t){for(var i=e;null!==i;){var a=i.nodeName.toLowerCase();if("string"==typeof t){if(a===t.toLowerCase())break}else if(t.length){for(var l in t)if(t[l]===a)return i}else if(a in t)break;i=d.DOMWalker.parentNode(i)}return i},e.isSibling=function(e,t){if(e&&t){var i=null;for(d.DOMWalker.parentNode(e)&&d.DOMWalker.parentNode(e).firstChild&&(i=d.DOMWalker.parentNode(e).firstChild);i;){if(i===t)return!0;i=i.nextSibling}}return!1},e.isDescendant=function(e,t){for(var i=d.DOMWalker.parentNode(t);null!=i;){if(i===e)return!0;i=d.DOMWalker.parentNode(i)}return!1},e.isDisabledByFirstChildFormElement=function(t){var i=["input","textarea","select","keygen","progress","meter","output"];if(null!=t.firstChild)for(var a=new d.DOMWalker(t);a.nextNode();)if(i.includes(a.node.nodeName.toLowerCase()))return!!e.isNodeDisabled(a.node);return!1},e.isDisabledByReferringElement=function(t){for(var i=t.getAttribute("id"),a=t.ownerDocument.body;null!==d.DOMWalker.parentNode(a);)a=d.DOMWalker.parentNode(a);for(var l=new d.DOMWalker(a);l.nextNode();)if(l.node&&1===l.node.nodeType&&l.elem()&&(l.elem().getAttribute("aria-describedby")||"").split(" ").includes(i)&&e.isNodeDisabled(l.node))return!0},e.getInputLabel=function(t){return e.getLabelForElement(t)},e.getLabelForElement=function(t){return e.getLabelForElementHidden(t,!1)},e.getLabelForElementHidden=function(t,i){var a=t.getRootNode();if(!n.CacheUtil.getCache((a.nodeType,a),"AriaUtil_LABELS",null)){for(var l={},r=e.getDocElementsByTag(t,"label"),o=0;o<r.length;++o)if(r[o].hasAttribute("for")){if(i&&!s.VisUtil.isNodeVisible(r[o]))continue;l[r[o].getAttribute("for")]=r[o]}n.CacheUtil.setCache((a.nodeType,a),"AriaUtil_LABELS",l)}if(t.hasAttribute("id")){var u=t.getAttribute("id");if(u.trim().length>0)return n.CacheUtil.getCache((a.nodeType,a),"AriaUtil_LABELS",{})[u]}return null},e.getElementAttribute=function(e,t){if(!(t&&e&&e.hasAttribute&&e.hasAttribute(t)))return null;var i=e.getAttribute(t);if(!l.ARIADefinitions.referenceProperties.includes(t))return i;for(var a=i.split(/ +/g),n=!1,r=0;a<a.length;++r){var o=document.getElementById(a[r]);if(o&&!u.DOMUtil.sameNode(o,e)){n=!0;break}}return n?i:null},e.hasImplicitLabel=function(t){var i=e.getAncestor(t,"label");if(i&&"label"===i.tagName.toLowerCase()&&e.isFirstFormElement(i,t)){var a=i.cloneNode(!0);return a=e.removeAllFormElementsFromLabel(a),e.hasInnerContentHidden(a)}return!1},e.getImplicitLabel=function(t){var i=e.getAncestor(t,"label");if(i&&"label"===i.tagName.toLowerCase()&&e.isFirstFormElement(i,t)){var a=i.cloneNode(!0);a=e.removeAllFormElementsFromLabel(a);var l=e.getInnerText(a);return l&&""!==l.trim()?l.trim():null}return null},e.getFormFieldLabel=function(t){var i="",a=null,l=e.getLabelForElementHidden(t,!0);if(l)a=l.innerText;else{if(!(l=e.getAncestor(t,"label"))||"label"!==l.tagName.toLowerCase()||!e.isFirstFormElement(l,t))return null;var n=l.cloneNode(!0);n=e.removeAllFormElementsFromLabel(n),a=e.getInnerText(n)}return a&&""!==a.trim()&&(i+=a.trim()),(a=e.getLabelTextFromAttribute(l,!0))&&""!==a.trim()&&(i+=a.trim()),(a=r.AriaUtil.getAriaLabel(l))&&""!==a.trim()&&(i+=a.trim()),i.trim()},e.getLabelTextFromAttribute=function(t,i){for(var a=null,l=0;l<t.children.length;l++){var n=t.children.item(l);if(e.form_labelable_elements.includes(n.nodeName.toLowerCase())){a=n;break}}for(var c=new d.DOMWalker(t),m="";c.nextNode()&&c.node!==t;)if(c.node&&1===c.node.nodeType&&c.elem()){var p=c.elem();if(i&&(s.VisUtil.isNodeHiddenFromAT(p)||s.VisUtil.isNodePresentational(p))||a&&a.contains(p))continue;var h=r.AriaUtil.getResolvedRole(p);if("textbox"===h){var _=p.getAttribute("value");_&&_.trim().length>0&&(m+=" "+_.trim())}else if("combobox"===h||"listbox"===h){var b=p.getAttribute("aria-activedescendant")||p.getAttribute("aria-selected")||p.getAttribute("aria-checked");if(b){var g=p.ownerDocument.getElementById(b);if(g&&!u.DOMUtil.sameNode(p,g)){var f=o.AccNameUtil.computeAccessibleName(g);f&&f.name&&(m+=" "+f.name.trim())}}}else if(["progressbar","scrollbar","slider","spinbutton","meter"].includes(h)){var v=p.getAttribute("aria-valuetext");v&&v.trim().length>0&&(m+=" "+v.trim()),(v=p.getAttribute("aria-valuenow"))&&v.trim().length>0&&(m+=" "+v.trim()),(v=p.getAttribute("value"))&&v.trim().length>0&&(m+=" "+v.trim())}var A=r.AriaUtil.getAriaLabel(p);A&&""!==A.trim()&&(m+=" "+A.trim())}return m.trim()},e.isFirstFormElement=function(t,i){if(null!=t.firstChild)for(var a=new d.DOMWalker(t);a.nextNode();)if(-1!==e.form_labelable_elements.indexOf(a.node.nodeName.toLowerCase()))return a.node===i;return!1},e.isShadowHostElement=function(t){if(e.isShadowElement(t))return!1;for(var i=t;i;){if(i.shadowRoot)return!0;i=d.DOMWalker.parentElement(i)}return!1},e.isShadowElement=function(e){return"[object ShadowRoot]"===e.getRootNode().toString()},e.removeAllFormElementsFromLabel=function(e){for(var t=["input","textarea","select","button","datalist","optgroup","option","keygen","output","progress","meter"],i=e.childNodes,a=0;a<i.length;a++)t.indexOf(i[a].nodeName.toLowerCase())>-1&&e.removeChild(i[a]);return e},e.isIdReferToSelf=function(e,t){if(!t||""===t.trim())return!1;for(var i=t.trim().split(" "),a=0,l=i.length;a<l;++a){var n=c.FragmentUtil.getById(e,i[a]);if(n&&u.DOMUtil.sameNode(n,e))return!0}return!1},e.nodeDepth=function(e){for(var t=0,i=e;null!==i;)i=d.DOMWalker.parentNode(i),t+=1;return t},e.compareNodeOrder=function(t,i){if(t===i)return 0;var a=e.nodeDepth(t),l=e.nodeDepth(i);if(l>a){for(var n=0;n<l-a;++n)i=d.DOMWalker.parentNode(i);if(t===i)return-2}else if(a>l){for(n=0;n<a-l;++n)t=d.DOMWalker.parentNode(t);if(t===i)return 2}for(;null!=t&&null!=i&&d.DOMWalker.parentNode(t)!=d.DOMWalker.parentNode(i);)t=d.DOMWalker.parentNode(t),i=d.DOMWalker.parentNode(i);if(null===t||null===i||d.DOMWalker.parentNode(t)!=d.DOMWalker.parentNode(i))return null;for(;null!=i&&i!=t;)i=i.previousSibling;return null===i?1:-1},e.attributeNonEmpty=function(e,t){return e.hasAttribute(t)&&e.getAttribute(t).trim().length>0},e.getFrameByName=function(e,t){for(var i=[e.ownerDocument.defaultView],a=0;a<i.length;){try{if(i[a].name===t)return i[a];for(var l=0;l<i[a].frames.length;++l)try{i[a].frames[l]&&!i.includes(i[a].frames[l])&&i.push(i[a].frames[l])}catch(e){}}catch(e){}++a}return null},e.defaultNSResolver=function(e){var t;switch(e){case"html":t="http://www.w3.org/1999/xhtml";case"x2":t="http://www.w3.org/TR/xhtml2";case"x":t="http://www.w3.org/1999/xhtml";case"xhtml":t="http://www.w3.org/1999/xhtml";default:t=null}return t},e.isInnerTextOnlyEmpty=function(t){var i=t.innerText;null!=i&&0!==i.trim().length||"slot"===t.nodeName.toLowerCase()||void 0===t.textContent||(i=t.textContent);var a=!(null!==i&&i.trim().length>0);if(1===t.nodeType&&"slot"===t.nodeName.toLowerCase())for(var l=0,n=t.assignedNodes();l<n.length;l++){var r=n[l];a=a&&e.isInnerTextEmpty(r)}return a},e.getInnerText=function(e){var t=e.innerText;return null!=t&&""!==t.trim()||(t=e.textContent),t},e.getOnScreenInnerText=function(e){if(!e)return null;if(3===e.nodeType)return e.nodeValue();for(var t="",i=new d.DOMWalker(e);i.nextNode()&&i.node!==e&&i.node!==e.parentNode;)if(!i.bEndTag){if(1===i.node.nodeType&&s.VisUtil.hiddenByDefaultElements.includes(i.node.nodeName.toLowerCase())||!s.VisUtil.isNodeVisible(i.node)||s.VisUtil.isElementOffscreen(i.node)){if(i.node.nextSibling){3===i.node.nextSibling.nodeType&&null!==i.node.nextSibling.nodeValue&&(t+=i.node.nextSibling.nodeValue),i.node=i.node.nextSibling;continue}break}3===i.node.nodeType&&null!==i.node.nodeValue&&(t+=i.node.nodeValue.trim())}return t.trim()},e.getNodeText=function(e){if(!e)return"";for(var t="",i=e.childNodes,a=0;a<i.length;++a)3==i[a].nodeType&&(t+=i[a].nodeValue);return t},e.isInnerTextEmpty=function(t){var i=e.getInnerText(t);return!(null!=i&&i.trim().length>0)},e.hasInnerContent=function(t){var i=e.getInnerText(t),a=null!==i&&i.trim().length>0;if(null!==t.firstChild)for(var l=new d.DOMWalker(t);!a&&l.nextNode();)a="img"===l.node.nodeName.toLowerCase()&&e.attributeNonEmpty(l.node,"alt");return a},e.hasInnerContentHidden=function(t){return e.hasInnerContentHiddenHyperLink(t,!1)},e.svgHasName=function(t){return e.attributeNonEmpty(t,"aria-label")||e.attributeNonEmpty(t,"aria-labelledby")||!!t.querySelector(":scope > title")},e.hasInnerContentHiddenHyperLink=function(t,i){if(!t)return!1;var a=!1;if(null!=t.firstElementChild)for(var l=new d.DOMWalker(t);!a&&l.nextNode()&&l.node!=t;){var n=l.node;if(!((a="img"===n.nodeName.toLowerCase()&&(e.attributeNonEmpty(n,"alt")||e.attributeNonEmpty(n,"title"))&&!s.VisUtil.isNodeHiddenFromAT(n)&&!s.VisUtil.isNodePresentational(n)||"svg"===n.nodeName.toLowerCase()&&e.svgHasName(n))||1!==n.nodeType||s.VisUtil.isNodeHiddenFromAT(n)||s.VisUtil.isNodePresentational(n)||(a=!e.isInnerTextOnlyEmpty(n))||!0!==i)){a=e.attributeNonEmpty(n,"aria-label")||e.attributeNonEmpty(n,"aria-labelledby");var r=n.ownerDocument;if(r){var o=r.defaultView;if(o){var u=o.getComputedStyle(n);a||null==u||(a=(u.backgroundImage&&u.backgroundImage.indexOf||u.content)&&e.attributeNonEmpty(n,"alt"))}}}3===n.nodeType&&d.DOMWalker.parentElement(n)===t&&(a=!e.isInnerTextEmpty(n))}else a=!e.isInnerTextEmpty(t);return a},e.hasInnerContentOrAlt=function(t){var i=e.getInnerText(t),a=null!=i&&i.trim().length>0||e.attributeNonEmpty(t,"alt");if(null!=t.firstChild)for(var l=new d.DOMWalker(t);!a&&l.nextNode()&&l.node!=t;)!(a="img"===l.node.nodeName.toLowerCase()&&e.attributeNonEmpty(l.node,"alt"))&&(r.AriaUtil.hasRole(l.node,"button",!0)||r.AriaUtil.hasRole(l.node,"textbox"))&&(r.AriaUtil.hasAriaLabel(l.node)||e.attributeNonEmpty(l.node,"title")||e.getLabelForElementHidden(l.elem(),!0))&&(a=!0);return a},e.concatUniqueArrayItem=function(e,t){return-1===t.indexOf(e)&&null!==e&&t.push(e),t},e.concatUniqueArrayItemList=function(t,i){for(var a=0;null!==t&&a<t.length;a++)i=e.concatUniqueArrayItem(t[a],i);return i},e.reduceArrayItemList=function(e,t){return t&&t.length>0&&e&&e.length>0?t.filter((function(t){return!e.includes(t)})):t},e.getScopeForTh=function(e){if(e.hasAttribute("scope")){var t=e.getAttribute("scope").toLowerCase();if("row"===t||"rowgroup"===t)return"row";if("col"===t||"colgroup"===t)return"column"}var i=function(e){return a([],e.parentElement.children,!0).filter((function(e){return 1===e.nodeType&&"TH"!=e.tagName}))};return null===i||0===i.length?"column":"row"},e.getControlOfLabel=function(t){var i=e.getAncestor(t,"label");if(i&&i.hasAttribute("for"))return c.FragmentUtil.getById(t,i.getAttribute("for"));for(var a={},l=t;l;){if(1===l.nodeType){var n=l;n.hasAttribute("id")&&(a[n.getAttribute("id")]=!0)}l=d.DOMWalker.parentNode(l)}for(var r=t.ownerDocument.querySelectorAll("*[aria-labelledby]"),o=0;o<r.length;++o)for(var s=r[o],u=0,m=s.getAttribute("aria-labelledby").split(" ");u<m.length;u++)if(m[u]in a&&!e.isIdReferToSelf(t,t.getAttribute("aria-labelledby")))return s;return null},e.isNodeDisabled=function(t){var i=n.CacheUtil.getCache(t,"PT_NODE_DISABLED",!1);3===t.nodeType&&(t=d.DOMWalker.parentNode(t));var a=t.nodeName.toLowerCase(),r=t.hasAttribute("disabled"),o=i,s=t.hasAttribute("aria-disabled")&&"true"===t.getAttribute("aria-disabled");if(o||r&&l.ARIADefinitions.elementsAllowedDisabled.indexOf(a)>-1||s)return i=!0,n.CacheUtil.setCache(t,"PT_NODE_DISABLED",i),!0;var u=d.DOMWalker.parentNode(t);if(null!=u&&1===u.nodeType){var c=e.isNodeDisabled(u);return c&&(i=!0),n.CacheUtil.setCache(t,"PT_NODE_DISABLED",i),c}return!1},e.shouldCheckHiddenContent=function(e){return!1},e.shouldNodeBeSkippedHidden=function(t){return!e.shouldCheckHiddenContent(t)&&!s.VisUtil.isNodeVisible(t)},e.isfocusableByDefault=function(t){return!("a"!==t.nodeName.toLowerCase()||!e.hasAttribute(t,"href"))||!("area"!==t.nodeName.toLowerCase()||!e.hasAttribute(t,"href"))||-1!==["input","select","button","textarea","option","area"].indexOf(t.nodeName.toLowerCase())},e.nonTabableChildCheck=function(t){if(!t.hasAttribute("tabindex")||-1!=parseInt(t.getAttribute("tabindex")))return!1;for(var i=new d.DOMWalker(t);i.nextNode();){var a=i.elem();if(null!==a&&a.hasAttribute("tabindex")&&-1!=parseInt(a.getAttribute("tabindex"))&&!e.hasInnerContent(a))return!1}return!0},e.hasAttribute=function(e,t){var i=!1;if(e.hasAttribute)i=e.hasAttribute(t);else if(e.attributes&&e.attributes.getNamedItem){var a=e.attributes.getNamedItem(t);i=a&&a.specified}return i},e.truncateText=function(e,t){return void 0===t&&(t=60),e&&(e=e.trim()).length>t?e.substring(0,t-1)+"...":e},e.input_type_with_placeholder=["text","search","tel","url","email","password","number"],e.input_text_types=["text","file","password","checkbox","radio","search","tel","url","email","date","number","range","time","color"],e.input_time_types=["date","month","week","time","datetime-local"],e.input_other_types=["range","color","checkbox","radio","file","image"],e.form_button_types=["button","reset","submit"],e.form_labelable_elements=["input","textarea","select","keygen","progress","meter","output","button"],e.tabTagMap={button:function(e){return!e.hasAttribute("disabled")},iframe:!0,input:function(e){return"hidden"!==e.getAttribute("type")&&!e.hasAttribute("disabled")},select:function(e){return!e.hasAttribute("disabled")},textarea:!0,a:function(e){return e.hasAttribute("href")},area:function(e){return e.hasAttribute("href")},audio:function(e){return e.hasAttribute("controls")},video:function(e){return e.hasAttribute("controls")},summary:function(e){return e.parentElement&&"details"===e.parentElement.nodeName.toLowerCase()&&u.DOMUtil.sameNode(a([],e.parentElement.children,!0).filter((function(e){return"summary"===e.nodeName.toLowerCase()}))[0],e)},details:function(e){return e.children&&0===a([],e.children,!0).filter((function(e){return"summary"===e.nodeName.toLowerCase()})).length}},e.image_extensions=[".bmp",".gif",".jpg",".jpeg",".pcx",".png"],e}();t.CommonUtil=m},9196:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TableUtil=void 0;var a=i(3946),l=i(7011),n=i(7139),r=function(){function e(){}return e.isDataTable=function(e){return!(l.AriaUtil.hasRole(e,"none")||l.AriaUtil.hasRole(e,"presentation"))},e.isComplexDataTable=function(t){if("AriaUtil_isComplexDataTable"in t)return!!t.AriaUtil_isComplexDataTable;var i=!1;if(t&&e.isDataTable(t)){for(var a=null,l=null,r=t.getElementsByTagName("tr"),o=r.length,s=0,u=0,d=0,c=0;!i&&c<o;++c)if(a=r[c].getElementsByTagName("th"),l=r[c].getElementsByTagName("td"),u=a.length,0!==(s=l.length)){i=u>1;for(var m=0;!i&&m<u;++m)i=(a[m].hasAttribute("rowspan")||a[m].hasAttribute("colspan"))&&n.CommonUtil.getAncestor(a[m],"table")===t;for(var p=0;!i&&p<s;++p)i=(l[p].hasAttribute("rowspan")||l[p].hasAttribute("colspan")||l[p].hasAttribute("headers")&&n.CommonUtil.normalizeSpacing(l[p].getAttribute("headers")).split(" ").length>2)&&n.CommonUtil.getAncestor(l[p],"table")===t}else u>0&&++d,i=2===d;if(!i){var h=t.getElementsByTagName("thead"),_=h.length;_>0&&((i=_>1)||(i=h[0].getElementsByTagName("tr").length>1))}i||0===o||(i=u>0&&!e.tableHeaderExists(t))}return t.AriaUtil_isComplexDataTable=i,i},e.isTableCellEmpty=function(e){return!e||!a.VisUtil.isNodeVisible(e)||0===e.innerHTML.replace(/&nbsp;/g," ").trim().length},e.isTableRowEmpty=function(t){if(!t||!t.cells||0===t.cells.length||!a.VisUtil.isNodeVisible(t))return!0;for(var i=!0,l=0;i&&l<t.cells.length;l++){var n=t.cells[l];i=e.isTableCellEmpty(n)}return i},e.tableHeaderExists=function(t){var i=t.rows;if(!i||0===i.length)return null;for(var a=!0,l=i[0],r=0;a&&r<i.length;r++)(l=i[r]).parentNode&&"tfoot"===l.parentNode.nodeName.toLowerCase()||(a=e.isTableRowEmpty(l));if(a)return null;for(a=!0,r=0;a&&r<l.cells.length;r++){var o=l.cells[r];a=e.isTableCellEmpty(o)||"th"===o.nodeName.toLowerCase()}if(a)return!0;a=!0;for(var s=0;a&&s<i.length;++s)i[s].parentNode&&"tfoot"===i[s].parentNode.nodeName.toLowerCase()||(a=!i[s].cells||0===i[s].cells.length||0===i[s].cells[0].innerHTML.trim().length||"td"!=i[s].cells[0].nodeName.toLowerCase());if(a)return!0;a=!0;var u=[],d=[];for(r=0;a&&r<i.length;r++)for(var c=i[r],m=0;m<c.cells.length;m++)o=c.cells[m],e.isTableCellEmpty(o)||("td"===o.nodeName.toLowerCase()?o.getAttribute("headers")&&0!==o.getAttribute("headers").trim().length?n.CommonUtil.concatUniqueArrayItemList(o.getAttribute("headers").trim().split(" "),d):a=!1:"th"===o.nodeName.toLowerCase()&&o.getAttribute("id")&&o.getAttribute("id").trim().length>0&&n.CommonUtil.concatUniqueArrayItem(o.getAttribute("id").trim(),u));return!!(a&&u.length>0&&d.every((function(e){return u.includes(e)})))},e.isLayoutTable=function(e){return l.AriaUtil.hasRole(e,"presentation")||l.AriaUtil.hasRole(e,"none")},e.isTableDescendant=function(e){return e?e.aria.filter((function(e){return["table","grid","treegrid"].includes(e.role)})):null},e}();t.TableUtil=r},3946:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VisUtil=void 0;var a=i(4566),l=i(1686),n=i(3864),r=i(7507),o=i(7011),s=i(4919),u=function(){function e(){}return e.isNodeVisible=function(t){3===t.nodeType&&(t=n.DOMWalker.parentNode(t));var i,l=t;if(a.CacheUtil.setCache(l,"PT_NODE_HIDDEN",a.CacheUtil.getCache(l,"PT_NODE_HIDDEN",!1)),1!==l.nodeType)return!0;if(!l.ownerDocument)return!0;var r=l.nodeName.toLowerCase();if(null!=e.hiddenByDefaultElements&&null!=e.hiddenByDefaultElements&&e.hiddenByDefaultElements.indexOf(r)>-1)return!1;if(null===e.unhideableElements||void 0===e.unhideableElements||-1===e.unhideableElements.indexOf(r)){if(!l.ownerDocument.defaultView)return!0;i=l.ownerDocument.defaultView.getComputedStyle(l,null);var o=l.getAttribute("hidden"),s=a.CacheUtil.getCache(l,"PT_NODE_HIDDEN",void 0),u="boolean"==typeof l.hidden&&l.hidden;if(!i&&!u&&null==o&&!s)return!0;if(null!==i&&("none"===i.getPropertyValue("display")||!a.CacheUtil.getCache(l,"Visibility_Check_Parent",null)&&"hidden"===i.getPropertyValue("visibility"))||"block"!==i.getPropertyValue("display")&&(u||null!=o||s))return a.CacheUtil.setCache(l,"PT_NODE_HIDDEN",!0),!1;if(e.isContentHidden(l))return a.CacheUtil.setCache(l,"PT_NODE_HIDDEN",!0),!1}var d=n.DOMWalker.parentNode(l);if(null!=d&&1===d.nodeType){a.CacheUtil.setCache(d,"Visibility_Check_Parent",!0);var c=e.isNodeVisible(d);return c||a.CacheUtil.setCache(l,"PT_NODE_HIDDEN",!0),c}return!0},e.isNodeVisuallyHidden=function(t){if(!t||1!==t.nodeType)return!1;var i=t,l=a.CacheUtil.getCache(i,"PT_NODE_VISUALLY_HIDDEN",void 0);if(void 0===l){var r=s.CSSUtil.getDefinedStyles(i);if("absolute"===r.position&&r.clip&&"rect(0px,0px,0px,0px)"===r.clip.replaceAll(" ","")||r.opacity&&parseFloat(r.opacity)<.1)return a.CacheUtil.setCache(i,"PT_NODE_VISUALLY_HIDDEN",!0),!0;var o=n.DOMWalker.parentElement(i);if(!o)return!1;var u=e.isNodeVisuallyHidden(o);return a.CacheUtil.setCache(i,"PT_NODE_VISUALLY_HIDDEN",u),u}return l},e.isContentHidden=function(e){if(!e)return!1;var t=a.CacheUtil.getCache(e,"PT_NODE_ContentHidden",void 0);if(void 0!==t)return t;var i=getComputedStyle(e);return i?"hidden"!==i.getPropertyValue("content-visibility")||"inline"===i.getPropertyValue("display")?(a.CacheUtil.setCache(e,"PT_NODE_ContentHidden",!1),!1):(a.CacheUtil.setCache(e,"PT_NODE_ContentHidden",!0),!0):(a.CacheUtil.setCache(e,"PT_NODE_ContentHidden",!1),!1)},e.isElementOffscreen=function(e){if(!e)return!0;if(1!==e.nodeType)return!1;var t=a.CacheUtil.getCache(e,"PT_NODE_Offscreen",void 0);if(void 0!==t)return t;var i=(new r.DOMMapper).getUnadjustedBounds(e);return i?0===i.height||0===i.width||i.top+i.height<=0||i.left+i.width<=0?(a.CacheUtil.setCache(e,"PT_NODE_Offscreen",!0),!0):(a.CacheUtil.setCache(e,"PT_NODE_Offscreen",!1),!1):(a.CacheUtil.setCache(e,"PT_NODE_Offscreen",!0),!0)},e.isNodeHiddenFromAT=function(t){if(!t)return!1;var i=a.CacheUtil.getCache(t,"PT_NODE_HiddenFromAT",void 0);return void 0!==i?i:e.isNodeVisible(t)&&"true"!==t.getAttribute("aria-hidden")?l.DOMUtil.getAncestorWithAttribute(t,"aria-hidden","true")?(a.CacheUtil.setCache(t,"PT_NODE_HiddenFromAT",!0),!0):(a.CacheUtil.setCache(t,"PT_NODE_HiddenFromAT",!1),!1):(a.CacheUtil.setCache(t,"PT_NODE_HiddenFromAT",!0),!0)},e.isNodePresentational=function(e){var t=o.AriaUtil.getResolvedRole(e);return!(!t||"none"!==t&&"presentation"!==t)},e.unhideableElements=["area","param","audio"],e.hiddenByDefaultElements=["script","link","style","head","meta","base","noscript","template","datalist"],e}();t.VisUtil=u},8855:e=>{e.exports=JSON.parse('{"1.1.1":{"num":"1.1.1","url":"https://www.w3.org/TR/WCAG22/#non-text-content","scId":"WCAG2:non-text-content","scAltId":["text-equiv-all"],"test":"WCAG2:text-equiv-all","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#non-text-content","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/non-text-content.html","handle":"Non-text Content","level":"A","wcagType":"2.0"},"1.2.1":{"num":"1.2.1","url":"https://www.w3.org/TR/WCAG22/#audio-only-and-video-only-prerecorded","scId":"WCAG2:audio-only-and-video-only-prerecorded","scAltId":["media-equiv-av-only-alt"],"test":"WCAG2:media-equiv-av-only-alt","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#audio-only-and-video-only-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/audio-only-and-video-only-prerecorded.html","handle":"Audio-only and Video-only (Prerecorded)","level":"A","wcagType":"2.0"},"1.2.2":{"num":"1.2.2","url":"https://www.w3.org/TR/WCAG22/#captions-prerecorded","scId":"WCAG2:captions-prerecorded","scAltId":["media-equiv-captions"],"test":"WCAG2:media-equiv-captions","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#captions-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/captions-prerecorded.html","handle":"Captions (Prerecorded)","level":"A","wcagType":"2.0"},"1.2.3":{"num":"1.2.3","url":"https://www.w3.org/TR/WCAG22/#audio-description-or-media-alternative-prerecorded","scId":"WCAG2:audio-description-or-media-alternative-prerecorded","scAltId":["media-equiv-audio-desc"],"test":"WCAG2:media-equiv-audio-desc","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#audio-description-or-media-alternative-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/audio-description-or-media-alternative-prerecorded.html","handle":"Audio Description or Media Alternative (Prerecorded)","level":"A","wcagType":"2.0"},"1.2.4":{"num":"1.2.4","url":"https://www.w3.org/TR/WCAG22/#captions-live","scId":"WCAG2:captions-live","scAltId":["media-equiv-real-time-captions"],"test":"WCAG2:media-equiv-real-time-captions","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#captions-live","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/captions-live.html","handle":"Captions (Live)","level":"AA","wcagType":"2.0"},"1.2.5":{"num":"1.2.5","url":"https://www.w3.org/TR/WCAG22/#audio-description-prerecorded","scId":"WCAG2:audio-description-prerecorded","scAltId":["media-equiv-audio-desc-only"],"test":"WCAG2:media-equiv-audio-desc-only","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#audio-description-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/audio-description-prerecorded.html","handle":"Audio Description (Prerecorded)","level":"AA","wcagType":"2.0"},"1.2.6":{"num":"1.2.6","url":"https://www.w3.org/TR/WCAG22/#sign-language-prerecorded","scId":"WCAG2:sign-language-prerecorded","scAltId":["media-equiv-sign"],"test":"WCAG2:media-equiv-sign","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#sign-language-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/sign-language-prerecorded.html","handle":"Sign Language (Prerecorded)","level":"AAA","wcagType":"2.0"},"1.2.7":{"num":"1.2.7","url":"https://www.w3.org/TR/WCAG22/#extended-audio-description-prerecorded","scId":"WCAG2:extended-audio-description-prerecorded","scAltId":["media-equiv-extended-ad"],"test":"WCAG2:media-equiv-extended-ad","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#extended-audio-description-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/extended-audio-description-prerecorded.html","handle":"Extended Audio Description (Prerecorded)","level":"AAA","wcagType":"2.0"},"1.2.8":{"num":"1.2.8","url":"https://www.w3.org/TR/WCAG22/#media-alternative-prerecorded","scId":"WCAG2:media-alternative-prerecorded","scAltId":["media-equiv-text-doc"],"test":"WCAG2:media-equiv-text-doc","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#media-alternative-prerecorded","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/media-alternative-prerecorded.html","handle":"Media Alternative (Prerecorded)","level":"AAA","wcagType":"2.0"},"1.2.9":{"num":"1.2.9","url":"https://www.w3.org/TR/WCAG22/#audio-only-live","scId":"WCAG2:audio-only-live","scAltId":["media-equiv-live-audio-only"],"test":"WCAG2:media-equiv-live-audio-only","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#audio-only-live","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/audio-only-live.html","handle":"Audio-only (Live)","level":"AAA","wcagType":"2.0"},"1.3.1":{"num":"1.3.1","url":"https://www.w3.org/TR/WCAG22/#info-and-relationships","scId":"WCAG2:info-and-relationships","scAltId":["content-structure-separation-programmatic"],"test":"WCAG2:content-structure-separation-programmatic","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#info-and-relationships","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/info-and-relationships.html","handle":"Info and Relationships","level":"A","wcagType":"2.0"},"1.3.2":{"num":"1.3.2","url":"https://www.w3.org/TR/WCAG22/#meaningful-sequence","scId":"WCAG2:meaningful-sequence","scAltId":["content-structure-separation-sequence"],"test":"WCAG2:content-structure-separation-sequence","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#meaningful-sequence","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/meaningful-sequence.html","handle":"Meaningful Sequence","level":"A","wcagType":"2.0"},"1.3.3":{"num":"1.3.3","url":"https://www.w3.org/TR/WCAG22/#sensory-characteristics","scId":"WCAG2:sensory-characteristics","scAltId":["content-structure-separation-understanding"],"test":"WCAG2:content-structure-separation-understanding","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#sensory-characteristics","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/sensory-characteristics.html","handle":"Sensory Characteristics","level":"A","wcagType":"2.0"},"1.3.4":{"num":"1.3.4","url":"https://www.w3.org/TR/WCAG22/#orientation","scId":"WCAG2:orientation","scAltId":[],"test":"WCAG2:orientation","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#orientation","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/orientation.html","handle":"Orientation","level":"AA","wcagType":"2.1"},"1.3.5":{"num":"1.3.5","url":"https://www.w3.org/TR/WCAG22/#identify-input-purpose","scId":"WCAG2:identify-input-purpose","scAltId":[],"test":"WCAG2:identify-input-purpose","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#identify-input-purpose","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/identify-input-purpose.html","handle":"Identify Input Purpose","level":"AA","wcagType":"2.1"},"1.3.6":{"num":"1.3.6","url":"https://www.w3.org/TR/WCAG22/#identify-purpose","scId":"WCAG2:identify-purpose","scAltId":[],"test":"WCAG2:identify-purpose","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#identify-purpose","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/identify-purpose.html","handle":"Identify Purpose","level":"AAA","wcagType":"2.1"},"1.4.1":{"num":"1.4.1","url":"https://www.w3.org/TR/WCAG22/#use-of-color","scId":"WCAG2:use-of-color","scAltId":["visual-audio-contrast-without-color"],"test":"WCAG2:visual-audio-contrast-without-color","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#use-of-color","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/use-of-color.html","handle":"Use of Color","level":"A","wcagType":"2.0"},"1.4.2":{"num":"1.4.2","url":"https://www.w3.org/TR/WCAG22/#audio-control","scId":"WCAG2:audio-control","scAltId":["visual-audio-contrast-dis-audio"],"test":"WCAG2:visual-audio-contrast-dis-audio","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#audio-control","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/audio-control.html","handle":"Audio Control","level":"A","wcagType":"2.0"},"1.4.3":{"num":"1.4.3","url":"https://www.w3.org/TR/WCAG22/#contrast-minimum","scId":"WCAG2:contrast-minimum","scAltId":["visual-audio-contrast-contrast"],"test":"WCAG2:visual-audio-contrast-contrast","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#contrast-minimum","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/contrast-minimum.html","handle":"Contrast (Minimum)","level":"AA","wcagType":"2.0"},"1.4.4":{"num":"1.4.4","url":"https://www.w3.org/TR/WCAG22/#resize-text","scId":"WCAG2:resize-text","scAltId":["visual-audio-contrast-scale"],"test":"WCAG2:visual-audio-contrast-scale","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#resize-text","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/resize-text.html","handle":"Resize text","level":"AA","wcagType":"2.0"},"1.4.5":{"num":"1.4.5","url":"https://www.w3.org/TR/WCAG22/#images-of-text","scId":"WCAG2:images-of-text","scAltId":["visual-audio-contrast-text-presentation"],"test":"WCAG2:visual-audio-contrast-text-presentation","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#images-of-text","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/images-of-text.html","handle":"Images of Text","level":"AA","wcagType":"2.0"},"1.4.6":{"num":"1.4.6","url":"https://www.w3.org/TR/WCAG22/#contrast-enhanced","scId":"WCAG2:contrast-enhanced","scAltId":["visual-audio-contrast7"],"test":"WCAG2:visual-audio-contrast7","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#contrast-enhanced","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/contrast-enhanced.html","handle":"Contrast (Enhanced)","level":"AAA","wcagType":"2.0"},"1.4.7":{"num":"1.4.7","url":"https://www.w3.org/TR/WCAG22/#low-or-no-background-audio","scId":"WCAG2:low-or-no-background-audio","scAltId":["visual-audio-contrast-noaudio"],"test":"WCAG2:visual-audio-contrast-noaudio","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#low-or-no-background-audio","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/low-or-no-background-audio.html","handle":"Low or No Background Audio","level":"AAA","wcagType":"2.0"},"1.4.8":{"num":"1.4.8","url":"https://www.w3.org/TR/WCAG22/#visual-presentation","scId":"WCAG2:visual-presentation","scAltId":["visual-audio-contrast-visual-presentation"],"test":"WCAG2:visual-audio-contrast-visual-presentation","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#visual-presentation","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/visual-presentation.html","handle":"Visual Presentation","level":"AAA","wcagType":"2.0"},"1.4.9":{"num":"1.4.9","url":"https://www.w3.org/TR/WCAG22/#images-of-text-no-exception","scId":"WCAG2:images-of-text-no-exception","scAltId":["visual-audio-contrast-text-images"],"test":"WCAG2:visual-audio-contrast-text-images","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#images-of-text-no-exception","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/images-of-text-no-exception.html","handle":"Images of Text (No Exception)","level":"AAA","wcagType":"2.0"},"1.4.10":{"num":"1.4.10","url":"https://www.w3.org/TR/WCAG22/#reflow","scId":"WCAG2:reflow","scAltId":[],"test":"WCAG2:reflow","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#reflow","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/reflow.html","handle":"Reflow","level":"AA","wcagType":"2.1"},"1.4.11":{"num":"1.4.11","url":"https://www.w3.org/TR/WCAG22/#non-text-contrast","scId":"WCAG2:non-text-contrast","scAltId":[],"test":"WCAG2:non-text-contrast","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#non-text-contrast","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/non-text-contrast.html","handle":"Non-text Contrast","level":"AA","wcagType":"2.1"},"1.4.12":{"num":"1.4.12","url":"https://www.w3.org/TR/WCAG22/#text-spacing","scId":"WCAG2:text-spacing","scAltId":[],"test":"WCAG2:text-spacing","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#text-spacing","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/text-spacing.html","handle":"Text Spacing","level":"AA","wcagType":"2.1"},"1.4.13":{"num":"1.4.13","url":"https://www.w3.org/TR/WCAG22/#content-on-hover-or-focus","scId":"WCAG2:content-on-hover-or-focus","scAltId":[],"test":"WCAG2:content-on-hover-or-focus","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#content-on-hover-or-focus","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/content-on-hover-or-focus.html","handle":"Content on Hover or Focus","level":"AA","wcagType":"2.1"},"2.1.1":{"num":"2.1.1","url":"https://www.w3.org/TR/WCAG22/#keyboard","scId":"WCAG2:keyboard","scAltId":["keyboard-operation-keyboard-operable"],"test":"WCAG2:keyboard-operation-keyboard-operable","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#keyboard","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/keyboard.html","handle":"Keyboard","level":"A","wcagType":"2.0"},"2.1.2":{"num":"2.1.2","url":"https://www.w3.org/TR/WCAG22/#no-keyboard-trap","scId":"WCAG2:no-keyboard-trap","scAltId":["keyboard-operation-trapping"],"test":"WCAG2:keyboard-operation-trapping","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#no-keyboard-trap","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/no-keyboard-trap.html","handle":"No Keyboard Trap","level":"A","wcagType":"2.0"},"2.1.3":{"num":"2.1.3","url":"https://www.w3.org/TR/WCAG22/#keyboard-no-exception","scId":"WCAG2:keyboard-no-exception","scAltId":["keyboard-operation-all-funcs"],"test":"WCAG2:keyboard-operation-all-funcs","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#keyboard-no-exception","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/keyboard-no-exception.html","handle":"Keyboard (No Exception)","level":"AAA","wcagType":"2.0"},"2.1.4":{"num":"2.1.4","url":"https://www.w3.org/TR/WCAG22/#character-key-shortcuts","scId":"WCAG2:character-key-shortcuts","scAltId":[],"test":"WCAG2:WCAG2:character-key-shortcuts","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#character-key-shortcuts","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/character-key-shortcuts.html","handle":"Character Key Shortcuts","level":"A","wcagType":"2.1"},"2.2.1":{"num":"2.2.1","url":"https://www.w3.org/TR/WCAG22/#timing-adjustable","scId":"WCAG2:timing-adjustable","scAltId":["time-limits-required-behaviors"],"test":"WCAG2:time-limits-required-behaviors","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#timing-adjustable","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/timing-adjustable.html","handle":"Timing Adjustable","level":"A","wcagType":"2.0"},"2.2.2":{"num":"2.2.2","url":"https://www.w3.org/TR/WCAG22/#pause-stop-hide","scId":"WCAG2:pause-stop-hide","scAltId":["time-limits-pause"],"test":"WCAG2:time-limits-pause","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#pause-stop-hide","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/pause-stop-hide.html","handle":"Pause, Stop, Hide","level":"A","wcagType":"2.0"},"2.2.3":{"num":"2.2.3","url":"https://www.w3.org/TR/WCAG22/#no-timing","scId":"WCAG2:no-timing","scAltId":["time-limits-no-exceptions"],"test":"WCAG2:time-limits-no-exceptions","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#no-timing","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/no-timing.html","handle":"No Timing","level":"AAA","wcagType":"2.0"},"2.2.4":{"num":"2.2.4","url":"https://www.w3.org/TR/WCAG22/#interruptions","scId":"WCAG2:interruptions","scAltId":["time-limits-postponed"],"test":"WCAG2:time-limits-postponed","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#interruptions","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/interruptions.html","handle":"Interruptions","level":"AAA","wcagType":"2.0"},"2.2.5":{"num":"2.2.5","url":"https://www.w3.org/TR/WCAG22/#re-authenticating","scId":"WCAG2:re-authenticating","scAltId":["time-limits-server-timeout"],"test":"WCAG2:time-limits-server-timeout","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#re-authenticating","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/re-authenticating.html","handle":"Re-authenticating","level":"AAA","wcagType":"2.0"},"2.2.6":{"num":"2.2.6","url":"https://www.w3.org/TR/WCAG22/#timeouts","scId":"WCAG2:timeouts","scAltId":[],"test":"WCAG2:WCAG2:timeouts","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#timeouts","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/timeouts.html","handle":"Timeouts","level":"AAA","wcagType":"2.1"},"2.3.1":{"num":"2.3.1","url":"https://www.w3.org/TR/WCAG22/#three-flashes-or-below-threshold","scId":"WCAG2:three-flashes-or-below-threshold","scAltId":["seizure-does-not-violate"],"test":"WCAG2:seizure-does-not-violate","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#three-flashes-or-below-threshold","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/three-flashes-or-below-threshold.html","handle":"Three Flashes or Below Threshold","level":"A","wcagType":"2.0"},"2.3.2":{"num":"2.3.2","url":"https://www.w3.org/TR/WCAG22/#three-flashes","scId":"WCAG2:three-flashes","scAltId":["seizure-three-times"],"test":"WCAG2:seizure-three-times","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#three-flashes","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/three-flashes.html","handle":"Three Flashes","level":"AAA","wcagType":"2.0"},"2.3.3":{"num":"2.3.3","url":"https://www.w3.org/TR/WCAG22/#animation-from-interactions","scId":"WCAG2:animation-from-interactions","scAltId":[],"test":"WCAG2:WCAG2:animation-from-interactions","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#animation-from-interactions","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/animation-from-interactions.html","handle":"Animation from Interactions","level":"AAA","wcagType":"2.1"},"2.4.1":{"num":"2.4.1","url":"https://www.w3.org/TR/WCAG22/#bypass-blocks","scId":"WCAG2:bypass-blocks","scAltId":["navigation-mechanisms-skip"],"test":"WCAG2:navigation-mechanisms-skip","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#bypass-blocks","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/bypass-blocks.html","handle":"Bypass Blocks","level":"A","wcagType":"2.0"},"2.4.2":{"num":"2.4.2","url":"https://www.w3.org/TR/WCAG22/#page-titled","scId":"WCAG2:page-titled","scAltId":["navigation-mechanisms-title"],"test":"WCAG2:navigation-mechanisms-title","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#page-titled","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/page-titled.html","handle":"Page Titled","level":"A","wcagType":"2.0"},"2.4.3":{"num":"2.4.3","url":"https://www.w3.org/TR/WCAG22/#focus-order","scId":"WCAG2:focus-order","scAltId":["navigation-mechanisms-focus-order"],"test":"WCAG2:navigation-mechanisms-focus-order","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#focus-order","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/focus-order.html","handle":"Focus Order","level":"A","wcagType":"2.0"},"2.4.4":{"num":"2.4.4","url":"https://www.w3.org/TR/WCAG22/#link-purpose-in-context","scId":"WCAG2:link-purpose-in-context","scAltId":["navigation-mechanisms-refs"],"test":"WCAG2:navigation-mechanisms-refs","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#link-purpose-in-context","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/link-purpose-in-context.html","handle":"Link Purpose (In Context)","level":"A","wcagType":"2.0"},"2.4.5":{"num":"2.4.5","url":"https://www.w3.org/TR/WCAG22/#multiple-ways","scId":"WCAG2:multiple-ways","scAltId":["navigation-mechanisms-mult-loc"],"test":"WCAG2:navigation-mechanisms-mult-loc","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#multiple-ways","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/multiple-ways.html","handle":"Multiple Ways","level":"AA","wcagType":"2.0"},"2.4.6":{"num":"2.4.6","url":"https://www.w3.org/TR/WCAG22/#headings-and-labels","scId":"WCAG2:headings-and-labels","scAltId":["navigation-mechanisms-descriptive"],"test":"WCAG2:navigation-mechanisms-descriptive","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#headings-and-labels","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/headings-and-labels.html","handle":"Headings and Labels","level":"AA","wcagType":"2.0"},"2.4.7":{"num":"2.4.7","url":"https://www.w3.org/TR/WCAG22/#focus-visible","scId":"WCAG2:focus-visible","scAltId":["navigation-mechanisms-focus-visible"],"test":"WCAG2:navigation-mechanisms-focus-visible","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#focus-visible","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/focus-visible.html","handle":"Focus Visible","level":"AA","wcagType":"2.0"},"2.4.8":{"num":"2.4.8","url":"https://www.w3.org/TR/WCAG22/#location","scId":"WCAG2:location","scAltId":["navigation-mechanisms-location"],"test":"WCAG2:navigation-mechanisms-location","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#location","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/location.html","handle":"Location","level":"AAA","wcagType":"2.0"},"2.4.9":{"num":"2.4.9","url":"https://www.w3.org/TR/WCAG22/#link-purpose-link-only","scId":"WCAG2:link-purpose-link-only","scAltId":["navigation-mechanisms-link"],"test":"WCAG2:navigation-mechanisms-link","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#link-purpose-link-only","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/link-purpose-link-only.html","handle":"Link Purpose (Link Only)","level":"AAA","wcagType":"2.0"},"2.4.10":{"num":"2.4.10","url":"https://www.w3.org/TR/WCAG22/#section-headings","scId":"WCAG2:section-headings","scAltId":["navigation-mechanisms-headings"],"test":"WCAG2:navigation-mechanisms-headings","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#section-headings","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/section-headings.html","handle":"Section Headings","level":"AAA","wcagType":"2.0"},"2.4.11":{"num":"2.4.11","url":"https://www.w3.org/TR/WCAG22/#focus-not-obscured-minimum","scId":"WCAG2:focus-not-obscured-minimum","scAltId":["focus-not-obscured-minimum-alt"],"test":"WCAG2:focus-not-obscured-minimum-test","howToMeetUrl":"https://www.w3.org/TR/WCAG22/#focus-not-obscured-minimum","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/focus-not-obscured-minimum.html","handle":"Focus Not Obscured (Minimum)","level":"AA","wcagType":"2.2"},"2.4.12":{"num":"2.4.12","url":"https://www.w3.org/TR/WCAG22/#focus-not-obscured-enhanced","scId":"WCAG2:focus-not-obscured-enhanced","scAltId":[],"test":"WCAG2:focus-not-obscured-enhanced-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#focus-not-obscured-enhanced","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/focus-not-obscured-enhanced.html","handle":"Focus Not Obscured (Enhanced)","level":"AAA","wcagType":"2.2"},"2.4.13":{"num":"2.4.13","url":"https://www.w3.org/TR/WCAG22/#focus-appearance","scId":"WCAG2:focus-appearance","scAltId":[],"test":"WCAG2:focus-appearance","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#focus-appearance","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/focus-appearance.html","handle":"Focus Appearance","level":"AAA","wcagType":"2.2"},"2.5.1":{"num":"2.5.1","url":"https://www.w3.org/TR/WCAG22/#pointer-gestures","scId":"WCAG2:pointer-gestures","scAltId":[],"test":"WCAG2:pointer-gestures-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#pointer-gestures","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/pointer-gestures.html","handle":"Pointer Gestures","level":"A","wcagType":"2.1"},"2.5.2":{"num":"2.5.2","url":"https://www.w3.org/TR/WCAG22/#pointer-cancellation","scId":"WCAG2:pointer-cancellation","scAltId":[],"test":"WCAG2:WCAG2:pointer-cancellation","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#pointer-cancellation","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/pointer-cancellation.html","handle":"Pointer Cancellation","level":"A","wcagType":"2.1"},"2.5.3":{"num":"2.5.3","url":"https://www.w3.org/TR/WCAG22/#label-in-name","scId":"WCAG2:label-in-name","scAltId":[],"test":"WCAG2:WCAG2:label-in-name","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#label-in-name","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/label-in-name.html","handle":"Label in Name","level":"A","wcagType":"2.1"},"2.5.4":{"num":"2.5.4","url":"https://www.w3.org/TR/WCAG22/#motion-actuation","scId":"WCAG2:motion-actuation","scAltId":[],"test":"WCAG2:WCAG2:motion-actuation","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#motion-actuation","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/motion-actuation.html","handle":"Motion Actuation","level":"A","wcagType":"2.1"},"2.5.5":{"num":"2.5.5","url":"https://www.w3.org/TR/WCAG22/#target-size","scId":"WCAG2:target-size","scAltId":[],"test":"WCAG2:WCAG2:target-size","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#target-size","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/target-size.html","handle":"Target Size","level":"AAA","wcagType":"2.1"},"2.5.6":{"num":"2.5.6","url":"https://www.w3.org/TR/WCAG22/#concurrent-input-mechanisms","scId":"WCAG2:concurrent-input-mechanisms","scAltId":[],"test":"WCAG2:WCAG2:concurrent-input-mechanisms","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#concurrent-input-mechanisms","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/concurrent-input-mechanisms.html","handle":"Concurrent Input Mechanisms","level":"AAA","wcagType":"2.1"},"2.5.7":{"num":"2.5.7","url":"https://www.w3.org/TR/WCAG22/#dragging-movements","scId":"WCAG2:dragging-movement","scAltId":["dragging-movement-alt"],"test":"WCAG2:dragging-movement-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/Understanding/dragging-movements.html","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/dragging-movements.html","handle":"Dragging Movement","level":"AA","wcagType":"2.2"},"2.5.8":{"num":"2.5.8","url":"https://www.w3.org/TR/WCAG22/#target-size-minimum","scId":"WCAG2:minimum-target-size","scAltId":["minimum-target-size-alt"],"test":"WCAG2:minimum-target-size-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#target-size-minimum","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/target-size-minimum.html","handle":"Minimum Target Size","level":"AA","wcagType":"2.2"},"3.1.1":{"num":"3.1.1","url":"https://www.w3.org/TR/WCAG22/#language-of-page","scId":"WCAG2:language-of-page","scAltId":["meaning-doc-lang-id"],"test":"WCAG2:meaning-doc-lang-id","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#language-of-page","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/language-of-page.html","handle":"Language of Page","level":"A","wcagType":"2.0"},"3.1.2":{"num":"3.1.2","url":"https://www.w3.org/TR/WCAG22/#language-of-parts","scId":"WCAG2:language-of-parts","scAltId":["meaning-other-lang-id"],"test":"WCAG2:meaning-other-lang-id","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#language-of-parts","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/language-of-parts.html","handle":"Language of Parts","level":"AA","wcagType":"2.0"},"3.1.3":{"num":"3.1.3","url":"https://www.w3.org/TR/WCAG22/#unusual-words","scId":"WCAG2:unusual-words","scAltId":["meaning-idioms"],"test":"WCAG2:meaning-idioms","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#unusual-words","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/unusual-words.html","handle":"Unusual Words","level":"AAA","wcagType":"2.0"},"3.1.4":{"num":"3.1.4","url":"https://www.w3.org/TR/WCAG22/#abbreviations","scId":"WCAG2:abbreviations","scAltId":["meaning-located"],"test":"WCAG2:meaning-located","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#abbreviations","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/abbreviations.html","handle":"Abbreviations","level":"AAA","wcagType":"2.0"},"3.1.5":{"num":"3.1.5","url":"https://www.w3.org/TR/WCAG22/#reading-level","scId":"WCAG2:reading-level","scAltId":["meaning-supplements"],"test":"WCAG2:meaning-supplements","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#reading-level","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/reading-level.html","handle":"Reading Level","level":"AAA","wcagType":"2.0"},"3.1.6":{"num":"3.1.6","url":"https://www.w3.org/TR/WCAG22/#pronunciation","scId":"WCAG2:pronunciation","scAltId":["meaning-pronunciation"],"test":"WCAG2:meaning-pronunciation","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#pronunciation","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/pronunciation.html","handle":"Pronunciation","level":"AAA","wcagType":"2.0"},"3.2.1":{"num":"3.2.1","url":"https://www.w3.org/TR/WCAG22/#on-focus","scId":"WCAG2:on-focus","scAltId":["consistent-behavior-receive-focus"],"test":"WCAG2:consistent-behavior-receive-focus","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#on-focus","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/on-focus.html","handle":"On Focus","level":"A","wcagType":"2.0"},"3.2.2":{"num":"3.2.2","url":"https://www.w3.org/TR/WCAG22/#on-input","scId":"WCAG2:on-input","scAltId":["consistent-behavior-unpredictable-change"],"test":"WCAG2:consistent-behavior-unpredictable-change","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#on-input","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/on-input.html","handle":"On Input","level":"A","wcagType":"2.0"},"3.2.3":{"num":"3.2.3","url":"https://www.w3.org/TR/WCAG22/#consistent-navigation","scId":"WCAG2:consistent-navigation","scAltId":["consistent-behavior-consistent-locations"],"test":"WCAG2:consistent-behavior-consistent-locations","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#consistent-navigation","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/consistent-navigation.html","handle":"Consistent Navigation","level":"AA","wcagType":"2.0"},"3.2.4":{"num":"3.2.4","url":"https://www.w3.org/TR/WCAG22/#consistent-identification","scId":"WCAG2:consistent-identification","scAltId":["consistent-behavior-consistent-functionality"],"test":"WCAG2:consistent-behavior-consistent-functionality","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#consistent-identification","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/consistent-identification.html","handle":"Consistent Identification","level":"AA","wcagType":"2.0"},"3.2.5":{"num":"3.2.5","url":"https://www.w3.org/TR/WCAG22/#change-on-request","scId":"WCAG2:change-on-request","scAltId":["consistent-behavior-no-extreme-changes-context"],"test":"WCAG2:consistent-behavior-no-extreme-changes-context","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#change-on-request","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/change-on-request.html","handle":"Change on Request","level":"AAA","wcagType":"2.0"},"3.2.6":{"num":"3.2.6","url":"https://www.w3.org/TR/WCAG22/#consistent-help","scId":"WCAG2:consistent-help","scAltId":["consistent-help-alt"],"test":"WCAG2:consistent-help-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#consistent-help","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/consistent-help.html","handle":"Consistent Help","level":"AA","wcagType":"2.2"},"3.3.1":{"num":"3.3.1","url":"https://www.w3.org/TR/WCAG22/#error-identification","scId":"WCAG2:error-identification","scAltId":["minimize-error-identified"],"test":"WCAG2:minimize-error-identified","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#error-identification","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/error-identification.html","handle":"Error Identification","level":"A","wcagType":"2.0"},"3.3.2":{"num":"3.3.2","url":"https://www.w3.org/TR/WCAG22/#labels-or-instructions","scId":"WCAG2:labels-or-instructions","scAltId":["minimize-error-cues"],"test":"WCAG2:minimize-error-cues","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#labels-or-instructions","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/labels-or-instructions.html","handle":"Labels or Instructions","level":"A","wcagType":"2.0"},"3.3.3":{"num":"3.3.3","url":"https://www.w3.org/TR/WCAG22/#error-suggestion","scId":"WCAG2:error-suggestion","scAltId":["minimize-error-suggestions"],"test":"WCAG2:minimize-error-suggestions","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#error-suggestion","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/error-suggestion.html","handle":"Error Suggestion","level":"AA","wcagType":"2.0"},"3.3.4":{"num":"3.3.4","url":"https://www.w3.org/TR/WCAG22/#error-prevention-legal-financial-data","scId":"WCAG2:error-prevention-legal-financial-data","scAltId":["minimize-error-reversible"],"test":"WCAG2:minimize-error-reversible","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#error-prevention-legal-financial-data","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/error-prevention-legal-financial-data.html","handle":"Error Prevention (Legal, Financial, Data)","level":"AA","wcagType":"2.0"},"3.3.5":{"num":"3.3.5","url":"https://www.w3.org/TR/WCAG22/#help","scId":"WCAG2:help","scAltId":["minimize-error-context-help"],"test":"WCAG2:minimize-error-context-help","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#help","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/help.html","handle":"Help","level":"AAA","wcagType":"2.0"},"3.3.6":{"num":"3.3.6","url":"https://www.w3.org/TR/WCAG22/#error-prevention-all","scId":"WCAG2:error-prevention-all","scAltId":["minimize-error-reversible-all"],"test":"WCAG2:minimize-error-reversible-all","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#error-prevention-all","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/error-prevention-all.html","handle":"Error Prevention (All)","level":"AAA","wcagType":"2.0"},"3.3.7":{"num":"3.3.7","url":"https://www.w3.org/TR/WCAG22/#redundant-entry","scId":"WCAG2:redundant-entry","scAltId":["redundant-entry-alt"],"test":"WCAG2:redundant-entry-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#redundant-entry","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/redundant-entry.html","handle":"Redundant Entry","level":"AA","wcagType":"2.2"},"3.3.8":{"num":"3.3.8","url":"https://www.w3.org/TR/WCAG22/#accessible-authentication-minimum","scId":"WCAG2:accessible-authentication-minimum","scAltId":["accessible-authentication-minimum-alt"],"test":"WCAG2:accessible-authentication-minimum-test","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#accessible-authentication-minimum","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/accessible-authentication-minimum.html","handle":"Accessible Authentication (Minimum)","level":"AA","wcagType":"2.2"},"3.3.9":{"num":"3.3.9","url":"https://www.w3.org/TR/WCAG22/#accessible-authentication-enhanced","scId":"WCAG2:accessible-authentication-enhanced","scAltId":[],"test":"WCAG2:accessible-authentication-enhanced","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#accessible-authentication-enhanced","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/accessible-authentication-enhanced.html","handle":"Accessible Authentication (Enhanced)","level":"AAA","wcagType":"2.2"},"4.1.1":{"num":"4.1.1","url":"https://www.w3.org/TR/WCAG22/#parsing","scId":"WCAG2:parsing","scAltId":["ensure-compat-parses"],"test":"WCAG2:ensure-compat-parses","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/?versions=2.1#parsing","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/parsing.html","handle":"Parsing","level":"A","wcagType":"2.0"},"4.1.2":{"num":"4.1.2","url":"https://www.w3.org/TR/WCAG22/#name-role-value","scId":"WCAG2:name-role-value","scAltId":["ensure-compat-rsv"],"test":"WCAG2:ensure-compat-rsv","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#name-role-value","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/name-role-value.html","handle":"Name, Role, Value","level":"A","wcagType":"2.0"},"4.1.3":{"num":"4.1.3","url":"https://www.w3.org/TR/WCAG22/#status-messages","scId":"WCAG2:status-messages","scAltId":[],"test":"WCAG2:status-messages","howToMeetUrl":"https://www.w3.org/WAI/WCAG22/quickref/#status-messages","understandingUrl":"https://www.w3.org/WAI/WCAG22/Understanding/status-messages.html","handle":"Status Messages","level":"AA","wcagType":"2.1"},"HTML":{"num":"HTML","url":"https://html.spec.whatwg.org/multipage/","scId":[],"scAltId":[],"test":"","howToMeetUrl":"https://html.spec.whatwg.org/multipage/","understandingUrl":"https://html.spec.whatwg.org/multipage/","handle":"specification","level":"NA","wcagType":"NA"},"ARIA":{"num":"ARIA","url":"https://www.w3.org/TR/wai-aria-1.2/","scId":[],"scAltId":[],"test":"","howToMeetUrl":"https://www.w3.org/TR/wai-aria-1.2/","understandingUrl":"https://www.w3.org/TR/wai-aria-1.2/","handle":"specification","level":"NA","wcagType":"NA"}}')}},t={};function i(a){var l=t[a];if(void 0!==l)return l.exports;var n=t[a]={exports:{}};return e[a].call(n.exports,n,n.exports,i),n.exports}var a={};(()=>{var e=a;Object.defineProperty(e,"__esModule",{value:!0}),e.checkDemo=e.DOMWalker=e.Config=e.ARIAMapper=e.Checker=e.Context=void 0;var t=i(920);Object.defineProperty(e,"Context",{enumerable:!0,get:function(){return t.Context}});var l=i(7412);Object.defineProperty(e,"Checker",{enumerable:!0,get:function(){return l.Checker}});var n=i(9955);Object.defineProperty(e,"ARIAMapper",{enumerable:!0,get:function(){return n.ARIAMapper}});var r=i(4516);Object.defineProperty(e,"Config",{enumerable:!0,get:function(){return r.Config}});var o=i(3864);Object.defineProperty(e,"DOMWalker",{enumerable:!0,get:function(){return o.DOMWalker}}),String.prototype.startsWith=String.prototype.startsWith||function(e){return 0===this.indexOf(e)},String.prototype.includes=String.prototype.includes||function(e){return-1!==this.indexOf(e)},Array.prototype.includes=Array.prototype.includes||function(e){return-1!==this.indexOf(e)},e.checkDemo=function(e){e||(e=0);var t=new l.Checker;setTimeout((function(){t.check(document.documentElement,["IBM_Accessibility","IBM_Design"]).then((function(e){console.log(e);for(var t={FAIL:0,POTENTIAL:1,MANUAL:2,PASS:3},i=0;i<e.results.length;++i)"PASS"===e.results[i].value[1]&&e.results.splice(i--,1);e.results.sort((function(e,i){return e.category!=i.category?e.category.localeCompare(i.category):e.path.aria===i.path.aria?t[e.value[1]]-t[i.value[1]]:e.path.aria.localeCompare(i.path.aria)}));for(var a=null,l=null,n=0,r=e.results;n<r.length;n++){var o=r[n];l!==o.category&&(null!==l&&(console.groupEnd(),console.groupEnd(),a=null),l=o.category,console.group(o.category)),o.path.aria!=a&&(null!==a&&console.groupEnd(),""===(a=o.path.aria)?console.group("page"):console.group(a)),console.log(o.value,o.message)}console.groupEnd(),console.groupEnd()}))}),e)}})(),ace=a})(); \ No newline at end of file